Conditional Fields for Contact Form 7 - Version 1.7.1

Version Description

(10-23-19) = * PRO: Added basic support for multistep. No options available yet. You can insert [step] tags inside your code. More info at https://conditional-fields-cf7.bdwm.be/multistep/ * Set up an NPM dev environment with babel and webpack. This means all the client side JS code will look super ugly, and it's also more bytes. But the plus side is that the plugin should also work fine in older browsers now. * Tested with WP version 5.3

Download this release

Release Info

Developer Jules Colle
Plugin Icon 128x128 Conditional Fields for Contact Form 7
Version 1.7.1
Comparing to
See all releases

Code changes from version 1.7 to 1.7.1

Files changed (6) hide show
  1. cf7cf.php +16 -10
  2. contact-form-7-conditional-fields.php +1 -1
  3. init.php +1 -1
  4. js/scripts.js +1 -474
  5. readme.txt +329 -324
  6. style.css +52 -1
cf7cf.php CHANGED
@@ -157,22 +157,26 @@ class CF7CF {
157
  */
158
  function skip_validation_for_hidden_fields($result, $tags) {
159
 
160
- if (count($this->hidden_fields) == 0) return $result;
161
-
162
- $return_result = new WPCF7_Validation();
163
 
164
  $invalid_fields = $result->get_invalid_fields();
 
165
 
166
- if (!is_array($invalid_fields) || count($invalid_fields) == 0) return $result;
167
-
168
- foreach ($invalid_fields as $invalid_field_key => $invalid_field_data) {
169
- if (!in_array($invalid_field_key, $this->hidden_fields)) {
170
- // the invalid field is not a hidden field, so we'll add it to the final validation result
171
- $return_result->invalidate($invalid_field_key, $invalid_field_data['reason']);
 
 
172
  }
173
  }
174
 
175
- return $return_result;
 
176
  }
177
 
178
 
@@ -255,6 +259,7 @@ class CF7CF {
255
  $this->hidden_groups = json_decode(stripslashes($posted_data['_wpcf7cf_hidden_groups']));
256
  $this->visible_groups = json_decode(stripslashes($posted_data['_wpcf7cf_visible_groups']));
257
  $this->repeaters = json_decode(stripslashes($posted_data['_wpcf7cf_repeaters']));
 
258
  }
259
 
260
  function hide_hidden_mail_fields($form,$abort,$submission) {
@@ -420,6 +425,7 @@ function wpcf7cf_form_hidden_fields($hidden_fields) {
420
  '_wpcf7cf_hidden_groups' => '',
421
  '_wpcf7cf_visible_groups' => '',
422
  '_wpcf7cf_repeaters' => '[]',
 
423
  '_wpcf7cf_options' => ''.json_encode($options),
424
  ));
425
  }
157
  */
158
  function skip_validation_for_hidden_fields($result, $tags) {
159
 
160
+ if(isset($_POST)) {
161
+ $this->set_hidden_fields_arrays($_POST);
162
+ }
163
 
164
  $invalid_fields = $result->get_invalid_fields();
165
+ $return_result = new WPCF7_Validation();
166
 
167
+ if (count($this->hidden_fields) == 0 || !is_array($invalid_fields) || count($invalid_fields) == 0) {
168
+ $return_result = $result;
169
+ } else {
170
+ foreach ($invalid_fields as $invalid_field_key => $invalid_field_data) {
171
+ if (!in_array($invalid_field_key, $this->hidden_fields)) {
172
+ // the invalid field is not a hidden field, so we'll add it to the final validation result
173
+ $return_result->invalidate($invalid_field_key, $invalid_field_data['reason']);
174
+ }
175
  }
176
  }
177
 
178
+ return apply_filters('wpcf7cf_validate', $return_result, $tags);
179
+
180
  }
181
 
182
 
259
  $this->hidden_groups = json_decode(stripslashes($posted_data['_wpcf7cf_hidden_groups']));
260
  $this->visible_groups = json_decode(stripslashes($posted_data['_wpcf7cf_visible_groups']));
261
  $this->repeaters = json_decode(stripslashes($posted_data['_wpcf7cf_repeaters']));
262
+ $this->steps = json_decode(stripslashes($posted_data['_wpcf7cf_steps']));
263
  }
264
 
265
  function hide_hidden_mail_fields($form,$abort,$submission) {
425
  '_wpcf7cf_hidden_groups' => '',
426
  '_wpcf7cf_visible_groups' => '',
427
  '_wpcf7cf_repeaters' => '[]',
428
+ '_wpcf7cf_steps' => '{}',
429
  '_wpcf7cf_options' => ''.json_encode($options),
430
  ));
431
  }
contact-form-7-conditional-fields.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Contact Form 7 Conditional Fields
4
  Plugin URI: http://bdwm.be/
5
  Description: Adds support for conditional fields to Contact Form 7. This plugin depends on Contact Form 7.
6
  Author: Jules Colle
7
- Version: 1.7
8
  Author URI: http://bdwm.be/
9
  */
10
 
4
  Plugin URI: http://bdwm.be/
5
  Description: Adds support for conditional fields to Contact Form 7. This plugin depends on Contact Form 7.
6
  Author: Jules Colle
7
+ Version: 1.7.1
8
  Author URI: http://bdwm.be/
9
  */
10
 
init.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- if (!defined('WPCF7CF_VERSION')) define( 'WPCF7CF_VERSION', '1.7' );
4
  if (!defined('WPCF7CF_REQUIRED_WP_VERSION')) define( 'WPCF7CF_REQUIRED_WP_VERSION', '4.1' );
5
  if (!defined('WPCF7CF_PLUGIN')) define( 'WPCF7CF_PLUGIN', __FILE__ );
6
  if (!defined('WPCF7CF_PLUGIN_BASENAME')) define( 'WPCF7CF_PLUGIN_BASENAME', plugin_basename( WPCF7CF_PLUGIN ) );
1
  <?php
2
 
3
+ if (!defined('WPCF7CF_VERSION')) define( 'WPCF7CF_VERSION', '1.7.1' );
4
  if (!defined('WPCF7CF_REQUIRED_WP_VERSION')) define( 'WPCF7CF_REQUIRED_WP_VERSION', '4.1' );
5
  if (!defined('WPCF7CF_PLUGIN')) define( 'WPCF7CF_PLUGIN', __FILE__ );
6
  if (!defined('WPCF7CF_PLUGIN_BASENAME')) define( 'WPCF7CF_PLUGIN_BASENAME', plugin_basename( WPCF7CF_PLUGIN ) );
js/scripts.js CHANGED
@@ -1,474 +1 @@
1
- var cf7signature_resized = 0; // for compatibility with contact-form-7-signature-addon
2
-
3
- var wpcf7cf_timeout;
4
-
5
- var wpcf7cf_show_animation = { "height": "show", "marginTop": "show", "marginBottom": "show", "paddingTop": "show", "paddingBottom": "show" };
6
- var wpcf7cf_hide_animation = { "height": "hide", "marginTop": "hide", "marginBottom": "hide", "paddingTop": "hide", "paddingBottom": "hide" };
7
-
8
- var wpcf7cf_show_step_animation = { "width": "show", "marginLeft": "show", "marginRight": "show", "paddingRight": "show", "paddingLeft": "show" };
9
- var wpcf7cf_hide_step_animation = { "width": "hide", "marginLeft": "hide", "marginRight": "hide", "paddingRight": "hide", "paddingLeft": "hide" };
10
-
11
- var wpcf7cf_change_events = 'input.wpcf7cf paste.wpcf7cf change.wpcf7cf click.wpcf7cf propertychange.wpcf7cf';
12
-
13
- wpcf7cf_forms = [];
14
-
15
- // endswith polyfill
16
- if (!String.prototype.endsWith) {
17
- String.prototype.endsWith = function(search, this_len) {
18
- if (this_len === undefined || this_len > this.length) {
19
- this_len = this.length;
20
- }
21
- return this.substring(this_len - search.length, this_len) === search;
22
- };
23
- }
24
-
25
- Wpcf7cfForm = function($form) {
26
-
27
- var options_element = $form.find('input[name="_wpcf7cf_options"]').eq(0);
28
- if (!options_element.length || !options_element.val()) {
29
- // doesn't look like a CF7 form created with conditional fields plugin enabled.
30
- return false;
31
- }
32
-
33
- var form = this;
34
-
35
- var form_options = JSON.parse(options_element.val());
36
-
37
- form.$form = $form;
38
- form.$hidden_group_fields = $form.find('[name="_wpcf7cf_hidden_group_fields"]');
39
- form.$hidden_groups = $form.find('[name="_wpcf7cf_hidden_groups"]');
40
- form.$visible_groups = $form.find('[name="_wpcf7cf_visible_groups"]');
41
- form.$repeaters = $form.find('[name="_wpcf7cf_repeaters"]');
42
-
43
- form.unit_tag = $form.closest('.wpcf7').attr('id');
44
- form.conditions = form_options['conditions'];
45
-
46
- // compatibility with conditional forms created with older versions of the plugin ( < 1.4 )
47
- for (var i=0; i < form.conditions.length; i++) {
48
- var condition = form.conditions[i];
49
- if (!('and_rules' in condition)) {
50
- condition.and_rules = [{'if_field':condition.if_field,'if_value':condition.if_value,'operator':condition.operator}];
51
- }
52
- }
53
-
54
- form.initial_conditions = form.conditions;
55
- form.settings = form_options['settings'];
56
-
57
- form.$groups = jQuery(); // empty jQuery set
58
- form.repeaters = [];
59
- form.multistep = null;
60
- form.fields = [];
61
-
62
- form.settings.animation_intime = parseInt(form.settings.animation_intime);
63
- form.settings.animation_outtime = parseInt(form.settings.animation_outtime);
64
-
65
- if (form.settings.animation === 'no') {
66
- form.settings.animation_intime = 0;
67
- form.settings.animation_outtime = 0;
68
- }
69
-
70
- form.updateGroups();
71
- form.updateEventListeners();
72
- form.displayFields();
73
-
74
- // bring form in initial state if the reset event is fired on it.
75
- form.$form.on('reset', form, function(e) {
76
- var form = e.data;
77
- setTimeout(function(){
78
- form.displayFields();
79
- },200);
80
- });
81
-
82
- //removed pro functions
83
-
84
- }
85
- Wpcf7cfForm.prototype.displayFields = function() {
86
-
87
- var form = this;
88
-
89
- wpcf7cf.get_simplified_dom_model(form.$form);
90
-
91
- var unit_tag = this.unit_tag;
92
- var wpcf7cf_conditions = this.conditions;
93
- var wpcf7cf_settings = this.settings;
94
-
95
- //for compatibility with contact-form-7-signature-addon
96
- if (cf7signature_resized === 0 && typeof signatures !== 'undefined' && signatures.constructor === Array && signatures.length > 0 ) {
97
- for (var i = 0; i < signatures.length; i++) {
98
- if (signatures[i].canvas.width === 0) {
99
-
100
- var $sig_canvas = jQuery(".wpcf7-form-control-signature-body>canvas");
101
- var $sig_wrap = jQuery(".wpcf7-form-control-signature-wrap");
102
- $sig_canvas.eq(i).attr('width', $sig_wrap.width());
103
- $sig_canvas.eq(i).attr('height', $sig_wrap.height());
104
-
105
- cf7signature_resized = 1;
106
- }
107
- }
108
- }
109
-
110
- form.$groups.addClass('wpcf7cf-hidden');
111
-
112
- for (var i=0; i < wpcf7cf_conditions.length; i++) {
113
-
114
- var condition = wpcf7cf_conditions[i];
115
-
116
- var show_group = wpcf7cf.should_group_be_shown(condition, form.$form);
117
-
118
- if (show_group) {
119
- jQuery('[data-id='+condition.then_field+']',form.$form).eq(0).removeClass('wpcf7cf-hidden');
120
- }
121
- }
122
-
123
- var animation_intime = wpcf7cf_settings.animation_intime;
124
- var animation_outtime = wpcf7cf_settings.animation_outtime;
125
-
126
- form.$groups.each(function (index) {
127
- $group = jQuery(this);
128
- if ($group.is(':animated')) $group.finish(); // stop any current animations on the group
129
- if ($group.css('display') === 'none' && !$group.hasClass('wpcf7cf-hidden')) {
130
- if ($group.prop('tagName') === 'SPAN') {
131
- $group.show().trigger('wpcf7cf_show_group');
132
- } else {
133
- $group.animate(wpcf7cf_show_animation, animation_intime).trigger('wpcf7cf_show_group'); // show
134
- }
135
- } else if ($group.css('display') !== 'none' && $group.hasClass('wpcf7cf-hidden')) {
136
-
137
- if ($group.attr('data-clear_on_hide') !== undefined) {
138
- $inputs = jQuery(':input', $group).not(':button, :submit, :reset, :hidden');
139
- // $inputs.prop('checked', false).prop('selected', false).prop('selectedIndex', 0);
140
- // $inputs.not('[type=checkbox],[type=radio],select').val('');
141
-
142
- $inputs.each(function(){
143
- $this = jQuery(this);
144
- $this.val(this.defaultValue);
145
- $this.prop('checked', this.defaultChecked);
146
- });
147
-
148
- $inputs.change();
149
- //display_fields();
150
- }
151
-
152
- if ($group.prop('tagName') === 'SPAN') {
153
- $group.hide().trigger('wpcf7cf_hide_group');
154
- } else {
155
- $group.animate(wpcf7cf_hide_animation, animation_outtime).trigger('wpcf7cf_hide_group'); // hide
156
- }
157
-
158
- }
159
- });
160
-
161
- form.updateHiddenFields();
162
- };
163
- Wpcf7cfForm.prototype.updateHiddenFields = function() {
164
-
165
- var form = this;
166
-
167
- var hidden_fields = [];
168
- var hidden_groups = [];
169
- var visible_groups = [];
170
-
171
- form.$groups.each(function () {
172
- var $this = jQuery(this);
173
- if ($this.hasClass('wpcf7cf-hidden')) {
174
- hidden_groups.push($this.data('id'));
175
- $this.find('input,select,textarea').each(function () {
176
- hidden_fields.push(jQuery(this).attr('name'));
177
- });
178
- } else {
179
- visible_groups.push($this.data('id'));
180
- }
181
- });
182
-
183
- form.hidden_fields = hidden_fields;
184
- form.hidden_groups = hidden_groups;
185
- form.visible_groups = visible_groups;
186
-
187
- form.$hidden_group_fields.val(JSON.stringify(hidden_fields));
188
- form.$hidden_groups.val(JSON.stringify(hidden_groups));
189
- form.$visible_groups.val(JSON.stringify(visible_groups));
190
-
191
- return true;
192
- };
193
- Wpcf7cfForm.prototype.updateGroups = function() {
194
- var form = this;
195
- form.$groups = form.$form.find('[data-class="wpcf7cf_group"]');
196
-
197
- form.conditions = wpcf7cf.get_nested_conditions(form.initial_conditions, form.$form);
198
-
199
- };
200
- Wpcf7cfForm.prototype.updateEventListeners = function() {
201
-
202
- var form = this;
203
-
204
- // monitor input changes, and call display_fields() if something has changed
205
- jQuery('input, select, textarea, button',form.$form).not('.wpcf7cf_add, .wpcf7cf_remove').off(wpcf7cf_change_events).on(wpcf7cf_change_events,form, function(e) {
206
- var form = e.data;
207
- clearTimeout(wpcf7cf_timeout);
208
- wpcf7cf_timeout = setTimeout(function() {
209
- form.displayFields();
210
- }, 100);
211
- });
212
-
213
- //removed pro functions
214
- };
215
-
216
- //removed pro functions
217
-
218
- wpcf7cf = {
219
-
220
- // keep this for backwards compatibility
221
- initForm : function($form) {
222
- wpcf7cf_forms.push(new Wpcf7cfForm($form));
223
- },
224
-
225
- get_nested_conditions : function(conditions, $current_form) {
226
- //loop trough conditions. Then loop trough the dom, and each repeater we pass we should update all sub_values we encounter with __index
227
- var simplified_dom = wpcf7cf.get_simplified_dom_model($current_form);
228
- var groups = simplified_dom.filter(function(item, i) {
229
- return item.type==='group';
230
- });
231
-
232
- var sub_conditions = [];
233
-
234
- for(var i = 0; i < groups.length; i++) {
235
- var g = groups[i];
236
- var relevant_conditions = conditions.filter(function(condition, i) {
237
- return condition.then_field === g.original_name;
238
- });
239
-
240
- var relevant_conditions = relevant_conditions.map(function(item,i) {
241
- return {
242
- then_field : g.name,
243
- and_rules : item.and_rules.map(function(and_rule, i) {
244
- return {
245
- if_field : and_rule.if_field+g.suffix,
246
- if_value : and_rule.if_value,
247
- operator : and_rule.operator
248
- };
249
- })
250
- }
251
- });
252
-
253
- sub_conditions = sub_conditions.concat(relevant_conditions);
254
- }
255
- return conditions.concat(sub_conditions);
256
- },
257
-
258
- get_simplified_dom_model : function($current_form) {
259
- // if the dom is something like:
260
- // <form>
261
- // <repeater ra>
262
- // <group ga__1>
263
- // <repeater rb__1>
264
- // <input txta__1__1 />
265
- // <input txta__1__2 />
266
- // </repeater>
267
- // <group gb__1>
268
- // <input txtb__1 />
269
- // </group>
270
- // </group>
271
- // <group ga__2>
272
- // <repeater rb__2>
273
- // <input txta__2__1 />
274
- // </repeater>
275
- // <group gb__2>
276
- // <input txtb__2 />
277
- // </group>
278
- // </group>
279
- // </repeater>
280
- // </form>
281
- //
282
- // return something like:
283
- // [{type:repeater, name:'ra', suffix: '__1'}, {type: group, name:'ga', suffix: '__1'}, ...]
284
-
285
- var currentNode,
286
- ni = document.createNodeIterator($current_form[0], NodeFilter.SHOW_ELEMENT);
287
-
288
- var simplified_dom = [];
289
-
290
- while(currentNode = ni.nextNode()) {
291
- if (currentNode.classList.contains('wpcf7cf_repeater')) {
292
- simplified_dom.push({type:'repeater', name:currentNode.dataset.id, original_name:currentNode.dataset.orig_data_id})
293
- } else if (currentNode.dataset.class == 'wpcf7cf_group') {
294
- simplified_dom.push({type:'group', name:currentNode.dataset.id, original_name:currentNode.dataset.orig_data_id})
295
- } else if (currentNode.hasAttribute('name')) {
296
- simplified_dom.push({type:'input', name:currentNode.getAttribute('name'), original_name:currentNode.getAttribute('data-orig_name')})
297
- }
298
- }
299
-
300
- simplified_dom = simplified_dom.map(function(item, i){
301
- var original_name_length = item.original_name == null ? item.name.length : item.original_name.length;
302
- item.suffix = item.name.substring(original_name_length);
303
- return item;
304
- });
305
-
306
- // console.table(simplified_dom);
307
- return simplified_dom;
308
-
309
- },
310
-
311
- should_group_be_shown : function(condition, $current_form) {
312
-
313
- var $ = jQuery;
314
-
315
- var show_group = true;
316
-
317
- for (var and_rule_i = 0; and_rule_i < condition.and_rules.length; and_rule_i++) {
318
-
319
- var condition_ok = false;
320
-
321
- var condition_and_rule = condition.and_rules[and_rule_i];
322
-
323
- var $field = jQuery('[name="' + condition_and_rule.if_field + '"], [name="' + condition_and_rule.if_field + '[]"], [data-original-name="' + condition_and_rule.if_field + '"], [data-original-name="' + condition_and_rule.if_field + '[]"]',$current_form);
324
-
325
- var if_val = condition_and_rule.if_value;
326
- var if_val_as_number = isFinite(parsedval=parseFloat(if_val)) ? parsedval:0;
327
- var operator = condition_and_rule.operator;
328
- var regex_patt = new RegExp(if_val, 'i');
329
-
330
-
331
- if ($field.length === 1) {
332
-
333
- // single field (tested with text field, single checkbox, select with single value (dropdown), select with multiple values)
334
-
335
- if ($field.is('select')) {
336
-
337
- if (operator === 'not equals') {
338
- condition_ok = true;
339
- }
340
-
341
- $field.find('option:selected').each(function () {
342
- var $option = jQuery(this);
343
- option_val = $option.val()
344
- if (
345
- operator === 'equals' && option_val === if_val ||
346
- operator === 'equals (regex)' && regex_patt.test($option.val())
347
- ) {
348
- condition_ok = true;
349
- } else if (
350
- operator === 'not equals' && option_val === if_val ||
351
- operator === 'not equals (regex)' && !regex_patt.test($option.val())
352
- ) {
353
- condition_ok = false;
354
- return false; // break out of the loop
355
- }
356
- });
357
-
358
- show_group = show_group && condition_ok;
359
- }
360
-
361
- var field_val = $field.val();
362
- var field_val_as_number = isFinite(parsedval=parseFloat(field_val)) ? parsedval:0;
363
-
364
- if ($field.attr('type') === 'checkbox') {
365
- var field_is_checked = $field.is(':checked');
366
- if (
367
- operator === 'equals' && field_is_checked && field_val === if_val ||
368
- operator === 'not equals' && !field_is_checked ||
369
- operator === 'is empty' && !field_is_checked ||
370
- operator === 'not empty' && field_is_checked ||
371
- operator === '>' && field_is_checked && field_val_as_number > if_val_as_number ||
372
- operator === '<' && field_is_checked && field_val_as_number < if_val_as_number ||
373
- operator === '≥' && field_is_checked && field_val_as_number >= if_val_as_number ||
374
- operator === '≤' && field_is_checked && field_val_as_number <= if_val_as_number ||
375
- operator === 'equals (regex)' && field_is_checked && regex_patt.test(field_val) ||
376
- operator === 'not equals (regex)' && !field_is_checked
377
-
378
- ) {
379
- condition_ok = true;
380
- }
381
- } else if (
382
- operator === 'equals' && field_val === if_val ||
383
- operator === 'not equals' && field_val !== if_val ||
384
- operator === 'equals (regex)' && regex_patt.test(field_val) ||
385
- operator === 'not equals (regex)' && !regex_patt.test(field_val) ||
386
- operator === '>' && field_val_as_number > if_val_as_number ||
387
- operator === '<' && field_val_as_number < if_val_as_number ||
388
- operator === '≥' && field_val_as_number >= if_val_as_number ||
389
- operator === '≤' && field_val_as_number <= if_val_as_number ||
390
- operator === 'is empty' && field_val === '' ||
391
- operator === 'not empty' && field_val !== '' ||
392
- (
393
- operator === 'function'
394
- && typeof window[if_val] == 'function'
395
- && window[if_val]($field)
396
- )
397
- ) {
398
- condition_ok = true;
399
- }
400
-
401
-
402
- } else if ($field.length > 1) {
403
-
404
- // multiple fields (tested with checkboxes, exclusive checkboxes, dropdown with multiple values)
405
-
406
- var all_values = [];
407
- var checked_values = [];
408
- $field.each(function () {
409
- all_values.push(jQuery(this).val());
410
- if (jQuery(this).is(':checked')) {
411
- checked_values.push(jQuery(this).val());
412
- }
413
- });
414
-
415
- var checked_value_index = jQuery.inArray(if_val, checked_values);
416
- var value_index = jQuery.inArray(if_val, all_values);
417
-
418
- if (
419
- ( operator === 'is empty' && checked_values.length === 0 ) ||
420
- ( operator === 'not empty' && checked_values.length > 0 )
421
- ) {
422
- condition_ok = true;
423
- }
424
-
425
-
426
- for (var ind = 0; ind < checked_values.length; ind++) {
427
- var checked_val = checked_values[ind];
428
- var checked_val_as_number = isFinite(parsedval=parseFloat(checked_val)) ? parsedval:0;
429
- if (
430
- ( operator === 'equals' && checked_val === if_val ) ||
431
- ( operator === 'not equals' && checked_val !== if_val ) ||
432
- ( operator === 'equals (regex)' && regex_patt.test(checked_val) ) ||
433
- ( operator === 'not equals (regex)' && !regex_patt.test(checked_val) ) ||
434
- ( operator === '>' && checked_val_as_number > if_val_as_number ) ||
435
- ( operator === '<' && checked_val_as_number < if_val_as_number ) ||
436
- ( operator === '≥' && checked_val_as_number >= if_val_as_number ) ||
437
- ( operator === '≤' && checked_val_as_number <= if_val_as_number )
438
- ) {
439
- condition_ok = true;
440
- }
441
- }
442
- }
443
-
444
- show_group = show_group && condition_ok;
445
- }
446
-
447
- return show_group;
448
-
449
- }
450
-
451
- };
452
-
453
-
454
- jQuery('.wpcf7-form').each(function(){
455
- wpcf7cf_forms.push(new Wpcf7cfForm(jQuery(this)));
456
- });
457
-
458
- // Call displayFields again on all forms
459
- // Necessary in case some theme or plugin changed a form value by the time the entire page is fully loaded.
460
- jQuery('document').ready(function() {
461
- wpcf7cf_forms.forEach(function(f){
462
- f.displayFields();
463
- });
464
- });
465
-
466
- // fix for exclusive checkboxes in IE (this will call the change-event again after all other checkboxes are unchecked, triggering the display_fields() function)
467
- var old_wpcf7ExclusiveCheckbox = jQuery.fn.wpcf7ExclusiveCheckbox;
468
- jQuery.fn.wpcf7ExclusiveCheckbox = function() {
469
- return this.find('input:checkbox').click(function() {
470
- var name = jQuery(this).attr('name');
471
- jQuery(this).closest('form').find('input:checkbox[name="' + name + '"]').not(this).prop('checked', false).eq(0).change();
472
- });
473
- };
474
-
1
+ !function(r){var e={};function i(t){if(e[t])return e[t].exports;var n=e[t]={i:t,l:!1,exports:{}};return r[t].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=r,i.c=e,i.d=function(t,n,r){i.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(n,t){if(1&t&&(n=i(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var e in n)i.d(r,e,function(t){return n[t]}.bind(null,e));return r},i.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(n,"a",n),n},i.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},i.p="",i(i.s=124)}([function(t,n,r){function v(t,n,r){var e,i,o,u,c=t&v.F,a=t&v.G,f=t&v.P,s=t&v.B,l=a?d:t&v.S?d[n]||(d[n]={}):(d[n]||{})[b],p=a?y:y[n]||(y[n]={}),h=p[b]||(p[b]={});for(e in a&&(r=n),r)o=((i=!c&&l&&void 0!==l[e])?l:r)[e],u=s&&i?_(o,d):f&&"function"==typeof o?_(Function.call,o):o,l&&m(l,e,o,t&v.U),p[e]!=o&&g(p,e,u),f&&h[e]!=o&&(h[e]=o)}var d=r(1),y=r(7),g=r(14),m=r(11),_=r(17),b="prototype";d.core=y,v.F=1,v.G=2,v.S=4,v.P=8,v.B=16,v.W=32,v.U=64,v.R=128,t.exports=v},function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,r){var e=r(4);t.exports=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t}},function(t,n){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===r(t)?null!==t:"function"==typeof t}},function(t,n,r){var e=r(48)("wks"),i=r(29),o=r(1).Symbol,u="function"==typeof o;(t.exports=function(t){return e[t]||(e[t]=u&&o[t]||(u?o:i)("Symbol."+t))}).store=e},function(t,n,r){var e=r(19),i=Math.min;t.exports=function(t){return 0<t?i(e(t),9007199254740991):0}},function(t,n){var r=t.exports={version:"2.6.10"};"number"==typeof __e&&(__e=r)},function(t,n,r){t.exports=!r(2)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(3),i=r(90),o=r(26),u=Object.defineProperty;n.f=r(8)?Object.defineProperty:function(t,n,r){if(e(t),n=o(n,!0),e(r),i)try{return u(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(24);t.exports=function(t){return Object(e(t))}},function(t,n,r){var o=r(1),u=r(14),c=r(13),a=r(29)("src"),e=r(130),i="toString",f=(""+e).split(i);r(7).inspectSource=function(t){return e.call(t)},(t.exports=function(t,n,r,e){var i="function"==typeof r;i&&(c(r,"name")||u(r,"name",n)),t[n]!==r&&(i&&(c(r,a)||u(r,a,t[n]?""+t[n]:f.join(String(n)))),t===o?t[n]=r:e?t[n]?t[n]=r:u(t,n,r):(delete t[n],u(t,n,r)))})(Function.prototype,i,function(){return"function"==typeof this&&this[a]||e.call(this)})},function(t,n,r){function e(t,n,r,e){var i=String(u(t)),o="<"+n;return""!==r&&(o+=" "+r+'="'+String(e).replace(c,"&quot;")+'"'),o+">"+i+"</"+n+">"}var i=r(0),o=r(2),u=r(24),c=/"/g;t.exports=function(n,t){var r={};r[n]=t(e),i(i.P+i.F*o(function(){var t=""[n]('"');return t!==t.toLowerCase()||3<t.split('"').length}),"String",r)}},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n,r){var e=r(9),i=r(28);t.exports=r(8)?function(t,n,r){return e.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(44),i=r(24);t.exports=function(t){return e(i(t))}},function(t,n,r){"use strict";var e=r(2);t.exports=function(t,n){return!!t&&e(function(){n?t.call(null,function(){},1):t.call(null)})}},function(t,n,r){var o=r(18);t.exports=function(e,i,t){if(o(e),void 0===i)return e;switch(t){case 1:return function(t){return e.call(i,t)};case 2:return function(t,n){return e.call(i,t,n)};case 3:return function(t,n,r){return e.call(i,t,n,r)}}return function(){return e.apply(i,arguments)}}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(0<t?e:r)(t)}},function(t,n,r){var e=r(45),i=r(28),o=r(15),u=r(26),c=r(13),a=r(90),f=Object.getOwnPropertyDescriptor;n.f=r(8)?f:function(t,n){if(t=o(t),n=u(n,!0),a)try{return f(t,n)}catch(t){}if(c(t,n))return i(!e.f.call(t,n),t[n])}},function(t,n,r){var i=r(0),o=r(7),u=r(2);t.exports=function(t,n){var r=(o.Object||{})[t]||Object[t],e={};e[t]=n(r),i(i.S+i.F*u(function(){r(1)}),"Object",e)}},function(t,n,r){var _=r(17),b=r(44),w=r(10),x=r(6),e=r(106);t.exports=function(l,t){var p=1==l,h=2==l,v=3==l,d=4==l,y=6==l,g=5==l||y,m=t||e;return function(t,n,r){for(var e,i,o=w(t),u=b(o),c=_(n,r,3),a=x(u.length),f=0,s=p?m(t,a):h?m(t,0):void 0;f<a;f++)if((g||f in u)&&(i=c(e=u[f],f,o),l))if(p)s[f]=i;else if(i)switch(l){case 3:return!0;case 5:return e;case 6:return f;case 2:s.push(e)}else if(d)return!1;return y?-1:v||d?d:s}}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}if(r(8)){var g=r(30),m=r(1),_=r(2),b=r(0),w=r(59),i=r(84),v=r(17),x=r(42),o=r(28),S=r(14),u=r(43),c=r(19),E=r(6),j=r(117),a=r(32),f=r(26),s=r(13),O=r(46),F=r(4),d=r(10),y=r(76),P=r(33),M=r(35),$=r(34).f,A=r(78),l=r(29),p=r(5),h=r(22),I=r(49),N=r(47),T=r(80),L=r(40),k=r(52),R=r(41),C=r(79),Q=r(108),D=r(9),q=r(20),W=D.f,G=q.f,U=m.RangeError,V=m.TypeError,B=m.Uint8Array,z="ArrayBuffer",J="Shared"+z,Y="BYTES_PER_ELEMENT",H="prototype",K=Array[H],X=i.ArrayBuffer,Z=i.DataView,tt=h(0),nt=h(2),rt=h(3),et=h(4),it=h(5),ot=h(6),ut=I(!0),ct=I(!1),at=T.values,ft=T.keys,st=T.entries,lt=K.lastIndexOf,pt=K.reduce,ht=K.reduceRight,vt=K.join,dt=K.sort,yt=K.slice,gt=K.toString,mt=K.toLocaleString,_t=p("iterator"),bt=p("toStringTag"),wt=l("typed_constructor"),xt=l("def_constructor"),St=w.CONSTR,Et=w.TYPED,jt=w.VIEW,Ot="Wrong length!",Ft=h(1,function(t,n){return It(N(t,t[xt]),n)}),Pt=_(function(){return 1===new B(new Uint16Array([1]).buffer)[0]}),Mt=!!B&&!!B[H].set&&_(function(){new B(1).set({})}),$t=function(t,n){var r=c(t);if(r<0||r%n)throw U("Wrong offset!");return r},At=function(t){if(F(t)&&Et in t)return t;throw V(t+" is not a typed array!")},It=function(t,n){if(!(F(t)&&wt in t))throw V("It is not a typed array constructor!");return new t(n)},Nt=function(t,n){return Tt(N(t,t[xt]),n)},Tt=function(t,n){for(var r=0,e=n.length,i=It(t,e);r<e;)i[r]=n[r++];return i},Lt=function(t,n,r){W(t,n,{get:function(){return this._d[r]}})},kt=function(t,n,r){var e,i,o,u,c,a,f=d(t),s=arguments.length,l=1<s?n:void 0,p=void 0!==l,h=A(f);if(null!=h&&!y(h)){for(a=h.call(f),o=[],e=0;!(c=a.next()).done;e++)o.push(c.value);f=o}for(p&&2<s&&(l=v(l,r,2)),e=0,i=E(f.length),u=It(this,i);e<i;e++)u[e]=p?l(f[e],e):f[e];return u},Rt=function(){for(var t=0,n=arguments.length,r=It(this,n);t<n;)r[t]=arguments[t++];return r},Ct=!!B&&_(function(){mt.call(new B(1))}),Qt=function(){return mt.apply(Ct?yt.call(At(this)):At(this),arguments)},Dt={copyWithin:function(t,n,r){return Q.call(At(this),t,n,2<arguments.length?r:void 0)},every:function(t,n){return et(At(this),t,1<arguments.length?n:void 0)},fill:function(t){return C.apply(At(this),arguments)},filter:function(t,n){return Nt(this,nt(At(this),t,1<arguments.length?n:void 0))},find:function(t,n){return it(At(this),t,1<arguments.length?n:void 0)},findIndex:function(t,n){return ot(At(this),t,1<arguments.length?n:void 0)},forEach:function(t,n){tt(At(this),t,1<arguments.length?n:void 0)},indexOf:function(t,n){return ct(At(this),t,1<arguments.length?n:void 0)},includes:function(t,n){return ut(At(this),t,1<arguments.length?n:void 0)},join:function(t){return vt.apply(At(this),arguments)},lastIndexOf:function(t){return lt.apply(At(this),arguments)},map:function(t,n){return Ft(At(this),t,1<arguments.length?n:void 0)},reduce:function(t){return pt.apply(At(this),arguments)},reduceRight:function(t){return ht.apply(At(this),arguments)},reverse:function(){for(var t,n=this,r=At(n).length,e=Math.floor(r/2),i=0;i<e;)t=n[i],n[i++]=n[--r],n[r]=t;return n},some:function(t,n){return rt(At(this),t,1<arguments.length?n:void 0)},sort:function(t){return dt.call(At(this),t)},subarray:function(t,n){var r=At(this),e=r.length,i=a(t,e);return new(N(r,r[xt]))(r.buffer,r.byteOffset+i*r.BYTES_PER_ELEMENT,E((void 0===n?e:a(n,e))-i))}},qt=function(t,n){return Nt(this,yt.call(At(this),t,n))},Wt=function(t,n){At(this);var r=$t(n,1),e=this.length,i=d(t),o=E(i.length),u=0;if(e<o+r)throw U(Ot);for(;u<o;)this[r+u]=i[u++]},Gt={entries:function(){return st.call(At(this))},keys:function(){return ft.call(At(this))},values:function(){return at.call(At(this))}},Ut=function(t,n){return F(t)&&t[Et]&&"symbol"!=e(n)&&n in t&&String(+n)==String(n)},Vt=function(t,n){return Ut(t,n=f(n,!0))?o(2,t[n]):G(t,n)},Bt=function(t,n,r){return!(Ut(t,n=f(n,!0))&&F(r)&&s(r,"value"))||s(r,"get")||s(r,"set")||r.configurable||s(r,"writable")&&!r.writable||s(r,"enumerable")&&!r.enumerable?W(t,n,r):(t[n]=r.value,t)};St||(q.f=Vt,D.f=Bt),b(b.S+b.F*!St,"Object",{getOwnPropertyDescriptor:Vt,defineProperty:Bt}),_(function(){gt.call({})})&&(gt=mt=function(){return vt.call(this)});var zt=u({},Dt);u(zt,Gt),S(zt,_t,Gt.values),u(zt,{slice:qt,set:Wt,constructor:function(){},toString:gt,toLocaleString:Qt}),Lt(zt,"buffer","b"),Lt(zt,"byteOffset","o"),Lt(zt,"byteLength","l"),Lt(zt,"length","e"),W(zt,bt,{get:function(){return this[Et]}}),t.exports=function(t,l,n,i){function p(t,n){W(t,n,{get:function(){return function(t,n){var r=t._d;return r.v[e](n*l+r.o,Pt)}(this,n)},set:function(t){return function(t,n,r){var e=t._d;i&&(r=(r=Math.round(r))<0?0:255<r?255:255&r),e.v[o](n*l+e.o,r,Pt)}(this,n,t)},enumerable:!0})}var h=t+((i=!!i)?"Clamped":"")+"Array",e="get"+t,o="set"+t,v=m[h],u=v||{},r=v&&M(v),c=!v||!w.ABV,a={},f=v&&v[H];c?(v=n(function(t,n,r,e){x(t,v,h,"_d");var i,o,u,c,a=0,f=0;if(F(n)){if(!(n instanceof X||(c=O(n))==z||c==J))return Et in n?Tt(v,n):kt.call(v,n);i=n,f=$t(r,l);var s=n.byteLength;if(void 0===e){if(s%l)throw U(Ot);if((o=s-f)<0)throw U(Ot)}else if(s<(o=E(e)*l)+f)throw U(Ot);u=o/l}else u=j(n),i=new X(o=u*l);for(S(t,"_d",{b:i,o:f,l:o,e:u,v:new Z(i)});a<u;)p(t,a++)}),f=v[H]=P(zt),S(f,"constructor",v)):_(function(){v(1)})&&_(function(){new v(-1)})&&k(function(t){new v,new v(null),new v(1.5),new v(t)},!0)||(v=n(function(t,n,r,e){var i;return x(t,v,h),F(n)?n instanceof X||(i=O(n))==z||i==J?void 0!==e?new u(n,$t(r,l),e):void 0!==r?new u(n,$t(r,l)):new u(n):Et in n?Tt(v,n):kt.call(v,n):new u(j(n))}),tt(r!==Function.prototype?$(u).concat($(r)):$(u),function(t){t in v||S(v,t,u[t])}),v[H]=f,g||(f.constructor=v));var s=f[_t],d=!!s&&("values"==s.name||null==s.name),y=Gt.values;S(v,wt,!0),S(f,Et,h),S(f,jt,!0),S(f,xt,v),(i?new v(1)[bt]==h:bt in f)||W(f,bt,{get:function(){return h}}),a[h]=v,b(b.G+b.W+b.F*(v!=u),a),b(b.S,h,{BYTES_PER_ELEMENT:l}),b(b.S+b.F*_(function(){u.of.call(v,1)}),h,{from:kt,of:Rt}),Y in f||S(f,Y,l),b(b.P,h,Dt),R(h),b(b.P+b.F*Mt,h,{set:Wt}),b(b.P+b.F*!d,h,Gt),g||f.toString==gt||(f.toString=gt),b(b.P+b.F*_(function(){new v(1).slice()}),h,{slice:qt}),b(b.P+b.F*(_(function(){return[1,2].toLocaleString()!=new v([1,2]).toLocaleString()})||!_(function(){f.toLocaleString.call([1,2])})),h,{toLocaleString:Qt}),L[h]=d?s:y,g||d||S(f,_t,y)}}else t.exports=function(){}},function(t,n,r){var i=r(4);t.exports=function(t,n){if(!i(t))return t;var r,e;if(n&&"function"==typeof(r=t.toString)&&!i(e=r.call(t)))return e;if("function"==typeof(r=t.valueOf)&&!i(e=r.call(t)))return e;if(!n&&"function"==typeof(r=t.toString)&&!i(e=r.call(t)))return e;throw TypeError("Can't convert object to primitive value")}},function(t,n,r){function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t){a(t,o,{value:{i:"O"+ ++f,w:{}}})}var o=r(29)("meta"),u=r(4),c=r(13),a=r(9).f,f=0,s=Object.isExtensible||function(){return!0},l=!r(2)(function(){return s(Object.preventExtensions({}))}),p=t.exports={KEY:o,NEED:!1,fastKey:function(t,n){if(!u(t))return"symbol"==e(t)?t:("string"==typeof t?"S":"P")+t;if(!c(t,o)){if(!s(t))return"F";if(!n)return"E";i(t)}return t[o].i},getWeak:function(t,n){if(!c(t,o)){if(!s(t))return!0;if(!n)return!1;i(t)}return t[o].w},onFreeze:function(t){return l&&p.NEED&&s(t)&&!c(t,o)&&i(t),t}}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))}},function(t,n){t.exports=!1},function(t,n,r){var e=r(92),i=r(63);t.exports=Object.keys||function(t){return e(t,i)}},function(t,n,r){var e=r(19),i=Math.max,o=Math.min;t.exports=function(t,n){return(t=e(t))<0?i(t+n,0):o(t,n)}},function(t,n,e){function i(){}var o=e(3),u=e(93),c=e(63),a=e(62)("IE_PROTO"),f="prototype",s=function(){var t,n=e(60)("iframe"),r=c.length;for(n.style.display="none",e(64).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),s=t.F;r--;)delete s[f][c[r]];return s()};t.exports=Object.create||function(t,n){var r;return null!==t?(i[f]=o(t),r=new i,i[f]=null,r[a]=t):r=s(),void 0===n?r:u(r,n)}},function(t,n,r){var e=r(92),i=r(63).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,i)}},function(t,n,r){var e=r(13),i=r(10),o=r(62)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),e(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,r){var e=r(5)("unscopables"),i=Array.prototype;null==i[e]&&r(14)(i,e,{}),t.exports=function(t){i[e][t]=!0}},function(t,n,r){var e=r(4);t.exports=function(t,n){if(!e(t)||t._t!==n)throw TypeError("Incompatible receiver, "+n+" required!");return t}},function(t,n,r){var e=r(9).f,i=r(13),o=r(5)("toStringTag");t.exports=function(t,n,r){t&&!i(t=r?t:t.prototype,o)&&e(t,o,{configurable:!0,value:n})}},function(t,n,r){function e(t,n,r){var e={},i=c(function(){return!!a[t]()||"​…"!="​…"[t]()}),o=e[t]=i?n(l):a[t];r&&(e[r]=o),u(u.P+u.F*i,"String",e)}var u=r(0),i=r(24),c=r(2),a=r(66),o="["+a+"]",f=RegExp("^"+o+o+"*"),s=RegExp(o+o+"*$"),l=e.trim=function(t,n){return t=String(i(t)),1&n&&(t=t.replace(f,"")),2&n&&(t=t.replace(s,"")),t};t.exports=e},function(t,n){t.exports={}},function(t,n,r){"use strict";var e=r(1),i=r(9),o=r(8),u=r(5)("species");t.exports=function(t){var n=e[t];o&&n&&!n[u]&&i.f(n,u,{configurable:!0,get:function(){return this}})}},function(t,n){t.exports=function(t,n,r,e){if(!(t instanceof n)||void 0!==e&&e in t)throw TypeError(r+": incorrect invocation!");return t}},function(t,n,r){var i=r(11);t.exports=function(t,n,r){for(var e in n)i(t,e,n[e],r);return t}},function(t,n,r){var e=r(23);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==e(t)?t.split(""):Object(t)}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,r){var i=r(23),o=r(5)("toStringTag"),u="Arguments"==i(function(){return arguments}());t.exports=function(t){var n,r,e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),o))?r:u?i(n):"Object"==(e=i(n))&&"function"==typeof n.callee?"Arguments":e}},function(t,n,r){var i=r(3),o=r(18),u=r(5)("species");t.exports=function(t,n){var r,e=i(t).constructor;return void 0===e||null==(r=i(e)[u])?n:o(r)}},function(t,n,r){var e=r(7),i=r(1),o="__core-js_shared__",u=i[o]||(i[o]={});(t.exports=function(t,n){return u[t]||(u[t]=void 0!==n?n:{})})("versions",[]).push({version:e.version,mode:r(30)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,n,r){var a=r(15),f=r(6),s=r(32);t.exports=function(c){return function(t,n,r){var e,i=a(t),o=f(i.length),u=s(r,o);if(c&&n!=n){for(;u<o;)if((e=i[u++])!=e)return!0}else for(;u<o;u++)if((c||u in i)&&i[u]===n)return c||u||0;return!c&&-1}}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,r){var e=r(23);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var o=r(5)("iterator"),u=!1;try{var e=[7][o]();e.return=function(){u=!0},Array.from(e,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!u)return!1;var r=!1;try{var e=[7],i=e[o]();i.next=function(){return{done:r=!0}},e[o]=function(){return i},t(e)}catch(t){}return r}},function(t,n,r){"use strict";var e=r(3);t.exports=function(){var t=e(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},function(t,n,r){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(46),u=RegExp.prototype.exec;t.exports=function(t,n){var r=t.exec;if("function"==typeof r){var e=r.call(t,n);if("object"!==i(e))throw new TypeError("RegExp exec method returned something other than an Object or null");return e}if("RegExp"!==o(t))throw new TypeError("RegExp#exec called on incompatible receiver");return u.call(t,n)}},function(t,n,r){"use strict";r(110);var s=r(11),l=r(14),p=r(2),h=r(24),v=r(5),d=r(81),y=v("species"),g=!p(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),m=function(){var t=/(?:)/,n=t.exec;t.exec=function(){return n.apply(this,arguments)};var r="ab".split(t);return 2===r.length&&"a"===r[0]&&"b"===r[1]}();t.exports=function(r,t,n){var e=v(r),o=!p(function(){var t={};return t[e]=function(){return 7},7!=""[r](t)}),i=o?!p(function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===r&&(n.constructor={},n.constructor[y]=function(){return n}),n[e](""),!t}):void 0;if(!o||!i||"replace"===r&&!g||"split"===r&&!m){var u=/./[e],c=n(h,e,""[r],function(t,n,r,e,i){return n.exec===d?o&&!i?{done:!0,value:u.call(n,r,e)}:{done:!0,value:t.call(r,n,e)}:{done:!1}}),a=c[0],f=c[1];s(String.prototype,r,a),l(RegExp.prototype,e,2==t?function(t,n){return f.call(t,this,n)}:function(t){return f.call(t,this)})}}},function(t,n,r){var p=r(17),h=r(105),v=r(76),d=r(3),y=r(6),g=r(78),m={},_={};(n=t.exports=function(t,n,r,e,i){var o,u,c,a,f=i?function(){return t}:g(t),s=p(r,e,n?2:1),l=0;if("function"!=typeof f)throw TypeError(t+" is not iterable!");if(v(f)){for(o=y(t.length);l<o;l++)if((a=n?s(d(u=t[l])[0],u[1]):s(t[l]))===m||a===_)return a}else for(c=f.call(t);!(u=c.next()).done;)if((a=h(c,s,u.value,n))===m||a===_)return a}).BREAK=m,n.RETURN=_},function(t,n,r){var e=r(1).navigator;t.exports=e&&e.userAgent||""},function(t,n,r){"use strict";var g=r(1),m=r(0),_=r(11),b=r(43),w=r(27),x=r(56),S=r(42),E=r(4),j=r(2),O=r(52),F=r(38),P=r(67);t.exports=function(e,t,n,r,i,o){function u(t){var r=s[t];_(s,t,"delete"==t?function(t){return!(o&&!E(t))&&r.call(this,0===t?0:t)}:"has"==t?function(t){return!(o&&!E(t))&&r.call(this,0===t?0:t)}:"get"==t?function(t){return o&&!E(t)?void 0:r.call(this,0===t?0:t)}:"add"==t?function(t){return r.call(this,0===t?0:t),this}:function(t,n){return r.call(this,0===t?0:t,n),this})}var c=g[e],a=c,f=i?"set":"add",s=a&&a.prototype,l={};if("function"==typeof a&&(o||s.forEach&&!j(function(){(new a).entries().next()}))){var p=new a,h=p[f](o?{}:-0,1)!=p,v=j(function(){p.has(1)}),d=O(function(t){new a(t)}),y=!o&&j(function(){for(var t=new a,n=5;n--;)t[f](n,n);return!t.has(-0)});d||(((a=t(function(t,n){S(t,a,e);var r=P(new c,t,a);return null!=n&&x(n,i,r[f],r),r})).prototype=s).constructor=a),(v||y)&&(u("delete"),u("has"),i&&u("get")),(y||h)&&u(f),o&&s.clear&&delete s.clear}else a=r.getConstructor(t,e,i,f),b(a.prototype,n),w.NEED=!0;return F(a,e),l[e]=a,m(m.G+m.W+m.F*(a!=c),l),o||r.setStrong(a,e,i),a}},function(t,n,r){for(var e,i=r(1),o=r(14),u=r(29),c=u("typed_array"),a=u("view"),f=!(!i.ArrayBuffer||!i.DataView),s=f,l=0,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");l<9;)(e=i[p[l++]])?(o(e.prototype,c,!0),o(e.prototype,a,!0)):s=!1;t.exports={ABV:f,CONSTR:s,TYPED:c,VIEW:a}},function(t,n,r){var e=r(4),i=r(1).document,o=e(i)&&e(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,n,r){n.f=r(5)},function(t,n,r){var e=r(48)("keys"),i=r(29);t.exports=function(t){return e[t]||(e[t]=i(t))}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,r){var e=r(1).document;t.exports=e&&e.documentElement},function(t,n,i){function o(t,n){if(e(t),!r(n)&&null!==n)throw TypeError(n+": can't set as prototype!")}var r=i(4),e=i(3);t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,r,e){try{(e=i(17)(Function.call,i(20).f(Object.prototype,"__proto__").set,2))(t,[]),r=!(t instanceof Array)}catch(t){r=!0}return function(t,n){return o(t,n),r?t.__proto__=n:e(t,n),t}}({},!1):void 0),check:o}},function(t,n){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(t,n,r){var o=r(4),u=r(65).set;t.exports=function(t,n,r){var e,i=n.constructor;return i!==r&&"function"==typeof i&&(e=i.prototype)!==r.prototype&&o(e)&&u&&u(t,e),t}},function(t,n,r){"use strict";var i=r(19),o=r(24);t.exports=function(t){var n=String(o(this)),r="",e=i(t);if(e<0||e==1/0)throw RangeError("Count can't be negative");for(;0<e;(e>>>=1)&&(n+=n))1&e&&(r+=n);return r}},function(t,n){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,n){var r=Math.expm1;t.exports=!r||22025.465794806718<r(10)||r(10)<22025.465794806718||-2e-17!=r(-2e-17)?function(t){return 0==(t=+t)?t:-1e-6<t&&t<1e-6?t+t*t/2:Math.exp(t)-1}:r},function(t,n,r){var a=r(19),f=r(24);t.exports=function(c){return function(t,n){var r,e,i=String(f(t)),o=a(n),u=i.length;return o<0||u<=o?c?"":void 0:(r=i.charCodeAt(o))<55296||56319<r||o+1===u||(e=i.charCodeAt(o+1))<56320||57343<e?c?i.charAt(o):r:c?i.slice(o,o+2):e-56320+(r-55296<<10)+65536}}},function(t,n,r){"use strict";function _(){return this}var b=r(30),w=r(0),x=r(11),S=r(14),E=r(40),j=r(104),O=r(38),F=r(35),P=r(5)("iterator"),M=!([].keys&&"next"in[].keys()),$="values";t.exports=function(t,n,r,e,i,o,u){j(r,n,e);function c(t){if(!M&&t in v)return v[t];switch(t){case"keys":case $:return function(){return new r(this,t)}}return function(){return new r(this,t)}}var a,f,s,l=n+" Iterator",p=i==$,h=!1,v=t.prototype,d=v[P]||v["@@iterator"]||i&&v[i],y=d||c(i),g=i?p?c("entries"):y:void 0,m="Array"==n&&v.entries||d;if(m&&(s=F(m.call(new t)))!==Object.prototype&&s.next&&(O(s,l,!0),b||"function"==typeof s[P]||S(s,P,_)),p&&d&&d.name!==$&&(h=!0,y=function(){return d.call(this)}),b&&!u||!M&&!h&&v[P]||S(v,P,y),E[n]=y,E[l]=_,i)if(a={values:p?y:c($),keys:o?y:c("keys"),entries:g},u)for(f in a)f in v||x(v,f,a[f]);else w(w.P+w.F*(M||h),n,a);return a}},function(t,n,r){var e=r(74),i=r(24);t.exports=function(t,n,r){if(e(n))throw TypeError("String#"+r+" doesn't accept regex!");return String(i(t))}},function(t,n,r){var e=r(4),i=r(23),o=r(5)("match");t.exports=function(t){var n;return e(t)&&(void 0!==(n=t[o])?!!n:"RegExp"==i(t))}},function(t,n,r){var e=r(5)("match");t.exports=function(n){var r=/./;try{"/./"[n](r)}catch(t){try{return r[e]=!1,!"/./"[n](r)}catch(t){}}return!0}},function(t,n,r){var e=r(40),i=r(5)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(e.Array===t||o[i]===t)}},function(t,n,r){"use strict";var e=r(9),i=r(28);t.exports=function(t,n,r){n in t?e.f(t,n,i(0,r)):t[n]=r}},function(t,n,r){var e=r(46),i=r(5)("iterator"),o=r(40);t.exports=r(7).getIteratorMethod=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[e(t)]}},function(t,n,r){"use strict";var f=r(10),s=r(32),l=r(6);t.exports=function(t,n,r){for(var e=f(this),i=l(e.length),o=arguments.length,u=s(1<o?n:void 0,i),c=2<o?r:void 0,a=void 0===c?i:s(c,i);u<a;)e[u++]=t;return e}},function(t,n,r){"use strict";var e=r(36),i=r(109),o=r(40),u=r(15);t.exports=r(72)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,i(1)):i(0,"keys"==n?r:"values"==n?t[r]:[r,t[r]])},"values"),o.Arguments=o.Array,e("keys"),e("values"),e("entries")},function(t,n,r){"use strict";var e,i,u=r(53),c=RegExp.prototype.exec,a=String.prototype.replace,o=c,f="lastIndex",s=(e=/a/,i=/b*/g,c.call(e,"a"),c.call(i,"a"),0!==e[f]||0!==i[f]),l=void 0!==/()??/.exec("")[1];(s||l)&&(o=function(t){var n,r,e,i,o=this;return l&&(r=new RegExp("^"+o.source+"$(?!\\s)",u.call(o))),s&&(n=o[f]),e=c.call(o,t),s&&e&&(o[f]=o.global?e.index+e[0].length:n),l&&e&&1<e.length&&a.call(e[0],r,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(e[i]=void 0)}),e}),t.exports=o},function(t,n,r){"use strict";var e=r(71)(!0);t.exports=function(t,n,r){return n+(r?e(t,n).length:1)}},function(t,n,r){function e(){var t=+this;if(_.hasOwnProperty(t)){var n=_[t];delete _[t],n()}}function i(t){e.call(t.data)}var o,u,c,a=r(17),f=r(98),s=r(64),l=r(60),p=r(1),h=p.process,v=p.setImmediate,d=p.clearImmediate,y=p.MessageChannel,g=p.Dispatch,m=0,_={},b="onreadystatechange";v&&d||(v=function(t){for(var n=[],r=1;r<arguments.length;)n.push(arguments[r++]);return _[++m]=function(){f("function"==typeof t?t:Function(t),n)},o(m),m},d=function(t){delete _[t]},"process"==r(23)(h)?o=function(t){h.nextTick(a(e,t,1))}:g&&g.now?o=function(t){g.now(a(e,t,1))}:y?(c=(u=new y).port2,u.port1.onmessage=i,o=a(c.postMessage,c,1)):p.addEventListener&&"function"==typeof postMessage&&!p.importScripts?(o=function(t){p.postMessage(t+"","*")},p.addEventListener("message",i,!1)):o=b in l("script")?function(t){s.appendChild(l("script"))[b]=function(){s.removeChild(this),e.call(t)}}:function(t){setTimeout(a(e,t,1),0)}),t.exports={set:v,clear:d}},function(t,n,r){"use strict";var e=r(1),i=r(8),o=r(30),u=r(59),c=r(14),a=r(43),f=r(2),s=r(42),l=r(19),p=r(6),h=r(117),v=r(34).f,d=r(9).f,y=r(79),g=r(38),m="ArrayBuffer",_="DataView",b="prototype",w="Wrong index!",x=e[m],S=e[_],E=e.Math,j=e.RangeError,O=e.Infinity,F=x,P=E.abs,M=E.pow,$=E.floor,A=E.log,I=E.LN2,N="byteLength",T="byteOffset",L=i?"_b":"buffer",k=i?"_l":N,R=i?"_o":T;function C(t,n,r){var e,i,o,u=new Array(r),c=8*r-n-1,a=(1<<c)-1,f=a>>1,s=23===n?M(2,-24)-M(2,-77):0,l=0,p=t<0||0===t&&1/t<0?1:0;for((t=P(t))!=t||t===O?(i=t!=t?1:0,e=a):(e=$(A(t)/I),t*(o=M(2,-e))<1&&(e--,o*=2),2<=(t+=1<=e+f?s/o:s*M(2,1-f))*o&&(e++,o/=2),a<=e+f?(i=0,e=a):1<=e+f?(i=(t*o-1)*M(2,n),e+=f):(i=t*M(2,f-1)*M(2,n),e=0));8<=n;u[l++]=255&i,i/=256,n-=8);for(e=e<<n|i,c+=n;0<c;u[l++]=255&e,e/=256,c-=8);return u[--l]|=128*p,u}function Q(t,n,r){var e,i=8*r-n-1,o=(1<<i)-1,u=o>>1,c=i-7,a=r-1,f=t[a--],s=127&f;for(f>>=7;0<c;s=256*s+t[a],a--,c-=8);for(e=s&(1<<-c)-1,s>>=-c,c+=n;0<c;e=256*e+t[a],a--,c-=8);if(0===s)s=1-u;else{if(s===o)return e?NaN:f?-O:O;e+=M(2,n),s-=u}return(f?-1:1)*e*M(2,s-n)}function D(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function q(t){return[255&t]}function W(t){return[255&t,t>>8&255]}function G(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function U(t){return C(t,52,8)}function V(t){return C(t,23,4)}function B(t,n,r){d(t[b],n,{get:function(){return this[r]}})}function z(t,n,r,e){var i=h(+r);if(i+n>t[k])throw j(w);var o=t[L]._b,u=i+t[R],c=o.slice(u,u+n);return e?c:c.reverse()}function J(t,n,r,e,i,o){var u=h(+r);if(u+n>t[k])throw j(w);for(var c=t[L]._b,a=u+t[R],f=e(+i),s=0;s<n;s++)c[a+s]=f[o?s:n-s-1]}if(u.ABV){if(!f(function(){x(1)})||!f(function(){new x(-1)})||f(function(){return new x,new x(1.5),new x(NaN),x.name!=m})){for(var Y,H=(x=function(t){return s(this,x),new F(h(t))})[b]=F[b],K=v(F),X=0;K.length>X;)(Y=K[X++])in x||c(x,Y,F[Y]);o||(H.constructor=x)}var Z=new S(new x(2)),tt=S[b].setInt8;Z.setInt8(0,2147483648),Z.setInt8(1,2147483649),!Z.getInt8(0)&&Z.getInt8(1)||a(S[b],{setInt8:function(t,n){tt.call(this,t,n<<24>>24)},setUint8:function(t,n){tt.call(this,t,n<<24>>24)}},!0)}else x=function(t){s(this,x,m);var n=h(t);this._b=y.call(new Array(n),0),this[k]=n},S=function(t,n,r){s(this,S,_),s(t,x,_);var e=t[k],i=l(n);if(i<0||e<i)throw j("Wrong offset!");if(e<i+(r=void 0===r?e-i:p(r)))throw j("Wrong length!");this[L]=t,this[R]=i,this[k]=r},i&&(B(x,N,"_l"),B(S,"buffer","_b"),B(S,N,"_l"),B(S,T,"_o")),a(S[b],{getInt8:function(t){return z(this,1,t)[0]<<24>>24},getUint8:function(t){return z(this,1,t)[0]},getInt16:function(t,n){var r=z(this,2,t,n);return(r[1]<<8|r[0])<<16>>16},getUint16:function(t,n){var r=z(this,2,t,n);return r[1]<<8|r[0]},getInt32:function(t,n){return D(z(this,4,t,n))},getUint32:function(t,n){return D(z(this,4,t,n))>>>0},getFloat32:function(t,n){return Q(z(this,4,t,n),23,4)},getFloat64:function(t,n){return Q(z(this,8,t,n),52,8)},setInt8:function(t,n){J(this,1,t,q,n)},setUint8:function(t,n){J(this,1,t,q,n)},setInt16:function(t,n,r){J(this,2,t,W,n,r)},setUint16:function(t,n,r){J(this,2,t,W,n,r)},setInt32:function(t,n,r){J(this,4,t,G,n,r)},setUint32:function(t,n,r){J(this,4,t,G,n,r)},setFloat32:function(t,n,r){J(this,4,t,V,n,r)},setFloat64:function(t,n,r){J(this,8,t,U,n,r)}});g(x,m),g(S,_),c(S[b],u.VIEW,!0),n[m]=x,n[_]=S},function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,n){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===r(t)?null!==t:"function"==typeof t}},function(t,n,r){t.exports=!r(122)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,r){t.exports=r(89)},function(t,n,r){(function(t){function $(t){return($="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n=function(o){"use strict";var a,t=Object.prototype,f=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",r=n.asyncIterator||"@@asyncIterator",e=n.toStringTag||"@@toStringTag";function u(t,n,r,e){var i=n&&n.prototype instanceof c?n:c,o=Object.create(i.prototype),u=new F(e||[]);return o._invoke=function(o,u,c){var a=l;return function(t,n){if(a===h)throw new Error("Generator is already running");if(a===v){if("throw"===t)throw n;return M()}for(c.method=t,c.arg=n;;){var r=c.delegate;if(r){var e=E(r,c);if(e){if(e===d)continue;return e}}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(a===l)throw a=v,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);a=h;var i=s(o,u,c);if("normal"===i.type){if(a=c.done?v:p,i.arg===d)continue;return{value:i.arg,done:c.done}}"throw"===i.type&&(a=v,c.method="throw",c.arg=i.arg)}}}(t,r,u),o}function s(t,n,r){try{return{type:"normal",arg:t.call(n,r)}}catch(t){return{type:"throw",arg:t}}}o.wrap=u;var l="suspendedStart",p="suspendedYield",h="executing",v="completed",d={};function c(){}function y(){}function g(){}var m={};m[i]=function(){return this};var _=Object.getPrototypeOf,b=_&&_(_(P([])));b&&b!==t&&f.call(b,i)&&(m=b);var w=g.prototype=c.prototype=Object.create(m);function x(t){["next","throw","return"].forEach(function(n){t[n]=function(t){return this._invoke(n,t)}})}function S(a){var n;this._invoke=function(r,e){function t(){return new Promise(function(t,n){!function n(t,r,e,i){var o=s(a[t],a,r);if("throw"!==o.type){var u=o.arg,c=u.value;return c&&"object"===$(c)&&f.call(c,"__await")?Promise.resolve(c.__await).then(function(t){n("next",t,e,i)},function(t){n("throw",t,e,i)}):Promise.resolve(c).then(function(t){u.value=t,e(u)},function(t){return n("throw",t,e,i)})}i(o.arg)}(r,e,t,n)})}return n=n?n.then(t,t):t()}}function E(t,n){var r=t.iterator[n.method];if(r===a){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=a,E(t,n),"throw"===n.method))return d;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var e=s(r,t.iterator,n.arg);if("throw"===e.type)return n.method="throw",n.arg=e.arg,n.delegate=null,d;var i=e.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=a),n.delegate=null,d):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,d)}function j(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function O(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function F(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function P(n){if(n){var t=n[i];if(t)return t.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var r=-1,e=function t(){for(;++r<n.length;)if(f.call(n,r))return t.value=n[r],t.done=!1,t;return t.value=a,t.done=!0,t};return e.next=e}}return{next:M}}function M(){return{value:a,done:!0}}return y.prototype=w.constructor=g,g.constructor=y,g[e]=y.displayName="GeneratorFunction",o.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===y||"GeneratorFunction"===(n.displayName||n.name))},o.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,e in t||(t[e]="GeneratorFunction")),t.prototype=Object.create(w),t},o.awrap=function(t){return{__await:t}},x(S.prototype),S.prototype[r]=function(){return this},o.AsyncIterator=S,o.async=function(t,n,r,e){var i=new S(u(t,n,r,e));return o.isGeneratorFunction(n)?i:i.next().then(function(t){return t.done?t.value:i.next()})},x(w),w[e]="Generator",w[i]=function(){return this},w.toString=function(){return"[object Generator]"},o.keys=function(r){var e=[];for(var t in r)e.push(t);return e.reverse(),function t(){for(;e.length;){var n=e.pop();if(n in r)return t.value=n,t.done=!1,t}return t.done=!0,t}},o.values=P,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=a,this.done=!1,this.delegate=null,this.method="next",this.arg=a,this.tryEntries.forEach(O),!t)for(var n in this)"t"===n.charAt(0)&&f.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=a)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var e=this;function t(t,n){return o.type="throw",o.arg=r,e.next=t,n&&(e.method="next",e.arg=a),!!n}for(var n=this.tryEntries.length-1;0<=n;--n){var i=this.tryEntries[n],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var u=f.call(i,"catchLoc"),c=f.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return t(i.catchLoc,!0);if(this.prev<i.finallyLoc)return t(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return t(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return t(i.finallyLoc)}}}},abrupt:function(t,n){for(var r=this.tryEntries.length-1;0<=r;--r){var e=this.tryEntries[r];if(e.tryLoc<=this.prev&&f.call(e,"finallyLoc")&&this.prev<e.finallyLoc){var i=e;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=n&&n<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=n,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(o)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),d},finish:function(t){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc===t){var e=r.completion;if("throw"===e.type){var i=e.arg;O(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:P(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=a),d}},o}("object"===$(t)?t.exports:{});try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}}).call(this,r(125)(t))},function(t,n,r){t.exports=!r(8)&&!r(2)(function(){return 7!=Object.defineProperty(r(60)("div"),"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(1),i=r(7),o=r(30),u=r(61),c=r(9).f;t.exports=function(t){var n=i.Symbol||(i.Symbol=o?{}:e.Symbol||{});"_"==t.charAt(0)||t in n||c(n,t,{value:u.f(t)})}},function(t,n,r){var u=r(13),c=r(15),a=r(49)(!1),f=r(62)("IE_PROTO");t.exports=function(t,n){var r,e=c(t),i=0,o=[];for(r in e)r!=f&&u(e,r)&&o.push(r);for(;n.length>i;)u(e,r=n[i++])&&(~a(o,r)||o.push(r));return o}},function(t,n,r){var u=r(9),c=r(3),a=r(31);t.exports=r(8)?Object.defineProperties:function(t,n){c(t);for(var r,e=a(n),i=e.length,o=0;o<i;)u.f(t,r=e[o++],n[r]);return t}},function(t,n,r){function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=r(15),o=r(34).f,u={}.toString,c="object"==("undefined"==typeof window?"undefined":e(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return c&&"[object Window]"==u.call(t)?function(t){try{return o(t)}catch(t){return c.slice()}}(t):o(i(t))}},function(t,n,r){"use strict";var p=r(8),h=r(31),v=r(50),d=r(45),y=r(10),g=r(44),i=Object.assign;t.exports=!i||r(2)(function(){var t={},n={},r=Symbol(),e="abcdefghijklmnopqrst";return t[r]=7,e.split("").forEach(function(t){n[t]=t}),7!=i({},t)[r]||Object.keys(i({},n)).join("")!=e})?function(t,n){for(var r=y(t),e=arguments.length,i=1,o=v.f,u=d.f;i<e;)for(var c,a=g(arguments[i++]),f=o?h(a).concat(o(a)):h(a),s=f.length,l=0;l<s;)c=f[l++],p&&!u.call(a,c)||(r[c]=a[c]);return r}:i},function(t,n){t.exports=Object.is||function(t,n){return t===n?0!==t||1/t==1/n:t!=t&&n!=n}},function(t,n,r){"use strict";var o=r(18),u=r(4),c=r(98),a=[].slice,f={};t.exports=Function.bind||function(n){function r(){var t=i.concat(a.call(arguments));return this instanceof r?function(t,n,r){if(!(n in f)){for(var e=[],i=0;i<n;i++)e[i]="a["+i+"]";f[n]=Function("F,a","return new F("+e.join(",")+")")}return f[n](t,r)}(e,t.length,t):c(e,t,n)}var e=o(this),i=a.call(arguments,1);return u(e.prototype)&&(r.prototype=e.prototype),r}},function(t,n){t.exports=function(t,n,r){var e=void 0===r;switch(n.length){case 0:return e?t():t.call(r);case 1:return e?t(n[0]):t.call(r,n[0]);case 2:return e?t(n[0],n[1]):t.call(r,n[0],n[1]);case 3:return e?t(n[0],n[1],n[2]):t.call(r,n[0],n[1],n[2]);case 4:return e?t(n[0],n[1],n[2],n[3]):t.call(r,n[0],n[1],n[2],n[3])}return t.apply(r,n)}},function(t,n,r){var e=r(1).parseInt,i=r(39).trim,o=r(66),u=/^[-+]?0[xX]/;t.exports=8!==e(o+"08")||22!==e(o+"0x16")?function(t,n){var r=i(String(t),3);return e(r,n>>>0||(u.test(r)?16:10))}:e},function(t,n,r){var e=r(1).parseFloat,i=r(39).trim;t.exports=1/e(r(66)+"-0")!=-1/0?function(t){var n=i(String(t),3),r=e(n);return 0===r&&"-"==n.charAt(0)?-0:r}:e},function(t,n,r){var e=r(23);t.exports=function(t,n){if("number"!=typeof t&&"Number"!=e(t))throw TypeError(n);return+t}},function(t,n,r){var e=r(4),i=Math.floor;t.exports=function(t){return!e(t)&&isFinite(t)&&i(t)===t}},function(t,n){t.exports=Math.log1p||function(t){return-1e-8<(t=+t)&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,n,r){"use strict";var e=r(33),i=r(28),o=r(38),u={};r(14)(u,r(5)("iterator"),function(){return this}),t.exports=function(t,n,r){t.prototype=e(u,{next:i(1,r)}),o(t,n+" Iterator")}},function(t,n,r){var o=r(3);t.exports=function(n,t,r,e){try{return e?t(o(r)[0],r[1]):t(r)}catch(t){var i=n.return;throw void 0!==i&&o(i.call(n)),t}}},function(t,n,r){var e=r(220);t.exports=function(t,n){return new(e(t))(n)}},function(t,n,r){var s=r(18),l=r(10),p=r(44),h=r(6);t.exports=function(t,n,r,e,i){s(n);var o=l(t),u=p(o),c=h(o.length),a=i?c-1:0,f=i?-1:1;if(r<2)for(;;){if(a in u){e=u[a],a+=f;break}if(a+=f,i?a<0:c<=a)throw TypeError("Reduce of empty array with no initial value")}for(;i?0<=a:a<c;a+=f)a in u&&(e=n(e,u[a],a,o));return e}},function(t,n,r){"use strict";var s=r(10),l=r(32),p=r(6);t.exports=[].copyWithin||function(t,n,r){var e=s(this),i=p(e.length),o=l(t,i),u=l(n,i),c=2<arguments.length?r:void 0,a=Math.min((void 0===c?i:l(c,i))-u,i-o),f=1;for(u<o&&o<u+a&&(f=-1,u+=a-1,o+=a-1);0<a--;)u in e?e[o]=e[u]:delete e[o],o+=f,u+=f;return e}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,r){"use strict";var e=r(81);r(0)({target:"RegExp",proto:!0,forced:e!==/./.exec},{exec:e})},function(t,n,r){r(8)&&"g"!=/./g.flags&&r(9).f(RegExp.prototype,"flags",{configurable:!0,get:r(53)})},function(t,n,r){"use strict";function e(){}function l(t){var n;return!(!g(t)||"function"!=typeof(n=t.then))&&n}function i(s,r){if(!s._n){s._n=!0;var e=s._c;S(function(){for(var a=s._v,f=1==s._s,t=0,n=function(t){var n,r,e,i=f?t.ok:t.fail,o=t.resolve,u=t.reject,c=t.domain;try{i?(f||(2==s._h&&Q(s),s._h=1),!0===i?n=a:(c&&c.enter(),n=i(a),c&&(c.exit(),e=!0)),n===t.promise?u(M("Promise-chain cycle")):(r=l(n))?r.call(n,o,u):o(n)):u(a)}catch(t){c&&!e&&c.exit(),u(t)}};e.length>t;)n(e[t++]);s._c=[],s._n=!1,r&&!s._h&&R(s)})}}function o(t){var n=this;n._d||(n._d=!0,(n=n._w||n)._v=t,n._s=2,n._a||(n._a=n._c.slice()),i(n,!0))}function u(t){var r,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw M("Promise can't be resolved itself");(r=l(t))?S(function(){var n={_w:e,_d:!1};try{r.call(t,v(u,n,1),v(o,n,1))}catch(t){o.call(n,t)}}):(e._v=t,e._s=1,i(e,!1))}catch(t){o.call({_w:e,_d:!1},t)}}}var c,a,f,s,p=r(30),h=r(1),v=r(17),d=r(46),y=r(0),g=r(4),m=r(18),_=r(42),b=r(56),w=r(47),x=r(83).set,S=r(240)(),E=r(113),j=r(241),O=r(57),F=r(114),P="Promise",M=h.TypeError,$=h.process,A=$&&$.versions,I=A&&A.v8||"",N=h[P],T="process"==d($),L=a=E.f,k=!!function(){try{var t=N.resolve(1),n=(t.constructor={})[r(5)("species")]=function(t){t(e,e)};return(T||"function"==typeof PromiseRejectionEvent)&&t.then(e)instanceof n&&0!==I.indexOf("6.6")&&-1===O.indexOf("Chrome/66")}catch(t){}}(),R=function(o){x.call(h,function(){var t,n,r,e=o._v,i=C(o);if(i&&(t=j(function(){T?$.emit("unhandledRejection",e,o):(n=h.onunhandledrejection)?n({promise:o,reason:e}):(r=h.console)&&r.error&&r.error("Unhandled promise rejection",e)}),o._h=T||C(o)?2:1),o._a=void 0,i&&t.e)throw t.v})},C=function(t){return 1!==t._h&&0===(t._a||t._c).length},Q=function(n){x.call(h,function(){var t;T?$.emit("rejectionHandled",n):(t=h.onrejectionhandled)&&t({promise:n,reason:n._v})})};k||(N=function(t){_(this,N,P,"_h"),m(t),c.call(this);try{t(v(u,this,1),v(o,this,1))}catch(t){o.call(this,t)}},(c=function(){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(43)(N.prototype,{then:function(t,n){var r=L(w(this,N));return r.ok="function"!=typeof t||t,r.fail="function"==typeof n&&n,r.domain=T?$.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&i(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),f=function(){var t=new c;this.promise=t,this.resolve=v(u,t,1),this.reject=v(o,t,1)},E.f=L=function(t){return t===N||t===s?new f(t):a(t)}),y(y.G+y.W+y.F*!k,{Promise:N}),r(38)(N,P),r(41)(P),s=r(7)[P],y(y.S+y.F*!k,P,{reject:function(t){var n=L(this);return(0,n.reject)(t),n.promise}}),y(y.S+y.F*(p||!k),P,{resolve:function(t){return F(p&&this===s?N:this,t)}}),y(y.S+y.F*!(k&&r(52)(function(t){N.all(t).catch(e)})),P,{all:function(t){var u=this,n=L(u),c=n.resolve,a=n.reject,r=j(function(){var e=[],i=0,o=1;b(t,!1,function(t){var n=i++,r=!1;e.push(void 0),o++,u.resolve(t).then(function(t){r||(r=!0,e[n]=t,--o||c(e))},a)}),--o||c(e)});return r.e&&a(r.v),n.promise},race:function(t){var n=this,r=L(n),e=r.reject,i=j(function(){b(t,!1,function(t){n.resolve(t).then(r.resolve,e)})});return i.e&&e(i.v),r.promise}})},function(t,n,r){"use strict";var i=r(18);function e(t){var r,e;this.promise=new t(function(t,n){if(void 0!==r||void 0!==e)throw TypeError("Bad Promise constructor");r=t,e=n}),this.resolve=i(r),this.reject=i(e)}t.exports.f=function(t){return new e(t)}},function(t,n,r){var e=r(3),i=r(4),o=r(113);t.exports=function(t,n){if(e(t),i(n)&&n.constructor===t)return n;var r=o.f(t);return(0,r.resolve)(n),r.promise}},function(t,n,r){"use strict";function u(t,n){var r,e=v(n);if("F"!==e)return t._i[e];for(r=t._f;r;r=r.n)if(r.k==n)return r}var c=r(9).f,a=r(33),f=r(43),s=r(17),l=r(42),p=r(56),e=r(72),i=r(109),o=r(41),h=r(8),v=r(27).fastKey,d=r(37),y=h?"_s":"size";t.exports={getConstructor:function(t,o,r,e){var i=t(function(t,n){l(t,i,o,"_i"),t._t=o,t._i=a(null),t._f=void 0,t._l=void 0,t[y]=0,null!=n&&p(n,r,t[e],t)});return f(i.prototype,{clear:function(){for(var t=d(this,o),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[y]=0},delete:function(t){var n=d(this,o),r=u(n,t);if(r){var e=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=e),e&&(e.p=i),n._f==r&&(n._f=e),n._l==r&&(n._l=i),n[y]--}return!!r},forEach:function(t,n){d(this,o);for(var r,e=s(t,1<arguments.length?n:void 0,3);r=r?r.n:this._f;)for(e(r.v,r.k,this);r&&r.r;)r=r.p},has:function(t){return!!u(d(this,o),t)}}),h&&c(i.prototype,"size",{get:function(){return d(this,o)[y]}}),i},def:function(t,n,r){var e,i,o=u(t,n);return o?o.v=r:(t._l=o={i:i=v(n,!0),k:n,v:r,p:e=t._l,n:void 0,r:!1},t._f||(t._f=o),e&&(e.n=o),t[y]++,"F"!==i&&(t._i[i]=o)),t},getEntry:u,setStrong:function(t,r,n){e(t,r,function(t,n){this._t=d(t,r),this._k=n,this._l=void 0},function(){for(var t=this,n=t._k,r=t._l;r&&r.r;)r=r.p;return t._t&&(t._l=r=r?r.n:t._t._f)?i(0,"keys"==n?r.k:"values"==n?r.v:[r.k,r.v]):(t._t=void 0,i(1))},n?"entries":"values",!n,!0),o(r)}}},function(t,n,r){"use strict";function u(t){return t._l||(t._l=new g)}function e(t,n){return v(t.a,function(t){return t[0]===n})}var c=r(43),a=r(27).getWeak,i=r(3),f=r(4),s=r(42),l=r(56),o=r(22),p=r(13),h=r(37),v=o(5),d=o(6),y=0,g=function(){this.a=[]};g.prototype={get:function(t){var n=e(this,t);if(n)return n[1]},has:function(t){return!!e(this,t)},set:function(t,n){var r=e(this,t);r?r[1]=n:this.a.push([t,n])},delete:function(n){var t=d(this.a,function(t){return t[0]===n});return~t&&this.a.splice(t,1),!!~t}},t.exports={getConstructor:function(t,r,e,i){var o=t(function(t,n){s(t,o,r,"_i"),t._t=r,t._i=y++,t._l=void 0,null!=n&&l(n,e,t[i],t)});return c(o.prototype,{delete:function(t){if(!f(t))return!1;var n=a(t);return!0===n?u(h(this,r)).delete(t):n&&p(n,this._i)&&delete n[this._i]},has:function(t){if(!f(t))return!1;var n=a(t);return!0===n?u(h(this,r)).has(t):n&&p(n,this._i)}}),o},def:function(t,n,r){var e=a(i(n),!0);return!0===e?u(t).set(n,r):e[t._i]=r,t},ufstore:u}},function(t,n,r){var e=r(19),i=r(6);t.exports=function(t){if(void 0===t)return 0;var n=e(t),r=i(n);if(n!==r)throw RangeError("Wrong length!");return r}},function(t,n,r){var e=r(34),i=r(50),o=r(3),u=r(1).Reflect;t.exports=u&&u.ownKeys||function(t){var n=e.f(o(t)),r=i.f;return r?n.concat(r(t)):n}},function(t,n,r){var s=r(6),l=r(68),p=r(24);t.exports=function(t,n,r,e){var i=String(p(t)),o=i.length,u=void 0===r?" ":String(r),c=s(n);if(c<=o||""==u)return i;var a=c-o,f=l.call(u,Math.ceil(a/u.length));return f.length>a&&(f=f.slice(0,a)),e?f+i:i+f}},function(t,n,r){var a=r(8),f=r(31),s=r(15),l=r(45).f;t.exports=function(c){return function(t){for(var n,r=s(t),e=f(r),i=e.length,o=0,u=[];o<i;)n=e[o++],a&&!l.call(r,n)||u.push(c?[n,r[n]]:r[n]);return u}}},function(t,n){var r=t.exports={version:"2.6.10"};"number"==typeof __e&&(__e=r)},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){function a(t,n,r,e,i,o,u){try{var c=t[o](u),a=c.value}catch(t){return void r(t)}c.done?n(a):Promise.resolve(a).then(e,i)}t.exports=function(c){return function(){var t=this,u=arguments;return new Promise(function(n,r){var e=c.apply(t,u);function i(t){a(e,n,r,i,o,"next",t)}function o(t){a(e,n,r,i,o,"throw",t)}i(void 0)})}}},function(t,n,r){"use strict";r.r(n);var e,i=r(88),o=r.n(i),u=r(123),c=r.n(u),f=(r(126),0),s={height:"show",marginTop:"show",marginBottom:"show",paddingTop:"show",paddingBottom:"show"},l={height:"hide",marginTop:"hide",marginBottom:"hide",paddingTop:"hide",paddingBottom:"hide"},a="input.wpcf7cf paste.wpcf7cf change.wpcf7cf click.wpcf7cf propertychange.wpcf7cf",p=[];String.prototype.endsWith||(String.prototype.endsWith=function(t,n){return(void 0===n||n>this.length)&&(n=this.length),this.substring(n-t.length,n)===t});function h(t){var n=t.find('input[name="_wpcf7cf_options"]').eq(0);if(!n.length||!n.val())return!1;var r=this,e=JSON.parse(n.val());r.$form=t,r.$input_hidden_group_fields=t.find('[name="_wpcf7cf_hidden_group_fields"]'),r.$input_hidden_groups=t.find('[name="_wpcf7cf_hidden_groups"]'),r.$input_visible_groups=t.find('[name="_wpcf7cf_visible_groups"]'),r.$input_repeaters=t.find('[name="_wpcf7cf_repeaters"]'),r.$input_steps=t.find('[name="_wpcf7cf_steps"]'),r.unit_tag=t.closest(".wpcf7").attr("id"),r.conditions=e.conditions;for(var i=0;i<r.conditions.length;i++){var o=r.conditions[i];"and_rules"in o||(o.and_rules=[{if_field:o.if_field,if_value:o.if_value,operator:o.operator}])}r.initial_conditions=r.conditions,r.settings=e.settings,r.$groups=jQuery(),r.repeaters=[],r.multistep=null,r.fields=[],r.settings.animation_intime=parseInt(r.settings.animation_intime),r.settings.animation_outtime=parseInt(r.settings.animation_outtime),"no"===r.settings.animation&&(r.settings.animation_intime=0,r.settings.animation_outtime=0),r.updateGroups(),r.updateEventListeners(),r.displayFields(),r.$form.on("reset",r,function(t){var n=t.data;setTimeout(function(){n.displayFields()},200)}),jQuery(".wpcf7cf_repeater:not(.wpcf7cf_repeater .wpcf7cf_repeater)",t).each(function(){r.repeaters.push(new v(jQuery(this),r))}),r.$input_repeaters.val(JSON.stringify(r.repeaters.map(function(t){return t.params.$repeater.id})));var u=jQuery(".wpcf7cf_multistep");u.length&&(r.multistep=new d(u,r))}function v(t,n){jQuery;var r=n.settings;this.form=n,t.num_subs=0,t.id=t.data("id"),t.min=void 0!==t.data("min")?parseInt(t.data("min")):1,t.max=void 0!==t.data("max")?parseInt(t.data("max")):200,t.initial_subs=void 0!==t.data("initial")?parseInt(t.data("initial")):t.min,t.initial_subs>t.max&&(t.initial_subs=t.max);var e=t.children(".wpcf7cf_repeater_sub").eq(0),i=t.children(".wpcf7cf_repeater_controls").eq(0),o=e.clone();o.find(".wpcf7cf_repeater_sub").addBack(".wpcf7cf_repeater_sub").each(function(){$this=jQuery(this);var t=$this.attr("data-repeater_sub_suffix")+"__{{repeater_sub_suffix}}";$this.attr("data-repeater_sub_suffix",t)}),o.find("[name]").each(function(){$this=jQuery(this);var t=$this.attr("name"),n=null!=$this.attr("data-orig_name")?$this.attr("data-orig_name"):t,r=t+"__{{repeater_sub_suffix}}";t.endsWith("_count")&&(r=t.replace("_count","__{{repeater_sub_suffix}}_count")),$this.attr("name",r),$this.attr("data-orig_name",n),$this.closest(".wpcf7-form-control-wrap").addClass(r)}),o.find('.wpcf7cf_repeater,[data-class="wpcf7cf_group"]').each(function(){$this=jQuery(this);var t=$this.attr("data-id"),n=null!=$this.attr("data-orig_data_id")?$this.attr("data-orig_data_id"):t,r=t+"__{{repeater_sub_suffix}}";t.endsWith("_count")&&(r=t.replace("_count","__{{repeater_sub_suffix}}_count")),$this.attr("data-id",r),$this.attr("data-orig_data_id",n),$this.closest(".wpcf7-form-control-wrap").addClass(r)}),o.find("[id]").each(function(){$this=jQuery(this);var t=$this.attr("id"),n=null!=$this.attr("data-orig_id")?$this.attr("data-orig_id"):t,r=t+"__{{repeater_sub_suffix}}";$this.attr("id",r),$this.attr("data-orig_id",n),$this.closest(".wpcf7-form-control-wrap").addClass(r)});var u=o[0].outerHTML;$repeater_count_field=t.find("[name="+t.id+"_count]").eq(0),$button_add=i.find(".wpcf7cf_add").eq(0),$button_remove=i.find(".wpcf7cf_remove").eq(0);var c={$repeater:t,$repeater_count_field:$repeater_count_field,repeater_sub_html:u,$repeater_controls:i,$button_add:$button_add,$button_remove:$button_remove,wpcf7cf_settings:r};this.params=c,$button_add.click(this,function(t){t.data.updateSubs(c.$repeater.num_subs+1)}),$button_remove.click(this,function(t){t.data.updateSubs(c.$repeater.num_subs-1)}),jQuery("> .wpcf7cf_repeater_sub",c.$repeater).eq(0).remove(),this.updateSubs(t.initial_subs)}function d(t,n){var r=this;r.$multistep=t,r.form=n,r.$steps=t.find(".wpcf7cf_step"),r.$btn_next=t.find(".wpcf7cf_next"),r.$btn_prev=t.find(".wpcf7cf_prev"),r.$dots=t.find(".wpcf7cf_steps-dots"),r.current_step=0,r.numSteps=r.$steps.length,r.$dots.html("");for(var e=1;e<=r.numSteps;e++)r.$dots.append('\n <div class="dot" data-step="'.concat(e,'">\n <div class="step-index">').concat(e,'</div>\n <div class="step-title">').concat(r.$steps.eq(e-1).data("title"),"</div>\n </div>\n "));r.$btn_next.on("click",c()(o.a.mark(function t(){var n;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.validateStep(r.current_step);case 2:n=t.sent,console.log("got this result: "+n),"success"===n&&r.moveToStep(r.current_step+1);case 5:case"end":return t.stop()}},t)}))),r.$btn_prev.click(function(){r.moveToStep(r.current_step-1)}),r.moveToStep(1)}h.prototype.displayFields=function(){var t=this;y.get_simplified_dom_model(t.$form);this.unit_tag;var n=this.conditions,r=this.settings;if(0===f&&"undefined"!=typeof signatures&&signatures.constructor===Array&&0<signatures.length)for(var e=0;e<signatures.length;e++)if(0===signatures[e].canvas.width){var i=jQuery(".wpcf7-form-control-signature-body>canvas"),o=jQuery(".wpcf7-form-control-signature-wrap");i.eq(e).attr("width",o.width()),i.eq(e).attr("height",o.height()),f=1}t.$groups.addClass("wpcf7cf-hidden");for(e=0;e<n.length;e++){var u=n[e];y.should_group_be_shown(u,t.$form)&&jQuery("[data-id="+u.then_field+"]",t.$form).eq(0).removeClass("wpcf7cf-hidden")}var c=r.animation_intime,a=r.animation_outtime;t.$groups.each(function(t){var n=jQuery(this);n.is(":animated")&&n.finish(),"none"!==n.css("display")||n.hasClass("wpcf7cf-hidden")?"none"!==n.css("display")&&n.hasClass("wpcf7cf-hidden")&&(void 0!==n.attr("data-clear_on_hide")&&($inputs=jQuery(":input",n).not(":button, :submit, :reset, :hidden"),$inputs.each(function(){$this=jQuery(this),$this.val(this.defaultValue),$this.prop("checked",this.defaultChecked)}),$inputs.change()),"SPAN"===n.prop("tagName")?n.hide().trigger("wpcf7cf_hide_group"):n.animate(l,a).trigger("wpcf7cf_hide_group")):"SPAN"===n.prop("tagName")?n.show().trigger("wpcf7cf_show_group"):n.animate(s,c).trigger("wpcf7cf_show_group")}),t.updateHiddenFields()},h.prototype.updateHiddenFields=function(){var t=this,n=[],r=[],e=[];return t.$groups.each(function(){var t=jQuery(this);t.hasClass("wpcf7cf-hidden")?(r.push(t.data("id")),t.find("input,select,textarea").each(function(){n.push(jQuery(this).attr("name"))})):e.push(t.data("id"))}),t.hidden_fields=n,t.hidden_groups=r,t.visible_groups=e,t.$input_hidden_group_fields.val(JSON.stringify(n)),t.$input_hidden_groups.val(JSON.stringify(r)),t.$input_visible_groups.val(JSON.stringify(e)),!0},h.prototype.updateGroups=function(){var t=this;t.$groups=t.$form.find('[data-class="wpcf7cf_group"]'),t.conditions=y.get_nested_conditions(t.initial_conditions,t.$form)},h.prototype.updateEventListeners=function(){jQuery("input, select, textarea, button",this.$form).not(".wpcf7cf_add, .wpcf7cf_remove").off(a).on(a,this,function(t){var n=t.data;clearTimeout(e),e=setTimeout(function(){n.displayFields()},100)}),jQuery(".wpcf7cf-togglebutton",this.$form).off("click.toggle_wpcf7cf").on("click.toggle_wpcf7cf",function(){$this=jQuery(this),$this.text()===$this.data("val-1")?($this.text($this.data("val-2")),$this.val($this.data("val-2"))):($this.text($this.data("val-1")),$this.val($this.data("val-1")))})},v.prototype.updateSubs=function(t){var n=this.params,r=t-n.$repeater.num_subs;r<0?this.removeSubs(-r):0<r&&this.addSubs(r);var e=!1,i=!1;n.$repeater.num_subs<n.$repeater.max&&(i=!0),n.$repeater.num_subs>n.$repeater.min&&(e=!0),i?n.$button_add.show():n.$button_add.hide(),e?n.$button_remove.show():n.$button_remove.hide(),n.$repeater_count_field.val(t)},v.prototype.addSubs=function(t){jQuery;for(var n=this.params,r=this.form,e=n.$repeater,i=n.$repeater_controls,o="",u=1;u<=t;u++){var c=e.num_subs+u;o+=n.repeater_sub_html.replace(/\{\{repeater_sub_suffix\}\}/g,c)}return $html=jQuery(o),$html.hide().insertBefore(i).animate(s,n.wpcf7cf_settings.animation_intime),jQuery(".wpcf7cf_repeater",$html).each(function(){r.repeaters.push(new v(jQuery(this),r))}),r.$input_repeaters.val(JSON.stringify(r.repeaters.map(function(t){return t.params.$repeater.id}))),e.num_subs+=t,y.updateMultistepState(r.multistep),r.updateGroups(),r.updateEventListeners(),r.displayFields(),!1},v.prototype.removeSubs=function(t){jQuery;var n=this.params,r=this.form;return n.$repeater.num_subs-=t,jQuery("> .wpcf7cf_repeater_sub",n.$repeater).slice(-t).animate(l,{duration:n.wpcf7cf_settings.animation_intime,done:function(){jQuery(this).remove(),y.updateMultistepState(r.multistep),r.updateGroups(),r.updateEventListeners(),r.displayFields()}}),!1},d.prototype.validateStep=function(t){var u=this;return new Promise(function(n){var t=u,e=t.$multistep,i=t.form.$form,r=new FormData,o=i.serializeArray();jQuery.each(o,function(t,n){r.append(n.name,n.value)}),jQuery.ajax({url:wpcf7cf_global_settings.ajaxurl+"?action=wpcf7cf_validate_step",type:"POST",data:r,processData:!1,contentType:!1,dataType:"json"}).done(function(t){if(void 0!==t._cf7mls_db_form_data_id&&(form.find('input[name="_cf7mls_db_form_data_id"]').length||form.append('<input type="hidden" name="_cf7mls_db_form_data_id" value="'+t._cf7mls_db_form_data_id+'" />')),e.find(".wpcf7-form-control-wrap").removeClass("cf7mls-invalid"),e.find(".wpcf7-form-control-wrap .wpcf7-not-valid-tip").remove(),e.find(".wpcf7-response-output").remove(),e.find(".wpcf7-response-output.wpcf7-validation-errors").removeClass("wpcf7-validation-errors"),t.success){if(t.success)return n("success"),!1}else{jQuery.each(t.invalid_fields,function(t,n){if(e.find('input[name="'+t+'"]').length||e.find('input[name="'+t+'[]"]').length||e.find('select[name="'+t+'"]').length||e.find('select[name="'+t+'[]"]').length||e.find('textarea[name="'+t+'"]').length||e.find('textarea[name="'+t+'[]"]').length){1;var r=jQuery(".wpcf7-form-control-wrap."+t,i);r.addClass("cf7mls-invalid"),r.find("span.wpcf7-not-valid-tip").remove(),r.append('<span role="alert" class="wpcf7-not-valid-tip">'+n.reason+"</span>")}}),n("failed"),e.append('<div class="wpcf7-response-output wpcf7-display-none wpcf7-validation-errors" style="display: block;" role="alert">'+t.message+"</div>")}}).fail(function(){n("error")}).always(function(){})})},d.prototype.moveToStep=function(t){var n=this;n.current_step=t>n.numSteps?n.numSteps:t<1?1:t,n.$steps.hide(),n.$steps.eq(n.current_step-1).show(),y.updateMultistepState(n)},d.prototype.getFieldsInStep=function(r){var t=y.get_simplified_dom_model(this.form.$form),e=!1;return t.filter(function(t,n){return"step"==t.type&&(e=t.step==r+""),e&&"input"==t.type}).map(function(t){return t.name})};var y={initForm:function(t){p.push(new h(t))},get_nested_conditions:function(t,n){for(var r=y.get_simplified_dom_model(n).filter(function(t,n){return"group"===t.type}),e=[],i=0;i<r.length;i++){var o=r[i],u=(u=t.filter(function(t,n){return t.then_field===o.original_name})).map(function(t,n){return{then_field:o.name,and_rules:t.and_rules.map(function(t,n){return{if_field:t.if_field+o.suffix,if_value:t.if_value,operator:t.operator}})}});e=e.concat(u)}return t.concat(e)},get_simplified_dom_model:function(t){for(var n,r=document.createNodeIterator(t[0],NodeFilter.SHOW_ELEMENT,null,!1),e=[];n=r.nextNode();)n.classList.contains("wpcf7cf_repeater")?e.push({type:"repeater",name:n.dataset.id,original_name:n.dataset.orig_data_id}):"wpcf7cf_group"==n.dataset.class?e.push({type:"group",name:n.dataset.id,original_name:n.dataset.orig_data_id}):"wpcf7cf_step"==n.className?e.push({type:"step",name:n.dataset.id,original_name:n.dataset.id,step:n.dataset.id.substring(5)}):n.hasAttribute("name")&&e.push({type:"input",name:n.getAttribute("name"),original_name:n.getAttribute("data-orig_name")});return e=e.map(function(t,n){var r=null==t.original_name?t.name.length:t.original_name.length;return t.suffix=t.name.substring(r),t})},updateMultistepState:function(t){if(null!=t){var n={currentStep:t.current_step,numSteps:t.numSteps,fieldsInCurrentStep:t.getFieldsInStep(t.current_step)};t.form.$input_steps.val(JSON.stringify(n)),t.$btn_prev.removeClass("disabled"),t.$btn_next.removeClass("disabled"),t.current_step==t.numSteps&&t.$btn_next.addClass("disabled"),1==t.current_step&&t.$btn_prev.addClass("disabled");var r=jQuery('input[type="submit"]',t.$form).eq(0);if(t.current_step==t.numSteps){var e=r.clone();r.hide(),t.$btn_next.hide(),t.$btn_next.parent().append(e)}else t.$btn_next.parent().find("input[type=submit]").remove(),r.show(),t.$btn_next.show();var i=t.$dots.find(".dot");i.removeClass("active").removeClass("completed");for(var o=1;o<=t.numSteps;o++)o<t.current_step?i.eq(o-1).addClass("completed"):o==t.current_step&&i.eq(o-1).addClass("active")}},should_group_be_shown:function(t,n){jQuery;for(var r=!0,e=0;e<t.and_rules.length;e++){var i=!1,o=t.and_rules[e],u=jQuery('[name="'+o.if_field+'"], [name="'+o.if_field+'[]"], [data-original-name="'+o.if_field+'"], [data-original-name="'+o.if_field+'[]"]',n),c=o.if_value,a=isFinite(parseFloat(c))?parseFloat(c):0,f=o.operator,s=new RegExp(c,"i");if(1===u.length){u.is("select")&&("not equals"===f&&(i=!0),u.find("option:selected").each(function(){var t=jQuery(this),n=t.val();if("equals"===f&&n===c||"equals (regex)"===f&&s.test(t.val()))i=!0;else if("not equals"===f&&n===c||"not equals (regex)"===f&&!s.test(t.val()))return i=!1}),r=r&&i);var l=u.val(),p=isFinite(parseFloat(l))?parseFloat(l):0;if("checkbox"===u.attr("type")){var h=u.is(":checked");("equals"===f&&h&&l===c||"not equals"===f&&!h||"is empty"===f&&!h||"not empty"===f&&h||">"===f&&h&&a<p||"<"===f&&h&&p<a||"≥"===f&&h&&a<=p||"≤"===f&&h&&p<=a||"equals (regex)"===f&&h&&s.test(l)||"not equals (regex)"===f&&!h)&&(i=!0)}else("equals"===f&&l===c||"not equals"===f&&l!==c||"equals (regex)"===f&&s.test(l)||"not equals (regex)"===f&&!s.test(l)||">"===f&&a<p||"<"===f&&p<a||"≥"===f&&a<=p||"≤"===f&&p<=a||"is empty"===f&&""===l||"not empty"===f&&""!==l||"function"===f&&"function"==typeof window[c]&&window[c](u))&&(i=!0)}else if(1<u.length){var v=[],d=[];u.each(function(){v.push(jQuery(this).val()),jQuery(this).is(":checked")&&d.push(jQuery(this).val())});jQuery.inArray(c,d),jQuery.inArray(c,v);("is empty"===f&&0===d.length||"not empty"===f&&0<d.length)&&(i=!0);for(var y=0;y<d.length;y++){var g=d[y],m=isFinite(parseFloat(g))?parseFloat(g):0;("equals"===f&&g===c||"not equals"===f&&g!==c||"equals (regex)"===f&&s.test(g)||"not equals (regex)"===f&&!s.test(g)||">"===f&&a<m||"<"===f&&m<a||"≥"===f&&a<=m||"≤"===f&&m<=a)&&(i=!0)}}r=r&&i}return r}};jQuery(".wpcf7-form").each(function(){p.push(new h(jQuery(this)))}),jQuery("document").ready(function(){p.forEach(function(t){t.displayFields()})});jQuery.fn.wpcf7ExclusiveCheckbox;jQuery.fn.wpcf7ExclusiveCheckbox=function(){return this.find("input:checkbox").click(function(){var t=jQuery(this).attr("name");jQuery(this).closest("form").find('input:checkbox[name="'+t+'"]').not(this).prop("checked",!1).eq(0).change()})}},function(t,n){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,n,r){"use strict";r(127);var e,i=(e=r(298))&&e.__esModule?e:{default:e};i.default._babelPolyfill&&"undefined"!=typeof console&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),i.default._babelPolyfill=!0},function(t,n,r){"use strict";r(128),r(271),r(273),r(276),r(278),r(280),r(282),r(284),r(286),r(288),r(290),r(292),r(294),r(89)},function(t,n,r){r(129),r(132),r(133),r(134),r(135),r(136),r(137),r(138),r(139),r(140),r(141),r(142),r(143),r(144),r(145),r(146),r(147),r(148),r(149),r(150),r(151),r(152),r(153),r(154),r(155),r(156),r(157),r(158),r(159),r(160),r(161),r(162),r(163),r(164),r(165),r(166),r(167),r(168),r(169),r(170),r(171),r(172),r(173),r(175),r(176),r(177),r(178),r(179),r(180),r(181),r(182),r(183),r(184),r(185),r(186),r(187),r(188),r(189),r(190),r(191),r(192),r(193),r(194),r(195),r(196),r(197),r(198),r(199),r(200),r(201),r(202),r(203),r(204),r(205),r(206),r(207),r(208),r(210),r(211),r(213),r(214),r(215),r(216),r(217),r(218),r(219),r(221),r(222),r(223),r(224),r(225),r(226),r(227),r(228),r(229),r(230),r(231),r(232),r(233),r(80),r(234),r(110),r(235),r(111),r(236),r(237),r(238),r(239),r(112),r(242),r(243),r(244),r(245),r(246),r(247),r(248),r(249),r(250),r(251),r(252),r(253),r(254),r(255),r(256),r(257),r(258),r(259),r(260),r(261),r(262),r(263),r(264),r(265),r(266),r(267),r(268),r(269),r(270),t.exports=r(7)},function(t,n,r){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t){var n=J[t]=A(D[G]);return n._k=t,n}function o(t,n){j(t);for(var r,e=S(n=P(n)),i=0,o=e.length;i<o;)rt(t,r=e[i++],n[r]);return t}function u(t){var n=B.call(this,t=M(t,!0));return!(this===H&&l(J,t)&&!l(Y,t))&&(!(n||!l(this,t)||!l(J,t)||l(this,U)&&this[U][t])||n)}function c(t,n){if(t=P(t),n=M(n,!0),t!==H||!l(J,n)||l(Y,n)){var r=R(t,n);return!r||!l(J,n)||l(t,U)&&t[U][n]||(r.enumerable=!0),r}}function a(t){for(var n,r=Q(P(t)),e=[],i=0;r.length>i;)l(J,n=r[i++])||n==U||n==d||e.push(n);return e}function f(t){for(var n,r=t===H,e=Q(r?Y:P(t)),i=[],o=0;e.length>o;)!l(J,n=e[o++])||r&&!l(H,n)||i.push(J[n]);return i}var s=r(1),l=r(13),p=r(8),h=r(0),v=r(11),d=r(27).KEY,y=r(2),g=r(48),m=r(38),_=r(29),b=r(5),w=r(61),x=r(91),S=r(131),E=r(51),j=r(3),O=r(4),F=r(10),P=r(15),M=r(26),$=r(28),A=r(33),I=r(94),N=r(20),T=r(50),L=r(9),k=r(31),R=N.f,C=L.f,Q=I.f,D=s.Symbol,q=s.JSON,W=q&&q.stringify,G="prototype",U=b("_hidden"),V=b("toPrimitive"),B={}.propertyIsEnumerable,z=g("symbol-registry"),J=g("symbols"),Y=g("op-symbols"),H=Object[G],K="function"==typeof D&&!!T.f,X=s.QObject,Z=!X||!X[G]||!X[G].findChild,tt=p&&y(function(){return 7!=A(C({},"a",{get:function(){return C(this,"a",{value:7}).a}})).a})?function(t,n,r){var e=R(H,n);e&&delete H[n],C(t,n,r),e&&t!==H&&C(H,n,e)}:C,nt=K&&"symbol"==e(D.iterator)?function(t){return"symbol"==e(t)}:function(t){return t instanceof D},rt=function(t,n,r){return t===H&&rt(Y,n,r),j(t),n=M(n,!0),j(r),l(J,n)?(r.enumerable?(l(t,U)&&t[U][n]&&(t[U][n]=!1),r=A(r,{enumerable:$(0,!1)})):(l(t,U)||C(t,U,$(1,{})),t[U][n]=!0),tt(t,n,r)):C(t,n,r)};K||(v((D=function(t){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var r=_(0<arguments.length?t:void 0);return p&&Z&&tt(H,r,{configurable:!0,set:function t(n){this===H&&t.call(Y,n),l(this,U)&&l(this[U],r)&&(this[U][r]=!1),tt(this,r,$(1,n))}}),i(r)})[G],"toString",function(){return this._k}),N.f=c,L.f=rt,r(34).f=I.f=a,r(45).f=u,T.f=f,p&&!r(30)&&v(H,"propertyIsEnumerable",u,!0),w.f=function(t){return i(b(t))}),h(h.G+h.W+h.F*!K,{Symbol:D});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),it=0;et.length>it;)b(et[it++]);for(var ot=k(b.store),ut=0;ot.length>ut;)x(ot[ut++]);h(h.S+h.F*!K,"Symbol",{for:function(t){return l(z,t+="")?z[t]:z[t]=D(t)},keyFor:function(t){if(!nt(t))throw TypeError(t+" is not a symbol!");for(var n in z)if(z[n]===t)return n},useSetter:function(){Z=!0},useSimple:function(){Z=!1}}),h(h.S+h.F*!K,"Object",{create:function(t,n){return void 0===n?A(t):o(A(t),n)},defineProperty:rt,defineProperties:o,getOwnPropertyDescriptor:c,getOwnPropertyNames:a,getOwnPropertySymbols:f});var ct=y(function(){T.f(1)});h(h.S+h.F*ct,"Object",{getOwnPropertySymbols:function(t){return T.f(F(t))}}),q&&h(h.S+h.F*(!K||y(function(){var t=D();return"[null]"!=W([t])||"{}"!=W({a:t})||"{}"!=W(Object(t))})),"JSON",{stringify:function(t){for(var n,r,e=[t],i=1;i<arguments.length;)e.push(arguments[i++]);if(r=n=e[1],(O(n)||void 0!==t)&&!nt(t))return E(n)||(n=function(t,n){if("function"==typeof r&&(n=r.call(this,t,n)),!nt(n))return n}),e[1]=n,W.apply(q,e)}}),D[G][V]||r(14)(D[G],V,D[G].valueOf),m(D,"Symbol"),m(Math,"Math",!0),m(s.JSON,"JSON",!0)},function(t,n,r){t.exports=r(48)("native-function-to-string",Function.toString)},function(t,n,r){var c=r(31),a=r(50),f=r(45);t.exports=function(t){var n=c(t),r=a.f;if(r)for(var e,i=r(t),o=f.f,u=0;i.length>u;)o.call(t,e=i[u++])&&n.push(e);return n}},function(t,n,r){var e=r(0);e(e.S,"Object",{create:r(33)})},function(t,n,r){var e=r(0);e(e.S+e.F*!r(8),"Object",{defineProperty:r(9).f})},function(t,n,r){var e=r(0);e(e.S+e.F*!r(8),"Object",{defineProperties:r(93)})},function(t,n,r){var e=r(15),i=r(20).f;r(21)("getOwnPropertyDescriptor",function(){return function(t,n){return i(e(t),n)}})},function(t,n,r){var e=r(10),i=r(35);r(21)("getPrototypeOf",function(){return function(t){return i(e(t))}})},function(t,n,r){var e=r(10),i=r(31);r(21)("keys",function(){return function(t){return i(e(t))}})},function(t,n,r){r(21)("getOwnPropertyNames",function(){return r(94).f})},function(t,n,r){var e=r(4),i=r(27).onFreeze;r(21)("freeze",function(n){return function(t){return n&&e(t)?n(i(t)):t}})},function(t,n,r){var e=r(4),i=r(27).onFreeze;r(21)("seal",function(n){return function(t){return n&&e(t)?n(i(t)):t}})},function(t,n,r){var e=r(4),i=r(27).onFreeze;r(21)("preventExtensions",function(n){return function(t){return n&&e(t)?n(i(t)):t}})},function(t,n,r){var e=r(4);r(21)("isFrozen",function(n){return function(t){return!e(t)||!!n&&n(t)}})},function(t,n,r){var e=r(4);r(21)("isSealed",function(n){return function(t){return!e(t)||!!n&&n(t)}})},function(t,n,r){var e=r(4);r(21)("isExtensible",function(n){return function(t){return!!e(t)&&(!n||n(t))}})},function(t,n,r){var e=r(0);e(e.S+e.F,"Object",{assign:r(95)})},function(t,n,r){var e=r(0);e(e.S,"Object",{is:r(96)})},function(t,n,r){var e=r(0);e(e.S,"Object",{setPrototypeOf:r(65).set})},function(t,n,r){"use strict";var e=r(46),i={};i[r(5)("toStringTag")]="z",i+""!="[object z]"&&r(11)(Object.prototype,"toString",function(){return"[object "+e(this)+"]"},!0)},function(t,n,r){var e=r(0);e(e.P,"Function",{bind:r(97)})},function(t,n,r){var e=r(9).f,i=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in i||r(8)&&e(i,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},function(t,n,r){"use strict";var e=r(4),i=r(35),o=r(5)("hasInstance"),u=Function.prototype;o in u||r(9).f(u,o,{value:function(t){if("function"!=typeof this||!e(t))return!1;if(!e(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},function(t,n,r){var e=r(0),i=r(99);e(e.G+e.F*(parseInt!=i),{parseInt:i})},function(t,n,r){var e=r(0),i=r(100);e(e.G+e.F*(parseFloat!=i),{parseFloat:i})},function(t,n,r){"use strict";function e(t){var n=s(t,!1);if("string"==typeof n&&2<n.length){var r,e,i,o=(n=_?n.trim():h(n,3)).charCodeAt(0);if(43===o||45===o){if(88===(r=n.charCodeAt(2))||120===r)return NaN}else if(48===o){switch(n.charCodeAt(1)){case 66:case 98:e=2,i=49;break;case 79:case 111:e=8,i=55;break;default:return+n}for(var u,c=n.slice(2),a=0,f=c.length;a<f;a++)if((u=c.charCodeAt(a))<48||i<u)return NaN;return parseInt(c,e)}}return+n}var i=r(1),o=r(13),u=r(23),c=r(67),s=r(26),a=r(2),f=r(34).f,l=r(20).f,p=r(9).f,h=r(39).trim,v="Number",d=i[v],y=d,g=d.prototype,m=u(r(33)(g))==v,_="trim"in String.prototype;if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(t){var n=arguments.length<1?0:t,r=this;return r instanceof d&&(m?a(function(){g.valueOf.call(r)}):u(r)!=v)?c(new y(e(n)),r,d):e(n)};for(var b,w=r(8)?f(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;w.length>x;x++)o(y,b=w[x])&&!o(d,b)&&p(d,b,l(y,b));(d.prototype=g).constructor=d,r(11)(i,v,d)}},function(t,n,r){"use strict";function f(t,n){for(var r=-1,e=n;++r<6;)e+=t*u[r],u[r]=e%1e7,e=o(e/1e7)}function s(t){for(var n=6,r=0;0<=--n;)r+=u[n],u[n]=o(r/t),r=r%t*1e7}function l(){for(var t=6,n="";0<=--t;)if(""!==n||0===t||0!==u[t]){var r=String(u[t]);n=""===n?r:n+d.call("0",7-r.length)+r}return n}function p(t,n,r){return 0===n?r:n%2==1?p(t,n-1,r*t):p(t*t,n/2,r)}var e=r(0),h=r(19),v=r(101),d=r(68),i=1..toFixed,o=Math.floor,u=[0,0,0,0,0,0],y="Number.toFixed: incorrect invocation!";e(e.P+e.F*(!!i&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!r(2)(function(){i.call({})})),"Number",{toFixed:function(t){var n,r,e,i,o=v(this,y),u=h(t),c="",a="0";if(u<0||20<u)throw RangeError(y);if(o!=o)return"NaN";if(o<=-1e21||1e21<=o)return String(o);if(o<0&&(c="-",o=-o),1e-21<o)if(r=(n=function(t){for(var n=0,r=t;4096<=r;)n+=12,r/=4096;for(;2<=r;)n+=1,r/=2;return n}(o*p(2,69,1))-69)<0?o*p(2,-n,1):o/p(2,n,1),r*=4503599627370496,0<(n=52-n)){for(f(0,r),e=u;7<=e;)f(1e7,0),e-=7;for(f(p(10,e,1),0),e=n-1;23<=e;)s(1<<23),e-=23;s(1<<e),f(1,1),s(2),a=l()}else f(0,r),f(1<<-n,0),a=l()+d.call("0",u);return a=0<u?c+((i=a.length)<=u?"0."+d.call("0",u-i)+a:a.slice(0,i-u)+"."+a.slice(i-u)):c+a}})},function(t,n,r){"use strict";var e=r(0),i=r(2),o=r(101),u=1..toPrecision;e(e.P+e.F*(i(function(){return"1"!==u.call(1,void 0)})||!i(function(){u.call({})})),"Number",{toPrecision:function(t){var n=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?u.call(n):u.call(n,t)}})},function(t,n,r){var e=r(0);e(e.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,n,r){var e=r(0),i=r(1).isFinite;e(e.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},function(t,n,r){var e=r(0);e(e.S,"Number",{isInteger:r(102)})},function(t,n,r){var e=r(0);e(e.S,"Number",{isNaN:function(t){return t!=t}})},function(t,n,r){var e=r(0),i=r(102),o=Math.abs;e(e.S,"Number",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},function(t,n,r){var e=r(0);e(e.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,n,r){var e=r(0);e(e.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,n,r){var e=r(0),i=r(100);e(e.S+e.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(t,n,r){var e=r(0),i=r(99);e(e.S+e.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(t,n,r){var e=r(0),i=r(103),o=Math.sqrt,u=Math.acosh;e(e.S+e.F*!(u&&710==Math.floor(u(Number.MAX_VALUE))&&u(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:94906265.62425156<t?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},function(t,n,r){var e=r(0),i=Math.asinh;e(e.S+e.F*!(i&&0<1/i(0)),"Math",{asinh:function t(n){return isFinite(n=+n)&&0!=n?n<0?-t(-n):Math.log(n+Math.sqrt(n*n+1)):n}})},function(t,n,r){var e=r(0),i=Math.atanh;e(e.S+e.F*!(i&&1/i(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,n,r){var e=r(0),i=r(69);e(e.S,"Math",{cbrt:function(t){return i(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,n,r){var e=r(0);e(e.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,n,r){var e=r(0),i=Math.exp;e(e.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},function(t,n,r){var e=r(0),i=r(70);e(e.S+e.F*(i!=Math.expm1),"Math",{expm1:i})},function(t,n,r){var e=r(0);e(e.S,"Math",{fround:r(174)})},function(t,n,r){var o=r(69),e=Math.pow,u=e(2,-52),c=e(2,-23),a=e(2,127)*(2-c),f=e(2,-126);t.exports=Math.fround||function(t){var n,r,e=Math.abs(t),i=o(t);return e<f?i*function(t){return t+1/u-1/u}(e/f/c)*f*c:a<(r=(n=(1+c/u)*e)-(n-e))||r!=r?i*(1/0):i*r}},function(t,n,r){var e=r(0),a=Math.abs;e(e.S,"Math",{hypot:function(t,n){for(var r,e,i=0,o=0,u=arguments.length,c=0;o<u;)c<(r=a(arguments[o++]))?(i=i*(e=c/r)*e+1,c=r):i+=0<r?(e=r/c)*e:r;return c===1/0?1/0:c*Math.sqrt(i)}})},function(t,n,r){var e=r(0),i=Math.imul;e(e.S+e.F*r(2)(function(){return-5!=i(4294967295,5)||2!=i.length}),"Math",{imul:function(t,n){var r=65535,e=+t,i=+n,o=r&e,u=r&i;return 0|o*u+((r&e>>>16)*u+o*(r&i>>>16)<<16>>>0)}})},function(t,n,r){var e=r(0);e(e.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,n,r){var e=r(0);e(e.S,"Math",{log1p:r(103)})},function(t,n,r){var e=r(0);e(e.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,n,r){var e=r(0);e(e.S,"Math",{sign:r(69)})},function(t,n,r){var e=r(0),i=r(70),o=Math.exp;e(e.S+e.F*r(2)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,n,r){var e=r(0),i=r(70),o=Math.exp;e(e.S,"Math",{tanh:function(t){var n=i(t=+t),r=i(-t);return n==1/0?1:r==1/0?-1:(n-r)/(o(t)+o(-t))}})},function(t,n,r){var e=r(0);e(e.S,"Math",{trunc:function(t){return(0<t?Math.floor:Math.ceil)(t)}})},function(t,n,r){var e=r(0),o=r(32),u=String.fromCharCode,i=String.fromCodePoint;e(e.S+e.F*(!!i&&1!=i.length),"String",{fromCodePoint:function(t){for(var n,r=[],e=arguments.length,i=0;i<e;){if(n=+arguments[i++],o(n,1114111)!==n)throw RangeError(n+" is not a valid code point");r.push(n<65536?u(n):u(55296+((n-=65536)>>10),n%1024+56320))}return r.join("")}})},function(t,n,r){var e=r(0),u=r(15),c=r(6);e(e.S,"String",{raw:function(t){for(var n=u(t.raw),r=c(n.length),e=arguments.length,i=[],o=0;o<r;)i.push(String(n[o++])),o<e&&i.push(String(arguments[o]));return i.join("")}})},function(t,n,r){"use strict";r(39)("trim",function(t){return function(){return t(this,3)}})},function(t,n,r){"use strict";var e=r(71)(!0);r(72)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,r=this._i;return r>=n.length?{value:void 0,done:!0}:(t=e(n,r),this._i+=t.length,{value:t,done:!1})})},function(t,n,r){"use strict";var e=r(0),i=r(71)(!1);e(e.P,"String",{codePointAt:function(t){return i(this,t)}})},function(t,n,r){"use strict";var e=r(0),c=r(6),a=r(73),f="endsWith",s=""[f];e(e.P+e.F*r(75)(f),"String",{endsWith:function(t,n){var r=a(this,t,f),e=1<arguments.length?n:void 0,i=c(r.length),o=void 0===e?i:Math.min(c(e),i),u=String(t);return s?s.call(r,u,o):r.slice(o-u.length,o)===u}})},function(t,n,r){"use strict";var e=r(0),i=r(73),o="includes";e(e.P+e.F*r(75)(o),"String",{includes:function(t,n){return!!~i(this,t,o).indexOf(t,1<arguments.length?n:void 0)}})},function(t,n,r){var e=r(0);e(e.P,"String",{repeat:r(68)})},function(t,n,r){"use strict";var e=r(0),o=r(6),u=r(73),c="startsWith",a=""[c];e(e.P+e.F*r(75)(c),"String",{startsWith:function(t,n){var r=u(this,t,c),e=o(Math.min(1<arguments.length?n:void 0,r.length)),i=String(t);return a?a.call(r,i,e):r.slice(e,e+i.length)===i}})},function(t,n,r){"use strict";r(12)("anchor",function(n){return function(t){return n(this,"a","name",t)}})},function(t,n,r){"use strict";r(12)("big",function(t){return function(){return t(this,"big","","")}})},function(t,n,r){"use strict";r(12)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,n,r){"use strict";r(12)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,n,r){"use strict";r(12)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,n,r){"use strict";r(12)("fontcolor",function(n){return function(t){return n(this,"font","color",t)}})},function(t,n,r){"use strict";r(12)("fontsize",function(n){return function(t){return n(this,"font","size",t)}})},function(t,n,r){"use strict";r(12)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,n,r){"use strict";r(12)("link",function(n){return function(t){return n(this,"a","href",t)}})},function(t,n,r){"use strict";r(12)("small",function(t){return function(){return t(this,"small","","")}})},function(t,n,r){"use strict";r(12)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,n,r){"use strict";r(12)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,n,r){"use strict";r(12)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,n,r){var e=r(0);e(e.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,n,r){"use strict";var e=r(0),i=r(10),o=r(26);e(e.P+e.F*r(2)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(){var t=i(this),n=o(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(t,n,r){var e=r(0),i=r(209);e(e.P+e.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},function(t,n,r){"use strict";function i(t){return 9<t?t:"0"+t}var e=r(2),o=Date.prototype.getTime,u=Date.prototype.toISOString;t.exports=e(function(){return"0385-07-25T07:06:39.999Z"!=u.call(new Date(-5e13-1))})||!e(function(){u.call(new Date(NaN))})?function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var t=this,n=t.getUTCFullYear(),r=t.getUTCMilliseconds(),e=n<0?"-":9999<n?"+":"";return e+("00000"+Math.abs(n)).slice(e?-6:-4)+"-"+i(t.getUTCMonth()+1)+"-"+i(t.getUTCDate())+"T"+i(t.getUTCHours())+":"+i(t.getUTCMinutes())+":"+i(t.getUTCSeconds())+"."+(99<r?r:"0"+i(r))+"Z"}:u},function(t,n,r){var e=Date.prototype,i="Invalid Date",o="toString",u=e[o],c=e.getTime;new Date(NaN)+""!=i&&r(11)(e,o,function(){var t=c.call(this);return t==t?u.call(this):i})},function(t,n,r){var e=r(5)("toPrimitive"),i=Date.prototype;e in i||r(14)(i,e,r(212))},function(t,n,r){"use strict";var e=r(3),i=r(26);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return i(e(this),"number"!=t)}},function(t,n,r){var e=r(0);e(e.S,"Array",{isArray:r(51)})},function(t,n,r){"use strict";var v=r(17),e=r(0),d=r(10),y=r(105),g=r(76),m=r(6),_=r(77),b=r(78);e(e.S+e.F*!r(52)(function(t){Array.from(t)}),"Array",{from:function(t,n,r){var e,i,o,u,c=d(t),a="function"==typeof this?this:Array,f=arguments.length,s=1<f?n:void 0,l=void 0!==s,p=0,h=b(c);if(l&&(s=v(s,2<f?r:void 0,2)),null==h||a==Array&&g(h))for(i=new a(e=m(c.length));p<e;p++)_(i,p,l?s(c[p],p):c[p]);else for(u=h.call(c),i=new a;!(o=u.next()).done;p++)_(i,p,l?y(u,s,[o.value,p],!0):o.value);return i.length=p,i}})},function(t,n,r){"use strict";var e=r(0),i=r(77);e(e.S+e.F*r(2)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,n=arguments.length,r=new("function"==typeof this?this:Array)(n);t<n;)i(r,t,arguments[t++]);return r.length=n,r}})},function(t,n,r){"use strict";var e=r(0),i=r(15),o=[].join;e(e.P+e.F*(r(44)!=Object||!r(16)(o)),"Array",{join:function(t){return o.call(i(this),void 0===t?",":t)}})},function(t,n,r){"use strict";var e=r(0),i=r(64),f=r(23),s=r(32),l=r(6),p=[].slice;e(e.P+e.F*r(2)(function(){i&&p.call(i)}),"Array",{slice:function(t,n){var r=l(this.length),e=f(this);if(n=void 0===n?r:n,"Array"==e)return p.call(this,t,n);for(var i=s(t,r),o=s(n,r),u=l(o-i),c=new Array(u),a=0;a<u;a++)c[a]="String"==e?this.charAt(i+a):this[i+a];return c}})},function(t,n,r){"use strict";var e=r(0),i=r(18),o=r(10),u=r(2),c=[].sort,a=[1,2,3];e(e.P+e.F*(u(function(){a.sort(void 0)})||!u(function(){a.sort(null)})||!r(16)(c)),"Array",{sort:function(t){return void 0===t?c.call(o(this)):c.call(o(this),i(t))}})},function(t,n,r){"use strict";var e=r(0),i=r(22)(0),o=r(16)([].forEach,!0);e(e.P+e.F*!o,"Array",{forEach:function(t,n){return i(this,t,n)}})},function(t,n,r){var e=r(4),i=r(51),o=r(5)("species");t.exports=function(t){var n;return i(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!i(n.prototype)||(n=void 0),e(n)&&null===(n=n[o])&&(n=void 0)),void 0===n?Array:n}},function(t,n,r){"use strict";var e=r(0),i=r(22)(1);e(e.P+e.F*!r(16)([].map,!0),"Array",{map:function(t,n){return i(this,t,n)}})},function(t,n,r){"use strict";var e=r(0),i=r(22)(2);e(e.P+e.F*!r(16)([].filter,!0),"Array",{filter:function(t,n){return i(this,t,n)}})},function(t,n,r){"use strict";var e=r(0),i=r(22)(3);e(e.P+e.F*!r(16)([].some,!0),"Array",{some:function(t,n){return i(this,t,n)}})},function(t,n,r){"use strict";var e=r(0),i=r(22)(4);e(e.P+e.F*!r(16)([].every,!0),"Array",{every:function(t,n){return i(this,t,n)}})},function(t,n,r){"use strict";var e=r(0),i=r(107);e(e.P+e.F*!r(16)([].reduce,!0),"Array",{reduce:function(t,n){return i(this,t,arguments.length,n,!1)}})},function(t,n,r){"use strict";var e=r(0),i=r(107);e(e.P+e.F*!r(16)([].reduceRight,!0),"Array",{reduceRight:function(t,n){return i(this,t,arguments.length,n,!0)}})},function(t,n,r){"use strict";var e=r(0),i=r(49)(!1),o=[].indexOf,u=!!o&&1/[1].indexOf(1,-0)<0;e(e.P+e.F*(u||!r(16)(o)),"Array",{indexOf:function(t,n){return u?o.apply(this,arguments)||0:i(this,t,n)}})},function(t,n,r){"use strict";var e=r(0),o=r(15),u=r(19),c=r(6),a=[].lastIndexOf,f=!!a&&1/[1].lastIndexOf(1,-0)<0;e(e.P+e.F*(f||!r(16)(a)),"Array",{lastIndexOf:function(t,n){if(f)return a.apply(this,arguments)||0;var r=o(this),e=c(r.length),i=e-1;for(1<arguments.length&&(i=Math.min(i,u(n))),i<0&&(i=e+i);0<=i;i--)if(i in r&&r[i]===t)return i||0;return-1}})},function(t,n,r){var e=r(0);e(e.P,"Array",{copyWithin:r(108)}),r(36)("copyWithin")},function(t,n,r){var e=r(0);e(e.P,"Array",{fill:r(79)}),r(36)("fill")},function(t,n,r){"use strict";var e=r(0),i=r(22)(5),o="find",u=!0;o in[]&&Array(1)[o](function(){u=!1}),e(e.P+e.F*u,"Array",{find:function(t,n){return i(this,t,1<arguments.length?n:void 0)}}),r(36)(o)},function(t,n,r){"use strict";var e=r(0),i=r(22)(6),o="findIndex",u=!0;o in[]&&Array(1)[o](function(){u=!1}),e(e.P+e.F*u,"Array",{findIndex:function(t,n){return i(this,t,1<arguments.length?n:void 0)}}),r(36)(o)},function(t,n,r){r(41)("Array")},function(t,n,r){var e=r(1),o=r(67),i=r(9).f,u=r(34).f,c=r(74),a=r(53),f=e.RegExp,s=f,l=f.prototype,p=/a/g,h=/a/g,v=new f(p)!==p;if(r(8)&&(!v||r(2)(function(){return h[r(5)("match")]=!1,f(p)!=p||f(h)==h||"/a/i"!=f(p,"i")}))){f=function(t,n){var r=this instanceof f,e=c(t),i=void 0===n;return!r&&e&&t.constructor===f&&i?t:o(v?new s(e&&!i?t.source:t,n):s((e=t instanceof f)?t.source:t,e&&i?a.call(t):n),r?this:l,f)};function d(n){n in f||i(f,n,{configurable:!0,get:function(){return s[n]},set:function(t){s[n]=t}})}for(var y=u(s),g=0;y.length>g;)d(y[g++]);(l.constructor=f).prototype=l,r(11)(e,"RegExp",f)}r(41)("RegExp")},function(t,n,r){"use strict";r(111);function e(t){r(11)(RegExp.prototype,c,t,!0)}var i=r(3),o=r(53),u=r(8),c="toString",a=/./[c];r(2)(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?e(function(){var t=i(this);return"/".concat(t.source,"/","flags"in t?t.flags:!u&&t instanceof RegExp?o.call(t):void 0)}):a.name!=c&&e(function(){return a.call(this)})},function(t,n,r){"use strict";var l=r(3),p=r(6),h=r(82),v=r(54);r(55)("match",1,function(e,i,f,s){return[function(t){var n=e(this),r=null==t?void 0:t[i];return void 0!==r?r.call(t,n):new RegExp(t)[i](String(n))},function(t){var n=s(f,t,this);if(n.done)return n.value;var r=l(t),e=String(this);if(!r.global)return v(r,e);for(var i,o=r.unicode,u=[],c=r.lastIndex=0;null!==(i=v(r,e));){var a=String(i[0]);""===(u[c]=a)&&(r.lastIndex=h(e,p(r.lastIndex),o)),c++}return 0===c?null:u}]})},function(t,n,r){"use strict";var E=r(3),e=r(10),j=r(6),O=r(19),F=r(82),P=r(54),M=Math.max,$=Math.min,p=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,v=/\$([$&`']|\d\d?)/g;r(55)("replace",2,function(i,o,w,x){return[function(t,n){var r=i(this),e=null==t?void 0:t[o];return void 0!==e?e.call(t,r,n):w.call(String(r),t,n)},function(t,n){var r=x(w,t,this,n);if(r.done)return r.value;var e=E(t),i=String(this),o="function"==typeof n;o||(n=String(n));var u=e.global;if(u){var c=e.unicode;e.lastIndex=0}for(var a=[];;){var f=P(e,i);if(null===f)break;if(a.push(f),!u)break;""===String(f[0])&&(e.lastIndex=F(i,j(e.lastIndex),c))}for(var s,l="",p=0,h=0;h<a.length;h++){f=a[h];for(var v=String(f[0]),d=M($(O(f.index),i.length),0),y=[],g=1;g<f.length;g++)y.push(void 0===(s=f[g])?s:String(s));var m=f.groups;if(o){var _=[v].concat(y,d,i);void 0!==m&&_.push(m);var b=String(n.apply(void 0,_))}else b=S(v,i,d,y,m,n);p<=d&&(l+=i.slice(p,d)+b,p=d+v.length)}return l+i.slice(p)}];function S(o,u,c,a,f,t){var s=c+o.length,l=a.length,n=v;return void 0!==f&&(f=e(f),n=h),w.call(t,n,function(t,n){var r;switch(n.charAt(0)){case"$":return"$";case"&":return o;case"`":return u.slice(0,c);case"'":return u.slice(s);case"<":r=f[n.slice(1,-1)];break;default:var e=+n;if(0==e)return t;if(l<e){var i=p(e/10);return 0===i?t:i<=l?void 0===a[i-1]?n.charAt(1):a[i-1]+n.charAt(1):t}r=a[e-1]}return void 0===r?"":r})}})},function(t,n,r){"use strict";var a=r(3),f=r(96),s=r(54);r(55)("search",1,function(e,i,u,c){return[function(t){var n=e(this),r=null==t?void 0:t[i];return void 0!==r?r.call(t,n):new RegExp(t)[i](String(n))},function(t){var n=c(u,t,this);if(n.done)return n.value;var r=a(t),e=String(this),i=r.lastIndex;f(i,0)||(r.lastIndex=0);var o=s(r,e);return f(r.lastIndex,i)||(r.lastIndex=i),null===o?-1:o.index}]})},function(t,n,r){"use strict";var l=r(74),_=r(3),b=r(47),w=r(82),x=r(6),S=r(54),p=r(81),e=r(2),E=Math.min,h=[].push,u="split",v="length",d="lastIndex",j=4294967295,O=!e(function(){RegExp(j,"y")});r(55)("split",2,function(i,o,y,g){var m;return m="c"=="abbc"[u](/(b)*/)[1]||4!="test"[u](/(?:)/,-1)[v]||2!="ab"[u](/(?:ab)*/)[v]||4!="."[u](/(.?)(.?)/)[v]||1<"."[u](/()()/)[v]||""[u](/.?/)[v]?function(t,n){var r=String(this);if(void 0===t&&0===n)return[];if(!l(t))return y.call(r,t,n);for(var e,i,o,u=[],c=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),a=0,f=void 0===n?j:n>>>0,s=new RegExp(t.source,c+"g");(e=p.call(s,r))&&!(a<(i=s[d])&&(u.push(r.slice(a,e.index)),1<e[v]&&e.index<r[v]&&h.apply(u,e.slice(1)),o=e[0][v],a=i,u[v]>=f));)s[d]===e.index&&s[d]++;return a===r[v]?!o&&s.test("")||u.push(""):u.push(r.slice(a)),u[v]>f?u.slice(0,f):u}:"0"[u](void 0,0)[v]?function(t,n){return void 0===t&&0===n?[]:y.call(this,t,n)}:y,[function(t,n){var r=i(this),e=null==t?void 0:t[o];return void 0!==e?e.call(t,r,n):m.call(String(r),t,n)},function(t,n){var r=g(m,t,this,n,m!==y);if(r.done)return r.value;var e=_(t),i=String(this),o=b(e,RegExp),u=e.unicode,c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(O?"y":"g"),a=new o(O?e:"^(?:"+e.source+")",c),f=void 0===n?j:n>>>0;if(0==f)return[];if(0===i.length)return null===S(a,i)?[i]:[];for(var s=0,l=0,p=[];l<i.length;){a.lastIndex=O?l:0;var h,v=S(a,O?i:i.slice(l));if(null===v||(h=E(x(a.lastIndex+(O?0:l)),i.length))===s)l=w(i,l,u);else{if(p.push(i.slice(s,l)),p.length===f)return p;for(var d=1;d<=v.length-1;d++)if(p.push(v[d]),p.length===f)return p;l=s=h}}return p.push(i.slice(s)),p}]})},function(t,n,r){var c=r(1),a=r(83).set,f=c.MutationObserver||c.WebKitMutationObserver,s=c.process,l=c.Promise,p="process"==r(23)(s);t.exports=function(){function t(){var t,n;for(p&&(t=s.domain)&&t.exit();r;){n=r.fn,r=r.next;try{n()}catch(t){throw r?i():e=void 0,t}}e=void 0,t&&t.enter()}var r,e,i;if(p)i=function(){s.nextTick(t)};else if(!f||c.navigator&&c.navigator.standalone)if(l&&l.resolve){var n=l.resolve(void 0);i=function(){n.then(t)}}else i=function(){a.call(c,t)};else{var o=!0,u=document.createTextNode("");new f(t).observe(u,{characterData:!0}),i=function(){u.data=o=!o}}return function(t){var n={fn:t,next:void 0};e&&(e.next=n),r||(r=n,i()),e=n}}},function(t,n){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,n,r){"use strict";var e=r(115),i=r(37);t.exports=r(58)("Map",function(n){return function(t){return n(this,0<arguments.length?t:void 0)}},{get:function(t){var n=e.getEntry(i(this,"Map"),t);return n&&n.v},set:function(t,n){return e.def(i(this,"Map"),0===t?0:t,n)}},e,!0)},function(t,n,r){"use strict";var e=r(115),i=r(37);t.exports=r(58)("Set",function(n){return function(t){return n(this,0<arguments.length?t:void 0)}},{add:function(t){return e.def(i(this,"Set"),t=0===t?0:t,t)}},e)},function(t,n,r){"use strict";function e(n){return function(t){return n(this,0<arguments.length?t:void 0)}}var o,i=r(1),u=r(22)(0),c=r(11),a=r(27),f=r(95),s=r(116),l=r(4),p=r(37),h=r(37),v=!i.ActiveXObject&&"ActiveXObject"in i,d="WeakMap",y=a.getWeak,g=Object.isExtensible,m=s.ufstore,_={get:function(t){if(l(t)){var n=y(t);return!0===n?m(p(this,d)).get(t):n?n[this._i]:void 0}},set:function(t,n){return s.def(p(this,d),t,n)}},b=t.exports=r(58)(d,e,_,s,!0,!0);h&&v&&(f((o=s.getConstructor(e,d)).prototype,_),a.NEED=!0,u(["delete","has","get","set"],function(e){var t=b.prototype,i=t[e];c(t,e,function(t,n){if(!l(t)||g(t))return i.call(this,t,n);this._f||(this._f=new o);var r=this._f[e](t,n);return"set"==e?this:r})}))},function(t,n,r){"use strict";var e=r(116),i=r(37);r(58)("WeakSet",function(n){return function(t){return n(this,0<arguments.length?t:void 0)}},{add:function(t){return e.def(i(this,"WeakSet"),t,!0)}},e,!1,!0)},function(t,n,r){"use strict";var e=r(0),i=r(59),o=r(84),f=r(3),s=r(32),l=r(6),u=r(4),c=r(1).ArrayBuffer,p=r(47),h=o.ArrayBuffer,v=o.DataView,a=i.ABV&&c.isView,d=h.prototype.slice,y=i.VIEW,g="ArrayBuffer";e(e.G+e.W+e.F*(c!==h),{ArrayBuffer:h}),e(e.S+e.F*!i.CONSTR,g,{isView:function(t){return a&&a(t)||u(t)&&y in t}}),e(e.P+e.U+e.F*r(2)(function(){return!new h(2).slice(1,void 0).byteLength}),g,{slice:function(t,n){if(void 0!==d&&void 0===n)return d.call(f(this),t);for(var r=f(this).byteLength,e=s(t,r),i=s(void 0===n?r:n,r),o=new(p(this,h))(l(i-e)),u=new v(this),c=new v(o),a=0;e<i;)c.setUint8(a++,u.getUint8(e++));return o}}),r(41)(g)},function(t,n,r){var e=r(0);e(e.G+e.W+e.F*!r(59).ABV,{DataView:r(84).DataView})},function(t,n,r){r(25)("Int8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(t,n,r){r(25)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(t,n,r){r(25)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}},!0)},function(t,n,r){r(25)("Int16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(t,n,r){r(25)("Uint16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(t,n,r){r(25)("Int32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(t,n,r){r(25)("Uint32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(t,n,r){r(25)("Float32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(t,n,r){r(25)("Float64",8,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(t,n,r){var e=r(0),o=r(18),u=r(3),c=(r(1).Reflect||{}).apply,a=Function.apply;e(e.S+e.F*!r(2)(function(){c(function(){})}),"Reflect",{apply:function(t,n,r){var e=o(t),i=u(r);return c?c(e,n,i):a.call(e,n,i)}})},function(t,n,r){var e=r(0),a=r(33),f=r(18),s=r(3),l=r(4),i=r(2),p=r(97),h=(r(1).Reflect||{}).construct,v=i(function(){function t(){}return!(h(function(){},[],t)instanceof t)}),d=!i(function(){h(function(){})});e(e.S+e.F*(v||d),"Reflect",{construct:function(t,n,r){f(t),s(n);var e=arguments.length<3?t:f(r);if(d&&!v)return h(t,n,e);if(t==e){switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3])}var i=[null];return i.push.apply(i,n),new(p.apply(t,i))}var o=e.prototype,u=a(l(o)?o:Object.prototype),c=Function.apply.call(t,u,n);return l(c)?c:u}})},function(t,n,r){var e=r(9),i=r(0),o=r(3),u=r(26);i(i.S+i.F*r(2)(function(){Reflect.defineProperty(e.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,n,r){o(t),n=u(n,!0),o(r);try{return e.f(t,n,r),!0}catch(t){return!1}}})},function(t,n,r){var e=r(0),i=r(20).f,o=r(3);e(e.S,"Reflect",{deleteProperty:function(t,n){var r=i(o(t),n);return!(r&&!r.configurable)&&delete t[n]}})},function(t,n,r){"use strict";function e(t){this._t=o(t),this._i=0;var n,r=this._k=[];for(n in t)r.push(n)}var i=r(0),o=r(3);r(104)(e,"Object",function(){var t,n=this._k;do{if(this._i>=n.length)return{value:void 0,done:!0}}while(!((t=n[this._i++])in this._t));return{value:t,done:!1}}),i(i.S,"Reflect",{enumerate:function(t){return new e(t)}})},function(t,n,r){var u=r(20),c=r(35),a=r(13),e=r(0),f=r(4),s=r(3);e(e.S,"Reflect",{get:function t(n,r){var e,i,o=arguments.length<3?n:arguments[2];return s(n)===o?n[r]:(e=u.f(n,r))?a(e,"value")?e.value:void 0!==e.get?e.get.call(o):void 0:f(i=c(n))?t(i,r,o):void 0}})},function(t,n,r){var e=r(20),i=r(0),o=r(3);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,n){return e.f(o(t),n)}})},function(t,n,r){var e=r(0),i=r(35),o=r(3);e(e.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},function(t,n,r){var e=r(0);e(e.S,"Reflect",{has:function(t,n){return n in t}})},function(t,n,r){var e=r(0),i=r(3),o=Object.isExtensible;e(e.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},function(t,n,r){var e=r(0);e(e.S,"Reflect",{ownKeys:r(118)})},function(t,n,r){var e=r(0),i=r(3),o=Object.preventExtensions;e(e.S,"Reflect",{preventExtensions:function(t){i(t);try{return o&&o(t),!0}catch(t){return!1}}})},function(t,n,r){var a=r(9),f=r(20),s=r(35),l=r(13),e=r(0),p=r(28),h=r(3),v=r(4);e(e.S,"Reflect",{set:function t(n,r,e){var i,o,u=arguments.length<4?n:arguments[3],c=f.f(h(n),r);if(!c){if(v(o=s(n)))return t(o,r,e,u);c=p(0)}if(l(c,"value")){if(!1===c.writable||!v(u))return!1;if(i=f.f(u,r)){if(i.get||i.set||!1===i.writable)return!1;i.value=e,a.f(u,r,i)}else a.f(u,r,p(0,e));return!0}return void 0!==c.set&&(c.set.call(u,e),!0)}})},function(t,n,r){var e=r(0),i=r(65);i&&e(e.S,"Reflect",{setPrototypeOf:function(t,n){i.check(t,n);try{return i.set(t,n),!0}catch(t){return!1}}})},function(t,n,r){r(272),t.exports=r(7).Array.includes},function(t,n,r){"use strict";var e=r(0),i=r(49)(!0);e(e.P,"Array",{includes:function(t,n){return i(this,t,1<arguments.length?n:void 0)}}),r(36)("includes")},function(t,n,r){r(274),t.exports=r(7).Array.flatMap},function(t,n,r){"use strict";var e=r(0),o=r(275),u=r(10),c=r(6),a=r(18),f=r(106);e(e.P,"Array",{flatMap:function(t,n){var r,e,i=u(this);return a(t),r=c(i.length),e=f(i,0),o(e,i,i,r,0,1,t,n),e}}),r(36)("flatMap")},function(t,n,r){"use strict";var v=r(51),d=r(4),y=r(6),g=r(17),m=r(5)("isConcatSpreadable");t.exports=function t(n,r,e,i,o,u,c,a){for(var f,s,l=o,p=0,h=!!c&&g(c,a,3);p<i;){if(p in e){if(f=h?h(e[p],p,r):e[p],s=!1,d(f)&&(s=void 0!==(s=f[m])?!!s:v(f)),s&&0<u)l=t(n,r,f,y(f.length),l,u-1)-1;else{if(9007199254740991<=l)throw TypeError();n[l]=f}l++}p++}return l}},function(t,n,r){r(277),t.exports=r(7).String.padStart},function(t,n,r){"use strict";var e=r(0),i=r(119),o=r(57),u=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);e(e.P+e.F*u,"String",{padStart:function(t,n){return i(this,t,1<arguments.length?n:void 0,!0)}})},function(t,n,r){r(279),t.exports=r(7).String.padEnd},function(t,n,r){"use strict";var e=r(0),i=r(119),o=r(57),u=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);e(e.P+e.F*u,"String",{padEnd:function(t,n){return i(this,t,1<arguments.length?n:void 0,!1)}})},function(t,n,r){r(281),t.exports=r(7).String.trimLeft},function(t,n,r){"use strict";r(39)("trimLeft",function(t){return function(){return t(this,1)}},"trimStart")},function(t,n,r){r(283),t.exports=r(7).String.trimRight},function(t,n,r){"use strict";r(39)("trimRight",function(t){return function(){return t(this,2)}},"trimEnd")},function(t,n,r){r(285),t.exports=r(61).f("asyncIterator")},function(t,n,r){r(91)("asyncIterator")},function(t,n,r){r(287),t.exports=r(7).Object.getOwnPropertyDescriptors},function(t,n,r){var e=r(0),a=r(118),f=r(15),s=r(20),l=r(77);e(e.S,"Object",{getOwnPropertyDescriptors:function(t){for(var n,r,e=f(t),i=s.f,o=a(e),u={},c=0;o.length>c;)void 0!==(r=i(e,n=o[c++]))&&l(u,n,r);return u}})},function(t,n,r){r(289),t.exports=r(7).Object.values},function(t,n,r){var e=r(0),i=r(120)(!1);e(e.S,"Object",{values:function(t){return i(t)}})},function(t,n,r){r(291),t.exports=r(7).Object.entries},function(t,n,r){var e=r(0),i=r(120)(!0);e(e.S,"Object",{entries:function(t){return i(t)}})},function(t,n,r){"use strict";r(112),r(293),t.exports=r(7).Promise.finally},function(t,n,r){"use strict";var e=r(0),i=r(7),o=r(1),u=r(47),c=r(114);e(e.P+e.R,"Promise",{finally:function(n){var r=u(this,i.Promise||o.Promise),t="function"==typeof n;return this.then(t?function(t){return c(r,n()).then(function(){return t})}:n,t?function(t){return c(r,n()).then(function(){throw t})}:n)}})},function(t,n,r){r(295),r(296),r(297),t.exports=r(7)},function(t,n,r){function e(i){return function(t,n){var r=2<arguments.length,e=r&&c.call(arguments,2);return i(r?function(){("function"==typeof t?t:Function(t)).apply(this,e)}:t,n)}}var i=r(1),o=r(0),u=r(57),c=[].slice,a=/MSIE .\./.test(u);o(o.G+o.B+o.F*a,{setTimeout:e(i.setTimeout),setInterval:e(i.setInterval)})},function(t,n,r){var e=r(0),i=r(83);e(e.G+e.B,{setImmediate:i.set,clearImmediate:i.clear})},function(t,n,r){for(var e=r(80),i=r(31),o=r(11),u=r(1),c=r(14),a=r(40),f=r(5),s=f("iterator"),l=f("toStringTag"),p=a.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},v=i(h),d=0;d<v.length;d++){var y,g=v[d],m=h[g],_=u[g],b=_&&_.prototype;if(b&&(b[s]||c(b,s,p),b[l]||c(b,l,g),a[g]=p,m))for(y in e)b[y]||o(b,y,e[y],!0)}},function(t,n,r){r(299),t.exports=r(121).global},function(t,n,r){var e=r(300);e(e.G,{global:r(85)})},function(t,n,r){function d(t,n,r){var e,i,o,u=t&d.F,c=t&d.G,a=t&d.S,f=t&d.P,s=t&d.B,l=t&d.W,p=c?g:g[n]||(g[n]={}),h=p[w],v=c?y:a?y[n]:(y[n]||{})[w];for(e in c&&(r=n),r)(i=!u&&v&&void 0!==v[e])&&b(p,e)||(o=i?v[e]:r[e],p[e]=c&&"function"!=typeof v[e]?r[e]:s&&i?m(o,y):l&&v[e]==o?function(e){function t(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)}return t[w]=e[w],t}(o):f&&"function"==typeof o?m(Function.call,o):o,f&&((p.virtual||(p.virtual={}))[e]=o,t&d.R&&h&&!h[e]&&_(h,e,o)))}var y=r(85),g=r(121),m=r(301),_=r(303),b=r(310),w="prototype";d.F=1,d.G=2,d.S=4,d.P=8,d.B=16,d.W=32,d.U=64,d.R=128,t.exports=d},function(t,n,r){var o=r(302);t.exports=function(e,i,t){if(o(e),void 0===i)return e;switch(t){case 1:return function(t){return e.call(i,t)};case 2:return function(t,n){return e.call(i,t,n)};case 3:return function(t,n,r){return e.call(i,t,n,r)}}return function(){return e.apply(i,arguments)}}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,r){var e=r(304),i=r(309);t.exports=r(87)?function(t,n,r){return e.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(305),i=r(306),o=r(308),u=Object.defineProperty;n.f=r(87)?Object.defineProperty:function(t,n,r){if(e(t),n=o(n,!0),e(r),i)try{return u(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(86);t.exports=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t}},function(t,n,r){t.exports=!r(87)&&!r(122)(function(){return 7!=Object.defineProperty(r(307)("div"),"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(86),i=r(85).document,o=e(i)&&e(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,n,r){var i=r(86);t.exports=function(t,n){if(!i(t))return t;var r,e;if(n&&"function"==typeof(r=t.toString)&&!i(e=r.call(t)))return e;if("function"==typeof(r=t.valueOf)&&!i(e=r.call(t)))return e;if(!n&&"function"==typeof(r=t.toString)&&!i(e=r.call(t)))return e;throw TypeError("Can't convert object to primitive value")}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}}]);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -1,324 +1,329 @@
1
- === Contact Form 7 - Conditional Fields ===
2
- Contributors: Jules Colle
3
- Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=j_colle%40hotmail%2ecom&lc=US&item_name=Jules%20Colle%20%2d%20WP%20plugins%20%2d%20Responsive%20Gallery%20Grid&item_number=rgg&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
4
- Author: Jules Colle
5
- Website: http://bdwm.be
6
- Tags: wordpress, contact form 7, forms, conditional fields
7
- Requires at least: 4.1
8
- Tested up to: 5.2.4
9
- Stable tag: 1.7
10
- Requires PHP: 5.3
11
- License: GPLv2 or later
12
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
-
14
- Adds conditional logic to Contact Form 7.
15
-
16
- == Description ==
17
-
18
- This plugin adds conditional logic to [Contact Form 7](https://wordpress.org/plugins/contact-form-7/).
19
-
20
- If you edit your CF7 form, you will see an additional tag called "Conditional fields Group". Everything you put between the start and end tag will be hidden by default.
21
- After you have added the field group(s), click Save and go to the "Conditional fields" tab to create one or more conditions that will make the group(s) appear.
22
-
23
- = How to use it =
24
-
25
- [Follow this tutorial](https://conditional-fields-cf7.bdwm.be/conditional-fields-for-contact-form-7-tutorial/)
26
-
27
- == Main/ New features ==
28
-
29
- = Support for required fields =
30
-
31
- Required fields can be used inside hidden groups without causing validation problems.
32
-
33
- = Hide/show info in emails based on what groups are visible =
34
-
35
- Conditional groups can now be added to the emails as well.
36
- Just wrap the content with `[group-name] ... [/group-name]` tags.
37
-
38
- = Groups can be nested =
39
- Groups can be nested, both in the form and in the email
40
-
41
- Example form:
42
- `
43
- [group group-1]
44
- [group group-inside-1]
45
- ...
46
- [/group]
47
- [/group]`
48
-
49
- Example email:
50
- `
51
- [group-1]
52
- [group-inside-1]
53
- ...
54
- [/group-inside-1]
55
- [/group-1]`
56
-
57
- = Advanced =
58
-
59
- Advanced users can code up the conditions as plain text instead of using the select boxes, using the import/export feature.
60
-
61
- == Installation ==
62
-
63
- Please follow the [standard installation procedure for WordPress plugins](http://codex.wordpress.org/Managing_Plugins#Installing_Plugins).
64
-
65
- Follow [this tutorial](https://conditional-fields-cf7.bdwm.be/conditional-fields-for-contact-form-7-tutorial/) if you are not sure how to use the plugin.
66
-
67
- == Frequently Asked Questions ==
68
-
69
- = Email message is not showing the correct values / Wrong values are submitted =
70
-
71
- <strong>All field names should be unique</strong>
72
-
73
- Even though your fields might never show up at the same time, it is still important to realize that WPCF7CF will not remove the fields, it merely hides them. So all fields will be submitted when the form is sent. Because of this no two fields can have the same name.
74
-
75
- Incorrect form (2 input elements having the same name "a"):
76
- `
77
- [group group-1][select a "1" "2" "3"][/group]
78
- [group group-2][select a "1" "2" "3"][/group]
79
- `
80
-
81
- Correct form (all groups and fields have unique names):
82
- `
83
- [group group-1][select a "1" "2" "3"][/group]
84
- [group group-2][select b "1" "2" "3"][/group]
85
- `
86
-
87
- = All my groups show up all the time and never get hidden. =
88
-
89
- <strong>Reason #1: Javascript error</strong>
90
- Check your browser console (F12) for any javascript errors. WPCF7CF loads it's scripts at the bottom of the HTML page, so if some javascript error gets triggered before that, the code will not be executed in most browsers.
91
- Before reaching out to the support forum try to determine which plugin or theme is causing the problem, by gradually disabling plugins and changing theme.
92
-
93
- <strong>Reason #2: wp_footer() isn't loaded</strong>
94
- Check if your theme is calling the `wp_footer()` function. Typically this function will be called in your theme's footer.php file.
95
- The conditional fields javascript code is loaded during wp_footer, so a call to this function is crucial. If there is no such call in your theme, go to your theme's footer.php file and add this code right before the closing `</body>` tag:
96
- `&lt;?php wp_footer(); ?&gt;`
97
-
98
- == Screenshots ==
99
-
100
- 1. Conditional fields in action
101
- 2. Defining rules to show/hide groups of input elements in the backend interface
102
-
103
- == Changelog ==
104
-
105
- = 1.7 (10-18-19) =
106
- * code rewrite. Made code more testable by focusing more on a functional approach. Not completely finished yet, but getting there.
107
- * FIXED clear_on_hide not working for multi select https://github.com/pwkip/contact-form-7-conditional-fields/issues/35
108
- * PRO: FIXED https://github.com/pwkip/contact-form-7-conditional-fields/issues/34 - A real nest fest is now possible. You can put groups inside repeaters inside repeaters inside groups ...
109
- * FIXED make clear_on_hide restore initial values instead of clearing https://github.com/pwkip/contact-form-7-conditional-fields/issues/31
110
- * WP-admin: Renamed "Import/Export" to "Text view". Conditions specified in the input fields are now semi-automatically synced with the text view.
111
- * Internal change: When saving conditions, instead of posting all the input fields, the input fields are added to the "text view" textarea, and only the textarea will be sent. This is to prevent issues with PHP max_input_vars
112
-
113
- = 1.6.5 (10-15-19) =
114
- * Patched a minor security issue. From now on, only users with the 'wpcf7_edit_contact_form' capability will be able to reset the Conditional Fields settings to their defaults. Big thanks to Chloe from Wordfence for pointing this out!
115
- * Tested the plugin with WP version 5.2.4
116
-
117
- = 1.6.4 (07-04-19) =
118
- * PRO: Repeater: Fixed invalid HTML for the remove button
119
- * Free: Initialize form.$groups as a new jQuery object instead of an empty array, in order to prevent exotic bugs in case $groups aren't loaded by the time form.displayFields() is called. (https://wordpress.org/support/topic/typeerror-cannot-read-property-addclass-of-undefined-at-wpcf7cfform/)
120
-
121
- = 1.6.3 (07-04-19) =
122
- * Removed the word "Pro" from the title in the free plugin
123
-
124
- = 1.6.2 (06-25-19) =
125
- * Small changes to tag generator buttons
126
- * Multistep bug fix. All group conditions are evaluated a second time after the page has fully loaded.
127
- * PRO: added new operator 'function', allowing you to write custom javascript functions to determine whether or not a group should be shown https://conditional-fields-cf7.bdwm.be/advanced-conditional-logic-with-custom-javascript-functions/
128
- * PRO: fix bug with < (less than) operator
129
-
130
- = 1.6.1 (06-03-19) =
131
- * JS refactoring and small compatibility fix after code rewrite.
132
- * FREE: Added "Get PRO" button under Contact > Conditional Fields
133
-
134
- = 1.6 (06-01-19) =
135
- * JS code rewrite
136
- * PRO: allow groups inside repeater
137
- * PRO: make plugin ready for PRO release.
138
-
139
- = 1.5.5 (05-20-19) =
140
- * Fixed and explained how to disable loading of the styles and scripts and only enable it on certain pages. More info: https://conditional-fields-cf7.bdwm.be/docs/faq/can-i-load-js-and-css-only-when-necessary/
141
- * Made sure default settings get set after activating plugin, without the need to visit the Contact > Conditional Fields page first.
142
- * PRO: extended the repeater with min and max paramaters and the possibility to change the add and remove buttons texts
143
- * PRO: enabling the pro plugin will show a notification to disable the free plugin, instead of throwing a PHP error.
144
-
145
- = 1.5.4 (05-06-19) =
146
- * Make sure scripts get loaded late enough (wp_enqueue_scripts priority set to 20), because there was a problem with multistep where the multistep script was changing a value after the cf script ran. https://wordpress.org/support/topic/1-5-x-not-expanding-selected-hidden-groups-with-multi-step-on-previous-page/
147
-
148
- = 1.5.3 (05-03-19) =
149
- * Refix the fix from version 1.4.3 that got unfixed in version 1.5 somehow 🙄
150
-
151
- = 1.5.2 (05-03-19) =
152
- * by reverting changes in 1.5.1, the possibility to load forms via AJAX was destroyed. So, from now on the wpcf7cf scripts will be loaded in the 'wp_enqueue_scripts' hook. Analogous with the WPCF7_LOAD_JS constant, a new constant is defined called WPCF7CF_LOAD_JS wich is set to true by default.
153
-
154
- = 1.5.1 (05-02-19) =
155
- * revert changes: enqueue scripts in 'wpcf7_contact_form' hook instead of 'wpcf7_enqueue_scripts', because loading it in the latter would cause problems with plugins that disable WPCF7_LOAD_JS (like for example contact-form-7-paypal-add-on).
156
-
157
- = 1.5 (04-21-19) =
158
- * Make it possible to load forms with AJAX https://github.com/pwkip/contact-form-7-conditional-fields/issues/25 and https://conditional-fields-cf7.bdwm.be/docs/faq/how-to-initialize-the-conditional-logic-after-an-ajax-call/
159
- * Massive code reorganization in scripts.js
160
- * Fixed bug that could appear after removing an AND condition.
161
- * solve WPCF7_ADMIN_READ_WRITE_CAPABILITY - https://github.com/pwkip/contact-form-7-conditional-fields/pull/16
162
- * disable part of the faulty remove_hidden_post_data function. - https://github.com/pwkip/contact-form-7-conditional-fields/pull/17
163
- * Fix "Dismiss notice" on Conditional Fields Settings page
164
- * use the "wpcf7_before_send_mail" hook instead of "wpcf7_mail_components" to hide mail groups. The wpcf7_before_send_mail hook is called earlier, so it allows to also hide groups in the attachment field and in messages.
165
- * Allow conditional group tags in success and error messages. https://github.com/pwkip/contact-form-7-conditional-fields/issues/23
166
- * duplicating a form will also duplicate conditions https://github.com/pwkip/contact-form-7-conditional-fields/issues/28
167
-
168
- = 1.4.3 (04-12-19) =
169
- * Really fix clear_on_hide problem (https://wordpress.org/support/topic/clear_on_hide-still-not-working-right-after-1-4-2-update/)
170
-
171
- = 1.4.2 (04-10-19) =
172
- * Disabled mailbox syntax errors if there are group tags present. (this is overkill, and should be changed if the necassary hooks become available) https://wordpress.org/support/topic/filter-detect_invalid_mailbox_syntax/
173
- * Checked issue: https://github.com/pwkip/contact-form-7-conditional-fields/issues/26 (nothing changed, but turns out to be working fine)
174
- * Fixed issue where mail_2 added extra lines in the email message. https://github.com/pwkip/contact-form-7-conditional-fields/issues/30
175
- * Made the clear_on_hide property a bit more useful (https://github.com/pwkip/contact-form-7-conditional-fields/issues/27)
176
- * Got rid of warning in PHP 7 (https://wordpress.org/support/topic/compatibility-warning-message-regarding-wpcf7_admin_read_write_capability/)
177
- * Fixed some javascript errors that appeared on non-CF7CF subpages of CF7
178
- * Tested WP version 5.1.1
179
-
180
- = 1.4.1 (08-21-18) =
181
- * Fixed some CSS issues (https://wordpress.org/support/topic/crash-view-admin-the-list-of-posts-entry/)
182
- * Dropped support for PHP version 5.2, now PHP 5.3+ is required to run the plugin. Let's push things forward!
183
- * Added conditional group support to mail attachments field (https://github.com/pwkip/contact-form-7-conditional-fields/issues/22)
184
- * Added repeater field to PRO version.
185
-
186
- = 1.4 (08-15-18) =
187
- * Added basic drag and drop functionality to the back-end so conditional rules can be rearranged.
188
- * Added possibility to create inline groups by adding the option inline. Example: `[group my-group inline] ... [/group]`
189
- * Added property clear_on_hide to clear all fields within a group the moment the group gets hidden. Example: `[group my-group clear_on_hide] ... [/group]`
190
- * Added AND conditions and added a bunch of other options in the PRO version (should be released very soon now)
191
- * Bug fix thanks to Aurovrata Venet (@aurovrata) https://wordpress.org/support/topic/bug-plugin-overwrite-cf7-hidden-fields/
192
- * Bug fix thanks to 972 creative (@toddedelman) https://wordpress.org/support/topic/conditional-fields-not-opening-using-radio-buttons/#post-10442923
193
-
194
- = 1.3.4 =
195
- * small fix (https://wordpress.org/support/topic/wpcf7_contactform-object-is-no-longer-accessible/)
196
-
197
- = 1.3.3 =
198
- * Changes tested with WP 4.7.5 and CF7 4.8
199
- * Changed the inner mechanics a bit to make the plugin more edge-case proof and prepare for future ajax support
200
- * Fix problems introduced by CF7 4.8 update
201
- * Because the CF7 author, Takayuki Miyoshi, decided to get rid of the 'form-pre-serialize' javascript event, the hidden fields containing data about which groups are shown/hidden will now be updated when the form is loaded and each time a form value changes. This might make the plugin slightly slower, but it is the only solution I found so far.
202
- * Small bug fix (https://wordpress.org/support/topic/php-depreciated-warning/#post-9151404)
203
-
204
- = 1.3.2 =
205
- * Removed a piece of code that was trying to load a non existing stylesheet
206
- * Updated FAQ
207
- * Code rearangement and additions for the upcomming Conditional Fields Pro plugin
208
-
209
- = 1.3.1 =
210
- * Fixed bug in 1.3 that broke everything
211
-
212
- = 1.3 =
213
- * Fixed small bug with integration with Contact Form 7 Multi-Step Forms
214
- * Also trigger hiding/showing of groups while typing or pasting text in input fields
215
- * Added support for input type="reset"
216
- * Added animations
217
- * Added settings page to wp-admin: Contact > Conditional Fields
218
-
219
- = 1.2.3 =
220
- * Make plugin compatible with CF7 Multi Step by NinjaTeam https://wordpress.org/plugins/cf7-multi-step/
221
- * Improve compatibility with Signature Addon some more.
222
-
223
- = 1.2.2 =
224
- * Fix critical bug that was present in version 1.2 and 1.2.1
225
-
226
- = 1.2.1 =
227
- * Improve compatibility with <a href="https://wordpress.org/plugins/contact-form-7-signature-addon/">Contact Form 7 Signature Addon</a>: now allowing multiple hidden signature fields.
228
-
229
- = 1.2 =
230
- * Made compatible with <a href="https://wordpress.org/plugins/contact-form-7-multi-step-module/">Contact Form 7 Multi-Step Forms</a>
231
- * Small bug fix by Manual from advantia.net: now only considering fields which are strictly inside hidden group tags with form submit. Important in some edge cases where form elements get hidden by other mechanisms, i.e. tabbed forms.
232
- * Started work on WPCF7CF Pro, made some structural code modifications so the free plugin can function as the base for both plugins.
233
- * Removed some debug code
234
- * Updated readme file
235
-
236
- = 1.1 =
237
- * Added import feature
238
- * Added support for nested groups in email
239
- * Tested on WP version 4.7.2 with Contact Form 7 version 4.6.1
240
-
241
- = 1.0 =
242
- * I feel that at this point the plugin is stable enough in most cases, so it's about time to take it out of beta :)
243
- * Update JS en CSS version numbers
244
- * Fix PHP warning with forms that are not using conditional fields (https://wordpress.org/support/topic/conditional-formatting-error/)
245
- * Tested on WP 4.7.1
246
-
247
- = 0.2.9 =
248
- * Re-added wpcf7_add_shortcode() function if wpcf7_add_form_tag() is not found, because some people claimed to get a "function not found" error for the wpcf7_add_form_tag function with the latest version of CF7 installed. (https://wordpress.org/support/topic/activation-issue-5/ and https://wordpress.org/support/topic/http-500-unable-to-handle-request-error-after-update/)
249
- * Fixed some PHP notices (https://wordpress.org/support/topic/undefined-index-error-in-ajax-response/)
250
- * Attempted to fix error with the CF7 success page redirects plugin (https://wordpress.org/support/topic/warning-invalid-argument-error-for-forms-without-conditional-fields/)
251
-
252
- = 0.2.8 =
253
- * forgot to update version number in 0.2.7, so changing version to 0.2.8 now.
254
-
255
- = 0.2.7 =
256
- * Added support for conditional fields in the email (2) field
257
- * Got rid of some PHP warnings
258
- * Saving a form only once, directly after adding or removing conditions, caused conditional logic not to work. This is fixed now. Thanks to @cpaprotna for pointing me in the right direction. (https://wordpress.org/support/topic/no-more-than-3-conditional-statements/)
259
- * Fix validation error with hidden checkbox groups (https://wordpress.org/support/topic/hidden-group-required-field-is-showing-error/)
260
-
261
- = 0.2.6 =
262
- * Fixed problems with exclusive checkboxes in IE (https://wordpress.org/support/topic/internet-explorer-conditional-exclusive-checkboxes/)
263
-
264
- = 0.2.5 =
265
- * Changed deprecated function wpcf7_add_shortcode to wpcf7_add_form_tag as it was causing errors in debug mode. (https://wordpress.org/support/topic/wpcf7_add_shortcode-deprecated-notice-2/)
266
- * Removed the hide option and fixed the not-equals option for single checkboxes
267
-
268
- = 0.2.4 =
269
- * Fixed bug that destroyed the conditional fields in email functionality
270
-
271
- = 0.2.3 =
272
- * Added support for conditional fields in the other email fields (subject, sender, recipient, additional_headers). Thanks @stevish!
273
- * WP 4.7 broke the required conditional fields inside hidden groups, implemented in version 0.2. Thanks again to @stevish for pointing this out.
274
- * Got rid of checking which groups are hidden both on the front-end (JS) and in the back-end (PHP). Now this is only done in the front-end.
275
- * Tested the plugin with WP 4.7
276
-
277
- = 0.2.2 =
278
- * Prevent strict standards notice to appear while adding new group via the "Conditional Fields Group" popup.
279
- * Only load cf7cf admin styles and scripts on cf7 pages.
280
- * groups are now reset to their initial states after the form is successfully submitted.
281
-
282
- = 0.2.1 =
283
- * Bug fix: arrow kept spinning after submitting a form without conditional fields. (https://wordpress.org/support/topic/version-0-2-gives-a-continues-spinning-arrow-after-submitting/)
284
- * Removed anonymous functions from code, so the plugin also works for PHP versions older than 5.3.
285
- * Suppress errors generated if user uses invalid HTML markup in their form code. These errors could prevent form success message from appearing.
286
-
287
- = 0.2 =
288
- * Added support for required conditional fields inside hidden groups. A big thank you to @stevish for implementing this.
289
- * Added support for conditional fields in the email messages. This one also goes entirely to @stevish. Thanks man!
290
- * Added @stevish as a contributer to the project :)
291
- * Fix form not working in widgets or other places outside of the loop. Thanks to @ciprianolaru for the solution (https://wordpress.org/support/topic/problem-with-unit_tag-when-not-in-the-loop-form-not-used-in-post-or-page/#post-8299801)
292
-
293
- = 0.1.7 =
294
- * Fix popup warning to leave page even tough no changes have been made. Thanks to @hhmaster2045 for reporting the bug. https://wordpress.org/support/topic/popup-warning-to-leave-page-even-though-no-changes-have-been-made
295
- * Added export option for easier troubleshooting.
296
- * Don't include front end javascript in backend.
297
-
298
- = 0.1.6 =
299
- * made compatible with wpcf7-form-control-signature-wrap plugin https://wordpress.org/support/topic/signature-add-on-not-working
300
-
301
- = 0.1.5 =
302
- * fixed PHP notice thanks to @natalia_c https://wordpress.org/support/topic/php-notice-80
303
- * tested with WP 4.5.3
304
-
305
- = 0.1.4 =
306
- * Prevent conflicts between different forms on one page.
307
- * Prevent conflicts between multiple instances of the same form on one page. (https://wordpress.org/support/topic/bug-153)
308
- * Changed regex to convert \[group\] tags to &lt;div&gt; tags, as it was posing some conflicts with other plugins (https://wordpress.org/support/topic/plugin-influence-cf7-send-button-style)
309
-
310
- = 0.1.3 =
311
- * Removed fielset, id and class attributes for group tags, because they weren't used anyway and broke the shortcode
312
- * If extra attributes are added to the group shortcode, this will no longer break functionality (even though no attributes are supported)
313
-
314
- = 0.1.2 =
315
- * Make code work with select element that allows multiple options.
316
- * Only load javascript on pages that contain a CF7 form
317
-
318
- = 0.1.1 =
319
- Fixed bug with exclusive checkboxes (https://wordpress.org/support/topic/groups-not-showing)
320
-
321
- = 0.1 =
322
- First release
323
-
324
-
 
 
 
 
 
1
+ === Contact Form 7 - Conditional Fields ===
2
+ Contributors: Jules Colle
3
+ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=j_colle%40hotmail%2ecom&lc=US&item_name=Jules%20Colle%20%2d%20WP%20plugins%20%2d%20Responsive%20Gallery%20Grid&item_number=rgg&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
4
+ Author: Jules Colle
5
+ Website: http://bdwm.be
6
+ Tags: wordpress, contact form 7, forms, conditional fields
7
+ Requires at least: 4.1
8
+ Tested up to: 5.3
9
+ Stable tag: 1.7.1
10
+ Requires PHP: 5.3
11
+ License: GPLv2 or later
12
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
+
14
+ Adds conditional logic to Contact Form 7.
15
+
16
+ == Description ==
17
+
18
+ This plugin adds conditional logic to [Contact Form 7](https://wordpress.org/plugins/contact-form-7/).
19
+
20
+ If you edit your CF7 form, you will see an additional tag called "Conditional fields Group". Everything you put between the start and end tag will be hidden by default.
21
+ After you have added the field group(s), click Save and go to the "Conditional fields" tab to create one or more conditions that will make the group(s) appear.
22
+
23
+ = How to use it =
24
+
25
+ [Follow this tutorial](https://conditional-fields-cf7.bdwm.be/conditional-fields-for-contact-form-7-tutorial/)
26
+
27
+ == Main/ New features ==
28
+
29
+ = Support for required fields =
30
+
31
+ Required fields can be used inside hidden groups without causing validation problems.
32
+
33
+ = Hide/show info in emails based on what groups are visible =
34
+
35
+ Conditional groups can now be added to the emails as well.
36
+ Just wrap the content with `[group-name] ... [/group-name]` tags.
37
+
38
+ = Groups can be nested =
39
+ Groups can be nested, both in the form and in the email
40
+
41
+ Example form:
42
+ `
43
+ [group group-1]
44
+ [group group-inside-1]
45
+ ...
46
+ [/group]
47
+ [/group]`
48
+
49
+ Example email:
50
+ `
51
+ [group-1]
52
+ [group-inside-1]
53
+ ...
54
+ [/group-inside-1]
55
+ [/group-1]`
56
+
57
+ = Advanced =
58
+
59
+ Advanced users can code up the conditions as plain text instead of using the select boxes, using the import/export feature.
60
+
61
+ == Installation ==
62
+
63
+ Please follow the [standard installation procedure for WordPress plugins](http://codex.wordpress.org/Managing_Plugins#Installing_Plugins).
64
+
65
+ Follow [this tutorial](https://conditional-fields-cf7.bdwm.be/conditional-fields-for-contact-form-7-tutorial/) if you are not sure how to use the plugin.
66
+
67
+ == Frequently Asked Questions ==
68
+
69
+ = Email message is not showing the correct values / Wrong values are submitted =
70
+
71
+ <strong>All field names should be unique</strong>
72
+
73
+ Even though your fields might never show up at the same time, it is still important to realize that WPCF7CF will not remove the fields, it merely hides them. So all fields will be submitted when the form is sent. Because of this no two fields can have the same name.
74
+
75
+ Incorrect form (2 input elements having the same name "a"):
76
+ `
77
+ [group group-1][select a "1" "2" "3"][/group]
78
+ [group group-2][select a "1" "2" "3"][/group]
79
+ `
80
+
81
+ Correct form (all groups and fields have unique names):
82
+ `
83
+ [group group-1][select a "1" "2" "3"][/group]
84
+ [group group-2][select b "1" "2" "3"][/group]
85
+ `
86
+
87
+ = All my groups show up all the time and never get hidden. =
88
+
89
+ <strong>Reason #1: Javascript error</strong>
90
+ Check your browser console (F12) for any javascript errors. WPCF7CF loads it's scripts at the bottom of the HTML page, so if some javascript error gets triggered before that, the code will not be executed in most browsers.
91
+ Before reaching out to the support forum try to determine which plugin or theme is causing the problem, by gradually disabling plugins and changing theme.
92
+
93
+ <strong>Reason #2: wp_footer() isn't loaded</strong>
94
+ Check if your theme is calling the `wp_footer()` function. Typically this function will be called in your theme's footer.php file.
95
+ The conditional fields javascript code is loaded during wp_footer, so a call to this function is crucial. If there is no such call in your theme, go to your theme's footer.php file and add this code right before the closing `</body>` tag:
96
+ `&lt;?php wp_footer(); ?&gt;`
97
+
98
+ == Screenshots ==
99
+
100
+ 1. Conditional fields in action
101
+ 2. Defining rules to show/hide groups of input elements in the backend interface
102
+
103
+ == Changelog ==
104
+
105
+ = 1.7.1 (10-23-19) =
106
+ * PRO: Added basic support for multistep. No options available yet. You can insert [step] tags inside your code. More info at https://conditional-fields-cf7.bdwm.be/multistep/
107
+ * Set up an NPM dev environment with babel and webpack. This means all the client side JS code will look super ugly, and it's also more bytes. But the plus side is that the plugin should also work fine in older browsers now.
108
+ * Tested with WP version 5.3
109
+
110
+ = 1.7 (10-18-19) =
111
+ * code rewrite. Made code more testable by focusing more on a functional approach. Not completely finished yet, but getting there.
112
+ * FIXED clear_on_hide not working for multi select https://github.com/pwkip/contact-form-7-conditional-fields/issues/35
113
+ * PRO: FIXED https://github.com/pwkip/contact-form-7-conditional-fields/issues/34 - A real nest fest is now possible. You can put groups inside repeaters inside repeaters inside groups ...
114
+ * FIXED make clear_on_hide restore initial values instead of clearing https://github.com/pwkip/contact-form-7-conditional-fields/issues/31
115
+ * WP-admin: Renamed "Import/Export" to "Text view". Conditions specified in the input fields are now semi-automatically synced with the text view.
116
+ * Internal change: When saving conditions, instead of posting all the input fields, the input fields are added to the "text view" textarea, and only the textarea will be sent. This is to prevent issues with PHP max_input_vars
117
+
118
+ = 1.6.5 (10-15-19) =
119
+ * Patched a minor security issue. From now on, only users with the 'wpcf7_edit_contact_form' capability will be able to reset the Conditional Fields settings to their defaults. Big thanks to Chloe from Wordfence for pointing this out!
120
+ * Tested the plugin with WP version 5.2.4
121
+
122
+ = 1.6.4 (07-04-19) =
123
+ * PRO: Repeater: Fixed invalid HTML for the remove button
124
+ * Free: Initialize form.$groups as a new jQuery object instead of an empty array, in order to prevent exotic bugs in case $groups aren't loaded by the time form.displayFields() is called. (https://wordpress.org/support/topic/typeerror-cannot-read-property-addclass-of-undefined-at-wpcf7cfform/)
125
+
126
+ = 1.6.3 (07-04-19) =
127
+ * Removed the word "Pro" from the title in the free plugin
128
+
129
+ = 1.6.2 (06-25-19) =
130
+ * Small changes to tag generator buttons
131
+ * Multistep bug fix. All group conditions are evaluated a second time after the page has fully loaded.
132
+ * PRO: added new operator 'function', allowing you to write custom javascript functions to determine whether or not a group should be shown https://conditional-fields-cf7.bdwm.be/advanced-conditional-logic-with-custom-javascript-functions/
133
+ * PRO: fix bug with < (less than) operator
134
+
135
+ = 1.6.1 (06-03-19) =
136
+ * JS refactoring and small compatibility fix after code rewrite.
137
+ * FREE: Added "Get PRO" button under Contact > Conditional Fields
138
+
139
+ = 1.6 (06-01-19) =
140
+ * JS code rewrite
141
+ * PRO: allow groups inside repeater
142
+ * PRO: make plugin ready for PRO release.
143
+
144
+ = 1.5.5 (05-20-19) =
145
+ * Fixed and explained how to disable loading of the styles and scripts and only enable it on certain pages. More info: https://conditional-fields-cf7.bdwm.be/docs/faq/can-i-load-js-and-css-only-when-necessary/
146
+ * Made sure default settings get set after activating plugin, without the need to visit the Contact > Conditional Fields page first.
147
+ * PRO: extended the repeater with min and max paramaters and the possibility to change the add and remove buttons texts
148
+ * PRO: enabling the pro plugin will show a notification to disable the free plugin, instead of throwing a PHP error.
149
+
150
+ = 1.5.4 (05-06-19) =
151
+ * Make sure scripts get loaded late enough (wp_enqueue_scripts priority set to 20), because there was a problem with multistep where the multistep script was changing a value after the cf script ran. https://wordpress.org/support/topic/1-5-x-not-expanding-selected-hidden-groups-with-multi-step-on-previous-page/
152
+
153
+ = 1.5.3 (05-03-19) =
154
+ * Refix the fix from version 1.4.3 that got unfixed in version 1.5 somehow 🙄
155
+
156
+ = 1.5.2 (05-03-19) =
157
+ * by reverting changes in 1.5.1, the possibility to load forms via AJAX was destroyed. So, from now on the wpcf7cf scripts will be loaded in the 'wp_enqueue_scripts' hook. Analogous with the WPCF7_LOAD_JS constant, a new constant is defined called WPCF7CF_LOAD_JS wich is set to true by default.
158
+
159
+ = 1.5.1 (05-02-19) =
160
+ * revert changes: enqueue scripts in 'wpcf7_contact_form' hook instead of 'wpcf7_enqueue_scripts', because loading it in the latter would cause problems with plugins that disable WPCF7_LOAD_JS (like for example contact-form-7-paypal-add-on).
161
+
162
+ = 1.5 (04-21-19) =
163
+ * Make it possible to load forms with AJAX https://github.com/pwkip/contact-form-7-conditional-fields/issues/25 and https://conditional-fields-cf7.bdwm.be/docs/faq/how-to-initialize-the-conditional-logic-after-an-ajax-call/
164
+ * Massive code reorganization in scripts.js
165
+ * Fixed bug that could appear after removing an AND condition.
166
+ * solve WPCF7_ADMIN_READ_WRITE_CAPABILITY - https://github.com/pwkip/contact-form-7-conditional-fields/pull/16
167
+ * disable part of the faulty remove_hidden_post_data function. - https://github.com/pwkip/contact-form-7-conditional-fields/pull/17
168
+ * Fix "Dismiss notice" on Conditional Fields Settings page
169
+ * use the "wpcf7_before_send_mail" hook instead of "wpcf7_mail_components" to hide mail groups. The wpcf7_before_send_mail hook is called earlier, so it allows to also hide groups in the attachment field and in messages.
170
+ * Allow conditional group tags in success and error messages. https://github.com/pwkip/contact-form-7-conditional-fields/issues/23
171
+ * duplicating a form will also duplicate conditions https://github.com/pwkip/contact-form-7-conditional-fields/issues/28
172
+
173
+ = 1.4.3 (04-12-19) =
174
+ * Really fix clear_on_hide problem (https://wordpress.org/support/topic/clear_on_hide-still-not-working-right-after-1-4-2-update/)
175
+
176
+ = 1.4.2 (04-10-19) =
177
+ * Disabled mailbox syntax errors if there are group tags present. (this is overkill, and should be changed if the necassary hooks become available) https://wordpress.org/support/topic/filter-detect_invalid_mailbox_syntax/
178
+ * Checked issue: https://github.com/pwkip/contact-form-7-conditional-fields/issues/26 (nothing changed, but turns out to be working fine)
179
+ * Fixed issue where mail_2 added extra lines in the email message. https://github.com/pwkip/contact-form-7-conditional-fields/issues/30
180
+ * Made the clear_on_hide property a bit more useful (https://github.com/pwkip/contact-form-7-conditional-fields/issues/27)
181
+ * Got rid of warning in PHP 7 (https://wordpress.org/support/topic/compatibility-warning-message-regarding-wpcf7_admin_read_write_capability/)
182
+ * Fixed some javascript errors that appeared on non-CF7CF subpages of CF7
183
+ * Tested WP version 5.1.1
184
+
185
+ = 1.4.1 (08-21-18) =
186
+ * Fixed some CSS issues (https://wordpress.org/support/topic/crash-view-admin-the-list-of-posts-entry/)
187
+ * Dropped support for PHP version 5.2, now PHP 5.3+ is required to run the plugin. Let's push things forward!
188
+ * Added conditional group support to mail attachments field (https://github.com/pwkip/contact-form-7-conditional-fields/issues/22)
189
+ * Added repeater field to PRO version.
190
+
191
+ = 1.4 (08-15-18) =
192
+ * Added basic drag and drop functionality to the back-end so conditional rules can be rearranged.
193
+ * Added possibility to create inline groups by adding the option inline. Example: `[group my-group inline] ... [/group]`
194
+ * Added property clear_on_hide to clear all fields within a group the moment the group gets hidden. Example: `[group my-group clear_on_hide] ... [/group]`
195
+ * Added AND conditions and added a bunch of other options in the PRO version (should be released very soon now)
196
+ * Bug fix thanks to Aurovrata Venet (@aurovrata) https://wordpress.org/support/topic/bug-plugin-overwrite-cf7-hidden-fields/
197
+ * Bug fix thanks to 972 creative (@toddedelman) https://wordpress.org/support/topic/conditional-fields-not-opening-using-radio-buttons/#post-10442923
198
+
199
+ = 1.3.4 =
200
+ * small fix (https://wordpress.org/support/topic/wpcf7_contactform-object-is-no-longer-accessible/)
201
+
202
+ = 1.3.3 =
203
+ * Changes tested with WP 4.7.5 and CF7 4.8
204
+ * Changed the inner mechanics a bit to make the plugin more edge-case proof and prepare for future ajax support
205
+ * Fix problems introduced by CF7 4.8 update
206
+ * Because the CF7 author, Takayuki Miyoshi, decided to get rid of the 'form-pre-serialize' javascript event, the hidden fields containing data about which groups are shown/hidden will now be updated when the form is loaded and each time a form value changes. This might make the plugin slightly slower, but it is the only solution I found so far.
207
+ * Small bug fix (https://wordpress.org/support/topic/php-depreciated-warning/#post-9151404)
208
+
209
+ = 1.3.2 =
210
+ * Removed a piece of code that was trying to load a non existing stylesheet
211
+ * Updated FAQ
212
+ * Code rearangement and additions for the upcomming Conditional Fields Pro plugin
213
+
214
+ = 1.3.1 =
215
+ * Fixed bug in 1.3 that broke everything
216
+
217
+ = 1.3 =
218
+ * Fixed small bug with integration with Contact Form 7 Multi-Step Forms
219
+ * Also trigger hiding/showing of groups while typing or pasting text in input fields
220
+ * Added support for input type="reset"
221
+ * Added animations
222
+ * Added settings page to wp-admin: Contact > Conditional Fields
223
+
224
+ = 1.2.3 =
225
+ * Make plugin compatible with CF7 Multi Step by NinjaTeam https://wordpress.org/plugins/cf7-multi-step/
226
+ * Improve compatibility with Signature Addon some more.
227
+
228
+ = 1.2.2 =
229
+ * Fix critical bug that was present in version 1.2 and 1.2.1
230
+
231
+ = 1.2.1 =
232
+ * Improve compatibility with <a href="https://wordpress.org/plugins/contact-form-7-signature-addon/">Contact Form 7 Signature Addon</a>: now allowing multiple hidden signature fields.
233
+
234
+ = 1.2 =
235
+ * Made compatible with <a href="https://wordpress.org/plugins/contact-form-7-multi-step-module/">Contact Form 7 Multi-Step Forms</a>
236
+ * Small bug fix by Manual from advantia.net: now only considering fields which are strictly inside hidden group tags with form submit. Important in some edge cases where form elements get hidden by other mechanisms, i.e. tabbed forms.
237
+ * Started work on WPCF7CF Pro, made some structural code modifications so the free plugin can function as the base for both plugins.
238
+ * Removed some debug code
239
+ * Updated readme file
240
+
241
+ = 1.1 =
242
+ * Added import feature
243
+ * Added support for nested groups in email
244
+ * Tested on WP version 4.7.2 with Contact Form 7 version 4.6.1
245
+
246
+ = 1.0 =
247
+ * I feel that at this point the plugin is stable enough in most cases, so it's about time to take it out of beta :)
248
+ * Update JS en CSS version numbers
249
+ * Fix PHP warning with forms that are not using conditional fields (https://wordpress.org/support/topic/conditional-formatting-error/)
250
+ * Tested on WP 4.7.1
251
+
252
+ = 0.2.9 =
253
+ * Re-added wpcf7_add_shortcode() function if wpcf7_add_form_tag() is not found, because some people claimed to get a "function not found" error for the wpcf7_add_form_tag function with the latest version of CF7 installed. (https://wordpress.org/support/topic/activation-issue-5/ and https://wordpress.org/support/topic/http-500-unable-to-handle-request-error-after-update/)
254
+ * Fixed some PHP notices (https://wordpress.org/support/topic/undefined-index-error-in-ajax-response/)
255
+ * Attempted to fix error with the CF7 success page redirects plugin (https://wordpress.org/support/topic/warning-invalid-argument-error-for-forms-without-conditional-fields/)
256
+
257
+ = 0.2.8 =
258
+ * forgot to update version number in 0.2.7, so changing version to 0.2.8 now.
259
+
260
+ = 0.2.7 =
261
+ * Added support for conditional fields in the email (2) field
262
+ * Got rid of some PHP warnings
263
+ * Saving a form only once, directly after adding or removing conditions, caused conditional logic not to work. This is fixed now. Thanks to @cpaprotna for pointing me in the right direction. (https://wordpress.org/support/topic/no-more-than-3-conditional-statements/)
264
+ * Fix validation error with hidden checkbox groups (https://wordpress.org/support/topic/hidden-group-required-field-is-showing-error/)
265
+
266
+ = 0.2.6 =
267
+ * Fixed problems with exclusive checkboxes in IE (https://wordpress.org/support/topic/internet-explorer-conditional-exclusive-checkboxes/)
268
+
269
+ = 0.2.5 =
270
+ * Changed deprecated function wpcf7_add_shortcode to wpcf7_add_form_tag as it was causing errors in debug mode. (https://wordpress.org/support/topic/wpcf7_add_shortcode-deprecated-notice-2/)
271
+ * Removed the hide option and fixed the not-equals option for single checkboxes
272
+
273
+ = 0.2.4 =
274
+ * Fixed bug that destroyed the conditional fields in email functionality
275
+
276
+ = 0.2.3 =
277
+ * Added support for conditional fields in the other email fields (subject, sender, recipient, additional_headers). Thanks @stevish!
278
+ * WP 4.7 broke the required conditional fields inside hidden groups, implemented in version 0.2. Thanks again to @stevish for pointing this out.
279
+ * Got rid of checking which groups are hidden both on the front-end (JS) and in the back-end (PHP). Now this is only done in the front-end.
280
+ * Tested the plugin with WP 4.7
281
+
282
+ = 0.2.2 =
283
+ * Prevent strict standards notice to appear while adding new group via the "Conditional Fields Group" popup.
284
+ * Only load cf7cf admin styles and scripts on cf7 pages.
285
+ * groups are now reset to their initial states after the form is successfully submitted.
286
+
287
+ = 0.2.1 =
288
+ * Bug fix: arrow kept spinning after submitting a form without conditional fields. (https://wordpress.org/support/topic/version-0-2-gives-a-continues-spinning-arrow-after-submitting/)
289
+ * Removed anonymous functions from code, so the plugin also works for PHP versions older than 5.3.
290
+ * Suppress errors generated if user uses invalid HTML markup in their form code. These errors could prevent form success message from appearing.
291
+
292
+ = 0.2 =
293
+ * Added support for required conditional fields inside hidden groups. A big thank you to @stevish for implementing this.
294
+ * Added support for conditional fields in the email messages. This one also goes entirely to @stevish. Thanks man!
295
+ * Added @stevish as a contributer to the project :)
296
+ * Fix form not working in widgets or other places outside of the loop. Thanks to @ciprianolaru for the solution (https://wordpress.org/support/topic/problem-with-unit_tag-when-not-in-the-loop-form-not-used-in-post-or-page/#post-8299801)
297
+
298
+ = 0.1.7 =
299
+ * Fix popup warning to leave page even tough no changes have been made. Thanks to @hhmaster2045 for reporting the bug. https://wordpress.org/support/topic/popup-warning-to-leave-page-even-though-no-changes-have-been-made
300
+ * Added export option for easier troubleshooting.
301
+ * Don't include front end javascript in backend.
302
+
303
+ = 0.1.6 =
304
+ * made compatible with wpcf7-form-control-signature-wrap plugin https://wordpress.org/support/topic/signature-add-on-not-working
305
+
306
+ = 0.1.5 =
307
+ * fixed PHP notice thanks to @natalia_c https://wordpress.org/support/topic/php-notice-80
308
+ * tested with WP 4.5.3
309
+
310
+ = 0.1.4 =
311
+ * Prevent conflicts between different forms on one page.
312
+ * Prevent conflicts between multiple instances of the same form on one page. (https://wordpress.org/support/topic/bug-153)
313
+ * Changed regex to convert \[group\] tags to &lt;div&gt; tags, as it was posing some conflicts with other plugins (https://wordpress.org/support/topic/plugin-influence-cf7-send-button-style)
314
+
315
+ = 0.1.3 =
316
+ * Removed fielset, id and class attributes for group tags, because they weren't used anyway and broke the shortcode
317
+ * If extra attributes are added to the group shortcode, this will no longer break functionality (even though no attributes are supported)
318
+
319
+ = 0.1.2 =
320
+ * Make code work with select element that allows multiple options.
321
+ * Only load javascript on pages that contain a CF7 form
322
+
323
+ = 0.1.1 =
324
+ Fixed bug with exclusive checkboxes (https://wordpress.org/support/topic/groups-not-showing)
325
+
326
+ = 0.1 =
327
+ First release
328
+
329
+
style.css CHANGED
@@ -13,10 +13,61 @@
13
  flex-wrap: wrap;
14
  }
15
 
 
 
 
 
16
  .wpcf7cf_multistep .wpcf7cf_step {
17
- display:none;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  }
19
 
 
 
 
 
 
20
 
21
  .page-template-tpl-form-tester .wpcf7cf_repeater {
22
  border: 3px solid #f0f0f0;
13
  flex-wrap: wrap;
14
  }
15
 
16
+ .wpcf7cf_steps {
17
+ /* display:flex; */
18
+ }
19
+
20
  .wpcf7cf_multistep .wpcf7cf_step {
21
+ /* display:none; */
22
+ width: 100%;
23
+ }
24
+
25
+ .wpcf7cf_multistep .wpcf7cf_steps-dots {
26
+ display: flex;
27
+ width: 100%;
28
+ margin-bottom: 20px;
29
+ }
30
+
31
+ .wpcf7cf_multistep .wpcf7cf_steps-dots .dot .step-index {
32
+ display: inline-block;
33
+ border-radius: 50%;
34
+ background: #dfdfdf;
35
+ color: #000000;
36
+ width: 40px;
37
+ height: 40px;
38
+ line-height: 40px;
39
+ text-align: center;
40
+ }
41
+
42
+ .wpcf7cf_multistep .wpcf7cf_steps-dots .dot {
43
+ border-bottom: 5px solid #dfdfdf;
44
+ text-align: center;
45
+ flex: 1;
46
+ padding: 15px;
47
+ }
48
+ .wpcf7cf_multistep .wpcf7cf_steps-dots .dot.completed {
49
+ border-bottom: 5px solid #333;
50
+ }
51
+ .wpcf7cf_multistep .wpcf7cf_steps-dots .dot.active {
52
+ border-bottom: 5px solid #333;
53
+ font-weight: bold;
54
+ }
55
+
56
+ .wpcf7cf_multistep .wpcf7cf_steps-dots .dot.completed .step-index {
57
+ background-color: #333;
58
+ color: #ffffff;
59
+ }
60
+
61
+ .wpcf7cf_multistep .wpcf7cf_steps-dots .dot.active .step-index {
62
+ background-color: #333;
63
+ color: #ffffff;
64
  }
65
 
66
+ .wpcf7cf_step_controls .disabled {
67
+ pointer-events: none;
68
+ cursor: default;
69
+ opacity: .5;
70
+ }
71
 
72
  .page-template-tpl-form-tester .wpcf7cf_repeater {
73
  border: 3px solid #f0f0f0;