Metform Elementor Contact Form Builder – Flexible and Design-Friendly Contact Form builder plugin for WordPress - Version 1.5.5

Version Description

Metform 1.3.0-beta1 is a major update. We have reconstructed the widgets with react and huge optimization for future proof. If you faced any issue please contact our support team from here https://wpmet.com/support-ticket

Download this release

Release Info

Developer ataurr
Plugin Icon 128x128 Metform Elementor Contact Form Builder – Flexible and Design-Friendly Contact Form builder plugin for WordPress
Version 1.5.5
Comparing to
See all releases

Code changes from version 1.5.4 to 1.5.5

core/admin/views/settings.php CHANGED
@@ -613,6 +613,8 @@ $settings = \MetForm\Core\Admin\Base::instance()->get_settings_option();
613
  <a class="attr-nav-item attr-nav-link" data-toggle="tab" href="#attr-ckit-tab" role="tab" aria-controls="nav-profile" aria-selected="false"><?php esc_html_e('ConvertKit', 'metform'); ?></a>
614
  </li>
615
 
 
 
616
  <?php endif; ?>
617
  </ul>
618
  </div>
@@ -757,6 +759,8 @@ $settings = \MetForm\Core\Admin\Base::instance()->get_settings_option();
757
  </div>
758
  </div>
759
 
 
 
760
  <?php endif; ?>
761
 
762
  <div class="attr-tab-pane attr-fade" id="attr-activeCampaign-tab" role="tabpanel" aria-labelledby="nav-contact-tab">
613
  <a class="attr-nav-item attr-nav-link" data-toggle="tab" href="#attr-ckit-tab" role="tab" aria-controls="nav-profile" aria-selected="false"><?php esc_html_e('ConvertKit', 'metform'); ?></a>
614
  </li>
615
 
616
+ <?php do_action( 'get_pro_settings_tab_for_newsletter_integration' ); ?>
617
+
618
  <?php endif; ?>
619
  </ul>
620
  </div>
759
  </div>
760
  </div>
761
 
762
+ <?php do_action( 'get_pro_settings_tab_content_for_newsletter_integration', $settings ); ?>
763
+
764
  <?php endif; ?>
765
 
766
  <div class="attr-tab-pane attr-fade" id="attr-activeCampaign-tab" role="tabpanel" aria-labelledby="nav-contact-tab">
core/entries/action.php CHANGED
@@ -566,11 +566,13 @@ class Action
566
  */
567
 
568
  if (class_exists('WooCommerce')) {
569
- if (class_exists('\MetForm_Pro\Core\Integrations\Ecommerce\Woocommerce\Pay')) {
 
570
 
571
  $woo_pay = new \MetForm_Pro\Core\Integrations\Ecommerce\Woocommerce\Pay();
572
  $woo_pay->action($form_data, $this->entry_id);
573
  }
 
574
  }
575
 
576
  /**
566
  */
567
 
568
  if (class_exists('WooCommerce')) {
569
+
570
+ if ( isset($_POST['mf-woo-checkout']) && $_POST['mf-woo-checkout'] == 'yes' && class_exists('\MetForm_Pro\Core\Integrations\Ecommerce\Woocommerce\Pay')) {
571
 
572
  $woo_pay = new \MetForm_Pro\Core\Integrations\Ecommerce\Woocommerce\Pay();
573
  $woo_pay->action($form_data, $this->entry_id);
574
  }
575
+
576
  }
577
 
578
  /**
core/forms/cpt.php CHANGED
@@ -124,6 +124,15 @@ class Cpt extends \MetForm\Base\Cpt
124
  'name' => 'mf_get_response_list_id'
125
  ],
126
 
 
 
 
 
 
 
 
 
 
127
 
128
  'mf_rest_api' => [
129
  'name' => 'mf_rest_api',
@@ -379,6 +388,10 @@ class Cpt extends \MetForm\Base\Cpt
379
  ],
380
  'mf_google_sheet_client_secret' => [
381
  'name' => 'mf_google_sheet_client_secret'
 
 
 
 
382
  ]
383
  ];
384
 
124
  'name' => 'mf_get_response_list_id'
125
  ],
126
 
127
+ 'mf_automizy' => [
128
+ 'name' => 'mf_automizy',
129
+ ],
130
+ 'mf_automizy_api_token' => [
131
+ 'name' => 'mf_automizy_api_token'
132
+ ],
133
+ 'mf_automizy_list_id' => [
134
+ 'name' => 'mf_automizy_list_id'
135
+ ],
136
 
137
  'mf_rest_api' => [
138
  'name' => 'mf_rest_api',
388
  ],
389
  'mf_google_sheet_client_secret' => [
390
  'name' => 'mf_google_sheet_client_secret'
391
+ ],
392
+ //automizy
393
+ 'mf_automizy_list_id' => [
394
+ 'name' => 'mf_automizy_list_id'
395
  ]
396
  ];
397
 
core/forms/views/modal-editor.php CHANGED
@@ -357,6 +357,8 @@
357
 
358
  <?php endif ?>
359
 
 
 
360
 
361
  <?php if (class_exists('\MetForm_Pro\Core\Integrations\Email\Getresponse\Get_Response')) : ?>
362
  <div class="mf-input-group">
357
 
358
  <?php endif ?>
359
 
360
+ <?php do_action( 'get_automixy_settings_content' ); ?>
361
+
362
 
363
  <?php if (class_exists('\MetForm_Pro\Core\Integrations\Email\Getresponse\Get_Response')) : ?>
364
  <div class="mf-input-group">
languages/metform.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the GPL-2.0+.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: MetForm 1.5.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/metform\n"
7
- "POT-Creation-Date: 2021-08-19 13:12:52+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -140,7 +140,7 @@ msgstr ""
140
  msgid "All newsletter integration info here"
141
  msgstr ""
142
 
143
- #: core/admin/views/settings.php:59 core/admin/views/settings.php:904
144
  msgid "Google Sheet Integration"
145
  msgstr ""
146
 
@@ -150,7 +150,7 @@ msgstr ""
150
 
151
  #: core/admin/views/settings.php:83 core/admin/views/settings.php:305
152
  #: core/admin/views/settings.php:426 core/admin/views/settings.php:589
153
- #: core/admin/views/settings.php:906
154
  msgid "Save Changes"
155
  msgstr ""
156
 
@@ -346,8 +346,8 @@ msgstr ""
346
  #: core/admin/views/settings.php:397 core/admin/views/settings.php:456
347
  #: core/admin/views/settings.php:464 core/admin/views/settings.php:496
348
  #: core/admin/views/settings.php:504 core/admin/views/settings.php:523
349
- #: core/admin/views/settings.php:530 core/admin/views/settings.php:925
350
- #: core/admin/views/settings.php:932
351
  msgid "Create from here"
352
  msgstr ""
353
 
@@ -505,189 +505,189 @@ msgstr ""
505
  msgid "ConvertKit"
506
  msgstr ""
507
 
508
- #: core/admin/views/settings.php:626 core/admin/views/settings.php:723
509
- #: core/admin/views/settings.php:775 core/admin/views/settings.php:802
510
  msgid "API Key:"
511
  msgstr ""
512
 
513
- #: core/admin/views/settings.php:627
514
  msgid "Mailchimp api key"
515
  msgstr ""
516
 
517
- #: core/admin/views/settings.php:629
518
  msgid "Enter here your Mailchimp api key. "
519
  msgstr ""
520
 
521
- #: core/admin/views/settings.php:629 core/admin/views/settings.php:663
522
- #: core/admin/views/settings.php:671 core/admin/views/settings.php:726
523
- #: core/admin/views/settings.php:735 core/admin/views/settings.php:770
524
- #: core/admin/views/settings.php:778 core/admin/views/settings.php:805
525
  msgid "Get API."
526
  msgstr ""
527
 
528
- #: core/admin/views/settings.php:638 core/admin/views/settings.php:703
529
- #: core/admin/views/settings.php:745 core/admin/views/settings.php:786
530
- #: core/admin/views/settings.php:813 core/admin/views/settings.php:846
531
- #: core/admin/views/settings.php:873
532
  msgid "How To"
533
  msgstr ""
534
 
535
- #: core/admin/views/settings.php:639 core/admin/views/settings.php:704
536
- #: core/admin/views/settings.php:746 core/admin/views/settings.php:787
537
- #: core/admin/views/settings.php:814 core/admin/views/settings.php:847
538
- #: core/admin/views/settings.php:874
539
  msgid ""
540
  "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. "
541
  "Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse "
542
  "urna nibh, viverra non, semper suscipit, posuere a, pede."
543
  msgstr ""
544
 
545
- #: core/admin/views/settings.php:642 core/admin/views/settings.php:707
546
- #: core/admin/views/settings.php:749 core/admin/views/settings.php:790
547
- #: core/admin/views/settings.php:817 core/admin/views/settings.php:850
548
- #: core/admin/views/settings.php:877
549
  msgid "Item 1"
550
  msgstr ""
551
 
552
- #: core/admin/views/settings.php:643 core/admin/views/settings.php:708
553
- #: core/admin/views/settings.php:750 core/admin/views/settings.php:791
554
- #: core/admin/views/settings.php:818 core/admin/views/settings.php:851
555
- #: core/admin/views/settings.php:878
556
  msgid "Item 2"
557
  msgstr ""
558
 
559
- #: core/admin/views/settings.php:644 core/admin/views/settings.php:709
560
- #: core/admin/views/settings.php:751 core/admin/views/settings.php:792
561
- #: core/admin/views/settings.php:819 core/admin/views/settings.php:852
562
- #: core/admin/views/settings.php:879
563
  msgid "Item 3"
564
  msgstr ""
565
 
566
- #: core/admin/views/settings.php:647 core/admin/views/settings.php:712
567
- #: core/admin/views/settings.php:754 core/admin/views/settings.php:795
568
- #: core/admin/views/settings.php:822 core/admin/views/settings.php:855
569
- #: core/admin/views/settings.php:882
570
  msgid "View Documentation"
571
  msgstr ""
572
 
573
- #: core/admin/views/settings.php:660
574
  msgid "Developer App ID:"
575
  msgstr ""
576
 
577
- #: core/admin/views/settings.php:661
578
  msgid "Aweber developer clientId key"
579
  msgstr ""
580
 
581
- #: core/admin/views/settings.php:663
582
  msgid "Enter here your Aweber developer app key. "
583
  msgstr ""
584
 
585
- #: core/admin/views/settings.php:668
586
  msgid "Developer App Secret:"
587
  msgstr ""
588
 
589
- #: core/admin/views/settings.php:669
590
  msgid "Aweber developer secret key"
591
  msgstr ""
592
 
593
- #: core/admin/views/settings.php:671
594
  msgid "Enter here your Aweber developer secret key. "
595
  msgstr ""
596
 
597
- #: core/admin/views/settings.php:676
598
  msgid "Redirect url:"
599
  msgstr ""
600
 
601
- #: core/admin/views/settings.php:724 core/admin/views/settings.php:733
602
  msgid "ConvertKit api key"
603
  msgstr ""
604
 
605
- #: core/admin/views/settings.php:726 core/admin/views/settings.php:735
606
  msgid "Enter here your ConvertKit api key. "
607
  msgstr ""
608
 
609
- #: core/admin/views/settings.php:732
610
  msgid "Secret Key:"
611
  msgstr ""
612
 
613
- #: core/admin/views/settings.php:767
614
  msgid "API URL:"
615
  msgstr ""
616
 
617
- #: core/admin/views/settings.php:768
618
  msgid "ActiveCampaign API URL"
619
  msgstr ""
620
 
621
- #: core/admin/views/settings.php:770 core/admin/views/settings.php:778
622
- #: core/admin/views/settings.php:805
623
  msgid "Enter here your ActiveCampaign api key. "
624
  msgstr ""
625
 
626
- #: core/admin/views/settings.php:776 core/admin/views/settings.php:803
627
  msgid "ActiveCampaign api key"
628
  msgstr ""
629
 
630
- #: core/admin/views/settings.php:836 core/admin/views/settings.php:863
631
  msgid "GetResponse API Key:"
632
  msgstr ""
633
 
634
- #: core/admin/views/settings.php:837 core/admin/views/settings.php:864
635
  msgid "GetResponse api key"
636
  msgstr ""
637
 
638
- #: core/admin/views/settings.php:911
639
  msgid "Google Sheet"
640
  msgstr ""
641
 
642
- #: core/admin/views/settings.php:922
643
  msgid "Google Client Id:"
644
  msgstr ""
645
 
646
- #: core/admin/views/settings.php:923
647
  msgid "Google OAuth Client Id"
648
  msgstr ""
649
 
650
- #: core/admin/views/settings.php:925
651
  msgid "Enter here your google client id. "
652
  msgstr ""
653
 
654
- #: core/admin/views/settings.php:929
655
  msgid "Google Client Secret:"
656
  msgstr ""
657
 
658
- #: core/admin/views/settings.php:930
659
  msgid "Google OAuth Client Secret"
660
  msgstr ""
661
 
662
- #: core/admin/views/settings.php:932
663
  msgid "Enter here your google secret id. "
664
  msgstr ""
665
 
666
- #: core/admin/views/settings.php:939
667
  msgid "Check how to create App/Project On Google developer account"
668
  msgstr ""
669
 
670
- #: core/admin/views/settings.php:940
671
  msgid "Must add the following URL to the \"Valid OAuth redirect URIs\" field:"
672
  msgstr ""
673
 
674
- #: core/admin/views/settings.php:941
675
  msgid "After getting the App ID & App Secret, put those information"
676
  msgstr ""
677
 
678
- #: core/admin/views/settings.php:942
679
  msgid "Click on \"Save Changes\""
680
  msgstr ""
681
 
682
- #: core/admin/views/settings.php:943
683
  msgid "Click on \"Genarate Access Token\""
684
  msgstr ""
685
 
686
- #: core/admin/views/settings.php:945
687
  msgid "Genarate Access Token"
688
  msgstr ""
689
 
690
- #: core/admin/views/settings.php:948
691
  msgid ""
692
  "Note:- After 200 days your token will be expired, before the expiry of your "
693
  "token, generate a new token."
@@ -733,19 +733,19 @@ msgstr ""
733
  msgid " Please wait... Open a Stripe Popup Box."
734
  msgstr ""
735
 
736
- #: core/entries/action.php:655
737
  msgid "ssl certificate or google oauth credentials problem"
738
  msgstr ""
739
 
740
- #: core/entries/action.php:735
741
  msgid "Mail not found."
742
  msgstr ""
743
 
744
- #: core/entries/action.php:777
745
  msgid "Admin mail not found to send email."
746
  msgstr ""
747
 
748
- #: core/entries/action.php:866
749
  msgid "There was an error uploading your file. The error is: "
750
  msgstr ""
751
 
@@ -761,7 +761,7 @@ msgstr ""
761
  msgid "Entry Attributes"
762
  msgstr ""
763
 
764
- #: core/entries/cpt.php:20 core/forms/cpt.php:398
765
  msgid "Parent Item:"
766
  msgstr ""
767
 
@@ -773,7 +773,7 @@ msgstr ""
773
  msgid "Add New Item"
774
  msgstr ""
775
 
776
- #: core/entries/cpt.php:23 core/forms/cpt.php:401
777
  msgid "Add New"
778
  msgstr ""
779
 
@@ -801,27 +801,27 @@ msgstr ""
801
  msgid "Search Item"
802
  msgstr ""
803
 
804
- #: core/entries/cpt.php:30 core/forms/cpt.php:408
805
  msgid "Not found"
806
  msgstr ""
807
 
808
- #: core/entries/cpt.php:31 core/forms/cpt.php:409
809
  msgid "Not found in Trash"
810
  msgstr ""
811
 
812
- #: core/entries/cpt.php:32 core/forms/cpt.php:410
813
  msgid "Featured Image"
814
  msgstr ""
815
 
816
- #: core/entries/cpt.php:33 core/forms/cpt.php:411
817
  msgid "Set featured image"
818
  msgstr ""
819
 
820
- #: core/entries/cpt.php:34 core/forms/cpt.php:412
821
  msgid "Remove featured image"
822
  msgstr ""
823
 
824
- #: core/entries/cpt.php:35 core/forms/cpt.php:413
825
  msgid "Use as featured image"
826
  msgstr ""
827
 
@@ -931,71 +931,71 @@ msgstr ""
931
  msgid "You must enable \"store entries\" for integrating payment method."
932
  msgstr ""
933
 
934
- #: core/forms/cpt.php:394 core/forms/cpt.php:395 widgets/form.php:47
935
  msgid "Form"
936
  msgstr ""
937
 
938
- #: core/forms/cpt.php:396
939
  msgid "Form Archives"
940
  msgstr ""
941
 
942
- #: core/forms/cpt.php:397
943
  msgid "Form Attributes"
944
  msgstr ""
945
 
946
- #: core/forms/cpt.php:399 core/forms/cpt.php:427
947
  msgid "Forms"
948
  msgstr ""
949
 
950
- #: core/forms/cpt.php:400
951
  msgid "Add New Form"
952
  msgstr ""
953
 
954
- #: core/forms/cpt.php:402
955
  msgid "New Form"
956
  msgstr ""
957
 
958
- #: core/forms/cpt.php:403
959
  msgid "Edit Form"
960
  msgstr ""
961
 
962
- #: core/forms/cpt.php:404
963
  msgid "Update Form"
964
  msgstr ""
965
 
966
- #: core/forms/cpt.php:405
967
  msgid "View Form"
968
  msgstr ""
969
 
970
- #: core/forms/cpt.php:406
971
  msgid "View Forms"
972
  msgstr ""
973
 
974
- #: core/forms/cpt.php:407
975
  msgid "Search Forms"
976
  msgstr ""
977
 
978
- #: core/forms/cpt.php:414
979
  msgid "Insert into form"
980
  msgstr ""
981
 
982
- #: core/forms/cpt.php:415
983
  msgid "Uploaded to this form"
984
  msgstr ""
985
 
986
- #: core/forms/cpt.php:416
987
  msgid "Forms list"
988
  msgstr ""
989
 
990
- #: core/forms/cpt.php:417
991
  msgid "Forms list navigation"
992
  msgstr ""
993
 
994
- #: core/forms/cpt.php:418
995
  msgid "Filter froms list"
996
  msgstr ""
997
 
998
- #: core/forms/cpt.php:428
999
  msgid "metform form"
1000
  msgstr ""
1001
 
@@ -1139,7 +1139,7 @@ msgstr ""
1139
  msgid "Want to send a submission copy to user by email? Active this one."
1140
  msgstr ""
1141
 
1142
- #: core/forms/views/modal-editor.php:134 core/forms/views/modal-editor.php:510
1143
  msgid "The form must have at least one Email widget and it should be required."
1144
  msgstr ""
1145
 
@@ -1287,8 +1287,8 @@ msgstr ""
1287
 
1288
  #: core/forms/views/modal-editor.php:251 core/forms/views/modal-editor.php:289
1289
  #: core/forms/views/modal-editor.php:318 core/forms/views/modal-editor.php:340
1290
- #: core/forms/views/modal-editor.php:368 core/forms/views/modal-editor.php:403
1291
- #: core/forms/views/modal-editor.php:470
1292
  msgid "The form must have at least one Email widget and it should be required. "
1293
  msgstr ""
1294
 
@@ -1337,8 +1337,8 @@ msgid "Enter here MailPoet list id. "
1337
  msgstr ""
1338
 
1339
  #: core/forms/views/modal-editor.php:305 core/forms/views/modal-editor.php:329
1340
- #: core/forms/views/modal-editor.php:352 core/forms/views/modal-editor.php:425
1341
- #: core/forms/views/modal-editor.php:449
1342
  msgid "Refresh List"
1343
  msgstr ""
1344
 
@@ -1382,223 +1382,223 @@ msgstr ""
1382
  msgid "Enter here ConvertKit form id. "
1383
  msgstr ""
1384
 
1385
- #: core/forms/views/modal-editor.php:365
1386
  msgid "GetResponse:"
1387
  msgstr ""
1388
 
1389
- #: core/forms/views/modal-editor.php:368
1390
  msgid "Integrate GetResponse with this form."
1391
  msgstr ""
1392
 
1393
- #: core/forms/views/modal-editor.php:368
1394
  msgid "Configure GetResponse."
1395
  msgstr ""
1396
 
1397
- #: core/forms/views/modal-editor.php:374
1398
  msgid "GetResponse List ID:"
1399
  msgstr ""
1400
 
1401
- #: core/forms/views/modal-editor.php:382
1402
  msgid "GetResponse contact list id"
1403
  msgstr ""
1404
 
1405
- #: core/forms/views/modal-editor.php:383
1406
  msgid "Enter here GetResponse list id. "
1407
  msgstr ""
1408
 
1409
- #: core/forms/views/modal-editor.php:400
1410
  msgid "ActiveCampaign:"
1411
  msgstr ""
1412
 
1413
- #: core/forms/views/modal-editor.php:403
1414
  msgid "Integrate ActiveCampaign with this form."
1415
  msgstr ""
1416
 
1417
- #: core/forms/views/modal-editor.php:403
1418
  msgid "Configure ActiveCampaign."
1419
  msgstr ""
1420
 
1421
- #: core/forms/views/modal-editor.php:408
1422
  msgid "Active campaign List ID:"
1423
  msgstr ""
1424
 
1425
- #: core/forms/views/modal-editor.php:424
1426
  msgid "Enter here list id. "
1427
  msgstr ""
1428
 
1429
- #: core/forms/views/modal-editor.php:432
1430
  msgid "Active campaign Tag ID:"
1431
  msgstr ""
1432
 
1433
- #: core/forms/views/modal-editor.php:448
1434
  msgid "Enter here tag id. "
1435
  msgstr ""
1436
 
1437
- #: core/forms/views/modal-editor.php:467
1438
  msgid "Mailster:"
1439
  msgstr ""
1440
 
1441
- #: core/forms/views/modal-editor.php:470
1442
  msgid "Integrate Mailster with this form."
1443
  msgstr ""
1444
 
1445
- #: core/forms/views/modal-editor.php:476
1446
  msgid "Mailster Forms"
1447
  msgstr ""
1448
 
1449
- #: core/forms/views/modal-editor.php:508
1450
  msgid "Zapier:"
1451
  msgstr ""
1452
 
1453
- #: core/forms/views/modal-editor.php:510
1454
  msgid "Integrate zapier with this form."
1455
  msgstr ""
1456
 
1457
- #: core/forms/views/modal-editor.php:514
1458
  msgid "Zapier webhook:"
1459
  msgstr ""
1460
 
1461
- #: core/forms/views/modal-editor.php:515
1462
  msgid "Zapier webhook"
1463
  msgstr ""
1464
 
1465
- #: core/forms/views/modal-editor.php:516
1466
  msgid "Enter here zapier web hook."
1467
  msgstr ""
1468
 
1469
- #: core/forms/views/modal-editor.php:525
1470
  msgid "Slack:"
1471
  msgstr ""
1472
 
1473
- #: core/forms/views/modal-editor.php:527
1474
  msgid "Integrate slack with this form."
1475
  msgstr ""
1476
 
1477
- #: core/forms/views/modal-editor.php:527
1478
  msgid "slack info."
1479
  msgstr ""
1480
 
1481
- #: core/forms/views/modal-editor.php:531
1482
  msgid "Slack webhook:"
1483
  msgstr ""
1484
 
1485
- #: core/forms/views/modal-editor.php:532
1486
  msgid "Slack webhook"
1487
  msgstr ""
1488
 
1489
- #: core/forms/views/modal-editor.php:533
1490
  msgid "Enter here slack web hook."
1491
  msgstr ""
1492
 
1493
- #: core/forms/views/modal-editor.php:533
1494
  msgid "create from here"
1495
  msgstr ""
1496
 
1497
- #: core/forms/views/modal-editor.php:547
1498
  msgid "Success url:"
1499
  msgstr ""
1500
 
1501
- #: core/forms/views/modal-editor.php:550
1502
  msgid "Success url"
1503
  msgstr ""
1504
 
1505
- #: core/forms/views/modal-editor.php:552
1506
  msgid ""
1507
  "Users will be redirected to the this link after successfully form "
1508
  "submission."
1509
  msgstr ""
1510
 
1511
- #: core/forms/views/modal-editor.php:557
1512
  msgid "Failed/ Cancel url:"
1513
  msgstr ""
1514
 
1515
- #: core/forms/views/modal-editor.php:560
1516
  msgid "Failed/Cancel url"
1517
  msgstr ""
1518
 
1519
- #: core/forms/views/modal-editor.php:562
1520
  msgid ""
1521
  "Users will be redirected to the this link after any failure/ cancelation of "
1522
  "form submission."
1523
  msgstr ""
1524
 
1525
- #: core/forms/views/modal-editor.php:568
1526
  msgid "Paypal:"
1527
  msgstr ""
1528
 
1529
- #: core/forms/views/modal-editor.php:570
1530
  msgid "Integrate paypal payment with this form."
1531
  msgstr ""
1532
 
1533
- #: core/forms/views/modal-editor.php:570
1534
  msgid "Configure paypal payment."
1535
  msgstr ""
1536
 
1537
- #: core/forms/views/modal-editor.php:579
1538
  msgid "Stripe:"
1539
  msgstr ""
1540
 
1541
- #: core/forms/views/modal-editor.php:581
1542
  msgid "Integrate stripe payment with this form. "
1543
  msgstr ""
1544
 
1545
- #: core/forms/views/modal-editor.php:581
1546
  msgid "Configure stripe payment."
1547
  msgstr ""
1548
 
1549
- #: core/forms/views/modal-editor.php:597
1550
  msgid "Hubspot Contact:"
1551
  msgstr ""
1552
 
1553
- #: core/forms/views/modal-editor.php:599
1554
  msgid "Integrate hubspot with this form. "
1555
  msgstr ""
1556
 
1557
- #: core/forms/views/modal-editor.php:599
1558
  msgid "Configure Hubspot."
1559
  msgstr ""
1560
 
1561
- #: core/forms/views/modal-editor.php:606
1562
  msgid "Hubspot Forms:"
1563
  msgstr ""
1564
 
1565
- #: core/forms/views/modal-editor.php:614
1566
  msgid "Fetch hubspot forms"
1567
  msgstr ""
1568
 
1569
- #: core/forms/views/modal-editor.php:637
1570
  msgid "Zoho Contact:"
1571
  msgstr ""
1572
 
1573
- #: core/forms/views/modal-editor.php:639
1574
  msgid "Integrate Zoho contacts with this form. "
1575
  msgstr ""
1576
 
1577
- #: core/forms/views/modal-editor.php:639
1578
  msgid "Configure Zoho."
1579
  msgstr ""
1580
 
1581
- #: core/forms/views/modal-editor.php:649
1582
  msgid "Helpscout"
1583
  msgstr ""
1584
 
1585
- #: core/forms/views/modal-editor.php:651
1586
  msgid "Integrate Helpscout with this form. "
1587
  msgstr ""
1588
 
1589
- #: core/forms/views/modal-editor.php:651
1590
  msgid "Configure Helpscout."
1591
  msgstr ""
1592
 
1593
- #: core/forms/views/modal-editor.php:656
1594
  msgid "Available Mailboxes"
1595
  msgstr ""
1596
 
1597
- #: core/forms/views/modal-editor.php:693
1598
  msgid "Edit content"
1599
  msgstr ""
1600
 
1601
- #: core/forms/views/modal-editor.php:695
1602
  msgid "Save changes"
1603
  msgstr ""
1604
 
@@ -1615,37 +1615,37 @@ msgstr ""
1615
  msgid "Your data inserted on slack."
1616
  msgstr ""
1617
 
1618
- #: plugin.php:381
1619
  msgid "Activate Elementor"
1620
  msgstr ""
1621
 
1622
- #: plugin.php:388
1623
  msgid "Install Elementor"
1624
  msgstr ""
1625
 
1626
- #: plugin.php:392 plugin.php:424
1627
  msgid "MetForm requires Elementor version %1$s+, which is currently NOT RUNNING."
1628
  msgstr ""
1629
 
1630
- #: plugin.php:407
1631
  msgid "MetForm Pro"
1632
  msgstr ""
1633
 
1634
- #: plugin.php:411 plugin.php:427
1635
  msgid "We have MetForm Pro version. Check out our pro feature."
1636
  msgstr ""
1637
 
1638
- #: plugin.php:423
1639
  msgid "Update Elementor"
1640
  msgstr ""
1641
 
1642
- #: traits/button-controls.php:24 widgets/date/date.php:415
1643
  #: widgets/email/email.php:87 widgets/file-upload/file-upload.php:187
1644
  #: widgets/listing-fname/listing-fname.php:64
1645
  #: widgets/listing-lname/listing-lname.php:64
1646
  #: widgets/multi-select/multi-select.php:148 widgets/number/number.php:64
1647
  #: widgets/password/password.php:64 widgets/range/range.php:133
1648
- #: widgets/rating/rating.php:85 widgets/recaptcha/recaptcha.php:59
1649
  #: widgets/select/select.php:148 widgets/simple-captcha/simple-captcha.php:123
1650
  #: widgets/summary/summary.php:69 widgets/switch/switch.php:91
1651
  #: widgets/telephone/telephone.php:64 widgets/text/text.php:64
@@ -1725,7 +1725,7 @@ msgid "Input List"
1725
  msgstr ""
1726
 
1727
  #: traits/button-controls.php:162 traits/common-controls.php:345
1728
- #: traits/common-controls.php:474 traits/common-controls.php:819
1729
  #: widgets/checkbox/checkbox.php:215 widgets/file-upload/file-upload.php:353
1730
  #: widgets/gdpr-consent/gdpr-consent.php:170
1731
  #: widgets/gdpr-consent/gdpr-consent.php:253
@@ -1738,7 +1738,7 @@ msgstr ""
1738
 
1739
  #: traits/button-controls.php:182 traits/common-controls.php:334
1740
  #: traits/common-controls.php:702 traits/common-controls.php:755
1741
- #: traits/common-controls.php:794 widgets/gdpr-consent/gdpr-consent.php:159
1742
  #: widgets/rating/rating.php:250 widgets/simple-captcha/simple-captcha.php:181
1743
  #: widgets/switch/switch.php:200 widgets/switch/switch.php:242
1744
  msgid "Typography"
@@ -1875,24 +1875,24 @@ msgid "Required ?"
1875
  msgstr ""
1876
 
1877
  #: traits/common-controls.php:131 widgets/checkbox/checkbox.php:122
1878
- #: widgets/date/date.php:187 widgets/date/date.php:199
1879
- #: widgets/date/date.php:211 widgets/date/date.php:223
1880
- #: widgets/date/date.php:384 widgets/date/date.php:396
1881
- #: widgets/email/email.php:55 widgets/multi-select/multi-select.php:83
1882
- #: widgets/radio/radio.php:124 widgets/range/range.php:97
1883
- #: widgets/select/select.php:83 widgets/switch/switch.php:48
1884
- #: widgets/time/time.php:73
1885
  msgid "Yes"
1886
  msgstr ""
1887
 
1888
  #: traits/common-controls.php:132 widgets/checkbox/checkbox.php:123
1889
- #: widgets/date/date.php:188 widgets/date/date.php:200
1890
- #: widgets/date/date.php:212 widgets/date/date.php:224
1891
- #: widgets/date/date.php:385 widgets/date/date.php:397
1892
- #: widgets/email/email.php:56 widgets/multi-select/multi-select.php:84
1893
- #: widgets/radio/radio.php:125 widgets/range/range.php:98
1894
- #: widgets/select/select.php:84 widgets/switch/switch.php:56
1895
- #: widgets/time/time.php:74
1896
  msgid "No"
1897
  msgstr ""
1898
 
@@ -1937,13 +1937,13 @@ msgid "Warning message"
1937
  msgstr ""
1938
 
1939
  #: traits/common-controls.php:209 widgets/checkbox/checkbox.php:396
1940
- #: widgets/date/date.php:525 widgets/email/email.php:155
1941
  #: widgets/file-upload/file-upload.php:437
1942
  #: widgets/gdpr-consent/gdpr-consent.php:433
1943
  #: widgets/listing-fname/listing-fname.php:143
1944
  #: widgets/listing-lname/listing-lname.php:143
1945
  #: widgets/listing-optin/listing-optin.php:304
1946
- #: widgets/multi-select/multi-select.php:209 widgets/number/number.php:128
1947
  #: widgets/password/password.php:143 widgets/radio/radio.php:396
1948
  #: widgets/range/range.php:238 widgets/rating/rating.php:296
1949
  #: widgets/select/select.php:383 widgets/switch/switch.php:292
@@ -1972,8 +1972,8 @@ msgstr ""
1972
  msgid "Width"
1973
  msgstr ""
1974
 
1975
- #: traits/common-controls.php:315 traits/common-controls.php:764
1976
- #: traits/common-controls.php:803 widgets/file-upload/file-upload.php:288
1977
  #: widgets/file-upload/file-upload.php:319
1978
  #: widgets/gdpr-consent/gdpr-consent.php:140 widgets/select/select.php:235
1979
  #: widgets/select/select.php:270 widgets/select/select.php:305
@@ -1998,13 +1998,13 @@ msgid "Required Indicator Color:"
1998
  msgstr ""
1999
 
2000
  #: traits/common-controls.php:427 widgets/gdpr-consent/gdpr-consent.php:217
2001
- #: widgets/recaptcha/recaptcha.php:67
2002
  #: widgets/simple-captcha/simple-captcha.php:238
2003
  msgid "Warning Text Color:"
2004
  msgstr ""
2005
 
2006
  #: traits/common-controls.php:448 widgets/gdpr-consent/gdpr-consent.php:234
2007
- #: widgets/recaptcha/recaptcha.php:84
2008
  #: widgets/simple-captcha/simple-captcha.php:255
2009
  msgid "Warning Text Typography"
2010
  msgstr ""
@@ -2149,7 +2149,7 @@ msgstr ""
2149
  #: widgets/multi-select/multi-select.php:36 widgets/number/number.php:36
2150
  #: widgets/password/password.php:36 widgets/radio/radio.php:44
2151
  #: widgets/range/range.php:36 widgets/rating/rating.php:36
2152
- #: widgets/recaptcha/recaptcha.php:32 widgets/select/select.php:36
2153
  #: widgets/simple-captcha/simple-captcha.php:41 widgets/summary/summary.php:36
2154
  #: widgets/switch/switch.php:36 widgets/telephone/telephone.php:36
2155
  #: widgets/text/text.php:36 widgets/textarea/textarea.php:37
@@ -2324,13 +2324,13 @@ msgstr ""
2324
  msgid "Typography for text"
2325
  msgstr ""
2326
 
2327
- #: widgets/checkbox/checkbox.php:371 widgets/date/date.php:465
2328
  #: widgets/email/email.php:128 widgets/file-upload/file-upload.php:401
2329
  #: widgets/gdpr-consent/gdpr-consent.php:408
2330
  #: widgets/listing-fname/listing-fname.php:103
2331
  #: widgets/listing-lname/listing-lname.php:103
2332
  #: widgets/listing-optin/listing-optin.php:279
2333
- #: widgets/multi-select/multi-select.php:175 widgets/number/number.php:103
2334
  #: widgets/password/password.php:103 widgets/radio/radio.php:371
2335
  #: widgets/range/range.php:214 widgets/rating/rating.php:271
2336
  #: widgets/select/select.php:349 widgets/simple-captcha/simple-captcha.php:316
@@ -2582,131 +2582,135 @@ msgid "Welsh"
2582
  msgstr ""
2583
 
2584
  #: widgets/date/date.php:139
2585
- msgid "Set minimum date:"
2586
  msgstr ""
2587
 
2588
- #: widgets/date/date.php:150
2589
- msgid "Set maximum date:"
2590
  msgstr ""
2591
 
2592
- #: widgets/date/date.php:163
 
 
 
 
2593
  msgid "Disable date : "
2594
  msgstr ""
2595
 
2596
- #: widgets/date/date.php:174
2597
  msgid "Disable date List"
2598
  msgstr ""
2599
 
2600
- #: widgets/date/date.php:185
2601
  msgid "Range date input ?"
2602
  msgstr ""
2603
 
2604
- #: widgets/date/date.php:197
2605
  msgid "Year input ?"
2606
  msgstr ""
2607
 
2608
- #: widgets/date/date.php:209
2609
  msgid "Month input ?"
2610
  msgstr ""
2611
 
2612
- #: widgets/date/date.php:221
2613
  msgid "Date input ?"
2614
  msgstr ""
2615
 
2616
- #: widgets/date/date.php:233 widgets/date/date.php:280
2617
- #: widgets/date/date.php:314 widgets/date/date.php:348
2618
  msgid "Date format : "
2619
  msgstr ""
2620
 
2621
- #: widgets/date/date.php:237
2622
  msgid "YYYY-MM-DD"
2623
  msgstr ""
2624
 
2625
- #: widgets/date/date.php:238
2626
  msgid "DD-MM-YYYY"
2627
  msgstr ""
2628
 
2629
- #: widgets/date/date.php:239
2630
  msgid "MM-DD-YYYY"
2631
  msgstr ""
2632
 
2633
- #: widgets/date/date.php:240
2634
  msgid "YYYY.MM.DD"
2635
  msgstr ""
2636
 
2637
- #: widgets/date/date.php:241
2638
  msgid "DD.MM.YYYY"
2639
  msgstr ""
2640
 
2641
- #: widgets/date/date.php:242
2642
  msgid "MM.DD.YYYY"
2643
  msgstr ""
2644
 
2645
- #: widgets/date/date.php:269
2646
  msgid "Localization"
2647
  msgstr ""
2648
 
2649
- #: widgets/date/date.php:270
2650
  msgid "Language change will be shown on preview."
2651
  msgstr ""
2652
 
2653
- #: widgets/date/date.php:284
2654
  msgid "MM-DD"
2655
  msgstr ""
2656
 
2657
- #: widgets/date/date.php:285
2658
  msgid "DD-MM"
2659
  msgstr ""
2660
 
2661
- #: widgets/date/date.php:286
2662
  msgid "MM.DD"
2663
  msgstr ""
2664
 
2665
- #: widgets/date/date.php:287
2666
  msgid "DD.MM"
2667
  msgstr ""
2668
 
2669
- #: widgets/date/date.php:318
2670
  msgid "MM-YY"
2671
  msgstr ""
2672
 
2673
- #: widgets/date/date.php:319
2674
  msgid "YY-MM"
2675
  msgstr ""
2676
 
2677
- #: widgets/date/date.php:320
2678
  msgid "MM.YY"
2679
  msgstr ""
2680
 
2681
- #: widgets/date/date.php:321
2682
  msgid "YY.MM"
2683
  msgstr ""
2684
 
2685
- #: widgets/date/date.php:352
2686
  msgid "DD-YY"
2687
  msgstr ""
2688
 
2689
- #: widgets/date/date.php:353
2690
  msgid "YY-DD"
2691
  msgstr ""
2692
 
2693
- #: widgets/date/date.php:354
2694
  msgid "DD.YY"
2695
  msgstr ""
2696
 
2697
- #: widgets/date/date.php:355
2698
  msgid "YY.DD"
2699
  msgstr ""
2700
 
2701
- #: widgets/date/date.php:382
2702
  msgid "Want to input time with it ?"
2703
  msgstr ""
2704
 
2705
- #: widgets/date/date.php:394
2706
  msgid "Enable time 24hr?"
2707
  msgstr ""
2708
 
2709
- #: widgets/date/date.php:430 widgets/email/email.php:104
2710
  #: widgets/file-upload/file-upload.php:202
2711
  #: widgets/listing-fname/listing-fname.php:79
2712
  #: widgets/listing-lname/listing-lname.php:79
@@ -2719,13 +2723,14 @@ msgstr ""
2719
  msgid "Input"
2720
  msgstr ""
2721
 
2722
- #: widgets/date/date.php:441
2723
  msgid "Calendar Typography"
2724
  msgstr ""
2725
 
2726
- #: widgets/date/date.php:453 widgets/email/email.php:116
2727
  #: widgets/listing-fname/listing-fname.php:91
2728
- #: widgets/listing-lname/listing-lname.php:91 widgets/number/number.php:91
 
2729
  #: widgets/password/password.php:91 widgets/select/select.php:337
2730
  #: widgets/simple-captcha/simple-captcha.php:331
2731
  #: widgets/telephone/telephone.php:91 widgets/text/text.php:91
@@ -3083,19 +3088,19 @@ msgstr ""
3083
  msgid "reCAPTCHA"
3084
  msgstr ""
3085
 
3086
- #: widgets/recaptcha/recaptcha.php:40
3087
  msgid "reCAPTCHA configure: "
3088
  msgstr ""
3089
 
3090
- #: widgets/recaptcha/recaptcha.php:50
3091
  msgid "Add Extra Class Name : "
3092
  msgstr ""
3093
 
3094
- #: widgets/recaptcha/recaptcha.php:103
3095
  msgid "reCAPTCHA is required."
3096
  msgstr ""
3097
 
3098
- #: widgets/recaptcha/recaptcha.php:141 widgets/recaptcha/recaptcha.php:176
3099
  msgid "reCAPTCHA will be shown on preview."
3100
  msgstr ""
3101
 
@@ -3240,7 +3245,7 @@ msgctxt "Post Type General Name"
3240
  msgid "Entries"
3241
  msgstr ""
3242
 
3243
- #: core/forms/cpt.php:392
3244
  msgctxt "Post Type General Name"
3245
  msgid "Forms"
3246
  msgstr ""
@@ -3250,7 +3255,7 @@ msgctxt "Post Type Singular Name"
3250
  msgid "Entry"
3251
  msgstr ""
3252
 
3253
- #: core/forms/cpt.php:393
3254
  msgctxt "Post Type Singular Name"
3255
  msgid "Form"
3256
  msgstr ""
2
  # This file is distributed under the GPL-2.0+.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: MetForm 1.5.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/metform\n"
7
+ "POT-Creation-Date: 2021-09-30 05:34:10+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
140
  msgid "All newsletter integration info here"
141
  msgstr ""
142
 
143
+ #: core/admin/views/settings.php:59 core/admin/views/settings.php:908
144
  msgid "Google Sheet Integration"
145
  msgstr ""
146
 
150
 
151
  #: core/admin/views/settings.php:83 core/admin/views/settings.php:305
152
  #: core/admin/views/settings.php:426 core/admin/views/settings.php:589
153
+ #: core/admin/views/settings.php:910
154
  msgid "Save Changes"
155
  msgstr ""
156
 
346
  #: core/admin/views/settings.php:397 core/admin/views/settings.php:456
347
  #: core/admin/views/settings.php:464 core/admin/views/settings.php:496
348
  #: core/admin/views/settings.php:504 core/admin/views/settings.php:523
349
+ #: core/admin/views/settings.php:530 core/admin/views/settings.php:929
350
+ #: core/admin/views/settings.php:936
351
  msgid "Create from here"
352
  msgstr ""
353
 
505
  msgid "ConvertKit"
506
  msgstr ""
507
 
508
+ #: core/admin/views/settings.php:628 core/admin/views/settings.php:725
509
+ #: core/admin/views/settings.php:779 core/admin/views/settings.php:806
510
  msgid "API Key:"
511
  msgstr ""
512
 
513
+ #: core/admin/views/settings.php:629
514
  msgid "Mailchimp api key"
515
  msgstr ""
516
 
517
+ #: core/admin/views/settings.php:631
518
  msgid "Enter here your Mailchimp api key. "
519
  msgstr ""
520
 
521
+ #: core/admin/views/settings.php:631 core/admin/views/settings.php:665
522
+ #: core/admin/views/settings.php:673 core/admin/views/settings.php:728
523
+ #: core/admin/views/settings.php:737 core/admin/views/settings.php:774
524
+ #: core/admin/views/settings.php:782 core/admin/views/settings.php:809
525
  msgid "Get API."
526
  msgstr ""
527
 
528
+ #: core/admin/views/settings.php:640 core/admin/views/settings.php:705
529
+ #: core/admin/views/settings.php:747 core/admin/views/settings.php:790
530
+ #: core/admin/views/settings.php:817 core/admin/views/settings.php:850
531
+ #: core/admin/views/settings.php:877
532
  msgid "How To"
533
  msgstr ""
534
 
535
+ #: core/admin/views/settings.php:641 core/admin/views/settings.php:706
536
+ #: core/admin/views/settings.php:748 core/admin/views/settings.php:791
537
+ #: core/admin/views/settings.php:818 core/admin/views/settings.php:851
538
+ #: core/admin/views/settings.php:878
539
  msgid ""
540
  "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. "
541
  "Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse "
542
  "urna nibh, viverra non, semper suscipit, posuere a, pede."
543
  msgstr ""
544
 
545
+ #: core/admin/views/settings.php:644 core/admin/views/settings.php:709
546
+ #: core/admin/views/settings.php:751 core/admin/views/settings.php:794
547
+ #: core/admin/views/settings.php:821 core/admin/views/settings.php:854
548
+ #: core/admin/views/settings.php:881
549
  msgid "Item 1"
550
  msgstr ""
551
 
552
+ #: core/admin/views/settings.php:645 core/admin/views/settings.php:710
553
+ #: core/admin/views/settings.php:752 core/admin/views/settings.php:795
554
+ #: core/admin/views/settings.php:822 core/admin/views/settings.php:855
555
+ #: core/admin/views/settings.php:882
556
  msgid "Item 2"
557
  msgstr ""
558
 
559
+ #: core/admin/views/settings.php:646 core/admin/views/settings.php:711
560
+ #: core/admin/views/settings.php:753 core/admin/views/settings.php:796
561
+ #: core/admin/views/settings.php:823 core/admin/views/settings.php:856
562
+ #: core/admin/views/settings.php:883
563
  msgid "Item 3"
564
  msgstr ""
565
 
566
+ #: core/admin/views/settings.php:649 core/admin/views/settings.php:714
567
+ #: core/admin/views/settings.php:756 core/admin/views/settings.php:799
568
+ #: core/admin/views/settings.php:826 core/admin/views/settings.php:859
569
+ #: core/admin/views/settings.php:886
570
  msgid "View Documentation"
571
  msgstr ""
572
 
573
+ #: core/admin/views/settings.php:662
574
  msgid "Developer App ID:"
575
  msgstr ""
576
 
577
+ #: core/admin/views/settings.php:663
578
  msgid "Aweber developer clientId key"
579
  msgstr ""
580
 
581
+ #: core/admin/views/settings.php:665
582
  msgid "Enter here your Aweber developer app key. "
583
  msgstr ""
584
 
585
+ #: core/admin/views/settings.php:670
586
  msgid "Developer App Secret:"
587
  msgstr ""
588
 
589
+ #: core/admin/views/settings.php:671
590
  msgid "Aweber developer secret key"
591
  msgstr ""
592
 
593
+ #: core/admin/views/settings.php:673
594
  msgid "Enter here your Aweber developer secret key. "
595
  msgstr ""
596
 
597
+ #: core/admin/views/settings.php:678
598
  msgid "Redirect url:"
599
  msgstr ""
600
 
601
+ #: core/admin/views/settings.php:726 core/admin/views/settings.php:735
602
  msgid "ConvertKit api key"
603
  msgstr ""
604
 
605
+ #: core/admin/views/settings.php:728 core/admin/views/settings.php:737
606
  msgid "Enter here your ConvertKit api key. "
607
  msgstr ""
608
 
609
+ #: core/admin/views/settings.php:734
610
  msgid "Secret Key:"
611
  msgstr ""
612
 
613
+ #: core/admin/views/settings.php:771
614
  msgid "API URL:"
615
  msgstr ""
616
 
617
+ #: core/admin/views/settings.php:772
618
  msgid "ActiveCampaign API URL"
619
  msgstr ""
620
 
621
+ #: core/admin/views/settings.php:774 core/admin/views/settings.php:782
622
+ #: core/admin/views/settings.php:809
623
  msgid "Enter here your ActiveCampaign api key. "
624
  msgstr ""
625
 
626
+ #: core/admin/views/settings.php:780 core/admin/views/settings.php:807
627
  msgid "ActiveCampaign api key"
628
  msgstr ""
629
 
630
+ #: core/admin/views/settings.php:840 core/admin/views/settings.php:867
631
  msgid "GetResponse API Key:"
632
  msgstr ""
633
 
634
+ #: core/admin/views/settings.php:841 core/admin/views/settings.php:868
635
  msgid "GetResponse api key"
636
  msgstr ""
637
 
638
+ #: core/admin/views/settings.php:915
639
  msgid "Google Sheet"
640
  msgstr ""
641
 
642
+ #: core/admin/views/settings.php:926
643
  msgid "Google Client Id:"
644
  msgstr ""
645
 
646
+ #: core/admin/views/settings.php:927
647
  msgid "Google OAuth Client Id"
648
  msgstr ""
649
 
650
+ #: core/admin/views/settings.php:929
651
  msgid "Enter here your google client id. "
652
  msgstr ""
653
 
654
+ #: core/admin/views/settings.php:933
655
  msgid "Google Client Secret:"
656
  msgstr ""
657
 
658
+ #: core/admin/views/settings.php:934
659
  msgid "Google OAuth Client Secret"
660
  msgstr ""
661
 
662
+ #: core/admin/views/settings.php:936
663
  msgid "Enter here your google secret id. "
664
  msgstr ""
665
 
666
+ #: core/admin/views/settings.php:943
667
  msgid "Check how to create App/Project On Google developer account"
668
  msgstr ""
669
 
670
+ #: core/admin/views/settings.php:944
671
  msgid "Must add the following URL to the \"Valid OAuth redirect URIs\" field:"
672
  msgstr ""
673
 
674
+ #: core/admin/views/settings.php:945
675
  msgid "After getting the App ID & App Secret, put those information"
676
  msgstr ""
677
 
678
+ #: core/admin/views/settings.php:946
679
  msgid "Click on \"Save Changes\""
680
  msgstr ""
681
 
682
+ #: core/admin/views/settings.php:947
683
  msgid "Click on \"Genarate Access Token\""
684
  msgstr ""
685
 
686
+ #: core/admin/views/settings.php:949
687
  msgid "Genarate Access Token"
688
  msgstr ""
689
 
690
+ #: core/admin/views/settings.php:952
691
  msgid ""
692
  "Note:- After 200 days your token will be expired, before the expiry of your "
693
  "token, generate a new token."
733
  msgid " Please wait... Open a Stripe Popup Box."
734
  msgstr ""
735
 
736
+ #: core/entries/action.php:657
737
  msgid "ssl certificate or google oauth credentials problem"
738
  msgstr ""
739
 
740
+ #: core/entries/action.php:737
741
  msgid "Mail not found."
742
  msgstr ""
743
 
744
+ #: core/entries/action.php:779
745
  msgid "Admin mail not found to send email."
746
  msgstr ""
747
 
748
+ #: core/entries/action.php:868
749
  msgid "There was an error uploading your file. The error is: "
750
  msgstr ""
751
 
761
  msgid "Entry Attributes"
762
  msgstr ""
763
 
764
+ #: core/entries/cpt.php:20 core/forms/cpt.php:411
765
  msgid "Parent Item:"
766
  msgstr ""
767
 
773
  msgid "Add New Item"
774
  msgstr ""
775
 
776
+ #: core/entries/cpt.php:23 core/forms/cpt.php:414
777
  msgid "Add New"
778
  msgstr ""
779
 
801
  msgid "Search Item"
802
  msgstr ""
803
 
804
+ #: core/entries/cpt.php:30 core/forms/cpt.php:421
805
  msgid "Not found"
806
  msgstr ""
807
 
808
+ #: core/entries/cpt.php:31 core/forms/cpt.php:422
809
  msgid "Not found in Trash"
810
  msgstr ""
811
 
812
+ #: core/entries/cpt.php:32 core/forms/cpt.php:423
813
  msgid "Featured Image"
814
  msgstr ""
815
 
816
+ #: core/entries/cpt.php:33 core/forms/cpt.php:424
817
  msgid "Set featured image"
818
  msgstr ""
819
 
820
+ #: core/entries/cpt.php:34 core/forms/cpt.php:425
821
  msgid "Remove featured image"
822
  msgstr ""
823
 
824
+ #: core/entries/cpt.php:35 core/forms/cpt.php:426
825
  msgid "Use as featured image"
826
  msgstr ""
827
 
931
  msgid "You must enable \"store entries\" for integrating payment method."
932
  msgstr ""
933
 
934
+ #: core/forms/cpt.php:407 core/forms/cpt.php:408 widgets/form.php:47
935
  msgid "Form"
936
  msgstr ""
937
 
938
+ #: core/forms/cpt.php:409
939
  msgid "Form Archives"
940
  msgstr ""
941
 
942
+ #: core/forms/cpt.php:410
943
  msgid "Form Attributes"
944
  msgstr ""
945
 
946
+ #: core/forms/cpt.php:412 core/forms/cpt.php:440
947
  msgid "Forms"
948
  msgstr ""
949
 
950
+ #: core/forms/cpt.php:413
951
  msgid "Add New Form"
952
  msgstr ""
953
 
954
+ #: core/forms/cpt.php:415
955
  msgid "New Form"
956
  msgstr ""
957
 
958
+ #: core/forms/cpt.php:416
959
  msgid "Edit Form"
960
  msgstr ""
961
 
962
+ #: core/forms/cpt.php:417
963
  msgid "Update Form"
964
  msgstr ""
965
 
966
+ #: core/forms/cpt.php:418
967
  msgid "View Form"
968
  msgstr ""
969
 
970
+ #: core/forms/cpt.php:419
971
  msgid "View Forms"
972
  msgstr ""
973
 
974
+ #: core/forms/cpt.php:420
975
  msgid "Search Forms"
976
  msgstr ""
977
 
978
+ #: core/forms/cpt.php:427
979
  msgid "Insert into form"
980
  msgstr ""
981
 
982
+ #: core/forms/cpt.php:428
983
  msgid "Uploaded to this form"
984
  msgstr ""
985
 
986
+ #: core/forms/cpt.php:429
987
  msgid "Forms list"
988
  msgstr ""
989
 
990
+ #: core/forms/cpt.php:430
991
  msgid "Forms list navigation"
992
  msgstr ""
993
 
994
+ #: core/forms/cpt.php:431
995
  msgid "Filter froms list"
996
  msgstr ""
997
 
998
+ #: core/forms/cpt.php:441
999
  msgid "metform form"
1000
  msgstr ""
1001
 
1139
  msgid "Want to send a submission copy to user by email? Active this one."
1140
  msgstr ""
1141
 
1142
+ #: core/forms/views/modal-editor.php:134 core/forms/views/modal-editor.php:512
1143
  msgid "The form must have at least one Email widget and it should be required."
1144
  msgstr ""
1145
 
1287
 
1288
  #: core/forms/views/modal-editor.php:251 core/forms/views/modal-editor.php:289
1289
  #: core/forms/views/modal-editor.php:318 core/forms/views/modal-editor.php:340
1290
+ #: core/forms/views/modal-editor.php:370 core/forms/views/modal-editor.php:405
1291
+ #: core/forms/views/modal-editor.php:472
1292
  msgid "The form must have at least one Email widget and it should be required. "
1293
  msgstr ""
1294
 
1337
  msgstr ""
1338
 
1339
  #: core/forms/views/modal-editor.php:305 core/forms/views/modal-editor.php:329
1340
+ #: core/forms/views/modal-editor.php:352 core/forms/views/modal-editor.php:427
1341
+ #: core/forms/views/modal-editor.php:451
1342
  msgid "Refresh List"
1343
  msgstr ""
1344
 
1382
  msgid "Enter here ConvertKit form id. "
1383
  msgstr ""
1384
 
1385
+ #: core/forms/views/modal-editor.php:367
1386
  msgid "GetResponse:"
1387
  msgstr ""
1388
 
1389
+ #: core/forms/views/modal-editor.php:370
1390
  msgid "Integrate GetResponse with this form."
1391
  msgstr ""
1392
 
1393
+ #: core/forms/views/modal-editor.php:370
1394
  msgid "Configure GetResponse."
1395
  msgstr ""
1396
 
1397
+ #: core/forms/views/modal-editor.php:376
1398
  msgid "GetResponse List ID:"
1399
  msgstr ""
1400
 
1401
+ #: core/forms/views/modal-editor.php:384
1402
  msgid "GetResponse contact list id"
1403
  msgstr ""
1404
 
1405
+ #: core/forms/views/modal-editor.php:385
1406
  msgid "Enter here GetResponse list id. "
1407
  msgstr ""
1408
 
1409
+ #: core/forms/views/modal-editor.php:402
1410
  msgid "ActiveCampaign:"
1411
  msgstr ""
1412
 
1413
+ #: core/forms/views/modal-editor.php:405
1414
  msgid "Integrate ActiveCampaign with this form."
1415
  msgstr ""
1416
 
1417
+ #: core/forms/views/modal-editor.php:405
1418
  msgid "Configure ActiveCampaign."
1419
  msgstr ""
1420
 
1421
+ #: core/forms/views/modal-editor.php:410
1422
  msgid "Active campaign List ID:"
1423
  msgstr ""
1424
 
1425
+ #: core/forms/views/modal-editor.php:426
1426
  msgid "Enter here list id. "
1427
  msgstr ""
1428
 
1429
+ #: core/forms/views/modal-editor.php:434
1430
  msgid "Active campaign Tag ID:"
1431
  msgstr ""
1432
 
1433
+ #: core/forms/views/modal-editor.php:450
1434
  msgid "Enter here tag id. "
1435
  msgstr ""
1436
 
1437
+ #: core/forms/views/modal-editor.php:469
1438
  msgid "Mailster:"
1439
  msgstr ""
1440
 
1441
+ #: core/forms/views/modal-editor.php:472
1442
  msgid "Integrate Mailster with this form."
1443
  msgstr ""
1444
 
1445
+ #: core/forms/views/modal-editor.php:478
1446
  msgid "Mailster Forms"
1447
  msgstr ""
1448
 
1449
+ #: core/forms/views/modal-editor.php:510
1450
  msgid "Zapier:"
1451
  msgstr ""
1452
 
1453
+ #: core/forms/views/modal-editor.php:512
1454
  msgid "Integrate zapier with this form."
1455
  msgstr ""
1456
 
1457
+ #: core/forms/views/modal-editor.php:516
1458
  msgid "Zapier webhook:"
1459
  msgstr ""
1460
 
1461
+ #: core/forms/views/modal-editor.php:517
1462
  msgid "Zapier webhook"
1463
  msgstr ""
1464
 
1465
+ #: core/forms/views/modal-editor.php:518
1466
  msgid "Enter here zapier web hook."
1467
  msgstr ""
1468
 
1469
+ #: core/forms/views/modal-editor.php:527
1470
  msgid "Slack:"
1471
  msgstr ""
1472
 
1473
+ #: core/forms/views/modal-editor.php:529
1474
  msgid "Integrate slack with this form."
1475
  msgstr ""
1476
 
1477
+ #: core/forms/views/modal-editor.php:529
1478
  msgid "slack info."
1479
  msgstr ""
1480
 
1481
+ #: core/forms/views/modal-editor.php:533
1482
  msgid "Slack webhook:"
1483
  msgstr ""
1484
 
1485
+ #: core/forms/views/modal-editor.php:534
1486
  msgid "Slack webhook"
1487
  msgstr ""
1488
 
1489
+ #: core/forms/views/modal-editor.php:535
1490
  msgid "Enter here slack web hook."
1491
  msgstr ""
1492
 
1493
+ #: core/forms/views/modal-editor.php:535
1494
  msgid "create from here"
1495
  msgstr ""
1496
 
1497
+ #: core/forms/views/modal-editor.php:549
1498
  msgid "Success url:"
1499
  msgstr ""
1500
 
1501
+ #: core/forms/views/modal-editor.php:552
1502
  msgid "Success url"
1503
  msgstr ""
1504
 
1505
+ #: core/forms/views/modal-editor.php:554
1506
  msgid ""
1507
  "Users will be redirected to the this link after successfully form "
1508
  "submission."
1509
  msgstr ""
1510
 
1511
+ #: core/forms/views/modal-editor.php:559
1512
  msgid "Failed/ Cancel url:"
1513
  msgstr ""
1514
 
1515
+ #: core/forms/views/modal-editor.php:562
1516
  msgid "Failed/Cancel url"
1517
  msgstr ""
1518
 
1519
+ #: core/forms/views/modal-editor.php:564
1520
  msgid ""
1521
  "Users will be redirected to the this link after any failure/ cancelation of "
1522
  "form submission."
1523
  msgstr ""
1524
 
1525
+ #: core/forms/views/modal-editor.php:570
1526
  msgid "Paypal:"
1527
  msgstr ""
1528
 
1529
+ #: core/forms/views/modal-editor.php:572
1530
  msgid "Integrate paypal payment with this form."
1531
  msgstr ""
1532
 
1533
+ #: core/forms/views/modal-editor.php:572
1534
  msgid "Configure paypal payment."
1535
  msgstr ""
1536
 
1537
+ #: core/forms/views/modal-editor.php:581
1538
  msgid "Stripe:"
1539
  msgstr ""
1540
 
1541
+ #: core/forms/views/modal-editor.php:583
1542
  msgid "Integrate stripe payment with this form. "
1543
  msgstr ""
1544
 
1545
+ #: core/forms/views/modal-editor.php:583
1546
  msgid "Configure stripe payment."
1547
  msgstr ""
1548
 
1549
+ #: core/forms/views/modal-editor.php:599
1550
  msgid "Hubspot Contact:"
1551
  msgstr ""
1552
 
1553
+ #: core/forms/views/modal-editor.php:601
1554
  msgid "Integrate hubspot with this form. "
1555
  msgstr ""
1556
 
1557
+ #: core/forms/views/modal-editor.php:601
1558
  msgid "Configure Hubspot."
1559
  msgstr ""
1560
 
1561
+ #: core/forms/views/modal-editor.php:608
1562
  msgid "Hubspot Forms:"
1563
  msgstr ""
1564
 
1565
+ #: core/forms/views/modal-editor.php:616
1566
  msgid "Fetch hubspot forms"
1567
  msgstr ""
1568
 
1569
+ #: core/forms/views/modal-editor.php:639
1570
  msgid "Zoho Contact:"
1571
  msgstr ""
1572
 
1573
+ #: core/forms/views/modal-editor.php:641
1574
  msgid "Integrate Zoho contacts with this form. "
1575
  msgstr ""
1576
 
1577
+ #: core/forms/views/modal-editor.php:641
1578
  msgid "Configure Zoho."
1579
  msgstr ""
1580
 
1581
+ #: core/forms/views/modal-editor.php:651
1582
  msgid "Helpscout"
1583
  msgstr ""
1584
 
1585
+ #: core/forms/views/modal-editor.php:653
1586
  msgid "Integrate Helpscout with this form. "
1587
  msgstr ""
1588
 
1589
+ #: core/forms/views/modal-editor.php:653
1590
  msgid "Configure Helpscout."
1591
  msgstr ""
1592
 
1593
+ #: core/forms/views/modal-editor.php:658
1594
  msgid "Available Mailboxes"
1595
  msgstr ""
1596
 
1597
+ #: core/forms/views/modal-editor.php:695
1598
  msgid "Edit content"
1599
  msgstr ""
1600
 
1601
+ #: core/forms/views/modal-editor.php:697
1602
  msgid "Save changes"
1603
  msgstr ""
1604
 
1615
  msgid "Your data inserted on slack."
1616
  msgstr ""
1617
 
1618
+ #: plugin.php:384
1619
  msgid "Activate Elementor"
1620
  msgstr ""
1621
 
1622
+ #: plugin.php:391
1623
  msgid "Install Elementor"
1624
  msgstr ""
1625
 
1626
+ #: plugin.php:395 plugin.php:427
1627
  msgid "MetForm requires Elementor version %1$s+, which is currently NOT RUNNING."
1628
  msgstr ""
1629
 
1630
+ #: plugin.php:410
1631
  msgid "MetForm Pro"
1632
  msgstr ""
1633
 
1634
+ #: plugin.php:414 plugin.php:430
1635
  msgid "We have MetForm Pro version. Check out our pro feature."
1636
  msgstr ""
1637
 
1638
+ #: plugin.php:426
1639
  msgid "Update Elementor"
1640
  msgstr ""
1641
 
1642
+ #: traits/button-controls.php:24 widgets/date/date.php:431
1643
  #: widgets/email/email.php:87 widgets/file-upload/file-upload.php:187
1644
  #: widgets/listing-fname/listing-fname.php:64
1645
  #: widgets/listing-lname/listing-lname.php:64
1646
  #: widgets/multi-select/multi-select.php:148 widgets/number/number.php:64
1647
  #: widgets/password/password.php:64 widgets/range/range.php:133
1648
+ #: widgets/rating/rating.php:85 widgets/recaptcha/recaptcha.php:63
1649
  #: widgets/select/select.php:148 widgets/simple-captcha/simple-captcha.php:123
1650
  #: widgets/summary/summary.php:69 widgets/switch/switch.php:91
1651
  #: widgets/telephone/telephone.php:64 widgets/text/text.php:64
1725
  msgstr ""
1726
 
1727
  #: traits/button-controls.php:162 traits/common-controls.php:345
1728
+ #: traits/common-controls.php:474 traits/common-controls.php:822
1729
  #: widgets/checkbox/checkbox.php:215 widgets/file-upload/file-upload.php:353
1730
  #: widgets/gdpr-consent/gdpr-consent.php:170
1731
  #: widgets/gdpr-consent/gdpr-consent.php:253
1738
 
1739
  #: traits/button-controls.php:182 traits/common-controls.php:334
1740
  #: traits/common-controls.php:702 traits/common-controls.php:755
1741
+ #: traits/common-controls.php:797 widgets/gdpr-consent/gdpr-consent.php:159
1742
  #: widgets/rating/rating.php:250 widgets/simple-captcha/simple-captcha.php:181
1743
  #: widgets/switch/switch.php:200 widgets/switch/switch.php:242
1744
  msgid "Typography"
1875
  msgstr ""
1876
 
1877
  #: traits/common-controls.php:131 widgets/checkbox/checkbox.php:122
1878
+ #: widgets/date/date.php:141 widgets/date/date.php:203
1879
+ #: widgets/date/date.php:215 widgets/date/date.php:227
1880
+ #: widgets/date/date.php:239 widgets/date/date.php:400
1881
+ #: widgets/date/date.php:412 widgets/email/email.php:55
1882
+ #: widgets/multi-select/multi-select.php:83 widgets/radio/radio.php:124
1883
+ #: widgets/range/range.php:97 widgets/select/select.php:83
1884
+ #: widgets/switch/switch.php:48 widgets/time/time.php:73
1885
  msgid "Yes"
1886
  msgstr ""
1887
 
1888
  #: traits/common-controls.php:132 widgets/checkbox/checkbox.php:123
1889
+ #: widgets/date/date.php:142 widgets/date/date.php:204
1890
+ #: widgets/date/date.php:216 widgets/date/date.php:228
1891
+ #: widgets/date/date.php:240 widgets/date/date.php:401
1892
+ #: widgets/date/date.php:413 widgets/email/email.php:56
1893
+ #: widgets/multi-select/multi-select.php:84 widgets/radio/radio.php:125
1894
+ #: widgets/range/range.php:98 widgets/select/select.php:84
1895
+ #: widgets/switch/switch.php:56 widgets/time/time.php:74
1896
  msgid "No"
1897
  msgstr ""
1898
 
1937
  msgstr ""
1938
 
1939
  #: traits/common-controls.php:209 widgets/checkbox/checkbox.php:396
1940
+ #: widgets/date/date.php:541 widgets/email/email.php:155
1941
  #: widgets/file-upload/file-upload.php:437
1942
  #: widgets/gdpr-consent/gdpr-consent.php:433
1943
  #: widgets/listing-fname/listing-fname.php:143
1944
  #: widgets/listing-lname/listing-lname.php:143
1945
  #: widgets/listing-optin/listing-optin.php:304
1946
+ #: widgets/multi-select/multi-select.php:221 widgets/number/number.php:128
1947
  #: widgets/password/password.php:143 widgets/radio/radio.php:396
1948
  #: widgets/range/range.php:238 widgets/rating/rating.php:296
1949
  #: widgets/select/select.php:383 widgets/switch/switch.php:292
1972
  msgid "Width"
1973
  msgstr ""
1974
 
1975
+ #: traits/common-controls.php:315 traits/common-controls.php:766
1976
+ #: traits/common-controls.php:806 widgets/file-upload/file-upload.php:288
1977
  #: widgets/file-upload/file-upload.php:319
1978
  #: widgets/gdpr-consent/gdpr-consent.php:140 widgets/select/select.php:235
1979
  #: widgets/select/select.php:270 widgets/select/select.php:305
1998
  msgstr ""
1999
 
2000
  #: traits/common-controls.php:427 widgets/gdpr-consent/gdpr-consent.php:217
2001
+ #: widgets/recaptcha/recaptcha.php:71
2002
  #: widgets/simple-captcha/simple-captcha.php:238
2003
  msgid "Warning Text Color:"
2004
  msgstr ""
2005
 
2006
  #: traits/common-controls.php:448 widgets/gdpr-consent/gdpr-consent.php:234
2007
+ #: widgets/recaptcha/recaptcha.php:88
2008
  #: widgets/simple-captcha/simple-captcha.php:255
2009
  msgid "Warning Text Typography"
2010
  msgstr ""
2149
  #: widgets/multi-select/multi-select.php:36 widgets/number/number.php:36
2150
  #: widgets/password/password.php:36 widgets/radio/radio.php:44
2151
  #: widgets/range/range.php:36 widgets/rating/rating.php:36
2152
+ #: widgets/recaptcha/recaptcha.php:36 widgets/select/select.php:36
2153
  #: widgets/simple-captcha/simple-captcha.php:41 widgets/summary/summary.php:36
2154
  #: widgets/switch/switch.php:36 widgets/telephone/telephone.php:36
2155
  #: widgets/text/text.php:36 widgets/textarea/textarea.php:37
2324
  msgid "Typography for text"
2325
  msgstr ""
2326
 
2327
+ #: widgets/checkbox/checkbox.php:371 widgets/date/date.php:481
2328
  #: widgets/email/email.php:128 widgets/file-upload/file-upload.php:401
2329
  #: widgets/gdpr-consent/gdpr-consent.php:408
2330
  #: widgets/listing-fname/listing-fname.php:103
2331
  #: widgets/listing-lname/listing-lname.php:103
2332
  #: widgets/listing-optin/listing-optin.php:279
2333
+ #: widgets/multi-select/multi-select.php:187 widgets/number/number.php:103
2334
  #: widgets/password/password.php:103 widgets/radio/radio.php:371
2335
  #: widgets/range/range.php:214 widgets/rating/rating.php:271
2336
  #: widgets/select/select.php:349 widgets/simple-captcha/simple-captcha.php:316
2582
  msgstr ""
2583
 
2584
  #: widgets/date/date.php:139
2585
+ msgid "Set current date as minimum date"
2586
  msgstr ""
2587
 
2588
+ #: widgets/date/date.php:151
2589
+ msgid "Set minimum date manually"
2590
  msgstr ""
2591
 
2592
+ #: widgets/date/date.php:166
2593
+ msgid "Set maximum date manually"
2594
+ msgstr ""
2595
+
2596
+ #: widgets/date/date.php:179
2597
  msgid "Disable date : "
2598
  msgstr ""
2599
 
2600
+ #: widgets/date/date.php:190
2601
  msgid "Disable date List"
2602
  msgstr ""
2603
 
2604
+ #: widgets/date/date.php:201
2605
  msgid "Range date input ?"
2606
  msgstr ""
2607
 
2608
+ #: widgets/date/date.php:213
2609
  msgid "Year input ?"
2610
  msgstr ""
2611
 
2612
+ #: widgets/date/date.php:225
2613
  msgid "Month input ?"
2614
  msgstr ""
2615
 
2616
+ #: widgets/date/date.php:237
2617
  msgid "Date input ?"
2618
  msgstr ""
2619
 
2620
+ #: widgets/date/date.php:249 widgets/date/date.php:296
2621
+ #: widgets/date/date.php:330 widgets/date/date.php:364
2622
  msgid "Date format : "
2623
  msgstr ""
2624
 
2625
+ #: widgets/date/date.php:253
2626
  msgid "YYYY-MM-DD"
2627
  msgstr ""
2628
 
2629
+ #: widgets/date/date.php:254
2630
  msgid "DD-MM-YYYY"
2631
  msgstr ""
2632
 
2633
+ #: widgets/date/date.php:255
2634
  msgid "MM-DD-YYYY"
2635
  msgstr ""
2636
 
2637
+ #: widgets/date/date.php:256
2638
  msgid "YYYY.MM.DD"
2639
  msgstr ""
2640
 
2641
+ #: widgets/date/date.php:257
2642
  msgid "DD.MM.YYYY"
2643
  msgstr ""
2644
 
2645
+ #: widgets/date/date.php:258
2646
  msgid "MM.DD.YYYY"
2647
  msgstr ""
2648
 
2649
+ #: widgets/date/date.php:285
2650
  msgid "Localization"
2651
  msgstr ""
2652
 
2653
+ #: widgets/date/date.php:286
2654
  msgid "Language change will be shown on preview."
2655
  msgstr ""
2656
 
2657
+ #: widgets/date/date.php:300
2658
  msgid "MM-DD"
2659
  msgstr ""
2660
 
2661
+ #: widgets/date/date.php:301
2662
  msgid "DD-MM"
2663
  msgstr ""
2664
 
2665
+ #: widgets/date/date.php:302
2666
  msgid "MM.DD"
2667
  msgstr ""
2668
 
2669
+ #: widgets/date/date.php:303
2670
  msgid "DD.MM"
2671
  msgstr ""
2672
 
2673
+ #: widgets/date/date.php:334
2674
  msgid "MM-YY"
2675
  msgstr ""
2676
 
2677
+ #: widgets/date/date.php:335
2678
  msgid "YY-MM"
2679
  msgstr ""
2680
 
2681
+ #: widgets/date/date.php:336
2682
  msgid "MM.YY"
2683
  msgstr ""
2684
 
2685
+ #: widgets/date/date.php:337
2686
  msgid "YY.MM"
2687
  msgstr ""
2688
 
2689
+ #: widgets/date/date.php:368
2690
  msgid "DD-YY"
2691
  msgstr ""
2692
 
2693
+ #: widgets/date/date.php:369
2694
  msgid "YY-DD"
2695
  msgstr ""
2696
 
2697
+ #: widgets/date/date.php:370
2698
  msgid "DD.YY"
2699
  msgstr ""
2700
 
2701
+ #: widgets/date/date.php:371
2702
  msgid "YY.DD"
2703
  msgstr ""
2704
 
2705
+ #: widgets/date/date.php:398
2706
  msgid "Want to input time with it ?"
2707
  msgstr ""
2708
 
2709
+ #: widgets/date/date.php:410
2710
  msgid "Enable time 24hr?"
2711
  msgstr ""
2712
 
2713
+ #: widgets/date/date.php:446 widgets/email/email.php:104
2714
  #: widgets/file-upload/file-upload.php:202
2715
  #: widgets/listing-fname/listing-fname.php:79
2716
  #: widgets/listing-lname/listing-lname.php:79
2723
  msgid "Input"
2724
  msgstr ""
2725
 
2726
+ #: widgets/date/date.php:457
2727
  msgid "Calendar Typography"
2728
  msgstr ""
2729
 
2730
+ #: widgets/date/date.php:469 widgets/email/email.php:116
2731
  #: widgets/listing-fname/listing-fname.php:91
2732
+ #: widgets/listing-lname/listing-lname.php:91
2733
+ #: widgets/multi-select/multi-select.php:175 widgets/number/number.php:91
2734
  #: widgets/password/password.php:91 widgets/select/select.php:337
2735
  #: widgets/simple-captcha/simple-captcha.php:331
2736
  #: widgets/telephone/telephone.php:91 widgets/text/text.php:91
3088
  msgid "reCAPTCHA"
3089
  msgstr ""
3090
 
3091
+ #: widgets/recaptcha/recaptcha.php:44
3092
  msgid "reCAPTCHA configure: "
3093
  msgstr ""
3094
 
3095
+ #: widgets/recaptcha/recaptcha.php:54
3096
  msgid "Add Extra Class Name : "
3097
  msgstr ""
3098
 
3099
+ #: widgets/recaptcha/recaptcha.php:107
3100
  msgid "reCAPTCHA is required."
3101
  msgstr ""
3102
 
3103
+ #: widgets/recaptcha/recaptcha.php:145 widgets/recaptcha/recaptcha.php:180
3104
  msgid "reCAPTCHA will be shown on preview."
3105
  msgstr ""
3106
 
3245
  msgid "Entries"
3246
  msgstr ""
3247
 
3248
+ #: core/forms/cpt.php:405
3249
  msgctxt "Post Type General Name"
3250
  msgid "Forms"
3251
  msgstr ""
3255
  msgid "Entry"
3256
  msgstr ""
3257
 
3258
+ #: core/forms/cpt.php:406
3259
  msgctxt "Post Type Singular Name"
3260
  msgid "Form"
3261
  msgstr ""
metform.php CHANGED
@@ -5,7 +5,7 @@ defined( 'ABSPATH' ) || exit;
5
  * Plugin Name: MetForm
6
  * Plugin URI: http://products.wpmet.com/metform/
7
  * Description: Most flexible and design friendly form builder for Elementor
8
- * Version: 1.5.4
9
  * Author: Wpmet
10
  * Author URI: https://wpmet.com
11
  * Text Domain: metform
5
  * Plugin Name: MetForm
6
  * Plugin URI: http://products.wpmet.com/metform/
7
  * Description: Most flexible and design friendly form builder for Elementor
8
+ * Version: 1.5.5
9
  * Author: Wpmet
10
  * Author URI: https://wpmet.com
11
  * Text Domain: metform
plugin.php CHANGED
@@ -20,7 +20,7 @@ final class Plugin
20
 
21
  public function version()
22
  {
23
- return '1.5.4';
24
  }
25
 
26
  public function package_type()
@@ -243,6 +243,9 @@ final class Plugin
243
  'postType' => get_post_type(),
244
  'restURI' => get_rest_url(null, 'metform/v1/forms/views/')
245
  ));
 
 
 
246
 
247
 
248
  // begins pro feature
@@ -344,7 +347,7 @@ final class Plugin
344
 
345
  $get_form_id = isset($_GET['form_id']) ? sanitize_key($_GET['form_id']) : '';
346
  ?>
347
- <div id='metform-formlist' style='display:none;'><select name='form_id' id='metform-form_id'>
348
  <option value='all' <?php echo esc_attr(((($get_form_id == 'all') || ($get_form_id == '')) ? 'selected=selected' : '')); ?>>All</option>
349
  <?php
350
 
20
 
21
  public function version()
22
  {
23
+ return '1.5.5';
24
  }
25
 
26
  public function package_type()
243
  'postType' => get_post_type(),
244
  'restURI' => get_rest_url(null, 'metform/v1/forms/views/')
245
  ));
246
+
247
+ // Recaptcha Support Script.
248
+ wp_register_script( 'recaptcha-support', $this->public_url() . 'assets/js/recaptcha-support.js', ['jquery'], $this->version(), true );
249
 
250
 
251
  // begins pro feature
347
 
348
  $get_form_id = isset($_GET['form_id']) ? sanitize_key($_GET['form_id']) : '';
349
  ?>
350
+ <div id='metform-formlist' style='display:none;'><select name='mf_form_id' id='metform-form_id'>
351
  <option value='all' <?php echo esc_attr(((($get_form_id == 'all') || ($get_form_id == '')) ? 'selected=selected' : '')); ?>>All</option>
352
  <?php
353
 
public/assets/css/style.css CHANGED
@@ -1 +1 @@
1
- @-webkit-keyframes metform-responseOpen{from{-webkit-transform:scaleY(0);transform:scaleY(0);opacity:0;-webkit-transform-origin:top center;transform-origin:top center}to{-webkit-transform:scaley(1);transform:scaley(1);opacity:1;-webkit-transform-origin:top center;transform-origin:top center}}@keyframes metform-responseOpen{from{-webkit-transform:scaleY(0);transform:scaleY(0);opacity:0;-webkit-transform-origin:top center;transform-origin:top center}to{-webkit-transform:scaley(1);transform:scaley(1);opacity:1;-webkit-transform-origin:top center;transform-origin:top center}}@-webkit-keyframes metform-responseClose{from{-webkit-transform:scaley(1);transform:scaley(1);-webkit-transform-origin:top center;transform-origin:top center}to{-webkit-transform:scaley(0);transform:scaley(0);-webkit-transform-origin:top center;transform-origin:top center}}@keyframes metform-responseClose{from{-webkit-transform:scaley(1);transform:scaley(1);-webkit-transform-origin:top center;transform-origin:top center}to{-webkit-transform:scaley(0);transform:scaley(0);-webkit-transform-origin:top center;transform-origin:top center}}@-webkit-keyframes metform-zoom-out-zero{from{opacity:1;-webkit-transform:scale(1);transform:scale(1)}to{opacity:0;-webkit-transform:scale(0);transform:scale(0)}}@keyframes metform-zoom-out-zero{from{opacity:1;-webkit-transform:scale(1);transform:scale(1)}to{opacity:0;-webkit-transform:scale(0);transform:scale(0)}}@-webkit-keyframes metform-zoom-in-full{from{opacity:0;-webkit-transform:scale(0);transform:scale(0)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes metform-zoom-in-full{from{opacity:0;-webkit-transform:scale(0);transform:scale(0)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}#elementor .mf-btn-wraper a.metform-btn{background:#337ab7;color:#fff;border-radius:5px;height:20%;font-size:16px;padding:10px}.mf-form-wrapper section,.single-metform-form section{padding-top:0;padding-bottom:0}.mf-input-switch-control{position:relative;display:inline-block}.mf-input-switch-control>input[type=checkbox]{display:none!important}.mf-input-control{position:absolute;z-index:-1;opacity:0}.mf-input-switch .mf-input-control-label::before{content:attr(data-disable);width:55px;height:25px;background-color:#ededed;left:0;border-radius:15px;text-align:right;color:#fff;text-transform:uppercase;font-weight:700;font-size:10px;padding:3px;-webkit-box-sizing:border-box;box-sizing:border-box;padding-right:10px;-webkit-transition:all .4s;transition:all .4s;float:right;line-height:18px;cursor:pointer;display:-ms-flexbox;display:-webkit-box;display:flex;-ms-flex-align:center;-webkit-box-align:center;align-items:center;-ms-flex-pack:end;-webkit-box-pack:end;justify-content:flex-end}.metform-form-content{position:relative;z-index:0;overflow-x:clip}.mf-multistep-container .elementor-top-section .elementor-inner-section{padding:0!important;margin:0!important}.mf-multistep-container .elementor-top-section .elementor-inner-column{min-height:inherit}.mf-multistep-container .elementor-top-section .elementor-inner-column .elementor-element-populated{padding-top:0!important;padding-bottom:0!important}.mf-multistep-container .elementor-top-section .elementor-inner-column .elementor-widget-container{margin:10px 0}.mf-response-msg-wrap{-webkit-transition:height .45s,opacity .45s,visibility .45s;transition:height .45s,opacity .45s,visibility .45s;background-color:#fff}.mf-response-msg-wrap[data-show="0"]{height:0!important;opacity:0;visibility:hidden}.mf-response-msg-wrap[data-show="1"]{height:auto;opacity:1;visibility:visible;margin-bottom:20px}.mf-response-msg{border-radius:5px;text-align:center;padding:15px 34px;height:100%}.wf-error-res{background-color:#f8d7da;border-color:#f5c6cb}.mf-success-icon,.wf-error-res .mf-alert-icon{color:#721c24;font-size:30px;margin-bottom:5px}.mf-success-icon{color:#101010}.mf-response-msg p{font-size:17px;line-height:20px;color:#101010;margin-bottom:0}.wf-error-res p{color:#721c24}.custom-file-label,.custom-select,.mf-input-control-label::before{-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out}.mf-input-control-label::after{position:absolute;top:2px;left:2px;display:block;width:14px;height:14px;content:"";background-color:#adb5bd;border-radius:100px;-webkit-transition:all .4s;transition:all .4s;cursor:pointer}.mf-input-switch label.mf-input-control-label{display:inline-block;vertical-align:middle;position:relative;margin:0}.mf-input-control:checked~.mf-input-control-label::before{color:#fff;border-color:#007bff;background-color:#007bff;content:attr(data-enable);text-align:left;padding-left:10px;-ms-flex-pack:start;-webkit-box-pack:start;justify-content:flex-start}.mf-input-switch .mf-input-control:checked~.mf-input-control-label::after{background-color:#fff}.mf-input-wrapper .mf-input-help{display:block;font-size:.9em;margin-top:5px;opacity:.7;clear:both;font-weight:400}.mf-input-wrapper .mf-input{width:100%;max-width:100%;padding:12px;height:auto;border-width:1px;border-style:solid;border-color:#eaeaea;border-radius:2px;background:0 0;background-color:#fafafa;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all .2s linear;transition:all .2s linear;font-size:14px;line-height:21px;text-align:left}.mf-input-wrapper .mf-input:focus,.mf-input-wrapper.mf-field-error .mf-input,.mf-input-wrapper.mf-field-error .mf-input:focus{outline:0}.mf-input-wrapper .mf-input:focus{border-color:#4285f478}.mf-input-wrapper .mf-input:-ms-input-placeholder{color:#c9c1c1;font-weight:400;font-size:14px}.mf-input-wrapper .mf-input::-webkit-input-placeholder{color:#c9c1c1;font-weight:400;font-size:14px}.mf-input-wrapper .mf-input::-moz-placeholder{color:#c9c1c1;font-weight:400;font-size:14px}.mf-input-wrapper .mf-input::-ms-input-placeholder{color:#c9c1c1;font-weight:400;font-size:14px}.mf-input-wrapper .mf-input::placeholder{color:#c9c1c1;font-weight:400;font-size:14px}.mf-input-wrapper .mf-input::-webkit-input-placeholder{color:#c9c1c1;font-weight:400;font-size:14px}.mf-input-wrapper .mf-input:-moz-placeholder{color:#c9c1c1;font-weight:400;font-size:14px}@media (max-width:767px){.attr-form-group>.attr-control-label,.attr-form-group>.mf-input,.mf-input-wrapper>.mf-captcha-input-wrapper,.mf-input-wrapper>.mf-checkbox,.mf-input-wrapper>.mf-image-select,.mf-input-wrapper>.mf-input-label,.mf-input-wrapper>.mf-input:not(.mf-left-parent),.mf-input-wrapper>.mf-payment-method,.mf-input-wrapper>.mf-radio,.mf-input-wrapper>.mf-repeater-field-label,.mf-input-wrapper>.mf-signature{width:100%;min-width:100%}}.mf-input-wrapper .mf-input-label,.mf-repeater-field-label{font-family:Roboto,sans-serif;font-weight:600;font-size:14px;display:block;color:#000;font-size:14px;line-height:16px;margin-bottom:5px}.mf-input-wrapper .mf-input,.mf-input-wrapper .mf-input-label{vertical-align:middle}div.mf-input-wrapper>textarea.mf-input{padding:15px}.irs--round .irs-max,.irs--round .irs-min{display:none}.irs--round .irs-handle{cursor:pointer}.multi-option-input-type{vertical-align:middle}.mf-checkbox-option input[type=checkbox]{display:none!important}.mf-checkbox-option:not(.disabled) label{cursor:pointer}.mf-checkbox-option input[type=checkbox]+span::before{position:relative;content:"\f0c8";font-family:"Font Awesome 5 Free"!important;font-weight:500!important;display:inline-block;border:none;font-size:18px;color:#5f7bff;font-weight:400;width:25px;line-height:1;top:2px}.mf-checkbox-option input[type=checkbox]+span{font-weight:400;font-size:14px;cursor:pointer}.mf-checkbox-option input[type=checkbox]:checked+span::before{content:"\f14a";font-family:"Font Awesome 5 Free"!important;display:inline-block;border:none;font-size:18px;color:#5f7bff}.mf-radio-option input[type=radio]{display:none!important}.mf-checkbox-option,.mf-radio-option{padding-right:15px}.mf-radio-option input[type=radio]+span::before{content:"\f111";font-family:"Font Awesome 5 Free"!important;font-weight:500!important;display:inline-block;border:none;font-size:18px;color:#5f7bff;font-weight:400;width:25px;line-height:1;top:2px;position:relative}.mf-radio-option input[type=radio]+span{font-weight:400;font-size:14px;cursor:pointer}.mf-radio-option input[type=radio]:checked+span::before{content:"\f058";font-family:"Font Awesome 5 Free"!important;display:inline-block;border:none;font-size:18px;color:#5f7bff}.mf-input-wrapper .mf-input-select{padding:0!important}.mf-input-select .mf_select__control{min-height:0;padding:12px;border-width:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;border-radius:none!important;border:1px solid #eaeaea;background-color:transparent}.mf-input-select .mf_select__control:hover{border:1px solid #eaeaea}.mf-input-select .mf_select__indicator-separator{display:none}.mf-input-select .mf_select__value-container,.mf-input-select .mf_select__value-container input{padding:0}.mf-input-select .mf_select__placeholder{margin-left:0;margin-right:0;color:inherit}.mf-input-select .mf_select__indicators{margin-right:2px}.mf-input-multiselect .mf_multiselect__indicators{margin-right:15px}.mf-input-multiselect .mf_multiselect__dropdown-indicator,.mf-input-select .mf_select__indicator{padding:0;border-style:solid;border-width:5px 4px 0;border-color:currentColor transparent transparent}.mf-input-multiselect .mf_multiselect__control--menu-is-open .mf_multiselect__dropdown-indicator,.mf-input-select .mf_select__control--menu-is-open .mf_select__indicator{border-width:0 4px 5px;border-color:transparent transparent currentColor}.mf-input-multiselect .mf_multiselect__dropdown-indicator>svg,.mf-input-select .mf_select__indicator>svg{display:none}.mf-input-select .mf_select__menu{width:100%;margin:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;background-color:#fff}.mf-input-select .mf_select__menu>div{overflow-x:hidden}.mf-input-select .mf_select__menu-list{padding:0}.mf-input-select .mf_select__option{cursor:pointer;border:1px solid #eaeaea}.mf-input-select .mf_select__option.mf_select__option--is-focused,.mf-input-select .mf_select__option.mf_select__option--is-selected,.mf-input-select .mf_select__option:hover{background-color:#f0f0f0}.mf-input-select .mf_select__control.mf_select__control--is-focused{border-color:#4285f478;background-color:inherit}.mf-input.mf-input-select{border:none!important;background-color:#fafafa}.mf-input-select .mf_select__single-value{position:relative;top:0;width:100%;max-width:calc(100% - 22px);margin-left:0;margin-right:0;-webkit-transform:none;transform:none}.mf-input-wrapper select.mf-input-dropdown{border:none;padding:15px 25px;font-size:15px;font-weight:500!important;-webkit-appearance:none;-o-appearance:none;-moz-appearance:none;appearance:none;border-width:1px;border-style:solid;border-color:#eaeaea}.mf-input-wrapper select.mf-input-dropdown option{background-color:#fff;color:#222;font-size:15px}.mf-input-switch-control.mf-input-switch.mf-input{-webkit-box-shadow:none!important;box-shadow:none!important;vertical-align:-webkit-baseline-middle;border:none;padding:0}.mf-input-wrapper .range-slider{display:inline-block;width:100%}.mf-input-wrapper .asRange{width:100%;background-color:#f1f4f9}.mf-input-wrapper .asRange .asRange-pointer .asRange-tip::before,.mf-input-wrapper .asRange .asRange-pointer::before,.mf-input-wrapper .asRange .asRange-selected{background-color:#1fb787}.mf-input-wrapper .asRange .asRange-pointer .asRange-tip{background-color:#1fb787;border:1px solid #1fb787;top:inherit;bottom:18px;left:-50%;margin-left:8px;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.metform-btn{background-color:#4285f4;border:none;-webkit-box-shadow:none;box-shadow:none;display:inline-block;max-width:100%;padding:16px 40px;font-size:16px;border-radius:2px;cursor:pointer;-webkit-box-shadow:0 5px 5px 0 rgba(66,133,244,.3);box-shadow:0 5px 5px 0 rgba(66,133,244,.3);line-height:18px;-webkit-transition:all .4s;transition:all .4s;font-weight:500;text-decoration:none}.metform-btn:focus,.metform-btn:hover{background-color:#4285f4;text-decoration:none;outline:0}button.metform-btn,button.metform-btn:not(.toggle){background-color:#4285f4}button.metform-btn:focus,button.metform-btn:hover{background-color:#4285f4}@media (max-width:767px){.mf-btn--mobile-justify .metform-btn{width:100%}}@media (min-width:768px) and (max-width:1024px){.mf-btn--tablet-justify .metform-btn{width:100%}}@media (min-width:1025px){.mf-btn--justify .metform-btn{width:100%}}.metform-submit-btn{position:relative;z-index:0}.metform-submit-btn::after,.metform-submit-btn::before{content:" ";position:absolute;top:50%;left:50%;width:22px;height:22px;margin:-11px 0 0 -11px;border-style:solid;border-color:currentColor;border-width:0;border-radius:50%;opacity:0;-webkit-transition:opacity .3s ease;transition:opacity .3s ease}.metform-submit-btn[disabled]::after,.metform-submit-btn[disabled]::before{opacity:1;-webkit-transition-delay:.15s;transition-delay:.15s}.metform-submit-btn::before{border-width:2px}.metform-submit-btn[disabled]::before{opacity:.25}.metform-submit-btn::after{border-top-width:2px;-webkit-animation:submitspin .55s linear infinite;animation:submitSpin .55s linear infinite}.metform-submit-btn>span{-webkit-transition:opacity .15s ease .15s;transition:opacity .15s ease .15s}.metform-submit-btn[disabled]>span{opacity:0;-webkit-transition-delay:0;transition-delay:0}@-webkit-keyframes submitSpin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes submitSpin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.mf-input-wrapper .iti{display:block}.mf-input-wrapper>.iti{display:inline-block;width:100%}.mf-input-wrapper .iti .mf-input{width:100%!important}.mf-input-wrapper .iti--separate-dial-code .iti__selected-flag{background-color:#f7f6f6}.mf-input-wrapper .iti .iti__flag-container{display:none}.mf-input-wrapper .iti>.iti__flag-container{display:block}.flatpickr-calendar{margin-top:8px}.flatpickr-month{margin-top:3px;margin-bottom:5px}.mf-input-wrapper>.flatpickr-wrapper{display:block}.flatpickr-wrapper select{display:inline-block}.elementor-widget-mf-date.elementor-element-edit-mode .flatpickr-calendar,.elementor-widget-mf-time.elementor-element-edit-mode .flatpickr-calendar{top:100%!important;left:0!important}.mf-ratings{display:-ms-inline-flexbox;display:-webkit-inline-box;display:inline-flex;-ms-flex-wrap:wrap;flex-wrap:wrap;cursor:pointer}.mf-ratings>input{display:none!important}.mf-ratings>label{cursor:pointer}.mf-ratings>label:not(:last-child){padding-right:5px}.mf-ratings.is-selected>label,.mf-ratings:not(.is-selected):hover>label{color:#ffdb72}.mf-ratings.is-selected:not(:hover)>input:checked+label~label,.mf-ratings.is-selected>label:hover~label,.mf-ratings:not(.is-selected),.mf-ratings:not(.is-selected)>label:hover~label{color:#ccc}.mf-input-file-upload{width:.1px;height:.1px;opacity:0;visibility:hidden;position:absolute}.mf-input-file-upload-label{color:#fff;margin-right:10px;padding:5px 15px;display:-ms-inline-flexbox;display:-webkit-inline-box;display:inline-flex;-ms-flex-align:center;-webkit-box-align:center;align-items:center;-webkit-box-shadow:none;box-shadow:none;font-size:16px;font-weight:400;line-height:28px}.mf-input-file-upload-label i{font-size:18px}.mf-input-file-upload-label svg{max-width:18px;height:auto;vertical-align:middle}.mf-file-name span{display:inline-block;font-size:15px}.mf-input-wrapper .error{display:block;font-size:14px}.mf-input-multiselect,.mf-input-select{padding:0;cursor:pointer}.mf-input.mf-input-multiselect{padding:0!important;-webkit-box-shadow:none!important;box-shadow:none!important;border:none!important}.mf-input-multiselect .mf_multiselect__control{border:1px solid #eaeaea;border-radius:0;background-color:#fafafa;cursor:pointer}.mf-input-multiselect .mf_multiselect__control:focus,.mf-input-multiselect .mf_multiselect__control:hover{border:1px solid #eaeaea;outline:0;-webkit-box-shadow:none;box-shadow:none}.mf_multiselect__indicator-separator{display:none}.mf_multiselect__option.mf_multiselect__option--is-focused,.mf_multiselect__option:hover{background-color:#f0f0f0}.mf_multiselect__option.mf_multiselect__option--is-focused{background-color:#fff}.mf_multiselect__option{border:1px solid #eaeaea;background-color:#fff;padding:10px 15px;font-size:15px}.mf-input-multiselect .mf_multiselect__menu{margin:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;cursor:pointer}.mf-input-multiselect .mf_multiselect__menu-list{padding:0}.mf-input-multiselect .mf_multiselect__placeholder{color:#c9c1c1}.mf_multiselect__menu-notice--no-options{border:1px solid #eaeaea;color:#c9c1c1}.mf_multiselect__control .mf_multiselect__value-container{padding:8px 12px}.mf_multiselect__control .mf_multiselect__value-container>div:last-child{height:25px}.mf-input-multiselect .mf_multiselect__multi-value{margin:0 5px 0 0}.mf_multiselect__multi-value__remove{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.mf_multiselect__multi-value__label{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.mf-input-multiselect .mf_multiselect__input>input{min-height:0}.mf-input.mf-input-summary{padding:0;background-color:#fff;border-width:0}.mf-entry-data{margin:0;padding:0;list-style:none;word-break:break-word}.mf-entry-data>li{border:1px solid rgba(0,0,0,.1)}.mf-entry-data>li:not(:last-child){border-bottom-width:0}.mf-entry-data>li>strong{display:block;padding:8px;background-color:#eaf2fa;border-bottom:1px solid rgba(0,0,0,.1)}.mf-entry-data>li>span{display:block;padding:8px 28px;min-height:42px}.elementor-widget-mf-range .mf-field-error .error{display:none!important}.g-recaptcha>div{position:relative;z-index:0}.g-recaptcha>div::after,.g-recaptcha>div::before,.g-recaptcha>div>div::after,.g-recaptcha>div>div::before{content:" ";position:absolute;border-style:solid;border-color:#d3d3d3;border-width:0;z-index:0}.g-recaptcha>div::before{top:0;left:0;bottom:2px;border-left-width:1px}.g-recaptcha>div::after{top:0;right:2px;bottom:2px;border-right-width:1px}.g-recaptcha>div>div::before{top:0;left:0;right:2px;border-top-width:1px}.g-recaptcha>div>div::after{left:0;right:2px;bottom:2px;border-bottom-width:1px}.g-recaptcha+.attr-alert{display:none}.g-recaptcha:empty+.attr-alert{display:block!important}.mf-captcha-input-wrapper.mf-captcha-block>i{padding-left:25px}img.mf-input.mf-captcha-image{max-width:200px;border:none;-webkit-box-sizing:unset;box-sizing:unset;background:0 0;padding:0;display:inline-block}.mf-captcha-block>img.mf-input.mf-captcha-image{margin:5px 0 5px 0}.mf-captcha-inline>img.mf-input.mf-captcha-image{margin:0 5px 0 0}.mf-captcha-input-wrapper.mf-captcha-inline{display:-ms-inline-flexbox!important;display:-webkit-inline-box!important;display:inline-flex!important;-ms-flex-align:center;-webkit-box-align:center;align-items:center;width:100%}.mf-captcha-input-wrapper.mf-captcha-inline>i{margin-left:25px!important;-ms-flex-order:1;-webkit-box-ordinal-group:2;order:1}.mf-refresh-captcha::before{content:"\f01e";font-family:"Font Awesome 5 Free";font-weight:700;font-style:normal;cursor:pointer}.mf-error-message{display:block}.mf-input-wrapper .input-range__slider{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border:4px solid #000;border-radius:100%;cursor:pointer;display:block;height:15px;margin-left:-7.5px;margin-top:-11px;outline:0;position:absolute;top:50%;-webkit-transition:-webkit-transform .3s ease-out,box-shadow .3s ease-out;-webkit-transition:-webkit-transform .3s ease-out,-webkit-box-shadow .3s ease-out;transition:-webkit-transform .3s ease-out,-webkit-box-shadow .3s ease-out;transition:transform .3s ease-out,box-shadow .3s ease-out;transition:transform .3s ease-out,box-shadow .3s ease-out,-webkit-transform .3s ease-out,-webkit-box-shadow .3s ease-out;-webkit-transition:-webkit-transform .3s ease-out,box-shadow .3s ease-out,-webkit-transform .3s ease-out;transition:transform .3s ease-out,box-shadow .3s ease-out,-webkit-transform .3s ease-out;width:15px}.mf-input-wrapper .input-range__slider:focus{-webkit-box-shadow:0 0 0 5px rgba(63,81,181,.2);box-shadow:0 0 0 5px rgba(63,81,181,.2)}.input-range--disabled .input-range__slider{background:#ccc;border:1px solid #ccc;-webkit-box-shadow:none;box-shadow:none;-webkit-transform:none;transform:none}.mf-input-wrapper .input-range__slider-container{-webkit-transition:left .3s ease-out;transition:left .3s ease-out}.mf-input-wrapper .input-range__label{color:#aaa;font-family:"Helvetica Neue",san-serif;font-size:.8rem;-webkit-transform:translateZ(0);transform:translateZ(0);white-space:nowrap}.mf-input-wrapper .input-range__label--max,.mf-input-wrapper .input-range__label--min{bottom:-1.4rem;position:absolute;display:none}.mf-input-wrapper .input-range__label--min{left:0}.mf-input-wrapper .input-range__label--max{right:0}.mf-input-wrapper .input-range__label--value{position:absolute;bottom:20px}.mf-input-wrapper .input-range__label-container{left:-50%;position:relative;background-color:#000;width:36px;height:20px;display:inline-block;color:#fff;font-size:12px;text-align:center;border-radius:3px}.mf-input-wrapper .input-range__label-container::before{position:absolute;bottom:-3px;left:50%;display:inline-block;width:6px;height:6px;margin-left:-3px;content:"";background-color:#000;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.mf-input-wrapper .input-range__label--max .input-range__label-container{left:50%}.mf-input-wrapper .input-range__track{background:#f1f4f9;border-radius:.3rem;cursor:pointer;display:block;height:8px;position:relative;-webkit-transition:left .3s ease-out,width .3s ease-out;transition:left .3s ease-out,width .3s ease-out}.mf-input-wrapper .input-range--disabled .input-range__track{background:#f1f4f9}.mf-input-wrapper .input-range__track--background{left:0;margin-top:-.15rem;position:absolute;right:0;top:50%}.mf-input-wrapper .input-range__track--active{background:#000}.mf-input-wrapper .input-range{height:1rem;position:relative;width:100%}.mf-condition--hidden,[mf-condition-hidden=true]{display:none;visibility:hidden}.mf-main-response-wrap[data-show="1"] .mf-response-msg{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-name:metform-responseOpen;animation-name:metform-responseOpen}.mf-main-response-wrap[data-show="0"] .mf-response-msg{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-name:metform-responseClose;animation-name:metform-responseClose}.mf-main-response-wrap .mf-response-msg{border-radius:10px;border:1px solid #c3c2c2}.mf-main-response-wrap:not(.mf_pro_activated) .mf-response-msg{background-color:#fff}.mf-close-this-form{-webkit-animation-duration:.6s;animation-duration:.6s;-webkit-animation-name:metform-zoom-out-zero;animation-name:metform-zoom-out-zero}.mf-close-this-form>h2{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-name:metform-zoom-in-full;animation-name:metform-zoom-in-full}
1
+ @-webkit-keyframes metform-responseOpen{from{-webkit-transform:scaleY(0);transform:scaleY(0);opacity:0;-webkit-transform-origin:top center;transform-origin:top center}to{-webkit-transform:scaley(1);transform:scaley(1);opacity:1;-webkit-transform-origin:top center;transform-origin:top center}}@keyframes metform-responseOpen{from{-webkit-transform:scaleY(0);transform:scaleY(0);opacity:0;-webkit-transform-origin:top center;transform-origin:top center}to{-webkit-transform:scaley(1);transform:scaley(1);opacity:1;-webkit-transform-origin:top center;transform-origin:top center}}@-webkit-keyframes metform-responseClose{from{-webkit-transform:scaley(1);transform:scaley(1);-webkit-transform-origin:top center;transform-origin:top center}to{-webkit-transform:scaley(0);transform:scaley(0);-webkit-transform-origin:top center;transform-origin:top center}}@keyframes metform-responseClose{from{-webkit-transform:scaley(1);transform:scaley(1);-webkit-transform-origin:top center;transform-origin:top center}to{-webkit-transform:scaley(0);transform:scaley(0);-webkit-transform-origin:top center;transform-origin:top center}}@-webkit-keyframes metform-zoom-out-zero{from{opacity:1;-webkit-transform:scale(1);transform:scale(1)}to{opacity:0;-webkit-transform:scale(0);transform:scale(0)}}@keyframes metform-zoom-out-zero{from{opacity:1;-webkit-transform:scale(1);transform:scale(1)}to{opacity:0;-webkit-transform:scale(0);transform:scale(0)}}@-webkit-keyframes metform-zoom-in-full{from{opacity:0;-webkit-transform:scale(0);transform:scale(0)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes metform-zoom-in-full{from{opacity:0;-webkit-transform:scale(0);transform:scale(0)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}#elementor .mf-btn-wraper a.metform-btn{background:#337ab7;color:#fff;border-radius:5px;height:20%;font-size:16px;padding:10px}.mf-form-wrapper section,.single-metform-form section{padding-top:0;padding-bottom:0}.mf-input-switch-control{position:relative;display:inline-block}.mf-input-switch-control>input[type=checkbox]{display:none!important}.mf-input-control{position:absolute;z-index:-1;opacity:0}.mf-input-switch .mf-input-control-label::before{content:attr(data-disable);width:55px;height:25px;background-color:#ededed;left:0;border-radius:15px;text-align:right;color:#fff;text-transform:uppercase;font-weight:700;font-size:10px;padding:3px;-webkit-box-sizing:border-box;box-sizing:border-box;padding-right:10px;-webkit-transition:all .4s;transition:all .4s;float:right;line-height:18px;cursor:pointer;display:-ms-flexbox;display:-webkit-box;display:flex;-ms-flex-align:center;-webkit-box-align:center;align-items:center;-ms-flex-pack:end;-webkit-box-pack:end;justify-content:flex-end}.metform-form-content{position:relative;z-index:0;overflow-x:clip}.mf-multistep-container .elementor-top-section .elementor-inner-section{padding:0!important;margin:0!important}.mf-multistep-container .elementor-top-section .elementor-inner-column{min-height:inherit}.mf-multistep-container .elementor-top-section .elementor-inner-column .elementor-element-populated{padding-top:0!important;padding-bottom:0!important}.mf-multistep-container .elementor-top-section .elementor-inner-column .elementor-widget-container{margin:10px 0}.mf-response-msg-wrap{-webkit-transition:height .45s,opacity .45s,visibility .45s;transition:height .45s,opacity .45s,visibility .45s;background-color:#fff}.mf-response-msg-wrap[data-show="0"]{height:0!important;opacity:0;visibility:hidden}.mf-response-msg-wrap[data-show="1"]{height:auto;opacity:1;visibility:visible;margin-bottom:20px}.mf-response-msg{border-radius:5px;text-align:center;padding:15px 34px;height:100%}.wf-error-res{background-color:#f8d7da;border-color:#f5c6cb}.mf-success-icon,.wf-error-res .mf-alert-icon{color:#721c24;font-size:30px;margin-bottom:5px}.mf-success-icon{color:#101010}.mf-response-msg p{font-size:17px;line-height:20px;color:#101010;margin-bottom:0}.wf-error-res p{color:#721c24}.custom-file-label,.custom-select,.mf-input-control-label::before{-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out}.mf-input-control-label::after{position:absolute;top:2px;left:2px;display:block;width:14px;height:14px;content:"";background-color:#adb5bd;border-radius:100px;-webkit-transition:all .4s;transition:all .4s;cursor:pointer}.mf-input-switch label.mf-input-control-label{display:inline-block;vertical-align:middle;position:relative;margin:0}.mf-input-control:checked~.mf-input-control-label::before{color:#fff;border-color:#007bff;background-color:#007bff;content:attr(data-enable);text-align:left;padding-left:10px;-ms-flex-pack:start;-webkit-box-pack:start;justify-content:flex-start}.mf-input-switch .mf-input-control:checked~.mf-input-control-label::after{background-color:#fff}.mf-input-wrapper .mf-input-help{display:block;font-size:.9em;margin-top:5px;opacity:.7;clear:both;font-weight:400}.mf-input-wrapper .mf-input{width:100%;max-width:100%;padding:12px;height:auto;border-width:1px;border-style:solid;border-color:#eaeaea;border-radius:2px;background:0 0;background-color:#fafafa;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all .2s linear;transition:all .2s linear;font-size:14px;line-height:21px;text-align:left}.mf-input-wrapper .mf-input:focus,.mf-input-wrapper.mf-field-error .mf-input,.mf-input-wrapper.mf-field-error .mf-input:focus{outline:0}.mf-input-wrapper .mf-input:focus{border-color:#4285f478}.mf-input-wrapper .mf-input:-ms-input-placeholder{color:#c9c1c1;font-weight:400;font-size:14px}.mf-input-wrapper .mf-input::-webkit-input-placeholder{color:#c9c1c1;font-weight:400;font-size:14px}.mf-input-wrapper .mf-input::-moz-placeholder{color:#c9c1c1;font-weight:400;font-size:14px}.mf-input-wrapper .mf-input::-ms-input-placeholder{color:#c9c1c1;font-weight:400;font-size:14px}.mf-input-wrapper .mf-input::placeholder{color:#c9c1c1;font-weight:400;font-size:14px}.mf-input-wrapper .mf-input::-webkit-input-placeholder{color:#c9c1c1;font-weight:400;font-size:14px}.mf-input-wrapper .mf-input:-moz-placeholder{color:#c9c1c1;font-weight:400;font-size:14px}@media (max-width:767px){.attr-form-group>.attr-control-label,.attr-form-group>.mf-input,.mf-input-wrapper>.mf-captcha-input-wrapper,.mf-input-wrapper>.mf-checkbox,.mf-input-wrapper>.mf-image-select,.mf-input-wrapper>.mf-input-label,.mf-input-wrapper>.mf-input:not(.mf-left-parent),.mf-input-wrapper>.mf-payment-method,.mf-input-wrapper>.mf-radio,.mf-input-wrapper>.mf-repeater-field-label,.mf-input-wrapper>.mf-signature{width:100%;min-width:100%}}.mf-input-wrapper .mf-input-label,.mf-repeater-field-label{font-family:Roboto,sans-serif;font-weight:600;font-size:14px;display:block;color:#000;font-size:14px;line-height:16px;margin-bottom:5px}.mf-input-wrapper .mf-input,.mf-input-wrapper .mf-input-label{vertical-align:middle}div.mf-input-wrapper>textarea.mf-input{padding:15px}.irs--round .irs-max,.irs--round .irs-min{display:none}.irs--round .irs-handle{cursor:pointer}.multi-option-input-type{vertical-align:middle}.mf-checkbox-option input[type=checkbox]{display:none!important}.mf-checkbox-option:not(.disabled) label{cursor:pointer}.mf-checkbox-option input[type=checkbox]+span::before{position:relative;content:"\f0c8";font-family:"Font Awesome 5 Free"!important;font-weight:500!important;display:inline-block;border:none;font-size:18px;color:#5f7bff;font-weight:400;width:25px;line-height:1;top:2px}.mf-checkbox-option input[type=checkbox]+span{font-weight:400;font-size:14px;cursor:pointer}.mf-checkbox-option input[type=checkbox]:checked+span::before{content:"\f14a";font-family:"Font Awesome 5 Free"!important;display:inline-block;border:none;font-size:18px;color:#5f7bff}.mf-radio-option input[type=radio]{display:none!important}.mf-checkbox-option,.mf-radio-option{padding-right:15px}.mf-radio-option input[type=radio]+span::before{content:"\f111";font-family:"Font Awesome 5 Free"!important;font-weight:500!important;display:inline-block;border:none;font-size:18px;color:#5f7bff;font-weight:400;width:25px;line-height:1;top:2px;position:relative}.mf-radio-option input[type=radio]+span{font-weight:400;font-size:14px;cursor:pointer}.mf-radio-option input[type=radio]:checked+span::before{content:"\f058";font-family:"Font Awesome 5 Free"!important;display:inline-block;border:none;font-size:18px;color:#5f7bff}.mf-input-wrapper .mf-input-select{padding:0!important}.mf-input-select .mf_select__control{min-height:0;padding:12px;border-width:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;border-radius:none!important;border:1px solid #eaeaea;background-color:transparent}.mf-input-select .mf_select__control:hover{border:1px solid #eaeaea}.mf-input-select .mf_select__indicator-separator{display:none}.mf-input-select .mf_select__value-container,.mf-input-select .mf_select__value-container input{padding:0}.mf-input-select .mf_select__placeholder{margin-left:0;margin-right:0;color:inherit}.mf-input-select .mf_select__indicators{margin-right:2px}.mf-input-multiselect .mf_multiselect__indicators{margin-right:15px}.mf-input-multiselect .mf_multiselect__dropdown-indicator,.mf-input-select .mf_select__indicator{padding:0;border-style:solid;border-width:5px 4px 0;border-color:currentColor transparent transparent}.mf-input-multiselect .mf_multiselect__control--menu-is-open .mf_multiselect__dropdown-indicator,.mf-input-select .mf_select__control--menu-is-open .mf_select__indicator{border-width:0 4px 5px;border-color:transparent transparent currentColor}.mf-input-multiselect .mf_multiselect__dropdown-indicator>svg,.mf-input-select .mf_select__indicator>svg{display:none}.mf-input-select .mf_select__menu{width:100%;margin:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;background-color:#fff}.mf-input-select .mf_select__menu>div{overflow-x:hidden}.mf-input-select .mf_select__menu-list{padding:0}.mf-input-select .mf_select__option{cursor:pointer;border:1px solid #eaeaea}.mf-input-select .mf_select__option.mf_select__option--is-focused,.mf-input-select .mf_select__option.mf_select__option--is-selected,.mf-input-select .mf_select__option:hover{background-color:#f0f0f0}.mf-input-select .mf_select__control.mf_select__control--is-focused{border-color:#4285f478;background-color:inherit}.mf-input.mf-input-select{border:none!important;background-color:#fafafa}.mf-input-select .mf_select__single-value{position:relative;top:0;width:100%;max-width:calc(100% - 22px);margin-left:0;margin-right:0;-webkit-transform:none;transform:none}.mf-input-wrapper select.mf-input-dropdown{border:none;padding:15px 25px;font-size:15px;font-weight:500!important;-webkit-appearance:none;-o-appearance:none;-moz-appearance:none;appearance:none;border-width:1px;border-style:solid;border-color:#eaeaea}.mf-input-wrapper select.mf-input-dropdown option{background-color:#fff;color:#222;font-size:15px}.mf-input-switch-control.mf-input-switch.mf-input{-webkit-box-shadow:none!important;box-shadow:none!important;vertical-align:-webkit-baseline-middle;border:none;padding:0}.mf-input-wrapper .range-slider{display:inline-block;width:100%}.mf-input-wrapper .asRange{width:100%;background-color:#f1f4f9}.mf-input-wrapper .asRange .asRange-pointer .asRange-tip::before,.mf-input-wrapper .asRange .asRange-pointer::before,.mf-input-wrapper .asRange .asRange-selected{background-color:#1fb787}.mf-input-wrapper .asRange .asRange-pointer .asRange-tip{background-color:#1fb787;border:1px solid #1fb787;top:inherit;bottom:18px;left:-50%;margin-left:8px;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.metform-btn{background-color:#4285f4;border:none;-webkit-box-shadow:none;box-shadow:none;display:inline-block;max-width:100%;padding:16px 40px;font-size:16px;border-radius:2px;cursor:pointer;-webkit-box-shadow:0 5px 5px 0 rgba(66,133,244,.3);box-shadow:0 5px 5px 0 rgba(66,133,244,.3);line-height:18px;-webkit-transition:all .4s;transition:all .4s;font-weight:500;text-decoration:none}.metform-btn:focus,.metform-btn:hover{background-color:#4285f4;text-decoration:none;outline:0}button.metform-btn,button.metform-btn:not(.toggle){background-color:#4285f4}button.metform-btn:focus,button.metform-btn:hover{background-color:#4285f4}@media (max-width:767px){.mf-btn--mobile-justify .metform-btn{width:100%}}@media (min-width:768px) and (max-width:1024px){.mf-btn--tablet-justify .metform-btn{width:100%}}@media (min-width:1025px){.mf-btn--justify .metform-btn{width:100%}}.metform-submit-btn{position:relative;z-index:0}.metform-submit-btn::after,.metform-submit-btn::before{content:" ";position:absolute;top:50%;left:50%;width:22px;height:22px;margin:-11px 0 0 -11px;border-style:solid;border-color:currentColor;border-width:0;border-radius:50%;opacity:0;-webkit-transition:opacity .3s ease;transition:opacity .3s ease}.metform-submit-btn[disabled]::after,.metform-submit-btn[disabled]::before{opacity:1;-webkit-transition-delay:.15s;transition-delay:.15s}.metform-submit-btn::before{border-width:2px}.metform-submit-btn[disabled]::before{opacity:.25}.metform-submit-btn::after{border-top-width:2px;-webkit-animation:submitspin .55s linear infinite;animation:submitSpin .55s linear infinite}.metform-submit-btn>span{-webkit-transition:opacity .15s ease .15s;transition:opacity .15s ease .15s}.metform-submit-btn[disabled]>span{opacity:0;-webkit-transition-delay:0;transition-delay:0}@-webkit-keyframes submitSpin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes submitSpin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.mf-input-wrapper .iti{display:block}.mf-input-wrapper>.iti{display:inline-block;width:100%}.mf-input-wrapper .iti .mf-input{width:100%!important}.mf-input-wrapper .iti--separate-dial-code .iti__selected-flag{background-color:#f7f6f6}.mf-input-wrapper .iti .iti__flag-container{display:none}.mf-input-wrapper .iti>.iti__flag-container{display:block}.flatpickr-calendar{margin-top:8px}.flatpickr-month{margin-top:3px;margin-bottom:5px}.mf-input-wrapper>.flatpickr-wrapper{display:block}.flatpickr-wrapper select{display:inline-block}.elementor-widget-mf-date.elementor-element-edit-mode .flatpickr-calendar,.elementor-widget-mf-time.elementor-element-edit-mode .flatpickr-calendar{top:100%!important;left:0!important}.mf-ratings{display:-ms-inline-flexbox;display:-webkit-inline-box;display:inline-flex;-ms-flex-wrap:wrap;flex-wrap:wrap;cursor:pointer}.mf-ratings>input{display:none!important}.mf-ratings>label{cursor:pointer}.mf-ratings>label:not(:last-child){padding-right:5px}.mf-ratings.is-selected>label,.mf-ratings:not(.is-selected):hover>label{color:#ffdb72}.mf-ratings.is-selected:not(:hover)>input:checked+label~label,.mf-ratings.is-selected>label:hover~label,.mf-ratings:not(.is-selected),.mf-ratings:not(.is-selected)>label:hover~label{color:#ccc}.mf-input-file-upload{width:.1px;height:.1px;opacity:0;visibility:hidden;position:absolute}.mf-input-file-upload-label{color:#fff;margin-right:10px;padding:5px 15px;display:-ms-inline-flexbox;display:-webkit-inline-box;display:inline-flex;-ms-flex-align:center;-webkit-box-align:center;align-items:center;-webkit-box-shadow:none;box-shadow:none;font-size:16px;font-weight:400;line-height:28px}.mf-input-file-upload-label i{font-size:18px}.mf-input-file-upload-label svg{max-width:18px;height:auto;vertical-align:middle}.mf-file-name span{display:inline-block;font-size:15px}.mf-input-wrapper .error{display:block;font-size:14px}.mf-input-multiselect,.mf-input-select{padding:0;cursor:pointer}.mf-input.mf-input-multiselect{padding:0!important;-webkit-box-shadow:none!important;box-shadow:none!important;border:none!important}.mf-input-multiselect .mf_multiselect__control{border:1px solid #eaeaea;border-radius:0;background-color:#fafafa;cursor:pointer}.mf-input-multiselect .mf_multiselect__control:focus,.mf-input-multiselect .mf_multiselect__control:hover{border:1px solid #eaeaea;outline:0;-webkit-box-shadow:none;box-shadow:none}.mf_multiselect__indicator-separator{display:none}.mf_multiselect__option.mf_multiselect__option--is-focused,.mf_multiselect__option:hover{background-color:#f0f0f0}.mf_multiselect__option.mf_multiselect__option--is-focused{background-color:#fff}.mf_multiselect__option{border:1px solid #eaeaea;background-color:#fff;padding:10px 15px;font-size:15px}.mf-input-multiselect .mf_multiselect__menu{margin:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;cursor:pointer}.mf-input-multiselect .mf_multiselect__menu-list{padding:0}.mf-input-multiselect .mf_multiselect__placeholder{color:#c9c1c1}.mf_multiselect__menu-notice--no-options{border:1px solid #eaeaea;color:#c9c1c1}.mf_multiselect__control .mf_multiselect__value-container{padding:8px 12px}.mf_multiselect__control .mf_multiselect__value-container>div:last-child{height:25px}.mf-input-multiselect .mf_multiselect__multi-value{margin:0 5px 0 0}.mf_multiselect__multi-value__remove{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.mf_multiselect__multi-value__label{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.mf-input-multiselect .mf_multiselect__input>input{min-height:0}.mf-input.mf-input-summary{padding:0;background-color:#fff;border-width:0}.mf-entry-data{margin:0;padding:0;list-style:none;word-break:break-word}.mf-entry-data>li{border:1px solid rgba(0,0,0,.1)}.mf-entry-data>li:not(:last-child){border-bottom-width:0}.mf-entry-data>li>strong{display:block;padding:8px;background-color:#eaf2fa;border-bottom:1px solid rgba(0,0,0,.1)}.mf-entry-data>li>span{display:block;padding:8px 28px;min-height:42px}.elementor-widget-mf-range .mf-field-error .error{display:none!important}.g-recaptcha>div{position:relative;z-index:0}.g-recaptcha>div::after,.g-recaptcha>div::before,.g-recaptcha>div>div::after,.g-recaptcha>div>div::before{content:" ";position:absolute;border-style:solid;border-color:#d3d3d3;border-width:0;z-index:0}.g-recaptcha>div::before{top:0;left:0;bottom:2px;border-left-width:1px}.g-recaptcha>div::after{top:0;right:2px;bottom:2px;border-right-width:1px}.g-recaptcha>div>div::before{top:0;left:0;right:2px;border-top-width:1px}.g-recaptcha>div>div::after{left:0;right:2px;bottom:2px;border-bottom-width:1px}.g-recaptcha+.attr-alert{display:none}.g-recaptcha:empty+.attr-alert{display:block!important}.mf-captcha-input-wrapper.mf-captcha-block>i{padding-left:25px}img.mf-input.mf-captcha-image{max-width:200px;border:none;-webkit-box-sizing:unset;box-sizing:unset;background:0 0;padding:0;display:inline-block}.mf-captcha-block>img.mf-input.mf-captcha-image{margin:5px 0 5px 0}.mf-captcha-inline>img.mf-input.mf-captcha-image{margin:0 5px 0 0}.mf-captcha-input-wrapper.mf-captcha-inline{display:-ms-inline-flexbox!important;display:-webkit-inline-box!important;display:inline-flex!important;-ms-flex-align:center;-webkit-box-align:center;align-items:center;width:100%}.mf-captcha-input-wrapper.mf-captcha-inline>i{margin-left:25px!important;-ms-flex-order:1;-webkit-box-ordinal-group:2;order:1}.mf-refresh-captcha::before{content:"\f01e";font-family:"Font Awesome 5 Free";font-weight:700;font-style:normal;cursor:pointer}.mf-error-message{display:block}.mf-input-wrapper .input-range__slider{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border:4px solid #000;border-radius:100%;cursor:pointer;display:block;height:15px;margin-left:-7.5px;margin-top:-11px;outline:0;position:absolute;top:50%;-webkit-transition:-webkit-transform .3s ease-out,box-shadow .3s ease-out;-webkit-transition:-webkit-transform .3s ease-out,-webkit-box-shadow .3s ease-out;transition:-webkit-transform .3s ease-out,-webkit-box-shadow .3s ease-out;transition:transform .3s ease-out,box-shadow .3s ease-out;transition:transform .3s ease-out,box-shadow .3s ease-out,-webkit-transform .3s ease-out,-webkit-box-shadow .3s ease-out;-webkit-transition:-webkit-transform .3s ease-out,box-shadow .3s ease-out,-webkit-transform .3s ease-out;transition:transform .3s ease-out,box-shadow .3s ease-out,-webkit-transform .3s ease-out;width:15px}.mf-input-wrapper .input-range__slider:focus{-webkit-box-shadow:0 0 0 5px rgba(63,81,181,.2);box-shadow:0 0 0 5px rgba(63,81,181,.2)}.input-range--disabled .input-range__slider{background:#ccc;border:1px solid #ccc;-webkit-box-shadow:none;box-shadow:none;-webkit-transform:none;transform:none}.mf-input-wrapper .input-range__slider-container{-webkit-transition:left .3s ease-out;transition:left .3s ease-out}.mf-input-wrapper .input-range__label{color:#aaa;font-family:"Helvetica Neue",san-serif;font-size:.8rem;-webkit-transform:translateZ(0);transform:translateZ(0);white-space:nowrap}.mf-input-wrapper .input-range__label--max,.mf-input-wrapper .input-range__label--min{bottom:-1.4rem;position:absolute;display:none}.mf-input-wrapper .input-range__label--min{left:0}.mf-input-wrapper .input-range__label--max{right:0}.mf-input-wrapper .input-range__label--value{position:absolute;bottom:20px}.mf-input-wrapper .input-range__label-container{left:-50%;position:relative;background-color:#000;width:36px;height:20px;display:inline-block;color:#fff;font-size:12px;text-align:center;border-radius:3px}.mf-input-wrapper .input-range__label-container::before{position:absolute;bottom:-3px;left:50%;display:inline-block;width:6px;height:6px;margin-left:-3px;content:"";background-color:#000;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.mf-input-wrapper .input-range__label--max .input-range__label-container{left:50%}.mf-input-wrapper .input-range__track{background:#f1f4f9;border-radius:.3rem;cursor:pointer;display:block;height:8px;position:relative;-webkit-transition:left .3s ease-out,width .3s ease-out;transition:left .3s ease-out,width .3s ease-out}.mf-input-wrapper .input-range--disabled .input-range__track{background:#f1f4f9}.mf-input-wrapper .input-range__track--background{left:0;margin-top:-.15rem;position:absolute;right:0;top:50%}.mf-input-wrapper .input-range__track--active{background:#000}.mf-input-wrapper .input-range{height:1rem;position:relative;width:100%}.mf-condition--hidden,[mf-condition-hidden=true]{display:none;visibility:hidden}.mf-main-response-wrap[data-show="1"] .mf-response-msg{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-name:metform-responseOpen;animation-name:metform-responseOpen}.mf-main-response-wrap[data-show="0"] .mf-response-msg{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-name:metform-responseClose;animation-name:metform-responseClose}.mf-main-response-wrap .mf-response-msg{border-radius:10px;border:1px solid #c3c2c2}.mf-main-response-wrap:not(.mf_pro_activated) .mf-response-msg{background-color:#fff}.mf-close-this-form{-webkit-animation-duration:.6s;animation-duration:.6s;-webkit-animation-name:metform-zoom-out-zero;animation-name:metform-zoom-out-zero}.mf-close-this-form>h2{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-name:metform-zoom-in-full;animation-name:metform-zoom-in-full}.mf-input-wrapper .mf-time-input[type=time]:not(.value-found):before{content:attr(placeholder);padding-right:2px}.mf-input-wrapper .mf-time-input[type=time]:focus:before{content:''!important}
public/assets/js/admin-entry-script.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready((function(e){var t=e("#metform-formlist");e("#post-query-submit").before(t.html()),t.remove(),e(".row-actions .edit a, .page-title-action").html("View")}));
1
+ jQuery(document).ready((function(e){var t=e("#metform-formlist");e("#post-query-submit").before(t.html()),t.remove();let o=new URL(window.location.href).searchParams.get("mf_form_id");o&&e("#metform-form_id").val(o),e(".row-actions .edit a, .page-title-action").html("View")}));
public/assets/js/admin-script.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready((function(e){"use strict";function t(){var t=e(".mf-mailchimp-list-id").val();e(".mailchimp_list option").each(((i,s)=>{e(s).attr("selected",!1),s.value===t&&e(s).attr("selected",!0)}))}function i(){e(".mf-btn-del-singl-field").click((function(){e(this).parent(".mf-cf-single-field").remove()}))}function s(e,t="",i=""){return'<div id="mf-cf-single-field" class="mf-cf-single-field"">\n <div class="mf-cf-single-field-input">\n <label>Name</label>\n <input type="text" name="mf_post_submission_custom_fields_name[]" class="attr-form-control" value="'+t+'">\n </div>\n <div class="mf-cf-single-field-input">\n <label>Select Field</label>\n <select data-selected="'+i+'" name="mf_post_submission_mf_field_name[]" class="attr-form-control">'+e+'</select>\n </div>\n <a href="#" class="mf-btn-del-singl-field">Delete</a>\n </div>'}e(".metfrom-btn-refresh-get-response-list").click((function(){var t=e(this);t.addClass("mf-setting-spin");var i,s=e("#metform_form_modal"),a=e("#metform-form-modalinput-settings").attr("data-nonce"),o=e(".get-response-campaign-list");i=s.find("form").attr("data-mf-id"),e.ajax({url:window.metform_api.resturl+"metform/v1/entries/store_get_response_list/"+i,type:"get",headers:{"X-WP-Nonce":a},dataType:"json",success:function(e){o.empty(),e.forEach((e=>{o.append('<option value="'+e.campaignId+'">'+e.description+"</option>")})),t.removeClass("mf-setting-spin")},error:function(e){t.removeClass("mf-setting-spin")}})})),e(".metfrom-btn-refresh-mailchimp-list").on("click",(function(){var i=e(this);i.addClass("mf-setting-spin");var s,a=e("#metform_form_modal"),o=e("#metform-form-modalinput-settings").attr("data-nonce"),n=e(".mailchimp_list");s=a.find("form").attr("data-mf-id"),e.ajax({url:window.metform_api.resturl+"metform/v1/entries/store_mailchimp_list/"+s,type:"get",headers:{"X-WP-Nonce":o},dataType:"json",success:function(s){try{n.empty(),s.lists.forEach((e=>{n.append("<option value="+e.id+">"+e.name+"</option>")})),1===s.lists.length?e(".mf-mailchimp-list-id").attr("value",s.lists[0].id):(t(),e(".mailchimp_list").on("change",(t=>{e(".mf-mailchimp-list-id").attr("value",t.target.value)})))}catch(a){}i.removeClass("mf-setting-spin")},error:function(e){i.removeClass("mf-setting-spin")}})})),e(".metfrom-btn-refresh-hubsopt-list").click((function(){var t=e(this);t.addClass("mf-setting-spin");var i,s=e("#metform_form_modal"),a=e("#metform-form-modalinput-settings").attr("data-nonce"),o=e(".hubspot_forms");i=s.find("form").attr("data-mf-id"),e.ajax({url:window.metform_api.resturl+"metform/v1/forms/hubspot_forms/"+i,type:"get",headers:{"X-WP-Nonce":a},dataType:"json",success:function(e){try{o.empty(),o.append('<option value="select">Select a form</option>'),e.forEach((e=>{o.append("<option value="+e.portalId+" guid="+e.guid+">"+e.name+"</option>")}))}catch(i){}t.removeClass("mf-setting-spin")},error:function(e){t.removeClass("mf-setting-spin")}})})),e(".hubspot_forms").on("change",(function(){var t=e("option:selected",this).attr("guid"),i=e("option:selected",this).val();e(".mf_hubspot_form_guid").val(t),e(".mf_hubspot_form_portalId").val(i);var s,a=e("#metform_form_modal"),o=e("#metform-form-modalinput-settings").attr("data-nonce");s=a.find("form").attr("data-mf-id"),e("#mf-hubsopt-fileds").html("Please wait....");var n="";e.ajax({url:window.metform_api.resturl+"metform/v1/forms/get_fields_data/"+s,type:"get",headers:{"X-WP-Nonce":o},dataType:"json",success:function(i){n=i,e.ajax({url:window.metform_api.resturl+"metform/v1/forms/hubspot_form_fields/"+s,type:"post",headers:{"X-WP-Nonce":o},dataType:"json",data:{guid:t},success:function(t){var i="",s="";Object.keys(n).map((function(e){return[n[e]]})).map((e=>{s+="<option value="+e[0].mf_input_name+">"+e[0].mf_input_label+"</option>"}));t.forEach((e=>{i+="<tr><td>"+e.label+"</td><td><select name=mf_hubspot_form_field_name_"+e.name+' class="attr-form-control">'+s+"</select></td></tr>"})),e("#mf-hubsopt-fileds").html('<table width="100%">'+i+"</table>")},error:function(t){e("#mf-hubsopt-fileds").html("Sorry ! Something went wrong")}})},error:function(t){e("#mf-hubsopt-fileds").html("Sorry ! Something went wrong")}})})),e(".mf-mailchimp-list-id").attr("value",""),e(".row-actions .edit a, .page-title-action, .metform-form-edit-btn, body.post-type-metform-form a.row-title").on("click",(function(a){a.preventDefault();var o=0,n=e("#metform_form_modal"),r=e(this).parents(".column-title"),m=e("body").attr("data-metform-template-key");n.addClass("loading"),n.modal("show");if(r.length>0){o=e(this).attr("data-metform-form-id"),"undefined"!==m&&(o=m),o=o!==undefined?o:r.find(".hidden").attr("id").split("_")[1];var l=e("#metform-form-modalinput-settings").attr("data-nonce");e.ajax({url:window.metform_api.resturl+"metform/v1/forms/get/"+o,type:"get",headers:{"X-WP-Nonce":l},dataType:"json",success:function(t){t,w(t),n.removeClass("loading"),function(t,i,s){e(".mf-helpscout").length&&e.ajax({url:window.metform_api.resturl+"metform/v1/forms/get_fields_data/"+t,type:"get",headers:{"X-WP-Nonce":i},dataType:"json",success:function(t){var i=t,a="";Object.keys(i).map((function(e){return[i[e]]})).map((e=>{a+="<option value="+e[0].mf_input_name+">"+e[0].mf_input_label+"</option>"}));var o='<div class="mf-input-group mf-input-group-inline">'+('<label class="attr-input-label">Subject*</label><div class="mf-inputs"><select class="attr-form-control" id="mf_helpscout_conversation_subject" name="mf_helpscout_conversation_subject">'+a+"</select></div>")+'</div><div class="mf-input-group mf-input-group-inline">'+('<label class="attr-input-label">Customer Email*</label><div class="mf-inputs"><select class="attr-form-control" id="mf_helpscout_conversation_customer_email" name="mf_helpscout_conversation_customer_email">'+a+"</select></div>")+'</div><div class="mf-input-group mf-input-group-inline">'+('<label class="attr-input-label">Customer First Name*</label><div class="mf-inputs"><select class="attr-form-control" id="mf_helpscout_conversation_customer_first_name" name="mf_helpscout_conversation_customer_first_name">'+a+"</select></div>")+'</div><div class="mf-input-group mf-input-group-inline">'+('<label class="attr-input-label">Customer Last Name*</label><div class="mf-inputs"><select class="attr-form-control" id="mf_helpscout_conversation_customer_last_name" name="mf_helpscout_conversation_customer_last_name">'+a+"</select></div>")+'</div><div class="mf-input-group mf-input-group-inline">'+('<label class="attr-input-label">Message*</label><div class="mf-inputs"><select class="attr-form-control" id="mf_helpscout_conversation_customer_message" name="mf_helpscout_conversation_customer_message">'+a+"</select></div>")+"</div>";e("#mf-helpscout-fileds").html(o),s.mf_helpscout_conversation_subject&&(e('#mf_helpscout_conversation_subject option[value="'+s.mf_helpscout_conversation_subject+'"]').prop("selected",!0),e('#mf_helpscout_conversation_customer_email option[value="'+s.mf_helpscout_conversation_customer_email+'"]').prop("selected",!0),e('#mf_helpscout_conversation_customer_first_name option[value="'+s.mf_helpscout_conversation_customer_first_name+'"]').prop("selected",!0),e('#mf_helpscout_conversation_customer_last_name option[value="'+s.mf_helpscout_conversation_customer_last_name+'"]').prop("selected",!0),e('#mf_helpscout_conversation_customer_message option[value="'+s.mf_helpscout_conversation_customer_message+'"]').prop("selected",!0))},error:function(e){}})}(o,l,t)}})}else{w({form_title:e(".mf-form-modalinput-title").attr("data-default-value"),admin_email_body:"",admin_email_from:"",admin_email_reply_to:"",admin_email_subject:"",capture_user_browser_data:"",enable_admin_notification:"",limit_total_entries_status:"",limit_total_entries:"0",redirect_to:"",success_url:"",failed_cancel_url:"",require_login:"",store_entries:"1",entry_title:"",success_message:e(".mf-form-modalinput-success_message").attr("data-default-value"),user_email_body:"",user_email_from:"",user_email_reply_to:"",user_email_subject:"",input_names:"Example: [mf-inputname]"}),n.removeClass("loading")}function c(e,t=""){let i="";return Array.isArray(e)&&e.map((e=>{const s=t===e[0].mf_input_name?" selected":"";i+="<option value="+e[0].mf_input_name+s+">"+e[0].mf_input_label+"</option>"})),i}e(".mf-register").length&&e.ajax({url:window.metform_api.resturl+"metform/v1/forms/get_fields_data/"+o,type:"get",headers:{"X-WP-Nonce":l},dataType:"json",success:function(t){var i=t,s="";e.ajax({url:window.metform_api.resturl+"xs/register/settings/"+o,type:"get",headers:{"X-WP-Nonce":l},dataType:"json",success:function(t){Object.keys(i).map((function(e){return[i[e]]})).map((e=>{s+="<option value="+e[0].mf_input_name+">"+e[0].mf_input_label+"</option>"}));var a='<div class="mf-input-group mf-input-group-inline">'+('<label class="attr-input-label">User Name</label><div class="mf-inputs"><select class="attr-form-control" id="mf_auth_reg_user_name" name="mf_auth_reg_user_name">'+s+"</select></div>")+'</div><div class="mf-input-group mf-input-group-inline">'+('<label class="attr-input-label">User Email</label><div class="mf-inputs"><select class="attr-form-control" id="mf_auth_reg_user_email" name="mf_auth_reg_user_email">'+s+"</select></div>")+'</div><div class="mf-input-group mf-input-group-inline"><label class="attr-input-label">Role</label><div class="mf-inputs"><select class="attr-form-control" id="mf_auth_reg_role" name="mf_auth_reg_role"><option value="administrator">Administrator</option><option value="editor">Editor</option><option value="author">Author</option><option value="contributor">Contributor</option><option selected="selected" value="subscriber">Subscriber</option></select></div></div>';e(".mf_register_form_fields").html(a),0!=t&&(e('#mf_auth_reg_user_name option[value="'+t.mf_auth_reg_user_name+'"]').prop("selected",!0),e('#mf_auth_reg_user_email option[value="'+t.mf_auth_reg_user_email+'"]').prop("selected",!0),e('#mf_auth_reg_role option[value="'+t.mf_auth_reg_role+'"]').prop("selected",!0))},error:function(e){}})},error:function(e){}}),e(".mf-login").length&&e.ajax({url:window.metform_api.resturl+"metform/v1/forms/get_fields_data/"+o,type:"get",headers:{"X-WP-Nonce":l},dataType:"json",success:function(t){var i=t,s="";e.ajax({url:window.metform_api.resturl+"xs/login/settings/"+o,type:"get",headers:{"X-WP-Nonce":l},dataType:"json",success:function(t){Object.keys(i).map((function(e){return[i[e]]})).map((e=>{s+="<option value="+e[0].mf_input_name+">"+e[0].mf_input_label+"</option>"}));var a='<div class="mf-input-group mf-input-group-inline">'+('<label class="attr-input-label">User Name</label><div class="mf-inputs"><select class="attr-form-control" id="mf_auth_login_user_name" name="mf_auth_login_user_name">'+s+"</select></div>")+'</div><div class="mf-input-group mf-input-group-inline">'+('<label class="attr-input-label">User Password</label><div class="mf-inputs"><select class="attr-form-control" id="mf_auth_login_user_password" name="mf_auth_login_user_password">'+s+"</select></div>")+"</div>";e(".mf_login_form_fields").html(a),0!=t&&(e('#mf_auth_login_user_name option[value="'+t.mf_auth_login_user_name+'"]').prop("selected",!0),e('#mf_auth_login_user_password option[value="'+t.mf_auth_login_user_password+'"]').prop("selected",!0))},error:function(e){}})},error:function(e){}}),e(".mf-form-to-post").length&&e.ajax({url:window.metform_api.resturl+"metform/v1/forms/get_fields_data/"+o,type:"get",headers:{"X-WP-Nonce":l},dataType:"json",success:function(t){var a=t,n="";e.ajax({url:window.metform_api.resturl+"xs/post/settings/"+o,type:"get",headers:{"X-WP-Nonce":l},dataType:"json",success:function(t){var o=Object.keys(a).map((function(e){return[a[e]]}));o.map((e=>{n+="<option value="+e[0].mf_input_name+">"+e[0].mf_input_label+"</option>"}));var r='<label class="attr-input-label">Title</label><div class="mf-inputs"><select class="attr-form-control mf_post_submission_title" id="mf_post_submission_title" name="mf_post_submission_title">'+n+"</select></div>",m='<label class="attr-input-label">Content</label><div class="mf-inputs"><select class="attr-form-control mf_post_submission_content" id="mf_post_submission_content" name="mf_post_submission_content">'+n+"</select></div>",l='<label class="attr-input-label">Featured Image</label><div class="mf-inputs"><select class="attr-form-control mf_post_submission_featured_image" id="mf_post_submission_featured_image" name="mf_post_submission_featured_image">'+n+"</select></div>",f=s(n);if(0!=t.custom_fields_settings){f="";var d=Object.entries(t.custom_fields_settings);for(const[e,t]of d)f+=s(c(o,t),e,t)}var p='<div class="mf-input-group mf-input-group-inline">'+r+'</div><div class="mf-input-group mf-input-group-inline">'+m+'</div></div><div class="mf-input-group mf-input-group-inline">'+l+'</div><div class="mf-input-group mf-input-group-inline">'+function(e,t){return'<label class="attr-input-label">Custom Fields</label>\n <div class="mf-inputs mf-cf-fields">\n <div style="display:none">\n <div id="mf-cf-single-field" class="mf-cf-single-field"">\n <div class="mf-cf-single-field-input">\n <label>Name</label>\n <input type="text" name="mf_post_submission_custom_fields_name[]" class="attr-form-control" >\n </div>\n <div class="mf-cf-single-field-input">\n <label>Select Field</label>\n <select name="mf_post_submission_mf_field_name[]" class="attr-form-control">'+t+'</select>\n </div>\n <a href="#" class="mf-btn-del-singl-field">Delete</a>\n </div>\n </div>\n <div class="repeaterResult">'+e+'</div>\n <button class="mf-add-cf" type="button"><span>+</span></button>\n </div>'}(f,n)+"</div>";e(".mf-post-submission-fields-section").html(p);var _=0;e(".mf-add-cf").click((function(){var t=e("#mf-cf-single-field").clone();_++,t.attr("id","mf-repeater-field-"+_),e(".mf-btn-del-singl-field",t).attr("data-id",_),t.appendTo(e(".repeaterResult")),i()})),i(),0!=t.fields_settings&&(e('.mf_post_submission_post_type option[value="'+t.fields_settings.mf_post_submission_post_type+'"]').prop("selected",!0),e('.mf_post_submission_title option[value="'+t.fields_settings.mf_post_submission_title+'"]').prop("selected",!0),e('.mf_post_submission_content option[value="'+t.fields_settings.mf_post_submission_content+'"]').prop("selected",!0),e('.mf_post_submission_featured_image option[value="'+t.fields_settings.mf_post_submission_featured_image+'"]').prop("selected",!0),e('.mf_post_submission_author option[value="'+t.fields_settings.mf_post_submission_author+'"]').prop("selected",!0))},error:function(e){}})},error:function(e){}}),function(t){var i=e("#metform-form-modalinput-settings").attr("data-nonce"),s=e(".get-response-campaign-list");e.ajax({url:window.metform_api.resturl+"metform/v1/entries/get_response_list/"+t,type:"get",headers:{"X-WP-Nonce":i},dataType:"json",success:function(e){s.empty(),e.length&&e.forEach((e=>{s.append("<option value="+e.campaignId+">"+e.description+"</option>")}))},error:function(e){}})}(o),function(t){var i=e(".metfrom-btn-refresh-hubsopt-list");i.addClass("mf-setting-spin");var s=e("#metform-form-modalinput-settings").attr("data-nonce"),a=e(".hubspot_forms"),o=t;e.ajax({url:window.metform_api.resturl+"metform/v1/forms/get_hubspot_forms/"+o,type:"get",headers:{"X-WP-Nonce":s},dataType:"json",success:function(e){try{a.empty(),a.append('<option value="select">Select a form</option>'),e.forEach((e=>{a.append("<option value="+e.portalId+" guid="+e.guid+">"+e.name+"</option>")}))}catch(t){}i.removeClass("mf-setting-spin")},error:function(e){i.removeClass("mf-setting-spin")}})}(o),function(i){e("#metform_form_modal");var s,a=e("#metform-form-modalinput-settings").attr("data-nonce"),o=e(".mailchimp_list");s=i,e.ajax({url:window.metform_api.resturl+"metform/v1/entries/get_mailchimp_list/"+s,type:"get",headers:{"X-WP-Nonce":a},dataType:"json",success:function(i){try{o.empty(),i.lists.forEach((e=>{o.append("<option value="+e.id+">"+e.name+"</option>")})),1===i.lists.length?e(".mf-mailchimp-list-id").attr("value",i.lists[0].id):(t(),e(".mailchimp_list").on("change",(t=>{e(".mf-mailchimp-list-id").attr("value",t.target.value)})))}catch(s){}},error:function(e){}})}(o),n.find("form").attr("data-mf-id",o),n.find(".get-response-campaign-list").attr("get-response-list-id",o)})),e(".metform-form-save-btn-editor").on("click",(function(){e(".metform-form-save-btn-editor").attr("disabled",!0);var t=e("#metform-form-modalinput-settings");t.attr("data-open-editor","1"),t.trigger("submit")})),e("#metform-form-modalinput-settings").on("submit",(function(t){t.preventDefault();var i=e("#metform-form-modal"),s=e(this);i.addClass("loading"),e(".metform-form-save-btn-editor").attr("disabled",!0),e(".metform-form-save-btn").attr("disabled",!0);var a=e(this).serialize(),o=e(this).attr("data-mf-id"),n=e(this).attr("data-open-editor"),r=e(this).attr("data-editor-url"),m=e(this).attr("data-nonce");e.ajax({url:window.metform_api.resturl+"metform/v1/forms/update/"+o,type:"post",data:a,headers:{"X-WP-Nonce":m},dataType:"json",success:function(t){e("#message").css("display","block"),1==t.saved?(e("#post-"+t.data.id).find(".row-title").html(t.data.title),e("#message").removeClass("attr-alert-warning").addClass("attr-alert-success").html(t.status)):e("#message").removeClass("attr-alert-success").addClass("attr-alert-warning").html(t.status),setTimeout((function(){e("#message").css("display","none"),s.find(".attr-close").trigger("click")}),1e3),i.removeClass("loading"),"1"==n&&1==t.saved?setTimeout((function(){window.location.href=r+"?post="+t.data.id+"&action=elementor"}),1e3):"0"!=o?(e(".metform-form-save-btn-editor").removeAttr("disabled"),e(".metform-form-save-btn").removeAttr("disabled")):"0"==o&&setTimeout((function(){location.reload()}),1e3)}})}));var a=e(".mf-entry-title"),o=e(".mf-form-user-confirmation"),n=e(".mf-form-admin-notification"),r=e(".mf-input-rest-api-group"),m=e(".mf-mailchimp"),l=e(".mf-get_response"),c=e(".mf-zapier"),f=e(".mf-slack"),d=e(".mf-paypal"),p=e(".mf-stripe"),_=e(".mf-ckit"),u=e(".mf-aweber"),h=e(".mf-mail-poet");let v=".mf-active-campaign",g=e("input"+v),b=e("div"+v);function k(t,i=null){var s=e("#metform-form-modalinput-settings").attr("data-nonce");e('.mf-mailster-list-id option[value="'+t+'"]').prop("selected",!0),e.ajax({url:window.metform_api.resturl+"metform/v1/forms/get_fields_data/"+i,type:"get",headers:{"X-WP-Nonce":s},dataType:"json",success:function(s){var a=s,o="";Object.keys(a).map((function(e){return[a[e]]})).map((e=>{o+="<option value="+e[0].mf_input_name+">"+e[0].mf_input_label+"</option>"})),function(t,i,s){var a=e("#metform-form-modalinput-settings").attr("data-nonce");e.ajax({url:window.metform_api.resturl+"metform/v1/forms/get_mailster_form/"+t,type:"get",headers:{"X-WP-Nonce":a},dataType:"json",success:function(t){var a="";for(const[e,s]of Object.entries(t))if("fields"==e)for(const[e,t]of Object.entries(s))a+='<div class="mf-input-group mf-input-group-inline"><label class="attr-input-label">'+t.name+'</label><div class="mf-inputs"><select class="attr-form-control" id="mailster_field_'+e+'" name="mailster_field_'+e+'">'+i+"</select></div></div>";e(".mf-mailster-settings-section").html(a),function(t,i){var s=window.mf_mailster_list_id;if(e(".mf-mailster-list-id").val()==s){var a=e("#metform-form-modalinput-settings").attr("data-nonce");e.ajax({url:window.metform_api.resturl+"metform/v1/forms/get_mailster_form_data/"+i,type:"get",headers:{"X-WP-Nonce":a},dataType:"json",success:function(t){for(const[i,s]of Object.entries(t))for(const[t,i]of Object.entries(s))e("#"+t+' option[value="'+i+'"]').prop("selected",!0)},error:function(e){}})}}(0,s)},error:function(e){}})}(t,o,i)},error:function(e){}})}function w(i){if(a.hide(),o.hide(),n.hide(),r.hide(),m.hide(),c.hide(),f.hide(),d.hide(),p.hide(),_.hide(),u.hide(),h.hide(),""!=i.form_title){e(".mf-form-modalinput-title").val(i.form_title),e(".mf-form-modalinput-success_message").val(i.success_message),e(".mf-entry-title-input").val("undefined"!=typeof i.entry_title&&""!=i.entry_title?i.entry_title:"undefined"==typeof i.entry_title||""==i.entry_title?"Entry # [mf_id]":""),e(".mf-form-modalinput-redirect_to").val(i.redirect_to),e(".mf-form-modalinput-success_url").val(i.success_url),e(".mf-form-modalinput-failed_cancel_url").val(i.failed_cancel_url),e(".mf-form-modalinput-limit_total_entries").val(i.limit_total_entries);var s=e(".mf-form-modalinput-store_entries");"1"==i.store_entries?(s.attr("checked",!0),a.show()):(s.removeAttr("checked"),a.hide());var l=e(".mf-form-modalinput-hide_form_after_submission");"1"==i.hide_form_after_submission?l.attr("checked",!0):l.removeAttr("checked");var v=e(".mf-form-modalinput-require_login");"1"==i.require_login?v.attr("checked",!0):v.removeAttr("checked");var w=e(".mf-form-modalinput-limit_status");"1"==i.limit_total_entries_status?w.attr("checked",!0):w.removeAttr("checked");var y=e(".mf-form-modalinput-count_views");"1"==i.count_views?y.attr("checked",!0):y.removeAttr("checked");var j=e(".mf-form-modalinput-stop_vertical_scrolling");"1"==i.mf_stop_vertical_scrolling?j.attr("checked",!0):j.removeAttr("checked");var x=e(".mf-form-modalinput-multiple_submission");"1"==i.multiple_submission?x.attr("checked",!0):x.removeAttr("checked");var A=e(".mf-form-modalinput-enable_recaptcha");"1"==i.enable_recaptcha?A.attr("checked",!0):A.removeAttr("checked");var C=e(".mf-form-modalinput-capture_user_browser_data");"1"==i.capture_user_browser_data?(C.attr("checked",!0),e("#multiple_submission").removeClass("hide_input"),e("#multiple_submission").addClass("show_input")):C.removeAttr("checked"),e(".mf-form-user-email-subject").val(i.user_email_subject),e(".mf-form-user-email-from").val(i.user_email_from),e(".mf-form-user-reply-to").val(i.user_email_reply_to),e(".mf-form-user-email-body").val(i.user_email_body);var T=e(".mf-form-user-enable");"1"==i.enable_user_notification?(T.attr("checked",!0),o.show()):(T.removeAttr("checked"),o.hide());var P=e(".mf-form-user-submission-copy");"1"==i.user_email_attach_submission_copy?P.attr("checked",!0):P.removeAttr("checked"),e(".mf-form-admin-email-subject").val(i.admin_email_subject),e(".mf-form-admin-email-from").val(i.admin_email_from),e(".mf-form-admin-email-to").val(i.admin_email_to),e(".mf-form-admin-reply-to").val(i.admin_email_reply_to),e(".mf-form-admin-email-body").val(i.admin_email_body);var N=e(".mf-form-admin-enable");"1"==i.enable_admin_notification?(N.attr("checked",!0),n.show()):(N.removeAttr("checked"),n.hide());var W=e(".mf-form-admin-submission-copy");"1"==i.admin_email_attach_submission_copy?W.attr("checked",!0):W.removeAttr("checked");var X=e(".mf-form-modalinput-rest_api");"1"==i.mf_rest_api?(X.attr("checked",!0),e(".mf-rest-api").show()):(X.removeAttr("checked"),e(".mf-rest-api").hide());var z=e(".mf-form-modalinput-mail_chimp");"1"==i.mf_mail_chimp?(z.attr("checked",!0),m.show()):(z.removeAttr("checked"),m.hide());var E=e(".mf-form-modal_input-google_sheet");"1"==i.mf_google_sheet?E.attr("checked",!0):E.removeAttr("checked");let r=e(".mf-form-modalinput-ckit"),k=e(".mf-form-modalinput-mail_aweber"),$=e(".mf-form-modalinput-mail_poet");if("1"==i.mf_convert_kit?(r.attr("checked",!0),_.show()):(r.removeAttr("checked"),_.hide()),"1"==i.mf_mail_aweber?(k.attr("checked",!0),u.show()):(k.removeAttr("checked"),u.hide()),"1"==i.mf_mail_poet?($.attr("checked",!0),h.show()):($.removeAttr("checked"),h.hide()),i.ckit_opt){let t=e("select.mf-ckit-list-id").first(),s=i.mf_ckit_list_id||"";t.html(),i.ckit_opt.forEach((function(e){t.append('<option value="'+e.id+'">'+e.name+"</option>")})),t.val(s)}if(i.aweber_opt){let t=e("select.mf-aweber-list-id").first(),s=i.mf_aweber_list_id||"";t.html();for(let e in i.aweber_opt)t.append('<option value="'+i.aweber_opt[e].id+'">'+i.aweber_opt[e].name+"</option>");t.val(s)}if(i.mp_opt){let t=e("select.mf-mail-poet-list-id").first(),s=i.mf_mail_poet_list_id||"";t.html();for(let e in i.mp_opt)t.append('<option value="'+i.mp_opt[e].id+'">'+i.mp_opt[e].name+"</option>");t.val(s)}if("1"===i.mf_active_campaign){g.attr("checked",!0),b.show();let t=i.mf_active_campaign_list_id||"",s=i.mf_active_campaign_tag_id||"";e("select[name=mf_active_campaign_list_id]").val(t),e("select[name=mf_active_campaign_tag_id]").val(s)}else g.removeAttr("checked"),b.hide();var S=e(".mf-form-modalinput-get_response");"1"==i.mf_get_response?(S.attr("checked",!0),e(".mf-get_response").show()):(S.removeAttr("checked"),e(".mf-get_response").hide());var O=e(".mf-hubsopt");"1"==i.mf_hubspot?O.attr("checked",!0):O.removeAttr("checked");var D=e(".mf-hubspot-forms"),I=e(".hubspot_forms_section");"1"==i.mf_hubspot_forms?(D.attr("checked",!0),I.show()):(D.removeAttr("checked"),I.hide()),e(".mf_hubspot_form_portalId").val(i.mf_hubspot_form_portalId),e(".mf_hubspot_form_guid").val(i.mf_hubspot_form_guid);var U=e(".mf-zoho");"1"==i.mf_zoho?U.attr("checked",!0):U.removeAttr("checked");var q=e(".mf-helpscout");"1"==i.mf_helpscout?(q.attr("checked",!0),e(".helpscout_forms_section").show()):(q.removeAttr("chekced"),e(".helpscout_forms_section").hide()),i.mf_helpscout_mailbox&&e('#mf_helpscout_mailbox option[value="'+i.mf_helpscout_mailbox+'"]').prop("selected",!0);var F=e(".mf-form-modalinput-mailster"),R=e(".mf-mailster-settings-section");"1"==i.mf_mailster?(F.attr("checked",!0),R.show(),e(".mf-mailster-forms").show()):(F.removeAttr("checked"),R.hide(),e(".mf-mailster-forms").hide());var G=e(".mf-register");1==i.mf_registration?(G.attr("checked",!0),e(".mf_register_form_fields").show()):(G.removeAttr("checked"),e(".mf_register_form_fields").hide());var L=e(".mf-login");1==i.mf_login?(L.attr("checked",!0),e(".mf_login_form_fields").show()):(e(".mf_login_form_fields").hide(),L.removeAttr("checked"));var Q=e(".mf-form-to-post"),K=e(".mf-form-to-post-fields");1==i.mf_form_to_post?(Q.attr("checked",!0),K.show()):(Q.removeAttr("checked"),K.hide());var M=e(".mf-form-modalinput-zapier");"1"==i.mf_zapier?(M.attr("checked",!0),c.show()):(M.removeAttr("checked",!0),c.hide());var B=e(".mf-form-modalinput-slack");"1"==i.mf_slack?(B.attr("checked",!0),f.show()):(B.removeAttr("checked",!0),f.hide());var H=e(".mf-form-modalinput-paypal");"1"==i.mf_paypal?(H.attr("checked",!0),d.show()):(H.removeAttr("checked",!0),d.hide());var J=e(".mf-form-modalinput-stripe");"1"==i.mf_stripe?(J.attr("checked",!0),p.show()):(J.removeAttr("checked",!0),p.hide());J=e(".mf-form-modalinput-stripe");"1"==i.mf_stripe?(J.attr("checked",!0),p.show()):(J.removeAttr("checked",!0),p.hide());var V=e(".mf-form-modalinput-paypal_sandbox");"1"==i.mf_paypal_sandbox?V.attr("checked",!0):V.removeAttr("checked",!0);var Y=e(".mf-form-modalinput-stripe_sandbox");"1"==i.mf_stripe_sandbox?Y.attr("checked",!0):Y.removeAttr("checked",!0);var Z=i.mf_rest_api_method&&i.mf_rest_api_method.length?i.mf_rest_api_method:"POST";e('.mf-rest-api-method option[value="'+Z+'"]').prop("selected",!0),e(".mf-rest-api-url").val(i.mf_rest_api_url),e(".mf-mailchimp-api-key").val(i.mf_mailchimp_api_key),e(".mf-mailchimp-list-id").val(i.mf_mailchimp_list_id),""==i.mf_mailchimp_list_id&&e(".mf-mailchimp-list-id").val(e(".mailchimp_list").find(":selected").val()),0!=i.mf_mailchimp_list_id&&e('.mailchimp_list option[value="'+i.mf_get_response_list_id+'"]').prop("selected",!0),t(),e(".mf-get_response-list-id").val(i.mf_get_response_list_id),0!=i.mf_get_response_list_id&&e('.get-response-campaign-list option[value="'+i.mf_get_response_list_id+'"]').prop("selected",!0),e(".mf-zapier-web-hook").val(i.mf_zapier_webhook),e(".mf-slack-web-hook").val(i.mf_slack_webhook),e(".mf-paypal-email").val(i.mf_paypal_email),e(".mf-paypal-token").val(i.mf_paypal_token),e(".mf-stripe-image-url").val(i.mf_stripe_image_url),e(".mf-stripe-live-publishiable-key").val(i.mf_stripe_live_publishiable_key),e(".mf-stripe-live-secret-key").val(i.mf_stripe_live_secret_key),e(".mf-stripe-test-publishiable-key").val(i.mf_stripe_test_publishiable_key),e(".mf-stripe-test-secret-key").val(i.mf_stripe_test_secret_key),e(".mf-recaptcha-site-key").val(i.mf_recaptcha_site_key),e(".mf-recaptcha-secret-key").val(i.mf_recaptcha_secret_key),e("input.mf-form-modalinput-limit_status, .mf-form-modalinput-rest_api").trigger("change")}(window.mf_mailster_list_id=i.mf_mailster_list_id,e('.mf-mailster-list-id option[value="'+i.mf_mailster_list_id+'"]').prop("selected",!0),e(".mf-form-modalinput-mailster").length)&&k(e(".mf-mailster-list-id").find(":selected").val(),e("#metform_form_modal").find("form").attr("data-mf-id"))}e("input.mf-form-modalinput-store_entries").on("change",(function(){e(this).is(":checked")?a.show():e(this).is(":not(:checked)")&&a.hide()})),e("input.mf-form-modalinput-limit_status").on("change",(function(){e(this).is(":checked")?e("#limit_status").find("input").removeAttr("disabled"):e(this).is(":not(:checked)")&&e("#limit_status").find("input").attr("disabled","disabled")})),e("input.mf-form-user-enable").on("change",(function(){e(this).is(":checked")?o.show():e(this).is(":not(:checked)")&&o.hide()})),e("input.mf-form-admin-enable").on("change",(function(){e(this).is(":checked")?n.show():e(this).is(":not(:checked)")&&n.hide()})),e("input.mf-form-modalinput-rest_api").on("change",(function(){e(this).is(":checked")?r.show():e(this).is(":not(:checked)")&&r.hide()})),e("input.mf-form-modalinput-mail_chimp").on("change",(function(){e(this).is(":checked")?m.show():e(this).is(":not(:checked)")&&m.hide()})),e(".mf-form-modalinput-get_response").on("change",(function(){e(this).is(":checked")?l.show():l.hide()})),g.on("change",(function(){e(this).is(":checked")?b.show():b.hide()})),e("input.mf-form-modalinput-mail_aweber").on("change",(function(){e(this).is(":checked")?u.show():e(this).is(":not(:checked)")&&u.hide()})),e("input.mf-form-modalinput-mail_poet").on("change",(function(){e(this).is(":checked")?h.show():e(this).is(":not(:checked)")&&h.hide()})),e("input.mf-form-modalinput-ckit").on("change",(function(){e(this).is(":checked")?_.show():e(this).is(":not(:checked)")&&_.hide()})),e("input.mf-form-modalinput-zapier").on("change",(function(){e(this).is(":checked")?c.show():e(this).is(":not(:checked)")&&c.hide()})),e("input.mf-form-modalinput-slack").on("change",(function(){e(this).is(":checked")?f.show():e(this).is(":not(:checked)")&&f.hide()})),e("input.mf-form-modalinput-paypal").on("change",(function(){e(this).is(":checked")?d.show():e(this).is(":not(:checked)")&&d.hide()})),e("input.mf-form-modalinput-stripe").on("change",(function(){e(this).is(":checked")?stripe.show():e(this).is(":not(:checked)")&&stripe.hide()})),e("input.mf-form-modalinput-stripe_sandbox").on("change",(function(){e(this).is(":checked")?e(".mf_stripe_sandbox").show():e(this).is(":not(:checked)")&&e(".mf_stripe_sandbox").hide()})),e(".mf-hubspot-forms").on("change",(function(){e(this).is(":checked")?e(".hubspot_forms_section").show():e(".hubspot_forms_section").hide()})),e(".mf-register").on("change",(function(){e(this).is(":checked")?e(".mf_register_form_fields").show():e(".mf_register_form_fields").hide()})),e(".mf-login").on("change",(function(){e(this).is(":checked")?e(".mf_login_form_fields").show():e(".mf_login_form_fields").hide()})),e(".mf-form-to-post").on("change",(function(){e(this).is(":checked")?e(".mf-form-to-post-fields").show():e(".mf-form-to-post-fields").hide()})),e(".mf-helpscout").on("change",(function(){e(this).is(":checked")?e(".helpscout_forms_section").show():e(".helpscout_forms_section").hide()})),e(".mf-form-modalinput-mailster").on("change",(function(){e(this).is(":checked")?(e(".mf-mailster-settings-section").show(),e(".mf-mailster-forms").show()):(e(".mf-mailster-settings-section").hide(),e(".mf-mailster-forms").hide())})),e(".mf-mailster-list-id").on("change",(function(){e(this).val(),e("#metform-form-modalinput-settings").attr("data-mf-id")})),e(".get-response-campaign-list").on("change",(function(){e(".mf-get_response-list-id ").val(e(this).val())})),e("input.mf-form-modalinput-capture_user_browser_data").click((function(){e(this).is(":checked")?(e("#multiple_submission").removeClass("hide_input"),e("#multiple_submission").addClass("show_input")):e(this).is(":not(:checked)")&&(e("#multiple_submission").removeClass("show_input"),e("#multiple_submission").addClass("hide_input"))})),e(".mf-settings-tab .mf-setting-nav-link").on("click",(function(t){if(!e(this).hasClass("mf-setting-nav-hidden")){t.preventDefault();var i=e(this).attr("href");window.location.hash=i,e(this).parent().addClass("nav-tab-active").siblings().removeClass("nav-tab-active"),e(i).addClass("active").siblings().removeClass("active")}})),e(".mf-setting-nav-link").on("click",(function(t){e(this).hasClass("mf-setting-nav-hidden")?t.preventDefault():(e(this).parents(".nav-tab-wrapper").find("a").removeClass("top").removeClass("bottom"),e(this).parents("li").prev().find("a").addClass("top"),e(this).parents("li").next().find("a").addClass("bottom"))}));var y=e(".mf-settings-tab .mf-setting-nav-link").eq(1).attr("href");if(window.location.hash&&(y=window.location.hash),e('.mf-settings-tab .mf-setting-nav-link[href="'+y+'"]').trigger("click"),e(window).on("resize.mfSettings",(function(){e(".mf-setting-sidebar").css("width",e(".mf-setting-sidebar-column").width())})).trigger("resize.mfSettings"),e(".mf-setting-header").length>0){var j=e(".mf-setting-header").offset().top;e(window).scroll((function(){var t=e(".mf-setting-header");e(window).scrollTop()>=j?t.addClass("fixed").css({width:jQuery(".metform-admin-container").width()}):t.removeClass("fixed").css({width:"auto"})}))}function x(){return e("#metform-form-modalinput-settings").attr("data-nonce")}e(".mf-admin-single-accordion").on("click",".mf-admin-single-accordion--heading",(function(){e(this).next().slideToggle().parent().toggleClass("active").siblings().removeClass("active").find(".mf-admin-single-accordion--body").slideUp()})),e(".mf-admin-single-accordion:first-child .mf-admin-single-accordion--heading").trigger("click"),e(".mf-recaptcha-version").on("change",(function(){var t=e(this).val();e("#mf-"+t).fadeIn().siblings().hide()})),e(".mf-recaptcha-version").trigger("change"),e(".mf-form-modalinput-stripe_sandbox").on("change",(function(){var t=e(this).parents(".attr-form-group").eq(0).next(".mf-form-modalinput-stripe_sandbox_keys");e(this).is(":checked")?t.fadeIn():t.fadeOut()})),e(".mf-form-modalinput-stripe_sandbox").trigger("change"),e(document).on("click","#met_pro_aweber_authorize",(function(t){t.preventDefault();let i=e(this).closest("p.description");i.html("<span>Wait....</span>");var s=metform_api.admin_url+"admin-ajax.php",a={action:"get_aweber_authorization_url",api_key:e("#mf_aweber_dev_api_key").val(),api_sec:e("#mf_aweber_dev_api_sec").val()};e.ajax({url:s,method:"POST",data:a,dataType:"json",success:function(e){if(!0===e.success){let t='<a class=" button mf-setting-btn-link" href="'+e.data.url+'">Authorize The App </a>';i.html(t)}else if(e.data){let t=e.data;i.html('<span style="background-color: red; padding: 1px 5px;">'+t.msg+"</span>")}},error:function(e){i.html('<span style="color: red"> ajax error occurred, please check your internet connection..</span>')},complete:function(){}})})),e(document).on("click","#met_pro_aweber_propmpt_re_auth",(function(t){t.preventDefault(),e("#mf_aweber_dev_api_key").val("").prop("disabled",!1),e("#mf_aweber_dev_api_sec").val("").prop("disabled",!1),e(this).closest("p.description").html('<a class="button mf-setting-btn-link" id="met_pro_aweber_re_authorize"> Get Re - Authorization URL </a>')})),e(document).on("click","#met_pro_aweber_re_authorize",(function(t){t.preventDefault();let i=e(this).closest("p.description");i.html("<span>Wait....</span>");let s=e("#mf_aweber_dev_api_key").val();if(!s||s.length<1)return i.html('<span style="color: red">API Key can not be empty..</span>'),!1;var a=metform_api.admin_url+"admin-ajax.php",o={action:"get_aweber_re_authorization_url",api_key:s,api_sec:e("#mf_aweber_dev_api_sec").val()};e.ajax({url:a,method:"POST",data:o,dataType:"json",success:function(e){if(!0===e.success){let t=e.data;if("ok"==t.result){let e='<a class="mf-setting-btn-link" href="'+t.url+'">Authorize The App </a>';i.html(e)}else i.html("<span>"+t.msg+"</span>")}else if(e.data){let t=e.data;i.html('<span style="background-color: red; padding: 1px 5px;">'+t.msg+"</span>")}},error:function(e){i.html('<span style="color: red"> ajax error occurred, please check your internet connection..</span>')},complete:function(){}})})),e(document).on("click","#met_form_aweber_get_list",(function(t){t.preventDefault();let i=e(this),s=e("#mf_aweber_info"),a=metform_api.admin_url+"admin-ajax.php";e.ajax({url:a,method:"POST",data:{action:"get_list_lists"},dataType:"json",success:function(e){if(!0===e.success){let t=e.data,a=i.closest("div.mf-aweber").find("select");if(a.html(""),t.lists)for(let e in t.lists)a.append('<option value="'+t.lists[e].id+'">'+t.lists[e].name+"</option>");s.html("")}else if(e.data){let t=e.data;s.html('<span style="background-color: red; padding: 1px 5px;">'+t.msg+"</span>")}},error:function(e){s.html('<span style="color: red"> ajax error occurred, please check your internet connection..</span>')},complete:function(){}})})),e(document).on("click","#met_form_mail_poet_get_list",(function(t){t.preventDefault();let i=e(this),s=e("#mf_mail_poet_info"),a=metform_api.admin_url+"admin-ajax.php";e.ajax({url:a,method:"POST",data:{action:"mail_poet_get_email_list_lists"},dataType:"json",success:function(e){if(!0===e.success){let t=e.data,a=i.closest("div.mf-mail-poet").find("select");if(a.html(""),t.lists)for(let e in t.lists)a.append('<option value="'+t.lists[e].id+'">'+t.lists[e].name+"</option>");s.html("")}else if(e.data){let t=e.data;s.html('<span style="background-color: red; padding: 1px 5px;">'+t.msg+"</span>")}},error:function(e){s.html('<span style="color: red"> ajax error occurred, please check your internet connection..</span>')},complete:function(){}})})),e(document).on("click","#met_form_ckit_get_list",(function(t){t.preventDefault();var i=metform_api.admin_url+"admin-ajax.php";let s=e(this);e.ajax({url:i,method:"POST",data:{action:"get_form_lists"},dataType:"json",success:function(e){if(!0===e.success){let t=e.data,i=s.closest("div.mf-ckit").find("select");i.html(""),t.forms&&t.forms.forEach((function(e){i.append('<option value="'+e.id+'">'+e.name+"</option>")}))}else alert("Error occurred when trying to check for aweber authorization.")},error:function(e){},complete:function(){}})})),e(document).on("click","#met_form_act_camp_get_list",(function(t){t.preventDefault();let i=window.metform_api.resturl+"metform-pro/v1/active-campaign/email_lists",s=x(),a=e(this),o=e("#mf_act_camp_info");e.ajax({url:i,method:"GET",data:[],headers:{"X-WP-Nonce":s},dataType:"json",success:function(e){if(!0===e.success){let t=e.data,i=a.closest("div.mf-input-group").find("select");i.html(""),t.list&&t.list.forEach((function(e){i.append('<option value="'+e.sid+'">'+e.name+"</option>")})),o.html(e.data.msg)}else o.html(e.data.msg)},error:function(e){o.html('<span style="color: red"> ajax error occurred, please check your internet connection..</span>')},complete:function(){}})})),e(document).on("click","#met_form_act_camp_get_tags",(function(t){t.preventDefault();let i=window.metform_api.resturl+"metform-pro/v1/active-campaign/tag_lists",s=x(),a=e(this),o=e("#mf_act_camp_tag_info");e.ajax({url:i,method:"GET",data:[],headers:{"X-WP-Nonce":s},dataType:"json",success:function(e){if(!0===e.success){let t=e.data,i=a.closest("div.mf-input-group").find("select");i.html(""),t.list&&t.list.forEach((function(e){i.append('<option value="'+e.sid+'">'+e.name+"</option>")})),o.html(e.data.msg)}else o.html(e.data.msg)},error:function(e){o.html('<span style="color: red"> ajax error occurred, please check your internet connection..</span>')},complete:function(){}})})),e("#mf-helpscout-btn-token").click((function(){let t=window.metform_api.resturl+"metform/v1/forms/get_helpscout_access_token/123";e.ajax({url:t,type:"get",success:function(e){200==e.status&&location.reload()},error:function(e){alert("Something went wrong")}})}))}));
1
+ jQuery(document).ready((function(e){"use strict";function t(){var t=e(".mf-mailchimp-list-id").val();e(".mailchimp_list option").each(((i,s)=>{e(s).attr("selected",!1),s.value===t&&e(s).attr("selected",!0)}))}function i(){e(".mf-btn-del-singl-field").click((function(){e(this).parent(".mf-cf-single-field").remove()}))}function s(e,t="",i=""){return'<div id="mf-cf-single-field" class="mf-cf-single-field"">\n <div class="mf-cf-single-field-input">\n <label>Name</label>\n <input type="text" name="mf_post_submission_custom_fields_name[]" class="attr-form-control" value="'+t+'">\n </div>\n <div class="mf-cf-single-field-input">\n <label>Select Field</label>\n <select data-selected="'+i+'" name="mf_post_submission_mf_field_name[]" class="attr-form-control">'+e+'</select>\n </div>\n <a href="#" class="mf-btn-del-singl-field">Delete</a>\n </div>'}e(".metfrom-btn-refresh-get-response-list").click((function(){var t=e(this);t.addClass("mf-setting-spin");var i,s=e("#metform_form_modal"),a=e("#metform-form-modalinput-settings").attr("data-nonce"),o=e(".get-response-campaign-list");i=s.find("form").attr("data-mf-id"),e.ajax({url:window.metform_api.resturl+"metform/v1/entries/store_get_response_list/"+i,type:"get",headers:{"X-WP-Nonce":a},dataType:"json",success:function(e){o.empty(),e.forEach((e=>{o.append('<option value="'+e.campaignId+'">'+e.description+"</option>")})),t.removeClass("mf-setting-spin")},error:function(e){t.removeClass("mf-setting-spin")}})})),e(".metfrom-btn-refresh-mailchimp-list").on("click",(function(){var i=e(this);i.addClass("mf-setting-spin");var s,a=e("#metform_form_modal"),o=e("#metform-form-modalinput-settings").attr("data-nonce"),n=e(".mailchimp_list");s=a.find("form").attr("data-mf-id"),e.ajax({url:window.metform_api.resturl+"metform/v1/entries/store_mailchimp_list/"+s,type:"get",headers:{"X-WP-Nonce":o},dataType:"json",success:function(s){try{n.empty(),s.lists.forEach((e=>{n.append("<option value="+e.id+">"+e.name+"</option>")})),1===s.lists.length?e(".mf-mailchimp-list-id").attr("value",s.lists[0].id):(t(),e(".mailchimp_list").on("change",(t=>{e(".mf-mailchimp-list-id").attr("value",t.target.value)})))}catch(a){}i.removeClass("mf-setting-spin")},error:function(e){i.removeClass("mf-setting-spin")}})})),e(".metfrom-btn-refresh-hubsopt-list").click((function(){var t=e(this);t.addClass("mf-setting-spin");var i,s=e("#metform_form_modal"),a=e("#metform-form-modalinput-settings").attr("data-nonce"),o=e(".hubspot_forms");i=s.find("form").attr("data-mf-id"),e.ajax({url:window.metform_api.resturl+"metform/v1/forms/hubspot_forms/"+i,type:"get",headers:{"X-WP-Nonce":a},dataType:"json",success:function(e){try{o.empty(),o.append('<option value="select">Select a form</option>'),e.forEach((e=>{o.append("<option value="+e.portalId+" guid="+e.guid+">"+e.name+"</option>")}))}catch(i){}t.removeClass("mf-setting-spin")},error:function(e){t.removeClass("mf-setting-spin")}})})),e(".hubspot_forms").on("change",(function(){var t=e("option:selected",this).attr("guid"),i=e("option:selected",this).val();e(".mf_hubspot_form_guid").val(t),e(".mf_hubspot_form_portalId").val(i);var s,a=e("#metform_form_modal"),o=e("#metform-form-modalinput-settings").attr("data-nonce");s=a.find("form").attr("data-mf-id"),e("#mf-hubsopt-fileds").html("Please wait....");var n="";e.ajax({url:window.metform_api.resturl+"metform/v1/forms/get_fields_data/"+s,type:"get",headers:{"X-WP-Nonce":o},dataType:"json",success:function(i){n=i,e.ajax({url:window.metform_api.resturl+"metform/v1/forms/hubspot_form_fields/"+s,type:"post",headers:{"X-WP-Nonce":o},dataType:"json",data:{guid:t},success:function(t){var i="",s="";Object.keys(n).map((function(e){return[n[e]]})).map((e=>{s+="<option value="+e[0].mf_input_name+">"+e[0].mf_input_label+"</option>"}));t.forEach((e=>{i+="<tr><td>"+e.label+"</td><td><select name=mf_hubspot_form_field_name_"+e.name+' class="attr-form-control">'+s+"</select></td></tr>"})),e("#mf-hubsopt-fileds").html('<table width="100%">'+i+"</table>")},error:function(t){e("#mf-hubsopt-fileds").html("Sorry ! Something went wrong")}})},error:function(t){e("#mf-hubsopt-fileds").html("Sorry ! Something went wrong")}})})),e(".mf-mailchimp-list-id").attr("value",""),e(".row-actions .edit a, .page-title-action, .metform-form-edit-btn, body.post-type-metform-form a.row-title").on("click",(function(a){a.preventDefault();var o=0,n=e("#metform_form_modal"),r=e(this).parents(".column-title"),m=e("body").attr("data-metform-template-key");n.addClass("loading"),n.modal("show");if(r.length>0){o=e(this).attr("data-metform-form-id"),"undefined"!==m&&(o=m),o=o!==undefined?o:r.find(".hidden").attr("id").split("_")[1];var l=e("#metform-form-modalinput-settings").attr("data-nonce");e.ajax({url:window.metform_api.resturl+"metform/v1/forms/get/"+o,type:"get",headers:{"X-WP-Nonce":l},dataType:"json",success:function(t){t,w(t),n.removeClass("loading");const i=new CustomEvent("metform-integration-settings-event",{detail:{data:t},bubbles:!0,cancelable:!0,composed:!1});document.querySelector("#metform-form-modalinput-settings").dispatchEvent(i),function(t,i,s){e(".mf-helpscout").length&&e.ajax({url:window.metform_api.resturl+"metform/v1/forms/get_fields_data/"+t,type:"get",headers:{"X-WP-Nonce":i},dataType:"json",success:function(t){var i=t,a="";Object.keys(i).map((function(e){return[i[e]]})).map((e=>{a+="<option value="+e[0].mf_input_name+">"+e[0].mf_input_label+"</option>"}));var o='<div class="mf-input-group mf-input-group-inline">'+('<label class="attr-input-label">Subject*</label><div class="mf-inputs"><select class="attr-form-control" id="mf_helpscout_conversation_subject" name="mf_helpscout_conversation_subject">'+a+"</select></div>")+'</div><div class="mf-input-group mf-input-group-inline">'+('<label class="attr-input-label">Customer Email*</label><div class="mf-inputs"><select class="attr-form-control" id="mf_helpscout_conversation_customer_email" name="mf_helpscout_conversation_customer_email">'+a+"</select></div>")+'</div><div class="mf-input-group mf-input-group-inline">'+('<label class="attr-input-label">Customer First Name*</label><div class="mf-inputs"><select class="attr-form-control" id="mf_helpscout_conversation_customer_first_name" name="mf_helpscout_conversation_customer_first_name">'+a+"</select></div>")+'</div><div class="mf-input-group mf-input-group-inline">'+('<label class="attr-input-label">Customer Last Name*</label><div class="mf-inputs"><select class="attr-form-control" id="mf_helpscout_conversation_customer_last_name" name="mf_helpscout_conversation_customer_last_name">'+a+"</select></div>")+'</div><div class="mf-input-group mf-input-group-inline">'+('<label class="attr-input-label">Message*</label><div class="mf-inputs"><select class="attr-form-control" id="mf_helpscout_conversation_customer_message" name="mf_helpscout_conversation_customer_message">'+a+"</select></div>")+"</div>";e("#mf-helpscout-fileds").html(o),s.mf_helpscout_conversation_subject&&(e('#mf_helpscout_conversation_subject option[value="'+s.mf_helpscout_conversation_subject+'"]').prop("selected",!0),e('#mf_helpscout_conversation_customer_email option[value="'+s.mf_helpscout_conversation_customer_email+'"]').prop("selected",!0),e('#mf_helpscout_conversation_customer_first_name option[value="'+s.mf_helpscout_conversation_customer_first_name+'"]').prop("selected",!0),e('#mf_helpscout_conversation_customer_last_name option[value="'+s.mf_helpscout_conversation_customer_last_name+'"]').prop("selected",!0),e('#mf_helpscout_conversation_customer_message option[value="'+s.mf_helpscout_conversation_customer_message+'"]').prop("selected",!0))},error:function(e){}})}(o,l,t)}})}else{w({form_title:e(".mf-form-modalinput-title").attr("data-default-value"),admin_email_body:"",admin_email_from:"",admin_email_reply_to:"",admin_email_subject:"",capture_user_browser_data:"",enable_admin_notification:"",limit_total_entries_status:"",limit_total_entries:"0",redirect_to:"",success_url:"",failed_cancel_url:"",require_login:"",store_entries:"1",entry_title:"",success_message:e(".mf-form-modalinput-success_message").attr("data-default-value"),user_email_body:"",user_email_from:"",user_email_reply_to:"",user_email_subject:"",input_names:"Example: [mf-inputname]"}),n.removeClass("loading")}function c(e,t=""){let i="";return Array.isArray(e)&&e.map((e=>{const s=t===e[0].mf_input_name?" selected":"";i+="<option value="+e[0].mf_input_name+s+">"+e[0].mf_input_label+"</option>"})),i}e(".mf-register").length&&e.ajax({url:window.metform_api.resturl+"metform/v1/forms/get_fields_data/"+o,type:"get",headers:{"X-WP-Nonce":l},dataType:"json",success:function(t){var i=t,s="";e.ajax({url:window.metform_api.resturl+"xs/register/settings/"+o,type:"get",headers:{"X-WP-Nonce":l},dataType:"json",success:function(t){Object.keys(i).map((function(e){return[i[e]]})).map((e=>{s+="<option value="+e[0].mf_input_name+">"+e[0].mf_input_label+"</option>"}));var a='<div class="mf-input-group mf-input-group-inline">'+('<label class="attr-input-label">User Name</label><div class="mf-inputs"><select class="attr-form-control" id="mf_auth_reg_user_name" name="mf_auth_reg_user_name">'+s+"</select></div>")+'</div><div class="mf-input-group mf-input-group-inline">'+('<label class="attr-input-label">User Email</label><div class="mf-inputs"><select class="attr-form-control" id="mf_auth_reg_user_email" name="mf_auth_reg_user_email">'+s+"</select></div>")+'</div><div class="mf-input-group mf-input-group-inline"><label class="attr-input-label">Role</label><div class="mf-inputs"><select class="attr-form-control" id="mf_auth_reg_role" name="mf_auth_reg_role"><option value="administrator">Administrator</option><option value="editor">Editor</option><option value="author">Author</option><option value="contributor">Contributor</option><option selected="selected" value="subscriber">Subscriber</option></select></div></div>';e(".mf_register_form_fields").html(a),0!=t&&(e('#mf_auth_reg_user_name option[value="'+t.mf_auth_reg_user_name+'"]').prop("selected",!0),e('#mf_auth_reg_user_email option[value="'+t.mf_auth_reg_user_email+'"]').prop("selected",!0),e('#mf_auth_reg_role option[value="'+t.mf_auth_reg_role+'"]').prop("selected",!0))},error:function(e){}})},error:function(e){}}),e(".mf-login").length&&e.ajax({url:window.metform_api.resturl+"metform/v1/forms/get_fields_data/"+o,type:"get",headers:{"X-WP-Nonce":l},dataType:"json",success:function(t){var i=t,s="";e.ajax({url:window.metform_api.resturl+"xs/login/settings/"+o,type:"get",headers:{"X-WP-Nonce":l},dataType:"json",success:function(t){Object.keys(i).map((function(e){return[i[e]]})).map((e=>{s+="<option value="+e[0].mf_input_name+">"+e[0].mf_input_label+"</option>"}));var a='<div class="mf-input-group mf-input-group-inline">'+('<label class="attr-input-label">User Name</label><div class="mf-inputs"><select class="attr-form-control" id="mf_auth_login_user_name" name="mf_auth_login_user_name">'+s+"</select></div>")+'</div><div class="mf-input-group mf-input-group-inline">'+('<label class="attr-input-label">User Password</label><div class="mf-inputs"><select class="attr-form-control" id="mf_auth_login_user_password" name="mf_auth_login_user_password">'+s+"</select></div>")+"</div>";e(".mf_login_form_fields").html(a),0!=t&&(e('#mf_auth_login_user_name option[value="'+t.mf_auth_login_user_name+'"]').prop("selected",!0),e('#mf_auth_login_user_password option[value="'+t.mf_auth_login_user_password+'"]').prop("selected",!0))},error:function(e){}})},error:function(e){}}),e(".mf-form-to-post").length&&e.ajax({url:window.metform_api.resturl+"metform/v1/forms/get_fields_data/"+o,type:"get",headers:{"X-WP-Nonce":l},dataType:"json",success:function(t){var a=t,n="";e.ajax({url:window.metform_api.resturl+"xs/post/settings/"+o,type:"get",headers:{"X-WP-Nonce":l},dataType:"json",success:function(t){var o=Object.keys(a).map((function(e){return[a[e]]}));o.map((e=>{n+="<option value="+e[0].mf_input_name+">"+e[0].mf_input_label+"</option>"}));var r='<label class="attr-input-label">Title</label><div class="mf-inputs"><select class="attr-form-control mf_post_submission_title" id="mf_post_submission_title" name="mf_post_submission_title">'+n+"</select></div>",m='<label class="attr-input-label">Content</label><div class="mf-inputs"><select class="attr-form-control mf_post_submission_content" id="mf_post_submission_content" name="mf_post_submission_content">'+n+"</select></div>",l='<label class="attr-input-label">Featured Image</label><div class="mf-inputs"><select class="attr-form-control mf_post_submission_featured_image" id="mf_post_submission_featured_image" name="mf_post_submission_featured_image">'+n+"</select></div>",f=s(n);if(0!=t.custom_fields_settings){f="";var d=Object.entries(t.custom_fields_settings);for(const[e,t]of d)f+=s(c(o,t),e,t)}var p='<div class="mf-input-group mf-input-group-inline">'+r+'</div><div class="mf-input-group mf-input-group-inline">'+m+'</div></div><div class="mf-input-group mf-input-group-inline">'+l+'</div><div class="mf-input-group mf-input-group-inline">'+function(e,t){return'<label class="attr-input-label">Custom Fields</label>\n <div class="mf-inputs mf-cf-fields">\n <div style="display:none">\n <div id="mf-cf-single-field" class="mf-cf-single-field"">\n <div class="mf-cf-single-field-input">\n <label>Name</label>\n <input type="text" name="mf_post_submission_custom_fields_name[]" class="attr-form-control" >\n </div>\n <div class="mf-cf-single-field-input">\n <label>Select Field</label>\n <select name="mf_post_submission_mf_field_name[]" class="attr-form-control">'+t+'</select>\n </div>\n <a href="#" class="mf-btn-del-singl-field">Delete</a>\n </div>\n </div>\n <div class="repeaterResult">'+e+'</div>\n <button class="mf-add-cf" type="button"><span>+</span></button>\n </div>'}(f,n)+"</div>";e(".mf-post-submission-fields-section").html(p);var _=0;e(".mf-add-cf").click((function(){var t=e("#mf-cf-single-field").clone();_++,t.attr("id","mf-repeater-field-"+_),e(".mf-btn-del-singl-field",t).attr("data-id",_),t.appendTo(e(".repeaterResult")),i()})),i(),0!=t.fields_settings&&(e('.mf_post_submission_post_type option[value="'+t.fields_settings.mf_post_submission_post_type+'"]').prop("selected",!0),e('.mf_post_submission_title option[value="'+t.fields_settings.mf_post_submission_title+'"]').prop("selected",!0),e('.mf_post_submission_content option[value="'+t.fields_settings.mf_post_submission_content+'"]').prop("selected",!0),e('.mf_post_submission_featured_image option[value="'+t.fields_settings.mf_post_submission_featured_image+'"]').prop("selected",!0),e('.mf_post_submission_author option[value="'+t.fields_settings.mf_post_submission_author+'"]').prop("selected",!0))},error:function(e){}})},error:function(e){}}),function(t){var i=e("#metform-form-modalinput-settings").attr("data-nonce"),s=e(".get-response-campaign-list");e.ajax({url:window.metform_api.resturl+"metform/v1/entries/get_response_list/"+t,type:"get",headers:{"X-WP-Nonce":i},dataType:"json",success:function(e){s.empty(),e.length&&e.forEach((e=>{s.append("<option value="+e.campaignId+">"+e.description+"</option>")}))},error:function(e){}})}(o),function(t){var i=e(".metfrom-btn-refresh-hubsopt-list");i.addClass("mf-setting-spin");var s=e("#metform-form-modalinput-settings").attr("data-nonce"),a=e(".hubspot_forms"),o=t;e.ajax({url:window.metform_api.resturl+"metform/v1/forms/get_hubspot_forms/"+o,type:"get",headers:{"X-WP-Nonce":s},dataType:"json",success:function(e){try{a.empty(),a.append('<option value="select">Select a form</option>'),e.forEach((e=>{a.append("<option value="+e.portalId+" guid="+e.guid+">"+e.name+"</option>")}))}catch(t){}i.removeClass("mf-setting-spin")},error:function(e){i.removeClass("mf-setting-spin")}})}(o),function(i){e("#metform_form_modal");var s,a=e("#metform-form-modalinput-settings").attr("data-nonce"),o=e(".mailchimp_list");s=i,e.ajax({url:window.metform_api.resturl+"metform/v1/entries/get_mailchimp_list/"+s,type:"get",headers:{"X-WP-Nonce":a},dataType:"json",success:function(i){try{o.empty(),i.lists.forEach((e=>{o.append("<option value="+e.id+">"+e.name+"</option>")})),1===i.lists.length?e(".mf-mailchimp-list-id").attr("value",i.lists[0].id):(t(),e(".mailchimp_list").on("change",(t=>{e(".mf-mailchimp-list-id").attr("value",t.target.value)})))}catch(s){}},error:function(e){}})}(o),n.find("form").attr("data-mf-id",o),n.find(".get-response-campaign-list").attr("get-response-list-id",o)})),e(".metform-form-save-btn-editor").on("click",(function(){e(".metform-form-save-btn-editor").attr("disabled",!0);var t=e("#metform-form-modalinput-settings");t.attr("data-open-editor","1"),t.trigger("submit")})),e("#metform-form-modalinput-settings").on("submit",(function(t){t.preventDefault();var i=e("#metform-form-modal"),s=e(this);i.addClass("loading"),e(".metform-form-save-btn-editor").attr("disabled",!0),e(".metform-form-save-btn").attr("disabled",!0);var a=e(this).serialize(),o=e(this).attr("data-mf-id"),n=e(this).attr("data-open-editor"),r=e(this).attr("data-editor-url"),m=e(this).attr("data-nonce");e.ajax({url:window.metform_api.resturl+"metform/v1/forms/update/"+o,type:"post",data:a,headers:{"X-WP-Nonce":m},dataType:"json",success:function(t){e("#message").css("display","block"),1==t.saved?(e("#post-"+t.data.id).find(".row-title").html(t.data.title),e("#message").removeClass("attr-alert-warning").addClass("attr-alert-success").html(t.status)):e("#message").removeClass("attr-alert-success").addClass("attr-alert-warning").html(t.status),setTimeout((function(){e("#message").css("display","none"),s.find(".attr-close").trigger("click")}),1e3),i.removeClass("loading"),"1"==n&&1==t.saved?setTimeout((function(){window.location.href=r+"?post="+t.data.id+"&action=elementor"}),1e3):"0"!=o?(e(".metform-form-save-btn-editor").removeAttr("disabled"),e(".metform-form-save-btn").removeAttr("disabled")):"0"==o&&setTimeout((function(){location.reload()}),1e3)}})}));var a=e(".mf-entry-title"),o=e(".mf-form-user-confirmation"),n=e(".mf-form-admin-notification"),r=e(".mf-input-rest-api-group"),m=e(".mf-mailchimp"),l=e(".mf-get_response"),c=e(".mf-zapier"),f=e(".mf-slack"),d=e(".mf-paypal"),p=e(".mf-stripe"),_=e(".mf-ckit"),u=e(".mf-aweber"),h=e(".mf-mail-poet");let v=".mf-active-campaign",g=e("input"+v),b=e("div"+v);function k(t,i=null){var s=e("#metform-form-modalinput-settings").attr("data-nonce");e('.mf-mailster-list-id option[value="'+t+'"]').prop("selected",!0),e.ajax({url:window.metform_api.resturl+"metform/v1/forms/get_fields_data/"+i,type:"get",headers:{"X-WP-Nonce":s},dataType:"json",success:function(s){var a=s,o="";Object.keys(a).map((function(e){return[a[e]]})).map((e=>{o+="<option value="+e[0].mf_input_name+">"+e[0].mf_input_label+"</option>"})),function(t,i,s){var a=e("#metform-form-modalinput-settings").attr("data-nonce");e.ajax({url:window.metform_api.resturl+"metform/v1/forms/get_mailster_form/"+t,type:"get",headers:{"X-WP-Nonce":a},dataType:"json",success:function(t){var a="";for(const[e,s]of Object.entries(t))if("fields"==e)for(const[e,t]of Object.entries(s))a+='<div class="mf-input-group mf-input-group-inline"><label class="attr-input-label">'+t.name+'</label><div class="mf-inputs"><select class="attr-form-control" id="mailster_field_'+e+'" name="mailster_field_'+e+'">'+i+"</select></div></div>";e(".mf-mailster-settings-section").html(a),function(t,i){var s=window.mf_mailster_list_id;if(e(".mf-mailster-list-id").val()==s){var a=e("#metform-form-modalinput-settings").attr("data-nonce");e.ajax({url:window.metform_api.resturl+"metform/v1/forms/get_mailster_form_data/"+i,type:"get",headers:{"X-WP-Nonce":a},dataType:"json",success:function(t){for(const[i,s]of Object.entries(t))for(const[t,i]of Object.entries(s))e("#"+t+' option[value="'+i+'"]').prop("selected",!0)},error:function(e){}})}}(0,s)},error:function(e){}})}(t,o,i)},error:function(e){}})}function w(i){if(a.hide(),o.hide(),n.hide(),r.hide(),m.hide(),c.hide(),f.hide(),d.hide(),p.hide(),_.hide(),u.hide(),h.hide(),""!=i.form_title){e(".mf-form-modalinput-title").val(i.form_title),e(".mf-form-modalinput-success_message").val(i.success_message),e(".mf-entry-title-input").val("undefined"!=typeof i.entry_title&&""!=i.entry_title?i.entry_title:"undefined"==typeof i.entry_title||""==i.entry_title?"Entry # [mf_id]":""),e(".mf-form-modalinput-redirect_to").val(i.redirect_to),e(".mf-form-modalinput-success_url").val(i.success_url),e(".mf-form-modalinput-failed_cancel_url").val(i.failed_cancel_url),e(".mf-form-modalinput-limit_total_entries").val(i.limit_total_entries);let r=e(".mf_automizy_list_id");r&&r.val(i.mf_automizy_list_id);var s=e(".mf-form-modalinput-store_entries");"1"==i.store_entries?(s.attr("checked",!0),a.show()):(s.removeAttr("checked"),a.hide());var l=e(".mf-form-modalinput-hide_form_after_submission");"1"==i.hide_form_after_submission?l.attr("checked",!0):l.removeAttr("checked");var v=e(".mf-form-modalinput-require_login");"1"==i.require_login?v.attr("checked",!0):v.removeAttr("checked");var w=e(".mf-form-modalinput-limit_status");"1"==i.limit_total_entries_status?w.attr("checked",!0):w.removeAttr("checked");var y=e(".mf-form-modalinput-count_views");"1"==i.count_views?y.attr("checked",!0):y.removeAttr("checked");var j=e(".mf-form-modalinput-stop_vertical_scrolling");"1"==i.mf_stop_vertical_scrolling?j.attr("checked",!0):j.removeAttr("checked");var x=e(".mf-form-modalinput-multiple_submission");"1"==i.multiple_submission?x.attr("checked",!0):x.removeAttr("checked");var A=e(".mf-form-modalinput-enable_recaptcha");"1"==i.enable_recaptcha?A.attr("checked",!0):A.removeAttr("checked");var C=e(".mf-form-modalinput-capture_user_browser_data");"1"==i.capture_user_browser_data?(C.attr("checked",!0),e("#multiple_submission").removeClass("hide_input"),e("#multiple_submission").addClass("show_input")):C.removeAttr("checked"),e(".mf-form-user-email-subject").val(i.user_email_subject),e(".mf-form-user-email-from").val(i.user_email_from),e(".mf-form-user-reply-to").val(i.user_email_reply_to),e(".mf-form-user-email-body").val(i.user_email_body);var T=e(".mf-form-user-enable");"1"==i.enable_user_notification?(T.attr("checked",!0),o.show()):(T.removeAttr("checked"),o.hide());var P=e(".mf-form-user-submission-copy");"1"==i.user_email_attach_submission_copy?P.attr("checked",!0):P.removeAttr("checked"),e(".mf-form-admin-email-subject").val(i.admin_email_subject),e(".mf-form-admin-email-from").val(i.admin_email_from),e(".mf-form-admin-email-to").val(i.admin_email_to),e(".mf-form-admin-reply-to").val(i.admin_email_reply_to),e(".mf-form-admin-email-body").val(i.admin_email_body);var N=e(".mf-form-admin-enable");"1"==i.enable_admin_notification?(N.attr("checked",!0),n.show()):(N.removeAttr("checked"),n.hide());var W=e(".mf-form-admin-submission-copy");"1"==i.admin_email_attach_submission_copy?W.attr("checked",!0):W.removeAttr("checked");var z=e(".mf-form-modalinput-rest_api");"1"==i.mf_rest_api?(z.attr("checked",!0),e(".mf-rest-api").show()):(z.removeAttr("checked"),e(".mf-rest-api").hide());var X=e(".mf-form-modalinput-mail_chimp");"1"==i.mf_mail_chimp?(X.attr("checked",!0),m.show()):(X.removeAttr("checked"),m.hide());var E=e(".mf-form-modal_input-google_sheet");"1"==i.mf_google_sheet?E.attr("checked",!0):E.removeAttr("checked");let k=e(".mf-form-modalinput-ckit"),$=e(".mf-form-modalinput-mail_aweber"),ee=e(".mf-form-modalinput-mail_poet");if("1"==i.mf_convert_kit?(k.attr("checked",!0),_.show()):(k.removeAttr("checked"),_.hide()),"1"==i.mf_mail_aweber?($.attr("checked",!0),u.show()):($.removeAttr("checked"),u.hide()),"1"==i.mf_mail_poet?(ee.attr("checked",!0),h.show()):(ee.removeAttr("checked"),h.hide()),i.ckit_opt){let t=e("select.mf-ckit-list-id").first(),s=i.mf_ckit_list_id||"";t.html(),i.ckit_opt.forEach((function(e){t.append('<option value="'+e.id+'">'+e.name+"</option>")})),t.val(s)}if(i.aweber_opt){let t=e("select.mf-aweber-list-id").first(),s=i.mf_aweber_list_id||"";t.html();for(let e in i.aweber_opt)t.append('<option value="'+i.aweber_opt[e].id+'">'+i.aweber_opt[e].name+"</option>");t.val(s)}if(i.mp_opt){let t=e("select.mf-mail-poet-list-id").first(),s=i.mf_mail_poet_list_id||"";t.html();for(let e in i.mp_opt)t.append('<option value="'+i.mp_opt[e].id+'">'+i.mp_opt[e].name+"</option>");t.val(s)}if("1"===i.mf_active_campaign){g.attr("checked",!0),b.show();let t=i.mf_active_campaign_list_id||"",s=i.mf_active_campaign_tag_id||"";e("select[name=mf_active_campaign_list_id]").val(t),e("select[name=mf_active_campaign_tag_id]").val(s)}else g.removeAttr("checked"),b.hide();var S=e(".mf-form-modalinput-get_response");"1"==i.mf_get_response?(S.attr("checked",!0),e(".mf-get_response").show()):(S.removeAttr("checked"),e(".mf-get_response").hide());var O=e(".mf-hubsopt");"1"==i.mf_hubspot?O.attr("checked",!0):O.removeAttr("checked");var D=e(".mf-hubspot-forms"),I=e(".hubspot_forms_section");"1"==i.mf_hubspot_forms?(D.attr("checked",!0),I.show()):(D.removeAttr("checked"),I.hide()),e(".mf_hubspot_form_portalId").val(i.mf_hubspot_form_portalId),e(".mf_hubspot_form_guid").val(i.mf_hubspot_form_guid);var q=e(".mf-zoho");"1"==i.mf_zoho?q.attr("checked",!0):q.removeAttr("checked");var U=e(".mf-helpscout");"1"==i.mf_helpscout?(U.attr("checked",!0),e(".helpscout_forms_section").show()):(U.removeAttr("chekced"),e(".helpscout_forms_section").hide()),i.mf_helpscout_mailbox&&e('#mf_helpscout_mailbox option[value="'+i.mf_helpscout_mailbox+'"]').prop("selected",!0);var F=e(".mf-form-modalinput-mailster"),R=e(".mf-mailster-settings-section");"1"==i.mf_mailster?(F.attr("checked",!0),R.show(),e(".mf-mailster-forms").show()):(F.removeAttr("checked"),R.hide(),e(".mf-mailster-forms").hide());var G=e(".mf-register");1==i.mf_registration?(G.attr("checked",!0),e(".mf_register_form_fields").show()):(G.removeAttr("checked"),e(".mf_register_form_fields").hide());var L=e(".mf-login");1==i.mf_login?(L.attr("checked",!0),e(".mf_login_form_fields").show()):(e(".mf_login_form_fields").hide(),L.removeAttr("checked"));var Q=e(".mf-form-to-post"),K=e(".mf-form-to-post-fields");1==i.mf_form_to_post?(Q.attr("checked",!0),K.show()):(Q.removeAttr("checked"),K.hide());var M=e(".mf-form-modalinput-zapier");"1"==i.mf_zapier?(M.attr("checked",!0),c.show()):(M.removeAttr("checked",!0),c.hide());var B=e(".mf-form-modalinput-slack");"1"==i.mf_slack?(B.attr("checked",!0),f.show()):(B.removeAttr("checked",!0),f.hide());var H=e(".mf-form-modalinput-paypal");"1"==i.mf_paypal?(H.attr("checked",!0),d.show()):(H.removeAttr("checked",!0),d.hide());var J=e(".mf-form-modalinput-stripe");"1"==i.mf_stripe?(J.attr("checked",!0),p.show()):(J.removeAttr("checked",!0),p.hide());J=e(".mf-form-modalinput-stripe");"1"==i.mf_stripe?(J.attr("checked",!0),p.show()):(J.removeAttr("checked",!0),p.hide());var V=e(".mf-form-modalinput-paypal_sandbox");"1"==i.mf_paypal_sandbox?V.attr("checked",!0):V.removeAttr("checked",!0);var Y=e(".mf-form-modalinput-stripe_sandbox");"1"==i.mf_stripe_sandbox?Y.attr("checked",!0):Y.removeAttr("checked",!0);var Z=i.mf_rest_api_method&&i.mf_rest_api_method.length?i.mf_rest_api_method:"POST";e('.mf-rest-api-method option[value="'+Z+'"]').prop("selected",!0),e(".mf-rest-api-url").val(i.mf_rest_api_url),e(".mf-mailchimp-api-key").val(i.mf_mailchimp_api_key),e(".mf-mailchimp-list-id").val(i.mf_mailchimp_list_id),""==i.mf_mailchimp_list_id&&e(".mf-mailchimp-list-id").val(e(".mailchimp_list").find(":selected").val()),0!=i.mf_mailchimp_list_id&&e('.mailchimp_list option[value="'+i.mf_get_response_list_id+'"]').prop("selected",!0),t(),e(".mf-get_response-list-id").val(i.mf_get_response_list_id),0!=i.mf_get_response_list_id&&e('.get-response-campaign-list option[value="'+i.mf_get_response_list_id+'"]').prop("selected",!0),e(".mf-zapier-web-hook").val(i.mf_zapier_webhook),e(".mf-slack-web-hook").val(i.mf_slack_webhook),e(".mf-paypal-email").val(i.mf_paypal_email),e(".mf-paypal-token").val(i.mf_paypal_token),e(".mf-stripe-image-url").val(i.mf_stripe_image_url),e(".mf-stripe-live-publishiable-key").val(i.mf_stripe_live_publishiable_key),e(".mf-stripe-live-secret-key").val(i.mf_stripe_live_secret_key),e(".mf-stripe-test-publishiable-key").val(i.mf_stripe_test_publishiable_key),e(".mf-stripe-test-secret-key").val(i.mf_stripe_test_secret_key),e(".mf-recaptcha-site-key").val(i.mf_recaptcha_site_key),e(".mf-recaptcha-secret-key").val(i.mf_recaptcha_secret_key),e("input.mf-form-modalinput-limit_status, .mf-form-modalinput-rest_api").trigger("change")}(window.mf_mailster_list_id=i.mf_mailster_list_id,e('.mf-mailster-list-id option[value="'+i.mf_mailster_list_id+'"]').prop("selected",!0),e(".mf-form-modalinput-mailster").length)&&k(e(".mf-mailster-list-id").find(":selected").val(),e("#metform_form_modal").find("form").attr("data-mf-id"))}e("input.mf-form-modalinput-store_entries").on("change",(function(){e(this).is(":checked")?a.show():e(this).is(":not(:checked)")&&a.hide()})),e("input.mf-form-modalinput-limit_status").on("change",(function(){e(this).is(":checked")?e("#limit_status").find("input").removeAttr("disabled"):e(this).is(":not(:checked)")&&e("#limit_status").find("input").attr("disabled","disabled")})),e("input.mf-form-user-enable").on("change",(function(){e(this).is(":checked")?o.show():e(this).is(":not(:checked)")&&o.hide()})),e("input.mf-form-admin-enable").on("change",(function(){e(this).is(":checked")?n.show():e(this).is(":not(:checked)")&&n.hide()})),e("input.mf-form-modalinput-rest_api").on("change",(function(){e(this).is(":checked")?r.show():e(this).is(":not(:checked)")&&r.hide()})),e("input.mf-form-modalinput-mail_chimp").on("change",(function(){e(this).is(":checked")?m.show():e(this).is(":not(:checked)")&&m.hide()})),e(".mf-form-modalinput-get_response").on("change",(function(){e(this).is(":checked")?l.show():l.hide()})),g.on("change",(function(){e(this).is(":checked")?b.show():b.hide()})),e("input.mf-form-modalinput-mail_aweber").on("change",(function(){e(this).is(":checked")?u.show():e(this).is(":not(:checked)")&&u.hide()})),e("input.mf-form-modalinput-mail_poet").on("change",(function(){e(this).is(":checked")?h.show():e(this).is(":not(:checked)")&&h.hide()})),e("input.mf-form-modalinput-ckit").on("change",(function(){e(this).is(":checked")?_.show():e(this).is(":not(:checked)")&&_.hide()})),e("input.mf-form-modalinput-zapier").on("change",(function(){e(this).is(":checked")?c.show():e(this).is(":not(:checked)")&&c.hide()})),e("input.mf-form-modalinput-slack").on("change",(function(){e(this).is(":checked")?f.show():e(this).is(":not(:checked)")&&f.hide()})),e("input.mf-form-modalinput-paypal").on("change",(function(){e(this).is(":checked")?d.show():e(this).is(":not(:checked)")&&d.hide()})),e("input.mf-form-modalinput-stripe").on("change",(function(){e(this).is(":checked")?stripe.show():e(this).is(":not(:checked)")&&stripe.hide()})),e("input.mf-form-modalinput-stripe_sandbox").on("change",(function(){e(this).is(":checked")?e(".mf_stripe_sandbox").show():e(this).is(":not(:checked)")&&e(".mf_stripe_sandbox").hide()})),e(".mf-hubspot-forms").on("change",(function(){e(this).is(":checked")?e(".hubspot_forms_section").show():e(".hubspot_forms_section").hide()})),e(".mf-register").on("change",(function(){e(this).is(":checked")?e(".mf_register_form_fields").show():e(".mf_register_form_fields").hide()})),e(".mf-login").on("change",(function(){e(this).is(":checked")?e(".mf_login_form_fields").show():e(".mf_login_form_fields").hide()})),e(".mf-form-to-post").on("change",(function(){e(this).is(":checked")?e(".mf-form-to-post-fields").show():e(".mf-form-to-post-fields").hide()})),e(".mf-helpscout").on("change",(function(){e(this).is(":checked")?e(".helpscout_forms_section").show():e(".helpscout_forms_section").hide()})),e(".mf-form-modalinput-mailster").on("change",(function(){e(this).is(":checked")?(e(".mf-mailster-settings-section").show(),e(".mf-mailster-forms").show()):(e(".mf-mailster-settings-section").hide(),e(".mf-mailster-forms").hide())})),e(".mf-mailster-list-id").on("change",(function(){e(this).val(),e("#metform-form-modalinput-settings").attr("data-mf-id")})),e(".get-response-campaign-list").on("change",(function(){e(".mf-get_response-list-id ").val(e(this).val())})),e("input.mf-form-modalinput-capture_user_browser_data").click((function(){e(this).is(":checked")?(e("#multiple_submission").removeClass("hide_input"),e("#multiple_submission").addClass("show_input")):e(this).is(":not(:checked)")&&(e("#multiple_submission").removeClass("show_input"),e("#multiple_submission").addClass("hide_input"))})),e(".mf-settings-tab .mf-setting-nav-link").on("click",(function(t){if(!e(this).hasClass("mf-setting-nav-hidden")){t.preventDefault();var i=e(this).attr("href");window.location.hash=i,e(this).parent().addClass("nav-tab-active").siblings().removeClass("nav-tab-active"),e(i).addClass("active").siblings().removeClass("active")}})),e(".mf-setting-nav-link").on("click",(function(t){e(this).hasClass("mf-setting-nav-hidden")?t.preventDefault():(e(this).parents(".nav-tab-wrapper").find("a").removeClass("top").removeClass("bottom"),e(this).parents("li").prev().find("a").addClass("top"),e(this).parents("li").next().find("a").addClass("bottom"))}));var y=e(".mf-settings-tab .mf-setting-nav-link").eq(1).attr("href");if(window.location.hash&&(y=window.location.hash),e('.mf-settings-tab .mf-setting-nav-link[href="'+y+'"]').trigger("click"),e(window).on("resize.mfSettings",(function(){e(".mf-setting-sidebar").css("width",e(".mf-setting-sidebar-column").width())})).trigger("resize.mfSettings"),e(".mf-setting-header").length>0){var j=e(".mf-setting-header").offset().top;e(window).scroll((function(){var t=e(".mf-setting-header");e(window).scrollTop()>=j?t.addClass("fixed").css({width:jQuery(".metform-admin-container").width()}):t.removeClass("fixed").css({width:"auto"})}))}function x(){return e("#metform-form-modalinput-settings").attr("data-nonce")}e(".mf-admin-single-accordion").on("click",".mf-admin-single-accordion--heading",(function(){e(this).next().slideToggle().parent().toggleClass("active").siblings().removeClass("active").find(".mf-admin-single-accordion--body").slideUp()})),e(".mf-admin-single-accordion:first-child .mf-admin-single-accordion--heading").trigger("click"),e(".mf-recaptcha-version").on("change",(function(){var t=e(this).val();e("#mf-"+t).fadeIn().siblings().hide()})),e(".mf-recaptcha-version").trigger("change"),e(".mf-form-modalinput-stripe_sandbox").on("change",(function(){var t=e(this).parents(".attr-form-group").eq(0).next(".mf-form-modalinput-stripe_sandbox_keys");e(this).is(":checked")?t.fadeIn():t.fadeOut()})),e(".mf-form-modalinput-stripe_sandbox").trigger("change"),e(document).on("click","#met_pro_aweber_authorize",(function(t){t.preventDefault();let i=e(this).closest("p.description");i.html("<span>Wait....</span>");var s=metform_api.admin_url+"admin-ajax.php",a={action:"get_aweber_authorization_url",api_key:e("#mf_aweber_dev_api_key").val(),api_sec:e("#mf_aweber_dev_api_sec").val()};e.ajax({url:s,method:"POST",data:a,dataType:"json",success:function(e){if(!0===e.success){let t='<a class=" button mf-setting-btn-link" href="'+e.data.url+'">Authorize The App </a>';i.html(t)}else if(e.data){let t=e.data;i.html('<span style="background-color: red; padding: 1px 5px;">'+t.msg+"</span>")}},error:function(e){i.html('<span style="color: red"> ajax error occurred, please check your internet connection..</span>')},complete:function(){}})})),e(document).on("click","#met_pro_aweber_propmpt_re_auth",(function(t){t.preventDefault(),e("#mf_aweber_dev_api_key").val("").prop("disabled",!1),e("#mf_aweber_dev_api_sec").val("").prop("disabled",!1),e(this).closest("p.description").html('<a class="button mf-setting-btn-link" id="met_pro_aweber_re_authorize"> Get Re - Authorization URL </a>')})),e(document).on("click","#met_pro_aweber_re_authorize",(function(t){t.preventDefault();let i=e(this).closest("p.description");i.html("<span>Wait....</span>");let s=e("#mf_aweber_dev_api_key").val();if(!s||s.length<1)return i.html('<span style="color: red">API Key can not be empty..</span>'),!1;var a=metform_api.admin_url+"admin-ajax.php",o={action:"get_aweber_re_authorization_url",api_key:s,api_sec:e("#mf_aweber_dev_api_sec").val()};e.ajax({url:a,method:"POST",data:o,dataType:"json",success:function(e){if(!0===e.success){let t=e.data;if("ok"==t.result){let e='<a class="mf-setting-btn-link" href="'+t.url+'">Authorize The App </a>';i.html(e)}else i.html("<span>"+t.msg+"</span>")}else if(e.data){let t=e.data;i.html('<span style="background-color: red; padding: 1px 5px;">'+t.msg+"</span>")}},error:function(e){i.html('<span style="color: red"> ajax error occurred, please check your internet connection..</span>')},complete:function(){}})})),e(document).on("click","#met_form_aweber_get_list",(function(t){t.preventDefault();let i=e(this),s=e("#mf_aweber_info"),a=metform_api.admin_url+"admin-ajax.php";e.ajax({url:a,method:"POST",data:{action:"get_list_lists"},dataType:"json",success:function(e){if(!0===e.success){let t=e.data,a=i.closest("div.mf-aweber").find("select");if(a.html(""),t.lists)for(let e in t.lists)a.append('<option value="'+t.lists[e].id+'">'+t.lists[e].name+"</option>");s.html("")}else if(e.data){let t=e.data;s.html('<span style="background-color: red; padding: 1px 5px;">'+t.msg+"</span>")}},error:function(e){s.html('<span style="color: red"> ajax error occurred, please check your internet connection..</span>')},complete:function(){}})})),e(document).on("click","#met_form_mail_poet_get_list",(function(t){t.preventDefault();let i=e(this),s=e("#mf_mail_poet_info"),a=metform_api.admin_url+"admin-ajax.php";e.ajax({url:a,method:"POST",data:{action:"mail_poet_get_email_list_lists"},dataType:"json",success:function(e){if(!0===e.success){let t=e.data,a=i.closest("div.mf-mail-poet").find("select");if(a.html(""),t.lists)for(let e in t.lists)a.append('<option value="'+t.lists[e].id+'">'+t.lists[e].name+"</option>");s.html("")}else if(e.data){let t=e.data;s.html('<span style="background-color: red; padding: 1px 5px;">'+t.msg+"</span>")}},error:function(e){s.html('<span style="color: red"> ajax error occurred, please check your internet connection..</span>')},complete:function(){}})})),e(document).on("click","#met_form_ckit_get_list",(function(t){t.preventDefault();var i=metform_api.admin_url+"admin-ajax.php";let s=e(this);e.ajax({url:i,method:"POST",data:{action:"get_form_lists"},dataType:"json",success:function(e){if(!0===e.success){let t=e.data,i=s.closest("div.mf-ckit").find("select");i.html(""),t.forms&&t.forms.forEach((function(e){i.append('<option value="'+e.id+'">'+e.name+"</option>")}))}else alert("Error occurred when trying to check for aweber authorization.")},error:function(e){},complete:function(){}})})),e(document).on("click","#met_form_act_camp_get_list",(function(t){t.preventDefault();let i=window.metform_api.resturl+"metform-pro/v1/active-campaign/email_lists",s=x(),a=e(this),o=e("#mf_act_camp_info");e.ajax({url:i,method:"GET",data:[],headers:{"X-WP-Nonce":s},dataType:"json",success:function(e){if(!0===e.success){let t=e.data,i=a.closest("div.mf-input-group").find("select");i.html(""),t.list&&t.list.forEach((function(e){i.append('<option value="'+e.sid+'">'+e.name+"</option>")})),o.html(e.data.msg)}else o.html(e.data.msg)},error:function(e){o.html('<span style="color: red"> ajax error occurred, please check your internet connection..</span>')},complete:function(){}})})),e(document).on("click","#met_form_act_camp_get_tags",(function(t){t.preventDefault();let i=window.metform_api.resturl+"metform-pro/v1/active-campaign/tag_lists",s=x(),a=e(this),o=e("#mf_act_camp_tag_info");e.ajax({url:i,method:"GET",data:[],headers:{"X-WP-Nonce":s},dataType:"json",success:function(e){if(!0===e.success){let t=e.data,i=a.closest("div.mf-input-group").find("select");i.html(""),t.list&&t.list.forEach((function(e){i.append('<option value="'+e.sid+'">'+e.name+"</option>")})),o.html(e.data.msg)}else o.html(e.data.msg)},error:function(e){o.html('<span style="color: red"> ajax error occurred, please check your internet connection..</span>')},complete:function(){}})})),e("#mf-helpscout-btn-token").click((function(){let t=window.metform_api.resturl+"metform/v1/forms/get_helpscout_access_token/123";e.ajax({url:t,type:"get",success:function(e){200==e.status&&location.reload()},error:function(e){alert("Something went wrong")}})}))}));
public/assets/js/app.js CHANGED
@@ -48,4 +48,4 @@ PERFORMANCE OF THIS SOFTWARE.
48
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
49
  * SOFTWARE.
50
  */
51
- var _r="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,Pr=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(_r&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var jr=_r&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),Pr))}};function Tr(e){return e&&"[object Function]"==={}.toString.call(e)}function Ar(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function Ir(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function Rr(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=Ar(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:Rr(Ir(e))}function Nr(e){return e&&e.referenceNode?e.referenceNode:e}var Lr=_r&&!(!window.MSInputMethodContext||!document.documentMode),Vr=_r&&/MSIE 10/.test(navigator.userAgent);function Fr(e){return 11===e?Lr:10===e?Vr:Lr||Vr}function Hr(e){if(!e)return document.documentElement;for(var t=Fr(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===Ar(n,"position")?Hr(n):n:e?e.ownerDocument.documentElement:document.documentElement}function Ur(e){return null!==e.parentNode?Ur(e.parentNode):e}function Wr(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,a=document.createRange();a.setStart(r,0),a.setEnd(o,0);var i,s,u=a.commonAncestorContainer;if(e!==u&&t!==u||r.contains(o))return"BODY"===(s=(i=u).nodeName)||"HTML"!==s&&Hr(i.firstElementChild)!==i?Hr(u):u;var c=Ur(e);return c.host?Wr(c.host,t):Wr(e,Ur(t).host)}function zr(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var o=e.ownerDocument.documentElement,a=e.ownerDocument.scrollingElement||o;return a[n]}return e[n]}function Br(e,t){var n=arguments.length>2&&arguments[2]!==undefined&&arguments[2],r=zr(t,"top"),o=zr(t,"left"),a=n?-1:1;return e.top+=r*a,e.bottom+=r*a,e.left+=o*a,e.right+=o*a,e}function Yr(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function qr(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],Fr(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function Kr(e){var t=e.body,n=e.documentElement,r=Fr(10)&&getComputedStyle(n);return{height:qr("Height",t,n,r),width:qr("Width",t,n,r)}}var $r=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Gr=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Jr=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},Qr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function Xr(e){return Qr({},e,{right:e.left+e.width,bottom:e.top+e.height})}function Zr(e){var t={};try{if(Fr(10)){t=e.getBoundingClientRect();var n=zr(e,"top"),r=zr(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(f){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},a="HTML"===e.nodeName?Kr(e.ownerDocument):{},i=a.width||e.clientWidth||o.width,s=a.height||e.clientHeight||o.height,u=e.offsetWidth-i,c=e.offsetHeight-s;if(u||c){var l=Ar(e);u-=Yr(l,"x"),c-=Yr(l,"y"),o.width-=u,o.height-=c}return Xr(o)}function eo(e,t){var n=arguments.length>2&&arguments[2]!==undefined&&arguments[2],r=Fr(10),o="HTML"===t.nodeName,a=Zr(e),i=Zr(t),s=Rr(e),u=Ar(t),c=parseFloat(u.borderTopWidth),l=parseFloat(u.borderLeftWidth);n&&o&&(i.top=Math.max(i.top,0),i.left=Math.max(i.left,0));var f=Xr({top:a.top-i.top-c,left:a.left-i.left-l,width:a.width,height:a.height});if(f.marginTop=0,f.marginLeft=0,!r&&o){var d=parseFloat(u.marginTop),p=parseFloat(u.marginLeft);f.top-=c-d,f.bottom-=c-d,f.left-=l-p,f.right-=l-p,f.marginTop=d,f.marginLeft=p}return(r&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(f=Br(f,t)),f}function to(e){var t=arguments.length>1&&arguments[1]!==undefined&&arguments[1],n=e.ownerDocument.documentElement,r=eo(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),a=Math.max(n.clientHeight,window.innerHeight||0),i=t?0:zr(n),s=t?0:zr(n,"left"),u={top:i-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:a};return Xr(u)}function no(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===Ar(e,"position"))return!0;var n=Ir(e);return!!n&&no(n)}function ro(e){if(!e||!e.parentElement||Fr())return document.documentElement;for(var t=e.parentElement;t&&"none"===Ar(t,"transform");)t=t.parentElement;return t||document.documentElement}function oo(e,t,n,r){var o=arguments.length>4&&arguments[4]!==undefined&&arguments[4],a={top:0,left:0},i=o?ro(e):Wr(e,Nr(t));if("viewport"===r)a=to(i,o);else{var s=void 0;"scrollParent"===r?"BODY"===(s=Rr(Ir(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var u=eo(s,i,o);if("HTML"!==s.nodeName||no(i))a=u;else{var c=Kr(e.ownerDocument),l=c.height,f=c.width;a.top+=u.top-u.marginTop,a.bottom=l+u.top,a.left+=u.left-u.marginLeft,a.right=f+u.left}}var d="number"==typeof(n=n||0);return a.left+=d?n:n.left||0,a.top+=d?n:n.top||0,a.right-=d?n:n.right||0,a.bottom-=d?n:n.bottom||0,a}function ao(e){return e.width*e.height}function io(e,t,n,r,o){var a=arguments.length>5&&arguments[5]!==undefined?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var i=oo(n,r,a,o),s={top:{width:i.width,height:t.top-i.top},right:{width:i.right-t.right,height:i.height},bottom:{width:i.width,height:i.bottom-t.bottom},left:{width:t.left-i.left,height:i.height}},u=Object.keys(s).map((function(e){return Qr({key:e},s[e],{area:ao(s[e])})})).sort((function(e,t){return t.area-e.area})),c=u.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),l=c.length>0?c[0].key:u[0].key,f=e.split("-")[1];return l+(f?"-"+f:"")}function so(e,t,n){var r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:null,o=r?ro(t):Wr(t,Nr(n));return eo(n,o,r)}function uo(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function co(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function lo(e,t,n){n=n.split("-")[0];var r=uo(e),o={width:r.width,height:r.height},a=-1!==["right","left"].indexOf(n),i=a?"top":"left",s=a?"left":"top",u=a?"height":"width",c=a?"width":"height";return o[i]=t[i]+t[u]/2-r[u]/2,o[s]=n===s?t[s]-r[c]:t[co(s)],o}function fo(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function po(e,t,n){return(n===undefined?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=fo(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e["function"]&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e["function"]||e.fn;e.enabled&&Tr(n)&&(t.offsets.popper=Xr(t.offsets.popper),t.offsets.reference=Xr(t.offsets.reference),t=n(t,e))})),t}function ho(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=so(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=io(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=lo(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=po(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function mo(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function go(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],a=o?""+o+n:e;if("undefined"!=typeof document.body.style[a])return a}return null}function vo(){return this.state.isDestroyed=!0,mo(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[go("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function bo(e){var t=e.ownerDocument;return t?t.defaultView:window}function yo(e,t,n,r){var o="BODY"===e.nodeName,a=o?e.ownerDocument.defaultView:e;a.addEventListener(t,n,{passive:!0}),o||yo(Rr(a.parentNode),t,n,r),r.push(a)}function wo(e,t,n,r){n.updateBound=r,bo(e).addEventListener("resize",n.updateBound,{passive:!0});var o=Rr(e);return yo(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function Co(){this.state.eventsEnabled||(this.state=wo(this.reference,this.options,this.state,this.scheduleUpdate))}function Oo(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,bo(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function xo(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function Do(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&xo(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var ko=_r&&/Firefox/i.test(navigator.userAgent);function So(e,t,n){var r=fo(e,(function(e){return e.name===t})),o=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!o){var a="`"+t+"`",i="`"+n+"`";console.warn(i+" modifier is required by "+a+" modifier in order to work, be sure to include it before "+a+"!")}return o}var Eo=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Mo=Eo.slice(3);function _o(e){var t=arguments.length>1&&arguments[1]!==undefined&&arguments[1],n=Mo.indexOf(e),r=Mo.slice(n+1).concat(Mo.slice(0,n));return t?r.reverse():r}var Po="flip",jo="clockwise",To="counterclockwise";function Ao(e,t,n,r){var o=[0,0],a=-1!==["right","left"].indexOf(r),i=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=i.indexOf(fo(i,(function(e){return-1!==e.search(/,|\s/)})));i[s]&&-1===i[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,c=-1!==s?[i.slice(0,s).concat([i[s].split(u)[0]]),[i[s].split(u)[1]].concat(i.slice(s+1))]:[i];return(c=c.map((function(e,r){var o=(1===r?!a:a)?"height":"width",i=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,i=!0,e):i?(e[e.length-1]+=t,i=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),a=+o[1],i=o[2];if(!a)return e;if(0===i.indexOf("%")){var s=void 0;switch(i){case"%p":s=n;break;case"%":case"%r":default:s=r}return Xr(s)[t]/100*a}if("vh"===i||"vw"===i)return("vh"===i?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*a;return a}(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){xo(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}var Io={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,a=o.reference,i=o.popper,s=-1!==["bottom","top"].indexOf(n),u=s?"left":"top",c=s?"width":"height",l={start:Jr({},u,a[u]),end:Jr({},u,a[u]+a[c]-i[c])};e.offsets.popper=Qr({},i,l[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,a=o.popper,i=o.reference,s=r.split("-")[0],u=void 0;return u=xo(+n)?[+n,0]:Ao(n,a,i,s),"left"===s?(a.top+=u[0],a.left-=u[1]):"right"===s?(a.top+=u[0],a.left+=u[1]):"top"===s?(a.left+=u[0],a.top-=u[1]):"bottom"===s&&(a.left+=u[0],a.top+=u[1]),e.popper=a,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||Hr(e.instance.popper);e.instance.reference===n&&(n=Hr(n));var r=go("transform"),o=e.instance.popper.style,a=o.top,i=o.left,s=o[r];o.top="",o.left="",o[r]="";var u=oo(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=a,o.left=i,o[r]=s,t.boundaries=u;var c=t.priority,l=e.offsets.popper,f={primary:function(e){var n=l[e];return l[e]<u[e]&&!t.escapeWithReference&&(n=Math.max(l[e],u[e])),Jr({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=l[n];return l[e]>u[e]&&!t.escapeWithReference&&(r=Math.min(l[n],u[e]-("right"===e?l.width:l.height))),Jr({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";l=Qr({},l,f[t](e))})),e.offsets.popper=l,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],a=Math.floor,i=-1!==["top","bottom"].indexOf(o),s=i?"right":"bottom",u=i?"left":"top",c=i?"width":"height";return n[s]<a(r[u])&&(e.offsets.popper[u]=a(r[u])-n[c]),n[u]>a(r[s])&&(e.offsets.popper[u]=a(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!So(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],a=e.offsets,i=a.popper,s=a.reference,u=-1!==["left","right"].indexOf(o),c=u?"height":"width",l=u?"Top":"Left",f=l.toLowerCase(),d=u?"left":"top",p=u?"bottom":"right",h=uo(r)[c];s[p]-h<i[f]&&(e.offsets.popper[f]-=i[f]-(s[p]-h)),s[f]+h>i[p]&&(e.offsets.popper[f]+=s[f]+h-i[p]),e.offsets.popper=Xr(e.offsets.popper);var m=s[f]+s[c]/2-h/2,g=Ar(e.instance.popper),v=parseFloat(g["margin"+l]),b=parseFloat(g["border"+l+"Width"]),y=m-e.offsets.popper[f]-v-b;return y=Math.max(Math.min(i[c]-h,y),0),e.arrowElement=r,e.offsets.arrow=(Jr(n={},f,Math.round(y)),Jr(n,d,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(mo(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=oo(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=co(r),a=e.placement.split("-")[1]||"",i=[];switch(t.behavior){case Po:i=[r,o];break;case jo:i=_o(r);break;case To:i=_o(r,!0);break;default:i=t.behavior}return i.forEach((function(s,u){if(r!==s||i.length===u+1)return e;r=e.placement.split("-")[0],o=co(r);var c=e.offsets.popper,l=e.offsets.reference,f=Math.floor,d="left"===r&&f(c.right)>f(l.left)||"right"===r&&f(c.left)<f(l.right)||"top"===r&&f(c.bottom)>f(l.top)||"bottom"===r&&f(c.top)<f(l.bottom),p=f(c.left)<f(n.left),h=f(c.right)>f(n.right),m=f(c.top)<f(n.top),g=f(c.bottom)>f(n.bottom),v="left"===r&&p||"right"===r&&h||"top"===r&&m||"bottom"===r&&g,b=-1!==["top","bottom"].indexOf(r),y=!!t.flipVariations&&(b&&"start"===a&&p||b&&"end"===a&&h||!b&&"start"===a&&m||!b&&"end"===a&&g),w=!!t.flipVariationsByContent&&(b&&"start"===a&&h||b&&"end"===a&&p||!b&&"start"===a&&g||!b&&"end"===a&&m),C=y||w;(d||v||C)&&(e.flipped=!0,(d||v)&&(r=i[u+1]),C&&(a=function(e){return"end"===e?"start":"start"===e?"end":e}(a)),e.placement=r+(a?"-"+a:""),e.offsets.popper=Qr({},e.offsets.popper,lo(e.instance.popper,e.offsets.reference,e.placement)),e=po(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,a=r.reference,i=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[i?"left":"top"]=a[n]-(s?o[i?"width":"height"]:0),e.placement=co(t),e.offsets.popper=Xr(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!So(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=fo(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,a=fo(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;a!==undefined&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var i=a!==undefined?a:t.gpuAcceleration,s=Hr(e.instance.popper),u=Zr(s),c={position:o.position},l=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,a=Math.round,i=Math.floor,s=function(e){return e},u=a(o.width),c=a(r.width),l=-1!==["left","right"].indexOf(e.placement),f=-1!==e.placement.indexOf("-"),d=t?l||f||u%2==c%2?a:i:s,p=t?a:s;return{left:d(u%2==1&&c%2==1&&!f&&t?r.left-1:r.left),top:p(r.top),bottom:p(r.bottom),right:d(r.right)}}(e,window.devicePixelRatio<2||!ko),f="bottom"===n?"top":"bottom",d="right"===r?"left":"right",p=go("transform"),h=void 0,m=void 0;if(m="bottom"===f?"HTML"===s.nodeName?-s.clientHeight+l.bottom:-u.height+l.bottom:l.top,h="right"===d?"HTML"===s.nodeName?-s.clientWidth+l.right:-u.width+l.right:l.left,i&&p)c[p]="translate3d("+h+"px, "+m+"px, 0)",c[f]=0,c[d]=0,c.willChange="transform";else{var g="bottom"===f?-1:1,v="right"===d?-1:1;c[f]=m*g,c[d]=h*v,c.willChange=f+", "+d}var b={"x-placement":e.placement};return e.attributes=Qr({},b,e.attributes),e.styles=Qr({},c,e.styles),e.arrowStyles=Qr({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return Do(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&Do(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var a=so(o,t,e,n.positionFixed),i=io(n.placement,a,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",i),Do(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:undefined}}},Ro=function(){function e(t,n){var r=this,o=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};$r(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=jr(this.update.bind(this)),this.options=Qr({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(Qr({},e.Defaults.modifiers,o.modifiers)).forEach((function(t){r.options.modifiers[t]=Qr({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return Qr({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&Tr(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return Gr(e,[{key:"update",value:function(){return ho.call(this)}},{key:"destroy",value:function(){return vo.call(this)}},{key:"enableEventListeners",value:function(){return Co.call(this)}},{key:"disableEventListeners",value:function(){return Oo.call(this)}}]),e}();Ro.Utils=("undefined"!=typeof window?window:n.g).PopperUtils,Ro.placements=Eo,Ro.Defaults=Io;var No=Ro,Lo=(n(353),function(e){do{e+=~~(1e6*Math.random())}while("undefined"!=typeof document&&document.getElementById(e));return e}),Vo=("undefined"!=typeof window&&"undefined"!=typeof window.document&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&window.MSStream,{name:"kpm0v2",styles:"position:absolute;display:block;width:16px;height:8px;margin:0 5px;&:before,&:after{position:absolute;display:block;content:'';border-color:transparent;border-style:solid;}"}),Fo=function(t){t.placement;var n=bt(t,["placement"]);return ft(e.Fragment,null,ft(dt,{styles:Ho}),ft("div",wt({},n,{"data-arrow":"true",css:Vo})))},Ho={name:"rvo98s",styles:"[x-placement^='top']{margin-bottom:8px;[data-arrow]{bottom:-9px;}[data-arrow]:before{bottom:0;border-width:8px 8px 0;border-top-color:rgba(0,0,0,0.25);}[data-arrow]:after{bottom:1px;border-width:8px 8px 0;border-top-color:#fff;}}[x-placement^='right']{margin-left:8px;[data-arrow]{left:-9px;width:8px;height:16px;margin:5px 0;}[data-arrow]:before{left:0;border-width:8px 8px 8px 0;border-right-color:rgba(0,0,0,0.25);}[data-arrow]:after{left:1px;border-width:8px 8px 8px 0;border-right-color:#fff;}}[x-placement^='bottom']{margin-top:8px;[data-arrow]{top:-9px;}[data-arrow]:before{top:0;border-width:0 8px 8px 8px;border-bottom-color:rgba(0,0,0,0.25);}[data-arrow]:after{top:1px;border-width:0 8px 8px 8px;border-bottom-color:#fff;}}[x-placement^='left']{margin-right:8px;[data-arrow]{right:-9px;width:8px;height:16px;margin:5px 0;}[data-arrow]:before{right:0;border-width:8px 0 8px 8px;border-left-color:rgba(0,0,0,0.25);}[data-arrow]:after{right:1px;border-width:8px 0 8px 8px;border-left-color:#fff;}}"},Uo=function(n){var r,o,a,i=n.header,s=n.body,u=n.children,c=n.placement,l=n.trigger,f=n.styles,d=bt(n,["header","body","children","placement","trigger","styles"]),p=t().Children.only(u),h=(0,e.useRef)(null),m=(0,e.useState)(!1),g=m[0],v=m[1],b=(0,e.useState)(!1),y=b[0],w=b[1],C=(0,e.useState)({popoverId:null,referenceId:null,arrowId:null}),O=C[0],x=C[1],D=O.popoverId,k=O.referenceId,S=O.arrowId;r=h,o=function(e){e.target.id===k||document.getElementById(k).contains(e.target)||v(!1)},a=(0,e.useRef)(),(0,e.useEffect)((function(){a.current=o}),[o]),(0,e.useEffect)((function(){var e=function(e){r.current&&!r.current.contains(e.target)&&a.current(event)};return Mr.forEach((function(t){document.addEventListener(t,e,{passive:!0})})),function(){Mr.forEach((function(t){document.removeEventListener(t,e,{passive:!0})}))}}),[r,o]),(0,e.useEffect)((function(){if(!D)return x({popoverId:Lo("popover"),referenceId:Lo("reference"),arrowId:Lo("arrow")});var e=document.getElementById(D),t=document.getElementById(k),n=document.getElementById(S);e&&t&&n&&(new No(t,e,{placement:c,modifiers:{arrow:{element:n}}}),w(g))}),[g]);var E={content:[Wo.content,f.content],header:[Wo.header,f.header],body:[Wo.body,f.body]};return ft(e.Fragment,null,D?ft("div",wt({},d,{id:D,ref:h,css:E.content,style:y?{display:"block"}:{}}),ft(Fo,{id:S}),i?ft("div",{css:E.header},i):null,ft("div",{css:E.body},s)):null,t().cloneElement(p,wt({},p.props,{id:k,onClick:function(){"click"===l&&v(!g)}})))};Uo.defaultProps={placement:"right",trigger:"click",styles:{}};var Wo={content:{name:"106ha8s",styles:"display:none;max-width:300px;background-color:#fff;border-radius:4px;border:1px solid rgba(0,0,0,0.2);z-index:1060;"},header:{name:"12koz1z",styles:"padding:8px 12px;background-color:#f7f7f7;font-size:16px;font-weight:bold;border-top-left-radius:4px;border-top-right-radius:4px;"},body:{name:"k7kym8",styles:"padding:8px 12px;font-size:14px;border-bottom-left-radius:4px;border-bottom-right-radius:4px;"}},zo=Uo;function Bo(e){var t=e.touches;if(t&&t.length){var n=t[0];return{x:n.clientX,y:n.clientY}}return{x:e.clientX,y:e.clientY}}var Yo={position:"relative",display:"inline-block",backgroundColor:"#ddd",borderRadius:5,userSelect:"none",boxSizing:"border-box"},qo={position:"absolute",backgroundColor:"#5e72e4",borderRadius:5,userSelect:"none",boxSizing:"border-box"},Ko={position:"relative",display:"block",content:'""',width:18,height:18,backgroundColor:"#fff",borderRadius:"50%",boxShadow:"0 1px 1px rgba(0,0,0,.5)",userSelect:"none",cursor:"pointer",boxSizing:"border-box"},$o={x:{track:wt({},Yo,{width:200,height:10}),active:wt({},qo,{top:0,height:"100%"}),thumb:wt({},Ko)},y:{track:wt({},Yo,{width:10,height:200}),active:wt({},qo,{left:0,width:"100%"}),thumb:wt({},Ko)},xy:{track:{position:"relative",overflow:"hidden",width:200,height:200,backgroundColor:"#5e72e4",borderRadius:0},active:{},thumb:wt({},Ko)},disabled:{opacity:.5}},Go=function(t){var n=t.disabled,r=t.axis,o=t.x,a=t.y,i=t.xmin,s=t.xmax,u=t.ymin,c=t.ymax,l=t.xstep,f=t.ystep,d=t.onChange,p=t.onDragStart,h=t.onDragEnd,m=t.onClick,g=t.xreverse,v=t.yreverse,b=t.styles,y=bt(t,["disabled","axis","x","y","xmin","xmax","ymin","ymax","xstep","ystep","onChange","onDragStart","onDragEnd","onClick","xreverse","yreverse","styles"]),w=(0,e.useRef)(null),C=(0,e.useRef)(null),O=(0,e.useRef)({}),x=(0,e.useRef)({});function D(e){var t=e.top,n=e.left;if(d){var o=w.current.getBoundingClientRect(),a=o.width,p=o.height,h=0,m=0;n<0&&(n=0),n>a&&(n=a),t<0&&(t=0),t>p&&(t=p),"x"!==r&&"xy"!==r||(h=n/a*(s-i)),"y"!==r&&"xy"!==r||(m=t/p*(c-u));var b=(0!==h?parseInt(h/l,10)*l:0)+i,y=(0!==m?parseInt(m/f,10)*f:0)+u;d({x:g?s-b+i:b,y:v?c-y+u:y})}}function k(e){if(!n){e.preventDefault();var t=C.current,r=Bo(e);O.current={x:t.offsetLeft,y:t.offsetTop},x.current={x:r.x,y:r.y},document.addEventListener("mousemove",S),document.addEventListener("mouseup",E),document.addEventListener("touchmove",S,{passive:!1}),document.addEventListener("touchend",E),document.addEventListener("touchcancel",E),p&&p(e)}}function S(e){n||(e.preventDefault(),D(function(e){var t=Bo(e);return{left:t.x+O.current.x-x.current.x,top:t.y+O.current.y-x.current.y}}(e)))}function E(e){n||(e.preventDefault(),document.removeEventListener("mousemove",S),document.removeEventListener("mouseup",E),document.removeEventListener("touchmove",S,{passive:!1}),document.removeEventListener("touchend",E),document.removeEventListener("touchcancel",E),h&&h(e))}var M,_,P=((M=(a-u)/(c-u)*100)>100&&(M=100),M<0&&(M=0),"x"===r&&(M=0),(_=(o-i)/(s-i)*100)>100&&(_=100),_<0&&(_=0),"y"===r&&(_=0),{top:M,left:_}),j={};"x"===r&&(j.width=P.left+"%"),"y"===r&&(j.height=P.top+"%"),g&&(j.left=100-P.left+"%"),v&&(j.top=100-P.top+"%");var T={position:"absolute",transform:"translate(-50%, -50%)",left:g?100-P.left+"%":P.left+"%",top:v?100-P.top+"%":P.top+"%"};"x"===r?T.top="50%":"y"===r&&(T.left="50%");var A={track:wt({},$o[r].track,{},b.track),active:wt({},$o[r].active,{},b.active),thumb:wt({},$o[r].thumb,{},b.thumb),disabled:wt({},$o.disabled,{},b.disabled)};return ft("div",wt({},y,{ref:w,css:lt([A.track,n&&A.disabled],";label:Slider;"),onClick:function(e){if(!n){var t=Bo(e),r=w.current.getBoundingClientRect();D({left:t.x-r.left,top:t.y-r.top}),m&&m(e)}}}),ft("div",{css:A.active,style:j}),ft("div",{ref:C,style:T,onTouchStart:k,onMouseDown:k,onClick:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}},ft("div",{css:A.thumb})))};Go.defaultProps={disabled:!1,axis:"x",x:50,xmin:0,xmax:100,y:50,ymin:0,ymax:100,xstep:1,ystep:1,xreverse:!1,yreverse:!1,styles:{}};var Jo=Go,Qo=n(654),Xo=n.n(Qo),Zo=n(763),ea=n.n(Zo),ta=n(37),na=n.n(ta),ra="undefined"!=typeof navigator&&navigator.userAgent.match(/iPhone|iPad|iPod/i),oa=function(t){var n=t.step,r=t.min,o=t.max,a=t.value,i=t.onChange,s=t.onKeyDown,u=t.enableMobileNumericKeyboard,c=t.component,l=bt(t,["step","min","max","value","onChange","onKeyDown","enableMobileNumericKeyboard","component"]),f=(0,e.useState)(a),d=f[0],p=f[1];(0,e.useEffect)((function(){p(a)}),[a]);var h={value:d,onChange:function(e){var t=function(e){if(ea()(e))return e;if(na()(e)){if(!(e=e.trim()))return"";var t=parseFloat(e);if(!Xo()(t))return t}return""}(e);p(e),i&&i(t)},onKeyDown:function(e){38===e.keyCode?i&&i(ia("+",a,o,r,n)):40===e.keyCode&&i&&i(ia("-",a,o,r,n)),s&&s(e)},onWheel:function(e){e.target.blur()}};return ft(c,wt({},l,h,u?{css:aa,type:"number",inputMode:"numeric",pattern:ra?"[0-9]*":"",step:n,min:r,max:o}:{css:aa,type:"text"}))};oa.defaultProps={autoComplete:"off",enableMobileNumericKeyboard:!1,value:"",component:function(e){var t=e.onChange,n=bt(e,["onChange"]);return ft("input",wt({},n,{onChange:function(e){t&&t(e.target.value)}}))},step:1};var aa={MozAppearance:"textfield","&::-webkit-inner-spin-button, &::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0}};function ia(e,t,n,r,o){if(""===t)return ea()(r)?r:"";if(t="+"===e?t+o:t-o,ea()(n)&&t>n)return n;if(ea()(r)&&t<r)return r;var a=(o.toString().split(".")[1]||[]).length;return a?parseFloat(t.toFixed(a)):t}var sa=oa;function ua(e){return"#"===e[0]&&(e=e.substr(1)),3===e.length?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16)}:{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16)}}function ca(e,t,n){var r=[],o=(n/=100)*(t/=100),a=e/60,i=o*(1-Math.abs(a%2-1)),s=n-o;return r=a>=0&&a<1?[o,i,0]:a>=1&&a<2?[i,o,0]:a>=2&&a<3?[0,o,i]:e>=3&&a<4?[0,i,o]:e>=4&&a<5?[i,0,o]:e>=5&&a<=6?[o,0,i]:[0,0,0],{r:Math.round(255*(r[0]+s)),g:Math.round(255*(r[1]+s)),b:Math.round(255*(r[2]+s))}}function la(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function fa(e,t,n){return"#"+[la(e),la(t),la(n)].join("")}function da(e,t,n){var r,o=Math.max(e,t,n),a=o-Math.min(e,t,n);return r=0===a?0:e===o?(t-n)/a%6:t===o?(n-e)/a+2:(e-t)/a+4,(r=Math.round(60*r))<0&&(r+=360),{h:r,s:Math.round(100*(0===o?0:a/o)),v:Math.round(o/255*100)}}function pa(e,t,n,r){return"rgba("+[e,t,n,r/100].join(",")+")"}var ha={name:"bzk4lp",styles:"width:100%;margin-top:10px;margin-bottom:10px;display:flex;"},ma={name:"lwa3hx",styles:"flex:1;margin-right:10px;"},ga=function(e){var t=e.color,n=e.onChange,r=t.r,o=t.g,a=t.b,i=t.a,s=t.h,u=t.s,c=t.v;function l(e){n&&n(wt({},e,{rgba:pa(e.r,e.g,e.b,e.a)}))}function f(e,n,r){var o=ca(e,n,r),a=o.r,i=o.g,s=o.b,u=fa(a,i,s);l(wt({},t,{h:e,s:n,v:r,r:a,g:i,b:s,hex:u}))}function d(e,n,r){var o=fa(e,n,r),a=da(e,n,r),i=a.h,s=a.s,u=a.v;l(wt({},t,{r:e,g:n,b:r,h:i,s:s,v:u,hex:o}))}function p(e){l(wt({},t,{a:e}))}var h=pa(r,o,a,i),m="linear-gradient(to right, "+pa(r,o,a,0)+", "+pa(r,o,a,100)+")",g=function(e,t,n){var r=ca(e,t,n);return fa(r.r,r.g,r.b)}(s,100,100);return ft("div",{css:va.picker,onClick:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}},ft("div",{css:va.selector,style:{backgroundColor:g}},ft("div",{css:va.gradientWhite}),ft("div",{css:va.gradientDark}),ft(Jo,{axis:"xy",x:u,xmax:100,y:100-c,ymax:100,onChange:function(e){var t=e.x,n=e.y;return f(s,t,100-n)},styles:{track:{width:"100%",height:"100%",background:"none"},thumb:{width:12,height:12,backgroundColor:"rgba(0,0,0,0)",border:"2px solid #fff",borderRadius:"50%"}}})),ft("div",{css:ha},ft("div",{css:ma},ft(Jo,{axis:"x",x:s,xmax:359,onChange:function(e){return f(e.x,u,c)},styles:{track:{width:"100%",height:12,borderRadius:0,background:"linear-gradient(to left, #FF0000 0%, #FF0099 10%, #CD00FF 20%, #3200FF 30%, #0066FF 40%, #00FFFD 50%, #00FF66 60%, #35FF00 70%, #CDFF00 80%, #FF9900 90%, #FF0000 100%)"},active:{background:"none"},thumb:{width:5,height:14,borderRadius:0,backgroundColor:"#eee"}}}),ft(Jo,{axis:"x",x:i,xmax:100,styles:{track:{width:"100%",height:12,borderRadius:0,background:m},active:{background:"none"},thumb:{width:5,height:14,borderRadius:0,backgroundColor:"#eee"}},onChange:function(e){return p(e.x)}})),ft("div",{style:{backgroundColor:h,width:30,height:30}})),ft("div",{css:va.inputs},ft("div",{css:va.input},ft("input",{style:{width:70,textAlign:"left"},type:"text",value:t.hex,onChange:function(e){return function(e){var n=ua(e),r=n.r,o=n.g,a=n.b,i=da(r,o,a),s=i.h,u=i.s,c=i.v;l(wt({},t,{r:r,g:o,b:a,h:s,s:u,v:c,hex:e}))}(e.target.value)},onKeyUp:function(e){if(13===e.keyCode){var n=e.target.value.trim(),r=ua(n),o=r.r,a=r.g,s=r.b;l(wt({},t,{r:o,g:a,b:s,a:i,hex:n}))}}}),ft("div",null,"Hex")),ft("div",{css:va.input},ft(sa,{min:0,max:255,value:r,onChange:function(e){return d(e,o,a)}}),ft("div",null,"R")),ft("div",{css:va.input},ft(sa,{min:0,max:255,value:o,onChange:function(e){return d(r,e,a)}}),ft("div",null,"G")),ft("div",{css:va.input},ft(sa,{min:0,max:255,value:a,onChange:function(e){return d(r,o,e)}}),ft("div",null,"B")),ft("div",{css:va.input},ft(sa,{min:0,max:100,value:i,onChange:function(e){return p(e)}}),ft("div",null,"A"))))};ga.defaultProps={initialValue:"#5e72e4"};var va={picker:{fontFamily:"'Helvetica Neue',Helvetica,Arial,sans-serif",width:230,"*":{userSelect:"none"}},selector:{position:"relative",width:230,height:230},gradientWhite:{position:"absolute",top:0,left:0,right:0,bottom:0,background:"linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%)"},gradientDark:{position:"absolute",top:0,left:0,right:0,bottom:0,background:"linear-gradient(to bottom, transparent 0%, #000000 100%)"},inputs:{display:"flex",justifyContent:"space-between",width:"100%"},input:{textAlign:"center",fontSize:13,fontWeight:"normal",color:"#000",input:{width:30,textAlign:"center"},div:{marginTop:4}}};function ba(e){var t,n=(e=e.toLowerCase()).substr(0,7),r=ua(n),o=r.r,a=r.g,i=r.b,s=da(o,a,i),u=e.length>7?(t=e.substr(7),Math.round(parseInt("0x"+t,16)/255*100)):100;return wt({},s,{r:o,g:a,b:i,a:u,hex:n,rgba:pa(o,a,i,u)})}var ya={name:"j4ndc3",styles:"position:relative;display:inline-block;box-sizing:border-box;width:49px;height:24px;padding:4px;background-color:#ffffff;border:1px solid #bebebe;border-radius:3px;user-select:none;"},wa={name:"trkpwz",styles:"display:block;width:100%;height:100%;cursor:pointer;"},Ca=function(t){var n=t.initialValue,r=t.onChange,o=t.placement,a=bt(t,["initialValue","onChange","placement"]),i=(0,e.useState)(ba(n)),s=i[0],u=i[1];function c(e){r&&(u(e),r(e))}return(0,e.useEffect)((function(){c(ba(n))}),[n]),ft(zo,{placement:o,body:ft(ga,{color:s,onChange:c})},ft("span",wt({},a,{css:ya}),ft("span",{css:wa,style:{backgroundColor:s.rgba}})))};Ca.defaultProps={placement:"bottom"};var Oa=Ca,xa=n(953),Da=n(73),ka=n.n(Da),Sa=n(251),Ea=n.n(Sa);function Ma(e){return(Ma="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var _a,Pa=function(e){var t=function(){this.parser=new i},n=t.prototype;function r(e,t){for(var n=[],r=t,o=e.length;r<o;r++)n.push(e[r]);return n}var o=function(){var e=function n(e,t,r){this.prefix=(e||"")+":",this.level=t||n.NONE,this.out=r||window.console&&window.console.log.bind(window.console),this.warn=this.log.bind(this,n.WARN),this.info=this.log.bind(this,n.INFO),this.debug=this.log.bind(this,n.DEBUG)},t=e.prototype;return e.DEBUG=1,e.INFO=2,e.WARN=3,e.NONE=4,t.log=function(e,t){if(e>=this.level&&"function"==typeof this.out){var n=r(arguments,2);n=[this.prefix+t].concat(n),this.out.apply(this,n)}},e}(),a=function(){var e=function(e){this.obj=e||{}},t=e.prototype;return t.get=function(e){var t=this.obj[e];return t===undefined&&this.parent&&(t=this.parent.get(e)),t},t.set=function(e,t){return this.obj[e]=t,this.get(e)},e}(),i=function(){var e=new o("PARSER",o.NONE),t=new o("EMIT",o.NONE),n=function(){};function i(e){var t={};return e.forEach((function(e,n){t[e]=n})),t}function s(e,t,n){if(1===n.length&&"object"===Ma(n[0])){var r=n[0];t.forEach((function(t){e[t]=r[t]}))}else for(var o=0,i=t.length,s=n.length;o<i&&o<s;o++)e[t[o]]=n[o];delete e.runtimeError;var u=new a(e);return u.parent=l,u}function u(n){if(n!==undefined)switch(n.id){case"Expr":case"Tuple":return u(n.expr);case"OpenTuple":return n.expr?f(n.expr):f(n.left,n.right);case"Assign":return n.expr?u(n.expr):(s=n.left,l=u(l=n.right),function(e){return e.set(s.value,l.apply(null,arguments))});case"Sums":case"Prod":case"Power":return n.expr?u(n.expr):function(t,n,o){n=u(n),o=u(o);var a=undefined;function i(e){var t=r(arguments,1);return e(n.apply(this,t),o.apply(this,t))}switch(t.id){case"Plus":return i.bind(a,(function(e,t){return+e+t}));case"Minus":return i.bind(a,(function(e,t){return e-t}));case"Mul":return i.bind(a,(function(e,t){return e*t}));case"Div":return i.bind(a,(function(e,t){return e/t}));case"Mod":return i.bind(a,(function(e,t){return e%t}));case"Pow":return i.bind(a,(function(e,t){return Math.pow(e,t)}))}return e.warn("No emitter for %o",t),function(){}}(n.op,n.left,n.right);case"Unary":return n.expr?u(n.expr):function(t,n){switch(n=u(n),t.id){case"Plus":return function(){return n.apply(this,arguments)};case"Minus":return function(){return-n.apply(this,arguments)}}return e.warn("No emitter for %o",t),function(){}}(n.op,n.right);case"Call":return o=n.token,a=n.args,i=c(a),a=u(a),function(e){var t=e.get(o.value);if("function"==typeof t){var n=a.apply(null,arguments);return i||(n=[n]),t.apply(null,n)}e.set("runtimeError",{text:'Call to undefined "'+o.value+'"'})};case"Parens":return u(n.expr);case"Value":return u(n.token);case"Number":return function(){return n.value};case"Var":return function(e){return e.get(n.value)};default:t.warn("No emitter for %o",n)}var o,a,i,s,l;return function(){}}function c(e){if(e!==undefined)switch(e.id){case"Expr":case"Tuple":return c(e.expr);case"OpenTuple":return!0}return!1}function f(e,t){if(e===undefined)return function(){return[]};var n="OpenTuple"===e.id;return e=u(e),t===undefined?function(){return[e.apply(null,arguments)]}:(t=u(t),n?function(){var n=e.apply(null,arguments);return n.push(t.apply(null,arguments)),n}:function(){return[e.apply(null,arguments),t.apply(null,arguments)]})}n.prototype.parse=function(n){this.error=undefined;var r=function(e){var t,n,r=[],o=0;for(;(t=k(e,o))!==undefined;)t.error?n=t.error:"Space"!==t.id&&r.push(t),o=t.end;return{tokens:r,error:n}}(n),o=function(t){for(var n={tokens:t,pos:0,stack:[],scope:{}},r=0,o=t.length,a=!1;!a&&r<=o;){var i=t[r],s=n.stack[n.stack.length-1],u=(s?s.id:"(empty)")+":"+(i?i.id:"(eof)");switch(d[u]){case 1:e.debug("shift %s %o",u,h(n.stack)),n=m(n,i),r++;break;case 2:e.debug("reduce %s %o",u,h(n.stack)),n=v(n,i);break;case 0:e.debug("done %s %o",u,h(n.stack)),a=!0;break;default:if(i!==undefined){var c={pos:i.pos,text:'Unexpected token "'+i.string+'"'};n.error=c,e.warn("%s at %d (%s)",c.text,c.pos,u)}else{c={text:"Unexpected EOF",pos:n.pos+1};n.error=c,e.warn("%s (%s)",c.text,u)}a=!0}}if(!n.error&&n.stack.length>1){var l=b(n,1);c={pos:l.pos||0,text:"LParen"===l.id?"Open paren":"Invalid expression"};n.error=c,e.warn("%s at %d (eof)",c.text,c.pos)}return{root:n.stack.pop(),vars:Object.keys(n.scope),error:n.error}}(r.tokens);t.debug("AST: %o",o);var a,c,l=(a=u(o.root),function(e){try{return a.apply(null,arguments)}catch(t){e.set("runtimeError",{text:""+t})}});return c={},{error:r.error||o.error,args:i(o.vars),eval:function(){return l(s(c,o.vars,arguments))},set scope(e){c=e||{}},get scope(){return c}}};var d={};function p(e,t,n){for(var r=0,o=t.length;r<o;r++)for(var a=0,i=n.length;a<i;a++){var s=t[r]+":"+n[a];d[s]=e}}function h(t){return e.level>=o.DEBUG?t.map((function(e){return e.id})):""}function m(e,t){return g(e,0,t)}function g(e,t,n){var r=e.stack.slice(0,e.stack.length-t),o=e.pos;return n&&(r.push(n),n.pos!==undefined&&(o=n.pos)),{tokens:e.tokens,pos:o,stack:r,scope:e.scope,error:e.error}}function v(t,n){switch(b(t,0).id){case"Tuple":return function(e){var t=b(e,0);return g(e,1,{id:"Expr",expr:t})}(t);case"OpenTuple":case"Comma":return y(t,n);case"Assign":case"Sums":return function(e,t){var n=b(e,1),r=b(e,0);if(r!==undefined&&"Sums"===r.id)return w(e,["Eq"],"Assign");if(n!==undefined&&"Eq"===n.id)return w(e,["Eq"],"Assign");return y(e,t)}(t,n);case"Prod":return function(e){return w(e,["Plus","Minus"],"Sums")}(t);case"Power":case"Unary":return function(e){var t=b(e,1),n=b(e,0);if(n!==undefined&&"Unary"===n.id){var r=O(e,!1);return r||g(e,1,{id:"Power",expr:n})}if(n!==undefined&&"Power"===n.id&&t!==undefined&&"Pow"===t.id)return w(e,["Pow"],"Power");return function(e){return w(e,["Mul","Div","Mod"],"Prod")}(e)}(t);case"Call":case"Parens":return O(t);case"Value":case"RParen":return function(t){var n=b(t,3),r=b(t,2),o=b(t,1),a=b(t,0),i={id:"Parens"};if("RParen"===a.id){if(o!==undefined&&"LParen"===o.id)return r!==undefined&&"Var"===r.id?g(t,3,i={id:"Call",token:r}):g(t,2,i={id:"OpenTuple"});if(r===undefined||"LParen"!==r.id){var s={pos:a.pos,text:"Unmatched paren"};return t.error=s,e.warn("%s at %d",s.text,s.pos),g(t,1)}return n!==undefined&&"Var"===n.id?g(t,4,i={id:"Call",token:n,args:o}):(i.expr=o,g(t,3,i))}return i.expr=a,g(t,1,i)}(t);case"Number":case"Var":return function(e){var t=b(e,0);e=g(e,1,{id:"Value",token:t}),"Var"===t.id&&(e.scope[t.value]=t);return e}(t)}return t}function b(e,t){return t===undefined&&(t=0),e.stack[e.stack.length-(t+1)]}function y(e,t){var n=b(e,2),r=b(e,1),o=b(e,0),a={id:"OpenTuple"};return"Comma"===o.id?g(e,2,r):r!==undefined&&"Comma"===r.id?(a.op=r,a.left=n,a.right=o,g(e,3,a)):t!==undefined&&"Comma"===t.id?(a.expr=o,g(e,1,a)):g(e,1,a={id:"Tuple",expr:o})}function w(e,t,n){var r=b(e,2),o=b(e,1),a=b(e,0),i={id:n};return o!==undefined&&-1!==t.indexOf(o.id)?(i.op=o,i.left=r,i.right=a,g(e,3,i)):(i.expr=a,g(e,1,i))}p(1,["(empty)","Plus","Minus","Mul","Div","Mod","Pow","LParen","Eq","Comma"],["Plus","Minus","LParen","Number","Var"]),p(1,["Var"],["LParen","Eq"]),p(1,["Sums"],["Plus","Minus"]),p(1,["Prod"],["Mul","Div","Mod"]),p(1,["Unary"],["Pow"]),p(1,["OpenTuple","Tuple"],["Comma"]),p(1,["LParen","Expr"],["RParen"]),p(2,["Number","Var","Value","RParen","Parens","Call","Unary","Power","Prod","Sums","Assign"],["Comma"]),p(2,["Number","Var","Value","RParen","Parens","Call","Unary","Power","Prod"],["Plus","Minus"]),p(2,["Number","Var","Value","RParen","Parens","Call","Unary","Power"],["Mul","Div","Mod"]),p(2,["Number","Var","Value","RParen","Parens","Call"],["Pow"]),p(2,["Number","Var","Value","RParen","Parens","Call","Unary","Power","Prod","Sums","Assign","Comma","OpenTuple","Tuple"],["RParen","(eof)"]),p(0,["(empty)","Expr"],["(eof)"]);var C=["Pow","Mul","Div","Mod","Plus","Minus","Eq","Comma","LParen"];function O(e,t){var n=b(e,2),r=b(e,1),o=b(e,0),a={id:"Unary"};return r===undefined||"Minus"!==r.id&&"Plus"!==r.id||n!==undefined&&-1===C.indexOf(n.id)?!1!==t?(a.expr=o,g(e,1,a)):void 0:(a.op=r,a.right=o,g(e,2,a))}var x=/^(?:(\s+)|((?:\d+e[-+]?\d+|\d+(?:\.\d*)?|\d*\.\d+))|(\+)|(\-)|(\*)|(\/)|(%)|(\^)|(\()|(\))|(=)|(,)|([a-zA-Z]\w*))/i,D=["Space","Number","Plus","Minus","Mul","Div","Mod","Pow","LParen","RParen","Eq","Comma","Var"];function k(t,n){var r=t.slice(n);if(0!==r.length){var o=x.exec(r);if(null===o){var a=function(e,t){for(var n=e.length;t<n;t++){var r=e.slice(t);if(0===r.length)break;if(null!==x.exec(r))break}return t}(t,n),i={pos:n,text:'Unexpected symbol "'+t.slice(n,a)+'"'};return e.warn("%s at %d",i.text,i.pos),{error:i,end:a}}for(var s=0,u=D.length;s<u;s++){var c=o[s+1];if(c!==undefined)return{id:D[s],string:c,pos:n,end:n+c.length,value:E(D[s],c)}}}}var S=Number.parseFloat||parseFloat;function E(e,t){switch(e){case"Number":return S(t);default:return t}}return n}(),s=function(e,t){return Array.isArray(e)?function(e,t){return e.length?e.reduce((function(e,n){return"decrease_first_value"===t?Number(n)-Number(e):Number(e)+Number(n)})):NaN}(e,t):Number(e)};var u,c,l=((c=new a).set("pi",Math.PI),c.set("e",Math.E),c.set("inf",Number.POSITIVE_INFINITY),u=Math,Object.getOwnPropertyNames(Math).forEach((function(e){c.set(e,u[e])})),c);return n.parse=function(e,t,n){e=(e=e.replace(/\[|\]|-/g,"__")).replace(/\s+(__|–)\s+/g," - "),t=void 0===t?{}:t;var r=/\[|\]|-/g,o={};for(var a in t)o[a.replace(r,"__")]=s(t[a],n);var i=this.parser.parse(e);return i.scope.numberFormat=function(e){if(!Number.isNaN(e))return(new Intl.NumberFormat).format(e)},i.scope.floor=function(e){return Math.floor(e)},i.scope.round=function(e){return Math.round(e)},i.scope.float=function(e,t){return t=void 0===t?0:t,e.toFixed(t)},i.scope.ceil=function(e){return Math.ceil(e)},i.eval(o)},t}(),ja="";_a=jQuery,Element.prototype.getElSettings=function(e){if("settings"in this.dataset)return JSON.parse(this.dataset.settings.replace(/(&quot\;)/g,'"'))[e]||""},ja=function(e,t){var n=e.find(".mf-multistep-container");if(n.length){var r=[];n.find(".elementor-top-section").each((function(e){var t=this.getElSettings("metform_multistep_settings_title")||"Step-"+_a(this).data("id"),o=this.getElSettings("metform_multistep_settings_icon"),a="",i="";o&&(a="svg"===o.library?'<img class="metform-step-svg-icon" src="'+o.value.url+'" alt="SVG Icon" />':o.value.length?'<i class="metform-step-icon '+o.value+'"></i>':""),0===e?(i="active",n.hasClass("mf_slide_direction_vertical")&&_a(this).parents(".elementor-section-wrap").css("height",_a(this).height())):1===e&&(i="next"),t&&r.push("<li class='metform-step-item "+i+"' id='metform-step-item-"+_a(this).attr("data-id")+"' data-value='"+_a(this).attr("data-id")+"'>"+a+'<span class="metform-step-title">'+t+"</span></li>")})),r&&(n.find(".metform-form-content .metform-form-main-wrapper > .elementor").before("<ul class='metform-steps'>"+r.join("")+"</ul>"),n.find(".elementor-top-section:first-of-type").addClass("active"),n.find(".mf-progress-step-bar span").attr("data-portion",100/r.length).css("width",100/r.length+"%"))}n.find(".elementor-top-section .metform-btn").attr("type","button"),n.find(".mf-input").on("keypress",(function(e){13!==e.which||_a(this).hasClass("mf-textarea")||n.find(".metform-step-item.next").trigger("click")})),n.find(".elementor-top-section").on("keydown",(function(e){var t=_a(this),n=_a(":focus");if(9==e.which)if(t.hasClass("active")){var r=t.find(":focusable"),o=r.index(n),a=r.eq(o),i=r.eq(r.length-1);a.is(i)&&(a.focus(),e.preventDefault())}else n.focus(),e.preventDefault()})),n.find(".metform-steps").on("click",".metform-step-item",(function(){var e,r=this,o=_a(this).parents(".mf-form-wrapper").eq(0),a=o.find(".elementor-top-section.active .mf-input"),i=(_a("body").hasClass("rtl")?100:-100)*_a(this).index()+"%",s=(o.find(".mf-progress-step-bar").attr("data-total"),_a(this.nextElementSibling).hasClass("active")),u=[];a.each((function(){var e=_a(this),t=this.name;(e.hasClass("mf-input-select")||e.hasClass("mf-input-multiselect"))&&(t=e.find('input[type="hidden"]')[0].name),e.parents(".mf-input-repeater").length&&(t=""),t&&u.push(t)})),e=function(e){e&&(o.find(".elementor-top-section.active .metform-btn").attr("type","button"),(_a(r).hasClass("prev")||_a(r).hasClass("next"))&&(_a(r).addClass("active").removeClass("next prev").prev().addClass("prev").siblings().removeClass("prev").end().end().next().addClass("next").siblings().removeClass("next").end().end().siblings().removeClass("active"),o.find('.elementor-top-section[data-id="'+_a(r).data("value")+'"]').addClass("active").siblings().removeClass("active"),n.hasClass("mf_slide_direction_vertical")?(o.find(".elementor-section-wrap .elementor-top-section").css({transform:"translateY("+i+")"}),o.find(".elementor-section-wrap").css("height","calc("+o.find('.elementor-top-section[data-id="'+_a(r).data("value")+'"]').height()+"px)")):o.find(".elementor-section-wrap").css({transform:"translateX("+i+")"})),o.find(".mf-progress-step-bar span").css("width",(_a(r).index()+1)*o.find(".mf-progress-step-bar span").attr("data-portion")+"%"),o.find(".elementor-top-section.active").find(".metform-submit-btn").length&&setTimeout((function(){o.find(".elementor-top-section.active").find(".metform-submit-btn").attr("type","submit")}),0))},s?e(!0):t.doValidate(u).then(e)}))};var Ta=function(){document.querySelectorAll(".mf-input-map-location").forEach((function(e){if("undefined"!=typeof google){var t=new google.maps.places.Autocomplete(e,{types:["geocode"]});google.maps.event.addListener(t,"place_changed",(function(){e.dispatchEvent(new Event("input",{bubbles:!0}))}))}}))};window.mfMapLocation=Ta;var Aa=function(e,t){return React.createElement("div",{className:"mf-main-response-wrap ".concat(t," mf-response-msg-wrap"),"data-show":"1"},React.createElement("div",{className:"mf-response-msg"},React.createElement("i",{className:"mf-success-icon ".concat(e)}),React.createElement("p",null,"This is a dummy success message!!.")))},Ia=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=[].concat(t)[2],o=[].concat(t)[3],a=[].concat(t)[4],i=[].concat(t)[5],s=r.errors,u=r.success,c=r.form_res,l=function(){return s.length>0?React.createElement(React.Fragment,null,React.createElement("i",{className:"mf-alert-icon ".concat(a)}),React.createElement("p",null,s.map((function(e){return e+" "}))," ")):""},f=function(){return u.length>0?React.createElement(React.Fragment,null,React.createElement("i",{className:"mf-success-icon ".concat(o)}),React.createElement("p",null,u)):""};return React.createElement("div",{className:"mf-main-response-wrap ".concat(i," mf-response-msg-wrap").concat(s.length>0?" mf-error-res":""),"data-show":c},React.createElement("div",{className:"mf-response-msg"},l(),f()))};function Ra(e){return(Ra="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Na=function(e,t,n){if("mf-captcha-challenge"!==e&&"g-recaptcha-response"!==e){var r=n.getValue(e);if(Array.isArray(r)&&(r=r.join(", ")),"object"===Ra(r)&&r.name&&(r=r.name),"string"==typeof r&&r.includes("data:image")&&(r=React.createElement("img",{src:r,alt:e})),!r)return"";var o=function(e,t,n){var r=n.formContainerRef.current.querySelector('[name="'+e+'"]'),o=r?r.closest(".mf-input-wrapper").querySelector("label"):null;return o?o.innerText.replace(/\*/g,"").trim():t}(e,e,n);return React.createElement("li",{key:t},React.createElement("strong",null," ",o," ")," ",React.createElement("span",null," ",r," "))}},La=function(e,t,n,r,o){if(e){r(e.props.name,o.activateValidation(n));var a=window[t];t&&a&&(window.flatpickr.prototype.constructor.l10ns[t]=a["default"][t],e.flatpickr.set("locale",t))}};function Va(e){return(Va="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Fa(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(u){s=!0,o=u}finally{try{i||null==n["return"]||n["return"]()}finally{if(s)throw o}}return a}(e,t)||Ua(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ha(e){return function(e){if(Array.isArray(e))return Wa(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ua(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ua(e,t){if(e){if("string"==typeof e)return Wa(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Wa(e,t):void 0}}function Wa(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function za(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ba(e,t){return(Ba=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ya(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=$a(e);if(t){var o=$a(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return qa(this,n)}}function qa(e,t){return!t||"object"!==Va(t)&&"function"!=typeof t?Ka(e):t}function Ka(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $a(e){return($a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ga(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ja(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ga(Object(n),!0).forEach((function(t){Qa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ga(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xa=new(Ea())({tolerance:200}),Za=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ba(e,t)}(a,React.Component);var t,n,r,o=Ya(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),Qa(Ka(t=o.call(this,e)),"handleFormSubmit",(function(e,n){var r;n.preventDefault();var o=t.state,a=o.formData,i=o.defaultData,s=t.props,u=s.action,c=s.wpNonce,l=s.validation,f=l.reset,d=new FormData,p=Ja(Ja({},i),a);for(var h in jQuery(t.mfRefs.mainForm.parentElement).trigger("metform/before_submit",p),jQuery(t.mfRefs.mainForm).find(".metform-submit-btn").attr("disabled",!0),p)d.append(h,p[h]);r="mf_success_duration"in t.props.widgetSettings?t.props.widgetSettings.mf_success_duration:5,r*=1e3,fetch(u,{method:"POST",headers:{"X-WP-Nonce":c},body:d}).then((function(e){return e.json()})).then((function(e){if(e.status?(t.setState({success:e.data.message?e.data.message:"",form_res:1},(function(){t.resetReCAPTCHA(),l.clearErrors("g-recaptcha-response")})),setTimeout((function(){e.status&&e.data.hide_form&&t.formRef.current.setAttribute("class","mf-close-this-form")}),r-600),setTimeout((function(){e.status&&e.data.hide_form&&(t.formRef.current.innerHTML='<h2 style="text-align:center">Thank You.</h2>')}),r)):t.setState({errors:Ha(e.error),form_res:1},(function(){t.resetReCAPTCHA(),t.setValue("mf-captcha-challenge","",!0),l.clearErrors("g-recaptcha-response")})),e.data.store&&"stripe"===e.data.store["mf-payment-method"]&&t.stripePayment(e),jQuery(t.mfRefs.mainForm.parentElement).trigger("metform/after_submit",{data:p,response:e}),e.status&&e.data.redirect_to){var n=e.data.entry_id,o=e.data.redirect_to;n&&""!==n&&(o+=(o.includes("?")?"&":"?")+"mf_entry_id="+n),setTimeout((function(){window.location.href=o}),1500)}setTimeout((function(){t.setState({success:"",errors:[],form_res:0})}),r)}))["catch"]((function(e){t.setState({errors:["Something went wrong"],form_res:1},(function(){t.resetReCAPTCHA(),t.setValue("mf-captcha-challenge","",!0),l.clearErrors("g-recaptcha-response")})),console.error(e.message),setTimeout((function(){t.setState({errors:[],form_res:0})}),r)}))["finally"]((function(){if(jQuery(t.mfRefs.mainForm).find(".metform-submit-btn").attr("disabled",!1),!t.props.stopVerticalEffect){var e=t.mfRefs.mainForm.querySelector(".mf-main-response-wrap");Xa.move(e)}setTimeout((function(){t.setState({formData:{},mobileWidget:{}})}),350),f()}))})),Qa(Ka(t),"handleCalculations",(function(e,n){var r=e.target.calc_behavior,o=ReactDOM.findDOMNode(Ka(t)),a=o.length?o.querySelectorAll(".mf-input-calculation"):[],i=Ja({},n);for(var s in i)if(Array.isArray(i[s])){var u=i[s].map((function(e){return isNaN(e)?e:Number(e)}));i[s]=u}a.forEach((function(e){var o=parseInt(e.dataset.fraction);o=o<0||o>99?2:o;var a=t.MfMathCalc.parse(e.dataset.equation,i,r)||0;n[e.name]=a.toFixed(o)}))})),Qa(Ka(t),"handleConditionals",(function(e){var n=t.state,r=n.formData,o=n.defaultData,a=t.props,i=a.widgets,s=a.conditionalRefs,u=a.validation,c=u.getValues,l=u.setValue;s.forEach((function(e){(e=i[e]).list=e.settings.mf_conditional_logic_form_list,e.operator=e.settings.mf_conditional_logic_form_and_or_operators,e.action=e.settings.mf_conditional_logic_form_action,e.validatedValues=[],e.isValidated=!1,e.list.forEach((function(n){n.name=n.mf_conditional_logic_form_if,n.value=r[n.name]||o[n.name]||"",n.match=n.mf_conditional_logic_form_value,n.operator=t.decodeEntities(n.mf_conditional_logic_form_comparison_operators),Array.isArray(n.value)&&-1!==n.value.indexOf(n.match)&&(n.value=n.value[n.value.indexOf(n.match)]),e.validatedValues.push(function(e,t,n){switch(n){case"+":return e+t;case"-":return e-t;case"*":return e*t;case"/":return e/t;case"<":return e<t;case"<=":return e<=t;case">":return e>t;case">=":return e>=t;case"==":return e==t;case"!=":return e!=t;case"not-empty":return void 0!==e&&String(e).length>0;case"empty":return void 0!==e&&0==String(e).length;default:return!1}}(n.value,n.match,n.operator))})),e.isValidated=e.validatedValues.some((function(e){return!0===e})),"and"===e.operator&&(e.isValidated=e.validatedValues.every((function(e){return!0===e})));var n=e.settings.mf_input_name;e.isValidated&&"show"===e.action?(e.el.setAttribute("mf-condition-hidden",!1),e.el.classList.remove("mf-condition--hidden"),"noval"===c(n)&&l(n,undefined)):(e.el.setAttribute("mf-condition-hidden",!0),e.el.classList.add("mf-condition--hidden"),Object.values(e.el.classList).indexOf("elementor-widget-mf-select")>-1&&l(n,"noval"))}))})),Qa(Ka(t),"getValue",(function(e){return e in t.state.formData?t.state.formData[e]:""})),Qa(Ka(t),"getFileLabel",(function(e,n){var r=t.state.formData[e];return r?r.name:t.decodeEntities(n)})),Qa(Ka(t),"getInputLabel",(function(e,n){var r=ReactDOM.findDOMNode(Ka(t)).querySelector('[name="'+e+'"]'),o=r?r.closest(".mf-input-wrapper").querySelector("label"):null;return o?o.innerText.replace(/\*/g,"").trim():n})),Qa(Ka(t),"decodeEntities",(function(e){var t=document.createElement("textarea");return t.innerHTML=e,t.value})),Qa(Ka(t),"setDefault",(function(e){if(null!==e){var n=e.name,r=e.value,o=t.state.defaultData;o[n]=r,t.setState({defaultData:o})}})),Qa(Ka(t),"isNumeric",(function(e){return!isNaN(parseFloat(e))&&isFinite(e)})),Qa(Ka(t),"setStateValue",(function(e,n){t.setState({name:e,value:n})})),Qa(Ka(t),"handleCardNumber",(function(e){var n=e.target,r=n.name,o=n.value,a=t.state.formData,i=a[r+"--type"],s=o.replace(/\s+/g,"").replace(/[^0-9]/gi,""),u=a[r],c="amex"===i?5:4,l="amex"===i?15:16;if(new RegExp("^[0-9]*$").test(s)&&s.length<=l){for(var f=s.match(/\d{4,16}/g),d=f&&f[0]||"",p=[],h=0,m=d.length;h<m;h+=c)p.push(d.substring(h,h+c));p.length&&(s=p.join(" ").trim()),u=s}t.setValue(r,u,!0),t.handleChange(e),e.target.value=u,t.handleCardType(s,e.target.name)})),Qa(Ka(t),"handleCardType",(function(e,n){var r="blank",o=n+"--type";r=e.startsWith("34")||e.startsWith("37")?"amex":e.startsWith("4")?"visa":e.startsWith("5")?"master":e.startsWith("6")?"discover":"custom";var a=t.state.formData;a[o]=r,t.setState({formData:a})})),Qa(Ka(t),"handleCardMonth",(function(e){var n=e.target,r=n.name,o=n.value,a=parseInt(o.replace(/-/g,""))||"",i=parseInt(a.toString().substring(0,1))||"";1<i&&i<10?t.setValue(r,i,!0):t.setValue(r,a>12?12:a,!0),t.handleChange(e)})),Qa(Ka(t),"handleSubVal",(function(e,n){var r=e.target,o=r.name,a=r.value,i=parseInt(a.replace(/-/g,"").substring(0,n))||"";t.setValue(o,i,!0),e.target.value=i,t.handleChange(e)})),Qa(Ka(t),"handleChange",(function(e){var n=e.target,r=n.name,o=n.value,a=n.type,i=t.state.formData;i[r]="number"===a&&"mobile"!==a?Number(o):o,t.handleCalculations(e,i),t.setState({formData:i});var s=e.target;s.className!==undefined&&-1!==s.className.indexOf("mf-repeater-type-simple")||t.trigger(r)})),Qa(Ka(t),"handleDateTime",(function(e){var n=e.target,r=n.name,o=n.value;t.setValue(r,o,!0),t.handleChange(e)})),Qa(Ka(t),"handleSelect",(function(e,n){var r=n.name,o=e.value;e.target={name:n.name,value:o},t.setValue(r,o,!0),t.handleChange(e)})),Qa(Ka(t),"handleRadioDefault",(function(e){var n=t.state.formData;if(e&&e.dataset.checked){var r=e.name;e.setAttribute("checked",!0),r in n||setTimeout((function(){t.handleChange({target:{name:r,value:e.value}})}),300)}})),Qa(Ka(t),"handleCheckbox",(function(e,n){var r,o="defaultvalue"!==e?e.target:n,a=t.state.formData[o.name];Array.isArray(a)||(a=[]),r=a.indexOf(o.value),o.checked&&-1===r?a.push(o.value):a.splice(r,1),t.handleChange({target:{name:o.name,value:a}})})),Qa(Ka(t),"handleSwitch",(function(e){e.target.value=e.target.nextElementSibling.getAttribute("data-disable"),e.target.checked&&(e.target.value=e.target.nextElementSibling.getAttribute("data-enable")),t.handleChange(e)})),Qa(Ka(t),"handleOptin",(function(e){e.target.checked||(e.target.value=""),t.handleChange(e)})),Qa(Ka(t),"handleFileUpload",(function(e){t.handleChange({target:{name:e.target.name,value:e.target.files[0]}})})),Qa(Ka(t),"handleMultiStepBtns",(function(e){var n=jQuery(e.currentTarget).parents(".elementor-top-section.active"),r=e.currentTarget.dataset.direction,o=n.prev()[0]?n.prev()[0].dataset:"",a=n.next()[0]?n.next()[0].dataset:"",i=("next"===r?a:o).id;if(!i)return!1;var s=jQuery(e.currentTarget).parents(".metform-form-content").find('.metform-step-item[data-value="'+i+'"]'),u=[];n.find(".mf-input").each((function(){var e=jQuery(this),t=this.name;(e.hasClass("mf-input-select")||e.hasClass("mf-input-multiselect"))&&(t=e.find('input[type="hidden"]')[0].name),e.parents(".mf-input-repeater").length&&(t=""),t&&u.push(t)})),jQuery(e.currentTarget).parents(".mf-scroll-top-yes").length&&Xa.move(t.mfRefs.mainForm),"next"===r?t.trigger(u).then((function(e){e&&s.trigger("click")})):s.trigger("click")})),Qa(Ka(t),"handleImagePreview",(function(e){var t=e.target,n=e.clientX,r=e.clientY,o=e.type,a=t.nextElementSibling;if(a){if("mouseleave"===o)return a.style.opacity="",void(a.style.visibility="hidden");a.style.opacity||(a.style.opacity="1",a.style.visibility="visible"),a.offsetHeight+r>window.innerHeight?(a.className="mf-select-hover-image mf-preview-top",r-=45):a.className="mf-select-hover-image",a.style.top=r+30+"px",a.style.left=n-28+"px"}})),Qa(Ka(t),"handleSignature",(function(e){e.target={name:e.props.name,value:e.toDataURL()},t.handleChange(e),t.setValue(e.target.name,e.target.value,!0)})),Qa(Ka(t),"refreshCaptcha",(function(e){t.setState({captcha_img:t.state.captcha_path+Date.now()})})),Qa(Ka(t),"resetReCAPTCHA",(function(){t.getValue("mf-captcha-challenge")&&t.refreshCaptcha(),t.getValue("g-recaptcha-response")&&t.handleReCAPTCHA("reset")})),Qa(Ka(t),"handleReCAPTCHA",(function(e){"reset"===e&&(e="",grecaptcha.reset());var n={target:{name:"g-recaptcha-response",value:(e=e||"")||""}};t.handleChange(n)})),Qa(Ka(t),"activateValidation",(function(e,n,r){var o,a,i=t.state.formData,s=t.props.validation.register,u=e.type,c=e.required,l=e.message,f=e.minLength,d=e.maxLength,p=e.expression,h={};if(n&&c&&n.closest(".elementor-element")&&"true"===n.closest(".elementor-element").getAttribute("mf-condition-hidden"))h.required=!1;else{if((u&&"none"!==u||c)&&(h.required=!!c&&l),n&&n.classList&&n.classList.contains("mf-credit-card-number")&&(i[n.name]&&"amex"===i[n.name+"--type"]?h.minLength=h.maxLength={value:17,message:l}:h.minLength=h.maxLength={value:19,message:l}),e.inputType&&"credit_card_date"===e.inputType&&(f&&(h.min={value:f,message:l}),d&&(h.max={value:d,message:l})),n&&"file"===n.type&&n.files.length>0){var m=e.file_types,g=e.size_limit,v=n.files[0].name.slice((Math.max(0,n.files[0].name.lastIndexOf(".")-1)||Infinity)+1);h.validate={fileType:function(){return!(m!==[]&&!e.file_types.includes(v))||e.type_message},fileSize:function(){return!(-1!==g&&n.files[0].size>1024*parseInt(g))||e.limit_message}}}n&&"email"===n.type?h.pattern={value:/^(([^<>()\[\]\.,;:\s@\"]+(\.[^<>()\[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i,message:e.emailMessage}:n&&"url"===n.type&&(h.pattern={value:/^(http[s]?:\/\/(www\.)?|ftp:\/\/(www\.)?|www\.){1}([0-9A-Za-z-\.@:%_\+~#=]+)+((\.[a-zA-Z]{2,3})+)(\/(.)*)?(\?(.)*)?/g,message:e.urlMessage}),"by_character_length"===u?(o=n&&"number"===n.type?"min":"minLength",a=n&&"number"===n.type?"max":"maxLength",f&&(h[o]={value:f,message:l}),d&&(h[a]={value:d,message:l})):"by_word_length"===u?h.validate={wordLength:function(e){return t.handleWordValidate(e,f,d,l)}}:"by_expresssion_based"===u&&(h.validate={expression:function(e){return t.handleExpressionValidate(e,p,l)}})}return"function"==typeof r&&r(),n?s(n,h):h})),Qa(Ka(t),"handleWordValidate",(function(e,t,n,r){var o=e.trim().split(/\s+/).length;return!!(n?o>=t&&o<=n:o>=t)||r})),Qa(Ka(t),"handleExpressionValidate",(function(e,t,n){if(t)return!!new RegExp(t).test(e)||n})),Qa(Ka(t),"colorChange",(function(e,n){t.handleChange({target:{name:n,value:e.hex}})})),Qa(Ka(t),"colorChangeInput",(function(e){t.handleChange({target:{name:e.target.name,value:e.target.value}})})),Qa(Ka(t),"multiSelectChange",(function(e,n){var r=[];null!==e&&e.filter((function(e){return r.push(e.value)})),t.handleChange({target:{name:n,value:r}})})),Qa(Ka(t),"handleRangeChange",(function(e,n){t.handleChange({target:{name:n,value:e.toFixed(2)}}),t.props.validation.setValue(n,e.toFixed(2))})),Qa(Ka(t),"handleMultipileRangeChange",(function(e,n){t.handleChange({target:{name:n,value:[e.min,e.max],calc_behavior:"decrease_first_value"}})})),Qa(Ka(t),"handleOnChangePhoneInput",(function(e,n,r){var o="";r&&e!==r.dialCode&&(o=e),t.setState({mobileWidget:Ja(Ja({},t.state.mobileWidget),{},Qa({},n,e))}),t.handleChange({target:{name:n,value:o,type:"mobile"}})})),t.state={formData:{},defaultData:{form_nonce:e.formNonce},recaptcha_uid:e.formId+"_"+Math.random().toString(36).substring(5,10),result_not_foud:"",total_result:0,form_res:0,errors:[],success:"",config:{},mobileWidget:{}},t.MfMathCalc=new Pa,t.setValue=e.validation.setValue,t.trigger=e.validation.trigger,t.formRef=React.createRef(),t.formContainerRef=React.createRef(),t.mfRefs={},t.checkboxArr=[],t.checkboxReceive=!0,window["handleReCAPTCHA_"+t.state.recaptcha_uid]=t.handleReCAPTCHA;var n=e.templateEl.innerHTML;return t.jsx=new Function("parent","props","state","validation","register","setValue","html",n),e.templateEl.remove(),t}return t=a,(n=[{key:"stripePayment",value:function(e){var t,n=e.data.payment_data,r=this;n.keys&&""!==n.keys?((t=StripeCheckout.configure({key:n.keys,image:n.image_url,locale:"auto",token:function(t){var o;t.id?(n.stripe_token=t.id,o={sandbox:n.sandbox},fetch(e.data.ajax_stripe+"&token="+t.id,{headers:{"X-WP-Nonce":r.props.wpNonce},data:o}).then((function(e){return e.json()})).then((function(e){e.status?window.location.href=e.redirect_url:alert(e)}))):alert("Sorry!! Payment token invalid")}})).open({name:String(n.name_post),description:" Form No.: "+String(n.description),amount:100*Number(n.amount),currency:n.currency_code}),window.addEventListener("popstate",(function(){t.close()}))):alert("Please set your Stripe Keys in form settings.")}},{key:"handleCheckboxDefault",value:function(e){var t=this;e&&e.dataset.checked&&this.checkboxReceive&&-1===this.checkboxArr.indexOf(e.value)&&(this.checkboxReceive=!1,e.setAttribute("checked",!0),this.checkboxArr.push(e.value),setTimeout((function(){t.handleCheckbox("defaultvalue",e)}),500))}},{key:"renderReCaptcha",value:function(e,t){var n=window.grecaptcha,r=document.querySelectorAll(".g-recaptcha");r.length&&n.render("g-recaptcha",{sitekey:r[0].dataset.sitekey})}},{key:"componentDidUpdate",value:function(){var e,t=this.props.validation.formState.isValid;this.handleConditionals(),t||this.props.stopVerticalEffect||(e=this.mfRefs.mainForm.querySelector(".mf-error-message"))&&Xa.move(e.parentElement.parentElement)}},{key:"componentDidMount",value:function(e){var t=this,n=ReactDOM.findDOMNode(this),r=n.length?n.querySelectorAll(".elementor-element"):[];this.mfRefs.mainForm=n;var o=n.getElementsByTagName("input");for(var a in o)"email"===o[a].type&&""!==o[a].value&&this.setDefault(o[a]);r.forEach((function(e){var n=e.getAttribute("data-element_type"),r=e.getAttribute("data-widget_type"),o=null===r?n:r;if(jQuery(window).on("elementor/frontend/init",(function(){window.elementorFrontend.hooks.doAction("frontend/element_ready/"+o,jQuery(e))})),e.className.search("elementor-widget-mf-")>0&&e.dataset.settings){var a=JSON.parse(e.dataset.settings.replace(/&quot;/g,'"')),i=a.mf_input_name+"-"+e.getAttribute("data-id");t.props.widgets[i]={el:e,settings:a},a.mf_conditional_logic_form_enable&&t.props.conditionalRefs.push(i)}})),window.onload=function(e){t.renderReCaptcha(n,e)},this.handleConditionals(),this.props.formId&&fetch(mf.restURI+this.props.formId,{method:"POST",headers:{"X-WP-Nonce":this.props.wpNonce}}),Ta(),ja(jQuery(n).parents(".mf-multistep-container").parent(),{doValidate:this.trigger}),jQuery(n).on("change",".mf-repeater-field, .mf-repater-range-input, .mf-repeater-checkbox",this.handleChange);var i=this.state.formData;for(var s in jQuery(n).trigger("metform/after_form_load",i),i)this.setValue(s,i[s])}},{key:"render",value:function(){var e=this,t=e.props,n=e.state,r=t.validation,o=r.register,a=r.setValue,i=htm.bind(React.createElement);return React.createElement(React.Fragment,null,this.jsx(e,t,n,r,o,a,i))}}])&&za(t.prototype,n),r&&za(t,r),a}(),ei=function(e){var t=Fa(e.find(".mf-form-wrapper"),1)[0];if(t){var n,r=t.dataset,o=r.action,a=r.wpNonce,i=r.formNonce,s=r.formId,u=r.stopVerticalEffect,c=Fa(e.find(".mf-template"),1)[0];if(c)ReactDOM.render(React.createElement((n=Za,function(e){var t=Ja(Ja({},be()),{},{ErrorMessage:Ce});return React.createElement(n,Ja({validation:t},e))}),{formId:s,templateEl:c,action:o,wpNonce:a,formNonce:i,widgets:{},conditionalRefs:[],stopVerticalEffect:u,widgetSettings:e.data("settings")||{},Select:xr,InputColor:Oa,Flatpickr:xa.Z,InputRange:kr(),ReactPhoneInput:Er(),SignaturePad:ka(),moveTo:Xa,ResponseDummyMarkup:Aa,SubmitResponseMarkup:Ia,SummaryWidget:Na,DateWidget:La}),t)}};jQuery(window).on("elementor/frontend/init",(function(){var e=["metform","shortcode","text-editor"];"metform-form"!==mf.postType||elementorFrontend.isEditMode()?("metform-form"===mf.postType&&elementorFrontend.isEditMode()&&(e=["mf-date","mf-time","mf-select","mf-multi-select","mf-range","mf-file-upload","mf-mobile","mf-image-select","mf-map-location","mf-color-picker","mf-signature"]),e.forEach((function(e){elementorFrontend.hooks.addAction("frontend/element_ready/"+e+".default",ei)}))):ei(elementorFrontend.elements.$body)})).on("load",(function(){document.querySelectorAll(".mf-form-shortcode").forEach((function(e){ei(jQuery(e))}))}))}()}();
48
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
49
  * SOFTWARE.
50
  */
51
+ var _r="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,Pr=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(_r&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var jr=_r&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),Pr))}};function Tr(e){return e&&"[object Function]"==={}.toString.call(e)}function Ar(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function Ir(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function Rr(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=Ar(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:Rr(Ir(e))}function Nr(e){return e&&e.referenceNode?e.referenceNode:e}var Lr=_r&&!(!window.MSInputMethodContext||!document.documentMode),Vr=_r&&/MSIE 10/.test(navigator.userAgent);function Fr(e){return 11===e?Lr:10===e?Vr:Lr||Vr}function Hr(e){if(!e)return document.documentElement;for(var t=Fr(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===Ar(n,"position")?Hr(n):n:e?e.ownerDocument.documentElement:document.documentElement}function Ur(e){return null!==e.parentNode?Ur(e.parentNode):e}function Wr(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,a=document.createRange();a.setStart(r,0),a.setEnd(o,0);var i,s,u=a.commonAncestorContainer;if(e!==u&&t!==u||r.contains(o))return"BODY"===(s=(i=u).nodeName)||"HTML"!==s&&Hr(i.firstElementChild)!==i?Hr(u):u;var c=Ur(e);return c.host?Wr(c.host,t):Wr(e,Ur(t).host)}function zr(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var o=e.ownerDocument.documentElement,a=e.ownerDocument.scrollingElement||o;return a[n]}return e[n]}function Br(e,t){var n=arguments.length>2&&arguments[2]!==undefined&&arguments[2],r=zr(t,"top"),o=zr(t,"left"),a=n?-1:1;return e.top+=r*a,e.bottom+=r*a,e.left+=o*a,e.right+=o*a,e}function Yr(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function qr(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],Fr(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function Kr(e){var t=e.body,n=e.documentElement,r=Fr(10)&&getComputedStyle(n);return{height:qr("Height",t,n,r),width:qr("Width",t,n,r)}}var $r=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Gr=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Jr=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},Qr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function Xr(e){return Qr({},e,{right:e.left+e.width,bottom:e.top+e.height})}function Zr(e){var t={};try{if(Fr(10)){t=e.getBoundingClientRect();var n=zr(e,"top"),r=zr(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(f){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},a="HTML"===e.nodeName?Kr(e.ownerDocument):{},i=a.width||e.clientWidth||o.width,s=a.height||e.clientHeight||o.height,u=e.offsetWidth-i,c=e.offsetHeight-s;if(u||c){var l=Ar(e);u-=Yr(l,"x"),c-=Yr(l,"y"),o.width-=u,o.height-=c}return Xr(o)}function eo(e,t){var n=arguments.length>2&&arguments[2]!==undefined&&arguments[2],r=Fr(10),o="HTML"===t.nodeName,a=Zr(e),i=Zr(t),s=Rr(e),u=Ar(t),c=parseFloat(u.borderTopWidth),l=parseFloat(u.borderLeftWidth);n&&o&&(i.top=Math.max(i.top,0),i.left=Math.max(i.left,0));var f=Xr({top:a.top-i.top-c,left:a.left-i.left-l,width:a.width,height:a.height});if(f.marginTop=0,f.marginLeft=0,!r&&o){var d=parseFloat(u.marginTop),p=parseFloat(u.marginLeft);f.top-=c-d,f.bottom-=c-d,f.left-=l-p,f.right-=l-p,f.marginTop=d,f.marginLeft=p}return(r&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(f=Br(f,t)),f}function to(e){var t=arguments.length>1&&arguments[1]!==undefined&&arguments[1],n=e.ownerDocument.documentElement,r=eo(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),a=Math.max(n.clientHeight,window.innerHeight||0),i=t?0:zr(n),s=t?0:zr(n,"left"),u={top:i-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:a};return Xr(u)}function no(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===Ar(e,"position"))return!0;var n=Ir(e);return!!n&&no(n)}function ro(e){if(!e||!e.parentElement||Fr())return document.documentElement;for(var t=e.parentElement;t&&"none"===Ar(t,"transform");)t=t.parentElement;return t||document.documentElement}function oo(e,t,n,r){var o=arguments.length>4&&arguments[4]!==undefined&&arguments[4],a={top:0,left:0},i=o?ro(e):Wr(e,Nr(t));if("viewport"===r)a=to(i,o);else{var s=void 0;"scrollParent"===r?"BODY"===(s=Rr(Ir(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var u=eo(s,i,o);if("HTML"!==s.nodeName||no(i))a=u;else{var c=Kr(e.ownerDocument),l=c.height,f=c.width;a.top+=u.top-u.marginTop,a.bottom=l+u.top,a.left+=u.left-u.marginLeft,a.right=f+u.left}}var d="number"==typeof(n=n||0);return a.left+=d?n:n.left||0,a.top+=d?n:n.top||0,a.right-=d?n:n.right||0,a.bottom-=d?n:n.bottom||0,a}function ao(e){return e.width*e.height}function io(e,t,n,r,o){var a=arguments.length>5&&arguments[5]!==undefined?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var i=oo(n,r,a,o),s={top:{width:i.width,height:t.top-i.top},right:{width:i.right-t.right,height:i.height},bottom:{width:i.width,height:i.bottom-t.bottom},left:{width:t.left-i.left,height:i.height}},u=Object.keys(s).map((function(e){return Qr({key:e},s[e],{area:ao(s[e])})})).sort((function(e,t){return t.area-e.area})),c=u.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),l=c.length>0?c[0].key:u[0].key,f=e.split("-")[1];return l+(f?"-"+f:"")}function so(e,t,n){var r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:null,o=r?ro(t):Wr(t,Nr(n));return eo(n,o,r)}function uo(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function co(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function lo(e,t,n){n=n.split("-")[0];var r=uo(e),o={width:r.width,height:r.height},a=-1!==["right","left"].indexOf(n),i=a?"top":"left",s=a?"left":"top",u=a?"height":"width",c=a?"width":"height";return o[i]=t[i]+t[u]/2-r[u]/2,o[s]=n===s?t[s]-r[c]:t[co(s)],o}function fo(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function po(e,t,n){return(n===undefined?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=fo(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e["function"]&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e["function"]||e.fn;e.enabled&&Tr(n)&&(t.offsets.popper=Xr(t.offsets.popper),t.offsets.reference=Xr(t.offsets.reference),t=n(t,e))})),t}function ho(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=so(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=io(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=lo(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=po(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function mo(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function go(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],a=o?""+o+n:e;if("undefined"!=typeof document.body.style[a])return a}return null}function vo(){return this.state.isDestroyed=!0,mo(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[go("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function bo(e){var t=e.ownerDocument;return t?t.defaultView:window}function yo(e,t,n,r){var o="BODY"===e.nodeName,a=o?e.ownerDocument.defaultView:e;a.addEventListener(t,n,{passive:!0}),o||yo(Rr(a.parentNode),t,n,r),r.push(a)}function wo(e,t,n,r){n.updateBound=r,bo(e).addEventListener("resize",n.updateBound,{passive:!0});var o=Rr(e);return yo(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function Co(){this.state.eventsEnabled||(this.state=wo(this.reference,this.options,this.state,this.scheduleUpdate))}function Oo(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,bo(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function xo(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function Do(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&xo(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var ko=_r&&/Firefox/i.test(navigator.userAgent);function So(e,t,n){var r=fo(e,(function(e){return e.name===t})),o=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!o){var a="`"+t+"`",i="`"+n+"`";console.warn(i+" modifier is required by "+a+" modifier in order to work, be sure to include it before "+a+"!")}return o}var Eo=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Mo=Eo.slice(3);function _o(e){var t=arguments.length>1&&arguments[1]!==undefined&&arguments[1],n=Mo.indexOf(e),r=Mo.slice(n+1).concat(Mo.slice(0,n));return t?r.reverse():r}var Po="flip",jo="clockwise",To="counterclockwise";function Ao(e,t,n,r){var o=[0,0],a=-1!==["right","left"].indexOf(r),i=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=i.indexOf(fo(i,(function(e){return-1!==e.search(/,|\s/)})));i[s]&&-1===i[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,c=-1!==s?[i.slice(0,s).concat([i[s].split(u)[0]]),[i[s].split(u)[1]].concat(i.slice(s+1))]:[i];return(c=c.map((function(e,r){var o=(1===r?!a:a)?"height":"width",i=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,i=!0,e):i?(e[e.length-1]+=t,i=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),a=+o[1],i=o[2];if(!a)return e;if(0===i.indexOf("%")){var s=void 0;switch(i){case"%p":s=n;break;case"%":case"%r":default:s=r}return Xr(s)[t]/100*a}if("vh"===i||"vw"===i)return("vh"===i?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*a;return a}(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){xo(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}var Io={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,a=o.reference,i=o.popper,s=-1!==["bottom","top"].indexOf(n),u=s?"left":"top",c=s?"width":"height",l={start:Jr({},u,a[u]),end:Jr({},u,a[u]+a[c]-i[c])};e.offsets.popper=Qr({},i,l[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,a=o.popper,i=o.reference,s=r.split("-")[0],u=void 0;return u=xo(+n)?[+n,0]:Ao(n,a,i,s),"left"===s?(a.top+=u[0],a.left-=u[1]):"right"===s?(a.top+=u[0],a.left+=u[1]):"top"===s?(a.left+=u[0],a.top-=u[1]):"bottom"===s&&(a.left+=u[0],a.top+=u[1]),e.popper=a,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||Hr(e.instance.popper);e.instance.reference===n&&(n=Hr(n));var r=go("transform"),o=e.instance.popper.style,a=o.top,i=o.left,s=o[r];o.top="",o.left="",o[r]="";var u=oo(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=a,o.left=i,o[r]=s,t.boundaries=u;var c=t.priority,l=e.offsets.popper,f={primary:function(e){var n=l[e];return l[e]<u[e]&&!t.escapeWithReference&&(n=Math.max(l[e],u[e])),Jr({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=l[n];return l[e]>u[e]&&!t.escapeWithReference&&(r=Math.min(l[n],u[e]-("right"===e?l.width:l.height))),Jr({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";l=Qr({},l,f[t](e))})),e.offsets.popper=l,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],a=Math.floor,i=-1!==["top","bottom"].indexOf(o),s=i?"right":"bottom",u=i?"left":"top",c=i?"width":"height";return n[s]<a(r[u])&&(e.offsets.popper[u]=a(r[u])-n[c]),n[u]>a(r[s])&&(e.offsets.popper[u]=a(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!So(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],a=e.offsets,i=a.popper,s=a.reference,u=-1!==["left","right"].indexOf(o),c=u?"height":"width",l=u?"Top":"Left",f=l.toLowerCase(),d=u?"left":"top",p=u?"bottom":"right",h=uo(r)[c];s[p]-h<i[f]&&(e.offsets.popper[f]-=i[f]-(s[p]-h)),s[f]+h>i[p]&&(e.offsets.popper[f]+=s[f]+h-i[p]),e.offsets.popper=Xr(e.offsets.popper);var m=s[f]+s[c]/2-h/2,g=Ar(e.instance.popper),v=parseFloat(g["margin"+l]),b=parseFloat(g["border"+l+"Width"]),y=m-e.offsets.popper[f]-v-b;return y=Math.max(Math.min(i[c]-h,y),0),e.arrowElement=r,e.offsets.arrow=(Jr(n={},f,Math.round(y)),Jr(n,d,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(mo(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=oo(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=co(r),a=e.placement.split("-")[1]||"",i=[];switch(t.behavior){case Po:i=[r,o];break;case jo:i=_o(r);break;case To:i=_o(r,!0);break;default:i=t.behavior}return i.forEach((function(s,u){if(r!==s||i.length===u+1)return e;r=e.placement.split("-")[0],o=co(r);var c=e.offsets.popper,l=e.offsets.reference,f=Math.floor,d="left"===r&&f(c.right)>f(l.left)||"right"===r&&f(c.left)<f(l.right)||"top"===r&&f(c.bottom)>f(l.top)||"bottom"===r&&f(c.top)<f(l.bottom),p=f(c.left)<f(n.left),h=f(c.right)>f(n.right),m=f(c.top)<f(n.top),g=f(c.bottom)>f(n.bottom),v="left"===r&&p||"right"===r&&h||"top"===r&&m||"bottom"===r&&g,b=-1!==["top","bottom"].indexOf(r),y=!!t.flipVariations&&(b&&"start"===a&&p||b&&"end"===a&&h||!b&&"start"===a&&m||!b&&"end"===a&&g),w=!!t.flipVariationsByContent&&(b&&"start"===a&&h||b&&"end"===a&&p||!b&&"start"===a&&g||!b&&"end"===a&&m),C=y||w;(d||v||C)&&(e.flipped=!0,(d||v)&&(r=i[u+1]),C&&(a=function(e){return"end"===e?"start":"start"===e?"end":e}(a)),e.placement=r+(a?"-"+a:""),e.offsets.popper=Qr({},e.offsets.popper,lo(e.instance.popper,e.offsets.reference,e.placement)),e=po(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,a=r.reference,i=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[i?"left":"top"]=a[n]-(s?o[i?"width":"height"]:0),e.placement=co(t),e.offsets.popper=Xr(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!So(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=fo(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,a=fo(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;a!==undefined&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var i=a!==undefined?a:t.gpuAcceleration,s=Hr(e.instance.popper),u=Zr(s),c={position:o.position},l=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,a=Math.round,i=Math.floor,s=function(e){return e},u=a(o.width),c=a(r.width),l=-1!==["left","right"].indexOf(e.placement),f=-1!==e.placement.indexOf("-"),d=t?l||f||u%2==c%2?a:i:s,p=t?a:s;return{left:d(u%2==1&&c%2==1&&!f&&t?r.left-1:r.left),top:p(r.top),bottom:p(r.bottom),right:d(r.right)}}(e,window.devicePixelRatio<2||!ko),f="bottom"===n?"top":"bottom",d="right"===r?"left":"right",p=go("transform"),h=void 0,m=void 0;if(m="bottom"===f?"HTML"===s.nodeName?-s.clientHeight+l.bottom:-u.height+l.bottom:l.top,h="right"===d?"HTML"===s.nodeName?-s.clientWidth+l.right:-u.width+l.right:l.left,i&&p)c[p]="translate3d("+h+"px, "+m+"px, 0)",c[f]=0,c[d]=0,c.willChange="transform";else{var g="bottom"===f?-1:1,v="right"===d?-1:1;c[f]=m*g,c[d]=h*v,c.willChange=f+", "+d}var b={"x-placement":e.placement};return e.attributes=Qr({},b,e.attributes),e.styles=Qr({},c,e.styles),e.arrowStyles=Qr({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return Do(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&Do(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var a=so(o,t,e,n.positionFixed),i=io(n.placement,a,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",i),Do(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:undefined}}},Ro=function(){function e(t,n){var r=this,o=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};$r(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=jr(this.update.bind(this)),this.options=Qr({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(Qr({},e.Defaults.modifiers,o.modifiers)).forEach((function(t){r.options.modifiers[t]=Qr({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return Qr({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&Tr(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return Gr(e,[{key:"update",value:function(){return ho.call(this)}},{key:"destroy",value:function(){return vo.call(this)}},{key:"enableEventListeners",value:function(){return Co.call(this)}},{key:"disableEventListeners",value:function(){return Oo.call(this)}}]),e}();Ro.Utils=("undefined"!=typeof window?window:n.g).PopperUtils,Ro.placements=Eo,Ro.Defaults=Io;var No=Ro,Lo=(n(353),function(e){do{e+=~~(1e6*Math.random())}while("undefined"!=typeof document&&document.getElementById(e));return e}),Vo=("undefined"!=typeof window&&"undefined"!=typeof window.document&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&window.MSStream,{name:"kpm0v2",styles:"position:absolute;display:block;width:16px;height:8px;margin:0 5px;&:before,&:after{position:absolute;display:block;content:'';border-color:transparent;border-style:solid;}"}),Fo=function(t){t.placement;var n=bt(t,["placement"]);return ft(e.Fragment,null,ft(dt,{styles:Ho}),ft("div",wt({},n,{"data-arrow":"true",css:Vo})))},Ho={name:"rvo98s",styles:"[x-placement^='top']{margin-bottom:8px;[data-arrow]{bottom:-9px;}[data-arrow]:before{bottom:0;border-width:8px 8px 0;border-top-color:rgba(0,0,0,0.25);}[data-arrow]:after{bottom:1px;border-width:8px 8px 0;border-top-color:#fff;}}[x-placement^='right']{margin-left:8px;[data-arrow]{left:-9px;width:8px;height:16px;margin:5px 0;}[data-arrow]:before{left:0;border-width:8px 8px 8px 0;border-right-color:rgba(0,0,0,0.25);}[data-arrow]:after{left:1px;border-width:8px 8px 8px 0;border-right-color:#fff;}}[x-placement^='bottom']{margin-top:8px;[data-arrow]{top:-9px;}[data-arrow]:before{top:0;border-width:0 8px 8px 8px;border-bottom-color:rgba(0,0,0,0.25);}[data-arrow]:after{top:1px;border-width:0 8px 8px 8px;border-bottom-color:#fff;}}[x-placement^='left']{margin-right:8px;[data-arrow]{right:-9px;width:8px;height:16px;margin:5px 0;}[data-arrow]:before{right:0;border-width:8px 0 8px 8px;border-left-color:rgba(0,0,0,0.25);}[data-arrow]:after{right:1px;border-width:8px 0 8px 8px;border-left-color:#fff;}}"},Uo=function(n){var r,o,a,i=n.header,s=n.body,u=n.children,c=n.placement,l=n.trigger,f=n.styles,d=bt(n,["header","body","children","placement","trigger","styles"]),p=t().Children.only(u),h=(0,e.useRef)(null),m=(0,e.useState)(!1),g=m[0],v=m[1],b=(0,e.useState)(!1),y=b[0],w=b[1],C=(0,e.useState)({popoverId:null,referenceId:null,arrowId:null}),O=C[0],x=C[1],D=O.popoverId,k=O.referenceId,S=O.arrowId;r=h,o=function(e){e.target.id===k||document.getElementById(k).contains(e.target)||v(!1)},a=(0,e.useRef)(),(0,e.useEffect)((function(){a.current=o}),[o]),(0,e.useEffect)((function(){var e=function(e){r.current&&!r.current.contains(e.target)&&a.current(event)};return Mr.forEach((function(t){document.addEventListener(t,e,{passive:!0})})),function(){Mr.forEach((function(t){document.removeEventListener(t,e,{passive:!0})}))}}),[r,o]),(0,e.useEffect)((function(){if(!D)return x({popoverId:Lo("popover"),referenceId:Lo("reference"),arrowId:Lo("arrow")});var e=document.getElementById(D),t=document.getElementById(k),n=document.getElementById(S);e&&t&&n&&(new No(t,e,{placement:c,modifiers:{arrow:{element:n}}}),w(g))}),[g]);var E={content:[Wo.content,f.content],header:[Wo.header,f.header],body:[Wo.body,f.body]};return ft(e.Fragment,null,D?ft("div",wt({},d,{id:D,ref:h,css:E.content,style:y?{display:"block"}:{}}),ft(Fo,{id:S}),i?ft("div",{css:E.header},i):null,ft("div",{css:E.body},s)):null,t().cloneElement(p,wt({},p.props,{id:k,onClick:function(){"click"===l&&v(!g)}})))};Uo.defaultProps={placement:"right",trigger:"click",styles:{}};var Wo={content:{name:"106ha8s",styles:"display:none;max-width:300px;background-color:#fff;border-radius:4px;border:1px solid rgba(0,0,0,0.2);z-index:1060;"},header:{name:"12koz1z",styles:"padding:8px 12px;background-color:#f7f7f7;font-size:16px;font-weight:bold;border-top-left-radius:4px;border-top-right-radius:4px;"},body:{name:"k7kym8",styles:"padding:8px 12px;font-size:14px;border-bottom-left-radius:4px;border-bottom-right-radius:4px;"}},zo=Uo;function Bo(e){var t=e.touches;if(t&&t.length){var n=t[0];return{x:n.clientX,y:n.clientY}}return{x:e.clientX,y:e.clientY}}var Yo={position:"relative",display:"inline-block",backgroundColor:"#ddd",borderRadius:5,userSelect:"none",boxSizing:"border-box"},qo={position:"absolute",backgroundColor:"#5e72e4",borderRadius:5,userSelect:"none",boxSizing:"border-box"},Ko={position:"relative",display:"block",content:'""',width:18,height:18,backgroundColor:"#fff",borderRadius:"50%",boxShadow:"0 1px 1px rgba(0,0,0,.5)",userSelect:"none",cursor:"pointer",boxSizing:"border-box"},$o={x:{track:wt({},Yo,{width:200,height:10}),active:wt({},qo,{top:0,height:"100%"}),thumb:wt({},Ko)},y:{track:wt({},Yo,{width:10,height:200}),active:wt({},qo,{left:0,width:"100%"}),thumb:wt({},Ko)},xy:{track:{position:"relative",overflow:"hidden",width:200,height:200,backgroundColor:"#5e72e4",borderRadius:0},active:{},thumb:wt({},Ko)},disabled:{opacity:.5}},Go=function(t){var n=t.disabled,r=t.axis,o=t.x,a=t.y,i=t.xmin,s=t.xmax,u=t.ymin,c=t.ymax,l=t.xstep,f=t.ystep,d=t.onChange,p=t.onDragStart,h=t.onDragEnd,m=t.onClick,g=t.xreverse,v=t.yreverse,b=t.styles,y=bt(t,["disabled","axis","x","y","xmin","xmax","ymin","ymax","xstep","ystep","onChange","onDragStart","onDragEnd","onClick","xreverse","yreverse","styles"]),w=(0,e.useRef)(null),C=(0,e.useRef)(null),O=(0,e.useRef)({}),x=(0,e.useRef)({});function D(e){var t=e.top,n=e.left;if(d){var o=w.current.getBoundingClientRect(),a=o.width,p=o.height,h=0,m=0;n<0&&(n=0),n>a&&(n=a),t<0&&(t=0),t>p&&(t=p),"x"!==r&&"xy"!==r||(h=n/a*(s-i)),"y"!==r&&"xy"!==r||(m=t/p*(c-u));var b=(0!==h?parseInt(h/l,10)*l:0)+i,y=(0!==m?parseInt(m/f,10)*f:0)+u;d({x:g?s-b+i:b,y:v?c-y+u:y})}}function k(e){if(!n){e.preventDefault();var t=C.current,r=Bo(e);O.current={x:t.offsetLeft,y:t.offsetTop},x.current={x:r.x,y:r.y},document.addEventListener("mousemove",S),document.addEventListener("mouseup",E),document.addEventListener("touchmove",S,{passive:!1}),document.addEventListener("touchend",E),document.addEventListener("touchcancel",E),p&&p(e)}}function S(e){n||(e.preventDefault(),D(function(e){var t=Bo(e);return{left:t.x+O.current.x-x.current.x,top:t.y+O.current.y-x.current.y}}(e)))}function E(e){n||(e.preventDefault(),document.removeEventListener("mousemove",S),document.removeEventListener("mouseup",E),document.removeEventListener("touchmove",S,{passive:!1}),document.removeEventListener("touchend",E),document.removeEventListener("touchcancel",E),h&&h(e))}var M,_,P=((M=(a-u)/(c-u)*100)>100&&(M=100),M<0&&(M=0),"x"===r&&(M=0),(_=(o-i)/(s-i)*100)>100&&(_=100),_<0&&(_=0),"y"===r&&(_=0),{top:M,left:_}),j={};"x"===r&&(j.width=P.left+"%"),"y"===r&&(j.height=P.top+"%"),g&&(j.left=100-P.left+"%"),v&&(j.top=100-P.top+"%");var T={position:"absolute",transform:"translate(-50%, -50%)",left:g?100-P.left+"%":P.left+"%",top:v?100-P.top+"%":P.top+"%"};"x"===r?T.top="50%":"y"===r&&(T.left="50%");var A={track:wt({},$o[r].track,{},b.track),active:wt({},$o[r].active,{},b.active),thumb:wt({},$o[r].thumb,{},b.thumb),disabled:wt({},$o.disabled,{},b.disabled)};return ft("div",wt({},y,{ref:w,css:lt([A.track,n&&A.disabled],";label:Slider;"),onClick:function(e){if(!n){var t=Bo(e),r=w.current.getBoundingClientRect();D({left:t.x-r.left,top:t.y-r.top}),m&&m(e)}}}),ft("div",{css:A.active,style:j}),ft("div",{ref:C,style:T,onTouchStart:k,onMouseDown:k,onClick:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}},ft("div",{css:A.thumb})))};Go.defaultProps={disabled:!1,axis:"x",x:50,xmin:0,xmax:100,y:50,ymin:0,ymax:100,xstep:1,ystep:1,xreverse:!1,yreverse:!1,styles:{}};var Jo=Go,Qo=n(654),Xo=n.n(Qo),Zo=n(763),ea=n.n(Zo),ta=n(37),na=n.n(ta),ra="undefined"!=typeof navigator&&navigator.userAgent.match(/iPhone|iPad|iPod/i),oa=function(t){var n=t.step,r=t.min,o=t.max,a=t.value,i=t.onChange,s=t.onKeyDown,u=t.enableMobileNumericKeyboard,c=t.component,l=bt(t,["step","min","max","value","onChange","onKeyDown","enableMobileNumericKeyboard","component"]),f=(0,e.useState)(a),d=f[0],p=f[1];(0,e.useEffect)((function(){p(a)}),[a]);var h={value:d,onChange:function(e){var t=function(e){if(ea()(e))return e;if(na()(e)){if(!(e=e.trim()))return"";var t=parseFloat(e);if(!Xo()(t))return t}return""}(e);p(e),i&&i(t)},onKeyDown:function(e){38===e.keyCode?i&&i(ia("+",a,o,r,n)):40===e.keyCode&&i&&i(ia("-",a,o,r,n)),s&&s(e)},onWheel:function(e){e.target.blur()}};return ft(c,wt({},l,h,u?{css:aa,type:"number",inputMode:"numeric",pattern:ra?"[0-9]*":"",step:n,min:r,max:o}:{css:aa,type:"text"}))};oa.defaultProps={autoComplete:"off",enableMobileNumericKeyboard:!1,value:"",component:function(e){var t=e.onChange,n=bt(e,["onChange"]);return ft("input",wt({},n,{onChange:function(e){t&&t(e.target.value)}}))},step:1};var aa={MozAppearance:"textfield","&::-webkit-inner-spin-button, &::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0}};function ia(e,t,n,r,o){if(""===t)return ea()(r)?r:"";if(t="+"===e?t+o:t-o,ea()(n)&&t>n)return n;if(ea()(r)&&t<r)return r;var a=(o.toString().split(".")[1]||[]).length;return a?parseFloat(t.toFixed(a)):t}var sa=oa;function ua(e){return"#"===e[0]&&(e=e.substr(1)),3===e.length?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16)}:{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16)}}function ca(e,t,n){var r=[],o=(n/=100)*(t/=100),a=e/60,i=o*(1-Math.abs(a%2-1)),s=n-o;return r=a>=0&&a<1?[o,i,0]:a>=1&&a<2?[i,o,0]:a>=2&&a<3?[0,o,i]:e>=3&&a<4?[0,i,o]:e>=4&&a<5?[i,0,o]:e>=5&&a<=6?[o,0,i]:[0,0,0],{r:Math.round(255*(r[0]+s)),g:Math.round(255*(r[1]+s)),b:Math.round(255*(r[2]+s))}}function la(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function fa(e,t,n){return"#"+[la(e),la(t),la(n)].join("")}function da(e,t,n){var r,o=Math.max(e,t,n),a=o-Math.min(e,t,n);return r=0===a?0:e===o?(t-n)/a%6:t===o?(n-e)/a+2:(e-t)/a+4,(r=Math.round(60*r))<0&&(r+=360),{h:r,s:Math.round(100*(0===o?0:a/o)),v:Math.round(o/255*100)}}function pa(e,t,n,r){return"rgba("+[e,t,n,r/100].join(",")+")"}var ha={name:"bzk4lp",styles:"width:100%;margin-top:10px;margin-bottom:10px;display:flex;"},ma={name:"lwa3hx",styles:"flex:1;margin-right:10px;"},ga=function(e){var t=e.color,n=e.onChange,r=t.r,o=t.g,a=t.b,i=t.a,s=t.h,u=t.s,c=t.v;function l(e){n&&n(wt({},e,{rgba:pa(e.r,e.g,e.b,e.a)}))}function f(e,n,r){var o=ca(e,n,r),a=o.r,i=o.g,s=o.b,u=fa(a,i,s);l(wt({},t,{h:e,s:n,v:r,r:a,g:i,b:s,hex:u}))}function d(e,n,r){var o=fa(e,n,r),a=da(e,n,r),i=a.h,s=a.s,u=a.v;l(wt({},t,{r:e,g:n,b:r,h:i,s:s,v:u,hex:o}))}function p(e){l(wt({},t,{a:e}))}var h=pa(r,o,a,i),m="linear-gradient(to right, "+pa(r,o,a,0)+", "+pa(r,o,a,100)+")",g=function(e,t,n){var r=ca(e,t,n);return fa(r.r,r.g,r.b)}(s,100,100);return ft("div",{css:va.picker,onClick:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}},ft("div",{css:va.selector,style:{backgroundColor:g}},ft("div",{css:va.gradientWhite}),ft("div",{css:va.gradientDark}),ft(Jo,{axis:"xy",x:u,xmax:100,y:100-c,ymax:100,onChange:function(e){var t=e.x,n=e.y;return f(s,t,100-n)},styles:{track:{width:"100%",height:"100%",background:"none"},thumb:{width:12,height:12,backgroundColor:"rgba(0,0,0,0)",border:"2px solid #fff",borderRadius:"50%"}}})),ft("div",{css:ha},ft("div",{css:ma},ft(Jo,{axis:"x",x:s,xmax:359,onChange:function(e){return f(e.x,u,c)},styles:{track:{width:"100%",height:12,borderRadius:0,background:"linear-gradient(to left, #FF0000 0%, #FF0099 10%, #CD00FF 20%, #3200FF 30%, #0066FF 40%, #00FFFD 50%, #00FF66 60%, #35FF00 70%, #CDFF00 80%, #FF9900 90%, #FF0000 100%)"},active:{background:"none"},thumb:{width:5,height:14,borderRadius:0,backgroundColor:"#eee"}}}),ft(Jo,{axis:"x",x:i,xmax:100,styles:{track:{width:"100%",height:12,borderRadius:0,background:m},active:{background:"none"},thumb:{width:5,height:14,borderRadius:0,backgroundColor:"#eee"}},onChange:function(e){return p(e.x)}})),ft("div",{style:{backgroundColor:h,width:30,height:30}})),ft("div",{css:va.inputs},ft("div",{css:va.input},ft("input",{style:{width:70,textAlign:"left"},type:"text",value:t.hex,onChange:function(e){return function(e){var n=ua(e),r=n.r,o=n.g,a=n.b,i=da(r,o,a),s=i.h,u=i.s,c=i.v;l(wt({},t,{r:r,g:o,b:a,h:s,s:u,v:c,hex:e}))}(e.target.value)},onKeyUp:function(e){if(13===e.keyCode){var n=e.target.value.trim(),r=ua(n),o=r.r,a=r.g,s=r.b;l(wt({},t,{r:o,g:a,b:s,a:i,hex:n}))}}}),ft("div",null,"Hex")),ft("div",{css:va.input},ft(sa,{min:0,max:255,value:r,onChange:function(e){return d(e,o,a)}}),ft("div",null,"R")),ft("div",{css:va.input},ft(sa,{min:0,max:255,value:o,onChange:function(e){return d(r,e,a)}}),ft("div",null,"G")),ft("div",{css:va.input},ft(sa,{min:0,max:255,value:a,onChange:function(e){return d(r,o,e)}}),ft("div",null,"B")),ft("div",{css:va.input},ft(sa,{min:0,max:100,value:i,onChange:function(e){return p(e)}}),ft("div",null,"A"))))};ga.defaultProps={initialValue:"#5e72e4"};var va={picker:{fontFamily:"'Helvetica Neue',Helvetica,Arial,sans-serif",width:230,"*":{userSelect:"none"}},selector:{position:"relative",width:230,height:230},gradientWhite:{position:"absolute",top:0,left:0,right:0,bottom:0,background:"linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%)"},gradientDark:{position:"absolute",top:0,left:0,right:0,bottom:0,background:"linear-gradient(to bottom, transparent 0%, #000000 100%)"},inputs:{display:"flex",justifyContent:"space-between",width:"100%"},input:{textAlign:"center",fontSize:13,fontWeight:"normal",color:"#000",input:{width:30,textAlign:"center"},div:{marginTop:4}}};function ba(e){var t,n=(e=e.toLowerCase()).substr(0,7),r=ua(n),o=r.r,a=r.g,i=r.b,s=da(o,a,i),u=e.length>7?(t=e.substr(7),Math.round(parseInt("0x"+t,16)/255*100)):100;return wt({},s,{r:o,g:a,b:i,a:u,hex:n,rgba:pa(o,a,i,u)})}var ya={name:"j4ndc3",styles:"position:relative;display:inline-block;box-sizing:border-box;width:49px;height:24px;padding:4px;background-color:#ffffff;border:1px solid #bebebe;border-radius:3px;user-select:none;"},wa={name:"trkpwz",styles:"display:block;width:100%;height:100%;cursor:pointer;"},Ca=function(t){var n=t.initialValue,r=t.onChange,o=t.placement,a=bt(t,["initialValue","onChange","placement"]),i=(0,e.useState)(ba(n)),s=i[0],u=i[1];function c(e){r&&(u(e),r(e))}return(0,e.useEffect)((function(){c(ba(n))}),[n]),ft(zo,{placement:o,body:ft(ga,{color:s,onChange:c})},ft("span",wt({},a,{css:ya}),ft("span",{css:wa,style:{backgroundColor:s.rgba}})))};Ca.defaultProps={placement:"bottom"};var Oa=Ca,xa=n(953),Da=n(73),ka=n.n(Da),Sa=n(251),Ea=n.n(Sa);function Ma(e){return(Ma="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var _a,Pa=function(e){var t=function(){this.parser=new i},n=t.prototype;function r(e,t){for(var n=[],r=t,o=e.length;r<o;r++)n.push(e[r]);return n}var o=function(){var e=function n(e,t,r){this.prefix=(e||"")+":",this.level=t||n.NONE,this.out=r||window.console&&window.console.log.bind(window.console),this.warn=this.log.bind(this,n.WARN),this.info=this.log.bind(this,n.INFO),this.debug=this.log.bind(this,n.DEBUG)},t=e.prototype;return e.DEBUG=1,e.INFO=2,e.WARN=3,e.NONE=4,t.log=function(e,t){if(e>=this.level&&"function"==typeof this.out){var n=r(arguments,2);n=[this.prefix+t].concat(n),this.out.apply(this,n)}},e}(),a=function(){var e=function(e){this.obj=e||{}},t=e.prototype;return t.get=function(e){var t=this.obj[e];return t===undefined&&this.parent&&(t=this.parent.get(e)),t},t.set=function(e,t){return this.obj[e]=t,this.get(e)},e}(),i=function(){var e=new o("PARSER",o.NONE),t=new o("EMIT",o.NONE),n=function(){};function i(e){var t={};return e.forEach((function(e,n){t[e]=n})),t}function s(e,t,n){if(1===n.length&&"object"===Ma(n[0])){var r=n[0];t.forEach((function(t){e[t]=r[t]}))}else for(var o=0,i=t.length,s=n.length;o<i&&o<s;o++)e[t[o]]=n[o];delete e.runtimeError;var u=new a(e);return u.parent=l,u}function u(n){if(n!==undefined)switch(n.id){case"Expr":case"Tuple":return u(n.expr);case"OpenTuple":return n.expr?f(n.expr):f(n.left,n.right);case"Assign":return n.expr?u(n.expr):(s=n.left,l=u(l=n.right),function(e){return e.set(s.value,l.apply(null,arguments))});case"Sums":case"Prod":case"Power":return n.expr?u(n.expr):function(t,n,o){n=u(n),o=u(o);var a=undefined;function i(e){var t=r(arguments,1);return e(n.apply(this,t),o.apply(this,t))}switch(t.id){case"Plus":return i.bind(a,(function(e,t){return+e+t}));case"Minus":return i.bind(a,(function(e,t){return e-t}));case"Mul":return i.bind(a,(function(e,t){return e*t}));case"Div":return i.bind(a,(function(e,t){return e/t}));case"Mod":return i.bind(a,(function(e,t){return e%t}));case"Pow":return i.bind(a,(function(e,t){return Math.pow(e,t)}))}return e.warn("No emitter for %o",t),function(){}}(n.op,n.left,n.right);case"Unary":return n.expr?u(n.expr):function(t,n){switch(n=u(n),t.id){case"Plus":return function(){return n.apply(this,arguments)};case"Minus":return function(){return-n.apply(this,arguments)}}return e.warn("No emitter for %o",t),function(){}}(n.op,n.right);case"Call":return o=n.token,a=n.args,i=c(a),a=u(a),function(e){var t=e.get(o.value);if("function"==typeof t){var n=a.apply(null,arguments);return i||(n=[n]),t.apply(null,n)}e.set("runtimeError",{text:'Call to undefined "'+o.value+'"'})};case"Parens":return u(n.expr);case"Value":return u(n.token);case"Number":return function(){return n.value};case"Var":return function(e){return e.get(n.value)};default:t.warn("No emitter for %o",n)}var o,a,i,s,l;return function(){}}function c(e){if(e!==undefined)switch(e.id){case"Expr":case"Tuple":return c(e.expr);case"OpenTuple":return!0}return!1}function f(e,t){if(e===undefined)return function(){return[]};var n="OpenTuple"===e.id;return e=u(e),t===undefined?function(){return[e.apply(null,arguments)]}:(t=u(t),n?function(){var n=e.apply(null,arguments);return n.push(t.apply(null,arguments)),n}:function(){return[e.apply(null,arguments),t.apply(null,arguments)]})}n.prototype.parse=function(n){this.error=undefined;var r=function(e){var t,n,r=[],o=0;for(;(t=k(e,o))!==undefined;)t.error?n=t.error:"Space"!==t.id&&r.push(t),o=t.end;return{tokens:r,error:n}}(n),o=function(t){for(var n={tokens:t,pos:0,stack:[],scope:{}},r=0,o=t.length,a=!1;!a&&r<=o;){var i=t[r],s=n.stack[n.stack.length-1],u=(s?s.id:"(empty)")+":"+(i?i.id:"(eof)");switch(d[u]){case 1:e.debug("shift %s %o",u,h(n.stack)),n=m(n,i),r++;break;case 2:e.debug("reduce %s %o",u,h(n.stack)),n=v(n,i);break;case 0:e.debug("done %s %o",u,h(n.stack)),a=!0;break;default:if(i!==undefined){var c={pos:i.pos,text:'Unexpected token "'+i.string+'"'};n.error=c,e.warn("%s at %d (%s)",c.text,c.pos,u)}else{c={text:"Unexpected EOF",pos:n.pos+1};n.error=c,e.warn("%s (%s)",c.text,u)}a=!0}}if(!n.error&&n.stack.length>1){var l=b(n,1);c={pos:l.pos||0,text:"LParen"===l.id?"Open paren":"Invalid expression"};n.error=c,e.warn("%s at %d (eof)",c.text,c.pos)}return{root:n.stack.pop(),vars:Object.keys(n.scope),error:n.error}}(r.tokens);t.debug("AST: %o",o);var a,c,l=(a=u(o.root),function(e){try{return a.apply(null,arguments)}catch(t){e.set("runtimeError",{text:""+t})}});return c={},{error:r.error||o.error,args:i(o.vars),eval:function(){return l(s(c,o.vars,arguments))},set scope(e){c=e||{}},get scope(){return c}}};var d={};function p(e,t,n){for(var r=0,o=t.length;r<o;r++)for(var a=0,i=n.length;a<i;a++){var s=t[r]+":"+n[a];d[s]=e}}function h(t){return e.level>=o.DEBUG?t.map((function(e){return e.id})):""}function m(e,t){return g(e,0,t)}function g(e,t,n){var r=e.stack.slice(0,e.stack.length-t),o=e.pos;return n&&(r.push(n),n.pos!==undefined&&(o=n.pos)),{tokens:e.tokens,pos:o,stack:r,scope:e.scope,error:e.error}}function v(t,n){switch(b(t,0).id){case"Tuple":return function(e){var t=b(e,0);return g(e,1,{id:"Expr",expr:t})}(t);case"OpenTuple":case"Comma":return y(t,n);case"Assign":case"Sums":return function(e,t){var n=b(e,1),r=b(e,0);if(r!==undefined&&"Sums"===r.id)return w(e,["Eq"],"Assign");if(n!==undefined&&"Eq"===n.id)return w(e,["Eq"],"Assign");return y(e,t)}(t,n);case"Prod":return function(e){return w(e,["Plus","Minus"],"Sums")}(t);case"Power":case"Unary":return function(e){var t=b(e,1),n=b(e,0);if(n!==undefined&&"Unary"===n.id){var r=O(e,!1);return r||g(e,1,{id:"Power",expr:n})}if(n!==undefined&&"Power"===n.id&&t!==undefined&&"Pow"===t.id)return w(e,["Pow"],"Power");return function(e){return w(e,["Mul","Div","Mod"],"Prod")}(e)}(t);case"Call":case"Parens":return O(t);case"Value":case"RParen":return function(t){var n=b(t,3),r=b(t,2),o=b(t,1),a=b(t,0),i={id:"Parens"};if("RParen"===a.id){if(o!==undefined&&"LParen"===o.id)return r!==undefined&&"Var"===r.id?g(t,3,i={id:"Call",token:r}):g(t,2,i={id:"OpenTuple"});if(r===undefined||"LParen"!==r.id){var s={pos:a.pos,text:"Unmatched paren"};return t.error=s,e.warn("%s at %d",s.text,s.pos),g(t,1)}return n!==undefined&&"Var"===n.id?g(t,4,i={id:"Call",token:n,args:o}):(i.expr=o,g(t,3,i))}return i.expr=a,g(t,1,i)}(t);case"Number":case"Var":return function(e){var t=b(e,0);e=g(e,1,{id:"Value",token:t}),"Var"===t.id&&(e.scope[t.value]=t);return e}(t)}return t}function b(e,t){return t===undefined&&(t=0),e.stack[e.stack.length-(t+1)]}function y(e,t){var n=b(e,2),r=b(e,1),o=b(e,0),a={id:"OpenTuple"};return"Comma"===o.id?g(e,2,r):r!==undefined&&"Comma"===r.id?(a.op=r,a.left=n,a.right=o,g(e,3,a)):t!==undefined&&"Comma"===t.id?(a.expr=o,g(e,1,a)):g(e,1,a={id:"Tuple",expr:o})}function w(e,t,n){var r=b(e,2),o=b(e,1),a=b(e,0),i={id:n};return o!==undefined&&-1!==t.indexOf(o.id)?(i.op=o,i.left=r,i.right=a,g(e,3,i)):(i.expr=a,g(e,1,i))}p(1,["(empty)","Plus","Minus","Mul","Div","Mod","Pow","LParen","Eq","Comma"],["Plus","Minus","LParen","Number","Var"]),p(1,["Var"],["LParen","Eq"]),p(1,["Sums"],["Plus","Minus"]),p(1,["Prod"],["Mul","Div","Mod"]),p(1,["Unary"],["Pow"]),p(1,["OpenTuple","Tuple"],["Comma"]),p(1,["LParen","Expr"],["RParen"]),p(2,["Number","Var","Value","RParen","Parens","Call","Unary","Power","Prod","Sums","Assign"],["Comma"]),p(2,["Number","Var","Value","RParen","Parens","Call","Unary","Power","Prod"],["Plus","Minus"]),p(2,["Number","Var","Value","RParen","Parens","Call","Unary","Power"],["Mul","Div","Mod"]),p(2,["Number","Var","Value","RParen","Parens","Call"],["Pow"]),p(2,["Number","Var","Value","RParen","Parens","Call","Unary","Power","Prod","Sums","Assign","Comma","OpenTuple","Tuple"],["RParen","(eof)"]),p(0,["(empty)","Expr"],["(eof)"]);var C=["Pow","Mul","Div","Mod","Plus","Minus","Eq","Comma","LParen"];function O(e,t){var n=b(e,2),r=b(e,1),o=b(e,0),a={id:"Unary"};return r===undefined||"Minus"!==r.id&&"Plus"!==r.id||n!==undefined&&-1===C.indexOf(n.id)?!1!==t?(a.expr=o,g(e,1,a)):void 0:(a.op=r,a.right=o,g(e,2,a))}var x=/^(?:(\s+)|((?:\d+e[-+]?\d+|\d+(?:\.\d*)?|\d*\.\d+))|(\+)|(\-)|(\*)|(\/)|(%)|(\^)|(\()|(\))|(=)|(,)|([a-zA-Z]\w*))/i,D=["Space","Number","Plus","Minus","Mul","Div","Mod","Pow","LParen","RParen","Eq","Comma","Var"];function k(t,n){var r=t.slice(n);if(0!==r.length){var o=x.exec(r);if(null===o){var a=function(e,t){for(var n=e.length;t<n;t++){var r=e.slice(t);if(0===r.length)break;if(null!==x.exec(r))break}return t}(t,n),i={pos:n,text:'Unexpected symbol "'+t.slice(n,a)+'"'};return e.warn("%s at %d",i.text,i.pos),{error:i,end:a}}for(var s=0,u=D.length;s<u;s++){var c=o[s+1];if(c!==undefined)return{id:D[s],string:c,pos:n,end:n+c.length,value:E(D[s],c)}}}}var S=Number.parseFloat||parseFloat;function E(e,t){switch(e){case"Number":return S(t);default:return t}}return n}(),s=function(e,t){return Array.isArray(e)?function(e,t){return e.length?e.reduce((function(e,n){return"decrease_first_value"===t?Number(n)-Number(e):Number(e)+Number(n)})):NaN}(e,t):Number(e)};var u,c,l=((c=new a).set("pi",Math.PI),c.set("e",Math.E),c.set("inf",Number.POSITIVE_INFINITY),u=Math,Object.getOwnPropertyNames(Math).forEach((function(e){c.set(e,u[e])})),c);return n.parse=function(e,t,n){e=(e=e.replace(/\[|\]|-/g,"__")).replace(/\s+(__|–)\s+/g," - "),t=void 0===t?{}:t;var r=/\[|\]|-/g,o={};for(var a in t)o[a.replace(r,"__")]=s(t[a],n);var i=this.parser.parse(e);return i.scope.numberFormat=function(e){if(!Number.isNaN(e))return(new Intl.NumberFormat).format(e)},i.scope.floor=function(e){return Math.floor(e)},i.scope.round=function(e){return Math.round(e)},i.scope.float=function(e,t){return t=void 0===t?0:t,e.toFixed(t)},i.scope.ceil=function(e){return Math.ceil(e)},i.eval(o)},t}(),ja="";_a=jQuery,Element.prototype.getElSettings=function(e){if("settings"in this.dataset)return JSON.parse(this.dataset.settings.replace(/(&quot\;)/g,'"'))[e]||""},ja=function(e,t){var n=e.find(".mf-multistep-container");if(n.length){var r=[];n.find(".elementor-top-section").each((function(e){var t=this.getElSettings("metform_multistep_settings_title")||"Step-"+_a(this).data("id"),o=this.getElSettings("metform_multistep_settings_icon"),a="",i="";o&&(a="svg"===o.library?'<img class="metform-step-svg-icon" src="'+o.value.url+'" alt="SVG Icon" />':o.value.length?'<i class="metform-step-icon '+o.value+'"></i>':""),0===e?(i="active",n.hasClass("mf_slide_direction_vertical")&&_a(this).parents(".elementor-section-wrap").css("height",_a(this).height())):1===e&&(i="next"),t&&r.push("<li class='metform-step-item "+i+"' id='metform-step-item-"+_a(this).attr("data-id")+"' data-value='"+_a(this).attr("data-id")+"'>"+a+'<span class="metform-step-title">'+t+"</span></li>")})),r&&(n.find(".metform-form-content .metform-form-main-wrapper > .elementor").before("<ul class='metform-steps'>"+r.join("")+"</ul>"),n.find(".elementor-top-section:first-of-type").addClass("active"),n.find(".mf-progress-step-bar span").attr("data-portion",100/r.length).css("width",100/r.length+"%"))}n.find(".elementor-top-section .metform-btn").attr("type","button"),n.find(".mf-input").on("keypress",(function(e){13!==e.which||_a(this).hasClass("mf-textarea")||n.find(".metform-step-item.next").trigger("click")})),n.find(".elementor-top-section").on("keydown",(function(e){var t=_a(this),n=_a(":focus");if(9==e.which)if(t.hasClass("active")){var r=t.find(":focusable"),o=r.index(n),a=r.eq(o),i=r.eq(r.length-1);a.is(i)&&(a.focus(),e.preventDefault())}else n.focus(),e.preventDefault()})),n.find(".metform-steps").on("click",".metform-step-item",(function(){var e,r=this,o=_a(this).parents(".mf-form-wrapper").eq(0),a=o.find(".elementor-top-section.active .mf-input"),i=(_a("body").hasClass("rtl")?100:-100)*_a(this).index()+"%",s=(o.find(".mf-progress-step-bar").attr("data-total"),_a(this.nextElementSibling).hasClass("active")),u=[];a.each((function(){var e=_a(this),t=this.name;(e.hasClass("mf-input-select")||e.hasClass("mf-input-multiselect"))&&(t=e.find('input[type="hidden"]')[0].name),e.parents(".mf-input-repeater").length&&(t=""),t&&u.push(t)})),e=function(e){e&&(o.find(".elementor-top-section.active .metform-btn").attr("type","button"),(_a(r).hasClass("prev")||_a(r).hasClass("next"))&&(_a(r).addClass("active").removeClass("next prev").prev().addClass("prev").siblings().removeClass("prev").end().end().next().addClass("next").siblings().removeClass("next").end().end().siblings().removeClass("active"),o.find('.elementor-top-section[data-id="'+_a(r).data("value")+'"]').addClass("active").siblings().removeClass("active"),n.hasClass("mf_slide_direction_vertical")?(o.find(".elementor-section-wrap .elementor-top-section").css({transform:"translateY("+i+")"}),o.find(".elementor-section-wrap").css("height","calc("+o.find('.elementor-top-section[data-id="'+_a(r).data("value")+'"]').height()+"px)")):o.find(".elementor-section-wrap").css({transform:"translateX("+i+")"})),o.find(".mf-progress-step-bar span").css("width",(_a(r).index()+1)*o.find(".mf-progress-step-bar span").attr("data-portion")+"%"),o.find(".elementor-top-section.active").find(".metform-submit-btn").length&&setTimeout((function(){o.find(".elementor-top-section.active").find(".metform-submit-btn").attr("type","submit")}),0))},s?e(!0):t.doValidate(u).then(e)}))};var Ta=function(){document.querySelectorAll(".mf-input-map-location").forEach((function(e){if("undefined"!=typeof google){var t=new google.maps.places.Autocomplete(e,{types:["geocode"]});google.maps.event.addListener(t,"place_changed",(function(){e.dispatchEvent(new Event("input",{bubbles:!0}))}))}}))};window.mfMapLocation=Ta;var Aa=function(e,t){return React.createElement("div",{className:"mf-main-response-wrap ".concat(t," mf-response-msg-wrap"),"data-show":"1"},React.createElement("div",{className:"mf-response-msg"},React.createElement("i",{className:"mf-success-icon ".concat(e)}),React.createElement("p",null,"This is a dummy success message!!.")))},Ia=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=[].concat(t)[2],o=[].concat(t)[3],a=[].concat(t)[4],i=[].concat(t)[5],s=r.errors,u=r.success,c=r.form_res,l=function(){return s.length>0?React.createElement(React.Fragment,null,React.createElement("i",{className:"mf-alert-icon ".concat(a)}),React.createElement("p",null,s.map((function(e){return e+" "}))," ")):""},f=function(){return u.length>0?React.createElement(React.Fragment,null,React.createElement("i",{className:"mf-success-icon ".concat(o)}),React.createElement("p",null,u)):""};return React.createElement("div",{className:"mf-main-response-wrap ".concat(i," mf-response-msg-wrap").concat(s.length>0?" mf-error-res":""),"data-show":c},React.createElement("div",{className:"mf-response-msg"},l(),f()))};function Ra(e){return(Ra="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Na=function(e,t,n){if("mf-captcha-challenge"!==e&&"g-recaptcha-response"!==e){var r=n.getValue(e);if(Array.isArray(r)&&(r=r.join(", ")),"object"===Ra(r)&&r.name&&(r=r.name),"string"==typeof r&&r.includes("data:image")&&(r=React.createElement("img",{src:r,alt:e})),!r)return"";var o=function(e,t,n){var r=n.formContainerRef.current.querySelector('[name="'+e+'"]'),o=r?r.closest(".mf-input-wrapper").querySelector("label"):null;return o?o.innerText.replace(/\*/g,"").trim():t}(e,e,n);return React.createElement("li",{key:t},React.createElement("strong",null," ",o," ")," ",React.createElement("span",null," ",r," "))}},La=function(e,t,n,r,o){if(e){r(e.props.name,o.activateValidation(n));var a=window[t];t&&a&&(window.flatpickr.prototype.constructor.l10ns[t]=a["default"][t],e.flatpickr.set("locale",t))}};function Va(e){return(Va="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Fa(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(u){s=!0,o=u}finally{try{i||null==n["return"]||n["return"]()}finally{if(s)throw o}}return a}(e,t)||Ua(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ha(e){return function(e){if(Array.isArray(e))return Wa(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ua(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ua(e,t){if(e){if("string"==typeof e)return Wa(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Wa(e,t):void 0}}function Wa(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function za(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ba(e,t){return(Ba=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ya(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=$a(e);if(t){var o=$a(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return qa(this,n)}}function qa(e,t){return!t||"object"!==Va(t)&&"function"!=typeof t?Ka(e):t}function Ka(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $a(e){return($a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ga(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ja(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ga(Object(n),!0).forEach((function(t){Qa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ga(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xa=new(Ea())({tolerance:200}),Za=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ba(e,t)}(a,React.Component);var t,n,r,o=Ya(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),Qa(Ka(t=o.call(this,e)),"handleFormSubmit",(function(e,n){var r;n.preventDefault();var o=t.state,a=o.formData,i=o.defaultData,s=t.props,u=s.action,c=s.wpNonce,l=s.validation,f=l.reset,d=new FormData,p=Ja(Ja({},i),a);for(var h in jQuery(t.mfRefs.mainForm.parentElement).trigger("metform/before_submit",p),jQuery(t.mfRefs.mainForm).find(".metform-submit-btn").attr("disabled",!0),p)d.append(h,p[h]);r="mf_success_duration"in t.props.widgetSettings?t.props.widgetSettings.mf_success_duration:5,r*=1e3,fetch(u,{method:"POST",headers:{"X-WP-Nonce":c},body:d}).then((function(e){return e.json()})).then((function(e){if(e.status?(t.setState({success:e.data.message?e.data.message:"",form_res:1},(function(){t.resetReCAPTCHA(),l.clearErrors("g-recaptcha-response")})),e.status&&e.data.hide_form&&(t.formRef.current.setAttribute("class","mf-close-this-form"),setTimeout((function(){t.formRef.current.innerHTML=""}),600))):t.setState({errors:Ha(e.error),form_res:1},(function(){t.resetReCAPTCHA(),t.setValue("mf-captcha-challenge","",!0),l.clearErrors("g-recaptcha-response")})),e.data.store&&"stripe"===e.data.store["mf-payment-method"]&&t.stripePayment(e),jQuery(t.mfRefs.mainForm.parentElement).trigger("metform/after_submit",{data:p,response:e}),e.status&&e.data.redirect_to){var n=e.data.entry_id,o=e.data.redirect_to;n&&""!==n&&(o+=(o.includes("?")?"&":"?")+"mf_entry_id="+n),setTimeout((function(){window.location.href=o}),1500)}setTimeout((function(){e.data.hide_form||t.setState({success:"",errors:[],form_res:0})}),r)}))["catch"]((function(e){t.setState({errors:["Something went wrong"],form_res:1},(function(){t.resetReCAPTCHA(),t.setValue("mf-captcha-challenge","",!0),l.clearErrors("g-recaptcha-response")})),console.error(e.message),setTimeout((function(){t.setState({errors:[],form_res:0})}),r)}))["finally"]((function(){if(jQuery(t.mfRefs.mainForm).find(".metform-submit-btn").attr("disabled",!1),!t.props.stopVerticalEffect){var e=t.mfRefs.mainForm.querySelector(".mf-main-response-wrap");Xa.move(e)}setTimeout((function(){t.setState({formData:{},mobileWidget:{}})}),350),f()}))})),Qa(Ka(t),"handleCalculations",(function(e,n){var r=e.target.calc_behavior,o=ReactDOM.findDOMNode(Ka(t)),a=o.length?o.querySelectorAll(".mf-input-calculation"):[],i=Ja({},n);for(var s in i)if(Array.isArray(i[s])){var u=i[s].map((function(e){return isNaN(e)?e:Number(e)}));i[s]=u}a.forEach((function(e){var o=parseInt(e.dataset.fraction);o=o<0||o>99?2:o;var a=t.MfMathCalc.parse(e.dataset.equation,i,r)||0;if("NaN"!==a){var s=a.toString().split(".");s.length>1&&(s[1]=s[1].slice(0,o),s[1].length||s.pop()),n[e.name]=s.join(".")}}))})),Qa(Ka(t),"handleConditionals",(function(e){var n=t.state,r=n.formData,o=n.defaultData,a=t.props,i=a.widgets,s=a.conditionalRefs,u=a.validation,c=u.getValues,l=u.setValue;s.forEach((function(e){(e=i[e]).list=e.settings.mf_conditional_logic_form_list,e.operator=e.settings.mf_conditional_logic_form_and_or_operators,e.action=e.settings.mf_conditional_logic_form_action,e.validatedValues=[],e.isValidated=!1,e.list.forEach((function(n){n.name=n.mf_conditional_logic_form_if,n.value=r[n.name]||o[n.name]||"",n.match=n.mf_conditional_logic_form_value,n.operator=t.decodeEntities(n.mf_conditional_logic_form_comparison_operators),Array.isArray(n.value)&&-1!==n.value.indexOf(n.match)&&(n.value=n.value[n.value.indexOf(n.match)]),e.validatedValues.push(function(e,t,n){switch(n){case"+":return e+t;case"-":return e-t;case"*":return e*t;case"/":return e/t;case"<":return e<t;case"<=":return e<=t;case">":return e>t;case">=":return e>=t;case"==":return e==t;case"!=":return e!=t;case"not-empty":return void 0!==e&&String(e).length>0;case"empty":return void 0!==e&&0==String(e).length;default:return!1}}(n.value,n.match,n.operator))})),e.isValidated=e.validatedValues.some((function(e){return!0===e})),"and"===e.operator&&(e.isValidated=e.validatedValues.every((function(e){return!0===e})));var n=e.settings.mf_input_name;e.isValidated&&"show"===e.action?(e.el.setAttribute("mf-condition-hidden",!1),e.el.classList.remove("mf-condition--hidden"),"noval"===c(n)&&l(n,undefined)):(e.el.setAttribute("mf-condition-hidden",!0),e.el.classList.add("mf-condition--hidden"),Object.values(e.el.classList).indexOf("elementor-widget-mf-select")>-1&&l(n,"noval"))}))})),Qa(Ka(t),"getValue",(function(e){return e in t.state.formData?t.state.formData[e]:""})),Qa(Ka(t),"getFileLabel",(function(e,n){var r=t.state.formData[e];return r?r.name:t.decodeEntities(n)})),Qa(Ka(t),"getInputLabel",(function(e,n){var r=ReactDOM.findDOMNode(Ka(t)).querySelector('[name="'+e+'"]'),o=r?r.closest(".mf-input-wrapper").querySelector("label"):null;return o?o.innerText.replace(/\*/g,"").trim():n})),Qa(Ka(t),"decodeEntities",(function(e){var t=document.createElement("textarea");return t.innerHTML=e,t.value})),Qa(Ka(t),"setDefault",(function(e){if(null!==e){var n=e.name,r=e.value,o=t.state.defaultData;o[n]=r,t.setState({defaultData:o})}})),Qa(Ka(t),"isNumeric",(function(e){return!isNaN(parseFloat(e))&&isFinite(e)})),Qa(Ka(t),"setStateValue",(function(e,n){t.setState({name:e,value:n})})),Qa(Ka(t),"handleCardNumber",(function(e){var n=e.target,r=n.name,o=n.value,a=t.state.formData,i=a[r+"--type"],s=o.replace(/\s+/g,"").replace(/[^0-9]/gi,""),u=a[r],c="amex"===i?5:4,l="amex"===i?15:16;if(new RegExp("^[0-9]*$").test(s)&&s.length<=l){for(var f=s.match(/\d{4,16}/g),d=f&&f[0]||"",p=[],h=0,m=d.length;h<m;h+=c)p.push(d.substring(h,h+c));p.length&&(s=p.join(" ").trim()),u=s}t.setValue(r,u,!0),t.handleChange(e),e.target.value=u,t.handleCardType(s,e.target.name)})),Qa(Ka(t),"handleCardType",(function(e,n){var r="blank",o=n+"--type";r=e.startsWith("34")||e.startsWith("37")?"amex":e.startsWith("4")?"visa":e.startsWith("5")?"master":e.startsWith("6")?"discover":"custom";var a=t.state.formData;a[o]=r,t.setState({formData:a})})),Qa(Ka(t),"handleCardMonth",(function(e){var n=e.target,r=n.name,o=n.value,a=parseInt(o.replace(/-/g,""))||"",i=parseInt(a.toString().substring(0,1))||"";1<i&&i<10?t.setValue(r,i,!0):t.setValue(r,a>12?12:a,!0),t.handleChange(e)})),Qa(Ka(t),"handleSubVal",(function(e,n){var r=e.target,o=r.name,a=r.value,i=parseInt(a.replace(/-/g,"").substring(0,n))||"";t.setValue(o,i,!0),e.target.value=i,t.handleChange(e)})),Qa(Ka(t),"handleChange",(function(e){var n=e.target,r=n.name,o=n.value,a=n.type,i=t.state.formData;i[r]="number"===a&&"mobile"!==a?Number(o):o,t.handleCalculations(e,i),t.setState({formData:i});var s=e.target;s.className!==undefined&&-1!==s.className.indexOf("mf-repeater-type-simple")||t.trigger(r)})),Qa(Ka(t),"handleDateTime",(function(e){var n=e.target,r=n.name,o=n.value;t.setValue(r,o,!0),t.handleChange(e)})),Qa(Ka(t),"handleSelect",(function(e,n){var r=n.name,o=e.value;e.target={name:n.name,value:o},t.setValue(r,o,!0),t.handleChange(e)})),Qa(Ka(t),"handleRadioDefault",(function(e){var n=t.state.formData;if(e&&e.dataset.checked){var r=e.name;e.setAttribute("checked",!0),r in n||setTimeout((function(){t.handleChange({target:{name:r,value:e.value}})}),300)}})),Qa(Ka(t),"handleCheckbox",(function(e,n){var r,o="defaultvalue"!==e?e.target:n,a=t.state.formData[o.name];Array.isArray(a)||(a=[]),r=a.indexOf(o.value),o.checked&&-1===r?a.push(o.value):a.splice(r,1),t.handleChange({target:{name:o.name,value:a}})})),Qa(Ka(t),"handleSwitch",(function(e){e.target.value=e.target.nextElementSibling.getAttribute("data-disable"),e.target.checked&&(e.target.value=e.target.nextElementSibling.getAttribute("data-enable")),t.handleChange(e)})),Qa(Ka(t),"handleOptin",(function(e){e.target.checked||(e.target.value=""),t.handleChange(e)})),Qa(Ka(t),"handleFileUpload",(function(e){t.handleChange({target:{name:e.target.name,value:e.target.files[0]}})})),Qa(Ka(t),"handleMultiStepBtns",(function(e){var n=jQuery(e.currentTarget).parents(".elementor-top-section.active"),r=e.currentTarget.dataset.direction,o=n.prev()[0]?n.prev()[0].dataset:"",a=n.next()[0]?n.next()[0].dataset:"",i=("next"===r?a:o).id;if(!i)return!1;var s=jQuery(e.currentTarget).parents(".metform-form-content").find('.metform-step-item[data-value="'+i+'"]'),u=[];n.find(".mf-input").each((function(){var e=jQuery(this),t=this.name;(e.hasClass("mf-input-select")||e.hasClass("mf-input-multiselect"))&&(t=e.find('input[type="hidden"]')[0].name),e.parents(".mf-input-repeater").length&&(t=""),t&&u.push(t)})),jQuery(e.currentTarget).parents(".mf-scroll-top-yes").length&&Xa.move(t.mfRefs.mainForm),"next"===r?t.trigger(u).then((function(e){e&&s.trigger("click")})):s.trigger("click")})),Qa(Ka(t),"handleImagePreview",(function(e){var t=e.target,n=e.clientX,r=e.clientY,o=e.type,a=t.nextElementSibling;if(a){if("mouseleave"===o)return a.style.opacity="",void(a.style.visibility="hidden");a.style.opacity||(a.style.opacity="1",a.style.visibility="visible"),a.offsetHeight+r>window.innerHeight?(a.className="mf-select-hover-image mf-preview-top",r-=45):a.className="mf-select-hover-image",a.style.top=r+30+"px",a.style.left=n-28+"px"}})),Qa(Ka(t),"handleSignature",(function(e){e.target={name:e.props.name,value:e.toDataURL()},t.handleChange(e),t.setValue(e.target.name,e.target.value,!0)})),Qa(Ka(t),"refreshCaptcha",(function(e){t.setState({captcha_img:t.state.captcha_path+Date.now()})})),Qa(Ka(t),"resetReCAPTCHA",(function(){t.getValue("mf-captcha-challenge")&&t.refreshCaptcha(),t.getValue("g-recaptcha-response")&&t.handleReCAPTCHA("reset")})),Qa(Ka(t),"handleReCAPTCHA",(function(e){"reset"===e&&(e="",grecaptcha.reset());var n={target:{name:"g-recaptcha-response",value:(e=e||"")||""}};t.handleChange(n)})),Qa(Ka(t),"activateValidation",(function(e,n,r){var o,a,i=t.state.formData,s=t.props.validation.register,u=e.type,c=e.required,l=e.message,f=e.minLength,d=e.maxLength,p=e.expression,h={};if(n&&c&&n.closest(".elementor-element")&&"true"===n.closest(".elementor-element").getAttribute("mf-condition-hidden"))h.required=!1;else{if((u&&"none"!==u||c)&&(h.required=!!c&&l),n&&n.classList&&n.classList.contains("mf-credit-card-number")&&(i[n.name]&&"amex"===i[n.name+"--type"]?h.minLength=h.maxLength={value:17,message:l}:h.minLength=h.maxLength={value:19,message:l}),e.inputType&&"credit_card_date"===e.inputType&&(f&&(h.min={value:f,message:l}),d&&(h.max={value:d,message:l})),n&&"file"===n.type&&n.files.length>0){var m=e.file_types,g=e.size_limit,v=n.files[0].name.slice((Math.max(0,n.files[0].name.lastIndexOf(".")-1)||Infinity)+1);h.validate={fileType:function(){return!(m!==[]&&!e.file_types.includes(v))||e.type_message},fileSize:function(){return!(-1!==g&&n.files[0].size>1024*parseInt(g))||e.limit_message}}}n&&"email"===n.type?h.pattern={value:/^(([^<>()\[\]\.,;:\s@\"]+(\.[^<>()\[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i,message:e.emailMessage}:n&&"url"===n.type&&(h.pattern={value:/^(http[s]?:\/\/(www\.)?|ftp:\/\/(www\.)?|www\.){1}([0-9A-Za-z-\.@:%_\+~#=]+)+((\.[a-zA-Z]{2,3})+)(\/(.)*)?(\?(.)*)?/g,message:e.urlMessage}),"by_character_length"===u?(o=n&&"number"===n.type?"min":"minLength",a=n&&"number"===n.type?"max":"maxLength",f&&(h[o]={value:f,message:l}),d&&(h[a]={value:d,message:l})):"by_word_length"===u?h.validate={wordLength:function(e){return t.handleWordValidate(e,f,d,l)}}:"by_expresssion_based"===u&&(h.validate={expression:function(e){return t.handleExpressionValidate(e,p,l)}})}return"function"==typeof r&&r(),n?s(n,h):h})),Qa(Ka(t),"handleWordValidate",(function(e,t,n,r){var o=e.trim().split(/\s+/).length;return!!(n?o>=t&&o<=n:o>=t)||r})),Qa(Ka(t),"handleExpressionValidate",(function(e,t,n){if(t)return!!new RegExp(t).test(e)||n})),Qa(Ka(t),"colorChange",(function(e,n){t.handleChange({target:{name:n,value:e.hex}})})),Qa(Ka(t),"colorChangeInput",(function(e){t.handleChange({target:{name:e.target.name,value:e.target.value}})})),Qa(Ka(t),"multiSelectChange",(function(e,n){var r=[];null!==e&&e.filter((function(e){return r.push(e.value)})),t.handleChange({target:{name:n,value:r}})})),Qa(Ka(t),"handleRangeChange",(function(e,n){t.handleChange({target:{name:n,value:e.toFixed(2)}}),t.props.validation.setValue(n,e.toFixed(2))})),Qa(Ka(t),"handleMultipileRangeChange",(function(e,n){t.handleChange({target:{name:n,value:[e.min,e.max],calc_behavior:"decrease_first_value"}})})),Qa(Ka(t),"handleOnChangePhoneInput",(function(e,n,r){var o="";r&&e!==r.dialCode&&(o=e),t.setState({mobileWidget:Ja(Ja({},t.state.mobileWidget),{},Qa({},n,e))}),t.handleChange({target:{name:n,value:o,type:"mobile"}})})),t.state={formData:{},defaultData:{form_nonce:e.formNonce},recaptcha_uid:e.formId+"_"+Math.random().toString(36).substring(5,10),result_not_foud:"",total_result:0,form_res:0,errors:[],success:"",config:{},mobileWidget:{}},t.MfMathCalc=new Pa,t.setValue=e.validation.setValue,t.trigger=e.validation.trigger,t.formRef=React.createRef(),t.formContainerRef=React.createRef(),t.mfRefs={},t.checkboxArr=[],t.checkboxReceive=!0,window["handleReCAPTCHA_"+t.state.recaptcha_uid]=t.handleReCAPTCHA;var n=e.templateEl.innerHTML;return t.jsx=new Function("parent","props","state","validation","register","setValue","html",n),e.templateEl.remove(),t}return t=a,(n=[{key:"stripePayment",value:function(e){var t,n=e.data.payment_data,r=this;n.keys&&""!==n.keys?((t=StripeCheckout.configure({key:n.keys,image:n.image_url,locale:"auto",token:function(t){var o;t.id?(n.stripe_token=t.id,o={sandbox:n.sandbox},fetch(e.data.ajax_stripe+"&token="+t.id,{headers:{"X-WP-Nonce":r.props.wpNonce},data:o}).then((function(e){return e.json()})).then((function(e){e.status?window.location.href=e.redirect_url:alert(e)}))):alert("Sorry!! Payment token invalid")}})).open({name:String(n.name_post),description:" Form No.: "+String(n.description),amount:100*Number(n.amount),currency:n.currency_code}),window.addEventListener("popstate",(function(){t.close()}))):alert("Please set your Stripe Keys in form settings.")}},{key:"handleCheckboxDefault",value:function(e){var t=this;e&&e.dataset.checked&&this.checkboxReceive&&-1===this.checkboxArr.indexOf(e.value)&&(this.checkboxReceive=!1,e.setAttribute("checked",!0),this.checkboxArr.push(e.value),setTimeout((function(){t.handleCheckbox("defaultvalue",e)}),500))}},{key:"renderReCaptcha",value:function(e,t){var n=window.grecaptcha,r=document.querySelectorAll(".g-recaptcha");r.length&&n.render("g-recaptcha",{sitekey:r[0].dataset.sitekey})}},{key:"componentDidUpdate",value:function(){var e,t=this.props.validation.formState.isValid;this.handleConditionals(),t||this.props.stopVerticalEffect||(e=this.mfRefs.mainForm.querySelector(".mf-error-message"))&&Xa.move(e.parentElement.parentElement)}},{key:"componentDidMount",value:function(e){var t=this,n=ReactDOM.findDOMNode(this),r=n.length?n.querySelectorAll(".elementor-element"):[];this.mfRefs.mainForm=n;var o=n.getElementsByTagName("input");for(var a in o)"email"===o[a].type&&""!==o[a].value&&this.setDefault(o[a]);r.forEach((function(e){var n=e.getAttribute("data-element_type"),r=e.getAttribute("data-widget_type"),o=null===r?n:r;if(jQuery(window).on("elementor/frontend/init",(function(){window.elementorFrontend.hooks.doAction("frontend/element_ready/"+o,jQuery(e))})),e.className.search("elementor-widget-mf-")>0&&e.dataset.settings){var a=JSON.parse(e.dataset.settings.replace(/&quot;/g,'"')),i=a.mf_input_name+"-"+e.getAttribute("data-id");t.props.widgets[i]={el:e,settings:a},a.mf_conditional_logic_form_enable&&t.props.conditionalRefs.push(i)}})),window.onload=function(e){t.renderReCaptcha(n,e)},this.handleConditionals(),this.props.formId&&fetch(mf.restURI+this.props.formId,{method:"POST",headers:{"X-WP-Nonce":this.props.wpNonce}}),Ta(),ja(jQuery(n).parents(".mf-multistep-container").parent(),{doValidate:this.trigger}),jQuery(n).on("change",".mf-repeater-field, .mf-repater-range-input, .mf-repeater-checkbox",this.handleChange);var i=this.state.formData;for(var s in jQuery(n).trigger("metform/after_form_load",i),i)this.setValue(s,i[s])}},{key:"render",value:function(){var e=this,t=e.props,n=e.state,r=t.validation,o=r.register,a=r.setValue,i=htm.bind(React.createElement);return React.createElement(React.Fragment,null,this.jsx(e,t,n,r,o,a,i))}}])&&za(t.prototype,n),r&&za(t,r),a}(),ei=function(e){var t=Fa(e.find(".mf-form-wrapper"),1)[0];if(t){var n,r=t.dataset,o=r.action,a=r.wpNonce,i=r.formNonce,s=r.formId,u=r.stopVerticalEffect,c=Fa(e.find(".mf-template"),1)[0];if(c)ReactDOM.render(React.createElement((n=Za,function(e){var t=Ja(Ja({},be()),{},{ErrorMessage:Ce});return React.createElement(n,Ja({validation:t},e))}),{formId:s,templateEl:c,action:o,wpNonce:a,formNonce:i,widgets:{},conditionalRefs:[],stopVerticalEffect:u,widgetSettings:e.data("settings")||{},Select:xr,InputColor:Oa,Flatpickr:xa.Z,InputRange:kr(),ReactPhoneInput:Er(),SignaturePad:ka(),moveTo:Xa,ResponseDummyMarkup:Aa,SubmitResponseMarkup:Ia,SummaryWidget:Na,DateWidget:La}),t)}};jQuery(window).on("elementor/frontend/init",(function(){var e=["metform","shortcode","text-editor"];"metform-form"!==mf.postType||elementorFrontend.isEditMode()?("metform-form"===mf.postType&&elementorFrontend.isEditMode()&&(e=["mf-date","mf-time","mf-select","mf-multi-select","mf-range","mf-file-upload","mf-mobile","mf-image-select","mf-map-location","mf-color-picker","mf-signature"]),e.forEach((function(e){elementorFrontend.hooks.addAction("frontend/element_ready/"+e+".default",ei)}))):ei(elementorFrontend.elements.$body)})).on("load",(function(){document.querySelectorAll(".mf-form-shortcode").forEach((function(e){ei(jQuery(e))}))}))}()}();
public/assets/js/recaptcha-support.js ADDED
@@ -0,0 +1 @@
 
1
+ jQuery((function(t){"use strict";t(document).on("elementor/popup/show",(function(){jQuery.getScript("https://google.com/recaptcha/api.js")}))}));
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: ataurr, wpmet, emranio, atiqsu, easin55474, enamulhoquemohon, ashr
3
  Tags: Form builder, Elementor form builder, contact form, custom form, forms, drag & drop form builder
4
  Requires at least: 4.8
5
  Tested up to: 5.8
6
- Stable tag: 1.5.4
7
  Requires PHP: 7.0
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -25,7 +25,7 @@ Metform built with elementor. Every field is an elementor widget.
25
 
26
 
27
  ###USEFUL LINKS###
28
- > **[Landing Page + Form Demo](https://products.wpmet.com/metform/)** | **[Need Support?](http://wpmet.com/support-help/)** | **[Documentation](https://help.wpmet.com/docs-cat/metform/)** | **[Video Tutorials](https://www.youtube.com/watch?v=zg1QIouKO_Q&list=PL3t2OjZ6gY8NoB_48DwWKUDRtBEuBOxSc&ab_channel=Wpmet)** | [ **Buy Pro** ](https://products.wpmet.com/metform/pricing/) | **[Request a Feature](https://wpmet.com/plugin/metform/roadmaps#ideas)**
29
 
30
 
31
  Metform allows you to create any beautiful contact forms, feedback form, subscription forms, and other types of forms for your site in minutes, not hours! Full flexibility on your own hand.
@@ -227,6 +227,14 @@ Connect with Gmail, Slack, Mailchimp, and many more.
227
 
228
 
229
  == Changelog ==
 
 
 
 
 
 
 
 
230
  Version 1.5.4
231
  Fixed: Date widget localization issue
232
  Fixed: Compatibility issue with Woodmart-6.1.4
@@ -308,18 +316,18 @@ Fix: Multiselect & Checkbox NaN value issue
308
  Fix: Form submit - HideForm not working issue (null value)
309
 
310
  Version 1.4.1
311
- Fix: Few minor bug fix
312
  Imported: Few UI improvements
313
 
314
  Version 1.4.0
315
  Fix: Select Widget conditional required when hidden issue
316
  Fix: Repeater bug fix
317
  Fix: Creating form bug
318
- Improve: Core libraries update
319
  Fix: Minor other bug fix.
320
 
321
  Version 1.3.17
322
- Fix: 'Something went wrong' problem fix
323
 
324
  Version 1.3.16
325
  Added: Form submission error handling
3
  Tags: Form builder, Elementor form builder, contact form, custom form, forms, drag & drop form builder
4
  Requires at least: 4.8
5
  Tested up to: 5.8
6
+ Stable tag: 1.5.5
7
  Requires PHP: 7.0
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
25
 
26
 
27
  ###USEFUL LINKS###
28
+ > **[Landing Page + Form Demo](https://products.wpmet.com/metform/)** | **[Need Support?](http://wpmet.com/support-help/)** | **[Documentation](https://wpmet.com/docs/docs/non-knowledgebase/metform/)** | **[Video Tutorials](https://www.youtube.com/watch?v=zg1QIouKO_Q&list=PL3t2OjZ6gY8NoB_48DwWKUDRtBEuBOxSc&ab_channel=Wpmet)** | [ **Buy Pro** ](https://products.wpmet.com/metform/pricing/) | **[Request a Feature](https://wpmet.com/plugin/metform/roadmaps#ideas)**
29
 
30
 
31
  Metform allows you to create any beautiful contact forms, feedback form, subscription forms, and other types of forms for your site in minutes, not hours! Full flexibility on your own hand.
227
 
228
 
229
  == Changelog ==
230
+ Version 1.5.5 // 29-09-2021
231
+ Added: Multi Select input placeholder control
232
+ Added: New control to set current date as minimum date for date widget
233
+ Fixed: Time widget placeholder does not work in mobile browsers
234
+ Fixed: reCaptcha support for Elementor Popups.
235
+ Fixed: Minor Markup Validation for Form Rendering.
236
+ Fixed: Metform Entry Filtering with Form Name
237
+
238
  Version 1.5.4
239
  Fixed: Date widget localization issue
240
  Fixed: Compatibility issue with Woodmart-6.1.4
316
  Fix: Form submit - HideForm not working issue (null value)
317
 
318
  Version 1.4.1
319
+ Fix: Few minor bug fix
320
  Imported: Few UI improvements
321
 
322
  Version 1.4.0
323
  Fix: Select Widget conditional required when hidden issue
324
  Fix: Repeater bug fix
325
  Fix: Creating form bug
326
+ Improve: Core libraries update
327
  Fix: Minor other bug fix.
328
 
329
  Version 1.3.17
330
+ Fix: 'Something went wrong' problem fix
331
 
332
  Version 1.3.16
333
  Added: Form submission error handling
traits/common-controls.php CHANGED
@@ -754,7 +754,9 @@ trait Common_Controls{
754
  'name' => 'mf_input_place_holder_typography',
755
  'label' => esc_html__( 'Typography', 'metform' ),
756
  'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_1,
757
- 'selector' => '{{WRAPPER}} .text, {{WRAPPER}} .mf-input::placeholder, {{WRAPPER}} .mf_select__placeholder',
 
 
758
  ]
759
  );
760
 
@@ -772,13 +774,14 @@ trait Common_Controls{
772
  '{{WRAPPER}} .mf-input:not([type="submit"]):not([type="checkbox"]):not([type="radio"])::-moz-placeholder' => 'color: {{VALUE}};',
773
  '{{WRAPPER}} .mf-input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):-ms-input-placeholder' => 'color: {{VALUE}};',
774
  '{{WRAPPER}} .mf-input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):-moz-placeholder' => 'color: {{VALUE}};',
 
775
 
776
  '{{WRAPPER}} .mf-input::-webkit-input-placeholder' => 'color: {{VALUE}};',
777
  '{{WRAPPER}} .mf-input::-moz-placeholder' => 'color: {{VALUE}};',
778
  '{{WRAPPER}} .mf-input:-ms-input-placeholder' => 'color: {{VALUE}};',
779
  '{{WRAPPER}} .mf-input:-moz-placeholder' => 'color: {{VALUE}};',
780
 
781
- '{{WRAPPER}} .mf_select__placeholder' => 'color: {{VALUE}};',
782
  ],
783
  'default' => '#c9c1c1',
784
  ]
754
  'name' => 'mf_input_place_holder_typography',
755
  'label' => esc_html__( 'Typography', 'metform' ),
756
  'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_1,
757
+ 'selector' => '{{WRAPPER}} :is(.mf_select__placeholder, .mf_multiselect__placeholder, .text),
758
+ {{WRAPPER}} .mf-input::placeholder,
759
+ {{WRAPPER}} .mf-time-input::before',
760
  ]
761
  );
762
 
774
  '{{WRAPPER}} .mf-input:not([type="submit"]):not([type="checkbox"]):not([type="radio"])::-moz-placeholder' => 'color: {{VALUE}};',
775
  '{{WRAPPER}} .mf-input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):-ms-input-placeholder' => 'color: {{VALUE}};',
776
  '{{WRAPPER}} .mf-input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):-moz-placeholder' => 'color: {{VALUE}};',
777
+ '{{WRAPPER}} .mf-time-input::before' => 'color: {{VALUE}};',
778
 
779
  '{{WRAPPER}} .mf-input::-webkit-input-placeholder' => 'color: {{VALUE}};',
780
  '{{WRAPPER}} .mf-input::-moz-placeholder' => 'color: {{VALUE}};',
781
  '{{WRAPPER}} .mf-input:-ms-input-placeholder' => 'color: {{VALUE}};',
782
  '{{WRAPPER}} .mf-input:-moz-placeholder' => 'color: {{VALUE}};',
783
 
784
+ '{{WRAPPER}} :is(.mf_select__placeholder, .mf_multiselect__placeholder)' => 'color: {{VALUE}};',
785
  ],
786
  'default' => '#c9c1c1',
787
  ]
utils/util.php CHANGED
@@ -284,8 +284,7 @@ class Util{
284
  --------------------------- -->
285
 
286
  <?php $is_edit_mode = \Elementor\Plugin::$instance->editor->is_edit_mode(); ?>
287
- <script type="text" class="mf-template">
288
-
289
  function controls_data (value){
290
  let currentWrapper = "mf-response-props-id-<?php echo esc_attr( $form_id ); ?>";
291
  let currentEl = document.getElementById(currentWrapper);
284
  --------------------------- -->
285
 
286
  <?php $is_edit_mode = \Elementor\Plugin::$instance->editor->is_edit_mode(); ?>
287
+ <script type="text/mf" class="mf-template">
 
288
  function controls_data (value){
289
  let currentWrapper = "mf-response-props-id-<?php echo esc_attr( $form_id ); ?>";
290
  let currentEl = document.getElementById(currentWrapper);
widgets/date/date.php CHANGED
@@ -133,21 +133,37 @@ Class MetForm_Input_Date extends Widget_Base{
133
  ]
134
  );
135
 
 
 
 
 
 
 
 
 
 
 
 
 
136
  $this->add_control(
137
  'mf_input_min_date',
138
  [
139
- 'label' => esc_html__( 'Set minimum date:', 'metform' ),
140
  'type' => Controls_Manager::DATE_TIME,
141
  'picker_options' => [
142
  'enableTime' => false,
143
  ],
 
 
 
 
144
  ]
145
  );
146
 
147
  $this->add_control(
148
  'mf_input_max_date',
149
  [
150
- 'label' => esc_html__( 'Set maximum date:', 'metform' ),
151
  'type' => Controls_Manager::DATE_TIME,
152
  'picker_options' => [
153
  'enableTime' => false,
@@ -530,9 +546,16 @@ Class MetForm_Input_Date extends Widget_Base{
530
  $current_date_mode = $mf_input_range_date && $mf_input_range_date == 'yes' ? 'range' : 'single';
531
 
532
  if ( 'yes' === $mf_input_date_with_time ) $mf_input_date_with_time = true;
 
 
 
 
 
 
 
533
 
534
  $dateConfig = [
535
- 'minDate' => $mf_input_min_date,
536
  'maxDate' => $mf_input_max_date,
537
  'dateFormat' => $date_format,
538
  'enableTime' => $mf_input_date_with_time,
133
  ]
134
  );
135
 
136
+ $this->add_control(
137
+ 'mf_input_min_date_today',
138
+ [
139
+ 'label' => esc_html__( 'Set current date as minimum date', 'metform' ),
140
+ 'type' => Controls_Manager::SWITCHER,
141
+ 'label_on' => esc_html__( 'Yes', 'metform' ),
142
+ 'label_off' => esc_html__( 'No', 'metform' ),
143
+ 'return_value' => 'today',
144
+ 'default' => 'no',
145
+ ]
146
+ );
147
+
148
  $this->add_control(
149
  'mf_input_min_date',
150
  [
151
+ 'label' => esc_html__( 'Set minimum date manually', 'metform' ),
152
  'type' => Controls_Manager::DATE_TIME,
153
  'picker_options' => [
154
  'enableTime' => false,
155
  ],
156
+
157
+ 'condition' => [
158
+ 'mf_input_min_date_today' => ''
159
+ ]
160
  ]
161
  );
162
 
163
  $this->add_control(
164
  'mf_input_max_date',
165
  [
166
+ 'label' => esc_html__( 'Set maximum date manually', 'metform' ),
167
  'type' => Controls_Manager::DATE_TIME,
168
  'picker_options' => [
169
  'enableTime' => false,
546
  $current_date_mode = $mf_input_range_date && $mf_input_range_date == 'yes' ? 'range' : 'single';
547
 
548
  if ( 'yes' === $mf_input_date_with_time ) $mf_input_date_with_time = true;
549
+
550
+ $minDate = '';
551
+ if( !empty( $mf_input_min_date_today ) ) {
552
+ $minDate = $mf_input_min_date_today;
553
+ } else {
554
+ $minDate = $mf_input_min_date;
555
+ }
556
 
557
  $dateConfig = [
558
+ 'minDate' => $minDate,
559
  'maxDate' => $mf_input_max_date,
560
  'dateFormat' => $date_format,
561
  'enableTime' => $mf_input_date_with_time,
widgets/multi-select/multi-select.php CHANGED
@@ -38,7 +38,7 @@ Class MetForm_Input_Multi_Select extends Widget_Base{
38
  ]
39
  );
40
 
41
- $this->input_content_controls(['NO_PLACEHOLDER']);
42
 
43
  $input_fields = new Repeater();
44
 
@@ -169,6 +169,18 @@ Class MetForm_Input_Multi_Select extends Widget_Base{
169
 
170
  $this->end_controls_section();
171
 
 
 
 
 
 
 
 
 
 
 
 
 
172
  $this->start_controls_section(
173
  'help_text_section',
174
  [
@@ -242,6 +254,7 @@ Class MetForm_Input_Multi_Select extends Widget_Base{
242
  }
243
  }) : <?php echo json_encode( $mf_default_input_list ); ?>}
244
  name='<?php echo esc_attr($mf_input_name); ?>'
 
245
  options=${<?php echo json_encode($mf_input_list); ?>}
246
  onChange=${(el) => {
247
  setValue("<?php echo esc_attr($mf_input_name); ?>", '');
38
  ]
39
  );
40
 
41
+ $this->input_content_controls();
42
 
43
  $input_fields = new Repeater();
44
 
169
 
170
  $this->end_controls_section();
171
 
172
+ $this->start_controls_section(
173
+ 'placeholder_section',
174
+ [
175
+ 'label' => esc_html__( 'Place Holder', 'metform' ),
176
+ 'tab' => Controls_Manager::TAB_STYLE,
177
+ ]
178
+ );
179
+
180
+ $this->input_place_holder_controls();
181
+
182
+ $this->end_controls_section();
183
+
184
  $this->start_controls_section(
185
  'help_text_section',
186
  [
254
  }
255
  }) : <?php echo json_encode( $mf_default_input_list ); ?>}
256
  name='<?php echo esc_attr($mf_input_name); ?>'
257
+ placeholder="<?php echo \MetForm\Utils\Util::react_entity_support( esc_html($mf_input_placeholder), $render_on_editor ); ?>"
258
  options=${<?php echo json_encode($mf_input_list); ?>}
259
  onChange=${(el) => {
260
  setValue("<?php echo esc_attr($mf_input_name); ?>", '');
widgets/recaptcha/recaptcha.php CHANGED
@@ -24,6 +24,10 @@ Class MetForm_Input_Recaptcha extends Widget_Base{
24
  public function get_keywords() {
25
  return ['metform', 'input', 'captcha', 'recaptcha', 'google'];
26
  }
 
 
 
 
27
 
28
  protected function register_controls() {
29
  $this->start_controls_section(
24
  public function get_keywords() {
25
  return ['metform', 'input', 'captcha', 'recaptcha', 'google'];
26
  }
27
+
28
+ public function get_script_depends() {
29
+ return ['recaptcha-support'];
30
+ }
31
 
32
  protected function register_controls() {
33
  $this->start_controls_section(
widgets/time/time.php CHANGED
@@ -189,13 +189,24 @@ Class MetForm_Input_Time extends Widget_Base{
189
 
190
  <${props.Flatpickr}
191
  name="<?php echo esc_attr( $mf_input_name ); ?>"
192
- className="mf-input mf-date-input mf-left-parent <?php echo esc_attr( $class ); ?>"
193
  placeholder="<?php echo \MetForm\Utils\Util::react_entity_support( esc_html($mf_input_placeholder), $render_on_editor ); ?>"
194
  options=${<?php echo json_encode( $timeConfig ); ?>}
195
  value=${parent.getValue('<?php echo esc_attr( $mf_input_name ); ?>')}
196
  onInput=${parent.handleDateTime}
197
  aria-invalid=${validation.errors['<?php echo esc_attr( $mf_input_name ); ?>'] ? 'true' : 'false'}
198
- ref=${register({ name: "<?php echo esc_attr($mf_input_name); ?>" }, parent.activateValidation(<?php echo json_encode($configData); ?>))}
 
 
 
 
 
 
 
 
 
 
 
199
  />
200
 
201
  <?php if ( !$is_edit_mode ) : ?>
189
 
190
  <${props.Flatpickr}
191
  name="<?php echo esc_attr( $mf_input_name ); ?>"
192
+ className="mf-input mf-date-input mf-time-input mf-left-parent <?php echo esc_attr( $class ); ?>"
193
  placeholder="<?php echo \MetForm\Utils\Util::react_entity_support( esc_html($mf_input_placeholder), $render_on_editor ); ?>"
194
  options=${<?php echo json_encode( $timeConfig ); ?>}
195
  value=${parent.getValue('<?php echo esc_attr( $mf_input_name ); ?>')}
196
  onInput=${parent.handleDateTime}
197
  aria-invalid=${validation.errors['<?php echo esc_attr( $mf_input_name ); ?>'] ? 'true' : 'false'}
198
+ ref=${
199
+ el => {
200
+ if( el && el.node.nextSibling ) {
201
+ if( el.props.value.trim().length ) {
202
+ el.node.nextSibling.classList.add('value-found');
203
+ }else {
204
+ el.node.nextSibling.classList.remove('value-found');
205
+ }
206
+ }
207
+ register({ name: "<?php echo esc_attr($mf_input_name); ?>" }, parent.activateValidation(<?php echo json_encode($configData); ?>))
208
+ }
209
+ }
210
  />
211
 
212
  <?php if ( !$is_edit_mode ) : ?>