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 | Metform Elementor Contact Form Builder – Flexible and Design-Friendly Contact Form builder plugin for WordPress |
Version | 1.6.0 |
Comparing to | |
See all releases |
Code changes from version 1.5.6 to 1.6.0
- core/admin/base.php +35 -28
- core/integrations/onboard/assets/css/admin-style.css +1 -0
- core/integrations/onboard/assets/css/onboard-icon.css +1 -0
- core/integrations/onboard/assets/fonts/xs-onboard-icons.eot +0 -0
- core/integrations/onboard/assets/fonts/xs-onboard-icons.svg +24 -0
- core/integrations/onboard/assets/fonts/xs-onboard-icons.ttf +0 -0
- core/integrations/onboard/assets/fonts/xs-onboard-icons.woff +0 -0
- core/integrations/onboard/assets/images/congrats-shape.png +0 -0
- core/integrations/onboard/assets/images/features/module-icon-01.png +0 -0
- core/integrations/onboard/assets/images/features/module-icon-02.png +0 -0
- core/integrations/onboard/assets/images/features/module-icon-03.png +0 -0
- core/integrations/onboard/assets/images/features/module-icon-04.png +0 -0
- core/integrations/onboard/assets/images/features/module-icon-05.png +0 -0
- core/integrations/onboard/assets/images/pro-line-shape.png +0 -0
- core/integrations/onboard/assets/images/products/elementskit-logo.svg +60 -0
- core/integrations/onboard/assets/images/products/fundraising-logo.png +0 -0
- core/integrations/onboard/assets/images/products/metform-logo.png +0 -0
- core/integrations/onboard/assets/images/products/shopengine-logo.png +0 -0
- core/integrations/onboard/assets/images/products/ultimate-review-logo.png +0 -0
- core/integrations/onboard/assets/images/products/wp-social-logo.png +0 -0
- core/integrations/onboard/assets/images/shape-01.png +0 -0
- core/integrations/onboard/assets/images/shape-02.png +0 -0
- core/integrations/onboard/assets/images/shape-03.png +0 -0
- core/integrations/onboard/assets/images/shape-04.png +0 -0
- core/integrations/onboard/assets/images/shape-05.png +0 -0
- core/integrations/onboard/assets/images/shape-06.png +0 -0
- core/integrations/onboard/assets/images/shape-07.png +0 -0
- core/integrations/onboard/assets/images/shape-08.png +0 -0
- core/integrations/onboard/assets/images/shape-09.png +0 -0
- core/integrations/onboard/assets/images/shape-10.png +0 -0
- core/integrations/onboard/assets/images/shape-11.png +0 -0
- core/integrations/onboard/assets/images/shape-12.png +0 -0
- core/integrations/onboard/assets/images/shape-13.png +0 -0
- core/integrations/onboard/assets/images/shape-14.png +0 -0
- core/integrations/onboard/assets/images/shape-15.png +0 -0
- core/integrations/onboard/assets/images/shape-16.png +0 -0
- core/integrations/onboard/assets/images/shape-17.png +0 -0
- core/integrations/onboard/assets/images/shape-18.png +0 -0
- core/integrations/onboard/assets/images/shape-19.png +0 -0
- core/integrations/onboard/assets/images/shape-20.png +0 -0
- core/integrations/onboard/assets/images/shape-21.png +0 -0
- core/integrations/onboard/assets/images/shape-22.png +0 -0
- core/integrations/onboard/assets/images/step-2-shape.png +0 -0
- core/integrations/onboard/assets/images/tutorial-banner.png +0 -0
- core/integrations/onboard/assets/js/metform-onboard.js +1 -0
- core/integrations/onboard/attr.php +51 -0
- core/integrations/onboard/classes/ajax.php +48 -0
- core/integrations/onboard/classes/plugin-data-sender.php +104 -0
- core/integrations/onboard/classes/plugin-status.php +124 -0
- core/integrations/onboard/classes/utils.php +86 -0
- core/integrations/onboard/controls/settings/color.php +14 -0
- core/integrations/onboard/controls/settings/date.php +16 -0
- core/integrations/onboard/controls/settings/hidden.php +5 -0
- core/integrations/onboard/controls/settings/radio.php +25 -0
- core/integrations/onboard/controls/settings/switch.php +52 -0
- core/integrations/onboard/controls/settings/text.php +14 -0
- core/integrations/onboard/onboard.php +119 -0
- core/integrations/onboard/views/layout-onboard.php +76 -0
- core/integrations/onboard/views/onboard-steps/step-01.php +38 -0
- core/integrations/onboard/views/onboard-steps/step-02.php +30 -0
- core/integrations/onboard/views/onboard-steps/step-03.php +77 -0
- core/integrations/onboard/views/onboard-steps/step-04.php +38 -0
- core/integrations/onboard/views/onboard-steps/step-05.php +41 -0
- core/integrations/onboard/views/onboard-steps/step-06.php +13 -0
- core/integrations/onboard/views/settings-sections/dashboard.php +161 -0
- core/integrations/onboard/views/settings-sections/modules.php +45 -0
- core/integrations/onboard/views/settings-sections/usersettings.php +646 -0
- core/integrations/onboard/views/settings-sections/widgets.php +41 -0
- languages/metform.pot +508 -23
- metform.php +1 -1
- plugin.php +15 -4
- public/assets/js/app.js +4 -4
- readme.txt +6 -1
core/admin/base.php
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
<?php
|
2 |
namespace MetForm\Core\Admin;
|
|
|
|
|
|
|
3 |
defined( 'ABSPATH' ) || exit;
|
4 |
|
5 |
/**
|
@@ -30,45 +33,49 @@ class Base {
|
|
30 |
|
31 |
public function register_settings_contents__settings(){
|
32 |
|
33 |
-
|
34 |
-
|
35 |
-
|
|
|
|
|
|
|
36 |
|
37 |
-
|
38 |
-
|
39 |
|
40 |
-
|
41 |
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
|
51 |
-
|
52 |
-
|
53 |
|
54 |
-
|
55 |
|
56 |
-
|
57 |
|
58 |
-
|
59 |
-
|
60 |
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
|
71 |
-
|
|
|
72 |
}
|
73 |
|
74 |
public function get_settings_option($key = null , $default = null){
|
1 |
<?php
|
2 |
namespace MetForm\Core\Admin;
|
3 |
+
|
4 |
+
use MetForm\Core\Integrations\Onboard\Onboard;
|
5 |
+
|
6 |
defined( 'ABSPATH' ) || exit;
|
7 |
|
8 |
/**
|
33 |
|
34 |
public function register_settings_contents__settings(){
|
35 |
|
36 |
+
if(isset($_GET['met-onboard-steps']) && $_GET['met-onboard-steps'] == 'loaded') {
|
37 |
+
Onboard::instance()->views();
|
38 |
+
} else {
|
39 |
+
$code = '';
|
40 |
+
$disabledAttr = '';
|
41 |
+
$selectTheTab= false;
|
42 |
|
43 |
+
if(did_action('xpd_metform_pro/plugin_loaded')) {
|
44 |
+
#Must be pro loaded....
|
45 |
|
46 |
+
if(!empty($_REQUEST['code']) && !empty($_REQUEST['state'])) {
|
47 |
|
48 |
+
$code = $_REQUEST['code'];
|
49 |
+
$nonce = $_REQUEST['state'];
|
50 |
+
$option = get_option(\MetForm_Pro\Core\Integrations\Aweber::NONCE_VERIFICATION_KEY);
|
51 |
|
52 |
+
if($option == $nonce) {
|
53 |
+
update_option(\MetForm_Pro\Core\Integrations\Aweber::NONCE_VERIFICATION_KEY, '');
|
54 |
+
update_option(\MetForm_Pro\Core\Integrations\Aweber::AUTHORIZATION_CODE_KEY, $code);
|
55 |
+
}
|
56 |
|
57 |
+
$disabledAttr = 'disabled';
|
58 |
+
$selectTheTab = true;
|
59 |
|
60 |
+
} else {
|
61 |
|
62 |
+
$code = get_option(\MetForm_Pro\Core\Integrations\Aweber::AUTHORIZATION_CODE_KEY);
|
63 |
|
64 |
+
$disabledAttr = empty($code)? '': 'disabled';
|
65 |
+
}
|
66 |
|
67 |
+
if(!empty($_REQUEST['code']) && empty($_REQUEST['state'])) {
|
68 |
+
$google = new \MetForm_Pro\Core\Integrations\Google_Sheet\Google_Access_Token;
|
69 |
+
$access_code = $google->get_access_token();
|
70 |
|
71 |
+
$access_code !== false ? update_option('wf_google_access_token', $access_code['body']) : null;
|
72 |
+
}
|
73 |
+
}
|
74 |
+
#Let check if this is returned from aweber..
|
75 |
+
#Give state check
|
76 |
|
77 |
+
include('views/settings.php');
|
78 |
+
}
|
79 |
}
|
80 |
|
81 |
public function get_settings_option($key = null , $default = null){
|
core/integrations/onboard/assets/css/admin-style.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.attr-nav-tabs .mf-admin-nav-link{display:-webkit-box;display:-ms-flexbox;display:flex;padding:16px 44px 18px 20px;color:#121116;border-top:1px solid #e0e4e9;border-left:2px solid transparent;-webkit-transition:all .1s ease-out;transition:all .1s ease-out;background-color:#f1f1f1;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-transition:all .4s ease;transition:all .4s ease;border-radius:0}.attr-nav-tabs .mf-admin-nav-link .mf-admin-title{font-size:.8125rem;font-weight:700;color:#121116;display:block;margin-bottom:2px;line-height:1}.attr-nav-tabs .mf-admin-nav-link .mf-admin-subtitle{color:#72777c;font-size:.8125rem;-webkit-transition:all 150ms ease-out;transition:all 150ms ease-out}.attr-nav-tabs .mf-admin-nav-link .mf-admin-tab-icon{color:#72777c;font-size:1.4375rem;-webkit-transition:all .4s ease;transition:all .4s ease}.attr-nav-tabs .attr-active>a,.attr-nav-tabs>li>a:focus,.attr-nav-tabs>li>a:hover{background-color:#fff;border-left-color:#f2295b}.attr-nav-tabs .attr-active>a .mf-admin-tab-icon,.attr-nav-tabs .attr-active>a .mf-admin-title,.attr-nav-tabs>li>a:focus .mf-admin-tab-icon,.attr-nav-tabs>li>a:focus .mf-admin-title,.attr-nav-tabs>li>a:hover .mf-admin-tab-icon,.attr-nav-tabs>li>a:hover .mf-admin-title{color:#f2295b}.mf-admin-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding-bottom:9px;border-bottom:1px solid #e0e4e9;margin-bottom:8px}.mf-admin-header-title{font-size:1rem;font-weight:700;color:#f2295b;margin-bottom:0}.mf-admin-help{color:#0073aa;font-weight:700;font-size:.75rem}.mf-admin-help>i{padding-right:5px}.mf-admin-input-switch{position:relative;display:block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;line-height:1;-ms-flex-item-align:end;align-self:flex-end}#v-elementskit-dashboard>.mf-admin-section-header>.mf-admin-input-switch{display:none}.mf-admin-input-switch .mf-admin-control-input:checked~.mf-admin-control-label .mf-admin-control-label-switch::after{left:30px;background-color:#f2295b;color:#f2295b}.mf-admin-input-switch .mf-admin-control-input:checked~.mf-admin-control-label .mf-admin-control-label-switch::before{border-color:#f2295b;text-indent:52px}.mf-admin-input-switch .mf-admin-control-label{cursor:pointer;margin-bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mf-admin-input-switch .mf-admin-control-label-switch{position:relative;overflow:hidden;width:52px;height:26px;display:inline-block;margin-left:10px}.mf-admin-input-switch .mf-admin-control-label-switch::after,.mf-admin-input-switch .mf-admin-control-label-switch::before{position:absolute;-webkit-transition:all .3s cubic-bezier(.22,.61,.36,1);transition:all .3s cubic-bezier(.22,.61,.36,1);font-weight:700;font-size:.6875rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box}.mf-admin-input-switch .mf-admin-control-label-switch::before{content:attr(data-inactive);top:0;left:0;width:100%;height:100%;background-color:#fff;border:#444 solid 1px;border-radius:26px;text-indent:24px}.mf-admin-input-switch .mf-admin-control-label-switch::after{position:absolute;top:4px;left:4px;display:block;content:attr(data-active);width:18px;height:18px;background-color:#444;border-radius:100%;-webkit-transition:all .3s cubic-bezier(.22,.61,.36,1);transition:all .3s cubic-bezier(.22,.61,.36,1);text-indent:-22px;display:-webkit-box;display:-ms-flexbox;display:flex}.mf-admin-input-switch .mf-admin-control-input{opacity:0;z-index:-1;position:absolute}.mf-admin-section-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;position:relative;border-bottom:1px solid #e0e4e9;padding-bottom:24px;margin-bottom:48px}.mf-admin-section-header::before{content:"";position:absolute;display:block;width:48px;height:2px;bottom:-1px;left:0;background:#f2295b}.mf-admin-section-heaer-title{position:relative;font-size:1.625rem;font-weight:600;margin-bottom:0;line-height:1}.mf-admin-section-heaer-title::before{content:"\f15b";font-family:FontAwesome;display:inline-block;width:48px;height:48px;line-height:48px;margin-right:24px;background-color:#fee9ee;color:#f2295b;text-align:center;border-radius:3px;vertical-align:middle;font-size:20px}.mf-admin-fields-container{font-size:.875rem;color:#666}.custom-control .custom-control-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;color:#121116;font-size:.875rem}.custom-control .custom-control-input:checked~.custom-control-label::before{border-color:#19073b;background-color:#19073b;-webkit-transform:scale(1);transform:scale(1)}.custom-control .custom-control-input:checked~.custom-control-label::after{-webkit-transform:scale(1);transform:scale(1)}.custom-control .custom-control-input .custom-control-label::after,.custom-control .custom-control-input .custom-control-label::before{-webkit-transform:scale(0);transform:scale(0);-webkit-transition:all .4s ease;transition:all .4s ease}.custom-control .custom-control-input .custom-control-label::after{background-repeat:no-repeat;background-position:center center;background-size:50% 50%}.mf-admin-fields-container-fieldset{margin-top:16px}.attr-nav-tabs{margin-top:0}.attr-nav-tabs>li{width:100%}.attr-nav-tabs>li>a{margin-right:0}@media (min-width:992px){.mf-admin-right-content{width:70%}}@media (min-width:992px) and (max-width:1199px){.mf-admin-right-content{width:100%;padding:0}.mf-admin-feature-request-section .mf-admin-right-content,.mf-admin-support-section .mf-admin-right-content{padding-left:20px}#v-elementskit-userdata .mf-admin-fields-container{max-width:75%}.mf-admin-rate-now-section .mf-admin-right-content{padding-bottom:20px}.mf-admin-fields-container-description{width:100%!important}.mf-admin-section-header{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.mf-admin-section-heaer-title{-webkit-box-pack:start!important;-ms-flex-pack:start!important;justify-content:start!important}.mf-admin-input-switch{-ms-flex-item-align:start;align-self:flex-start}.mf-all-element-switch{margin:15px 0!important;min-width:215px!important}.mf-all-element-switch .mf-admin-control-label{padding:7px 0!important}}@media screen and (min-device-width:1200px) and (max-device-width:1600px){body .metform-onboard-dashboard .mf-onboard-step-04 img{display:none}body .metform-onboard-dashboard .mf-onboard-step-04 .shape-17{display:block}}@media (max-width:991px){.mf-admin-fields-container-description{width:100%}.mf-admin-right-content{width:100%;padding:0}.mf-admin-feature-request-section .mf-admin-right-content,.mf-admin-support-section .mf-admin-right-content{padding-left:20px}#v-elementskit-userdata .mf-admin-fields-container{max-width:75%}.mf-admin-section-header{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.mf-admin-section-heaer-title{-webkit-box-pack:start!important;-ms-flex-pack:start!important;justify-content:start!important}.mf-admin-input-switch{-ms-flex-item-align:start;align-self:flex-start}.mf-all-element-switch{margin:15px 0!important;min-width:215px!important}.mf-all-element-switch .mf-admin-control-label{padding:7px 0!important}body .metform-onboard-dashboard img{max-width:100%}body .metform-onboard-dashboard .mf-onboard-step-2-inner{padding:0}body .metform-onboard-dashboard .mf-onboard-nav-item{width:100%;margin-bottom:10px!important}body .metform-onboard-dashboard .mf-onboard-nav-item:last-child{margin-bottom:0}body .metform-onboard-dashboard .mf-onboard-step-02:before{display:none}body .metform-onboard-dashboard .mf-onboard-nav .mf-onboard-progressbar{display:none}body .metform-onboard-dashboard .mf-onboard-step-wrapper{padding:0 55px}body .metform-onboard-dashboard .metform-onboard-dashboard .mf-onboard-tutorial{padding:50px 0}body .metform-onboard-dashboard .metform-onboard-dashboard .mf-onboard-module-meta li{display:block}body .metform-onboard-dashboard .mf-onboard-step-04 .shape-07{display:none}body .metform-onboard-dashboard .mf-onboard-plugin-list .attr-row>div{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%}}@media (max-width:480px){.mf-admin-video-tutorial-iframe iframe{max-width:300px;height:auto}.mf-admin-video-tutorial-list a h2{font-size:16px}.mf_accordion_card:not(:last-child){margin-bottom:15px}.mf_accordion_card .attr-btn{padding:16px;font-size:12px;padding-left:20px}.mf-admin-right-content--link{font-size:12px;padding:10px 15px}.mf-admin-right-content--heading h2{font-size:20px}.mf-admin-right-content--heading__sub-title{font-size:50px}.mf-admin-right-content p{font-size:16px;line-height:25px}.mf-admin-right-content--form input{height:50px;padding:0 25px}.mf-admin-right-content--form button{width:45px;height:45px}.mf-admin-section-heaer-title{margin-bottom:10px;font-size:14px}.mf-admin-input-switch .mf-admin-settings-form-submit{font-size:12px;padding:9px 18px}.mf-admin-section-header{font-size:15px}.mf-admin-section-header .mf-admin-input-switch{-ms-flex-item-align:center;align-self:center}.mf_accordion_card .attr-panel-body{padding:20px}.mf-admin-fields-container-description{font-size:15px;line-height:22px}#v-elementskit-userdata .mf-admin-fields-container{max-width:100%}#v-elementskit-userdata::before{background-size:contain;width:100%;height:100%}.mf-admin-section{padding:30px 0}.mf-admin-video-tutorial-list{display:block}.mf-admin-video-tutorial-list .mf-admin-video-tutorial-item{margin-bottom:15px}.mf-admin-video-tutorial-list .mf-admin-video-tutorial-item:last-child{margin-bottom:0}.mf-admin-dual-layout{display:block}.mf-admin-dual-layout.mf-admin-rate-now-section .mf-admin-left-thumb,.mf-admin-dual-layout.mf-admin-subscribed-section .mf-admin-left-thumb{margin:0;margin-top:50px}.mf-admin-dual-layout .mf-admin-left-thumb{margin-bottom:50px}body .metform-onboard-dashboard .mf-onboard-step-wrapper{padding:0}body .metform-onboard-dashboard .mf-onboard-shapes{display:none}body .metform-onboard-dashboard .mf-onboard-main-header--title{font-size:30px;line-height:35px!important}body .metform-onboard-dashboard .mf-onboard-main-header--title br{display:none}body .metform-onboard-dashboard .mf-onboard-main-header--description{font-size:16px;line-height:25px}body .metform-onboard-dashboard .mf-onboard-section{padding:30px}body .metform-onboard-dashboard .mf-onboard-btn{padding:10px 30px}body .metform-onboard-dashboard .mf-onboard-single-plugin label{-webkit-box-align:center;-ms-flex-align:center;align-items:center}body .metform-onboard-dashboard .mf-onboard-single-plugin--description{text-align:center}body .metform-onboard-dashboard .mf-onboard-tutorial{padding:35px 15px}body .metform-onboard-dashboard .mf-onboard-module-meta li{display:block;margin:0;margin-bottom:10px}body .metform-onboard-dashboard .mf-onboard-modules li{margin-right:0;display:block}body .metform-onboard-dashboard .mf-onboard-plugin-list .attr-row>div{-webkit-box-flex:100%;-ms-flex:100%;flex:100%}body .metform-onboard-dashboard .mf-onboard-tut-term--helptext{padding-right:0}}body.toplevel_page_elementskit{overflow-y:scroll}#mf-admin-settings-form{margin-top:30px}.mf_tab_wraper_group{margin-right:0;margin-left:0}.mf_tab_wraper_group>div:first-of-type{padding-right:0}.mf_tab_wraper_group>div:last-of-type{padding-left:0}.mf_tab_wraper_group .attr-tab-pane{min-height:500px}.attr-tab-content{background-color:#fff;padding:30px;border-radius:20px}.mf-admin-section-heaer-title{margin-top:0;color:#f2295b;font-size:24px;line-height:28px;font-weight:700;vertical-align:middle;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mf-admin-section-heaer-title i{font-size:18px;line-height:18px!important;color:#f2295b;width:40px;height:40px;background-color:#fde9ee;border-radius:5px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle;text-align:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-right:13px}.mf-admin-nav .attr-nav-tabs{border:none}.mf-admin-nav li{background-color:#fff}.mf-admin-nav li.attr-active{border-top-left-radius:10px;border-bottom-left-radius:10px}.mf-admin-nav li.attr-active .mf-admin-nav-link{border-radius:10px}.mf-admin-nav li.attr-active .mf-admin-nav-link::before{content:"";background-color:#f2295b;height:10px;width:10px;position:absolute;left:17px;border-radius:100px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.mf-admin-nav li.attr-active .mf-admin-nav-link:hover{background-color:#fff}.mf-admin-nav .mf-admin-nav-link{text-decoration:none;border:none;padding:23px 40px}.mf-admin-nav .mf-admin-nav-link .mf-admin-tab-icon{color:#121116}.mf-admin-nav .mf-admin-nav-link.top{border-bottom-right-radius:30px}.mf-admin-nav .mf-admin-nav-link.bottom{border-top-right-radius:30px}.mf-admin-nav .mf-admin-nav-link.mf-admin-nav-hidden{background-color:#f1f1f1;cursor:default;padding:15px;pointer-events:none}.mf-admin-nav .mf-admin-nav-link:hover{background-color:#f1f1f1}.mf-admin-nav .mf-admin-nav-link:focus{outline:0;-webkit-box-shadow:none;box-shadow:none}.mf-admin-nav .mf-admin-title{text-transform:uppercase;color:#f2295b;font-size:14px;line-height:16px;font-weight:700}.attr-btn{cursor:pointer}.metform_container{width:100%}.mf-admin-card-shadow{border-radius:3px;border:1px solid rgba(0,0,0,.05);-webkit-box-shadow:0 6px 20px 0 rgba(194,204,222,.3);box-shadow:0 6px 20px 0 rgba(194,204,222,.3)}#mf-admin-settings-form .mf-admin-card{margin-bottom:50px;border-radius:20px}.attr-input-switch{margin-bottom:10px;position:relative}.mf-admin-input-switch .mf-admin-control-label{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-weight:600;font-size:14px;line-height:16px;color:#121116;padding:23px 26px}.mf-all-element-switch{width:23%;display:inline-block;margin:auto 1rem 0 auto;color:#fff;min-width:277px}.mf-all-element-switch .mf-admin-input-switch{padding:0}.mf-all-element-switch .mf-admin-control-label{padding:7px 26px}.mf-admin-input-text{margin-bottom:0;margin-top:0!important}.mf-admin-input-text:not(:last-child){margin-bottom:0}.mf-admin-input-text>label{font-weight:700;margin-bottom:7px;display:inline-block;color:#121116;font-size:14px;line-height:16px}.mf-admin-input-text .attr-form-control{border-radius:5px;padding:8px 30px;height:54px;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:14px;line-height:28px;display:inline-block;color:rgba(18,17,22,.4);border:none;-webkit-box-shadow:none;box-shadow:none;color:#121116}.mf-admin-input-text .attr-form-control:focus{border:1px solid #f2295b;-webkit-box-shadow:none;box-shadow:none;outline:0}#mf-admin-license-form .attr-form-control{border-radius:3px;border:1px solid rgba(0,0,0,.05);-webkit-box-shadow:0 6px 20px 0 rgba(194,204,222,.3);box-shadow:0 6px 20px 0 rgba(194,204,222,.3)}.mf-admin-license-form-submit{border-radius:5px;padding:8px 30px;height:54px;-webkit-box-sizing:border-box;box-sizing:border-box}.mf_logo{padding-top:35px}.mf-admin-input-text .attr-form-control::-moz-placeholder{color:rgba(0,0,0,.3)}.mf-admin-input-text .attr-form-control:-moz-placeholder{color:rgba(0,0,0,.3)}.mf-admin-input-text .attr-form-control:-ms-input-placeholder{color:rgba(0,0,0,.3)}.mf-admin-input-text .attr-form-control::-webkit-input-placeholder{color:rgba(0,0,0,.3)}.mf_accordion_card{background-color:#f5f5f5;border-radius:20px}.mf_accordion_card:not(:last-child){margin-bottom:30px}.mf_accordion_card .mf-admin-input-text:not(:last-child){margin-bottom:30px}.mf_accordion_card .attr-panel-body{padding:30px;padding-top:0}.mf_accordion_card .card-header{padding:0;border-bottom:0 solid #000}.mf_accordion_card .attr-btn{display:block;text-decoration:none;width:100%;text-align:left;padding:29px 30px;color:#333;font-weight:700;cursor:pointer;font-size:14px;line-height:16px;text-transform:uppercase;position:relative;-webkit-transition:all .4s;transition:all .4s}.mf_accordion_card .attr-btn::before{content:"\f107";color:#121116;font-size:16px;font-family:fontawesome;position:absolute;right:30px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.mf_accordion_card .attr-btn[aria-expanded=true]{color:#f2295b}.mf_accordion_card .attr-btn[aria-expanded=true]::before{content:"\f106";color:#f2295b}.mf_accordion_card .attr-btn:focus{-webkit-box-shadow:none;box-shadow:none}.mf_accordion_card .attr-panel-heading{padding:0;border-radius:0}.mf_accordion_card .attr-widget-activate-text{text-transform:none;border:1px solid #333;padding:0 6px 1px;border-radius:5px;margin-left:5px}[class^=attr]{-webkit-box-sizing:border-box;box-sizing:border-box}.attr-btn-primary{color:#fff;background-color:#f2295b;border-color:#f2295b;text-decoration:none}.attr-btn-primary:focus,.attr-btn-primary:hover{background-color:#f2295b;border-color:#f2295b;outline:0}.attr-card-body{padding:1.25rem}.attr-card-body .attr-card-title{margin-top:0;margin-bottom:.75rem}.mf-admin-dashboard-banner{display:block}.mf-admin-save-icon{color:#fff;font-size:14px;margin-right:6px;height:14px;width:14px}.mf-admin-input-switch .mf-admin-settings-form-submit{background-color:#f2295b;border-radius:27px;-webkit-box-shadow:0 7px 15px rgba(242,41,91,.3);box-shadow:0 7px 15px rgba(242,41,91,.3);font-size:14px;line-height:16px;text-transform:uppercase;color:#fff;font-weight:700;border:none;padding:12px 23px;-webkit-transition:all .4s;transition:all .4s;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mf-admin-input-switch .mf-admin-settings-form-submit:focus,.mf-admin-input-switch .mf-admin-settings-form-submit:hover{background-color:#ad0730;outline:0}.mf-admin-section-header{padding-bottom:17px;margin-bottom:30px}.mf-admin-section-header.fixed{position:fixed;top:0;padding-top:30px;background-color:#fff;z-index:1}.mf-admin-section-header.fixed+div{margin-top:90px}.mf-admin-dual-layout{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mf-admin-dual-layout .mf-admin-right-content{margin:0}.mf-admin-dual-layout .mf-admin-right-content--heading__sub-title{left:0;-webkit-transform:inherit;transform:inherit}.mf-admin-section{padding:50px 30px}.mf-admin-section:last-of-type{padding-bottom:0}.mf-admin-right-content{padding:0 50px;width:50%;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0 auto}.mf-admin-right-content p{color:#121116;font-size:18px;line-height:28px}.mf-admin-right-content p:last-of-type{margin-bottom:0}.mf-admin-right-content--form{position:relative;max-width:300px}.mf-admin-right-content--form input{height:54px;background-color:#2d3cfe;border:none;-webkit-box-shadow:none;box-shadow:none;border-radius:27px;padding:0 30px;color:#fff;font-size:14px;-webkit-box-shadow:0 7px 15px rgba(45,60,254,.3);box-shadow:0 7px 15px rgba(45,60,254,.3);padding-right:70px}.mf-admin-right-content--form input::-webkit-input-placeholder{color:#fff;opacity:.5}.mf-admin-right-content--form input::-moz-placeholder{color:#fff;opacity:.5}.mf-admin-right-content--form input:-ms-input-placeholder{color:#fff;opacity:.5}.mf-admin-right-content--form input::-ms-input-placeholder{color:#fff;opacity:.5}.mf-admin-right-content--form input::placeholder{color:#fff;opacity:.5}.mf-admin-right-content--form input:focus{outline:0;border:none;-webkit-box-shadow:0 7px 15px rgba(45,60,254,.3);box-shadow:0 7px 15px rgba(45,60,254,.3)}.mf-admin-right-content--form button{width:48px;height:48px;background-color:#fff;border-radius:100px;color:#2d3cfe;position:absolute;right:2px;top:50%;border-color:transparent;-webkit-transition:all .4s;transition:all .4s;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.mf-admin-right-content--form button:focus,.mf-admin-right-content--form button:hover{outline:0;-webkit-box-shadow:none;box-shadow:none;background-color:inherit;border:1px solid #fff}.mf-admin-right-content--form button i{font-size:18px;line-height:16px}.mf-admin-right-content--heading{position:relative}.mf-admin-right-content--heading h2{color:#f2295b;font-size:24px;line-height:28px;font-weight:700;letter-spacing:-1px}.mf-admin-right-content--heading__sub-title{font-size:60px;line-height:69px;color:#000;opacity:.05;letter-spacing:-1px;font-weight:700;position:absolute;bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.mf-admin-right-content--button,.mf-admin-right-content--form{margin-top:45px}.mf-admin-right-content--link{display:inline-block;border-radius:27px;background-color:#f2295b;-webkit-box-shadow:0 7px 15px rgba(242,41,91,.3);box-shadow:0 7px 15px rgba(242,41,91,.3);border:none;font-size:14px;line-height:16px;font-weight:700;text-transform:uppercase;padding:19px 34px;-webkit-transition:all .4s;transition:all .4s}.mf-admin-right-content--link i{margin-right:7px}.mf-admin-right-content--link:focus,.mf-admin-right-content--link:hover{background-color:#ad0730}.mf-admin-subscribed-section .mf-admin-right-content--heading h2{color:#2d3cfe}.mf-admin-support-section .mf-admin-right-content--heading h2{color:#00be75}.mf-admin-support-section .mf-admin-right-content--link{background-color:#00be75;-webkit-box-shadow:0 7px 15px rgba(0,190,117,.3);box-shadow:0 7px 15px rgba(0,190,117,.3)}.mf-admin-support-section .mf-admin-right-content--link:focus,.mf-admin-support-section .mf-admin-right-content--link:hover{background-color:#108458}.mf-admin-subscribed-section,.mf-admin-support-section{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.mf-admin-rate-now-section{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.mf-admin-rate-now-section .mf-admin-right-content p span{color:#fec42d}.mf-admin-rate-now-section .mf-admin-right-content--heading h2{color:#fec42d}.mf-admin-rate-now-section .mf-admin-right-content--link{background-color:#fec42d;-webkit-box-shadow:0 7px 15px rgba(254,196,45,.3);box-shadow:0 7px 15px rgba(254,196,45,.3)}.mf-admin-rate-now-section .mf-admin-right-content--link:focus,.mf-admin-rate-now-section .mf-admin-right-content--link:hover{background-color:#dea203}.mf-admin-except-title p{font-size:24px;line-height:25px}.mf-admin-except-title p span{display:block;font-weight:700}.mf-admin-left-thumb img{max-width:100%}.mf-admin-faq-section .mf-admin-accordion{max-width:700px;margin:0 auto;margin-top:30px}.mf-admin-single-accordion{background-color:#fff;-webkit-box-shadow:0 7px 15px rgba(0,0,0,.07);box-shadow:0 7px 15px rgba(0,0,0,.07);margin:10px 0}.mf-admin-single-accordion.active .mf-admin-single-accordion--heading::after{content:"\f106";color:#f2295b}.mf-admin-single-accordion--heading{cursor:pointer;margin:0;color:#121116;font-size:14px;line-height:20px;padding:18px 20px;position:relative}.mf-admin-single-accordion--heading::after{content:"\f107";font-family:fontawesome;position:absolute;right:30px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-size:12px}.mf-admin-single-accordion--body{padding:0;display:none}.mf-admin-single-accordion--body__content{padding:30px;padding-top:0}.mf-admin-single-accordion--body p{margin:0}.mf-admin-video-tutorial-list{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-top:30px}.mf-admin-video-tutorial-list a{text-decoration:none}.mf-admin-video-tutorial-list a h2{font-size:18px;line-height:20px;text-align:center;display:block}.mf-admin-video-tutorial-list .tutorial-thumb{position:relative}.mf-admin-video-tutorial-list .tutorial-thumb::before{content:"";background-image:url(../images/video-icon.png);display:inline-block;height:30px;width:30px;background-color:#fff;padding:20px;background-repeat:no-repeat;border-radius:100px;-webkit-box-shadow:0 7px 15px rgba(0,0,0,.1);box-shadow:0 7px 15px rgba(0,0,0,.1);background-position:center;position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.mf-admin-video-tutorial-list .tutorial-thumb img{max-width:100%;display:block}.mf-admin-video-tutorial-popup{position:fixed;background-color:rgba(0,0,0,.5);width:100%;height:100%;left:0;top:0;overflow-y:auto;z-index:10000;opacity:0;visibility:hidden;-webkit-transition:all .4s;transition:all .4s}.mf-admin-video-tutorial-popup.show{opacity:1;visibility:visible}.mf-admin-video-tutorial-popup.show .mf-admin-video-tutorial-popup-content{-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}.mf-admin-video-tutorial-popup .mf-admin-video-tutorial-popup-content{position:absolute;top:50%;left:50%;-webkit-transition:all .7s;transition:all .7s;-webkit-transform:translate(-50%,-50%) scale(0);transform:translate(-50%,-50%) scale(0)}.mf-admin-video-tutorial-close{position:absolute;top:-10px;right:-6px;cursor:pointer;background-color:#ce1b04;border-radius:100px;width:30px;height:30px;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:center;line-height:33px}.mf-admin-video-tutorial-close i{color:#fff;font-size:20px}.mf-admin-access-token{text-decoration:none;color:#f2295b;text-align:right;display:block;font-size:16px;font-weight:600}.mf-admin-access-token:focus,.mf-admin-access-token:hover{color:#cd1c48;outline:0}#v-elementskit-userdata{padding-bottom:150px;position:relative;z-index:1}#v-elementskit-userdata .mf-admin-fields-container{max-width:60%}#v-elementskit-userdata::before{content:"";background-image:url(../images/user-data-thumb.png);position:absolute;display:block;bottom:0;right:0;height:281px;width:444px;display:block;background-repeat:no-repeat;background-position:right bottom;z-index:-1}.mf-admin-fields-container-description{font-size:18px;line-height:28px;color:#121116;width:55%;display:inline-block}#v-elementskit-elements .mf-admin-fields-container-fieldset,#v-elementskit-modules .mf-admin-fields-container-fieldset{margin-top:20px}#v-elementskit-elements .mf-admin-section-header,#v-elementskit-modules .mf-admin-section-header{margin-bottom:20px}.mf-admin-fields-container-fieldset .attr-row{margin-left:-12px;margin-right:-12px}.mf-admin-fields-container-fieldset .attr-row>div{padding:0 10px}.mf-admin-fields-container-fieldset .mf-admin-card-shadow{background-color:#fff;border-radius:10px;-webkit-box-shadow:none;box-shadow:none;border:1px solid #ededed;padding:0;margin:0;margin-bottom:20px}.mf-admin-fields-container-fieldset .mf-admin-card-shadow:hover{border-color:#f2295b}.mf-admin-fields-container-fieldset .attr-input-switch:hover .mf-admin-demo-tooltip{visibility:visible;opacity:1;top:-10px}.mf-admin-fields-container-fieldset .mf-admin-input-radio .mf-admin-control-input{opacity:1;position:static;z-index:1;-webkit-box-flex:0;-ms-flex:0 0 20px;flex:0 0 20px;width:20px;height:20px;-webkit-box-shadow:none;box-shadow:none;border:2px solid #ccced9;margin-top:26px;position:relative}.mf-admin-fields-container-fieldset .mf-admin-input-radio .mf-admin-control-input:checked{border-color:#fe0467}.mf-admin-fields-container-fieldset .mf-admin-input-radio .mf-admin-control-input:checked::before{background-color:#fe0467;height:10px;width:10px;margin:0;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);position:absolute}.mf-admin-fields-container-fieldset .mf-admin-input-radio .mf-admin-card-shadow{margin-bottom:10px;padding:0 0 0 26px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-shadow:0 1px 2px rgba(2,19,67,.1);box-shadow:0 1px 2px rgba(2,19,67,.1);border:1px solid transparent}.mf-admin-fields-container-fieldset .mf-admin-input-radio .mf-admin-card-shadow.active{-webkit-box-shadow:0 20px 30px rgba(2,19,67,.1);box-shadow:0 20px 30px rgba(2,19,67,.1);position:relative;z-index:1}.mf-admin-fields-container-fieldset .mf-admin-input-radio .mf-admin-card-shadow:hover{border-color:#fe0467}.mf-admin-fields-container-fieldset .mf-admin-input-radio .mf-admin-control-label{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;color:#021343;font-size:20px;line-height:12px;padding:29px 10px;display:block;font-weight:400;width:100%}.mf-admin-fields-container-fieldset .mf-admin-input-radio .mf-admin-control-desc{color:#5d5e65;font-size:14px;line-height:18px;font-weight:400;margin-top:11px;display:block}.mf-admin-user-data-separator{display:block;border:2px solid #fff;margin-bottom:30px;position:relative}.mf-admin-user-data-separator::before{content:"";width:40px;height:4px;background-color:#f2295b;display:block;position:absolute;top:-2px;left:-2px}.mf-admin-demo-tooltip{background-color:#121116;color:#fff;font-size:10px;line-height:13px;text-decoration:none;text-transform:uppercase;padding:2px 9px;border-radius:3px;display:inline-block;position:absolute;right:20px;top:0;opacity:0;visibility:hidden;-webkit-transition:all .4s;transition:all .4s}.mf-admin-demo-tooltip:focus,.mf-admin-demo-tooltip:hover{color:#fff;border:none;-webkit-box-shadow:none;box-shadow:none}.mf-admin-demo-tooltip::before{content:"";border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #121116;position:absolute;bottom:-8px;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.mf-admin-demo-tooltip i{margin-right:5px}.admin-bar .mf-admin-section-header.fixed{top:30px}.mf-go-pro-con{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.mf-go-pro-close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;border:none;background-color:transparent;position:relative;z-index:9;cursor:pointer}.mf-go-pro-close:focus{outline:0;border:none;-webkit-box-shadow:none;box-shadow:none}.attr-modal-dialog-centered{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.toplevel_page_elementskit.attr-modal-open .attr-modal{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.modal-backdrop{position:fixed;top:0;left:0;width:100vw;height:100vh;background-color:rgba(0,0,0,.5);z-index:1}.mf-admin-input-text--elementskit-license-key{display:block}.mf-admin-license-form-submit.btn-license-activate{background-color:#f2295b;border-radius:27px!important;-webkit-box-shadow:0 7px 15px rgba(242,41,91,.3);box-shadow:0 7px 15px rgba(242,41,91,.3);font-size:14px;line-height:16px;text-transform:uppercase;color:#fff;font-weight:700;border:none;padding:12px 23px;-webkit-transition:all .4s;transition:all .4s;margin-left:0!important;height:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mf-admin-license-form-submit.btn-license-activate:focus,.mf-admin-license-form-submit.btn-license-activate:hover{background-color:#ad0730;outline:0}.attr-input-group-btn{text-align:left;margin-top:0}.mf-spinner{width:13px!important;height:13px!important;top:0!important}.attr-modal-content{-webkit-box-shadow:none;box-shadow:none}.mf-go-pro-con .attr-modal-body{padding:30px}.mf-go-pro-con .attr-modal-body a{color:#f2295b}.mf-go-pro-con .attr-modal-body a:focus{outline:0;-webkit-box-shadow:none;box-shadow:none}.elementskit-template-save-btn-editor{background-color:#ccc;border:none;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#fff;border-radius:27px;-webkit-box-shadow:0 7px 15px rgba(204,204,204,.3);box-shadow:0 7px 15px rgba(204,204,204,.3);font-size:14px;line-height:16px;text-transform:uppercase;color:#fff;font-weight:700;border:none;padding:12px 23px;-webkit-transition:all .4s;transition:all .4s}.elementskit-template-save-btn-editor:active,.elementskit-template-save-btn-editor:focus,.elementskit-template-save-btn-editor:hover{color:#fff!important;background-color:#adadad!important;outline:0;border:none;-webkit-box-shadow:0 7px 15px rgba(204,204,204,.3)!important;box-shadow:0 7px 15px rgba(204,204,204,.3)!important}.elementskit-template-save-btn-editor img{max-width:14px;margin-right:5px}.elementskit-template-save-btn{background-color:#f2295b;border-radius:27px;-webkit-box-shadow:0 7px 15px rgba(242,41,91,.3);box-shadow:0 7px 15px rgba(242,41,91,.3);font-size:14px;line-height:16px;text-transform:uppercase;color:#fff;font-weight:700;border:none;padding:12px 23px;-webkit-transition:all .4s;transition:all .4s}.elementskit-template-save-btn:focus,.elementskit-template-save-btn:hover{background-color:#ad0730;outline:0}.attr-panel-heading.pro-disabled{position:relative;overflow:hidden;border-radius:20px!important}.attr-panel-heading.pro-disabled .attr-btn::before,.attr-panel-heading.widget-disabled .attr-btn::before{display:none}.attr-panel-heading.pro-disabled::after{background-color:#f2295b;background-image:none;-webkit-box-shadow:rgba(0,5,41,.1) 0 3px 7px 0;box-shadow:rgba(0,5,41,.1) 0 3px 7px 0;color:#fff;content:"PRO";display:block;font-size:10px;font-weight:600;height:25px;left:-41px;line-height:28px;padding-bottom:1px;padding-left:3px;padding-right:0;padding-top:1px;position:absolute;text-align:center;text-transform:uppercase;top:0;-webkit-transform:matrix(.707107,-.707107,.707107,.707107,0,0);transform:matrix(.707107,-.707107,.707107,.707107,0,0);width:100px}.modal-backdrop.attr-fade{position:fixed;top:0;left:0;width:100vw;height:100vh;background-color:rgba(0,0,0,.5)}.mf-go-pro-con{margin-top:50px}.mf-go-pro-con .icon{font-size:90px;color:#f2295b;opacity:.3}.mf-go-pro-con h2{font-size:44px;margin:56px 0 34px 0}.mf-go-pro-con p{font-size:20px;font-weight:300;line-height:1.2}.mf-go-pro-con .attr-modal-body{padding:30px 15px}#v-elementskit-mf-go-pro-nav-tab .mf-admin-tab-icon{height:40px;overflow:visible}.mf-go-pro-gif{height:58px;position:absolute;top:9px;right:25px;-webkit-transform:rotate(32deg);transform:rotate(32deg);opacity:.55}.attr-nav-tabs>li>#v-elementskit-mf-go-pro-nav-tab:focus,.attr-nav-tabs>li>#v-elementskit-mf-go-pro-nav-tab:hover{border-left-color:#fcb214}.attr-nav-tabs>li>#v-elementskit-mf-go-pro-nav-tab:focus .mf-go-pro-gif,.attr-nav-tabs>li>#v-elementskit-mf-go-pro-nav-tab:hover .mf-go-pro-gif{-webkit-filter:invert(1) brightness(60%) sepia(80%) saturate(10000%) hue-rotate(35deg);filter:invert(1) brightness(60%) sepia(80%) saturate(10000%) hue-rotate(35deg)}.attr-nav-tabs>li>#v-elementskit-mf-go-pro-nav-tab .mf-admin-title{color:#fcb214}.mf-content-type-pro-disabled .mf-admin-input-switch::before{background-color:#f2295b;background-image:none;-webkit-box-shadow:rgba(0,5,41,.1) 0 3px 7px 0;box-shadow:rgba(0,5,41,.1) 0 3px 7px 0;color:#fff;content:"PRO";display:block;font-size:10px;font-weight:600;height:25px;left:-41px;line-height:28px;padding-bottom:1px;padding-left:3px;padding-right:0;padding-top:1px;position:absolute;text-align:center;text-transform:uppercase;top:0;-webkit-transform:matrix(.707107,-.707107,.707107,.707107,0,0);transform:matrix(.707107,-.707107,.707107,.707107,0,0);width:100px}.attr-panel-heading.pro-disabled{position:relative;overflow:hidden;border-radius:20px!important}.attr-panel-heading.pro-disabled .attr-btn::before{display:none}.attr-panel-heading.pro-disabled::after{background-color:#f2295b;background-image:none;-webkit-box-shadow:rgba(0,5,41,.1) 0 3px 7px 0;box-shadow:rgba(0,5,41,.1) 0 3px 7px 0;color:#fff;content:"PRO";display:block;font-size:10px;font-weight:600;height:25px;left:-41px;line-height:28px;padding-bottom:1px;padding-left:3px;padding-right:0;padding-top:6px;position:absolute;text-align:center;text-transform:uppercase;top:-4px;-webkit-transform:matrix(.707107,-.707107,.707107,.707107,0,0);transform:matrix(.707107,-.707107,.707107,.707107,0,0);width:100px}.mf-content-type-pro-disabled .mf-admin-input-switch::after{position:absolute;content:"";top:0;left:0;height:100%;width:100%;opacity:.4}.mf-admin-accordion-btn{display:block;margin-left:10px;padding:10px 30px 12px;color:#021343;border:2px solid #e3e5eb;border-radius:6px;font-size:15px;font-weight:500;line-height:18px;text-transform:capitalize;-webkit-transition:color .3s,background .3s,border-color .3s;transition:color .3s,background .3s,border-color .3s;cursor:pointer}.mf-admin-accordion-btn-group{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.mf-admin-accordion-btn:hover{color:#f2295b;background-color:#fff;border-color:#fff;-webkit-box-shadow:none;box-shadow:none}.mf-admin-accordion-btn:focus{color:#021343;-webkit-box-shadow:none;box-shadow:none}.mf-admin-accordion-btn[disabled]{opacity:.85;pointer-events:none}.mf-admin-accordion-btn-focused{color:#fff;background-color:#f2295b;border-color:#f2295b}.mf-admin-accordion-btn-focused:focus,.mf-admin-accordion-btn-focused:hover{color:#fff;background-color:#f2295b;border-color:#f2295b}.mf-admin-widget-list .mf-widget-group-title,.mf-admin-widgets-container .mf-widget-group-title{color:#021343;font-size:16px;line-height:28px;margin-top:36px;margin-bottom:16px}.mf-admin-widget-list .mf-widget-group-title:first-child,.mf-admin-widgets-container .mf-widget-group-title:first-child{margin-top:0}.mf-admin-widget-list .mf-admin-input-switch .mf-admin-control-label{height:52px;-webkit-box-sizing:border-box;box-sizing:border-box;font-weight:400;padding-left:15px;padding-right:15px}.mf-admin-widget-list .mf-admin-input-switch .mf-admin-control-label-switch{width:45px;height:20px;margin-left:0;min-width:45px}.mf-admin-widget-list .mf-admin-input-switch .mf-admin-control-label-switch::after{width:12px;height:12px}.mf-admin-widget-list .mf-admin-input-switch .mf-admin-control-label-switch::before{text-indent:18px}.mf-admin-widget-list .mf-content-type-pro-disabled .mf-admin-input-switch::before{font-size:9px;left:-46px;line-height:35px;top:-6px}.mf-admin-widget-list .mf-admin-demo-tooltip{right:0}.mf-admin-widget-list .mf-admin-control-label-text{padding-right:10px;padding-left:10px}.mf-admin-widgets-container .mf-admin-input-switch .mf-admin-control-label-switch{display:none}.mf-admin-widgets-container .mf-admin-input-switch .mf-admin-control-input{opacity:1;z-index:1;position:static;-webkit-box-shadow:none;box-shadow:none;border:1.5px solid #c0c2ce;height:16px;width:16px;border-radius:3px;margin:0;margin-right:13px;-webkit-transition:background .4s;transition:background .4s}.mf-admin-widgets-container .mf-admin-input-switch .mf-admin-control-input:checked{background-color:#fe0467;border-color:#fe0467}.mf-admin-widgets-container .mf-admin-input-switch .mf-admin-control-input:checked::before{content:"\e901";font-family:xs-onboard-icons;padding:0;width:auto;height:auto;font-size:10px;font-weight:700;color:#fff;margin:0;position:absolute;top:50%;left:8px;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.mf-admin-widgets-container .attr-input-switch{margin-bottom:0}.mf-admin-widgets-container .mf-content-type-pro-disabled .mf-admin-control-label:after{background-color:rgba(62,119,252,.1);background-image:none;content:"PRO";display:block;position:absolute;text-align:center;text-transform:uppercase;top:50%;right:-40px;color:#3e77fc;font-size:11px;line-height:13px;border-radius:4px;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-weight:500;padding:2px 5px}.mf-admin-widgets-container .mf-admin-control-label{padding:0;color:#5d5e65;font-size:14px;line-height:17px;position:relative;font-weight:400}.mf-admin-widgets-container .mf-admin-fields-container-fieldset .mf-admin-card-shadow{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:none;padding:5px;margin-bottom:0}.mf-admin-widgets-container .mf-content-type-pro-disabled .mf-admin-input-switch::before{display:none}.metform-onboard-dashboard{background-color:#f5f6f9;margin-left:-20px;padding:30px;position:absolute;top:0;left:0;z-index:1;width:calc(100% + 20px);-webkit-box-sizing:border-box;box-sizing:border-box;min-height:calc(100vh - 32px);padding-top:30px;padding-bottom:100px}.metform-onboard-dashboard .mf-onboard-btn{color:#fff;font-size:15px;line-height:18px;font-weight:500;background-color:#fe0467;border-radius:6px;text-decoration:none;padding:16px 37px;display:inline-block;-webkit-transition:all .4s;transition:all .4s;-webkit-box-shadow:none;box-shadow:none;outline:0;cursor:pointer;border:none;position:relative}.metform-onboard-dashboard .mf-onboard-btn:hover{-webkit-box-shadow:0 10px 20px #d602574d;box-shadow:0 10px 20px #d602574d}.metform-onboard-dashboard .mf-onboard-btn.prev{background-color:transparent;color:#021343;padding-right:26px;-webkit-box-shadow:none;box-shadow:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-column-gap:10px;-moz-column-gap:10px;column-gap:10px}.metform-onboard-dashboard .mf-onboard-btn.prev .icon{margin-right:10px;font-weight:700;position:relative;top:1px}.metform-onboard-dashboard .mf-onboard-btn.prev:hover{background-color:transparent;color:#3e77fc}.metform-onboard-dashboard .mf-onboard-btn .mf-spinner{position:absolute;left:16px;top:20px!important}.metform-onboard-dashboard .mf-pro-btn{color:#3e77fc;font-size:15px;line-height:18px;background-color:transparent;font-weight:500;border:2px solid #3e77fc;border-radius:6px;padding:11px 32px;-webkit-transition:all .4s;transition:all .4s;text-decoration:none;display:inline-block}.metform-onboard-dashboard .mf-pro-btn:hover{background-color:#3e77fc;color:#fff}.metform-onboard-dashboard .mf-pro-btn:focus{border-color:#3e77fc;-webkit-box-shadow:none;box-shadow:none}.metform-onboard-dashboard .mf-pro-btn .icon{position:relative;top:1px}.metform-onboard-dashboard .metform_container{max-width:1110px;margin:auto}.metform-onboard-dashboard .mf-onboard-progressbar{background-color:#3e77fc;height:4px;display:block;position:absolute;bottom:-4px;-webkit-transition:all .4s;transition:all .4s}.metform-onboard-dashboard .mf-onboard-nav{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-bottom:4px solid #e4e6ee;padding-bottom:20px;position:relative;margin:0;margin-bottom:50px}.metform-onboard-dashboard .mf-onboard-nav-item{padding-right:28px;margin-right:97px;color:#5d5e65;font-size:14px;line-height:17px;font-weight:500;cursor:pointer;margin-bottom:0;-webkit-transition:all .4s;transition:all .4s}.metform-onboard-dashboard .mf-onboard-nav-item.selected .mf-onboard-nav-icon{background-color:#d9e5ff;font-size:22px;vertical-align:middle}.metform-onboard-dashboard .mf-onboard-nav-item:last-child{margin-right:0;padding-right:0}.metform-onboard-dashboard .mf-onboard-nav-item.active .mf-onboard-nav-icon{color:#fff;background-color:#3e77fc}.metform-onboard-dashboard .mf-onboard-nav-item.selected .mf-onboard-nav-icon:before{content:"\e901";color:#3e77fc}.metform-onboard-dashboard .mf-onboard-nav-icon{height:40px;width:40px;background-color:#fff;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-radius:6px;margin-right:11px;-webkit-transition:all .4s;transition:all .4s;font-size:20px}.metform-onboard-dashboard .mf-admin-fields-container-description{display:none}.metform-onboard-dashboard .mf-onboard-section{background-color:#fff;overflow:hidden;border-radius:6px;padding:50px;margin-bottom:10px;padding-top:30px}.metform-onboard-dashboard .mf-onboard-section:last-child{margin-bottom:0}.metform-onboard-dashboard .mf-onboard-section-title{font-size:20px;line-height:28px;color:#021343;font-weight:700;margin-top:0;margin-bottom:24px}.metform-onboard-dashboard .mf-onboard-module{margin-top:60px}.metform-onboard-dashboard .mf-onboard-module .mf-admin-card-shadow{border-radius:6px;border:2px solid #eff0f5;-webkit-transition:all .4s;transition:all .4s}.metform-onboard-dashboard .mf-onboard-module .mf-admin-card-shadow:hover{border-color:#3e77fc}.metform-onboard-dashboard .mf-onboard-module .mf-admin-control-label{padding:17px 20px 17px 30px;font-size:14px;line-height:17px;font-weight:500;color:#021343}.metform-onboard-dashboard .mf-onboard-module .mf-admin-input-switch::before{background-color:#3e77fc;left:-43px;top:-3px;line-height:34px;-webkit-box-shadow:none;box-shadow:none}.metform-onboard-dashboard .mf-onboard-module .mf-admin-input-switch .mf-admin-control-label-switch{width:56px}.metform-onboard-dashboard .mf-onboard-module .mf-admin-input-switch .mf-admin-control-label-switch::before{border-color:#e7e9ef;background-color:#f2f3f5;color:#5d5e65;font-size:14px;line-height:17px;font-weight:400}.metform-onboard-dashboard .mf-onboard-module .mf-admin-input-switch .mf-admin-control-label-switch:after{background:#777f92;height:16px;width:16px;top:5px}.metform-onboard-dashboard .mf-onboard-module .mf-admin-control-input:checked~.mf-admin-control-label .mf-admin-control-label-switch::before{border-color:#e7e9ef;text-indent:8px;content:attr(data-active);font-size:14px;line-height:17px;font-weight:400;color:#3e77fc}.metform-onboard-dashboard .mf-onboard-module .mf-admin-control-input:checked~.mf-admin-control-label .mf-admin-control-label-switch:after{left:35px;background-color:#3e77fc;content:''}.metform-onboard-dashboard .mf-onboard-widget .mf-admin-fields-container-fieldset .attr-input-switch .mf-admin-demo-tooltip{top:-20px;right:inherit;left:32px}.metform-onboard-dashboard .mf-onboard-widget .mf-admin-fields-container-fieldset .attr-input-switch .mf-admin-demo-tooltip::before{left:15px}.metform-onboard-dashboard .mf-admin-fields-container-fieldset{margin:0}.metform-onboard-dashboard .mf-onboard-step-wrapper{opacity:0;visibility:hidden;position:absolute;left:-999999px;top:-999999px;-webkit-transition:all .4s;transition:all .4s;padding:0 100px 0 100px}.metform-onboard-dashboard .mf-onboard-step-wrapper.active{opacity:1;left:inherit;top:inherit;visibility:visible;position:relative}.metform-onboard-dashboard .mf-onboard-main-header{margin-bottom:43px}.metform-onboard-dashboard .mf-onboard-main-header--title{color:#021343;font-size:40px;line-height:54px;font-weight:400;margin:0}.metform-onboard-dashboard .mf-onboard-main-header--title strong{font-weight:700}.metform-onboard-dashboard .mf-onboard-main-header--description{color:#021343;font-size:18px;line-height:28px;margin:0}.metform-onboard-dashboard .mf-onboard-signup{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:6px;background-color:#fff;padding:0 26px;padding-right:0;border-left:3px solid #3e77fc;margin:0;-webkit-box-shadow:0 20px 40px rgba(0,10,36,.1);box-shadow:0 20px 40px rgba(0,10,36,.1)}.metform-onboard-dashboard .mf-onboard-signup label{color:#aaabaf;font-size:15px}.metform-onboard-dashboard .mf-onboard-signup input{color:#98999e;font-size:15px;line-height:18px;font-weight:400;-webkit-box-flex:1;-ms-flex:1;flex:1;padding:19px 15px;outline:0;border:none;-webkit-box-shadow:none;box-shadow:none;padding-left:9px}.metform-onboard-dashboard .mf-onboard-signup input:-webkit-autofill,.metform-onboard-dashboard .mf-onboard-signup input:-webkit-autofill:active,.metform-onboard-dashboard .mf-onboard-signup input:-webkit-autofill:focus,.metform-onboard-dashboard .mf-onboard-signup input:-webkit-autofill:hover{-webkit-transition:background-color 5000s ease-in-out 0s;transition:background-color 5000s ease-in-out 0s}.metform-onboard-dashboard .mf-onboard-signup--helptext{color:#021343;font-size:16px;line-height:26px;font-weight:400;margin:0;margin-top:40px}.metform-onboard-dashboard .mf-onboard-signup--helptext span{color:#fe0467}.metform-onboard-dashboard .mf-onboard-step-2-inner{max-width:100%;padding:0 148px;padding-top:30px}.metform-onboard-dashboard .mf-onboard-step-2-inner .error{color:red;font-size:14px;margin:0;position:absolute;margin-top:4px}.metform-onboard-dashboard .mf-onboard-step-02:before{content:"";background-image:url(../images/shape-08.png);height:110px;width:105px;display:block;position:fixed;right:-45px;top:200px}.metform-onboard-dashboard .mf-onboard-step-02.active{position:relative!important}.metform-onboard-dashboard .mf-onboard-step-02 .mf-onboard-main-header--title{margin-bottom:12px}.metform-onboard-dashboard .mf-onboard-step-02 .mf-onboard-shapes .shape-01{position:absolute;margin-top:130px;margin-right:25px;-webkit-transition:all .4s;transition:all .4s}.metform-onboard-dashboard .mf-onboard-step-02 .mf-onboard-shapes .shape-09{position:absolute;right:56px;margin-top:16px}.metform-onboard-dashboard .mf-onboard-step-02 .mf-onboard-shapes .shape-07{position:absolute;top:20px;right:220px}.metform-onboard-dashboard .mf-onboard-step-02 .mf-onboard-shapes .shape-02,.metform-onboard-dashboard .mf-onboard-step-02 .mf-onboard-shapes .shape-03{position:absolute;right:0;top:300px;opacity:.3}.metform-onboard-dashboard .mf-onboard-step-02 .mf-onboard-shapes .shape-02{right:inherit;left:0}.metform-onboard-dashboard .mf-onboard-step-02 .mf-onboard-shapes .shape-06{position:absolute;left:-35px;top:130px}.metform-onboard-dashboard .mf-onboard-step-02 .mf-onboard-shapes .shape-05{position:absolute;left:-100px;top:20px}.metform-onboard-dashboard .mf-onboard-step-02 .mf-onboard-shapes .shape-04{position:absolute;top:230px;left:-150px}.metform-onboard-dashboard .mf-onboard-step-03{padding-top:0}.metform-onboard-dashboard .mf-onboard-step-03 .mf-onboard-main-header{margin-bottom:26px}.metform-onboard-dashboard .mf-onboard-step-03 .shape-11{position:absolute;top:235px;right:0}.metform-onboard-dashboard .mf-onboard-step-03 .shape-12{position:absolute;left:20px;bottom:150px}.metform-onboard-dashboard .mf-onboard-step-03 .shape-06{position:absolute;top:90px;left:-120px}.metform-onboard-dashboard .mf-onboard-step-03 .shape-10{position:absolute;top:185px;left:-50px}.metform-onboard-dashboard .mf-onboard-step-03 .shape-13{position:absolute;top:390px;left:-145px}.metform-onboard-dashboard .mf-onboard-step-03 .mf-onboard-main-header--description{color:#5d5e65;font-size:16px;line-height:26px}.metform-onboard-dashboard .mf-onboard-step-03 .mf-onboard-main-header--title{margin-bottom:15px;line-height:50px}.metform-onboard-dashboard .mf-onboard-step-03 .mf-onboard-pagination{margin-top:50px}.metform-onboard-dashboard .mf-onboard-step-01 .mf-onboard-main-header{margin-bottom:50px}.metform-onboard-dashboard .mf-onboard-step-01 .mf-onboard-main-header--title{margin-top:-7px}.metform-onboard-dashboard .mf-onboard-step-01 .mf-onboard-pagination{margin-top:30px}.metform-onboard-dashboard .mf-onboard-step-01 .shape-07{position:absolute;top:230px;right:-90px}.metform-onboard-dashboard .mf-onboard-step-01 .shape-14{position:absolute;top:100px;left:-200px}.metform-onboard-dashboard .mf-onboard-step-01 .shape-15{position:absolute;top:230px;left:-100px}.metform-onboard-dashboard .mf-onboard-step-01 .shape-16{position:absolute;left:-130px;top:370px}.metform-onboard-dashboard .mf-onboard-step-01 .shape-17{position:absolute;right:45px;top:310px}.metform-onboard-dashboard .mf-onboard-plugin-list .attr-row{margin-left:-11px;margin-right:-11px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.metform-onboard-dashboard .mf-onboard-plugin-list .attr-row>div{padding:11px}.metform-onboard-dashboard .mf-onboard-single-plugin{background-color:#fff;border-radius:6px;-webkit-box-shadow:0 30px 50px rgba(0,10,36,.1);box-shadow:0 30px 50px rgba(0,10,36,.1);position:relative}.metform-onboard-dashboard .mf-onboard-single-plugin label{display:block;padding:30px;padding-bottom:40px;cursor:default}.metform-onboard-dashboard .mf-onboard-single-plugin--input{border:1px solid #ccced9;-webkit-box-shadow:none;box-shadow:none;background-color:#f5f5f6;height:20px;width:20px;border-radius:50%;position:absolute;top:14px;right:14px;margin:0}.metform-onboard-dashboard .mf-onboard-single-plugin--input:checked{background-color:#3e77fc;border-color:#3e77fc}.metform-onboard-dashboard .mf-onboard-single-plugin--input:checked::before{content:"\e901";font-family:xs-onboard-icons;padding:0;width:auto;height:auto;font-size:12px;font-weight:700;color:#fff;margin:0;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.metform-onboard-dashboard .mf-onboard-single-plugin--install{color:#021343;font-size:15px;font-weight:500;display:block;border:2px solid #e4e6ee;border-radius:6px;min-height:175px;line-height:175px;position:relative;text-decoration:none}.metform-onboard-dashboard .mf-onboard-single-plugin--install i{padding-left:9px;font-weight:700}.metform-onboard-dashboard .mf-onboard-single-plugin--description{color:#5d5e65;font-size:16px;line-height:24px;font-weight:400;margin:0}.metform-onboard-dashboard .mf-onboard-single-plugin--logo{margin-bottom:12px;min-height:41px;max-width:185px;-o-object-fit:contain;object-fit:contain}.metform-onboard-dashboard .mf-onboard-single-plugin--install_plugin{padding:6px 25px;margin-top:23px}.metform-onboard-dashboard .mf-onboard-single-plugin--install_plugin.mf-plugin-install-activate{cursor:no-drop;background-color:#ccc;color:#fff;border-color:#ccc}.metform-onboard-dashboard .mf-onboard-single-plugin--install_plugin.activated{cursor:default}.metform-onboard-dashboard .mf-onboard-tutorial{text-align:center;background-image:url(../images/tutorial-banner.png);background-repeat:no-repeat;background-size:cover;background-position:center;padding:80px 0;border-radius:14px;-webkit-box-shadow:0 30px 40px rgba(0,8,30,.2);box-shadow:0 30px 40px rgba(0,8,30,.2);position:relative;overflow:hidden}.metform-onboard-dashboard .mf-onboard-tutorial--btn{display:inline-block;padding:50px;border:1px solid rgba(255,255,255,.06);border-radius:100%}.metform-onboard-dashboard .mf-onboard-tutorial--link{text-decoration:none;display:inline-block;padding:35px;border:2px solid rgba(255,255,255,.1);border-radius:100%}.metform-onboard-dashboard .mf-onboard-tutorial i{color:#fff;font-size:25px;background-color:#fe0467;height:90px;width:90px;display:block;line-height:90px;text-align:center;border-radius:100%;margin:auto;border:1px solid red;margin:10px;-webkit-transition:all .4s;transition:all .4s}.metform-onboard-dashboard .mf-onboard-tutorial i:before{margin-left:5px}.metform-onboard-dashboard .mf-onboard-tutorial i:hover{background-color:#fff;color:#fe0467;border-color:#fff}.metform-onboard-dashboard .mf-onboard-tutorial .mf-admin-video-tutorial-popup{position:absolute}.metform-onboard-dashboard .mf-onboard-tutorial .mf-admin-video-tutorial-popup iframe{width:100%;height:100%}.metform-onboard-dashboard .mf-onboard-tutorial .mf-admin-video-tutorial-popup .mf-admin-video-tutorial-iframe{height:100%}.metform-onboard-dashboard .mf-onboard-tut-term{margin-top:35px}.metform-onboard-dashboard .mf-onboard-tut-term--label{color:#5d5e65;font-size:16px;line-height:26px;font-weight:400}.metform-onboard-dashboard .mf-onboard-tut-term--input{height:18px;width:18px;-webkit-box-shadow:none;box-shadow:none;border:1.5px solid #c0c2ce;background-color:#f5f5f6;border-radius:4px;position:relative;box-shadow:none;outline:0}.metform-onboard-dashboard .mf-onboard-tut-term--input:checked{background-color:#fe0467;border-color:#fe0467}.metform-onboard-dashboard .mf-onboard-tut-term--input:checked::before{content:"\e901";font-family:xs-onboard-icons;padding:0;width:auto;height:auto;font-size:10px;font-weight:700;color:#fff;margin:0;position:absolute;top:50%;left:3px;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.metform-onboard-dashboard .mf-onboard-tut-term--input:focus{-webkit-box-shadow:none;box-shadow:none;outline:0}.metform-onboard-dashboard .mf-onboard-tut-term--help{margin:0;color:#021343;font-size:14px;font-weight:500;line-height:26px;margin-top:10px;cursor:pointer}.metform-onboard-dashboard .mf-onboard-tut-term--help:hover{color:#3e77fc}.metform-onboard-dashboard .mf-onboard-tut-term--help.active{color:#3e77fc}.metform-onboard-dashboard .mf-onboard-tut-term--helptext{height:0;-webkit-transition:opacity .4s;transition:opacity .4s;opacity:0;visibility:hidden;line-height:22px;color:#5d5e65;font-size:14px;cursor:default;font-weight:400;position:absolute;padding-right:95px;margin-top:20px;margin-bottom:-4px}.metform-onboard-dashboard .mf-onboard-tut-term--helptext.active{opacity:1;visibility:visible;height:auto;position:static}.metform-onboard-dashboard .mf-onboard-tut-term--helptext:hover{text-decoration:none}.metform-onboard-dashboard .mf-onboard-pagination{text-align:right;border-top:1px solid #e4e6ee;padding-top:20px;margin-top:60px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.metform-onboard-dashboard .mf-onboard-shapes{position:absolute;top:50%;width:100%;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%);height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;z-index:-9}.metform-onboard-dashboard .mf-onboard-pro-features h2{margin:0;color:#021343;font-size:24px;line-height:29px;margin-bottom:35px}.metform-onboard-dashboard .mf-onboard-pro-features h2 span{color:#fe0467;position:relative;display:inline-block}.metform-onboard-dashboard .mf-onboard-pro-features h2 span:before{content:"";background-image:url(../images/pro-line-shape.png);width:64px;height:44px;display:block;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);left:50%}.metform-onboard-dashboard .mf-onboard-modules li{display:inline-block;color:#021343;font-size:14px;line-height:18px;font-weight:500;background-color:#fff;-webkit-box-shadow:0 30px 40px rgba(0,10,36,.1);box-shadow:0 30px 40px rgba(0,10,36,.1);border-radius:4px;padding-left:10px;padding-right:50px;padding-top:4px;padding-bottom:4px;margin-right:10px;margin-bottom:10px}.metform-onboard-dashboard .mf-onboard-modules img{display:inline-block;vertical-align:middle}.metform-onboard-dashboard .mf-onboard-modules span{display:inline-block;padding-left:10px}.metform-onboard-dashboard .mf-onboard-module-meta{margin:0;margin-top:30px;margin-bottom:50px}.metform-onboard-dashboard .mf-onboard-module-meta li{display:inline-block;font-size:14px;line-height:17px;font-weight:500;margin:0;color:#5d5e65;margin-right:45px}.metform-onboard-dashboard .mf-onboard-module-meta li:last-child{margin-right:0}.metform-onboard-dashboard .mf-onboard-module-meta li i{font-size:15px;height:24px;width:24px;display:inline-block;background-color:rgba(62,119,252,.1);text-align:center;border-radius:100%;line-height:24px;color:#3e77fc;margin-right:7px}.metform-onboard-dashboard .mf-onboard-step-05 .mf-onboard-main-header{margin-bottom:44px}.metform-onboard-dashboard .mf-onboard-step-05 .mf-onboard-pagination{margin-top:70px}.metform-onboard-dashboard .mf-onboard-step-05 .shape-14{position:absolute;top:90px;left:-200px}.metform-onboard-dashboard .mf-onboard-step-05 .shape-15{position:absolute;top:240px;left:-124px}.metform-onboard-dashboard .mf-onboard-step-05 .shape-18{position:absolute;margin-right:150px;margin-top:80px}.metform-onboard-dashboard .mf-onboard-step-05 .shape-19{position:absolute;top:240px;right:80px}.metform-onboard-dashboard .mf-onboard-step-06 .mf-onboard-main-header{text-align:center}.metform-onboard-dashboard .mf-onboard-step-06 .mf-onboard-btn{margin-top:43px}.metform-onboard-dashboard .mf-onboard-step-06 .mf-onboard-main-header{padding-top:20px}.metform-onboard-dashboard .mf-onboard-step-06 .mf-onboard-main-header--description{font-size:16px;line-height:26px}.metform-onboard-dashboard .mf-onboard-step-06 .mf-onboard-main-header--title{margin-bottom:10px}.metform-onboard-dashboard .mf-onboard-step-06 .shape-04{position:absolute;left:20px;top:400px}.metform-onboard-dashboard .mf-onboard-step-06 .shape-07{position:absolute;top:100px;right:74px}.metform-onboard-dashboard .mf-onboard-step-06 .shape-15{position:absolute;left:130px;top:200px}.metform-onboard-dashboard .mf-onboard-step-06 .shape-21{position:absolute;top:90px;left:0}.metform-onboard-dashboard .mf-onboard-step-06 .shape-22{position:absolute;top:300px;right:95px}@-webkit-keyframes infinite-spinning{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes infinite-spinning{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.mf-spinner{display:none;position:relative;width:18px;height:18px;border-radius:18px;background:rgba(0,0,0,.5);-webkit-animation:infinite-spinning 1.08s linear infinite;animation:infinite-spinning 1.08s linear infinite;vertical-align:middle;margin-right:7px;top:-1px}.is-loading .mf-spinner{display:inline-block}.mf-spinner:after{content:"";position:absolute;top:2px;left:50%;width:4px;height:4px;border-radius:4px;margin-left:-2px;background:#fff}.mf-admin-fields-container-description{margin-bottom:16px}.mf-admin-dashboard-banner{width:100%}.xx{margin:16px 0 0 0!important}.mf-admin-input-text{margin-top:2rem}.mf-admin-section-heaer-title>i{display:inline-block;width:48px;height:48px;line-height:48px!important;margin-right:24px;background-color:#fee9ee;color:#f2295b;text-align:center;border-radius:3px;vertical-align:middle;font-size:20px}.attr-card-body{position:relative;overflow:hidden}.mf-admin-section-heaer-title::before{display:none}.mf_tab_wraper{margin:0 15px}.btn-license-activate{border-radius:4px!important;margin:0 0 0 15px!important}.mf-admin-form{margin-top:30px}@-webkit-keyframes Gradient{0%,100%{background-position:0 50%}50%{background-position:100% 50%}}@keyframes Gradient{0%,100%{background-position:0 50%}50%{background-position:100% 50%}}a.toplevel_page_elementskit.wp-menu-open{background:linear-gradient(-45deg,#ee7752,#e73c7e,#23a6d5,#23d5ab)!important;-webkit-animation:Gradient 15s ease infinite;animation:Gradient 15s ease infinite;background-size:400% 400%!important;color:#fff!important}#mf-admin-option-text-elementskit-license-key{color:#f2295b}.attr-panel-body .mf-admin-input-switch{padding:0 0 11px;border-width:0;-webkit-box-shadow:none;box-shadow:none}.attr-panel-body .mf-admin-input-switch>label{padding:0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-ms-flex-align:start;-ms-grid-row-align:flex-start;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.attr-panel-body .mf-admin-input-switch>label>span{margin-top:10px;margin-left:0}
|
core/integrations/onboard/assets/css/onboard-icon.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
@font-face{font-family:xs-onboard-icons;src:url(./../fonts/xs-onboard-icons.eot?osnmrk);src:url(./../fonts/xs-onboard-icons.eot?osnmrk#iefix) format('embedded-opentype'),url(./../fonts/xs-onboard-icons.ttf?osnmrk) format('truetype'),url(./../fonts/xs-onboard-icons.woff?osnmrk) format('woff'),url(./../fonts/xs-onboard-icons.svg?osnmrk#xs-onboard-icons) format('svg');font-weight:400;font-style:normal;font-display:block}[class*=" xs-"],[class^=xs-]{font-family:xs-onboard-icons!important;speak:never;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.xs-onboard-arrow-left:before{content:"\e900"}.xs-onboard-check:before{content:"\e901"}.xs-onboard-elementskit:before{content:"\e902"}.xs-onboard-gift:before{content:"\e903"}.xs-onboard-layout:before{content:"\e904"}.xs-onboard-mail:before{content:"\e905"}.xs-onboard-metform:before{content:"\e906"}.xs-onboard-play:before{content:"\e907"}.xs-onboard-settings:before{content:"\e908"}.xs-onboard-shopengine:before{content:"\e909"}.xs-onboard-smile:before{content:"\e90a"}.xs-onboard-user:before{content:"\e90b"}.xs-onboard-wpsocial:before{content:"\e90c"}.xs-onboard-youtube:before{content:"\e90d"}
|
core/integrations/onboard/assets/fonts/xs-onboard-icons.eot
ADDED
Binary file
|
core/integrations/onboard/assets/fonts/xs-onboard-icons.svg
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" standalone="no"?>
|
2 |
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
3 |
+
<svg xmlns="http://www.w3.org/2000/svg">
|
4 |
+
<metadata>Generated by IcoMoon</metadata>
|
5 |
+
<defs>
|
6 |
+
<font id="xs-onboard-icons" horiz-adv-x="1024">
|
7 |
+
<font-face units-per-em="1024" ascent="960" descent="-64" />
|
8 |
+
<missing-glyph horiz-adv-x="1024" />
|
9 |
+
<glyph unicode=" " horiz-adv-x="512" d="" />
|
10 |
+
<glyph unicode="" glyph-name="onboard-arrow-left" d="M402.752 82.752l-320 320c-24.992 24.992-24.992 65.504 0 90.496l320 320c24.992 24.992 65.504 24.992 90.496 0s24.992-65.504 0-90.496l-210.752-210.752h613.504c35.36 0 64-28.64 64-64s-28.64-64-64-64h-613.504l210.752-210.752c12.48-12.48 18.752-28.864 18.752-45.248s-6.24-32.768-18.752-45.248c-24.992-24.992-65.504-24.992-90.496 0z" />
|
11 |
+
<glyph unicode="" glyph-name="onboard-check" d="M823.168 734.165l-439.168-439.168-183.168 183.168c-16.683 16.683-43.691 16.683-60.331 0s-16.683-43.691 0-60.331l213.333-213.333c16.683-16.683 43.691-16.683 60.331 0l469.333 469.333c16.683 16.683 16.683 43.691 0 60.331s-43.691 16.683-60.331 0z" />
|
12 |
+
<glyph unicode="" glyph-name="onboard-elementskit" d="M5.184 433.984h44.832c2.144 0 3.648 1.216 4.576 2.752 0.32 0.608 0.608 1.536 0.608 2.432v18.912c0 3.040-2.432 5.184-5.184 5.184h-44.832c-3.040 0-5.184-2.432-5.184-5.184v-18.912c0-2.752 2.432-5.184 5.184-5.184zM102.464 475.776c0 5.504 1.216 10.688 3.648 15.232 0 0.32 0 0.32 0 0.608l-22.56-27.136c-2.752-3.36-4.256-7.008-4.864-10.976-0.928-6.4 0.608-13.12 4.864-18.592l10.688-12.8 7.008-8.544 14.944-17.984 8.224-10.048 4.256-5.184c1.216-1.536 3.040-2.144 4.864-2.432 0.928 0 1.824 0.32 2.752 0.608s1.536 0.928 2.144 1.536l0.608 0.608 11.904 11.584c2.432 2.432 2.752 6.4 0.32 8.832l-3.648 4.576-12.8 15.552-17.984 21.344c-1.536 1.824-2.432 4.256-2.432 6.72-0.32 0.32-0.32 0.608-0.608 0.928-6.72 6.112-11.296 15.232-11.296 25.6zM152.16 500.48c0 1.536-0.608 2.752-1.824 3.968l-12.8 13.12c-0.928 0.928-2.144 1.536-3.36 1.824-0.608 0.32-1.216 0.32-1.824 0.32-1.824 0-3.648-0.928-4.864-2.432l-11.296-13.728-10.048-11.904c0-0.32 0-0.32 0-0.608-2.432-4.576-3.648-9.76-3.648-15.232 0-10.368 4.576-19.52 11.904-25.6 0.32-0.32 0.32-0.608 0.608-0.928 0 2.432 0.928 4.864 2.432 7.008l33.248 39.648c1.216 1.216 1.536 3.040 1.536 4.576zM41.792 410.816h-36.608c-0.608 0-1.216 0-1.824-0.32-1.824-0.608-3.36-2.752-3.36-4.864v-18.912c0-3.040 2.432-5.184 5.184-5.184h11.296c4.576 12.512 13.728 23.168 25.312 29.28zM16.768 381.248h62.528c3.040 0 5.184 2.432 5.184 5.184v18.912c0 3.040-2.432 5.184-5.184 5.184h-37.216c-11.904-5.792-21.056-16.48-25.312-29.28zM78.976 516.032h-10.976c-4.576-12.8-13.728-23.168-25.312-29.568h36.608c0.608 0 1.216 0 1.824 0.32 2.144 0.608 3.648 2.752 3.648 4.864v19.2c0 2.752-2.432 5.184-5.792 5.184zM68 516.032h-62.816c-2.752 0-5.184-2.432-5.184-5.184v-18.912c0-3.040 2.432-5.184 5.184-5.184h37.504c11.904 6.112 20.736 16.48 25.312 29.28zM224.128 439.776h43.008v17.376h-43.008v27.456h52.16v17.696h-71.968v-108.864h73.792v17.696h-53.984v28.672zM307.072 502.304h-18.592v-109.184h18.592v109.184zM377.824 469.984c-5.792 3.040-12.8 4.576-20.416 4.576s-14.336-1.824-20.416-5.184c-5.792-3.36-10.688-8.224-13.728-14.624-3.36-6.112-4.864-13.408-4.864-21.664s1.824-15.232 5.184-21.344c3.36-6.112 8.224-10.976 14.336-14.336s13.408-5.184 21.952-5.184c9.44 0 17.696 2.752 24.096 7.936s10.368 11.904 11.904 20.128l0.32 1.216h-18.592l-0.32-0.928c-0.928-3.968-3.040-7.328-6.4-9.44s-7.328-3.36-12.192-3.36c-6.112 0-10.976 1.824-14.624 5.504s-5.792 8.832-6.112 15.232h58.56v0.928c0.32 2.144 0.608 4.256 0.608 6.4 0 7.616-1.824 14.624-5.184 20.128-3.648 6.4-8.224 10.688-14.016 14.016zM338.496 443.136c0.928 4.576 2.752 8.224 6.112 11.296 3.648 3.040 8.224 4.576 13.12 4.576 5.504 0 10.048-1.536 13.728-4.576 3.36-2.752 5.504-6.4 6.112-11.296h-39.040zM499.2 474.56c-6.4 0-12.192-1.216-16.768-3.968-3.968-2.144-7.328-5.504-10.048-9.152-2.144 3.968-5.504 7.328-9.152 9.44-4.256 2.432-9.44 3.648-14.944 3.648-9.152 0-16.48-3.36-22.272-9.76l-1.536 8.832-16.48-6.112v-74.4h18.592v43.008c0 6.72 1.536 12.192 4.576 16.16s7.328 5.792 12.512 5.792c5.184 0 8.832-1.536 11.296-4.864 2.752-3.36 3.968-8.224 3.968-14.944v-45.12h18.912v43.616c0 6.72 1.536 11.904 4.576 15.872 3.040 3.648 7.328 5.504 12.512 5.504s8.832-1.536 11.296-4.864c2.432-3.36 3.968-8.224 3.968-14.944v-45.12h18.912v45.44c0 12.512-2.752 21.664-8.544 27.456-5.184 5.792-12.512 8.544-21.344 8.544zM598.592 469.984c-5.792 3.040-12.8 4.576-20.416 4.576s-14.336-1.824-20.448-5.184c-5.792-3.36-10.656-8.224-13.728-14.624-3.36-6.112-4.864-13.408-4.864-21.664s1.824-15.232 5.184-21.344c3.36-6.112 8.224-10.976 14.336-14.336s13.408-5.184 21.952-5.184c9.472 0 17.696 2.752 24.096 7.936s10.368 11.904 11.904 20.128l0.32 1.216h-18.592l-0.32-0.928c-0.896-3.968-3.040-7.328-6.4-9.44s-7.328-3.36-12.192-3.36c-6.112 0-10.976 1.824-14.624 5.504s-5.792 8.832-6.112 15.232h58.56v0.928c0.288 2.144 0.608 4.256 0.608 6.4 0 7.616-1.824 14.624-5.184 20.128-3.36 6.4-7.936 10.688-14.016 14.016zM559.264 443.136c0.928 4.576 2.752 8.224 6.112 11.296 3.648 3.040 8.224 4.576 13.12 4.576 5.504 0 10.080-1.536 13.728-4.576 3.36-2.752 5.504-6.4 6.112-11.296h-39.040zM671.168 474.56c-10.080 0-18.304-3.36-24.384-9.76l-1.536 8.832-16.48-6.112v-74.4h18.592v40.544c0 7.616 1.824 13.728 5.184 17.984 3.648 4.256 8.224 6.4 14.336 6.4 5.792 0 10.048-1.824 13.12-5.504s4.576-9.152 4.576-16.16v-43.296h18.912v44.224c0 12.8-3.040 22.272-9.152 28.352-5.792 5.792-13.728 8.832-23.168 8.832zM741.92 411.744c-0.928 0.928-1.536 3.040-1.536 5.792v39.648h18.912v16.768h-18.912v21.664l-18.912-6.112v-15.872h-7.616l-6.112-16.768h13.728v-41.152c0-7.616 1.824-13.12 5.504-16.768s9.44-5.504 17.088-5.504h17.088v16.768h-13.728c-2.752 0-4.576 0.32-5.504 1.536zM819.392 439.168c-4.576 1.536-10.368 2.752-17.088 3.36-4.864 0.608-8.544 1.216-10.656 1.536s-3.648 1.216-5.184 2.144c-1.216 0.928-1.824 2.432-1.824 4.256 0 2.752 1.216 4.864 3.968 6.4 2.752 1.824 6.4 2.432 10.976 2.432s8.224-1.216 11.296-3.36 4.576-4.576 4.864-7.936v-0.928h18.304v1.216c-0.608 8.224-3.968 14.624-10.368 19.2s-14.624 6.72-24.704 6.72c-6.112 0-11.584-0.928-16.48-3.040s-8.832-5.184-11.584-8.832c-2.752-3.968-4.256-8.544-4.256-13.408 0-5.504 1.536-9.76 4.256-12.8s6.72-5.504 11.264-7.008c4.576-1.536 10.080-2.432 17.088-3.36 4.864-0.608 8.544-1.216 10.976-1.824 2.144-0.608 3.968-1.216 5.184-2.432s1.824-2.752 1.824-5.184c0-2.752-1.216-4.864-3.968-6.72-3.040-1.824-6.72-2.752-11.584-2.752-5.184 0-9.76 1.216-13.12 3.648s-4.864 5.504-5.184 9.152v0.928h-17.984v-1.216c0.288-8.544 3.648-15.552 10.368-20.416s15.232-7.328 25.92-7.328c6.4 0 12.192 0.928 17.088 3.040 5.184 2.144 9.152 5.184 12.192 8.832 3.040 3.968 4.576 8.544 4.576 13.728 0 5.792-1.536 10.368-4.256 13.728-3.36 4.256-7.328 6.72-11.904 8.224zM939.52 502.304h-24.384l-47.264-53.056v53.056h-19.84v-108.864h19.84v28.672l17.376 19.2 32.928-47.872h23.776l-42.688 63.136 40.256 45.728zM956 505.056c-3.040 0-5.792-0.928-7.936-3.040s-3.36-4.864-3.36-7.936c0-3.040 1.216-5.792 3.36-7.936s4.864-3.040 7.936-3.040c3.040 0 5.792 0.928 7.936 3.040s3.36 4.864 3.36 7.936c0 3.040-1.216 5.792-3.36 7.936-2.144 1.824-4.864 3.040-7.936 3.040zM965.44 473.632h-18.912v-80.512h18.912v80.512zM1010.272 410.208c-2.752 0-4.576 0.608-5.504 1.536s-1.536 3.040-1.536 5.792v39.648h18.912v16.768h-18.912v21.664l-18.912-6.112v-15.872h-7.616l-6.112-16.768h13.728v-41.152c0-7.616 1.824-13.12 5.504-16.768s9.472-5.504 17.088-5.504h17.088v16.768h-13.728z" />
|
13 |
+
<glyph unicode="" glyph-name="onboard-gift" d="M469.333 405.333v-341.333h-256v341.333zM554.667 64v341.333h256v-341.333zM320 704c-17.664 0-33.621 7.125-45.269 18.731s-18.731 27.605-18.731 45.269 7.125 33.621 18.731 45.269 27.605 18.731 45.269 18.731c26.837 0 48.725-9.515 67.584-25.003 16.043-13.141 29.909-30.677 41.643-50.219 10.283-17.109 18.475-35.029 24.747-51.328zM569.429 704c6.869 17.749 15.061 35.669 25.301 52.779 11.733 19.584 25.643 37.077 41.643 50.219 18.901 15.488 40.789 25.003 67.627 25.003 17.664 0 33.621-7.125 45.269-18.731s18.731-27.605 18.731-45.269-7.125-33.621-18.731-45.269-27.605-18.731-45.269-18.731zM469.333 618.667v-128h-341.333v128h192zM838.955 704c9.216 19.413 14.379 41.088 14.379 64 0 41.216-16.768 78.635-43.733 105.6s-64.384 43.733-105.6 43.733c-49.493 0-89.984-18.347-121.685-44.331-25.728-21.077-45.568-47.061-60.715-72.277-3.413-5.675-6.613-11.349-9.6-16.981-2.987 5.632-6.187 11.307-9.6 16.981-15.147 25.216-34.987 51.2-60.715 72.277-31.701 25.984-72.192 44.331-121.685 44.331-41.216 0-78.635-16.768-105.6-43.733s-43.733-64.384-43.733-105.6c0-22.912 5.163-44.587 14.379-64h-99.712c-23.552 0-42.667-19.115-42.667-42.667v-213.333c0-23.552 19.115-42.667 42.667-42.667h42.667v-384c0-23.552 19.115-42.667 42.667-42.667h682.667c23.552 0 42.667 19.115 42.667 42.667v384h42.667c23.552 0 42.667 19.115 42.667 42.667v213.333c0 23.552-19.115 42.667-42.667 42.667zM554.667 618.667h341.333v-128h-341.333z" />
|
14 |
+
<glyph unicode="" glyph-name="onboard-layout" d="M213.333 874.667c-35.328 0-67.413-14.379-90.496-37.504s-37.504-55.168-37.504-90.496v-597.333c0-35.328 14.379-67.413 37.504-90.496s55.168-37.504 90.496-37.504h597.333c35.328 0 67.413 14.379 90.496 37.504s37.504 55.168 37.504 90.496v597.333c0 35.328-14.379 67.413-37.504 90.496s-55.168 37.504-90.496 37.504zM853.333 618.667h-682.667v128c0 11.776 4.736 22.4 12.501 30.165s18.389 12.501 30.165 12.501h597.333c11.776 0 22.4-4.736 30.165-12.501s12.501-18.389 12.501-30.165zM341.333 533.333v-426.667h-128c-11.776 0-22.4 4.736-30.165 12.501s-12.501 18.389-12.501 30.165v384zM426.667 106.667v426.667h426.667v-384c0-11.776-4.736-22.4-12.501-30.165s-18.389-12.501-30.165-12.501z" />
|
15 |
+
<glyph unicode="" glyph-name="onboard-mail" d="M128 622.037l359.552-251.691c14.507-10.027 33.92-10.496 48.939 0l359.509 251.691v-430.037c0-11.605-4.693-22.229-12.587-30.080s-18.475-12.587-30.080-12.587h-682.667c-11.605 0-22.229 4.693-30.080 12.587s-12.587 18.475-12.587 30.080zM42.667 704.725c0-0.427 0-0.853 0-1.28v-511.445c0-35.328 14.507-67.371 37.547-90.453s55.125-37.547 90.453-37.547h682.667c35.328 0 67.371 14.507 90.453 37.547s37.547 55.125 37.547 90.453v511.488c0 0.427 0 0.853 0 1.28-0.213 35.029-14.635 66.773-37.547 89.685-23.083 23.040-55.125 37.547-90.453 37.547h-682.667c-35.328 0-67.371-14.507-90.453-37.547-22.912-22.912-37.333-54.656-37.547-89.728zM891.477 723.029l-379.477-265.6-379.477 265.6c2.048 4.096 4.779 7.808 8.021 11.051 7.893 7.893 18.517 12.587 30.123 12.587h682.667c11.605 0 22.229-4.693 30.080-12.587 3.243-3.243 5.973-6.997 8.021-11.051z" />
|
16 |
+
<glyph unicode="" glyph-name="onboard-metform" d="M276.672 32.96l-276.672 354.528v-305.344c0-53.568 43.424-96.96 96.96-96.96v0h617.28c53.568 0 96.96 43.424 96.96 96.96v237.92l212.672 257.44zM811.2 562.848v266.048c0 53.568-43.424 96.96-96.96 96.96v0h-617.28c-53.568 0-96.96-43.424-96.96-96.96v0-441.344l275.488-168.832 748.448 361.312zM207.744 418.592c-23.2 0-41.984 18.784-41.984 41.984s18.784 41.984 41.984 41.984c23.2 0 41.984-18.784 41.984-41.984v0c0-23.168-18.784-41.952-41.952-41.984v0zM207.744 582.048c-23.2 0-41.984 18.784-41.984 41.984s18.784 41.984 41.984 41.984c23.2 0 41.984-18.784 41.984-41.984v0c-0.032-23.168-18.784-41.92-41.952-41.952v0zM207.744 745.504c-23.2 0-41.984 18.784-41.984 41.984s18.784 41.984 41.984 41.984c23.2 0 41.984-18.784 41.984-41.984v0c0-23.168-18.784-41.952-41.952-41.984v0zM542.816 437.664h-230.272v45.856h230.176zM645.44 601.12h-332.864v45.888h332.864zM645.44 764.576h-332.864v45.856h332.864z" />
|
17 |
+
<glyph unicode="" glyph-name="onboard-play" d="M894.016 562.208c55.136-35.456 74.816-106.336 39.392-161.472-11.808-15.744-23.616-31.52-39.392-39.392l-638.016-385.984c-55.136-35.456-129.984-15.744-161.472 39.392-11.808 19.68-15.744 39.392-15.744 59.072v768c0 66.944 51.2 118.144 118.144 118.144 19.68 0 43.328-3.936 59.072-15.744l638.016-382.016z" />
|
18 |
+
<glyph unicode="" glyph-name="onboard-settings" d="M682.667 448c0 47.104-19.157 89.856-50.005 120.661s-73.557 50.005-120.661 50.005-89.856-19.157-120.661-50.005-50.005-73.557-50.005-120.661 19.157-89.856 50.005-120.661 73.557-50.005 120.661-50.005 89.856 19.157 120.661 50.005 50.005 73.557 50.005 120.661zM597.333 448c0-23.595-9.515-44.843-25.003-60.331s-36.736-25.003-60.331-25.003-44.843 9.515-60.331 25.003-25.003 36.736-25.003 60.331 9.515 44.843 25.003 60.331 36.736 25.003 60.331 25.003 44.843-9.515 60.331-25.003 25.003-36.736 25.003-60.331zM866.773 302.763c1.963 4.48 4.779 8.149 8.192 10.965 4.779 3.925 10.709 6.229 17.195 6.272h3.84c35.328 0 67.413 14.379 90.496 37.504s37.504 55.168 37.504 90.496-14.379 67.413-37.504 90.496-55.168 37.504-90.496 37.504h-6.784c-4.693 0.043-9.173 1.195-13.141 3.243-5.419 2.816-9.813 7.339-12.459 13.312-0.128 1.237-0.171 2.517-0.171 3.797-1.024 2.347-1.707 4.736-2.091 7.168 0.853 14.251 3.285 19.371 7.168 23.339l2.645 2.645c24.96 25.003 37.461 57.856 37.419 90.539s-12.544 65.536-37.589 90.539c-25.003 24.96-57.856 37.461-90.539 37.419s-65.536-12.544-90.453-37.504l-1.963-1.963c-3.541-3.413-7.808-5.803-12.288-7.083-5.973-1.664-12.416-1.365-18.688 1.408-4.309 1.877-7.979 4.693-10.795 8.107-3.925 4.779-6.229 10.709-6.272 17.195v3.84c0 35.328-14.379 67.413-37.504 90.496s-55.168 37.504-90.496 37.504-67.413-14.379-90.496-37.504-37.504-55.168-37.504-90.496v-6.784c-0.043-4.693-1.195-9.173-3.243-13.141-2.816-5.419-7.339-9.813-13.312-12.459-1.237-0.128-2.517-0.171-3.797-0.171-2.347-1.024-4.736-1.707-7.168-2.091-14.293 0.896-19.413 3.328-23.381 7.211l-2.645 2.645c-25.003 24.96-57.813 37.461-90.539 37.461s-65.493-12.544-90.539-37.632c-24.96-25.003-37.461-57.813-37.461-90.539s12.544-65.536 37.504-90.453l2.048-2.005c3.413-3.541 5.803-7.808 7.083-12.288 1.664-5.973 1.365-12.416-1.323-18.517-0.256-0.683-0.555-1.451-0.896-2.219-1.749-4.651-4.608-8.661-8.149-11.733-4.693-4.053-10.667-6.528-16.341-6.656h-3.84c-35.328 0-67.413-14.379-90.496-37.504s-37.504-55.211-37.504-90.539 14.379-67.413 37.504-90.496 55.168-37.504 90.496-37.504h6.784c4.693-0.043 9.173-1.195 13.141-3.243 5.461-2.859 9.941-7.424 12.629-13.696 1.024-2.347 1.707-4.736 2.091-7.168-0.853-14.251-3.285-19.371-7.168-23.339l-2.645-2.645c-24.96-25.003-37.461-57.856-37.419-90.539s12.544-65.536 37.589-90.539c25.003-24.96 57.856-37.461 90.539-37.419s65.536 12.544 90.453 37.504l2.005 2.048c3.541 3.413 7.808 5.803 12.288 7.083 5.973 1.664 12.416 1.365 18.517-1.323 0.683-0.256 1.451-0.555 2.219-0.896 4.651-1.749 8.661-4.608 11.733-8.149 4.053-4.693 6.528-10.667 6.656-16.341v-3.925c0-35.328 14.379-67.413 37.504-90.496s55.168-37.504 90.496-37.504 67.413 14.379 90.496 37.504 37.504 55.168 37.504 90.496v6.784c0.043 4.693 1.195 9.173 3.243 13.141 2.859 5.461 7.424 9.941 13.696 12.629 2.347 1.024 4.736 1.707 7.168 2.091 14.251-0.853 19.371-3.285 23.339-7.168l2.645-2.645c25.003-24.96 57.856-37.461 90.539-37.419s65.536 12.544 90.539 37.589c24.96 25.003 37.461 57.856 37.419 90.539s-12.544 65.536-37.504 90.453l-2.048 2.005c-3.413 3.541-5.803 7.808-7.083 12.288-1.664 5.973-1.365 12.416 1.323 18.517zM784.896 563.115c-0.512 8.576-1.621 12.672-3.243 16.299v-3.413c0-1.835 0.128-3.584 0.341-5.333 0.896-2.56 1.835-5.077 2.901-7.552 0.171-3.84 0.213-3.883 0.213-3.925 10.624-24.789 29.184-43.947 51.541-55.595 15.829-8.235 33.493-12.715 51.669-12.928h7.68c11.776 0 22.4-4.736 30.165-12.501s12.501-18.389 12.501-30.165-4.736-22.4-12.501-30.165-18.389-12.501-30.165-12.501h-3.84c-27.179-0.128-52.053-9.728-71.467-25.728-13.781-11.349-24.789-25.899-32-42.368-10.965-24.832-12.288-51.627-5.419-76.032 5.077-18.048 14.549-34.731 27.819-48.469l3.072-3.115c8.363-8.363 12.544-19.2 12.544-30.165s-4.139-21.845-12.459-30.165c-8.405-8.405-19.243-12.587-30.251-12.587s-21.845 4.139-30.165 12.459l-2.603 2.603c-19.755 19.328-44.373 29.952-69.632 32.085-18.645 1.579-37.632-1.451-55.168-9.045-24.661-10.581-43.819-29.141-55.467-51.456-8.235-15.829-12.715-33.493-12.928-51.669v-7.723c0-11.776-4.736-22.4-12.501-30.165s-18.347-12.459-30.123-12.459-22.4 4.736-30.165 12.501-12.501 18.389-12.501 30.165v3.84c-0.64 28.16-10.88 52.992-27.477 72.192-12.117 13.995-27.563 24.96-45.141 31.744-24.533 10.539-50.901 11.691-74.923 4.949-18.048-5.077-34.731-14.549-48.469-27.819l-3.115-3.072c-8.363-8.363-19.2-12.544-30.165-12.544s-21.845 4.139-30.165 12.459c-8.405 8.405-12.587 19.243-12.587 30.251s4.139 21.845 12.459 30.165l2.603 2.603c19.328 19.755 29.952 44.373 32.085 69.632 1.579 18.645-1.451 37.632-9.045 55.168-10.581 24.661-29.141 43.819-51.456 55.467-15.829 8.235-33.493 12.715-51.669 12.928l-7.68-0.043c-11.776 0-22.4 4.736-30.165 12.501s-12.501 18.389-12.501 30.165 4.736 22.4 12.501 30.165 18.389 12.501 30.165 12.501h3.84c28.16 0.64 52.992 10.88 72.192 27.477 13.995 12.117 24.96 27.563 31.744 45.141 10.539 24.533 11.691 50.901 4.949 74.923-5.077 18.048-14.549 34.731-27.819 48.469l-3.115 3.115c-8.363 8.363-12.544 19.2-12.544 30.165s4.139 21.845 12.459 30.165c8.405 8.405 19.243 12.587 30.251 12.587s21.845-4.139 30.165-12.459l2.603-2.603c19.755-19.328 44.373-29.952 69.632-32.085 15.787-1.365 31.787 0.597 46.976 5.845 4.096 0.512 7.936 1.536 11.349 3.072-1.323-0.043-2.603-0.128-3.797-0.171-8.576-0.512-12.672-1.621-16.299-3.243h3.413c1.835 0 3.584 0.128 5.333 0.341 2.56 0.896 5.077 1.835 7.552 2.901 3.84 0.171 3.883 0.213 3.925 0.213 24.789 10.624 43.947 29.184 55.595 51.541 8.235 15.787 12.715 33.493 12.928 51.627v7.723c0 11.776 4.736 22.4 12.501 30.165s18.389 12.501 30.165 12.501 22.4-4.736 30.165-12.501 12.501-18.389 12.501-30.165v-3.84c0.128-27.179 9.728-52.053 25.728-71.467 11.349-13.781 25.899-24.789 42.496-32.043 24.661-10.88 51.456-12.203 75.861-5.333 18.048 5.077 34.731 14.549 48.469 27.819l3.115 3.072c8.363 8.363 19.2 12.544 30.165 12.544s21.845-4.139 30.165-12.459c8.405-8.405 12.587-19.243 12.587-30.251s-4.139-21.845-12.459-30.165l-2.603-2.603c-19.328-19.755-29.952-44.373-32.085-69.632-1.365-15.787 0.597-31.787 5.845-46.976 0.512-4.053 1.579-7.893 3.072-11.349-0.043 1.365-0.085 2.645-0.171 3.797z" />
|
19 |
+
<glyph unicode="" glyph-name="onboard-shopengine" d="M556.032 52.192c-11.424 13.792-18.368 31.68-18.368 51.2 0 5.12 0.48 10.112 1.376 14.976l-0.064-0.512c0.832 5.024 1.856 9.344 3.168 13.568l-0.192-0.704c2.144 6.88 4.864 12.832 8.192 18.368l-0.192-0.384c-6.208 1.344-11.648 3.104-16.8 5.376l0.544-0.224v-2.4c-0.672-14.848-12.8-26.656-27.744-26.784h-15.008c0 0 0 0-0.032 0-14.976 0-27.2 11.872-27.744 26.752v0.064l-0.928 23.168-6.496 163.84c0 0.256-0.032 0.576-0.032 0.864 0 11.488 9.088 20.864 20.448 21.312h43.52c0 0 0 0 0 0 10.272 0 18.816-7.264 20.832-16.928l0.032-0.128c0.992 0.352 1.952 0.8 2.944 1.088-6.208 11.584-9.888 25.312-9.888 39.936 0 13.952 3.328 27.104 9.248 38.752l-0.224-0.48c0.96 1.952 2.080 3.904 3.2 5.824v0c1.664 2.88 3.424 5.728 5.504 8.672 8.992 13.248 19.744 24.48 32.064 33.696l0.352 0.256c9.408 7.552 20.48 13.536 32.512 17.248l0.704 0.192c11.008-7.104 24.416-11.296 38.848-11.296 34.72 0 63.712 24.448 70.752 57.056l0.096 0.48c5.312 2.56 11.488 4.736 17.952 6.24l0.608 0.128 9.216 2.752 19.232 0.512h10.176l19.232-0.512 9.184-2.752c7.040-1.6 13.216-3.744 19.040-6.528l-0.544 0.224c7.136-33.12 36.16-57.6 70.912-57.6 14.432 0 27.872 4.224 39.168 11.488l-0.288-0.16c12.768-3.904 23.84-9.856 33.44-17.568l-0.192 0.16c4.448-3.424 9.12-7.488 13.664-11.872 7.232 10.656 11.552 23.808 11.552 37.984 0 0.032 0 0.064 0 0.096v0 26.848c0 37.984-30.784 68.768-68.768 68.768h-144.8l-125.888 208.416c3.040 7.264 4.8 15.744 4.8 24.608 0 36.128-29.28 65.408-65.408 65.408s-65.408-29.28-65.408-65.408c0-32.928 24.352-60.192 56.064-64.736l0.352-0.032 98.144-168.256h-377.472l98.112 168.256c32 4.576 56.352 31.808 56.352 64.736 0 36.096-29.28 65.376-65.376 65.376s-65.376-29.28-65.376-65.376c0-8.864 1.76-17.312 4.96-24.992l-0.16 0.448-126.112-208.416h-144.32c-37.984 0-68.768-30.784-68.768-68.768v0-26.848c0-0.032 0-0.032 0-0.064 0-37.92 30.752-68.704 68.672-68.704h-3.040l55.136-318.656c8.512-47.2 49.216-82.528 98.176-82.624h360.928c-8.64 7.584-16.416 15.648-23.456 24.32l-0.288 0.352zM162.656 493.28c0 20.736 16.8 37.536 37.536 37.536v0 0c20.736 0 37.536-16.8 37.536-37.536s-16.8-37.536-37.536-37.536c-20.736 0-37.536 16.8-37.536 37.536v0zM323.968 124.832c-0.384-0.032-0.864-0.032-1.312-0.032s-0.928 0-1.376 0.032h-15.2c-18.464 0-33.888 13.088-37.504 30.464l-0.032 0.256-38.080 184.992c-0.16 0.896-0.256 1.92-0.256 2.976 0 8.256 5.728 15.168 13.408 16.992l0.128 0.032c0.992 0.224 2.144 0.352 3.296 0.352 0.032 0 0.064 0 0.096 0h45.792c0.064 0 0.096 0 0.16 0 14.272 0 26.016-10.784 27.584-24.608v-0.128l7.296-61.792 14.88-125.44c0.128-0.832 0.192-1.792 0.192-2.752 0-11.008-8.288-20.096-18.976-21.312h-0.096zM1023.776 252.736c-0.32 3.424-0.544 7.072-0.96 10.592-0.64 8.768-4.352 16.544-10.048 22.4v0c-5.984 6.016-14.24 9.728-23.36 9.792v0c-9.6 0.16-19.168 0.224-28.8 0.32-12.32 0.256-22.784 7.872-27.232 18.592l-0.064 0.192c-0.416 1.76-0.704 3.808-0.768 5.92v0.064c0 0.288 0 0.608 0 0.96 0 8.16 3.488 15.488 9.088 20.608l0.032 0.032c6.624 6.592 13.376 13.088 19.744 19.936 5.76 5.856 9.312 13.856 9.312 22.72 0 5.408-1.344 10.528-3.68 15.008l0.096-0.192c-1.664 3.296-3.424 6.080-5.408 8.736l0.096-0.16c-5.792 8.448-12.768 15.616-20.768 21.44l-0.256 0.16c-4.352 3.552-9.504 6.336-15.104 8.096l-0.32 0.096c-2.848 0.928-6.112 1.472-9.504 1.472-7.744 0-14.816-2.816-20.256-7.488l0.032 0.032c-4.128-3.424-7.744-7.36-11.616-11.104-4.64-4.512-8.928-9.44-13.984-13.472-4.512-3.712-10.336-5.984-16.704-5.984-4.128 0-8.032 0.96-11.488 2.624l0.16-0.064c-6.912 3.616-12 9.888-13.952 17.472l-0.032 0.192c-0.544 3.232-0.864 6.976-0.864 10.784 0 0.576 0 1.184 0.032 1.76v-0.096c-0.192 7.616 0 15.232-0.448 22.848 0 0.064 0 0.16 0 0.256 0 13.28-7.712 24.736-18.912 30.144l-0.192 0.096c-3.264 1.312-7.2 2.496-11.264 3.328l-0.48 0.096-1.376 0.448h-8.384l-3.424 0.192h-8.096l-3.424-0.192h-8.384l-1.376-0.448c-4.544-0.928-8.48-2.112-12.256-3.584l0.512 0.16c-11.424-5.504-19.136-16.992-19.136-30.272 0-0.064 0-0.128 0-0.224v0c-0.448-7.584-0.224-15.232-0.448-22.848 0-0.448 0.032-0.992 0.032-1.536 0-3.84-0.32-7.616-0.928-11.296l0.064 0.384c-1.984-7.744-7.072-14.048-13.856-17.568l-0.16-0.064c-3.328-1.632-7.232-2.56-11.36-2.56-6.368 0-12.224 2.272-16.768 6.016l0.032-0.032c-5.024 4.032-9.312 8.992-13.984 13.472-3.808 3.712-7.456 7.744-11.584 11.104-5.408 4.64-12.48 7.456-20.192 7.456-3.392 0-6.656-0.544-9.696-1.536l0.224 0.064c-5.92-1.856-11.072-4.64-15.52-8.256l0.096 0.064c-8.256-6.016-15.232-13.152-20.832-21.312l-0.192-0.288c-1.856-2.496-3.616-5.28-5.12-8.224l-0.16-0.32c-2.272-4.32-3.584-9.408-3.584-14.848 0-8.864 3.552-16.864 9.312-22.72v0c6.336-6.816 13.12-13.344 19.744-19.936 5.6-5.12 9.088-12.48 9.088-20.64 0-0.32 0-0.672-0.032-0.992v0.032c-0.096-2.176-0.384-4.224-0.832-6.208l0.032 0.256c-4.544-10.944-15.008-18.528-27.264-18.816h-0.032c-9.6 0-19.168 0-28.8-0.32-9.152-0.064-17.408-3.808-23.392-9.792v0c-5.696-5.824-9.408-13.632-10.016-22.272v-0.128c-0.416-3.424-0.64-7.072-0.96-10.592v-2.624c0.32-4.544 0.48-9.088 0.928-13.664 0.288-3.136 0.928-6.048 1.856-8.8l-0.064 0.256c0-0.48 0-0.96 0-1.44 1.216-8.64 5.952-16 12.704-20.64l0.096-0.064c5.472-3.744 12.224-5.984 19.488-5.984 0.032 0 0.032 0 0.064 0v0c10.24-0.416 20.16-0.672 30.24-1.408 10.016-0.416 18.656-5.984 23.328-14.144l0.064-0.128c2.88-4.448 4.576-9.92 4.576-15.744 0-7.136-2.528-13.664-6.752-18.784l0.032 0.064c-6.176-6.624-12.192-13.376-18.368-19.936-4.032-4-7.168-8.864-9.056-14.336l-0.096-0.256c-1.312-3.2-2.048-6.944-2.048-10.848 0-7.008 2.432-13.44 6.496-18.528l-0.032 0.064c7.68-9.536 16.288-17.824 25.856-24.928l0.384-0.256c3.264-2.656 7.264-4.576 11.616-5.44l0.16-0.032c1.728-0.32 3.712-0.512 5.728-0.512 8.768 0 16.736 3.456 22.624 9.056v0c7.456 6.816 14.528 14.016 21.856 20.992 2.944 3.072 6.624 5.44 10.752 6.784l0.192 0.064c2.592 0.768 5.536 1.216 8.608 1.216 3.616 0 7.104-0.608 10.336-1.76l-0.224 0.064 0.928-0.64c6.912-4.704 11.808-11.904 13.376-20.288l0.032-0.192c0.48-2.912 0.768-6.24 0.768-9.664 0-0.256 0-0.544 0-0.8v0.032c0-7.712-0.224-15.456 0-23.168 0-0.192 0-0.384 0-0.608 0-13.536 8.96-25.024 21.248-28.8l0.224-0.064c8.128-3.040 17.504-4.8 27.296-4.8s19.168 1.76 27.872 4.96l-0.544-0.192c12.544 3.808 21.504 15.296 21.504 28.864 0 0.224 0 0.416 0 0.64v-0.032c0.192 7.712 0 15.456 0 23.168 0 0.128 0 0.256 0 0.416 0 3.52 0.288 6.976 0.832 10.368l-0.064-0.384c1.6 8.576 6.496 15.776 13.312 20.416l0.096 0.064 0.928 0.64c1.536 0.448 3.328 0.768 5.184 0.96h0.128l-27.744 26.016c-12.32-4.064-26.496-6.4-41.184-6.4-74.88 0-135.584 60.704-135.584 135.584s60.704 135.584 135.584 135.584c74.88 0 135.584-60.704 135.584-135.584 0 0 0 0 0 0v0c-0.064-12.16-1.696-23.904-4.736-35.104l0.224 0.96 27.52-25.76c4.896 6.496 12.448 10.752 20.992 11.168h0.064c10.24 0.704 20.16 0.992 30.272 1.408 0 0 0 0 0 0 7.296 0 14.048 2.24 19.616 6.048l-0.128-0.064c6.816 4.736 11.552 12.096 12.768 20.544l0.032 0.16c0 0.48 0 0.96 0 1.44 0.832 2.496 1.472 5.376 1.76 8.384v0.16c0.448 4.512 0.608 9.056 0.928 13.664zM968.768 111.424q-36.512 35.136-73.024 70.304c-6.144 5.952-12.224 11.936-18.272 17.984-0.576 0.608-1.12 1.248-1.568 1.952l-0.032 0.064c-1.216 1.76-1.92 3.968-1.92 6.304 0 1.12 0.16 2.24 0.48 3.264l-0.032-0.096c0.704 2.688 1.408 5.44 2.144 8.096 2.656 8.576 4.16 18.4 4.16 28.608 0 10.784-1.696 21.152-4.832 30.88l0.192-0.704c-6.816 20.992-19.84 38.368-36.864 50.496l-0.288 0.192c-15.136 11.744-34.432 18.848-55.36 18.848-0.096 0-0.192 0-0.256 0v0c-10.752-0.128-21.024-1.856-30.72-4.928l0.736 0.192c0.864-1.024 1.472-1.92 2.176-2.624l37.536-36.8c3.296-3.2 6.112-6.816 8.384-10.816l0.128-0.224c4.192-6.656 6.688-14.752 6.688-23.424 0-6.656-1.472-12.96-4.096-18.656l0.128 0.288c-3.968-8.256-9.408-15.2-16.064-20.768l-0.096-0.064c-0.288-0.224-0.48-0.512-0.736-0.736-8.128-7.2-18.88-11.584-30.656-11.584-3.104 0-6.112 0.288-9.024 0.864l0.288-0.064c-9.248 1.568-17.344 5.696-23.712 11.616l0.032-0.032c-8.64 7.904-16.864 16.288-25.216 24.48-4.672 4.608-9.28 9.248-13.952 13.824-0.544 0.544-1.6 1.248-2.112 1.056-1.824-0.704-3.424-1.696-3.68-4.032-0.448-5.408-1.12-10.784-1.344-16.192-0.064-1.312-0.096-2.848-0.096-4.416 0-12.384 2.368-24.224 6.656-35.072l-0.224 0.64c8.736-21.088 23.424-38.24 41.984-49.792l0.448-0.256c14.176-9.44 31.616-15.040 50.368-15.040 7.424 0 14.624 0.864 21.536 2.528l-0.64-0.128c6.080 1.248 11.968 3.424 17.984 4.992 1.472 0.544 3.136 0.864 4.896 0.864 4.032 0 7.68-1.632 10.304-4.256v0c5.696-5.504 11.744-10.624 17.44-16.064 18.56-17.696 36.992-35.456 55.52-53.152 7.264-6.816 14.528-13.888 22.112-20.48 4.448-4 10.272-6.528 16.704-6.816h0.064c1.024-0.128 2.208-0.192 3.424-0.192 5.6 0 10.848 1.568 15.296 4.288l-0.128-0.064c5.536 3.68 10.176 8.224 13.856 13.472l0.096 0.16c3.168 4.576 5.056 10.272 5.056 16.416 0 3.68-0.672 7.168-1.92 10.432l0.064-0.192c-2.208 5.792-5.664 10.656-10.016 14.496l-0.032 0.032zM946.048 69.568c0 0-0.032 0-0.032 0-9.216 0-16.768 7.168-17.376 16.224v0.064c0 0.16 0 0.352 0 0.544 0 9.44 7.648 17.056 17.056 17.056 0 0 0 0 0 0v0c0.352 0.032 0.768 0.032 1.216 0.032 8.768 0 15.872-7.104 15.872-15.872 0-0.16 0-0.288 0-0.448v0.032c0-0.256 0.032-0.544 0.032-0.832 0-9.28-7.488-16.768-16.736-16.832v0z" />
|
20 |
+
<glyph unicode="" glyph-name="onboard-smile" d="M512-64c282.784 0 512 229.216 512 512s-229.216 512-512 512-512-229.216-512-512 229.216-512 512-512zM512 864c229.76 0 416-186.24 416-416s-186.24-416-416-416-416 186.24-416 416 186.24 416 416 416zM256 640c0 35.36 28.64 64 64 64s64-28.64 64-64c0-35.36-28.64-64-64-64s-64 28.64-64 64zM640 640c0 35.36 28.64 64 64 64s64-28.64 64-64c0-35.36-28.64-64-64-64s-64 28.64-64 64zM704.096 332.736l82.336-49.408c-55.968-93.056-157.92-155.36-274.432-155.36s-218.464 62.272-274.432 155.36l82.336 49.408c39.168-65.152 110.528-108.736 192.096-108.736s152.928 43.584 192.096 108.736z" />
|
21 |
+
<glyph unicode="" glyph-name="onboard-user" d="M896 64v85.333c0 58.88-23.936 112.299-62.464 150.869s-91.989 62.464-150.869 62.464h-341.333c-58.88 0-112.299-23.936-150.869-62.464s-62.464-91.989-62.464-150.869v-85.333c0-23.552 19.115-42.667 42.667-42.667s42.667 19.115 42.667 42.667v85.333c0 35.371 14.293 67.285 37.504 90.496s55.125 37.504 90.496 37.504h341.333c35.371 0 67.285-14.293 90.496-37.504s37.504-55.125 37.504-90.496v-85.333c0-23.552 19.115-42.667 42.667-42.667s42.667 19.115 42.667 42.667zM725.333 661.333c0 58.88-23.936 112.299-62.464 150.869s-91.989 62.464-150.869 62.464-112.299-23.936-150.869-62.464-62.464-91.989-62.464-150.869 23.936-112.299 62.464-150.869 91.989-62.464 150.869-62.464 112.299 23.936 150.869 62.464 62.464 91.989 62.464 150.869zM640 661.333c0-35.371-14.293-67.285-37.504-90.496s-55.125-37.504-90.496-37.504-67.285 14.293-90.496 37.504-37.504 55.125-37.504 90.496 14.293 67.285 37.504 90.496 55.125 37.504 90.496 37.504 67.285-14.293 90.496-37.504 37.504-55.125 37.504-90.496z" />
|
22 |
+
<glyph unicode="" glyph-name="onboard-wpsocial" d="M668.768 935.52c-6.816 2.144-13.664 4.192-20.48 6.080-3.424 0.992-7.2 1.76-10.784 2.656 10.56-2.816 19.84-7.168 28.096-12.864l-0.288 0.192c99.936-69.312 69.504-252.576-48.8-268.416v0l-7.136 1.248c-4.416 0.736-8.928 1.184-13.376 1.824 7.040-0.928 14.016-1.856 20.896-3.136 11.904-2.208 23.552-5.024 34.912-8.256 1.632-0.48 3.424-1.024 4.832-1.504q15.168-4.544 29.568-10.24l3.104-1.152c9.92-4.032 19.488-8.576 28.768-13.376l6.016-3.168c9.088-4.928 17.888-10.24 26.208-15.744 1.408-0.928 2.656-1.952 4-2.88 6.432-4.48 12.576-9.152 18.496-13.952 1.92-1.568 3.776-3.104 5.6-4.672 6.816-5.824 13.312-11.776 19.328-18.048 251.904-251.072-11.904-565.888-124.864-608.352 205.728 69.632 351.2 260.928 351.2 486.24 0 226.784-147.392 419.136-351.584 486.528l-3.616 1.024zM566.304 171.68c-7.872-0.48-15.84-0.672-23.904-0.672-13.248-0.96-25.92-1.216-38.24-1.248h-7.488q-17.696 0.288-34.144 1.696l-5.632 0.608c-10.24 1.056-20 2.432-29.472 4.128l-3.872 0.64c-10.048 1.952-19.552 4.288-28.768 6.816l-5.792 1.728c-9.088 2.784-17.824 5.824-26.080 9.248-0.8 0.352-1.536 0.704-2.336 1.056-7.744 3.424-15.136 6.816-22.144 10.72-1.408 0.736-2.784 1.472-4.128 2.208-8.096 4.576-14.784 8.864-21.216 13.472l0.736-0.512c-1.344 0.928-2.592 1.888-3.872 2.848-6.656 4.864-12.448 9.6-17.984 14.592l0.192-0.192-0.896 0.736c-5.6 5.184-10.816 10.528-15.744 16.096l-0.224 0.256-3.136 3.424c-4.704 5.568-9.184 11.296-13.248 17.056-0.64 0.96-1.248 1.952-1.888 2.88q-5.536 8.288-10.24 16.864c-0.512 0.96-1.088 1.888-1.568 2.848-3.424 6.208-6.144 12.512-8.768 18.912-0.576 1.376-1.088 2.72-1.632 4.096-2.496 6.528-4.8 13.12-6.816 19.744 0 0.384-0.16 0.736-0.288 1.088-1.76 6.464-3.2 12.928-4.416 19.424-0.224 1.312-0.512 2.56-0.736 3.872q-1.632 9.888-2.464 19.808c0 1.216 0 2.464-0.224 3.648-0.416 6.368-0.608 12.736-0.512 19.040 0 0.64 0 1.312 0 1.984v1.056c0 4.128 0.352 8.224 0.704 12.288 0 0.48 0 0.992 0 1.472 0.32 3.424 0.704 6.624 1.152 9.888 0.96 7.168 2.24 14.208 3.872 21.088 0.608 2.656 1.216 5.312 1.952 7.904v0c1.12 4.096 2.368 8.128 3.712 12.096l0.32 0.896c1.376 3.936 2.848 7.808 4.416 11.584v0c2.336 6.304 4.992 12.512 7.904 18.624 0.928 1.952 2.016 3.776 3.008 5.696 2.112 4.128 4.256 8.256 6.816 12.256 1.344 2.208 2.848 4.384 4.224 6.56 2.336 3.424 4.64 7.2 7.136 10.688 1.632 2.24 3.424 4.448 5.152 6.816 2.528 3.424 5.088 6.56 7.808 9.728 1.92 2.208 3.968 4.416 5.952 6.592 2.784 3.008 5.6 6.048 8.576 8.928 2.144 2.144 4.448 4.224 6.816 6.304 3.040 2.784 6.112 5.568 9.28 8.288 2.4 2.016 4.832 4 7.328 5.984 3.424 2.592 6.592 5.152 10.016 7.616 2.592 1.888 5.248 3.712 7.904 5.568 3.424 2.4 7.104 4.704 10.72 6.816 2.784 1.696 5.568 3.424 8.416 5.088 3.744 2.176 7.584 4.256 11.456 6.304 2.944 1.568 5.856 3.104 8.864 4.576 4 1.984 8.064 3.808 12.192 5.632 3.040 1.376 6.112 2.752 9.248 4.032 4.256 1.76 8.64 3.424 12.992 4.992 3.104 1.152 6.208 2.336 9.344 3.424 4.64 1.568 9.344 2.944 14.048 4.288 3.104 0.928 6.112 1.888 9.248 2.688 5.184 1.376 10.464 2.528 15.776 3.68 2.784 0.608 5.568 1.344 8.384 1.92 6.816 1.344 13.888 2.464 20.96 3.424 1.344 0.192 2.624 0.448 3.968 0.608 8.384 1.12 16.896 1.952 25.504 2.528 9.152 0.608 18.4 0.96 27.744 0.96 5.856 0 11.68-0.224 17.504-0.48l-2.976 0.192c159.936 0.448 174.912 248.096 35.808 283.936v0c-24.256 4.032-52.192 6.304-80.672 6.304-0.064 0-0.096 0-0.16 0v0c-11.296 0-22.464-0.48-33.6-1.216l-9.088-0.704q-13.984-1.152-27.744-3.040l-5.664-0.704c-10.688-1.6-21.312-3.424-31.776-5.824-2.72-0.576-5.44-1.248-8.192-1.888q-12.512-2.912-24.896-6.432c-2.528-0.704-5.152-1.408-7.68-2.176-10.080-3.040-20.032-6.368-29.824-10.048-2.176-0.832-4.288-1.728-6.496-2.56q-11.968-4.64-23.648-9.856c-2.72-1.184-5.44-2.432-8.128-3.648-9.44-4.416-18.784-9.024-27.872-13.984-1.056-0.576-2.080-1.184-3.104-1.824-8.224-4.544-16.256-9.312-24.16-14.304-1.248-0.8-2.592-1.472-3.872-2.272s-2.88-1.984-4.32-2.976q-8.384-5.504-16.544-11.328c-2.432-1.696-4.832-3.424-7.2-5.12q-11.424-8.416-22.432-17.472l-2.944-2.528q-9.536-8-18.624-16.448c-2.208-2.048-4.384-4.16-6.56-6.24q-7.36-7.072-14.432-14.4c-2.112-2.176-4.224-4.384-6.304-6.624q-8-8.608-15.552-17.536c-1.152-1.344-2.368-2.656-3.424-4.032q-9.184-11.072-17.728-22.624c-1.408-1.888-2.688-3.808-4.064-5.696q-6.432-8.928-12.48-18.144c-1.664-2.528-3.424-5.12-4.928-7.68q-5.664-8.928-10.944-18.208c-1.344-2.368-2.72-4.672-4.064-7.072-4.672-8.48-9.216-17.056-13.408-25.824l-0.512-1.12c-4-8.32-7.712-16.832-11.232-25.408-1.088-2.656-2.112-5.408-3.168-8.128-2.56-6.528-5.024-13.152-7.296-19.808-1.024-2.976-2.048-5.92-3.008-8.896-2.4-7.36-4.576-14.816-6.816-22.304-0.576-2.048-1.184-4.064-1.696-6.112q-3.712-14.272-6.816-28.832c-0.448-2.336-0.832-4.704-1.248-7.040q-2.080-11.232-3.68-22.624c-0.448-3.424-0.864-6.56-1.248-9.824-0.864-7.104-1.536-14.272-2.080-21.472-0.224-3.104-0.544-6.208-0.704-9.312-0.576-10.24-0.992-20.48-0.992-30.72 0-0.096 0-0.224 0-0.352 0-282.592 229.088-511.648 511.648-511.648 45.824 0 90.208 6.016 132.448 17.312l-3.584-0.8-0.288-0.288q16.48 4.192 32.576 9.536c94.048 78.752 29.12 207.392-106.208 210.592zM630.816 945.952l6.816-1.664c-0.704 0.192-1.376 0.544-2.080 0.704-1.6 0.384-3.2 0.608-4.736 0.96zM585.216 667.68c3.616-0.384 7.136-0.96 10.72-1.44-2.752 0.384-5.44 0.928-8.224 1.216zM443.168 388.32c0-17.696-14.336-32.064-32.064-32.064s-32.064 14.336-32.064 32.064c0 17.696 14.336 32.064 32.064 32.064s32.064-14.336 32.064-32.064zM524.928 388.32c0-17.696 14.336-32.064 32.064-32.064s32.064 14.336 32.064 32.064c0 17.696-14.336 32.064-32.064 32.064v0c-17.696 0-32.064-14.336-32.064-32.064v0zM734.912 388.32c0 17.696-14.336 32.064-32.064 32.064s-32.064-14.336-32.064-32.064c0-17.696 14.336-32.032 32-32.064v0c0 0 0.032 0 0.032 0 17.696 0 32.064 14.336 32.064 32.064 0 0 0 0 0 0v0z" />
|
23 |
+
<glyph unicode="" glyph-name="onboard-youtube" d="M920.021 676.821c12.245-65.237 19.115-140.587 18.645-218.667 0.811-65.195-5.248-139.392-18.645-214.229-2.432-8.875-6.4-17.195-11.605-24.533-9.685-13.696-23.808-24.107-40.491-28.8-25.771-6.869-91.989-11.733-165.419-14.549-95.147-3.669-190.507-3.669-190.507-3.669s-95.36 0-190.507 3.627c-73.429 2.816-139.648 7.637-164.949 14.421-8.747 2.432-16.896 6.357-24.149 11.435-13.269 9.387-23.467 22.869-28.587 39.381-12.16 65.109-18.944 140.203-18.475 218.027-0.896 65.707 5.163 140.459 18.645 215.893 2.432 8.875 6.4 17.195 11.605 24.533 9.685 13.696 23.808 24.107 40.491 28.8 25.771 6.869 91.989 11.733 165.419 14.549 95.147 3.627 190.507 3.627 190.507 3.627s95.36 0 190.549-3.328c73.344-2.56 140.032-6.955 164.523-12.928 9.344-2.688 17.963-7.040 25.515-12.757 13.099-9.899 22.955-23.936 27.435-40.875zM1003.093 696.448c-9.259 36.949-30.635 67.84-59.008 89.301-15.915 12.032-33.963 21.077-53.291 26.667-38.315 9.387-115.029 13.781-185.259 16.213-96.725 3.371-193.536 3.371-193.536 3.371s-96.939 0-193.749-3.712c-70.059-2.688-147.2-7.467-184.192-17.365-37.291-10.539-67.456-32.853-88.064-61.867-11.52-16.256-20.011-34.603-25.045-54.101-0.256-1.024-0.469-2.091-0.64-3.029-14.635-80.981-21.291-161.835-20.309-233.856-0.512-82.091 6.869-163.456 20.352-234.752 0.256-1.323 0.555-2.645 0.896-3.755 10.453-36.693 32.853-66.859 61.909-87.381 15.232-10.752 32.299-18.901 50.432-23.936 37.504-10.027 114.603-14.805 184.661-17.493 96.811-3.712 193.749-3.712 193.749-3.712s96.939 0 193.749 3.712c70.059 2.688 147.157 7.467 184.192 17.365 37.248 10.539 67.456 32.853 88.021 61.867 11.52 16.256 20.053 34.603 25.045 54.059 0.256 1.067 0.512 2.133 0.64 3.029 14.507 80.384 21.163 160.64 20.309 232.107 0.512 82.133-6.869 163.541-20.352 234.837-0.171 0.853-0.341 1.707-0.512 2.432zM458.667 392.491v132.352l116.352-66.176zM437.077 282.069l245.333 139.52c20.48 11.648 27.648 37.717 16 58.197-3.968 6.997-9.643 12.459-16 16l-245.333 139.52c-20.48 11.648-46.549 4.48-58.197-16-3.84-6.741-5.632-14.080-5.589-21.077v-279.040c0-23.552 19.115-42.667 42.667-42.667 7.765 0 15.019 2.091 21.077 5.589z" />
|
24 |
+
</font></defs></svg>
|
core/integrations/onboard/assets/fonts/xs-onboard-icons.ttf
ADDED
Binary file
|
core/integrations/onboard/assets/fonts/xs-onboard-icons.woff
ADDED
Binary file
|
core/integrations/onboard/assets/images/congrats-shape.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/features/module-icon-01.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/features/module-icon-02.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/features/module-icon-03.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/features/module-icon-04.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/features/module-icon-05.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/pro-line-shape.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/products/elementskit-logo.svg
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="Layer_1" x="0px" y="0px" viewBox="0 0 335.7 46.6" xml:space="preserve">
|
2 |
+
<g>
|
3 |
+
<g>
|
4 |
+
<path fill="#F8003C" d="M1.7,28.1h14.7c0.7,0,1.2-0.4,1.5-0.9c0.1-0.2,0.2-0.5,0.2-0.8v-6.2c0-1-0.8-1.7-1.7-1.7H8H1.7 c-1,0-1.7,0.8-1.7,1.7v6.2C0,27.3,0.8,28.1,1.7,28.1z"/>
|
5 |
+
<path fill="#27334F" d="M33.6,14.4c0-1.8,0.4-3.5,1.2-5c0-0.1,0-0.1,0-0.2l-7.4,8.9c-0.9,1.1-1.4,2.3-1.6,3.6 c-0.3,2.1,0.2,4.3,1.6,6.1l3.5,4.2l2.3,2.8l4.9,5.9l2.7,3.3l0,0l1.4,1.7c0.4,0.5,1,0.7,1.6,0.8c0,0,0,0,0,0c0.3,0,0.6-0.1,0.9-0.2 h0c0.3-0.1,0.5-0.3,0.7-0.5l0.2-0.2l3.9-3.8c0.8-0.8,0.9-2.1,0.1-2.9l-1.2-1.5l-4.2-5.1l-5.9-7c-0.5-0.6-0.8-1.4-0.8-2.2 c-0.1-0.1-0.1-0.2-0.2-0.3C35.1,20.8,33.6,17.8,33.6,14.4z"/>
|
6 |
+
<path fill="#FFAA00" d="M49.9,6.3c0-0.5-0.2-0.9-0.6-1.3l-4.2-4.3c-0.3-0.3-0.7-0.5-1.1-0.6c0,0,0,0,0,0C43.8,0,43.6,0,43.4,0 c-0.6,0-1.2,0.3-1.6,0.8l-3.7,4.5l0,0l-3.3,3.9c0,0.1,0,0.1,0,0.2c0,0,0,0,0,0c-0.8,1.5-1.2,3.2-1.2,5c0,3.4,1.5,6.4,3.9,8.4 c0.1,0.1,0.1,0.2,0.2,0.3c0-0.8,0.3-1.6,0.8-2.3l10.9-13C49.8,7.4,49.9,6.8,49.9,6.3z"/>
|
7 |
+
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="33.4347" y1="19.6302" x2="39.0536" y2="12.7343">
|
8 |
+
<stop offset="0" style="stop-color:#000000"/>
|
9 |
+
<stop offset="0.1448" style="stop-color:#303030"/>
|
10 |
+
<stop offset="0.3812" style="stop-color:#797979"/>
|
11 |
+
<stop offset="0.5934" style="stop-color:#B2B2B2"/>
|
12 |
+
<stop offset="0.7737" style="stop-color:#DCDCDC"/>
|
13 |
+
<stop offset="0.9151" style="stop-color:#F6F6F6"/>
|
14 |
+
<stop offset="1" style="stop-color:#FFFFFF"/>
|
15 |
+
</linearGradient>
|
16 |
+
<path opacity="0.3" fill="url(#SVGID_1_)" d="M49.9,6.3c0-0.5-0.2-0.9-0.6-1.3l-4.2-4.3c-0.3-0.3-0.7-0.5-1.1-0.6c0,0,0,0,0,0 C43.8,0,43.6,0,43.4,0c-0.6,0-1.2,0.3-1.6,0.8l-3.7,4.5l0,0l-3.3,3.9c0,0.1,0,0.1,0,0.2c0,0,0,0,0,0c-0.8,1.5-1.2,3.2-1.2,5 c0,3.4,1.5,6.4,3.9,8.4c0.1,0.1,0.1,0.2,0.2,0.3c0-0.8,0.3-1.6,0.8-2.3l10.9-13C49.8,7.4,49.9,6.8,49.9,6.3z"/>
|
17 |
+
<path fill="#F8003C" d="M13.7,35.7h-12c-0.2,0-0.4,0-0.6,0.1C0.5,36,0,36.7,0,37.4v3.1v3.1c0,1,0.8,1.7,1.7,1.7h0.1h3.6 C6.9,41.2,9.9,37.7,13.7,35.7L13.7,35.7"/>
|
18 |
+
<path fill="#F8003C" d="M5.5,45.4H26c1,0,1.7-0.8,1.7-1.7v-0.3v-5.9c0-1-0.8-1.7-1.7-1.7h-1.3H13.8C9.9,37.7,6.9,41.2,5.5,45.4z"/>
|
19 |
+
<linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="5.4519" y1="40.5244" x2="27.7615" y2="40.5244">
|
20 |
+
<stop offset="0" style="stop-color:#000000"/>
|
21 |
+
<stop offset="0.1448" style="stop-color:#303030"/>
|
22 |
+
<stop offset="0.3812" style="stop-color:#797979"/>
|
23 |
+
<stop offset="0.5934" style="stop-color:#B2B2B2"/>
|
24 |
+
<stop offset="0.7737" style="stop-color:#DCDCDC"/>
|
25 |
+
<stop offset="0.9151" style="stop-color:#F6F6F6"/>
|
26 |
+
<stop offset="1" style="stop-color:#FFFFFF"/>
|
27 |
+
</linearGradient>
|
28 |
+
<path opacity="0.4" fill="url(#SVGID_2_)" d="M5.5,45.4H26c1,0,1.7-0.8,1.7-1.7v-0.3v-5.9c0-1-0.8-1.7-1.7-1.7h-1.3H13.8 C9.9,37.7,6.9,41.2,5.5,45.4z"/>
|
29 |
+
<path fill="#0099AC" d="M25.9,1.2h-3.6c-1.5,4.2-4.5,7.6-8.3,9.7h0h12c0.2,0,0.4,0,0.6-0.1c0.7-0.2,1.2-0.9,1.2-1.6V6.1V2.9 C27.8,2,27,1.2,25.9,1.2L25.9,1.2"/>
|
30 |
+
<path fill="#0099AC" d="M22.3,1.2H1.7C0.8,1.2,0,2,0,2.9v0.3v5.9c0,1,0.8,1.7,1.7,1.7h1.3H14C17.9,8.8,20.8,5.4,22.3,1.2z"/>
|
31 |
+
|
32 |
+
<linearGradient id="SVGID_3_" gradientUnits="userSpaceOnUse" x1="-805.4604" y1="764.8273" x2="-783.1508" y2="764.8273" gradientTransform="matrix(-1 0 0 -1 -783.1508 770.8482)">
|
33 |
+
<stop offset="0" style="stop-color:#000000"/>
|
34 |
+
<stop offset="0.1448" style="stop-color:#303030"/>
|
35 |
+
<stop offset="0.3812" style="stop-color:#797979"/>
|
36 |
+
<stop offset="0.5934" style="stop-color:#B2B2B2"/>
|
37 |
+
<stop offset="0.7737" style="stop-color:#DCDCDC"/>
|
38 |
+
<stop offset="0.9151" style="stop-color:#F6F6F6"/>
|
39 |
+
<stop offset="1" style="stop-color:#FFFFFF"/>
|
40 |
+
</linearGradient>
|
41 |
+
<path opacity="0.4" fill="url(#SVGID_3_)" d="M22.3,1.2H1.7C0.8,1.2,0,2,0,2.9v0.3v5.9c0,1,0.8,1.7,1.7,1.7h1.3H14 C17.9,8.8,20.8,5.4,22.3,1.2z"/>
|
42 |
+
</g>
|
43 |
+
<g>
|
44 |
+
<path fill="none" d="M189.8,19.9c-1.7,0-3.1,0.5-4.3,1.5c-1.1,0.9-1.8,2.2-2,3.7h12.9c-0.3-1.6-1-2.8-2-3.7 C193.1,20.4,191.6,19.9,189.8,19.9z"/>
|
45 |
+
<path fill="none" d="M117.4,19.9c-1.7,0-3.1,0.5-4.3,1.5c-1.1,0.9-1.8,2.2-2,3.7h12.9c-0.3-1.6-1-2.8-2-3.7 C120.7,20.4,119.2,19.9,117.4,19.9z"/>
|
46 |
+
<polygon fill="#252525" points="73.5,26.2 87.6,26.2 87.6,20.5 73.5,20.5 73.5,11.5 90.6,11.5 90.6,5.7 67,5.7 67,41.4 91.2,41.4 91.2,35.6 73.5,35.6 "/>
|
47 |
+
<rect x="94.6" y="5.7" fill="#252525" width="6.1" height="35.8"/>
|
48 |
+
<path fill="#252525" d="M123.9,16.3c-1.9-1-4.2-1.5-6.7-1.5c-2.5,0-4.7,0.6-6.7,1.7c-1.9,1.1-3.5,2.7-4.5,4.8 c-1.1,2-1.6,4.4-1.6,7.1c0,2.7,0.6,5,1.7,7c1.1,2,2.7,3.6,4.7,4.7c2,1.1,4.4,1.7,7.2,1.7c3.1,0,5.8-0.9,7.9-2.6 c2.1-1.7,3.4-3.9,3.9-6.6l0.1-0.4h-6.1l-0.1,0.3c-0.3,1.3-1,2.4-2.1,3.1c-1.1,0.7-2.4,1.1-4,1.1c-2,0-3.6-0.6-4.8-1.8 c-1.2-1.2-1.9-2.9-2-5H130l0-0.3c0.1-0.7,0.2-1.4,0.2-2.1c0-2.5-0.6-4.8-1.7-6.6C127.3,18.8,125.8,17.4,123.9,16.3z M111,25.1 c0.3-1.5,0.9-2.7,2-3.7c1.2-1,2.7-1.5,4.3-1.5c1.8,0,3.3,0.5,4.5,1.5c1.1,0.9,1.8,2.1,2,3.7H111z"/>
|
49 |
+
<path fill="#252525" d="M163.7,14.8c-2.1,0-4,0.4-5.5,1.3c-1.3,0.7-2.4,1.8-3.3,3c-0.7-1.3-1.8-2.4-3-3.1 c-1.4-0.8-3.1-1.2-4.9-1.2c-3,0-5.4,1.1-7.3,3.2l-0.5-2.9l-5.4,2v24.4h6.1V27.4c0-2.2,0.5-4,1.5-5.3c1-1.3,2.4-1.9,4.1-1.9 c1.7,0,2.9,0.5,3.7,1.6c0.9,1.1,1.3,2.7,1.3,4.9v14.8h6.2V27.2c0-2.2,0.5-3.9,1.5-5.2c1-1.2,2.4-1.8,4.1-1.8 c1.7,0,2.9,0.5,3.7,1.6c0.8,1.1,1.3,2.7,1.3,4.9v14.8h6.2V26.6c0-4.1-0.9-7.1-2.8-9C169,15.7,166.6,14.8,163.7,14.8z"/>
|
50 |
+
<path fill="#252525" d="M196.3,16.3c-1.9-1-4.2-1.5-6.7-1.5c-2.5,0-4.7,0.6-6.7,1.7c-1.9,1.1-3.5,2.7-4.5,4.8 c-1.1,2-1.6,4.4-1.6,7.1c0,2.7,0.6,5,1.7,7c1.1,2,2.7,3.6,4.7,4.7c2,1.1,4.4,1.7,7.2,1.7c3.1,0,5.8-0.9,7.9-2.6 c2.1-1.7,3.4-3.9,3.9-6.6l0.1-0.4h-6.1l-0.1,0.3c-0.3,1.3-1,2.4-2.1,3.1c-1.1,0.7-2.4,1.1-4,1.1c-2,0-3.6-0.6-4.8-1.8 c-1.2-1.2-1.9-2.9-2-5h19.2l0-0.3c0.1-0.7,0.2-1.4,0.2-2.1c0-2.5-0.6-4.8-1.7-6.6C199.8,18.8,198.3,17.4,196.3,16.3z M183.4,25.1 c0.3-1.5,0.9-2.7,2-3.7c1.2-1,2.7-1.5,4.3-1.5c1.8,0,3.3,0.5,4.5,1.5c1.1,0.9,1.8,2.1,2,3.7H183.4z"/>
|
51 |
+
<path fill="#252525" d="M220.1,14.8c-3.3,0-6,1.1-8,3.2l-0.5-2.9l-5.4,2v24.4h6.1V28.2c0-2.5,0.6-4.5,1.7-5.9 c1.2-1.4,2.7-2.1,4.7-2.1c1.9,0,3.3,0.6,4.3,1.8c1,1.2,1.5,3,1.5,5.3v14.2h6.2V27c0-4.2-1-7.3-3-9.3 C225.8,15.8,223.2,14.8,220.1,14.8z"/>
|
52 |
+
<path fill="#252525" d="M243.3,35.4c-0.3-0.3-0.5-1-0.5-1.9v-13h6.2v-5.5h-6.2V7.9l-6.2,2v5.2h-2.5l-2,5.5h4.5v13.5 c0,2.5,0.6,4.3,1.8,5.5c1.2,1.2,3.1,1.8,5.6,1.8h5.6v-5.5h-4.5C244.2,35.9,243.6,35.8,243.3,35.4z"/>
|
53 |
+
<path fill="#252525" d="M268.7,26.4c-1.5-0.5-3.4-0.9-5.6-1.1c-1.6-0.2-2.8-0.4-3.5-0.5c-0.7-0.1-1.2-0.4-1.7-0.7 c-0.4-0.3-0.6-0.8-0.6-1.4c0-0.9,0.4-1.6,1.3-2.1c0.9-0.6,2.1-0.8,3.6-0.8c1.5,0,2.7,0.4,3.7,1.1c1,0.7,1.5,1.5,1.6,2.6l0,0.3h6 l0-0.4c-0.2-2.7-1.3-4.8-3.4-6.3c-2.1-1.5-4.8-2.2-8.1-2.2c-2,0-3.8,0.3-5.4,1c-1.6,0.7-2.9,1.7-3.8,2.9c-0.9,1.3-1.4,2.8-1.4,4.4 c0,1.8,0.5,3.2,1.4,4.2c0.9,1,2.2,1.8,3.7,2.3c1.5,0.5,3.3,0.8,5.6,1.1c1.6,0.2,2.8,0.4,3.6,0.6c0.7,0.2,1.3,0.4,1.7,0.8 c0.4,0.4,0.6,0.9,0.6,1.7c0,0.9-0.4,1.6-1.3,2.2c-1,0.6-2.2,0.9-3.8,0.9c-1.7,0-3.2-0.4-4.3-1.2h0c-1.1-0.8-1.6-1.8-1.7-3l0-0.3 h-5.9l0,0.4c0.1,2.8,1.2,5.1,3.4,6.7c2.2,1.6,5,2.4,8.5,2.4c2.1,0,4-0.3,5.6-1c1.7-0.7,3-1.7,4-2.9c1-1.3,1.5-2.8,1.5-4.5 c0-1.9-0.5-3.4-1.4-4.5C271.5,27.7,270.2,26.9,268.7,26.4z"/>
|
54 |
+
<polygon fill="#252525" points="308.1,5.7 300.1,5.7 284.6,23.1 284.6,5.7 278.1,5.7 278.1,41.4 284.6,41.4 284.6,32 290.3,25.7 301.1,41.4 308.9,41.4 294.9,20.7 "/>
|
55 |
+
<path fill="#F8003C" d="M313.5,4.8c-1,0-1.9,0.3-2.6,1c-0.7,0.7-1.1,1.6-1.1,2.6s0.4,1.9,1.1,2.6c0.7,0.7,1.6,1,2.6,1 s1.9-0.3,2.6-1c0.7-0.7,1.1-1.6,1.1-2.6s-0.4-1.9-1.1-2.6C315.4,5.2,314.5,4.8,313.5,4.8z"/>
|
56 |
+
<rect x="310.4" y="15.1" fill="#252525" width="6.2" height="26.4"/>
|
57 |
+
<path fill="#252525" d="M331.3,35.9c-0.9,0-1.5-0.2-1.8-0.5c-0.3-0.3-0.5-1-0.5-1.9v-13h6.2v-5.5H329V7.9l-6.2,2v5.2h-2.5l-2,5.5 h4.5v13.5c0,2.5,0.6,4.3,1.8,5.5c1.2,1.2,3.1,1.8,5.6,1.8h5.6v-5.5H331.3z"/>
|
58 |
+
</g>
|
59 |
+
</g>
|
60 |
+
</svg>
|
core/integrations/onboard/assets/images/products/fundraising-logo.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/products/metform-logo.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/products/shopengine-logo.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/products/ultimate-review-logo.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/products/wp-social-logo.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/shape-01.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/shape-02.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/shape-03.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/shape-04.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/shape-05.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/shape-06.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/shape-07.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/shape-08.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/shape-09.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/shape-10.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/shape-11.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/shape-12.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/shape-13.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/shape-14.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/shape-15.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/shape-16.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/shape-17.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/shape-18.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/shape-19.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/shape-20.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/shape-21.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/shape-22.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/step-2-shape.png
ADDED
Binary file
|
core/integrations/onboard/assets/images/tutorial-banner.png
ADDED
Binary file
|
core/integrations/onboard/assets/js/metform-onboard.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
jQuery(document).ready((function(t){"use strict";var e;if(t(".mf-admin-single-accordion").on("click",".mf-admin-single-accordion--heading",(function(){t(this).next().slideToggle().parent().toggleClass("active").siblings().removeClass("active").find(".mf-admin-single-accordion--body").slideUp()})),t(".mf-admin-single-accordion:first-child .mf-admin-single-accordion--heading").trigger("click"),t(".mf-admin-video-tutorial-item, .mf-onboard-tutorial--btn").on("click","a",(function(e){var a=t(this).data("video_id");a&&(e.preventDefault(),t(".mf-admin-video-tutorial-popup").toggleClass("show").find(".mf-admin-video-tutorial-iframe").html('<iframe width="700" height="400" src="https://www.youtube.com/embed/'+a+'?autoplay=1" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>'))})),t(".mf-admin-video-tutorial-close").on("click",(function(){t(this).parents(".mf-admin-video-tutorial-popup").removeClass("show").find(".mf-admin-video-tutorial-iframe").html("")})),t(".mf-admin-nav-link[data-attr-toggle]").on("click",(function(){var e=t(this),a=this.hash;e.parents(".attr-nav-tabs").find("a").removeClass("top").removeClass("bottom"),e.parents("li").prev().find("a").addClass("top"),e.parents("li").next().find("a").addClass("bottom"),history.pushState(null,null,a)})),(e=window.location.hash)&&t("".concat(e,"-tab")).trigger("click"),t("#v-elementskit-tabContent").length>0){var a=t("#v-elementskit-tabContent").offset().top;t(window).scroll((function(){var e=t(".mf-admin-section-header");t(window).scrollTop()>=a?e.addClass("fixed").css({width:jQuery("#v-elementskit-tabContent").width()}):e.removeClass("fixed").css({width:"auto"})}))}function i(e){var a=e.closest(".attr-tab-pane"),i=t(a).find(".mf-admin-fields-container-fieldset"),n=i.find(".mf-admin-control-input:checked").length==i.find(".mf-admin-control-input:not(:disabled)").length;t(a).find(".mf-all-control-input").prop("checked",n)}function n(e,a){var i=e.getAttribute("aria-controls"),n=document.getElementById("".concat(i));a?(t(n).removeClass("attr-in"),n.style.height="0px",e.style.pointerEvents="none"):(n.style.height="auto",e.style.pointerEvents="auto","mail_chimp_data_control"===i&&t(n).addClass("attr-in"))}function o(e){var a=e.value,i=t(".label-".concat(a)),o=i.find(".attr-btn");t(e).prop("checked")?i.removeClass("widget-disabled"):i.addClass("widget-disabled");var s=document.createElement("small");if(s.setAttribute("class","attr-widget-activate-text"),s.setAttribute("id","disable-msg-".concat(a)),s.textContent="Disabled",i.hasClass("widget-disabled"))o.hasClass("attr-btn")&&(i.hasClass("pro-disabled")||(o[0].setAttribute("aria-expanded",!1),o[0].appendChild(s)),n(o[0],!0));else if(o.hasClass("attr-btn")){"mail-chimp"===a&&o[0].setAttribute("aria-expanded",!0);var r=document.getElementById("disable-msg-".concat(a));r&&r.parentNode.removeChild(r),n(o[0],!1)}}t("#mf-admin-settings-form").on("submit",(function(e){var a=t(this),i=a.find(".mf-admin-settings-form-submit"),n=a.serialize();a.addClass("is-loading"),i.attr("disabled",!0),i.find(".mf-admin-save-icon").hide(),n+="&nonce="+mf_ajax_var.nonce,t.post(ajaxurl+"?action=mf_admin_action",n,(function(e){var n,o,s,r;a.removeClass("is-loading"),i.removeAttr("disabled"),i.find(".mf-admin-save-icon").fadeIn(),n=t("#mf-admin-switch__module__list____header-footer").prop("checked"),o=t("#elementskit-template-admin-menu").html(),s=t("#toplevel_page_elementskit .wp-submenu"),r=s.find('a[href="edit.php?post_type=elementskit_template"]'),1==n?r.length>0||"y"==s.attr("item-added")?r.parent().show():(s.find("li.wp-first-item").after(o),s.attr("item-added","y")):r.parent().hide(),function(){var e=t("#mf-admin-switch__module__list____widget-builder").prop("checked"),a=t("#elementskit-template-widget-menu").html(),i=t("#toplevel_page_elementskit .wp-submenu"),n=i.find('a[href="edit.php?post_type=elementskit_widget"]');1==e?n.length>0||"y"==i.attr("item-added")?n.parent().show():(i.find("li.wp-first-item").next().after(a),i.attr("item-added","y")):n.parent().hide()}(),i.hasClass("mf-onboard-btn")&&(window.location.href=window.location.origin+window.location.pathname+"?page=metform-menu-settings")})),e.preventDefault()})),t("#mf-admin-license-form").on("submit",(function(e){var a=t(this),i=a.find(".mf-admin-license-form-submit"),n=a.serialize(),o=a.find(".elementskit-license-form-result .attr-alert");a.addClass("is-loading"),i.find(".mf-admin-save-icon").hide(),n+="&nonce="+mf_ajax_var.nonce,t.post(ajaxurl+"?action=mf_admin_license",n,(function(t){a.removeClass("is-loading"),i.removeAttr("disabled"),i.find(".mf-admin-save-icon").fadeIn(),o.attr("class","attr-alert attr-alert-"+t.status).html(t.message),1==t.validate&&setTimeout((function(){window.location.reload()}),2e3)}),"json"),e.preventDefault()})),t(".mf-zoom-connection").on("click",(function(e){e.preventDefault();var a=t(this);a.attr("disabled",!0),jQuery.ajax({data:{},type:"post",url:window.rest_config.rest_url+"elementskit/v1/zoom-meeting/hosts/",beforeSend:function(t){t.setRequestHeader("X-WP-Nonce",window.rest_config.nonce)},success:function(t){alert(t.message),a.attr("disabled",!1)}})})),t("#mf_instagram_refresh_feed_btn").on("click",(function(e){e.preventDefault();var a=elementskit.resturl+"widget/instagram-feed/refresh_feed",i=t("#mf-admin-option-textuser__data__instragram____username__").val();t.get("https://www.instagram.com/"+i+"/?__a=1",(function(e){t.ajax({type:"POST",url:a,data:{content:e},success:function(t){alert("Instagram data refreshed")},error:function(t){alert("Instagram data refreshed")}})}))})),t(".cache_clean_social_provider").on("click",(function(e){e.preventDefault();var a=t(this),i=a.data("provider"),n=a.data("url_part"),o=elementskit.resturl+"widget/"+n+"/remove_cache";a.attr("disabled",!0),t.ajax({type:"POST",url:o,data:{provider_id:i},success:function(t){a.attr("disabled",!1),alert(t.msg)},error:function(t){a.attr("disabled",!0),alert("Something wrong.....")}})})),document.querySelectorAll(".mf-admin-control-input").forEach((function(t){o(t)})),t(".mf-all-control-input").each((function(t,e){i(e)})),t(".mf-admin-fields-container-fieldset .mf-admin-control-input").on("change",(function(t){i(t.target),o(t.target)})),t(".mf-all-control-input").on("change",(function(e){var a=t(e.target).closest(".attr-tab-pane").find(".mf-admin-fields-container")[0];t(a).find(".mf-admin-control-input:not(:disabled)").each((function(a,i){t(i).prop("checked",e.target.checked),o(i)}))})),t(".mf-onboard-step-wrapper #signup").on("input",(function(){var e,a,i;e=t(this),i=e,t(".error").remove(),!i.length||(a=i.val(),/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(a))||i.parent().after('<p class="error">Please enter valid email.</p>')})),t(".mf-onboard-step-wrapper #signup").on("keydown",(function(t){"Enter"==t.key&&t.preventDefault()})),t(".mf-onboard-nav-item").on("click",(function(){if(t(this).index()>1&&!t(this).hasClass("next")&&!t(this).hasClass("selected"))return!1;t(this).hasClass("next")&&t(".mf-onboard-step-wrapper.active #signup"),t(this).next().addClass("next").siblings().removeClass("next"),t(this).removeClass("selected"),t(this).addClass("active").siblings().removeClass("active"),t(this).prevAll().addClass("selected").end().nextAll().removeClass("selected");var e=t(this).data("step_key"),a=t(this).parents(".mf-onboard-nav"),i=a.offset().left,n=t(this).hasClass("last")?a.width():t(this).offset().left-i+t(this).outerWidth();t(".mf-onboard-progressbar").css("width",n),t(".mf-onboard-"+e).addClass("active").siblings().removeClass("active")})),t(".mf-onboard-nav-item:first-of-type").trigger("click"),t(".mf-onboard-pagi-btn").on("click",(function(e){t(this).hasClass("next")&&t(".mf-onboard-nav-item.active").next().trigger("click"),t(this).hasClass("prev")&&t(".mf-onboard-nav-item.active").prev().trigger("click")}));var s=["elementskit-icon-pack","header-footer","megamenu","button","heading","category-list","post-list","page-list","nav-menu","accordion","header-info","header-search","icon-box","image-box","client-logo","faq","funfact","testimonial","social","video","blog-posts","pricing","team","tab","header-offcanvas"],r=["ninja-forms","wp-forms","we-forms","social-share","drop-caps","caldera-forms","onepage-scroll","contact-form7","fluent-forms"];function l(e,a,i,n){var o=this;t.ajax({type:"GET",url:e,beforeSend:function(){t(o).addClass("mf-plugin-install-activate"),i&&t(o).html(i)},success:function(i){t(o).removeClass("mf-plugin-install-activate"),e.indexOf("action=activate")>=0&&t(o).addClass("activated"),t(o).html(n),a&&a()}})}t(".mf-admin-input-radio .mf-admin-control-input").on("change",(function(e,a){var i=t(".mf-onboard-section .attr-input:not(.mf-content-type-pro-disabled)"),n=i.find(".mf-admin-control-input");if(t(".mf-admin-input-radio .mf-admin-input-switch").removeClass("active"),t(this).parent().addClass("active"),a&&"hold"===a)return!1;n.prop("checked",!1),"basic"==t(this).val()?s.forEach((function(t){i.find('.mf-admin-control-input[value="'+t+'"]').prop("checked",!0)})):"advanced"==t(this).val()?n.each((function(){-1==r.indexOf(t(this).val())?t(this).prop("checked",!0):t(this).prop("checked",!1)})):n.prop("checked",!0)})),jQuery(".mf-admin-input-radio .mf-admin-control-input:checked").trigger("change"),t(".mf-onboard-section .mf-admin-control-input").on("change",(function(){"custom"!=t(".mf-admin-input-radio .mf-admin-control-input").val()&&(t(".mf-onboard-custom-filter .mf-admin-control-input").prop("checked",!0),t(".mf-onboard-custom-filter .mf-admin-control-input").trigger("change","hold"))})),t(".mf-onboard-single-plugin--install_plugin").on("click",(function(e){var a=this;e.preventDefault();var i=t(this).attr("href"),n=t(this).attr("data-activation_url"),o=t(this).data("plugin_status");if(t(this).hasClass("mf-plugin-install-activate")||t(this).hasClass("activated"))return!1;"not_installed"==o?l.call(this,i,(function(){l.call(a,n,null,"Activating...","Activated")}),"Installing...","Installed"):"installed"==o&&l.call(this,n,null,"Activating...","Activated")})),jQuery(".mf-onboard-tut-term--help").on("click",(function(){t(this).toggleClass("active").prev().toggleClass("active")}))}));
|
core/integrations/onboard/attr.php
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace MetForm\Core\Integrations\Onboard;
|
3 |
+
|
4 |
+
use MetForm\Core\Integrations\Onboard\Classes\Utils;
|
5 |
+
use MetForm\Plugin;
|
6 |
+
use MetForm\Traits\Singleton;
|
7 |
+
|
8 |
+
defined( 'ABSPATH' ) || exit;
|
9 |
+
|
10 |
+
class Attr{
|
11 |
+
|
12 |
+
use Singleton;
|
13 |
+
|
14 |
+
public $utils;
|
15 |
+
|
16 |
+
public static function get_dir(){
|
17 |
+
return Plugin::instance()->core_dir() . 'integrations/onboard/';
|
18 |
+
}
|
19 |
+
|
20 |
+
public static function get_url(){
|
21 |
+
return Plugin::instance()->core_url() . 'integrations/onboard/';
|
22 |
+
}
|
23 |
+
|
24 |
+
public function __construct() {
|
25 |
+
|
26 |
+
$this->utils = Utils::instance();
|
27 |
+
|
28 |
+
add_action( 'admin_enqueue_scripts', [$this, 'enqueue_scripts'] );
|
29 |
+
}
|
30 |
+
|
31 |
+
public function enqueue_scripts() {
|
32 |
+
|
33 |
+
wp_register_style( 'metform-onboard-icon', self::get_url() . 'assets/css/onboard-icon.css', Plugin::instance()->version() );
|
34 |
+
wp_register_style( 'metform-init-css-admin', self::get_url() . 'assets/css/admin-style.css', Plugin::instance()->version() );
|
35 |
+
|
36 |
+
wp_enqueue_style( 'metform-onboard-icon' );
|
37 |
+
|
38 |
+
wp_enqueue_style( 'metform-init-css-admin' );
|
39 |
+
|
40 |
+
wp_enqueue_script( 'mf-admin-core', self::get_url() . 'assets/js/metform-onboard.js', ['jquery'], Plugin::instance()->version(), true );
|
41 |
+
|
42 |
+
$data['rest_url'] = get_rest_url();
|
43 |
+
$data['nonce'] = wp_create_nonce('wp_rest');
|
44 |
+
|
45 |
+
wp_localize_script('mf-admin-core', 'rest_config', $data);
|
46 |
+
|
47 |
+
wp_localize_script('mf-admin-core', 'mf_ajax_var', array(
|
48 |
+
'nonce' => wp_create_nonce('ajax-nonce')
|
49 |
+
));
|
50 |
+
}
|
51 |
+
}
|
core/integrations/onboard/classes/ajax.php
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace MetForm\Core\Integrations\Onboard\Classes;
|
4 |
+
|
5 |
+
defined( 'ABSPATH' ) || exit;
|
6 |
+
|
7 |
+
class Ajax {
|
8 |
+
|
9 |
+
private $utils;
|
10 |
+
|
11 |
+
public function __construct() {
|
12 |
+
add_action( 'wp_ajax_mf_admin_action', [ $this, 'metform_admin_action' ] );
|
13 |
+
$this->utils = Utils::instance();
|
14 |
+
}
|
15 |
+
|
16 |
+
public function metform_admin_action() {
|
17 |
+
// Check for nonce security
|
18 |
+
if ( ! wp_verify_nonce( $_POST['nonce'], 'ajax-nonce' ) ) {
|
19 |
+
return;
|
20 |
+
}
|
21 |
+
|
22 |
+
if ( ! current_user_can( 'manage_options' ) ) {
|
23 |
+
return;
|
24 |
+
}
|
25 |
+
|
26 |
+
if ( isset( $_POST['user_data'] ) ) {
|
27 |
+
$this->utils->save_option( 'user_data', empty( $_POST['user_data'] ) ? [] : $_POST['user_data'] );
|
28 |
+
}
|
29 |
+
|
30 |
+
if ( isset( $_POST['settings'] ) ) {
|
31 |
+
$this->utils->save_settings( empty( $_POST['settings'] ) ? [] : $_POST['settings'] );
|
32 |
+
}
|
33 |
+
|
34 |
+
|
35 |
+
do_action( 'metform/admin/after_save' );
|
36 |
+
|
37 |
+
exit;
|
38 |
+
}
|
39 |
+
|
40 |
+
public function return_json( $data ) {
|
41 |
+
if ( is_array( $data ) || is_object( $data ) ) {
|
42 |
+
return json_encode( $data );
|
43 |
+
} else {
|
44 |
+
return $data;
|
45 |
+
}
|
46 |
+
}
|
47 |
+
|
48 |
+
}
|
core/integrations/onboard/classes/plugin-data-sender.php
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace MetForm\Core\Integrations\Onboard\Classes;
|
4 |
+
|
5 |
+
use MetForm\Core\Integrations\Onboard\Onboard;
|
6 |
+
use MetForm\Plugin;
|
7 |
+
use MetForm\Traits\Singleton;
|
8 |
+
|
9 |
+
defined( 'ABSPATH' ) || exit;
|
10 |
+
|
11 |
+
class Plugin_Data_Sender {
|
12 |
+
|
13 |
+
use Singleton;
|
14 |
+
|
15 |
+
private $installedPlugins = [];
|
16 |
+
private $themes = [];
|
17 |
+
private $activatedPlugins = [];
|
18 |
+
|
19 |
+
public function __construct() {
|
20 |
+
$this->set_activated_plugins();
|
21 |
+
$this->set_installed_plugins();
|
22 |
+
$this->setThemes();
|
23 |
+
}
|
24 |
+
|
25 |
+
private function set_activated_plugins() {
|
26 |
+
foreach ( apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) as $plugin ) {
|
27 |
+
array_push( $this->activatedPlugins, $plugin );
|
28 |
+
}
|
29 |
+
}
|
30 |
+
|
31 |
+
private function set_installed_plugins() {
|
32 |
+
foreach ( get_plugins() as $key => $plugin ) {
|
33 |
+
$status = false;
|
34 |
+
if ( in_array( $key, $this->activatedPlugins ) ) {
|
35 |
+
$status = true;
|
36 |
+
}
|
37 |
+
array_push( $this->installedPlugins, [
|
38 |
+
'name' => $plugin['Name'],
|
39 |
+
'version' => $plugin['Version'],
|
40 |
+
'is_active' => $status,
|
41 |
+
] );
|
42 |
+
}
|
43 |
+
}
|
44 |
+
|
45 |
+
private function setThemes() {
|
46 |
+
$activeTheme = wp_get_theme()->get('Name') ;
|
47 |
+
foreach (wp_get_themes() as $key => $theme) {
|
48 |
+
array_push($this->themes, [
|
49 |
+
"name" => $theme->Name,
|
50 |
+
"version" => $theme->Version,
|
51 |
+
'is_active' => $activeTheme == $theme->Name,
|
52 |
+
]);
|
53 |
+
}
|
54 |
+
}
|
55 |
+
|
56 |
+
|
57 |
+
private function getUrl( $route ) {
|
58 |
+
return Plugin::instance()->account_url(). '/sync/api/' . $route;
|
59 |
+
}
|
60 |
+
|
61 |
+
public function send( $route ) {
|
62 |
+
return wp_remote_post(
|
63 |
+
$this->getUrl($route) ,
|
64 |
+
[
|
65 |
+
'method' => 'POST',
|
66 |
+
'data_format' => 'body',
|
67 |
+
'headers' => [
|
68 |
+
'Content-Type' => 'application/json'
|
69 |
+
],
|
70 |
+
'body' => json_encode( $this->get_data() )
|
71 |
+
]
|
72 |
+
);
|
73 |
+
}
|
74 |
+
|
75 |
+
public function sendAutomizyData( $route, $data ) {
|
76 |
+
return wp_remote_post(
|
77 |
+
$this->getUrl($route) ,
|
78 |
+
[
|
79 |
+
'method' => 'POST',
|
80 |
+
'data_format' => 'body',
|
81 |
+
'headers' => [
|
82 |
+
'Content-Type' => 'application/json'
|
83 |
+
],
|
84 |
+
'body' => json_encode( $data )
|
85 |
+
]
|
86 |
+
);
|
87 |
+
}
|
88 |
+
|
89 |
+
public function get_data() {
|
90 |
+
return [
|
91 |
+
'environment_id' => Onboard::ENVIRONMENT_ID,
|
92 |
+
"domain" => get_site_url(),
|
93 |
+
"total_user" => count_users()['total_users'],
|
94 |
+
"themes" => $this->themes,
|
95 |
+
"plugins" => $this->installedPlugins,
|
96 |
+
"php_version" => phpversion(),
|
97 |
+
"db_version" => mysqli_get_client_version(),
|
98 |
+
"server_name" => explode( ' ', $_SERVER['SERVER_SOFTWARE'] )[0],
|
99 |
+
"max_execution_time" => ini_get( 'max_execution_time' ),
|
100 |
+
"php_memory_size" => ini_get( 'memory_limit' ),
|
101 |
+
"language" => get_locale()
|
102 |
+
];
|
103 |
+
}
|
104 |
+
}
|
core/integrations/onboard/classes/plugin-status.php
ADDED
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace MetForm\Core\Integrations\Onboard\Classes;
|
4 |
+
|
5 |
+
defined( 'ABSPATH' ) || exit;
|
6 |
+
|
7 |
+
class Plugin_Status {
|
8 |
+
|
9 |
+
private static $instance;
|
10 |
+
private $installedPlugins = [];
|
11 |
+
private $activatedPlugins = [];
|
12 |
+
|
13 |
+
public function __construct() {
|
14 |
+
$this->collect_installed_plugins();
|
15 |
+
$this->collect_activated_plugins();
|
16 |
+
}
|
17 |
+
|
18 |
+
private function collect_installed_plugins() {
|
19 |
+
foreach ( get_plugins() as $key => $plugin ) {
|
20 |
+
array_push( $this->installedPlugins, $key );
|
21 |
+
}
|
22 |
+
}
|
23 |
+
|
24 |
+
private function collect_activated_plugins() {
|
25 |
+
foreach ( apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) as $plugin ) {
|
26 |
+
array_push( $this->activatedPlugins, $plugin );
|
27 |
+
}
|
28 |
+
}
|
29 |
+
|
30 |
+
public static function instance() {
|
31 |
+
if ( ! static::$instance ) {
|
32 |
+
static::$instance = new static();
|
33 |
+
}
|
34 |
+
|
35 |
+
return static::$instance;
|
36 |
+
}
|
37 |
+
|
38 |
+
public function get_installed_plugins() {
|
39 |
+
return $this->installedPlugins;
|
40 |
+
}
|
41 |
+
|
42 |
+
public function get_activated_plugins() {
|
43 |
+
return $this->activatedPlugins;
|
44 |
+
}
|
45 |
+
|
46 |
+
public function get_status( $name ) {
|
47 |
+
$data = [
|
48 |
+
"url" => "",
|
49 |
+
"activation_url" => "",
|
50 |
+
"installation_url" => "",
|
51 |
+
"title" => "",
|
52 |
+
"status" => "",
|
53 |
+
];
|
54 |
+
|
55 |
+
if ( $this->check_installed_plugin( $name ) ) {
|
56 |
+
if ( $this->check_activated_plugin( $name ) ) {
|
57 |
+
$data['title'] = __( 'Activated', 'metform' );
|
58 |
+
$data['status'] = "activated";
|
59 |
+
} else {
|
60 |
+
$data['title'] = __( 'Activate Now', 'metform' );
|
61 |
+
$data['status'] = 'installed';
|
62 |
+
$data['activation_url'] = $this->activation_url( $name );
|
63 |
+
}
|
64 |
+
} else {
|
65 |
+
$data['title'] = __( 'Install Now', 'metform' );
|
66 |
+
$data['status'] = 'not_installed';
|
67 |
+
$data['installation_url'] = $this->installation_url( $name );
|
68 |
+
$data['activation_url'] = $this->activation_url( $name );
|
69 |
+
}
|
70 |
+
|
71 |
+
return $data;
|
72 |
+
}
|
73 |
+
|
74 |
+
public function check_installed_plugin( $name ) {
|
75 |
+
return in_array( $name, $this->installedPlugins );
|
76 |
+
}
|
77 |
+
|
78 |
+
public function check_activated_plugin( $name ) {
|
79 |
+
return in_array( $name, $this->activatedPlugins );
|
80 |
+
}
|
81 |
+
|
82 |
+
public function activation_url( $pluginName ) {
|
83 |
+
|
84 |
+
return wp_nonce_url( add_query_arg(
|
85 |
+
array(
|
86 |
+
'action' => 'activate',
|
87 |
+
'plugin' => $pluginName,
|
88 |
+
'plugin_status' => 'all',
|
89 |
+
'paged' => '1&s',
|
90 |
+
),
|
91 |
+
admin_url( 'plugins.php' )
|
92 |
+
), 'activate-plugin_' . $pluginName );
|
93 |
+
}
|
94 |
+
|
95 |
+
public function installation_url( $pluginName ) {
|
96 |
+
$action = 'install-plugin';
|
97 |
+
$pluginSlug = $this->get_plugin_slug( $pluginName );
|
98 |
+
|
99 |
+
return wp_nonce_url(
|
100 |
+
add_query_arg(
|
101 |
+
array(
|
102 |
+
'action' => $action,
|
103 |
+
'plugin' => $pluginSlug
|
104 |
+
),
|
105 |
+
admin_url( 'update.php' )
|
106 |
+
),
|
107 |
+
$action . '_' . $pluginSlug
|
108 |
+
);
|
109 |
+
}
|
110 |
+
|
111 |
+
public function get_plugin_slug( $name ) {
|
112 |
+
$split = explode( '/', $name );
|
113 |
+
|
114 |
+
return isset( $split[0] ) ? $split[0] : null;
|
115 |
+
}
|
116 |
+
|
117 |
+
public function activated_url( $pluginName ) {
|
118 |
+
return add_query_arg(
|
119 |
+
array(
|
120 |
+
'page' => $this->get_plugin_slug( $pluginName ),
|
121 |
+
),
|
122 |
+
admin_url( 'admin.php' ) );
|
123 |
+
}
|
124 |
+
}
|
core/integrations/onboard/classes/utils.php
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace MetForm\Core\Integrations\Onboard\Classes;
|
4 |
+
|
5 |
+
defined( 'ABSPATH' ) || exit;
|
6 |
+
|
7 |
+
class Utils{
|
8 |
+
|
9 |
+
public static $instance = null;
|
10 |
+
private static $key = 'metform_onboard_options';
|
11 |
+
|
12 |
+
public static function get_dir(){
|
13 |
+
return \MetForm\Plugin::instance()->core_dir() . 'integrations/onboard/';
|
14 |
+
}
|
15 |
+
|
16 |
+
public static function get_url(){
|
17 |
+
return \MetForm\Plugin::instance()->core_dir() . 'integrations/onboard/';
|
18 |
+
}
|
19 |
+
|
20 |
+
public function get_option($key, $default = ''){
|
21 |
+
$data_all = get_option(self::$key);
|
22 |
+
return (isset($data_all[$key]) && $data_all[$key] != '') ? $data_all[$key] : $default;
|
23 |
+
}
|
24 |
+
|
25 |
+
public function save_option($key, $value = ''){
|
26 |
+
$data_all = get_option(self::$key);
|
27 |
+
$data_all[$key] = $value;
|
28 |
+
update_option(self::$key, $data_all);
|
29 |
+
}
|
30 |
+
|
31 |
+
public function get_settings($key, $default = ''){
|
32 |
+
$data_all = $this->get_option('settings', []);
|
33 |
+
return (isset($data_all[$key]) && $data_all[$key] != '') ? $data_all[$key] : $default;
|
34 |
+
}
|
35 |
+
|
36 |
+
public function save_settings($new_data = ''){
|
37 |
+
$data_old = $this->get_option('settings', []);
|
38 |
+
$data = array_merge($data_old, $new_data);
|
39 |
+
$this->save_option('settings', $data);
|
40 |
+
}
|
41 |
+
|
42 |
+
/*
|
43 |
+
-> this method used to check weather the widget active/deactive
|
44 |
+
-> this method takes two paramitter 1. widget name 2. Active/deactive hook
|
45 |
+
*/
|
46 |
+
public function is_widget_active_class( $widget_name, $pro_active ){
|
47 |
+
if($pro_active){
|
48 |
+
return 'label-'.esc_attr($widget_name).' attr-panel-heading';
|
49 |
+
}else{
|
50 |
+
return 'label-'.esc_attr($widget_name).' attr-panel-heading pro-disabled';
|
51 |
+
}
|
52 |
+
}
|
53 |
+
|
54 |
+
public function input($input_options){
|
55 |
+
$defaults = [
|
56 |
+
'type' => null,
|
57 |
+
'name' => '',
|
58 |
+
'value' => '',
|
59 |
+
'class' => '',
|
60 |
+
'label' => '',
|
61 |
+
'info' => '',
|
62 |
+
'disabled' => '',
|
63 |
+
'options' => [],
|
64 |
+
];
|
65 |
+
$input_options = array_merge($defaults, $input_options);
|
66 |
+
|
67 |
+
if(file_exists(self::get_dir() . 'controls/settings/' . $input_options['type'] . '.php')){
|
68 |
+
extract($input_options);
|
69 |
+
include self::get_dir() . 'controls/settings/' . $input_options['type'] . '.php';
|
70 |
+
}
|
71 |
+
}
|
72 |
+
|
73 |
+
public static function strify($str){
|
74 |
+
return strtolower(preg_replace("/[^A-Za-z0-9]/", "__", $str));
|
75 |
+
}
|
76 |
+
|
77 |
+
public static function instance() {
|
78 |
+
if ( is_null( self::$instance ) ) {
|
79 |
+
|
80 |
+
// Fire the class instance
|
81 |
+
self::$instance = new self();
|
82 |
+
}
|
83 |
+
|
84 |
+
return self::$instance;
|
85 |
+
}
|
86 |
+
}
|
core/integrations/onboard/controls/settings/color.php
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="form-group mf-admin-input-text mf-admin-input-text-<?php echo esc_attr(self::strify($name)); ?>">
|
2 |
+
<label for="mf-admin-option-text<?php echo esc_attr(self::strify($name)); ?>"><?php echo esc_html($label); ?></label>
|
3 |
+
<input
|
4 |
+
type="color"
|
5 |
+
class="attr-form-control"
|
6 |
+
id="mf-admin-option-text<?php echo esc_attr(self::strify($name)); ?>"
|
7 |
+
aria-describedby="mf-admin-option-text-help<?php echo esc_attr(self::strify($name)); ?>"
|
8 |
+
placeholder="<?php echo esc_attr($placeholder); ?>"
|
9 |
+
name="<?php echo esc_attr($name); ?>"
|
10 |
+
value="<?php echo esc_attr($value); ?>"
|
11 |
+
<?php echo esc_attr($disabled) ?>
|
12 |
+
>
|
13 |
+
<small id="mf-admin-option-text-help<?php echo esc_attr(self::strify($name)); ?>" class="form-text text-muted"><?php echo esc_html($info); ?></small>
|
14 |
+
</div>
|
core/integrations/onboard/controls/settings/date.php
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="form-group mf-admin-input-text mf-admin-input-text-<?php echo esc_attr(self::strify($name)); ?>">
|
2 |
+
<label for="mf-admin-option-text<?php echo esc_attr(self::strify($name)); ?>">
|
3 |
+
<?php echo esc_html($label); ?>
|
4 |
+
</label>
|
5 |
+
<input
|
6 |
+
type="date"
|
7 |
+
class="attr-form-control"
|
8 |
+
id="mf-admin-option-text<?php echo esc_attr(self::strify($name)); ?>"
|
9 |
+
aria-describedby="mf-admin-option-text-help<?php echo esc_attr(self::strify($name)); ?>"
|
10 |
+
placeholder="<?php echo esc_attr($placeholder); ?>"
|
11 |
+
name="<?php echo esc_attr($name); ?>"
|
12 |
+
value="<?php echo esc_attr($value); ?>"
|
13 |
+
<?php echo esc_attr($disabled) ?>
|
14 |
+
>
|
15 |
+
<small id="mf-admin-option-text-help<?php echo esc_attr(self::strify($name)); ?>" class="form-text text-muted"><?php echo esc_html($info); ?></small>
|
16 |
+
</div>
|
core/integrations/onboard/controls/settings/hidden.php
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<input
|
2 |
+
type="hidden"
|
3 |
+
id="mf-admin-option-hidden<?php echo esc_attr(self::strify($name)); ?>"
|
4 |
+
name="<?php echo esc_attr($name); ?>"
|
5 |
+
value="<?php echo esc_attr($value); ?>" />
|
core/integrations/onboard/controls/settings/radio.php
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="attr-input attr-input-radio mf-admin-input-radio <?php echo esc_attr($class); ?>">
|
2 |
+
<div class="mf-admin-input-switch mf-admin-card-shadow attr-card-body">
|
3 |
+
<input <?php echo esc_attr($options['checked'] === true ? 'checked' : ''); ?>
|
4 |
+
type="radio" value="<?php echo esc_attr($value); ?>"
|
5 |
+
class="mf-admin-control-input"
|
6 |
+
name="<?php echo esc_attr($name); ?>"
|
7 |
+
id="mf-admin-radio__<?php echo esc_attr(self::strify($name) . $value); ?>"
|
8 |
+
|
9 |
+
<?php
|
10 |
+
if(isset($attr)){
|
11 |
+
foreach($attr as $k => $v){
|
12 |
+
echo "$k='$v'";
|
13 |
+
}
|
14 |
+
}
|
15 |
+
?>
|
16 |
+
>
|
17 |
+
|
18 |
+
<label class="mf-admin-control-label" for="mf-admin-radio__<?php echo esc_attr(self::strify($name) . $value); ?>">
|
19 |
+
<?php echo esc_html($label); ?>
|
20 |
+
<?php if(!empty($description)) : ?>
|
21 |
+
<span class="mf-admin-control-desc"><?php echo esc_html($description); ?></span>
|
22 |
+
<?php endif; ?>
|
23 |
+
</label>
|
24 |
+
</div>
|
25 |
+
</div>
|
core/integrations/onboard/controls/settings/switch.php
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="attr-input attr-input-switch <?php echo esc_attr($class); ?>">
|
2 |
+
<?php
|
3 |
+
// note:
|
4 |
+
// $options['large_img'] $options['icon'] $options['small_img'] self::strify($name) $label $value
|
5 |
+
// $options['checked'] true / false
|
6 |
+
$no_demo = [
|
7 |
+
'sticky-content',
|
8 |
+
'nav-menu',
|
9 |
+
'header-info',
|
10 |
+
'elementskit-icon-pack',
|
11 |
+
'back-to-top',
|
12 |
+
'image-swap',
|
13 |
+
'facebook-messenger',
|
14 |
+
'advanced-tooltip',
|
15 |
+
'fluent-forms',
|
16 |
+
'zoom',
|
17 |
+
'trustpilot'
|
18 |
+
];
|
19 |
+
?>
|
20 |
+
<div class="mf-admin-input-switch mf-admin-card-shadow attr-card-body">
|
21 |
+
<input <?php echo esc_attr($options['checked'] === true ? 'checked' : ''); ?>
|
22 |
+
type="checkbox" value="<?php echo esc_attr($value); ?>"
|
23 |
+
class="mf-admin-control-input"
|
24 |
+
name="<?php echo esc_attr($name); ?>"
|
25 |
+
id="mf-admin-switch__<?php echo esc_attr(self::strify($name) . $value); ?>"
|
26 |
+
|
27 |
+
<?php
|
28 |
+
if(isset($attr)){
|
29 |
+
foreach($attr as $k => $v){
|
30 |
+
echo "$k='$v'";
|
31 |
+
}
|
32 |
+
}
|
33 |
+
?>
|
34 |
+
>
|
35 |
+
|
36 |
+
<label class="mf-admin-control-label" for="mf-admin-switch__<?php echo esc_attr(self::strify($name) . $value); ?>">
|
37 |
+
<span class="mf-admin-control-label-text"><?php echo esc_html($label); ?></span>
|
38 |
+
<span class="mf-admin-control-label-switch" data-active="ON" data-inactive="OFF"></span>
|
39 |
+
</label>
|
40 |
+
|
41 |
+
|
42 |
+
</div>
|
43 |
+
<?php
|
44 |
+
$slug = 'elementskit/';
|
45 |
+
if( !in_array($value, $no_demo) ) :
|
46 |
+
if($value === 'parallax'){
|
47 |
+
$value = 'effects';
|
48 |
+
}
|
49 |
+
?>
|
50 |
+
<a target="_blank" href="https://wpmet.com/plugin/<?php echo esc_attr($slug) . esc_attr($value); ?>/" class="mf-admin-demo-tooltip"><i class="fa fa-laptop"></i><?php esc_html_e('View Demo', 'metform'); ?></a>
|
51 |
+
<?php endif; ?>
|
52 |
+
</div>
|
core/integrations/onboard/controls/settings/text.php
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="form-group mf-admin-input-text mf-admin-input-text-<?php echo esc_attr(self::strify($name)); ?>">
|
2 |
+
<label for="mf-admin-option-text<?php echo esc_attr(self::strify($name)); ?>"><?php echo esc_html($label); ?></label>
|
3 |
+
<input
|
4 |
+
type="text"
|
5 |
+
class="attr-form-control"
|
6 |
+
id="mf-admin-option-text<?php echo esc_attr(self::strify($name)); ?>"
|
7 |
+
aria-describedby="mf-admin-option-text-help<?php echo esc_attr(self::strify($name)); ?>"
|
8 |
+
placeholder="<?php echo esc_attr($placeholder); ?>"
|
9 |
+
name="<?php echo esc_attr($name); ?>"
|
10 |
+
value="<?php echo esc_attr($value); ?>"
|
11 |
+
<?php echo esc_attr($disabled) ?>
|
12 |
+
>
|
13 |
+
<small id="mf-admin-option-text-help<?php echo esc_attr(self::strify($name)); ?>" class="form-text text-muted"><?php echo esc_html($info); ?></small>
|
14 |
+
</div>
|
core/integrations/onboard/onboard.php
ADDED
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace MetForm\Core\Integrations\Onboard;
|
4 |
+
|
5 |
+
use MetForm\Plugin;
|
6 |
+
use MetForm\Traits\Singleton;
|
7 |
+
use MetForm\Core\Integrations\Onboard\Classes\Plugin_Data_Sender;
|
8 |
+
|
9 |
+
defined( 'ABSPATH' ) || exit;
|
10 |
+
|
11 |
+
class Onboard {
|
12 |
+
|
13 |
+
use Singleton;
|
14 |
+
protected $optionKey = 'met_form_onboard_status';
|
15 |
+
protected $optionValue = 'onboarded';
|
16 |
+
|
17 |
+
const CONTACT_LIST_ID = 2;
|
18 |
+
const ENVIRONMENT_ID = 2;
|
19 |
+
|
20 |
+
public function views() {
|
21 |
+
?>
|
22 |
+
<div class="metform-onboard-dashboard">
|
23 |
+
<div class="metform_container">
|
24 |
+
<form action="" method="POST" id="mf-admin-settings-form">
|
25 |
+
<?php
|
26 |
+
include self::get_dir().'views/layout-onboard.php';
|
27 |
+
?>
|
28 |
+
</form>
|
29 |
+
</div>
|
30 |
+
</div>
|
31 |
+
<?php
|
32 |
+
}
|
33 |
+
|
34 |
+
public static function get_dir() {
|
35 |
+
return Plugin::instance()->core_dir() . 'integrations/onboard/';
|
36 |
+
}
|
37 |
+
|
38 |
+
public static function get_url(){
|
39 |
+
return Plugin::instance()->core_url() . 'integrations/onboard/';
|
40 |
+
}
|
41 |
+
|
42 |
+
public function init() {
|
43 |
+
|
44 |
+
new Classes\Ajax;
|
45 |
+
|
46 |
+
if ( get_option( $this->optionKey ) ) {
|
47 |
+
if(isset($_GET['met-onboard-steps'])) {
|
48 |
+
wp_redirect($this->get_plugin_url());
|
49 |
+
}
|
50 |
+
return true;
|
51 |
+
}
|
52 |
+
|
53 |
+
add_action('metform/admin/after_save', [$this, 'ajax_action']);
|
54 |
+
|
55 |
+
$param = isset( $_GET['met-onboard-steps'] ) ? $_GET['met-onboard-steps'] : null;
|
56 |
+
$requestUri = ( isset( $_GET['post_type'] ) ? $_GET['post_type'] : '' ) . ( isset( $_GET['page'] ) ? $_GET['page'] : '' );
|
57 |
+
|
58 |
+
if ( strpos( $requestUri, 'metform' ) !== false && is_admin() ) {
|
59 |
+
if ( $param !== 'loaded' && ! get_option( $this->optionKey ) ) {
|
60 |
+
wp_redirect( $this->get_onboard_url() );
|
61 |
+
exit;
|
62 |
+
}
|
63 |
+
}
|
64 |
+
|
65 |
+
return true;
|
66 |
+
}
|
67 |
+
|
68 |
+
public function ajax_action(){
|
69 |
+
$this->finish_onboard();
|
70 |
+
|
71 |
+
if ( isset( $_POST['settings']['tut_term'] ) && $_POST['settings']['tut_term'] == 'user_agreed' ) {
|
72 |
+
Plugin_Data_Sender::instance()->send( 'diagnostic-data' ); // send non-sensitive diagnostic data and details about plugin usage.
|
73 |
+
}
|
74 |
+
|
75 |
+
if ( isset( $_POST['settings']['newsletter_email'] ) && !empty($_POST['settings']['newsletter_email'])) {
|
76 |
+
$data = [
|
77 |
+
'email' => $_POST['settings']['newsletter_email'],
|
78 |
+
'environment_id' => Onboard::ENVIRONMENT_ID,
|
79 |
+
'contact_list_id' => Onboard::CONTACT_LIST_ID,
|
80 |
+
];
|
81 |
+
|
82 |
+
$response = Plugin_Data_Sender::instance()->sendAutomizyData( 'email-subscribe', $data);
|
83 |
+
echo print_r($response);
|
84 |
+
exit;
|
85 |
+
}
|
86 |
+
}
|
87 |
+
|
88 |
+
private function get_onboard_url() {
|
89 |
+
return add_query_arg(
|
90 |
+
array(
|
91 |
+
'page' => 'metform-menu-settings',
|
92 |
+
'met-onboard-steps' => 'loaded'
|
93 |
+
),
|
94 |
+
admin_url( 'admin.php' )
|
95 |
+
);
|
96 |
+
}
|
97 |
+
|
98 |
+
public function redirect_onboard() {
|
99 |
+
if (is_null(get_option( $this->optionKey ) )) {
|
100 |
+
wp_redirect( $this->get_onboard_url() );
|
101 |
+
exit;
|
102 |
+
}
|
103 |
+
}
|
104 |
+
|
105 |
+
private static function get_plugin_url() {
|
106 |
+
return add_query_arg(
|
107 |
+
array(
|
108 |
+
'page' => 'metform-menu-settings',
|
109 |
+
),
|
110 |
+
admin_url( 'admin.php' )
|
111 |
+
);
|
112 |
+
}
|
113 |
+
|
114 |
+
public function finish_onboard() {
|
115 |
+
if ( ! get_option( $this->optionKey ) ) {
|
116 |
+
add_option( $this->optionKey, $this->optionValue );
|
117 |
+
}
|
118 |
+
}
|
119 |
+
}
|
core/integrations/onboard/views/layout-onboard.php
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!-- onboard_steps nav begins -->
|
2 |
+
<?php
|
3 |
+
|
4 |
+
$onboard_steps = [
|
5 |
+
'step-01' => [
|
6 |
+
'title' => esc_html__('Tutorial', 'metform'),
|
7 |
+
'sub-title' => esc_html__('Tutorial info', 'metform'),
|
8 |
+
'icon' => esc_attr('xs-onboard-youtube')
|
9 |
+
|
10 |
+
],
|
11 |
+
'step-02' => [
|
12 |
+
'title' => esc_html__('Sign Up', 'metform'),
|
13 |
+
'sub-title' => esc_html__('Sign Up info', 'metform'),
|
14 |
+
'icon' => esc_attr('xs-onboard-user')
|
15 |
+
],
|
16 |
+
'step-03' => [
|
17 |
+
'title' => esc_html__('Website Powerup', 'metform'),
|
18 |
+
'sub-title' => esc_html__('Website Powerup info', 'metform'),
|
19 |
+
'icon' => esc_attr('xs-onboard-layout')
|
20 |
+
],
|
21 |
+
'step-05' => [
|
22 |
+
'title' => esc_html__('Surprise', 'metform'),
|
23 |
+
'sub-title' => esc_html__('Surprise info', 'metform'),
|
24 |
+
'icon' => esc_attr('xs-onboard-gift')
|
25 |
+
],
|
26 |
+
'step-06' => [
|
27 |
+
'title' => esc_html__('Finalizing', 'metform'),
|
28 |
+
'sub-title' => esc_html__('Finalizing info', 'metform'),
|
29 |
+
'icon' => esc_attr('xs-onboard-smile')
|
30 |
+
]
|
31 |
+
];
|
32 |
+
|
33 |
+
if(\MetForm\Plugin::instance()->package_type() != 'free'){
|
34 |
+
unset($onboard_steps['step-05']);
|
35 |
+
}
|
36 |
+
|
37 |
+
$onboard_steps = apply_filters('elementskit/admin/onboard_steps/list', $onboard_steps);
|
38 |
+
|
39 |
+
echo '<ul class="mf-onboard-nav"><div class="mf-onboard-progressbar"></div>';
|
40 |
+
$count = 1;
|
41 |
+
foreach ( $onboard_steps as $step_key => $step ):
|
42 |
+
$icon = ! empty( $step['icon'] ) ? $step['icon'] : '';
|
43 |
+
$title = ! empty( $step['title'] ) ? $step['title'] : '';
|
44 |
+
?>
|
45 |
+
<li data-step_key="<?php echo esc_attr( $step_key ); ?>"
|
46 |
+
class="mf-onboard-nav-item <?php echo $count === 1 ? 'active' : '';
|
47 |
+
echo $count === count( $onboard_steps ) ? 'last' : ''; ?>">
|
48 |
+
<?php if ( ! empty( $icon ) ) : ?>
|
49 |
+
<i class="mf-onboard-nav-icon <?php echo esc_attr( $icon ); ?>"></i>
|
50 |
+
<?php endif; ?>
|
51 |
+
<?php if ( ! empty( $title ) ) : ?>
|
52 |
+
<span class="mf-onboard-nav-text"><?php echo esc_html( $title ); ?></span>
|
53 |
+
<?php endif; ?>
|
54 |
+
</li>
|
55 |
+
<?php $count ++; endforeach;
|
56 |
+
echo '</ul>';
|
57 |
+
?>
|
58 |
+
<!-- onboard_steps nav ends -->
|
59 |
+
|
60 |
+
<!-- onboard_steps content begins -->
|
61 |
+
<?php foreach ( $onboard_steps as $step_key => $step ): ?>
|
62 |
+
|
63 |
+
<!-- includes view file for this step -->
|
64 |
+
<?php
|
65 |
+
$path = isset( $step['view_path'] )
|
66 |
+
? $step['view_path']
|
67 |
+
: self::get_dir() . 'views/onboard-steps/' . $step_key . '.php';
|
68 |
+
|
69 |
+
if ( file_exists( $path ) ) {
|
70 |
+
echo '<div class="mf-onboard-step-wrapper mf-onboard-' . esc_attr( $step_key ) . '">';
|
71 |
+
include( $path );
|
72 |
+
echo '</div>';
|
73 |
+
} ?>
|
74 |
+
|
75 |
+
<?php endforeach; ?>
|
76 |
+
<!-- onboard_steps content ends -->
|
core/integrations/onboard/views/onboard-steps/step-01.php
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="mf-onboard-main-header">
|
2 |
+
<h1 class="mf-onboard-main-header--title"><strong><?php
|
3 |
+
|
4 |
+
echo esc_html__('Check Out the Easy to Understand Video Tutorials to learn the detailed use of MetForm.', 'metform'); ?></strong></h1>
|
5 |
+
</div>
|
6 |
+
<div class="mf-onboard-tutorial">
|
7 |
+
<div class="mf-onboard-tutorial--btn">
|
8 |
+
<a class="mf-onboard-tutorial--link" data-video_id="zg1QIouKO_Q" href="#"><i class="xs-onboard-play"></i></a>
|
9 |
+
</div>
|
10 |
+
|
11 |
+
<div class="mf-admin-video-tutorial-popup">
|
12 |
+
<div class="mf-admin-video-tutorial-iframe"></div>
|
13 |
+
</div>
|
14 |
+
</div>
|
15 |
+
|
16 |
+
|
17 |
+
<div class="mf-onboard-tut-term">
|
18 |
+
<label class="mf-onboard-tut-term--label">
|
19 |
+
<?php $term = MetForm\Core\Integrations\Onboard\Attr::instance()->utils->get_option('settings', []);
|
20 |
+
?>
|
21 |
+
<input <?php if(empty($term['tut_term']) || $term['tut_term'] !== 'user_agreed') : ?>checked="checked"<?php endif; ?> class="mf-onboard-tut-term--input" name="settings[tut_term]" type="checkbox" value="user_agreed">
|
22 |
+
<?php echo esc_html__('Share non-sensitive diagnostic data and details about plugin usage.', 'metform'); ?>
|
23 |
+
</label>
|
24 |
+
|
25 |
+
<p class="mf-onboard-tut-term--helptext"><?php echo esc_html__("We gather non-sensitive diagnostic data as well as information about plugin use. Your site's URL, WordPress and PHP versions, plugins and themes, as well as your email address, will be used to give you a discount coupon. This information enables us to ensure that this plugin remains consistent with the most common plugins and themes at all times. We pledge not to give you any spam, for sure.", 'metform'); ?></p>
|
26 |
+
<p class="mf-onboard-tut-term--help"><?php echo esc_html__('What types of information do we gather?', 'metform'); ?></p>
|
27 |
+
</div>
|
28 |
+
<div class="mf-onboard-pagination">
|
29 |
+
<a class="mf-onboard-btn mf-onboard-pagi-btn prev" href="#"><i class="xs-onboard-arrow-left"></i><?php echo esc_html__('Back', 'metform'); ?></a>
|
30 |
+
<a class="mf-onboard-btn mf-onboard-pagi-btn next" href="#"><?php echo esc_html__('Next Step', 'metform'); ?></a>
|
31 |
+
</div>
|
32 |
+
<div class="mf-onboard-shapes">
|
33 |
+
<img src="<?php echo self::get_url(); ?>assets/images/shape-07.png" alt="" class="shape-07">
|
34 |
+
<img src="<?php echo self::get_url(); ?>assets/images/shape-14.png" alt="" class="shape-14">
|
35 |
+
<img src="<?php echo self::get_url(); ?>assets/images/shape-15.png" alt="" class="shape-15">
|
36 |
+
<img src="<?php echo self::get_url(); ?>assets/images/shape-16.png" alt="" class="shape-16">
|
37 |
+
<img src="<?php echo self::get_url(); ?>assets/images/shape-17.png" alt="" class="shape-17">
|
38 |
+
</div>
|
core/integrations/onboard/views/onboard-steps/step-02.php
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="mf-onboard-step-2-inner">
|
2 |
+
<div class="mf-onboard-step-2-content">
|
3 |
+
<div class="mf-onboard-main-header">
|
4 |
+
<h1 class="mf-onboard-main-header--title"><strong><?php echo esc_html__('The Best Form Builder Plugin for Elementor.', 'metform'); ?></strong></h1>
|
5 |
+
<p class="mf-onboard-main-header--description"><?php echo esc_html__('Sign Up to Join a Big Community of Marketers, Developers, and Think Tankers', 'metform'); ?></p>
|
6 |
+
</div>
|
7 |
+
<div class="mf-onboard-signup">
|
8 |
+
<label for="signup"><i class="icon xs-onboard-mail"></i></label>
|
9 |
+
<input name="settings[newsletter_email]" id="signup" type="email" placeholder="Enter your email address">
|
10 |
+
</div>
|
11 |
+
<p class="mf-onboard-signup--helptext"><?php echo esc_html__('Submit Your Best Email.', 'metform'); ?> <span><?php echo esc_html('(We Never Spam)', 'metform'); ?></span></p>
|
12 |
+
</div>
|
13 |
+
|
14 |
+
|
15 |
+
<div class="mf-onboard-pagination">
|
16 |
+
<a class="mf-onboard-btn mf-onboard-pagi-btn prev" href="#"><i class="xs-onboard-arrow-left"></i><?php echo esc_html__('Back', 'metform'); ?></a>
|
17 |
+
<a class="mf-onboard-btn mf-onboard-pagi-btn next" href="#"><?php echo esc_html__('Next Step', 'metform'); ?></a>
|
18 |
+
</div>
|
19 |
+
|
20 |
+
<div class="mf-onboard-shapes">
|
21 |
+
<img src="<?php echo self::get_url(); ?>assets/images/shape-01.png" alt="" class="shape-01">
|
22 |
+
<img src="<?php echo self::get_url(); ?>assets/images/shape-02.png" alt="" class="shape-02">
|
23 |
+
<img src="<?php echo self::get_url(); ?>assets/images/shape-03.png" alt="" class="shape-03">
|
24 |
+
<img src="<?php echo self::get_url(); ?>assets/images/shape-04.png" alt="" class="shape-04">
|
25 |
+
<img src="<?php echo self::get_url(); ?>assets/images/shape-05.png" alt="" class="shape-05">
|
26 |
+
<img src="<?php echo self::get_url(); ?>assets/images/shape-06.png" alt="" class="shape-06">
|
27 |
+
<img src="<?php echo self::get_url(); ?>assets/images/shape-07.png" alt="" class="shape-07">
|
28 |
+
<img src="<?php echo self::get_url(); ?>assets/images/shape-09.png" alt="" class="shape-09">
|
29 |
+
</div>
|
30 |
+
</div>
|
core/integrations/onboard/views/onboard-steps/step-03.php
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="mf-onboard-main-header">
|
2 |
+
<h1 class="mf-onboard-main-header--title"><strong><?php
|
3 |
+
|
4 |
+
echo esc_html__('Take your website to the next level', 'metform'); ?></strong></h1>
|
5 |
+
<p class="mf-onboard-main-header--description"><?php echo esc_html__('We have some plugins you can install to get most from Wordpress.', 'metform'); ?></p>
|
6 |
+
<p class="mf-onboard-main-header--description"><?php echo esc_html__('These are absolute FREE to use.', 'metform'); ?></p>
|
7 |
+
</div>
|
8 |
+
|
9 |
+
<div class="mf-onboard-plugin-list">
|
10 |
+
<div class="attr-row">
|
11 |
+
<?php
|
12 |
+
$pluginStatus = \MetForm\Core\Integrations\Onboard\Classes\Plugin_Status::instance();
|
13 |
+
$plugins = \MetForm\Core\Integrations\Onboard\Attr::instance()->utils->get_option('settings', []);
|
14 |
+
?>
|
15 |
+
<div class="attr-col-lg-4">
|
16 |
+
<div class="mf-onboard-single-plugin">
|
17 |
+
<label>
|
18 |
+
<img class="mf-onboard-single-plugin--logo" src="<?php echo self::get_url(); ?>assets/images/products/shopengine-logo.png" alt="ShopEngine">
|
19 |
+
<p class="mf-onboard-single-plugin--description"><?php echo esc_html__('Completely customize your WooCommerce WordPress', 'metform'); ?></p>
|
20 |
+
<?php $plugin = $pluginStatus->get_status('shopengine/shopengine.php'); ?>
|
21 |
+
<a data-plugin_status="<?php echo esc_attr($plugin['status']); ?>" data-activation_url="<?php echo esc_url($plugin['activation_url']); ?>" href="<?php echo esc_url($plugin['installation_url']); ?>" class="mf-pro-btn mf-onboard-single-plugin--install_plugin <?php echo $plugin['status'] == 'activated' ? 'activated' : ''; ?>"><?php echo esc_html($plugin['title'] , 'metform'); ?></a>
|
22 |
+
</label>
|
23 |
+
</div>
|
24 |
+
</div>
|
25 |
+
<div class="attr-col-lg-4">
|
26 |
+
<div class="mf-onboard-single-plugin">
|
27 |
+
<label>
|
28 |
+
<img class="mf-onboard-single-plugin--logo" src="<?php echo self::get_url(); ?>assets/images/products/elementskit-logo.svg" alt="Metform">
|
29 |
+
<p class="mf-onboard-single-plugin--description"><?php echo esc_html__('All-in-One Addons for Elementor', 'metform'); ?></p>
|
30 |
+
<?php $plugin = $pluginStatus->get_status('metform/metform.php'); ?>
|
31 |
+
<a data-plugin_status="<?php echo esc_attr($plugin['status']); ?>" data-activation_url="<?php echo esc_url($plugin['activation_url']); ?>" href="<?php echo esc_url($plugin['installation_url']); ?>" class="mf-pro-btn mf-onboard-single-plugin--install_plugin <?php echo $plugin['status'] == 'activated' ? 'activated' : ''; ?>"><?php echo esc_html($plugin['title'], 'metform'); ?></a>
|
32 |
+
</label>
|
33 |
+
</div>
|
34 |
+
</div>
|
35 |
+
<div class="attr-col-lg-4">
|
36 |
+
<div class="mf-onboard-single-plugin">
|
37 |
+
<label>
|
38 |
+
<img class="mf-onboard-single-plugin--logo" src="<?php echo self::get_url(); ?>assets/images/products/wp-social-logo.png" alt="WpSocial">
|
39 |
+
<p class="mf-onboard-single-plugin--description"><?php echo esc_html__('Integrate all your social media to your website', 'metform'); ?></p>
|
40 |
+
<?php $plugin = $pluginStatus->get_status('wp-social/wp-social.php'); ?>
|
41 |
+
<a data-plugin_status="<?php echo esc_attr($plugin['status']); ?>" data-activation_url="<?php echo esc_url($plugin['activation_url']); ?>" href="<?php echo esc_url($plugin['installation_url']); ?>" class="mf-pro-btn mf-onboard-single-plugin--install_plugin <?php echo $plugin['status'] == 'activated' ? 'activated' : ''; ?>"><?php echo esc_html($plugin['title'], 'metform'); ?></a>
|
42 |
+
</label>
|
43 |
+
</div>
|
44 |
+
</div>
|
45 |
+
<div class="attr-col-lg-4">
|
46 |
+
<div class="mf-onboard-single-plugin">
|
47 |
+
<label>
|
48 |
+
<img class="mf-onboard-single-plugin--logo" src="<?php echo self::get_url(); ?>assets/images/products/ultimate-review-logo.png" alt="UltimateReview">
|
49 |
+
<p class="mf-onboard-single-plugin--description"><?php echo esc_html__('Integrate various styled review system in your website', 'metform'); ?></p>
|
50 |
+
<?php $plugin = $pluginStatus->get_status('wp-ultimate-review/wp-ultimate-review.php'); ?>
|
51 |
+
<a data-plugin_status="<?php echo esc_attr($plugin['status']); ?>" data-activation_url="<?php echo esc_url($plugin['activation_url']); ?>" href="<?php echo esc_url($plugin['installation_url']); ?>" class="mf-pro-btn mf-onboard-single-plugin--install_plugin <?php echo $plugin['status'] == 'activated' ? 'activated' : ''; ?>"><?php echo esc_html($plugin['title'], 'metform'); ?></a>
|
52 |
+
</label>
|
53 |
+
</div>
|
54 |
+
</div>
|
55 |
+
<div class="attr-col-lg-4">
|
56 |
+
<div class="mf-onboard-single-plugin">
|
57 |
+
<label>
|
58 |
+
<img class="mf-onboard-single-plugin--logo" src="<?php echo self::get_url(); ?>assets/images/products/fundraising-logo.png" alt="Fundraising">
|
59 |
+
<p class="mf-onboard-single-plugin--description"><?php echo esc_html__('Integrate various styled review system in your website', 'metform'); ?></p>
|
60 |
+
<?php $plugin = $pluginStatus->get_status('wp-fundraising-donation/wp-fundraising.php'); ?>
|
61 |
+
<a data-plugin_status="<?php echo esc_attr($plugin['status']); ?>" data-activation_url="<?php echo esc_url($plugin['activation_url']); ?>" href="<?php echo esc_url($plugin['installation_url']); ?>" class="mf-pro-btn mf-onboard-single-plugin--install_plugin <?php echo $plugin['status'] == 'activated' ? 'activated' : ''; ?>"><?php echo esc_html($plugin['title'], 'metform'); ?></a>
|
62 |
+
</label>
|
63 |
+
</div>
|
64 |
+
</div>
|
65 |
+
</div>
|
66 |
+
</div>
|
67 |
+
<div class="mf-onboard-pagination">
|
68 |
+
<a class="mf-onboard-btn mf-onboard-pagi-btn prev" data-plugin_status="<?php echo $plugin['status']; ?>" data-activation_url="<?php echo $plugin['activation_url'] ?>" href="#"><i class="xs-onboard-arrow-left"></i><?php echo esc_html__('Back', 'metform'); ?></a>
|
69 |
+
<a class="mf-onboard-btn mf-onboard-pagi-btn next" data-plugin_status="<?php echo $plugin['status']; ?>" data-activation_url="<?php echo $plugin['activation_url'] ?>" href="#"><?php echo esc_html__('Next Step', 'metform'); ?></a>
|
70 |
+
</div>
|
71 |
+
<div class="mf-onboard-shapes">
|
72 |
+
<img src="<?php echo self::get_url(); ?>assets/images/shape-06.png" alt="" class="shape-06">
|
73 |
+
<img src="<?php echo self::get_url(); ?>assets/images/shape-10.png" alt="" class="shape-10">
|
74 |
+
<img src="<?php echo self::get_url(); ?>assets/images/shape-11.png" alt="" class="shape-11">
|
75 |
+
<img src="<?php echo self::get_url(); ?>assets/images/shape-12.png" alt="" class="shape-12">
|
76 |
+
<img src="<?php echo self::get_url(); ?>assets/images/shape-13.png" alt="" class="shape-13">
|
77 |
+
</div>
|
core/integrations/onboard/views/onboard-steps/step-04.php
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="mf-onboard-main-header">
|
2 |
+
<h1 class="mf-onboard-main-header--title"><strong><?php
|
3 |
+
|
4 |
+
echo esc_html__('Check Out the Easy to Understand Video Tutorials to learn the detailed use of MetForm.', 'metform'); ?></strong></h1>
|
5 |
+
</div>
|
6 |
+
<div class="mf-onboard-tutorial">
|
7 |
+
<div class="mf-onboard-tutorial--btn">
|
8 |
+
<a class="mf-onboard-tutorial--link" data-video_id="zg1QIouKO_Q" href="#"><i class="xs-onboard-play"></i></a>
|
9 |
+
</div>
|
10 |
+
|
11 |
+
<div class="mf-admin-video-tutorial-popup">
|
12 |
+
<div class="mf-admin-video-tutorial-iframe"></div>
|
13 |
+
</div>
|
14 |
+
</div>
|
15 |
+
|
16 |
+
|
17 |
+
<div class="mf-onboard-tut-term">
|
18 |
+
<label class="mf-onboard-tut-term--label">
|
19 |
+
<?php $term = MetForm\Core\Integrations\Onboard\Attr::instance()->utils->get_option('settings', []);
|
20 |
+
?>
|
21 |
+
<input <?php if(empty($term['tut_term']) || $term['tut_term'] !== 'user_agreed') : ?>checked="checked"<?php endif; ?> class="mf-onboard-tut-term--input" name="settings[tut_term]" type="checkbox" value="user_agreed">
|
22 |
+
<?php echo esc_html__('Share non-sensitive diagnostic data and details about plugin usage.', 'metform'); ?>
|
23 |
+
</label>
|
24 |
+
|
25 |
+
<p class="mf-onboard-tut-term--helptext"><?php echo esc_html__("We gather non-sensitive diagnostic data as well as information about plugin use. Your site's URL, WordPress and PHP versions, plugins and themes, as well as your email address, will be used to give you a discount coupon. This information enables us to ensure that this plugin remains consistent with the most common plugins and themes at all times. We pledge not to give you any spam, for sure.", 'metform'); ?></p>
|
26 |
+
<p class="mf-onboard-tut-term--help"><?php echo esc_html__('What types of information do we gather?', 'metform'); ?></p>
|
27 |
+
</div>
|
28 |
+
<div class="mf-onboard-pagination">
|
29 |
+
<a class="mf-onboard-btn mf-onboard-pagi-btn prev" href="#"><i class="xs-onboard-arrow-left"></i><?php echo esc_html__('Back', 'metform'); ?></a>
|
30 |
+
<a class="mf-onboard-btn mf-onboard-pagi-btn next" href="#"><?php echo esc_html__('Next Step', 'metform'); ?></a>
|
31 |
+
</div>
|
32 |
+
<div class="mf-onboard-shapes">
|
33 |
+
<img src="<?php echo self::get_url(); ?>assets/images/onboard/shape-07.png" alt="" class="shape-07">
|
34 |
+
<img src="<?php echo self::get_url(); ?>assets/images/onboard/shape-14.png" alt="" class="shape-14">
|
35 |
+
<img src="<?php echo self::get_url(); ?>assets/images/onboard/shape-15.png" alt="" class="shape-15">
|
36 |
+
<img src="<?php echo self::get_url(); ?>assets/images/onboard/shape-16.png" alt="" class="shape-16">
|
37 |
+
<img src="<?php echo self::get_url(); ?>assets/images/onboard/shape-17.png" alt="" class="shape-17">
|
38 |
+
</div>
|
core/integrations/onboard/views/onboard-steps/step-05.php
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="mf-onboard-main-header">
|
2 |
+
<h1 class="mf-onboard-main-header--title">
|
3 |
+
|
4 |
+
<?php echo esc_html__('Upgrade within the next','metform')?> <br/>
|
5 |
+
<strong><?php echo esc_html__('2 hours', 'metform') ?></strong>
|
6 |
+
<?php echo esc_html__(' and get a ','metform')?>
|
7 |
+
<strong><?php echo esc_html__('40% Discount', 'metform') ?></strong>
|
8 |
+
|
9 |
+
</h1>
|
10 |
+
</div>
|
11 |
+
|
12 |
+
<div class="mf-onboard-pro-features">
|
13 |
+
<h2><?php echo esc_html__('Metform', 'metform'); ?> <span><?php echo esc_html__('PRO', 'metform'); ?></span></h2>
|
14 |
+
|
15 |
+
<ul class="mf-onboard-modules">
|
16 |
+
<li><img src="<?php echo self::get_url(); ?>assets/images/features/module-icon-01.png" alt=""><span><?php echo esc_html__('Free Premium’ Features', 'metform'); ?></span></li>
|
17 |
+
<li><img src="<?php echo self::get_url(); ?>assets/images/features/module-icon-02.png" alt=""><span><?php echo esc_html__('Smart Conditional Logic', 'metform'); ?></span></li>
|
18 |
+
<li><img src="<?php echo self::get_url(); ?>assets/images/features/module-icon-03.png" alt=""><span><?php echo esc_html__('Required Fields Validation', 'metform'); ?></span></li>
|
19 |
+
<li><img src="<?php echo self::get_url(); ?>assets/images/features/module-icon-04.png" alt=""><span><?php echo esc_html__('Popular CRM Integrations', 'metform'); ?></span></li>
|
20 |
+
<li><img src="<?php echo self::get_url(); ?>assets/images/features/module-icon-05.png" alt=""><span><?php echo esc_html__('Data Within Dashboard', 'metform'); ?></span></li>
|
21 |
+
</ul>
|
22 |
+
<ul class="mf-onboard-module-meta">
|
23 |
+
<li><i class="xs-onboard-check"></i> <?php echo esc_html__('15+ Third-Party API Integrations', 'metform'); ?></li>
|
24 |
+
<li><i class="xs-onboard-check"></i> <?php echo esc_html__('35+ Form Input Widgets', 'metform'); ?></li>
|
25 |
+
<li><i class="xs-onboard-check"></i> <?php echo esc_html__('10+ Advanced Features for Customizations', 'metform'); ?></li>
|
26 |
+
</ul>
|
27 |
+
|
28 |
+
<a href="https://wpmet.com/plugin/metform/pricing/?promo=onboard-coupon" target="_blank" class="attr-btn attr-btn-primary mf-pro-btn"><?php echo esc_html__('Explore PRO', 'metform'); ?> <i class="icon icon-arrow-right"></i></a>
|
29 |
+
</div>
|
30 |
+
|
31 |
+
<div class="mf-onboard-pagination">
|
32 |
+
<a class="mf-onboard-btn mf-onboard-pagi-btn prev" href="#"><i class="xs-onboard-arrow-left"></i><?php echo esc_html__('Back', 'metform'); ?></a>
|
33 |
+
<a class="mf-onboard-btn mf-onboard-pagi-btn next" href="#"><?php echo esc_html__('Next Step', 'metform'); ?></a>
|
34 |
+
</div>
|
35 |
+
|
36 |
+
<div class="mf-onboard-shapes">
|
37 |
+
<img src="<?php echo self::get_url(); ?>assets/images/shape-14.png" alt="" class="shape-14">
|
38 |
+
<img src="<?php echo self::get_url(); ?>assets/images/shape-15.png" alt="" class="shape-15">
|
39 |
+
<img src="<?php echo self::get_url(); ?>assets/images/shape-18.png" alt="" class="shape-18">
|
40 |
+
<img src="<?php echo self::get_url(); ?>assets/images/shape-19.png" alt="" class="shape-19">
|
41 |
+
</div>
|
core/integrations/onboard/views/onboard-steps/step-06.php
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="mf-onboard-main-header">
|
2 |
+
<img class="mf-onboard-main-header--thumb" src="<?php echo self::get_url(); ?>assets/images/congrats-shape.png" alt="">
|
3 |
+
<h1 class="mf-onboard-main-header--title"><strong><?php echo esc_html__('Congratulations!', 'metform'); ?></strong></h1>
|
4 |
+
<p class="mf-onboard-main-header--description"><?php echo esc_html__('Let’s dive into developing your website with the world’s best addons for Elementor.', 'metform'); ?></p>
|
5 |
+
<button class="mf-onboard-btn mf-admin-settings-form-submit" type="submit"><div class="mf-spinner"></div> <?php echo esc_html__('Save Changes', 'metform'); ?></button>
|
6 |
+
</div>
|
7 |
+
<div class="mf-onboard-shapes">
|
8 |
+
<img src="<?php echo self::get_url(); ?>assets/images/shape-04.png" alt="" class="shape-04">
|
9 |
+
<img src="<?php echo self::get_url(); ?>assets/images/shape-07.png" alt="" class="shape-07">
|
10 |
+
<img src="<?php echo self::get_url(); ?>assets/images/shape-15.png" alt="" class="shape-15">
|
11 |
+
<img src="<?php echo self::get_url(); ?>assets/images/shape-21.png" alt="" class="shape-21">
|
12 |
+
<img src="<?php echo self::get_url(); ?>assets/images/shape-22.png" alt="" class="shape-22">
|
13 |
+
</div>
|
core/integrations/onboard/views/settings-sections/dashboard.php
ADDED
@@ -0,0 +1,161 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="mf-admin-card mf-admin-card-shadow">
|
2 |
+
<img src="<?php echo self::get_url() . 'assets/images/banner_dashboard.png'; ?>" class="mf-admin-dashboard-banner" />
|
3 |
+
</div>
|
4 |
+
|
5 |
+
<!-- Documentation -->
|
6 |
+
<div class="mf-admin-section mf-admin-dual-layout mf-admin-documentation-section">
|
7 |
+
<div class="mf-admin-left-thumb">
|
8 |
+
<img src="<?php echo self::get_url() . 'assets/images/documentation-thumb.png'; ?>" alt="<?php esc_attr_e('Documentation Thumb', 'metform'); ?>">
|
9 |
+
</div>
|
10 |
+
<div class="mf-admin-right-content">
|
11 |
+
<div class="mf-admin-right-content--heading">
|
12 |
+
<h2><?php esc_html_e('Easy Documentation', 'metform') ?></h2>
|
13 |
+
<span class="mf-admin-right-content--heading__sub-title"><?php esc_html_e('Docs', 'metform') ?></span>
|
14 |
+
</div>
|
15 |
+
<p><?php esc_html_e('Get started by spending some time with the documentation to get familiar with ElementsKit Lite. Build awesome websites for you or your clients with ease.', 'metform'); ?></p>
|
16 |
+
<div class="mf-admin-right-content--button">
|
17 |
+
<a target="_blank" href="https://wpmet.com/elementskit-docs" class="attr-btn attr-btn-primary mf-admin-right-content--link"><i class="fa fa-newspaper-o"></i><?php esc_html_e('Get started', 'metform'); ?></a>
|
18 |
+
</div>
|
19 |
+
</div>
|
20 |
+
</div>
|
21 |
+
|
22 |
+
<!-- Video tutorials -->
|
23 |
+
<div class="mf-admin-section mf-admin-faq-section">
|
24 |
+
<div class="mf-admin-right-content attr-text-center">
|
25 |
+
<div class="mf-admin-right-content--heading">
|
26 |
+
<h2><?php esc_html_e('Video Tutorials', 'metform') ?></h2>
|
27 |
+
<span class="mf-admin-right-content--heading__sub-title"><?php esc_html_e('Tutorials', 'metform') ?></span>
|
28 |
+
</div>
|
29 |
+
<p><?php esc_html_e('Get started by spending some time with the documentation to get familiar with ElementsKit Lite.', 'metform'); ?></p>
|
30 |
+
</div>
|
31 |
+
|
32 |
+
<div class="mf-admin-video-tutorial-list">
|
33 |
+
<div class="mf-admin-video-tutorial-item">
|
34 |
+
<a target="_blank" href="https://wpmet.com/plugin/elementskit/parallax-landing/">
|
35 |
+
<div class="tutorial-thumb">
|
36 |
+
<img src="<?php echo self::get_url() . 'assets/images/suport-thumb.png'; ?>" alt="<?php esc_attr_e('Totorial Thumb', 'metform'); ?>">
|
37 |
+
</div>
|
38 |
+
<h2><?php esc_html_e('Parallax Effects', 'metform'); ?></h2>
|
39 |
+
</a>
|
40 |
+
</div>
|
41 |
+
<div class="mf-admin-video-tutorial-item">
|
42 |
+
<a href="#" data-video_id="oV-7-NNiGZo">
|
43 |
+
<div class="tutorial-thumb">
|
44 |
+
<img src="<?php echo self::get_url() . 'assets/images/subscribed-thumb.png'; ?>" alt="<?php esc_attr_e('Totorial Thumb', 'metform'); ?>">
|
45 |
+
</div>
|
46 |
+
<h2><?php esc_html_e('Advanced Accordions', 'metform'); ?></h2>
|
47 |
+
</a>
|
48 |
+
</div>
|
49 |
+
<div class="mf-admin-video-tutorial-item">
|
50 |
+
<a href="#" data-video_id="LfFN08Y9VQE">
|
51 |
+
<div class="tutorial-thumb">
|
52 |
+
<img src="<?php echo self::get_url() . 'assets/images/featured-request-thumb.png'; ?>" alt="<?php esc_attr_e('Totorial Thumb', 'metform'); ?>">
|
53 |
+
</div>
|
54 |
+
<h2><?php esc_html_e('Mega Menu Builder', 'metform'); ?></h2>
|
55 |
+
</a>
|
56 |
+
</div>
|
57 |
+
</div>
|
58 |
+
<div class="mf-admin-video-tutorial-popup">
|
59 |
+
<div class="mf-admin-video-tutorial-popup-content">
|
60 |
+
<div class="mf-admin-video-tutorial-iframe"></div>
|
61 |
+
<div class="mf-admin-video-tutorial-close"><i class="fa fa-times"></i></div>
|
62 |
+
</div>
|
63 |
+
</div>
|
64 |
+
|
65 |
+
|
66 |
+
<div class="mf-admin-right-content--button attr-text-center">
|
67 |
+
<a target="_blank" href="https://www.youtube.com/watch?v=ps7knxZpDFI&list=PL3t2OjZ6gY8MVnyA4OLB6qXb77-roJOuY" class="attr-btn attr-btn-primary mf-admin-right-content--link"><i class="fa fa-check-circle"></i><?php esc_html_e('watch more videos', 'metform'); ?></a>
|
68 |
+
</div>
|
69 |
+
</div>
|
70 |
+
|
71 |
+
<!-- FAQ -->
|
72 |
+
<div class="mf-admin-section mf-admin-faq-section" style="display: none">
|
73 |
+
<div class="mf-admin-right-content attr-text-center">
|
74 |
+
<div class="mf-admin-right-content--heading">
|
75 |
+
<h2><?php esc_html_e('General Knowledge Base', 'metform') ?></h2>
|
76 |
+
<span class="mf-admin-right-content--heading__sub-title"><?php esc_html_e('FAQ', 'metform') ?></span>
|
77 |
+
</div>
|
78 |
+
<p><?php esc_html_e('Get started by spending some time with the documentation to get familiar with ElementsKit Lite.', 'metform'); ?></p>
|
79 |
+
</div>
|
80 |
+
|
81 |
+
<div class="mf-admin-accordion">
|
82 |
+
<div class="mf-admin-single-accordion">
|
83 |
+
<h2 class="mf-admin-single-accordion--heading"><?php esc_html_e('1. How to create a shop page in ElementsKit Lite?', 'metform'); ?></h2>
|
84 |
+
<div class="mf-admin-single-accordion--body">
|
85 |
+
<div class="mf-admin-single-accordion--body__content">
|
86 |
+
<p><?php esc_html_e('You will get 20+ complete homepages and total 450+ blocks in our layout library and we’re continuously updating the numbers there.', 'metform'); ?></p>
|
87 |
+
</div>
|
88 |
+
</div>
|
89 |
+
</div>
|
90 |
+
<div class="mf-admin-single-accordion">
|
91 |
+
<h2 class="mf-admin-single-accordion--heading"><?php esc_html_e('2. How to translate theme with WPML?', 'metform'); ?></h2>
|
92 |
+
<div class="mf-admin-single-accordion--body">
|
93 |
+
<div class="mf-admin-single-accordion--body__content">
|
94 |
+
<p><?php esc_html_e('You will get 20+ complete homepages and total 450+ blocks in our layout library and we’re continuously updating the numbers there.', 'metform'); ?></p>
|
95 |
+
</div>
|
96 |
+
</div>
|
97 |
+
</div>
|
98 |
+
<div class="mf-admin-single-accordion">
|
99 |
+
<h2 class="mf-admin-single-accordion--heading"><?php esc_html_e('3. How to add custom css in specific section shortcode?', 'metform'); ?></h2>
|
100 |
+
<div class="mf-admin-single-accordion--body">
|
101 |
+
<div class="mf-admin-single-accordion--body__content">
|
102 |
+
<p><?php esc_html_e('You will get 20+ complete homepages and total 450+ blocks in our layout library and we’re continuously updating the numbers there.', 'metform'); ?></p>
|
103 |
+
</div>
|
104 |
+
</div>
|
105 |
+
</div>
|
106 |
+
</div>
|
107 |
+
|
108 |
+
|
109 |
+
<div class="mf-admin-right-content--button attr-text-center">
|
110 |
+
<a target="_blank" href="https://www.youtube.com/channel/UCpsjAqTeTqwFTMV580D3YvQ" class="attr-btn attr-btn-primary mf-admin-right-content--link"><i class="fa fa-question-circle"></i><?php esc_html_e('View all faq’s', 'metform'); ?></a>
|
111 |
+
</div>
|
112 |
+
</div>
|
113 |
+
|
114 |
+
<!-- Support -->
|
115 |
+
<div class="mf-admin-section mf-admin-dual-layout mf-admin-support-section">
|
116 |
+
<div class="mf-admin-right-content">
|
117 |
+
<div class="mf-admin-right-content--heading">
|
118 |
+
<h2><?php esc_html_e('Top-notch Friendly Support', 'metform') ?></h2>
|
119 |
+
<span class="mf-admin-right-content--heading__sub-title"><?php esc_html_e('Support', 'metform') ?></span>
|
120 |
+
</div>
|
121 |
+
<p><?php esc_html_e('Get started by spending some time with the documentation to get familiar with ElementsKit Lite. Build awesome websites for you or your clients with ease.', 'metform'); ?></p>
|
122 |
+
<div class="mf-admin-right-content--button">
|
123 |
+
<a target="_blank" href="https://wpmet.com/support-ticket" class="attr-btn attr-btn-primary mf-admin-right-content--link"><i class="fa fa-question-circle"></i><?php esc_html_e('Join support forum', 'metform'); ?></a>
|
124 |
+
</div>
|
125 |
+
</div>
|
126 |
+
|
127 |
+
<div class="mf-admin-left-thumb">
|
128 |
+
<img src="<?php echo self::get_url() . 'assets/images/suport-thumb.png'; ?>" alt="<?php esc_attr_e('Documentation Thumb', 'metform'); ?>">
|
129 |
+
</div>
|
130 |
+
|
131 |
+
</div>
|
132 |
+
|
133 |
+
<!-- Feature a Request -->
|
134 |
+
<div class="mf-admin-section mf-admin-dual-layout mf-admin-feature-request-section mf-admin-except-title">
|
135 |
+
<div class="mf-admin-left-thumb">
|
136 |
+
<img src="<?php echo self::get_url() . 'assets/images/featured-request-thumb.png'; ?>" alt="<?php esc_attr_e('Feature a Request Thumb', 'metform'); ?>">
|
137 |
+
</div>
|
138 |
+
<div class="mf-admin-right-content">
|
139 |
+
|
140 |
+
<p><?php esc_html_e('Maybe we’re missing something you can’t live without.', 'metform'); ?></p>
|
141 |
+
<div class="mf-admin-right-content--button">
|
142 |
+
<a target="_blank" href="https://wpmet.com/feature-request" class="attr-btn attr-btn-primary mf-admin-right-content--link"><i class="fa fa-check-circle"></i><?php esc_html_e('Feature a request', 'metform'); ?></a>
|
143 |
+
</div>
|
144 |
+
</div>
|
145 |
+
</div>
|
146 |
+
|
147 |
+
<!-- Rate Now -->
|
148 |
+
<div class="mf-admin-section mf-admin-dual-layout mf-admin-rate-now-section mf-admin-except-title">
|
149 |
+
|
150 |
+
<div class="mf-admin-right-content">
|
151 |
+
|
152 |
+
<p><span><?php esc_html_e('Satisfied?', 'metform'); ?></span><?php esc_html_e('Don’t forget to rate our item.', 'metform'); ?></p>
|
153 |
+
<div class="mf-admin-right-content--button">
|
154 |
+
<a target="_blank" href="https://wordpress.org/support/plugin/metform/reviews/?rate=5#new-post" class="attr-btn attr-btn-primary mf-admin-right-content--link"><i class="fa fa-star"></i><?php esc_html_e('Rate it now', 'metform'); ?></a>
|
155 |
+
</div>
|
156 |
+
</div>
|
157 |
+
|
158 |
+
<div class="mf-admin-left-thumb">
|
159 |
+
<img src="<?php echo self::get_url() . 'assets/images/rate-now-thumb.png'; ?>" alt="<?php esc_attr_e('Rate Now Thumb', 'metform'); ?>">
|
160 |
+
</div>
|
161 |
+
</div>
|
core/integrations/onboard/views/settings-sections/modules.php
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
use MetForm\Core\Integrations\Onboard\Attr;
|
4 |
+
|
5 |
+
$modules_all = Attr::instance()->get_list('optional');
|
6 |
+
$modules_active = Attr::instance()->get_list('active');
|
7 |
+
?>
|
8 |
+
<pre>
|
9 |
+
<?php $x = Attr::instance()->utils->get_option('module_list', []);
|
10 |
+
// print_r($modules_active) ;?>
|
11 |
+
</pre>
|
12 |
+
<!-- this blank input is for empty form submission -->
|
13 |
+
<input checked="checked" type="checkbox" value="_null" style="display:none" name="module_list[]" >
|
14 |
+
|
15 |
+
<div class="mf-admin-fields-container">
|
16 |
+
<span class="mf-admin-fields-container-description"><?php esc_html_e('You can disable the modules you are not using on your site. That will disable all associated assets of those modules to improve your site loading speed.', 'metform'); ?></span>
|
17 |
+
|
18 |
+
<div class="mf-admin-fields-container-fieldset">
|
19 |
+
<div class="attr-hidden" id="elementskit-template-admin-menu">
|
20 |
+
<li><a href="edit.php?post_type=elementskit_template"><?php esc_html_e('Header Footer', 'metform'); ?></a></li>
|
21 |
+
</div>
|
22 |
+
<div class="attr-hidden" id="elementskit-template-widget-menu">
|
23 |
+
<li><a href="edit.php?post_type=elementskit_widget"><?php esc_html_e('Widget Builder', 'metform'); ?></a></li>
|
24 |
+
</div>
|
25 |
+
<div class="attr-row">
|
26 |
+
<?php foreach($modules_all as $module => $module_config): ?>
|
27 |
+
<div class="attr-col-md-6 attr-col-lg-4" <?php echo ($module_config['package'] != 'pro-disabled' ? '' : 'data-attr-toggle="modal" data-target="#elementskit_go_pro_modal"'); ?>>
|
28 |
+
<?php
|
29 |
+
$this->utils->input([
|
30 |
+
'type' => 'switch',
|
31 |
+
'name' => 'module_list[]',
|
32 |
+
'value' => $module,
|
33 |
+
'class' => 'mf-content-type-' . $module_config['package'],
|
34 |
+
'attr' => ($module_config['package'] != 'pro-disabled' ? [] : ['disabled' => 'disabled' ]),
|
35 |
+
'label' => $module_config['title'],
|
36 |
+
'options' => [
|
37 |
+
'checked' => (isset($modules_active[$module]) ? true : false),
|
38 |
+
]
|
39 |
+
]);
|
40 |
+
?>
|
41 |
+
</div>
|
42 |
+
<?php endforeach; ?>
|
43 |
+
</div>
|
44 |
+
</div>
|
45 |
+
</div>
|
core/integrations/onboard/views/settings-sections/usersettings.php
ADDED
@@ -0,0 +1,646 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
$user_data = $this->utils->get_option('user_data', []);
|
4 |
+
$pro_active = (in_array('elementskit/elementskit.php', apply_filters('active_plugins', get_option('active_plugins'))));
|
5 |
+
|
6 |
+
?>
|
7 |
+
|
8 |
+
<div class="mf-admin-fields-container">
|
9 |
+
<div class="mf-admin-fields-container-fieldset-- xx">
|
10 |
+
<div class="panel-group attr-accordion" id="accordion" role="tablist" aria-multiselectable="true">
|
11 |
+
<!-------------------
|
12 |
+
Mail Champ
|
13 |
+
-------------------->
|
14 |
+
<div class="attr-panel mf_accordion_card">
|
15 |
+
<div class="attr-panel-heading label-mail-chimp" role="tab" id="mail_chimp_data_headeing">
|
16 |
+
<a class="attr-btn attr-collapsed" role="button" data-attr-toggle="collapse"
|
17 |
+
data-parent="#accordion"
|
18 |
+
href="#mail_chimp_data_control" aria-expanded="true"
|
19 |
+
aria-controls="mail_chimp_data_control">
|
20 |
+
<span><?php esc_html_e('MailChimp Data', 'metform'); ?></span>
|
21 |
+
</a>
|
22 |
+
</div>
|
23 |
+
|
24 |
+
|
25 |
+
<div id="mail_chimp_data_control" class="attr-panel-collapse attr-collapse attr-in" role="tabpanel"
|
26 |
+
aria-labelledby="mail_chimp_data_headeing">
|
27 |
+
<div class="attr-panel-body">
|
28 |
+
<div class="mf-admin-user-data-separator"></div>
|
29 |
+
<?php
|
30 |
+
$this->utils->input([
|
31 |
+
'type' => 'text',
|
32 |
+
'name' => 'user_data[mail_chimp][token]',
|
33 |
+
'label' => esc_html__('Token', 'metform'),
|
34 |
+
'placeholder' => '24550c8cb06076751a80274a52878-us20',
|
35 |
+
'value' => (!isset($user_data['mail_chimp']['token'])) ? '' : ($user_data['mail_chimp']['token']),
|
36 |
+
]);
|
37 |
+
?>
|
38 |
+
|
39 |
+
</div>
|
40 |
+
</div>
|
41 |
+
|
42 |
+
|
43 |
+
</div>
|
44 |
+
|
45 |
+
<!-------------------
|
46 |
+
Facebook Page Feed
|
47 |
+
-------------------->
|
48 |
+
<div class="attr-panel mf_accordion_card">
|
49 |
+
<div
|
50 |
+
class="<?php echo $this->utils->is_widget_active_class('facebook-feed', $pro_active); ?>"
|
51 |
+
data-attr-toggle="modal"
|
52 |
+
data-target="#elementskit_go_pro_modal"
|
53 |
+
role="tab" id="facebook_data_headeing">
|
54 |
+
|
55 |
+
|
56 |
+
<a class="attr-btn" role="button" data-attr-toggle="collapse" data-parent="#accordion"
|
57 |
+
|
58 |
+
href="#fbp_feed_control_data"
|
59 |
+
aria-expanded="false" aria-controls="fbp_feed_control_data">
|
60 |
+
<span><?php esc_html_e('Facebook Page Feed', 'metform'); ?></span>
|
61 |
+
</a>
|
62 |
+
</div>
|
63 |
+
|
64 |
+
|
65 |
+
<div id="fbp_feed_control_data" class="attr-panel-collapse attr-collapse" role="tabpanel"
|
66 |
+
aria-labelledby="facebook_data_headeing">
|
67 |
+
<div class="attr-panel-body">
|
68 |
+
<div class="mf-admin-user-data-separator"></div>
|
69 |
+
|
70 |
+
<?php
|
71 |
+
$this->utils->input([
|
72 |
+
'type' => 'text',
|
73 |
+
'name' => 'user_data[fb_feed][page_id]',
|
74 |
+
'label' => esc_html__('Facebook Page ID', 'metform'),
|
75 |
+
'placeholder' => __('Facebook app id', 'metform'),
|
76 |
+
'value' => (!isset($user_data['fb_feed']['page_id'])) ? '' : ($user_data['fb_feed']['page_id']),
|
77 |
+
]);
|
78 |
+
?>
|
79 |
+
|
80 |
+
<?php
|
81 |
+
|
82 |
+
$val = empty($user_data['fb_feed']['pg_token']) ? '' : $user_data['fb_feed']['pg_token'];
|
83 |
+
|
84 |
+
$this->utils->input(
|
85 |
+
[
|
86 |
+
'type' => 'text',
|
87 |
+
'name' => 'user_data[fb_feed][pg_token]',
|
88 |
+
'label' => esc_html__('Page Access Token', 'metform'),
|
89 |
+
'placeholder' => 'S8LGISx9wBAOx5oUnxpOceDbyD01DYNNUwoz8jTHpm2ZB9RmK6jKwm',
|
90 |
+
'value' => (!isset($user_data['fb_feed']['pg_token'])) ? '' : ($user_data['fb_feed']['pg_token']),
|
91 |
+
]
|
92 |
+
);
|
93 |
+
|
94 |
+
$dbg = '&app=105697909488869&sec=f64837dd6a129c23ab47bdfdc61cfe19'; //ElementsKit Plugin Review
|
95 |
+
$dbg = '&app=2577123062406162&sec=a4656a1cae5e33ff0c18ee38efaa47ac'; //ElementsKit Plugin page feed
|
96 |
+
$scopes = '&scope=pages_show_list,pages_read_engagement,pages_manage_engagement,pages_read_user_content'; ?>
|
97 |
+
|
98 |
+
<div class="mf-admin-accordion-btn-group">
|
99 |
+
<?php if(did_action('elementskit/loaded')): ?>
|
100 |
+
<a class="mf-admin-access-token cache_clean_social_provider mf-admin-accordion-btn"
|
101 |
+
data-provider="fb_page_feed" data-url_part="fb-feed">
|
102 |
+
<?php echo esc_html__('Clear Cache', 'metform') ?>
|
103 |
+
</a>
|
104 |
+
<?php endif; ?>
|
105 |
+
|
106 |
+
<a class="mf-admin-access-token mf-admin-accordion-btn"
|
107 |
+
href="https://token.wpmet.com/social_token.php?provider=facebook&_for=page<?php echo $dbg; ?><?php echo $scopes; ?>"
|
108 |
+
target="_blank"> <?php echo esc_html__('Get access token', 'metform') ?>
|
109 |
+
</a>
|
110 |
+
</div>
|
111 |
+
</div>
|
112 |
+
</div>
|
113 |
+
|
114 |
+
</div>
|
115 |
+
|
116 |
+
<!-------------------
|
117 |
+
Facebook page review
|
118 |
+
-------------------->
|
119 |
+
|
120 |
+
<div class="attr-panel mf_accordion_card">
|
121 |
+
<div
|
122 |
+
class="<?php echo $this->utils->is_widget_active_class('facebook-review', $pro_active); ?>"
|
123 |
+
data-attr-toggle="modal"
|
124 |
+
data-target="#elementskit_go_pro_modal"
|
125 |
+
role="tab" id="facebook_data_headeing">
|
126 |
+
|
127 |
+
<a class="attr-btn" role="button" data-attr-toggle="collapse" data-parent="#accordion"
|
128 |
+
href="#fbp_review_control_data"
|
129 |
+
aria-expanded="false" aria-controls="fbp_review_control_data">
|
130 |
+
<span><?php esc_html_e('Facebook page review', 'metform'); ?></span>
|
131 |
+
</a>
|
132 |
+
|
133 |
+
</div>
|
134 |
+
|
135 |
+
<div id="fbp_review_control_data" class="attr-panel-collapse attr-collapse" role="tabpanel"
|
136 |
+
aria-labelledby="facebook_data_headeing">
|
137 |
+
<div class="attr-panel-body">
|
138 |
+
<div class="mf-admin-user-data-separator"></div>
|
139 |
+
<?php
|
140 |
+
$this->utils->input(
|
141 |
+
[
|
142 |
+
'type' => 'text',
|
143 |
+
'name' => 'user_data[fbp_review][pg_id]',
|
144 |
+
'label' => esc_html__('Page ID', 'metform'),
|
145 |
+
'placeholder' => '109208590868891',
|
146 |
+
'value' => (!isset($user_data['fbp_review']['pg_id'])) ? '' : ($user_data['fbp_review']['pg_id']),
|
147 |
+
]
|
148 |
+
);
|
149 |
+
|
150 |
+
|
151 |
+
$val = (empty($user_data['fbp_review']['pg_token'])) ? '' : ($user_data['fbp_review']['pg_token']);
|
152 |
+
$btn = (empty($user_data['fbp_review']['pg_token'])) ? __('Get access token', 'metform') : __('Refresh access token', 'metform');
|
153 |
+
|
154 |
+
$this->utils->input(
|
155 |
+
[
|
156 |
+
'type' => 'text',
|
157 |
+
'name' => 'user_data[fbp_review][pg_token]',
|
158 |
+
'label' => esc_html__('Page Token', 'metform'),
|
159 |
+
'placeholder' => 'S8LGISx9wBAOx5oUnxpOceDbyD01DYNNUwoz8jTHpm2ZB9RmK6jKwm',
|
160 |
+
'value' => $val,
|
161 |
+
]
|
162 |
+
);
|
163 |
+
|
164 |
+
/**
|
165 |
+
* App name : ElementsKit Plugin page feed
|
166 |
+
* App id : 2577123062406162
|
167 |
+
*
|
168 |
+
* Just empty the string when done debugging :D
|
169 |
+
*
|
170 |
+
*/
|
171 |
+
$dbg = '&app=944119176079880&sec=03b20cdd9cf6f1d4d6e03522dc9caa2a';
|
172 |
+
$dbg = '';
|
173 |
+
?>
|
174 |
+
|
175 |
+
<div class="mf-admin-accordion-btn-group">
|
176 |
+
<?php if(did_action('elementskit/loaded')): ?>
|
177 |
+
<a class="mf-admin-access-token cache_clean_social_provider mf-admin-accordion-btn"
|
178 |
+
data-provider="fb_page_reviews" data-url_part="fb-pg-review">
|
179 |
+
<?php echo esc_html__('Clear Cache', 'metform') ?>
|
180 |
+
</a>
|
181 |
+
<?php endif; ?>
|
182 |
+
|
183 |
+
<a class="mf-admin-access-token mf-admin-accordion-btn"
|
184 |
+
href="https://token.wpmet.com/social_token.php?provider=facebook&_for=page<?php echo $dbg ?>"
|
185 |
+
target="_blank">
|
186 |
+
<?php echo $btn ?>
|
187 |
+
</a>
|
188 |
+
</div>
|
189 |
+
</div>
|
190 |
+
</div>
|
191 |
+
|
192 |
+
</div>
|
193 |
+
|
194 |
+
<!-------------------
|
195 |
+
trustpilot
|
196 |
+
-------------------->
|
197 |
+
|
198 |
+
<!-- <div class="attr-panel mf_accordion_card">
|
199 |
+
<div
|
200 |
+
class="<?php //echo $this->utils->is_widget_active_class('trustpilot', $pro_active); ?>"
|
201 |
+
data-target="#elementskit_go_pro_modal"
|
202 |
+
data-attr-toggle="modal"
|
203 |
+
role="tab" id="trustpilot_data_headeing">
|
204 |
+
|
205 |
+
<a class="attr-btn attr-collapsed" role="button" data-attr-toggle="collapse"
|
206 |
+
data-parent="#accordion"
|
207 |
+
href="#trustpilot_data_control" aria-expanded="false" aria-controls="trustpilot_data_control">
|
208 |
+
<?php //esc_html_e('Trustpilot Settings', 'metform'); ?>
|
209 |
+
</a>
|
210 |
+
</div>
|
211 |
+
|
212 |
+
<div id="trustpilot_data_control" class="attr-panel-collapse attr-collapse" role="tabpanel"
|
213 |
+
aria-labelledby="trustpilot_data_headeing">
|
214 |
+
<div class="attr-panel-body">
|
215 |
+
<div class="mf-admin-user-data-separator"></div>
|
216 |
+
|
217 |
+
<?php
|
218 |
+
// $this->utils->input(
|
219 |
+
// [
|
220 |
+
// 'type' => 'text',
|
221 |
+
// 'name' => 'user_data[trustpilot][page]',
|
222 |
+
// 'label' => esc_html__('Trustpilot Page', 'metform'),
|
223 |
+
// 'placeholder' => 'mysite.com',
|
224 |
+
// 'value' => (!isset($user_data['trustpilot']['page'])) ? '' : ($user_data['trustpilot']['page']),
|
225 |
+
// ]
|
226 |
+
// );
|
227 |
+
?>
|
228 |
+
</div>
|
229 |
+
</div>
|
230 |
+
|
231 |
+
</div> -->
|
232 |
+
|
233 |
+
<!-------------------
|
234 |
+
yelp
|
235 |
+
-------------------->
|
236 |
+
<div class="attr-panel mf_accordion_card">
|
237 |
+
<div
|
238 |
+
class="<?php echo $this->utils->is_widget_active_class('yelp', $pro_active); ?>"
|
239 |
+
data-attr-toggle="modal"
|
240 |
+
data-target="#elementskit_go_pro_modal"
|
241 |
+
role="tab" id="yelp_data_headeing">
|
242 |
+
|
243 |
+
<a class="attr-btn attr-collapsed" role="button" data-attr-toggle="collapse"
|
244 |
+
data-parent="#accordion"
|
245 |
+
href="#yelp_data_control" aria-expanded="false" aria-controls="yelp_data_control">
|
246 |
+
<?php esc_html_e('Yelp Settings', 'metform'); ?>
|
247 |
+
</a>
|
248 |
+
</div>
|
249 |
+
|
250 |
+
|
251 |
+
<div id="yelp_data_control" class="attr-panel-collapse attr-collapse" role="tabpanel"
|
252 |
+
aria-labelledby="yelp_data_headeing">
|
253 |
+
<div class="attr-panel-body">
|
254 |
+
<div class="mf-admin-user-data-separator"></div>
|
255 |
+
|
256 |
+
<?php
|
257 |
+
$this->utils->input([
|
258 |
+
'type' => 'text',
|
259 |
+
'name' => 'user_data[yelp][page]',
|
260 |
+
'label' => esc_html__('Yelp Page', 'metform'),
|
261 |
+
'placeholder' => 'awesome-cuisine-san-francisco',
|
262 |
+
'value' => (!isset($user_data['yelp']['page'])) ? '' : ($user_data['yelp']['page']),
|
263 |
+
]);
|
264 |
+
?>
|
265 |
+
</div>
|
266 |
+
</div>
|
267 |
+
|
268 |
+
</div>
|
269 |
+
|
270 |
+
<!-------------------
|
271 |
+
facebook messenger
|
272 |
+
-------------------->
|
273 |
+
<div class="attr-panel mf_accordion_card">
|
274 |
+
<div
|
275 |
+
data-attr-toggle="modal"
|
276 |
+
data-target="#elementskit_go_pro_modal"
|
277 |
+
class="<?php echo $this->utils->is_widget_active_class('facebook-messenger', $pro_active); ?>"
|
278 |
+
role="tab" id="facebook_data_headeing">
|
279 |
+
<a class="attr-btn" role="button" data-attr-toggle="collapse" data-parent="#accordion"
|
280 |
+
href="#fbm_control_data"
|
281 |
+
aria-expanded="false" aria-controls="fbm_control_data">
|
282 |
+
<?php esc_html_e('Facebook Messenger', 'metform'); ?>
|
283 |
+
</a>
|
284 |
+
</div>
|
285 |
+
|
286 |
+
<div id="fbm_control_data" class="attr-panel-collapse attr-collapse" role="tabpanel"
|
287 |
+
aria-labelledby="facebook_data_headeing">
|
288 |
+
<div class="attr-panel-body">
|
289 |
+
<div class="mf-admin-user-data-separator"></div>
|
290 |
+
<?php
|
291 |
+
$this->utils->input([
|
292 |
+
'type' => 'text',
|
293 |
+
'name' => 'user_data[fbm_module][pg_id]',
|
294 |
+
'label' => esc_html__('Page ID', 'metform'),
|
295 |
+
'placeholder' => '109208590868891',
|
296 |
+
'value' => (!isset($user_data['fbm_module']['pg_id'])) ? '' : ($user_data['fbm_module']['pg_id']),
|
297 |
+
]);
|
298 |
+
?>
|
299 |
+
|
300 |
+
<?php
|
301 |
+
$this->utils->input([
|
302 |
+
'type' => 'color',
|
303 |
+
'name' => 'user_data[fbm_module][txt_color]',
|
304 |
+
'label' => esc_html__('Color', 'metform'),
|
305 |
+
'placeholder' => '#3b5998',
|
306 |
+
'value' => (!isset($user_data['fbm_module']['txt_color'])) ? '#3b5998' : ($user_data['fbm_module']['txt_color']),
|
307 |
+
]);
|
308 |
+
?>
|
309 |
+
|
310 |
+
<?php
|
311 |
+
$this->utils->input([
|
312 |
+
'type' => 'text',
|
313 |
+
'name' => 'user_data[fbm_module][l_in]',
|
314 |
+
'label' => esc_html__('Logged-in user greeting', 'metform'),
|
315 |
+
'placeholder' => 'Hi! user',
|
316 |
+
'value' => (!isset($user_data['fbm_module']['l_in'])) ? 'Hi! user' : ($user_data['fbm_module']['l_in']),
|
317 |
+
]);
|
318 |
+
?>
|
319 |
+
|
320 |
+
<?php
|
321 |
+
$this->utils->input([
|
322 |
+
'type' => 'text',
|
323 |
+
'name' => 'user_data[fbm_module][l_out]',
|
324 |
+
'label' => esc_html__('Logged out user greeting', 'metform'),
|
325 |
+
'placeholder' => 'Hi! guest',
|
326 |
+
'value' => (!isset($user_data['fbm_module']['l_out'])) ? 'Hi! guest' : ($user_data['fbm_module']['l_out']),
|
327 |
+
]);
|
328 |
+
?>
|
329 |
+
|
330 |
+
<?php
|
331 |
+
$this->utils->input([
|
332 |
+
'type' => 'switch',
|
333 |
+
'name' => 'user_data[fbm_module][is_open]',
|
334 |
+
'label' => esc_html__('Show Dialog Box', 'metform'),
|
335 |
+
'value' => '1',
|
336 |
+
'options' => [
|
337 |
+
'checked' => (isset($user_data['fbm_module']['is_open']) ? true : false),
|
338 |
+
],
|
339 |
+
]);
|
340 |
+
?>
|
341 |
+
|
342 |
+
<div>Please add below domain as white listed in page advance messaging option <a
|
343 |
+
href="https://prnt.sc/u4zh96" target="_blank">how?</a></div>
|
344 |
+
<div style="font-weight: bold;font-style: italic;color: blue;padding: 3px;"><?php echo site_url() ?></div>
|
345 |
+
</div>
|
346 |
+
</div>
|
347 |
+
|
348 |
+
</div>
|
349 |
+
|
350 |
+
<!-------------------
|
351 |
+
dribble-feed
|
352 |
+
-------------------->
|
353 |
+
|
354 |
+
<div class="attr-panel mf_accordion_card">
|
355 |
+
<div
|
356 |
+
class="<?php echo $this->utils->is_widget_active_class('dribble-feed', $pro_active); ?>"
|
357 |
+
data-attr-toggle="modal"
|
358 |
+
data-target="#elementskit_go_pro_modal"
|
359 |
+
role="tab" id="dribble_data_headeing">
|
360 |
+
<a class="attr-btn" role="button" data-attr-toggle="collapse" data-parent="#accordion"
|
361 |
+
href="#dribble_control_data"
|
362 |
+
aria-expanded="false" aria-controls="dribble_control_data">
|
363 |
+
<?php esc_html_e('Dribbble User Data', 'metform'); ?>
|
364 |
+
</a>
|
365 |
+
</div>
|
366 |
+
|
367 |
+
<div id="dribble_control_data"
|
368 |
+
class="attr-panel-collapse attr-collapse"
|
369 |
+
role="tabpanel"
|
370 |
+
aria-labelledby="dribble_data_headeing">
|
371 |
+
<div class="attr-panel-body">
|
372 |
+
<div class="mf-admin-user-data-separator"></div>
|
373 |
+
<?php
|
374 |
+
|
375 |
+
$this->utils->input(
|
376 |
+
[
|
377 |
+
'type' => 'text',
|
378 |
+
'disabled' => '',
|
379 |
+
'name' => 'user_data[dribble][access_token]',
|
380 |
+
'label' => esc_html__('Access token', 'metform'),
|
381 |
+
'placeholder' => 'Get a token....',
|
382 |
+
'value' => (empty($user_data['dribble']['access_token'])) ? '' : ($user_data['dribble']['access_token']),
|
383 |
+
]
|
384 |
+
);
|
385 |
+
|
386 |
+
?>
|
387 |
+
|
388 |
+
|
389 |
+
<div class="mf-admin-accordion-btn-group">
|
390 |
+
|
391 |
+
<a href="https://token.wpmet.com/social_token.php?provider=dribbble"
|
392 |
+
class="mf-admin-access-token mf-admin-accordion-btn" target="_blank">
|
393 |
+
<?php echo esc_html__('Get access token', 'metform'); ?>
|
394 |
+
</a>
|
395 |
+
|
396 |
+
<?php if(did_action('elementskit/loaded')): ?>
|
397 |
+
<a class="mf-admin-access-token cache_clean_social_provider mf-admin-accordion-btn"
|
398 |
+
data-provider="dribble_feed"
|
399 |
+
data-url_part="dribble">
|
400 |
+
<?php echo esc_html__('Clear Cache', 'metform') ?>
|
401 |
+
</a>
|
402 |
+
<?php endif; ?>
|
403 |
+
|
404 |
+
</div>
|
405 |
+
</div>
|
406 |
+
</div>
|
407 |
+
|
408 |
+
</div>
|
409 |
+
|
410 |
+
<!-------------------
|
411 |
+
twitter feed
|
412 |
+
-------------------->
|
413 |
+
<div class="attr-panel mf_accordion_card">
|
414 |
+
<div
|
415 |
+
class="<?php echo $this->utils->is_widget_active_class('twitter-feed', $pro_active); ?>"
|
416 |
+
data-attr-toggle="modal"
|
417 |
+
data-target="#elementskit_go_pro_modal"
|
418 |
+
role="tab" id="twetter_data_headeing">
|
419 |
+
<a class="attr-btn attr-collapsed" role="button" data-attr-toggle="collapse"
|
420 |
+
data-parent="#accordion"
|
421 |
+
href="#twitter_data_control" aria-expanded="false" aria-controls="twitter_data_control">
|
422 |
+
<?php esc_html_e('Twitter User Data', 'metform'); ?>
|
423 |
+
</a>
|
424 |
+
</div>
|
425 |
+
|
426 |
+
<div id="twitter_data_control" class="attr-panel-collapse attr-collapse" role="tabpanel"
|
427 |
+
aria-labelledby="twetter_data_headeing">
|
428 |
+
<div class="attr-panel-body">
|
429 |
+
<div class="mf-admin-user-data-separator"></div>
|
430 |
+
<?php
|
431 |
+
$this->utils->input([
|
432 |
+
'type' => 'text',
|
433 |
+
'name' => 'user_data[twitter][name]',
|
434 |
+
'label' => esc_html__('Twitter Username', 'metform'),
|
435 |
+
'placeholder' => 'gameofthrones',
|
436 |
+
'value' => (!isset($user_data['twitter']['name'])) ? '' : ($user_data['twitter']['name']),
|
437 |
+
|
438 |
+
]);
|
439 |
+
?>
|
440 |
+
<?php
|
441 |
+
$this->utils->input([
|
442 |
+
'type' => 'text',
|
443 |
+
'name' => 'user_data[twitter][access_token]',
|
444 |
+
'label' => esc_html__('Access Token', 'metform'),
|
445 |
+
'placeholder' => '97174059-g10REWwVvI0Mk02DhoXbqpEhh4zQg6SBIP2k8',
|
446 |
+
// 'info' => esc_html__('Yuour', 'elementsKit-lite')
|
447 |
+
'value' => (!isset($user_data['twitter']['access_token'])) ? '' : ($user_data['twitter']['access_token']),
|
448 |
+
]);
|
449 |
+
?>
|
450 |
+
|
451 |
+
<div class="mf-admin-accordion-btn-group">
|
452 |
+
<a class="mf-admin-access-token mf-admin-accordion-btn"
|
453 |
+
href="https://token.wpmet.com/index.php?provider=twitter" target="_blank">
|
454 |
+
<?php echo esc_html__('Get Access Token', 'metform'); ?>
|
455 |
+
</a>
|
456 |
+
</div>
|
457 |
+
</div>
|
458 |
+
</div>
|
459 |
+
|
460 |
+
</div>
|
461 |
+
|
462 |
+
<!-------------------
|
463 |
+
instagram-feed
|
464 |
+
-------------------->
|
465 |
+
<div class="attr-panel mf_accordion_card">
|
466 |
+
<div
|
467 |
+
class="<?php echo $this->utils->is_widget_active_class('instagram-feed', $pro_active); ?>"
|
468 |
+
data-attr-toggle="modal"
|
469 |
+
data-target="#elementskit_go_pro_modal"
|
470 |
+
role="tab" id="instagram_data_headeing">
|
471 |
+
<a class="attr-btn attr-collapsed" role="button" data-attr-toggle="collapse"
|
472 |
+
data-parent="#accordion"
|
473 |
+
href="#instagram_data_control" aria-expanded="false" aria-controls="instagram_data_control">
|
474 |
+
<?php esc_html_e('Instragram User Data', 'metform'); ?>
|
475 |
+
</a>
|
476 |
+
</div>
|
477 |
+
|
478 |
+
<div id="instagram_data_control" class="attr-panel-collapse attr-collapse" role="tabpanel"
|
479 |
+
aria-labelledby="instagram_data_headeing">
|
480 |
+
<div class="attr-panel-body">
|
481 |
+
<div class="mf-admin-user-data-separator"></div>
|
482 |
+
|
483 |
+
<?php
|
484 |
+
|
485 |
+
$user_id = (!isset($user_data['instragram']['user_id'])) ? '' : ($user_data['instragram']['user_id']);
|
486 |
+
$insta_token = (!isset($user_data['instragram']['token'])) ? '' : ($user_data['instragram']['token']);
|
487 |
+
$insta_time = (!isset($user_data['instragram']['token_expire'])) ? '' : intval($user_data['instragram']['token_expire']);
|
488 |
+
$insta_gen = (!isset($user_data['instragram']['token_generated'])) ? '' :
|
489 |
+
date('Y-m-d', strtotime($user_data['instragram']['token_generated']));
|
490 |
+
|
491 |
+
$this->utils->input(
|
492 |
+
[
|
493 |
+
'type' => 'text',
|
494 |
+
'name' => 'user_data[instragram][user_id]',
|
495 |
+
'label' => esc_html__('User ID', 'metform'),
|
496 |
+
'placeholder' => '',
|
497 |
+
'value' => $user_id,
|
498 |
+
]
|
499 |
+
);
|
500 |
+
|
501 |
+
$this->utils->input(
|
502 |
+
[
|
503 |
+
'type' => 'text',
|
504 |
+
'name' => 'user_data[instragram][token]',
|
505 |
+
'label' => esc_html__('Access Token', 'metform'),
|
506 |
+
'placeholder' => '',
|
507 |
+
'value' => $insta_token,
|
508 |
+
]
|
509 |
+
);
|
510 |
+
|
511 |
+
$this->utils->input(
|
512 |
+
[
|
513 |
+
'type' => 'text',
|
514 |
+
'name' => 'user_data[instragram][token_expire]',
|
515 |
+
'label' => esc_html__('Token expires time', 'metform'),
|
516 |
+
'placeholder' => 'This is needed for automatically refreshing the token...',
|
517 |
+
'value' => $insta_time,
|
518 |
+
]
|
519 |
+
);
|
520 |
+
|
521 |
+
$this->utils->input(
|
522 |
+
[
|
523 |
+
'type' => 'date',
|
524 |
+
'name' => 'user_data[instragram][token_generated]',
|
525 |
+
'label' => esc_html__('Token generation date', 'metform'),
|
526 |
+
'placeholder' => 'This is needed for automatically refreshing the token...',
|
527 |
+
'value' => $insta_gen,
|
528 |
+
'info' => esc_html__('This is need to calculate the remaining time for token', 'metform'),
|
529 |
+
]
|
530 |
+
);
|
531 |
+
|
532 |
+
|
533 |
+
?>
|
534 |
+
|
535 |
+
|
536 |
+
<div class="mf-admin-accordion-btn-group">
|
537 |
+
<?php if(did_action('elementskit/loaded')): ?>
|
538 |
+
<a class="mf-admin-access-token cache_clean_social_provider mf-admin-accordion-btn"
|
539 |
+
data-provider="instagram_feed" data-url_part="instagram-feed">
|
540 |
+
<?php echo esc_html__('Clear Cache', 'metform') ?>
|
541 |
+
</a>
|
542 |
+
<?php endif; ?>
|
543 |
+
|
544 |
+
<a href="https://token.wpmet.com/social_token.php?provider=instagram"
|
545 |
+
class="mf-admin-access-token mf-admin-accordion-btn" target="_blank">
|
546 |
+
<?php echo esc_html__('Get access token', 'metform'); ?>
|
547 |
+
</a>
|
548 |
+
</div>
|
549 |
+
</div>
|
550 |
+
</div>
|
551 |
+
|
552 |
+
</div>
|
553 |
+
|
554 |
+
<!-------------------
|
555 |
+
zoom
|
556 |
+
-------------------->
|
557 |
+
|
558 |
+
<div class="attr-panel mf_accordion_card">
|
559 |
+
<div
|
560 |
+
class="<?php echo $this->utils->is_widget_active_class('zoom', $pro_active); ?>"
|
561 |
+
data-attr-toggle="modal"
|
562 |
+
data-target="#elementskit_go_pro_modal"
|
563 |
+
role="tab" id="zoom_data_headeing">
|
564 |
+
<a class="attr-btn attr-collapsed" role="button" data-attr-toggle="collapse"
|
565 |
+
data-parent="#accordion"
|
566 |
+
href="#zoom_data_control" aria-expanded="false" aria-controls="zoom_data_control">
|
567 |
+
<?php esc_html_e('Zoom Data', 'metform'); ?>
|
568 |
+
</a>
|
569 |
+
</div>
|
570 |
+
|
571 |
+
<div id="zoom_data_control" class="attr-panel-collapse attr-collapse" role="tabpanel"
|
572 |
+
aria-labelledby="zoom_data_headeing">
|
573 |
+
<div class="attr-panel-body">
|
574 |
+
<div class="mf-admin-user-data-separator"></div>
|
575 |
+
<?php
|
576 |
+
$this->utils->input([
|
577 |
+
'type' => 'text',
|
578 |
+
'name' => 'user_data[zoom][api_key]',
|
579 |
+
'label' => esc_html__('Api key', 'metform'),
|
580 |
+
'placeholder' => 'FmOUK_vdR-eepOExMhN7Kg',
|
581 |
+
'value' => (!isset($user_data['zoom']['api_key'])) ? '' : ($user_data['zoom']['api_key']),
|
582 |
+
]);
|
583 |
+
?>
|
584 |
+
<?php
|
585 |
+
$this->utils->input([
|
586 |
+
'type' => 'text',
|
587 |
+
'name' => 'user_data[zoom][secret_key]',
|
588 |
+
'label' => esc_html__('Secret Key', 'metform'),
|
589 |
+
'placeholder' => 'OhDwAoNflUK6XkFB8ShCY5R7I8HxyWLMXR2SHK',
|
590 |
+
'value' => (!isset($user_data['zoom']['secret_key'])) ? '' : ($user_data['zoom']['secret_key']),
|
591 |
+
]);
|
592 |
+
?>
|
593 |
+
<div class="mf-admin-accordion-btn-group">
|
594 |
+
<a href="https://token.wpmet.com/index.php?provider=zoom"
|
595 |
+
class="mf-admin-access-token mf-zoom-connection mf-admin-accordion-btn"
|
596 |
+
target="_blank">
|
597 |
+
<?php echo esc_html__('Check connection', 'metform'); ?>
|
598 |
+
</a>
|
599 |
+
</div>
|
600 |
+
</div>
|
601 |
+
</div>
|
602 |
+
|
603 |
+
</div>
|
604 |
+
|
605 |
+
<!-------------------
|
606 |
+
google-map
|
607 |
+
-------------------->
|
608 |
+
|
609 |
+
<div class="attr-panel mf_accordion_card">
|
610 |
+
<div
|
611 |
+
class="<?php echo $this->utils->is_widget_active_class('google-map', $pro_active); ?>"
|
612 |
+
data-attr-toggle="modal"
|
613 |
+
data-target="#elementskit_go_pro_modal"
|
614 |
+
role="tab" id="google_map_data_heading">
|
615 |
+
<a class="attr-btn attr-collapsed" role="button" data-attr-toggle="collapse"
|
616 |
+
data-parent="#accordion"
|
617 |
+
href="#google_map_data_control" aria-expanded="false"
|
618 |
+
aria-controls="google_map_data_control">
|
619 |
+
<?php esc_html_e('Google Map', 'metform'); ?>
|
620 |
+
</a>
|
621 |
+
</div>
|
622 |
+
|
623 |
+
<div id="google_map_data_control" class="attr-panel-collapse attr-collapse" role="tabpanel"
|
624 |
+
aria-labelledby="google_map_data_heading" aria-expanded='false'>
|
625 |
+
<div class="attr-panel-body">
|
626 |
+
<div class="mf-admin-user-data-separator"></div>
|
627 |
+
<?php
|
628 |
+
$this->utils->input([
|
629 |
+
'type' => 'text',
|
630 |
+
'name' => 'user_data[google_map][api_key]',
|
631 |
+
'label' => esc_html__('Api Key', 'metform'),
|
632 |
+
'placeholder' => 'AIzaSyA-10-OHpfss9XvUDWILmos62MnG_L4MYw',
|
633 |
+
'value' => (!isset($user_data['google_map']['api_key'])) ? '' : ($user_data['google_map']['api_key']),
|
634 |
+
]);
|
635 |
+
?>
|
636 |
+
|
637 |
+
</div>
|
638 |
+
</div>
|
639 |
+
|
640 |
+
</div>
|
641 |
+
|
642 |
+
<?php do_action('elementskit/admin/sections/userdata'); ?>
|
643 |
+
|
644 |
+
</div>
|
645 |
+
</div>
|
646 |
+
</div>
|
core/integrations/onboard/views/settings-sections/widgets.php
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$widgets_all = \ElementsKit_Lite\Config\Widget_List::instance()->get_list();
|
3 |
+
$widgets_active = \ElementsKit_Lite\Config\Widget_List::instance()->get_list('active');
|
4 |
+
$widgets_categorized = [];
|
5 |
+
foreach ($widgets_all as $key => $row) {
|
6 |
+
$widgets_categorized[($row['widget-category'] ?? 'general')][$key] = $row;
|
7 |
+
}
|
8 |
+
|
9 |
+
?>
|
10 |
+
<!-- this blank input is for empty form submission -->
|
11 |
+
<input checked="checked" type="checkbox" value="_null" style="display:none" name="widget_list[]" >
|
12 |
+
|
13 |
+
<div class="mf-admin-fields-container <?php echo isset($_GET['met-onboard-steps']) && $_GET['met-onboard-steps'] == 'loaded' ? 'mf-admin-widgets-container' : 'mf-admin-widget-list'; ?>">
|
14 |
+
<span class="mf-admin-fields-container-description"><?php esc_html_e('You can disable the elements you are not using on your site. That will disable all associated assets of those widgets to improve your site loading speed.', 'metform'); ?></span>
|
15 |
+
|
16 |
+
<div class="mf-admin-fields-container-fieldset">
|
17 |
+
<?php foreach($widgets_categorized as $widget_category => $widgets): ?>
|
18 |
+
<h2 class="mf-widget-group-title"><?php echo ucwords(str_replace('-', ' ', $widget_category)); ?></h2>
|
19 |
+
<div class="attr-row">
|
20 |
+
<?php foreach($widgets as $widget => $widget_config): ?>
|
21 |
+
<div class="attr-col-md-6 attr-col-lg-3" <?php echo ($widget_config['package'] != 'pro-disabled' ? '' : 'data-attr-toggle="modal" data-target="#elementskit_go_pro_modal"'); ?>>
|
22 |
+
<?php
|
23 |
+
$this->utils->input([
|
24 |
+
'type' => 'switch',
|
25 |
+
'name' => 'widget_list[]',
|
26 |
+
'label' => esc_html($widget_config['title']),
|
27 |
+
'value' => $widget,
|
28 |
+
'attr' => ($widget_config['package'] != 'pro-disabled' ? [] : ['disabled' => 'disabled' ]),
|
29 |
+
'class' => 'mf-content-type-' . esc_attr($widget_config['package']),
|
30 |
+
'options' => [
|
31 |
+
'checked' => (isset($widgets_active[$widget]) ? true : false),
|
32 |
+
]
|
33 |
+
]);
|
34 |
+
?>
|
35 |
+
</div>
|
36 |
+
<?php endforeach; ?>
|
37 |
+
</div>
|
38 |
+
<?php endforeach; ?>
|
39 |
+
</div>
|
40 |
+
</div>
|
41 |
+
|
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.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/metform\n"
|
7 |
-
"POT-Creation-Date: 2021-11-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -90,7 +90,7 @@ msgstr ""
|
|
90 |
msgid "No content is added yet."
|
91 |
msgstr ""
|
92 |
|
93 |
-
#: core/admin/base.php:
|
94 |
#: widgets/checkbox/checkbox.php:165 widgets/date/date.php:120
|
95 |
#: widgets/email/email.php:71 widgets/file-upload/file-upload.php:96
|
96 |
#: widgets/listing-fname/listing-fname.php:48
|
@@ -151,6 +151,7 @@ msgstr ""
|
|
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 |
|
@@ -210,6 +211,7 @@ msgid "What included with Free &"
|
|
210 |
msgstr ""
|
211 |
|
212 |
#: core/admin/views/settings.php:153
|
|
|
213 |
msgid "PRO"
|
214 |
msgstr ""
|
215 |
|
@@ -255,10 +257,12 @@ msgid "View Details"
|
|
255 |
msgstr ""
|
256 |
|
257 |
#: core/admin/views/settings.php:227
|
|
|
258 |
msgid "General Knowledge Base"
|
259 |
msgstr ""
|
260 |
|
261 |
#: core/admin/views/settings.php:228
|
|
|
262 |
msgid "FAQ"
|
263 |
msgstr ""
|
264 |
|
@@ -268,6 +272,9 @@ msgstr ""
|
|
268 |
|
269 |
#: core/admin/views/settings.php:242 core/admin/views/settings.php:253
|
270 |
#: core/admin/views/settings.php:264
|
|
|
|
|
|
|
271 |
msgid ""
|
272 |
"You will get 20+ complete homepages and total 450+ blocks in our layout "
|
273 |
"library and we’re continuously updating the numbers there."
|
@@ -278,10 +285,12 @@ msgid "2. How to translate language with WPML?"
|
|
278 |
msgstr ""
|
279 |
|
280 |
#: core/admin/views/settings.php:260
|
|
|
281 |
msgid "3. How to add custom css in specific section shortcode?"
|
282 |
msgstr ""
|
283 |
|
284 |
#: core/admin/views/settings.php:271
|
|
|
285 |
msgid "View all faq’s"
|
286 |
msgstr ""
|
287 |
|
@@ -290,6 +299,7 @@ msgid "Satisfied!"
|
|
290 |
msgstr ""
|
291 |
|
292 |
#: core/admin/views/settings.php:280
|
|
|
293 |
msgid "Don’t forget to rate our item."
|
294 |
msgstr ""
|
295 |
|
@@ -298,10 +308,12 @@ msgid "review"
|
|
298 |
msgstr ""
|
299 |
|
300 |
#: core/admin/views/settings.php:288
|
|
|
301 |
msgid "Rate it now"
|
302 |
msgstr ""
|
303 |
|
304 |
#: core/admin/views/settings.php:293
|
|
|
305 |
msgid "Rate Now Thumb"
|
306 |
msgstr ""
|
307 |
|
@@ -1611,31 +1623,518 @@ msgstr ""
|
|
1611 |
msgid "Your data inserted on ActiveCampaign."
|
1612 |
msgstr ""
|
1613 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1614 |
#: core/integrations/slack.php:46
|
1615 |
msgid "Your data inserted on slack."
|
1616 |
msgstr ""
|
1617 |
|
1618 |
-
#: plugin.php:
|
1619 |
msgid "Activate Elementor"
|
1620 |
msgstr ""
|
1621 |
|
1622 |
-
#: plugin.php:
|
1623 |
msgid "Install Elementor"
|
1624 |
msgstr ""
|
1625 |
|
1626 |
-
#: plugin.php:
|
1627 |
msgid "MetForm requires Elementor version %1$s+, which is currently NOT RUNNING."
|
1628 |
msgstr ""
|
1629 |
|
1630 |
-
#: plugin.php:
|
1631 |
msgid "MetForm Pro"
|
1632 |
msgstr ""
|
1633 |
|
1634 |
-
#: plugin.php:
|
1635 |
msgid "We have MetForm Pro version. Check out our pro feature."
|
1636 |
msgstr ""
|
1637 |
|
1638 |
-
#: plugin.php:
|
1639 |
msgid "Update Elementor"
|
1640 |
msgstr ""
|
1641 |
|
@@ -1972,16 +2471,6 @@ msgstr ""
|
|
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
|
1980 |
-
#: widgets/simple-captcha/simple-captcha.php:162
|
1981 |
-
#: widgets/simple-captcha/simple-captcha.php:298
|
1982 |
-
msgid "Color"
|
1983 |
-
msgstr ""
|
1984 |
-
|
1985 |
#: traits/common-controls.php:359 traits/common-controls.php:490
|
1986 |
#: widgets/checkbox/checkbox.php:226 widgets/file-upload/file-upload.php:365
|
1987 |
#: widgets/gdpr-consent/gdpr-consent.php:184
|
@@ -2964,10 +3453,6 @@ msgstr ""
|
|
2964 |
msgid "Subscribe to ours newsletter."
|
2965 |
msgstr ""
|
2966 |
|
2967 |
-
#: widgets/manifest.php:116
|
2968 |
-
msgid "Metform"
|
2969 |
-
msgstr ""
|
2970 |
-
|
2971 |
#: widgets/multi-select/multi-select.php:16
|
2972 |
msgid "Multi Select"
|
2973 |
msgstr ""
|
2 |
# This file is distributed under the GPL-2.0+.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: MetForm 1.6.0\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/metform\n"
|
7 |
+
"POT-Creation-Date: 2021-11-10 10:08:20+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
90 |
msgid "No content is added yet."
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: core/admin/base.php:31 traits/button-controls.php:37
|
94 |
#: widgets/checkbox/checkbox.php:165 widgets/date/date.php:120
|
95 |
#: widgets/email/email.php:71 widgets/file-upload/file-upload.php:96
|
96 |
#: widgets/listing-fname/listing-fname.php:48
|
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 |
+
#: core/integrations/onboard/views/onboard-steps/step-06.php:5
|
155 |
msgid "Save Changes"
|
156 |
msgstr ""
|
157 |
|
211 |
msgstr ""
|
212 |
|
213 |
#: core/admin/views/settings.php:153
|
214 |
+
#: core/integrations/onboard/views/onboard-steps/step-05.php:13
|
215 |
msgid "PRO"
|
216 |
msgstr ""
|
217 |
|
257 |
msgstr ""
|
258 |
|
259 |
#: core/admin/views/settings.php:227
|
260 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:75
|
261 |
msgid "General Knowledge Base"
|
262 |
msgstr ""
|
263 |
|
264 |
#: core/admin/views/settings.php:228
|
265 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:76
|
266 |
msgid "FAQ"
|
267 |
msgstr ""
|
268 |
|
272 |
|
273 |
#: core/admin/views/settings.php:242 core/admin/views/settings.php:253
|
274 |
#: core/admin/views/settings.php:264
|
275 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:86
|
276 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:94
|
277 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:102
|
278 |
msgid ""
|
279 |
"You will get 20+ complete homepages and total 450+ blocks in our layout "
|
280 |
"library and we’re continuously updating the numbers there."
|
285 |
msgstr ""
|
286 |
|
287 |
#: core/admin/views/settings.php:260
|
288 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:99
|
289 |
msgid "3. How to add custom css in specific section shortcode?"
|
290 |
msgstr ""
|
291 |
|
292 |
#: core/admin/views/settings.php:271
|
293 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:110
|
294 |
msgid "View all faq’s"
|
295 |
msgstr ""
|
296 |
|
299 |
msgstr ""
|
300 |
|
301 |
#: core/admin/views/settings.php:280
|
302 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:152
|
303 |
msgid "Don’t forget to rate our item."
|
304 |
msgstr ""
|
305 |
|
308 |
msgstr ""
|
309 |
|
310 |
#: core/admin/views/settings.php:288
|
311 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:154
|
312 |
msgid "Rate it now"
|
313 |
msgstr ""
|
314 |
|
315 |
#: core/admin/views/settings.php:293
|
316 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:159
|
317 |
msgid "Rate Now Thumb"
|
318 |
msgstr ""
|
319 |
|
1623 |
msgid "Your data inserted on ActiveCampaign."
|
1624 |
msgstr ""
|
1625 |
|
1626 |
+
#: core/integrations/onboard/classes/plugin-status.php:57
|
1627 |
+
msgid "Activated"
|
1628 |
+
msgstr ""
|
1629 |
+
|
1630 |
+
#: core/integrations/onboard/classes/plugin-status.php:60
|
1631 |
+
msgid "Activate Now"
|
1632 |
+
msgstr ""
|
1633 |
+
|
1634 |
+
#: core/integrations/onboard/classes/plugin-status.php:65
|
1635 |
+
msgid "Install Now"
|
1636 |
+
msgstr ""
|
1637 |
+
|
1638 |
+
#: core/integrations/onboard/controls/settings/switch.php:50
|
1639 |
+
msgid "View Demo"
|
1640 |
+
msgstr ""
|
1641 |
+
|
1642 |
+
#: core/integrations/onboard/views/layout-onboard.php:6
|
1643 |
+
msgid "Tutorial"
|
1644 |
+
msgstr ""
|
1645 |
+
|
1646 |
+
#: core/integrations/onboard/views/layout-onboard.php:7
|
1647 |
+
msgid "Tutorial info"
|
1648 |
+
msgstr ""
|
1649 |
+
|
1650 |
+
#: core/integrations/onboard/views/layout-onboard.php:12
|
1651 |
+
msgid "Sign Up"
|
1652 |
+
msgstr ""
|
1653 |
+
|
1654 |
+
#: core/integrations/onboard/views/layout-onboard.php:13
|
1655 |
+
msgid "Sign Up info"
|
1656 |
+
msgstr ""
|
1657 |
+
|
1658 |
+
#: core/integrations/onboard/views/layout-onboard.php:17
|
1659 |
+
msgid "Website Powerup"
|
1660 |
+
msgstr ""
|
1661 |
+
|
1662 |
+
#: core/integrations/onboard/views/layout-onboard.php:18
|
1663 |
+
msgid "Website Powerup info"
|
1664 |
+
msgstr ""
|
1665 |
+
|
1666 |
+
#: core/integrations/onboard/views/layout-onboard.php:22
|
1667 |
+
msgid "Surprise"
|
1668 |
+
msgstr ""
|
1669 |
+
|
1670 |
+
#: core/integrations/onboard/views/layout-onboard.php:23
|
1671 |
+
msgid "Surprise info"
|
1672 |
+
msgstr ""
|
1673 |
+
|
1674 |
+
#: core/integrations/onboard/views/layout-onboard.php:27
|
1675 |
+
msgid "Finalizing"
|
1676 |
+
msgstr ""
|
1677 |
+
|
1678 |
+
#: core/integrations/onboard/views/layout-onboard.php:28
|
1679 |
+
msgid "Finalizing info"
|
1680 |
+
msgstr ""
|
1681 |
+
|
1682 |
+
#: core/integrations/onboard/views/onboard-steps/step-01.php:4
|
1683 |
+
#: core/integrations/onboard/views/onboard-steps/step-04.php:4
|
1684 |
+
msgid ""
|
1685 |
+
"Check Out the Easy to Understand Video Tutorials to learn the detailed use "
|
1686 |
+
"of MetForm."
|
1687 |
+
msgstr ""
|
1688 |
+
|
1689 |
+
#: core/integrations/onboard/views/onboard-steps/step-01.php:22
|
1690 |
+
#: core/integrations/onboard/views/onboard-steps/step-04.php:22
|
1691 |
+
msgid "Share non-sensitive diagnostic data and details about plugin usage."
|
1692 |
+
msgstr ""
|
1693 |
+
|
1694 |
+
#: core/integrations/onboard/views/onboard-steps/step-01.php:25
|
1695 |
+
#: core/integrations/onboard/views/onboard-steps/step-04.php:25
|
1696 |
+
msgid ""
|
1697 |
+
"We gather non-sensitive diagnostic data as well as information about plugin "
|
1698 |
+
"use. Your site's URL, WordPress and PHP versions, plugins and themes, as "
|
1699 |
+
"well as your email address, will be used to give you a discount coupon. "
|
1700 |
+
"This information enables us to ensure that this plugin remains consistent "
|
1701 |
+
"with the most common plugins and themes at all times. We pledge not to give "
|
1702 |
+
"you any spam, for sure."
|
1703 |
+
msgstr ""
|
1704 |
+
|
1705 |
+
#: core/integrations/onboard/views/onboard-steps/step-01.php:26
|
1706 |
+
#: core/integrations/onboard/views/onboard-steps/step-04.php:26
|
1707 |
+
msgid "What types of information do we gather?"
|
1708 |
+
msgstr ""
|
1709 |
+
|
1710 |
+
#: core/integrations/onboard/views/onboard-steps/step-01.php:29
|
1711 |
+
#: core/integrations/onboard/views/onboard-steps/step-02.php:16
|
1712 |
+
#: core/integrations/onboard/views/onboard-steps/step-03.php:68
|
1713 |
+
#: core/integrations/onboard/views/onboard-steps/step-04.php:29
|
1714 |
+
#: core/integrations/onboard/views/onboard-steps/step-05.php:32
|
1715 |
+
msgid "Back"
|
1716 |
+
msgstr ""
|
1717 |
+
|
1718 |
+
#: core/integrations/onboard/views/onboard-steps/step-01.php:30
|
1719 |
+
#: core/integrations/onboard/views/onboard-steps/step-02.php:17
|
1720 |
+
#: core/integrations/onboard/views/onboard-steps/step-03.php:69
|
1721 |
+
#: core/integrations/onboard/views/onboard-steps/step-04.php:30
|
1722 |
+
#: core/integrations/onboard/views/onboard-steps/step-05.php:33
|
1723 |
+
msgid "Next Step"
|
1724 |
+
msgstr ""
|
1725 |
+
|
1726 |
+
#: core/integrations/onboard/views/onboard-steps/step-02.php:4
|
1727 |
+
msgid "The Best Form Builder Plugin for Elementor."
|
1728 |
+
msgstr ""
|
1729 |
+
|
1730 |
+
#: core/integrations/onboard/views/onboard-steps/step-02.php:5
|
1731 |
+
msgid "Sign Up to Join a Big Community of Marketers, Developers, and Think Tankers"
|
1732 |
+
msgstr ""
|
1733 |
+
|
1734 |
+
#: core/integrations/onboard/views/onboard-steps/step-02.php:11
|
1735 |
+
msgid "Submit Your Best Email."
|
1736 |
+
msgstr ""
|
1737 |
+
|
1738 |
+
#: core/integrations/onboard/views/onboard-steps/step-03.php:4
|
1739 |
+
msgid "Take your website to the next level"
|
1740 |
+
msgstr ""
|
1741 |
+
|
1742 |
+
#: core/integrations/onboard/views/onboard-steps/step-03.php:5
|
1743 |
+
msgid "We have some plugins you can install to get most from Wordpress."
|
1744 |
+
msgstr ""
|
1745 |
+
|
1746 |
+
#: core/integrations/onboard/views/onboard-steps/step-03.php:6
|
1747 |
+
msgid "These are absolute FREE to use."
|
1748 |
+
msgstr ""
|
1749 |
+
|
1750 |
+
#: core/integrations/onboard/views/onboard-steps/step-03.php:19
|
1751 |
+
msgid "Completely customize your WooCommerce WordPress"
|
1752 |
+
msgstr ""
|
1753 |
+
|
1754 |
+
#: core/integrations/onboard/views/onboard-steps/step-03.php:29
|
1755 |
+
msgid "All-in-One Addons for Elementor"
|
1756 |
+
msgstr ""
|
1757 |
+
|
1758 |
+
#: core/integrations/onboard/views/onboard-steps/step-03.php:39
|
1759 |
+
msgid "Integrate all your social media to your website"
|
1760 |
+
msgstr ""
|
1761 |
+
|
1762 |
+
#: core/integrations/onboard/views/onboard-steps/step-03.php:49
|
1763 |
+
#: core/integrations/onboard/views/onboard-steps/step-03.php:59
|
1764 |
+
msgid "Integrate various styled review system in your website"
|
1765 |
+
msgstr ""
|
1766 |
+
|
1767 |
+
#: core/integrations/onboard/views/onboard-steps/step-05.php:4
|
1768 |
+
msgid "Upgrade within the next"
|
1769 |
+
msgstr ""
|
1770 |
+
|
1771 |
+
#: core/integrations/onboard/views/onboard-steps/step-05.php:5
|
1772 |
+
msgid "2 hours"
|
1773 |
+
msgstr ""
|
1774 |
+
|
1775 |
+
#: core/integrations/onboard/views/onboard-steps/step-05.php:6
|
1776 |
+
msgid " and get a "
|
1777 |
+
msgstr ""
|
1778 |
+
|
1779 |
+
#: core/integrations/onboard/views/onboard-steps/step-05.php:7
|
1780 |
+
msgid "40% Discount"
|
1781 |
+
msgstr ""
|
1782 |
+
|
1783 |
+
#: core/integrations/onboard/views/onboard-steps/step-05.php:13
|
1784 |
+
#: widgets/manifest.php:116
|
1785 |
+
msgid "Metform"
|
1786 |
+
msgstr ""
|
1787 |
+
|
1788 |
+
#: core/integrations/onboard/views/onboard-steps/step-05.php:16
|
1789 |
+
msgid "Free Premium’ Features"
|
1790 |
+
msgstr ""
|
1791 |
+
|
1792 |
+
#: core/integrations/onboard/views/onboard-steps/step-05.php:17
|
1793 |
+
msgid "Smart Conditional Logic"
|
1794 |
+
msgstr ""
|
1795 |
+
|
1796 |
+
#: core/integrations/onboard/views/onboard-steps/step-05.php:18
|
1797 |
+
msgid "Required Fields Validation"
|
1798 |
+
msgstr ""
|
1799 |
+
|
1800 |
+
#: core/integrations/onboard/views/onboard-steps/step-05.php:19
|
1801 |
+
msgid "Popular CRM Integrations"
|
1802 |
+
msgstr ""
|
1803 |
+
|
1804 |
+
#: core/integrations/onboard/views/onboard-steps/step-05.php:20
|
1805 |
+
msgid "Data Within Dashboard"
|
1806 |
+
msgstr ""
|
1807 |
+
|
1808 |
+
#: core/integrations/onboard/views/onboard-steps/step-05.php:23
|
1809 |
+
msgid "15+ Third-Party API Integrations"
|
1810 |
+
msgstr ""
|
1811 |
+
|
1812 |
+
#: core/integrations/onboard/views/onboard-steps/step-05.php:24
|
1813 |
+
msgid "35+ Form Input Widgets"
|
1814 |
+
msgstr ""
|
1815 |
+
|
1816 |
+
#: core/integrations/onboard/views/onboard-steps/step-05.php:25
|
1817 |
+
msgid "10+ Advanced Features for Customizations"
|
1818 |
+
msgstr ""
|
1819 |
+
|
1820 |
+
#: core/integrations/onboard/views/onboard-steps/step-05.php:28
|
1821 |
+
msgid "Explore PRO"
|
1822 |
+
msgstr ""
|
1823 |
+
|
1824 |
+
#: core/integrations/onboard/views/onboard-steps/step-06.php:3
|
1825 |
+
msgid "Congratulations!"
|
1826 |
+
msgstr ""
|
1827 |
+
|
1828 |
+
#: core/integrations/onboard/views/onboard-steps/step-06.php:4
|
1829 |
+
msgid ""
|
1830 |
+
"Let’s dive into developing your website with the world’s best addons for "
|
1831 |
+
"Elementor."
|
1832 |
+
msgstr ""
|
1833 |
+
|
1834 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:8
|
1835 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:128
|
1836 |
+
msgid "Documentation Thumb"
|
1837 |
+
msgstr ""
|
1838 |
+
|
1839 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:12
|
1840 |
+
msgid "Easy Documentation"
|
1841 |
+
msgstr ""
|
1842 |
+
|
1843 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:13
|
1844 |
+
msgid "Docs"
|
1845 |
+
msgstr ""
|
1846 |
+
|
1847 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:15
|
1848 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:121
|
1849 |
+
msgid ""
|
1850 |
+
"Get started by spending some time with the documentation to get familiar "
|
1851 |
+
"with ElementsKit Lite. Build awesome websites for you or your clients with "
|
1852 |
+
"ease."
|
1853 |
+
msgstr ""
|
1854 |
+
|
1855 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:17
|
1856 |
+
msgid "Get started"
|
1857 |
+
msgstr ""
|
1858 |
+
|
1859 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:26
|
1860 |
+
msgid "Video Tutorials"
|
1861 |
+
msgstr ""
|
1862 |
+
|
1863 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:27
|
1864 |
+
msgid "Tutorials"
|
1865 |
+
msgstr ""
|
1866 |
+
|
1867 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:29
|
1868 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:78
|
1869 |
+
msgid ""
|
1870 |
+
"Get started by spending some time with the documentation to get familiar "
|
1871 |
+
"with ElementsKit Lite."
|
1872 |
+
msgstr ""
|
1873 |
+
|
1874 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:36
|
1875 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:44
|
1876 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:52
|
1877 |
+
msgid "Totorial Thumb"
|
1878 |
+
msgstr ""
|
1879 |
+
|
1880 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:38
|
1881 |
+
msgid "Parallax Effects"
|
1882 |
+
msgstr ""
|
1883 |
+
|
1884 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:46
|
1885 |
+
msgid "Advanced Accordions"
|
1886 |
+
msgstr ""
|
1887 |
+
|
1888 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:54
|
1889 |
+
msgid "Mega Menu Builder"
|
1890 |
+
msgstr ""
|
1891 |
+
|
1892 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:67
|
1893 |
+
msgid "watch more videos"
|
1894 |
+
msgstr ""
|
1895 |
+
|
1896 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:83
|
1897 |
+
msgid "1. How to create a shop page in ElementsKit Lite?"
|
1898 |
+
msgstr ""
|
1899 |
+
|
1900 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:91
|
1901 |
+
msgid "2. How to translate theme with WPML?"
|
1902 |
+
msgstr ""
|
1903 |
+
|
1904 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:118
|
1905 |
+
msgid "Top-notch Friendly Support"
|
1906 |
+
msgstr ""
|
1907 |
+
|
1908 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:119
|
1909 |
+
msgid "Support"
|
1910 |
+
msgstr ""
|
1911 |
+
|
1912 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:123
|
1913 |
+
msgid "Join support forum"
|
1914 |
+
msgstr ""
|
1915 |
+
|
1916 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:136
|
1917 |
+
msgid "Feature a Request Thumb"
|
1918 |
+
msgstr ""
|
1919 |
+
|
1920 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:140
|
1921 |
+
msgid "Maybe we’re missing something you can’t live without."
|
1922 |
+
msgstr ""
|
1923 |
+
|
1924 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:142
|
1925 |
+
msgid "Feature a request"
|
1926 |
+
msgstr ""
|
1927 |
+
|
1928 |
+
#: core/integrations/onboard/views/settings-sections/dashboard.php:152
|
1929 |
+
msgid "Satisfied?"
|
1930 |
+
msgstr ""
|
1931 |
+
|
1932 |
+
#: core/integrations/onboard/views/settings-sections/modules.php:16
|
1933 |
+
msgid ""
|
1934 |
+
"You can disable the modules you are not using on your site. That will "
|
1935 |
+
"disable all associated assets of those modules to improve your site loading "
|
1936 |
+
"speed."
|
1937 |
+
msgstr ""
|
1938 |
+
|
1939 |
+
#: core/integrations/onboard/views/settings-sections/modules.php:20
|
1940 |
+
msgid "Header Footer"
|
1941 |
+
msgstr ""
|
1942 |
+
|
1943 |
+
#: core/integrations/onboard/views/settings-sections/modules.php:23
|
1944 |
+
msgid "Widget Builder"
|
1945 |
+
msgstr ""
|
1946 |
+
|
1947 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:20
|
1948 |
+
msgid "MailChimp Data"
|
1949 |
+
msgstr ""
|
1950 |
+
|
1951 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:33
|
1952 |
+
msgid "Token"
|
1953 |
+
msgstr ""
|
1954 |
+
|
1955 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:60
|
1956 |
+
msgid "Facebook Page Feed"
|
1957 |
+
msgstr ""
|
1958 |
+
|
1959 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:74
|
1960 |
+
msgid "Facebook Page ID"
|
1961 |
+
msgstr ""
|
1962 |
+
|
1963 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:75
|
1964 |
+
msgid "Facebook app id"
|
1965 |
+
msgstr ""
|
1966 |
+
|
1967 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:88
|
1968 |
+
msgid "Page Access Token"
|
1969 |
+
msgstr ""
|
1970 |
+
|
1971 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:102
|
1972 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:179
|
1973 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:400
|
1974 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:540
|
1975 |
+
msgid "Clear Cache"
|
1976 |
+
msgstr ""
|
1977 |
+
|
1978 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:108
|
1979 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:152
|
1980 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:393
|
1981 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:546
|
1982 |
+
msgid "Get access token"
|
1983 |
+
msgstr ""
|
1984 |
+
|
1985 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:130
|
1986 |
+
msgid "Facebook page review"
|
1987 |
+
msgstr ""
|
1988 |
+
|
1989 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:144
|
1990 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:294
|
1991 |
+
msgid "Page ID"
|
1992 |
+
msgstr ""
|
1993 |
+
|
1994 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:152
|
1995 |
+
msgid "Refresh access token"
|
1996 |
+
msgstr ""
|
1997 |
+
|
1998 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:158
|
1999 |
+
msgid "Page Token"
|
2000 |
+
msgstr ""
|
2001 |
+
|
2002 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:246
|
2003 |
+
msgid "Yelp Settings"
|
2004 |
+
msgstr ""
|
2005 |
+
|
2006 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:260
|
2007 |
+
msgid "Yelp Page"
|
2008 |
+
msgstr ""
|
2009 |
+
|
2010 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:282
|
2011 |
+
msgid "Facebook Messenger"
|
2012 |
+
msgstr ""
|
2013 |
+
|
2014 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:304
|
2015 |
+
#: traits/common-controls.php:315 traits/common-controls.php:766
|
2016 |
+
#: traits/common-controls.php:806 widgets/file-upload/file-upload.php:288
|
2017 |
+
#: widgets/file-upload/file-upload.php:319
|
2018 |
+
#: widgets/gdpr-consent/gdpr-consent.php:140 widgets/select/select.php:235
|
2019 |
+
#: widgets/select/select.php:270 widgets/select/select.php:305
|
2020 |
+
#: widgets/simple-captcha/simple-captcha.php:162
|
2021 |
+
#: widgets/simple-captcha/simple-captcha.php:298
|
2022 |
+
msgid "Color"
|
2023 |
+
msgstr ""
|
2024 |
+
|
2025 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:314
|
2026 |
+
msgid "Logged-in user greeting"
|
2027 |
+
msgstr ""
|
2028 |
+
|
2029 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:324
|
2030 |
+
msgid "Logged out user greeting"
|
2031 |
+
msgstr ""
|
2032 |
+
|
2033 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:334
|
2034 |
+
msgid "Show Dialog Box"
|
2035 |
+
msgstr ""
|
2036 |
+
|
2037 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:363
|
2038 |
+
msgid "Dribbble User Data"
|
2039 |
+
msgstr ""
|
2040 |
+
|
2041 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:380
|
2042 |
+
msgid "Access token"
|
2043 |
+
msgstr ""
|
2044 |
+
|
2045 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:422
|
2046 |
+
msgid "Twitter User Data"
|
2047 |
+
msgstr ""
|
2048 |
+
|
2049 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:434
|
2050 |
+
msgid "Twitter Username"
|
2051 |
+
msgstr ""
|
2052 |
+
|
2053 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:444
|
2054 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:505
|
2055 |
+
msgid "Access Token"
|
2056 |
+
msgstr ""
|
2057 |
+
|
2058 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:454
|
2059 |
+
msgid "Get Access Token"
|
2060 |
+
msgstr ""
|
2061 |
+
|
2062 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:474
|
2063 |
+
msgid "Instragram User Data"
|
2064 |
+
msgstr ""
|
2065 |
+
|
2066 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:495
|
2067 |
+
msgid "User ID"
|
2068 |
+
msgstr ""
|
2069 |
+
|
2070 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:515
|
2071 |
+
msgid "Token expires time"
|
2072 |
+
msgstr ""
|
2073 |
+
|
2074 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:525
|
2075 |
+
msgid "Token generation date"
|
2076 |
+
msgstr ""
|
2077 |
+
|
2078 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:528
|
2079 |
+
msgid "This is need to calculate the remaining time for token"
|
2080 |
+
msgstr ""
|
2081 |
+
|
2082 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:567
|
2083 |
+
msgid "Zoom Data"
|
2084 |
+
msgstr ""
|
2085 |
+
|
2086 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:579
|
2087 |
+
msgid "Api key"
|
2088 |
+
msgstr ""
|
2089 |
+
|
2090 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:588
|
2091 |
+
msgid "Secret Key"
|
2092 |
+
msgstr ""
|
2093 |
+
|
2094 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:597
|
2095 |
+
msgid "Check connection"
|
2096 |
+
msgstr ""
|
2097 |
+
|
2098 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:619
|
2099 |
+
msgid "Google Map"
|
2100 |
+
msgstr ""
|
2101 |
+
|
2102 |
+
#: core/integrations/onboard/views/settings-sections/usersettings.php:631
|
2103 |
+
msgid "Api Key"
|
2104 |
+
msgstr ""
|
2105 |
+
|
2106 |
+
#: core/integrations/onboard/views/settings-sections/widgets.php:14
|
2107 |
+
msgid ""
|
2108 |
+
"You can disable the elements you are not using on your site. That will "
|
2109 |
+
"disable all associated assets of those widgets to improve your site loading "
|
2110 |
+
"speed."
|
2111 |
+
msgstr ""
|
2112 |
+
|
2113 |
#: core/integrations/slack.php:46
|
2114 |
msgid "Your data inserted on slack."
|
2115 |
msgstr ""
|
2116 |
|
2117 |
+
#: plugin.php:395
|
2118 |
msgid "Activate Elementor"
|
2119 |
msgstr ""
|
2120 |
|
2121 |
+
#: plugin.php:402
|
2122 |
msgid "Install Elementor"
|
2123 |
msgstr ""
|
2124 |
|
2125 |
+
#: plugin.php:406 plugin.php:438
|
2126 |
msgid "MetForm requires Elementor version %1$s+, which is currently NOT RUNNING."
|
2127 |
msgstr ""
|
2128 |
|
2129 |
+
#: plugin.php:421
|
2130 |
msgid "MetForm Pro"
|
2131 |
msgstr ""
|
2132 |
|
2133 |
+
#: plugin.php:425 plugin.php:441
|
2134 |
msgid "We have MetForm Pro version. Check out our pro feature."
|
2135 |
msgstr ""
|
2136 |
|
2137 |
+
#: plugin.php:437
|
2138 |
msgid "Update Elementor"
|
2139 |
msgstr ""
|
2140 |
|
2471 |
msgid "Width"
|
2472 |
msgstr ""
|
2473 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2474 |
#: traits/common-controls.php:359 traits/common-controls.php:490
|
2475 |
#: widgets/checkbox/checkbox.php:226 widgets/file-upload/file-upload.php:365
|
2476 |
#: widgets/gdpr-consent/gdpr-consent.php:184
|
3453 |
msgid "Subscribe to ours newsletter."
|
3454 |
msgstr ""
|
3455 |
|
|
|
|
|
|
|
|
|
3456 |
#: widgets/multi-select/multi-select.php:16
|
3457 |
msgid "Multi Select"
|
3458 |
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.
|
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.6.0
|
9 |
* Author: Wpmet
|
10 |
* Author URI: https://wpmet.com
|
11 |
* Text Domain: metform
|
plugin.php
CHANGED
@@ -2,11 +2,12 @@
|
|
2 |
|
3 |
namespace MetForm;
|
4 |
|
|
|
|
|
5 |
|
6 |
defined('ABSPATH') || exit;
|
7 |
|
8 |
-
final class Plugin
|
9 |
-
{
|
10 |
|
11 |
private static $instance;
|
12 |
|
@@ -20,12 +21,12 @@ final class Plugin
|
|
20 |
|
21 |
public function version()
|
22 |
{
|
23 |
-
return '1.
|
24 |
}
|
25 |
|
26 |
public function package_type()
|
27 |
{
|
28 |
-
return 'free';
|
29 |
}
|
30 |
|
31 |
public function plugin_url()
|
@@ -88,6 +89,10 @@ final class Plugin
|
|
88 |
return $this->plugin_dir() . 'public/';
|
89 |
}
|
90 |
|
|
|
|
|
|
|
|
|
91 |
public function i18n()
|
92 |
{
|
93 |
load_plugin_textdomain('metform', false, dirname(plugin_basename(__FILE__)) . '/languages/');
|
@@ -102,6 +107,12 @@ final class Plugin
|
|
102 |
* @set_first_appear_day methods
|
103 |
* ----------------------------------------
|
104 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
\Wpmet\Libs\Rating::instance('metform')
|
106 |
->set_plugin_logo('https://ps.w.org/metform/assets/icon-128x128.png')
|
107 |
->set_plugin('Metform', 'https://wpmet.com/wordpress.org/rating/metform')
|
2 |
|
3 |
namespace MetForm;
|
4 |
|
5 |
+
use MetForm\Core\Integrations\Onboard\Attr;
|
6 |
+
use MetForm\Core\Integrations\Onboard\Onboard;
|
7 |
|
8 |
defined('ABSPATH') || exit;
|
9 |
|
10 |
+
final class Plugin {
|
|
|
11 |
|
12 |
private static $instance;
|
13 |
|
21 |
|
22 |
public function version()
|
23 |
{
|
24 |
+
return '1.6.0';
|
25 |
}
|
26 |
|
27 |
public function package_type()
|
28 |
{
|
29 |
+
return apply_filters( 'metform/core/package_type', 'free' );
|
30 |
}
|
31 |
|
32 |
public function plugin_url()
|
89 |
return $this->plugin_dir() . 'public/';
|
90 |
}
|
91 |
|
92 |
+
public function account_url(){
|
93 |
+
return 'https://account.wpmet.com';
|
94 |
+
}
|
95 |
+
|
96 |
public function i18n()
|
97 |
{
|
98 |
load_plugin_textdomain('metform', false, dirname(plugin_basename(__FILE__)) . '/languages/');
|
107 |
* @set_first_appear_day methods
|
108 |
* ----------------------------------------
|
109 |
*/
|
110 |
+
Onboard::instance()->init();
|
111 |
+
|
112 |
+
if(isset($_GET['met-onboard-steps'])) {
|
113 |
+
Attr::instance();
|
114 |
+
}
|
115 |
+
|
116 |
\Wpmet\Libs\Rating::instance('metform')
|
117 |
->set_plugin_logo('https://ps.w.org/metform/assets/icon-128x128.png')
|
118 |
->set_plugin('Metform', 'https://wpmet.com/wordpress.org/rating/metform')
|
public/assets/js/app.js
CHANGED
@@ -4,12 +4,12 @@
|
|
4 |
* Version 1.8.2 (28-06-2019 14:30)
|
5 |
* Licensed under MIT
|
6 |
* Copyright 2019 Hasan Aydoğdu <hsnaydd@gmail.com>
|
7 |
-
*/var t=function(){var e={tolerance:0,duration:800,easing:"easeOutQuart",container:window,callback:function(){}};function t(e,t,n,r){return e/=r,-n*(--e*e*e*e-1)+t}function n(e,t){var n={};return Object.keys(e).forEach((function(t){n[t]=e[t]})),Object.keys(t).forEach((function(e){n[e]=t[e]})),n}function r(e){return e instanceof HTMLElement?e.scrollTop:e.pageYOffset}function o(){var r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},o=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};this.options=n(e,r),this.easeFunctions=n({easeOutQuart:t},o)}return o.prototype.registerTrigger=function(e,t){var r=this;if(e){var o=e.getAttribute("href")||e.getAttribute("data-target"),a=o&&"#"!==o?document.getElementById(o.substring(1)):document.body,i=n(this.options,function(e,t){var n={};return Object.keys(t).forEach((function(t){var r=e.getAttribute("data-mt-".concat(t.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()}))));r&&(n[t]=isNaN(r)?r:parseInt(r,10))})),n}(e,this.options));"function"==typeof t&&(i.callback=t);var s=function(e){e.preventDefault(),r.move(a,i)};return e.addEventListener("click",s,!1),function(){return e.removeEventListener("click",s,!1)}}},o.prototype.move=function(e){var t=this,o=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};if(0===e||e){o=n(this.options,o);var a,i="number"==typeof e?e:e.getBoundingClientRect().top,s=r(o.container),u=null;i-=o.tolerance;var c=function l(n){var c=r(t.options.container);u||(u=n-1);var f=n-u;if(a&&(i>0&&a>c||i<0&&a<c))return o.callback(e);a=c;var d=t.easeFunctions[o.easing](f,s,i,o.duration);o.container.scroll(0,d),f<o.duration?window.requestAnimationFrame(l):(o.container.scroll(0,i+s),o.callback(e))};window.requestAnimationFrame(c)}},o.prototype.addEaseFunction=function(e,t){this.easeFunctions[e]=t},o}();e.exports=t},703:function(e,t,n){"use strict";var r=n(414);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},697:function(e,t,n){e.exports=n(703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},953:function(e,t,n){"use strict";function r(e){return(r="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)}t.Z=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{"default":e};var t=u();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}n["default"]=e,t&&t.set(e,n);return n}(n(804)),a=s(n(697)),i=s(n(527));function s(e){return e&&e.__esModule?e:{"default":e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(){return(c=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}).apply(this,arguments)}function l(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function f(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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){w(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(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=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var C=["onChange","onOpen","onClose","onMonthChange","onYearChange","onReady","onValueUpdate","onDayCreate"],O=a["default"].oneOfType([a["default"].func,a["default"].arrayOf(a["default"].func)]),x=["onCreate","onDestroy"],D=a["default"].func,k=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&&m(e,t)}(s,e);var t,n,r,a=g(s);function s(){var e;p(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return w(b(e=a.call.apply(a,[this].concat(n))),"createFlatpickrInstance",(function(){var t=d({onClose:function(){e.node.blur&&e.node.blur()}},e.props.options);C.forEach((function(n){e.props[n]&&(t[n]=e.props[n])})),e.flatpickr=(0,i["default"])(e.node,t),e.props.hasOwnProperty("value")&&e.flatpickr.setDate(e.props.value,!1);var n=e.props.onCreate;n&&n(e.flatpickr)})),w(b(e),"destroyFlatpickrInstance",(function(){var t=e.props.onDestroy;t&&t(e.flatpickr),e.flatpickr.destroy(),e.flatpickr=null})),w(b(e),"handleNodeChange",(function(t){e.node=t,e.flatpickr&&(e.destroyFlatpickrInstance(),e.createFlatpickrInstance())})),e}return t=s,(n=[{key:"componentDidUpdate",value:function(e){var t=this,n=this.props.options,r=e.options;C.forEach((function(o){t.props.hasOwnProperty(o)&&(n[o]=t.props[o]),e.hasOwnProperty(o)&&(r[o]=e[o])}));for(var o=Object.getOwnPropertyNames(n),a=o.length-1;a>=0;a--){var i=o[a],s=n[i];s!==r[i]&&(-1===C.indexOf(i)||Array.isArray(s)||(s=[s]),this.flatpickr.set(i,s))}this.props.hasOwnProperty("value")&&this.props.value!==e.value&&this.flatpickr.setDate(this.props.value,!1)}},{key:"componentDidMount",value:function(){this.createFlatpickrInstance()}},{key:"componentWillUnmount",value:function(){this.destroyFlatpickrInstance()}},{key:"render",value:function(){var e=this.props,t=e.options,n=e.defaultValue,r=e.value,a=e.children,i=e.render,s=l(e,["options","defaultValue","value","children","render"]);return C.forEach((function(e){delete s[e]})),x.forEach((function(e){delete s[e]})),i?i(d(d({},s),{},{defaultValue:n,value:r}),this.handleNodeChange):t.wrap?o["default"].createElement("div",c({},s,{ref:this.handleNodeChange}),a):o["default"].createElement("input",c({},s,{defaultValue:n,ref:this.handleNodeChange}))}}])&&h(t.prototype,n),r&&h(t,r),s}(o.Component);w(k,"propTypes",{defaultValue:a["default"].string,options:a["default"].object,onChange:O,onOpen:O,onClose:O,onMonthChange:O,onYearChange:O,onReady:O,onValueUpdate:O,onDayCreate:O,onCreate:D,onDestroy:D,value:a["default"].oneOfType([a["default"].string,a["default"].array,a["default"].object,a["default"].number]),children:a["default"].node,className:a["default"].string,render:a["default"].func}),w(k,"defaultProps",{options:{}});var S=k;t.Z=S},639:function(e,t,n){"use strict";var r=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},o=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}}(),a=n(804),i=u(a),s=u(n(697));function u(e){return e&&e.__esModule?e:{"default":e}}var c={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},l=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],f=function(e,t){t.style.fontSize=e.fontSize,t.style.fontFamily=e.fontFamily,t.style.fontWeight=e.fontWeight,t.style.fontStyle=e.fontStyle,t.style.letterSpacing=e.letterSpacing,t.style.textTransform=e.textTransform},d=!("undefined"==typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent),p=function(){return d?"_"+Math.random().toString(36).substr(2,12):undefined},h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.inputRef=function(e){n.input=e,"function"==typeof n.props.inputRef&&n.props.inputRef(e)},n.placeHolderSizerRef=function(e){n.placeHolderSizer=e},n.sizerRef=function(e){n.sizer=e},n.state={inputWidth:e.minWidth,inputId:e.id||p(),prevId:e.id},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.id;return n!==t.prevId?{inputId:n||p(),prevId:n}:null}}]),o(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"componentDidUpdate",value:function(e,t){t.inputWidth!==this.state.inputWidth&&"function"==typeof this.props.onAutosize&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(this.mounted&&window.getComputedStyle){var e=this.input&&window.getComputedStyle(this.input);e&&(f(e,this.sizer),this.placeHolderSizer&&f(e,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(this.mounted&&this.sizer&&"undefined"!=typeof this.sizer.scrollWidth){var e=void 0;e=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:this.sizer.scrollWidth+2,(e+="number"===this.props.type&&this.props.extraWidth===undefined?16:parseInt(this.props.extraWidth)||0)<this.props.minWidth&&(e=this.props.minWidth),e!==this.state.inputWidth&&this.setState({inputWidth:e})}}},{key:"getInput",value:function(){return this.input}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"renderStyles",value:function(){var e=this.props.injectStyles;return d&&e?i["default"].createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function(){var e=[this.props.defaultValue,this.props.value,""].reduce((function(e,t){return null!==e&&e!==undefined?e:t})),t=r({},this.props.style);t.display||(t.display="inline-block");var n=r({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(this.props,[]);return function(e){l.forEach((function(t){return delete e[t]}))}(o),o.className=this.props.inputClassName,o.id=this.state.inputId,o.style=n,i["default"].createElement("div",{className:this.props.className,style:t},this.renderStyles(),i["default"].createElement("input",r({},o,{ref:this.inputRef})),i["default"].createElement("div",{ref:this.sizerRef,style:c},e),this.props.placeholder?i["default"].createElement("div",{ref:this.placeHolderSizerRef,style:c},this.props.placeholder):null)}}]),t}(a.Component);h.propTypes={className:s["default"].string,defaultValue:s["default"].any,extraWidth:s["default"].oneOfType([s["default"].number,s["default"].string]),id:s["default"].string,injectStyles:s["default"].bool,inputClassName:s["default"].string,inputRef:s["default"].func,inputStyle:s["default"].object,minWidth:s["default"].oneOfType([s["default"].number,s["default"].string]),onAutosize:s["default"].func,onChange:s["default"].func,placeholder:s["default"].string,placeholderIsMinWidth:s["default"].bool,style:s["default"].object,value:s["default"].any},h.defaultProps={minWidth:1,injectStyles:!0},t.Z=h},322:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(288),a=(r=o)&&r.__esModule?r:{"default":r};t["default"]=a["default"],e.exports=t["default"]},203:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t["default"]={activeTrack:"input-range__track input-range__track--active",disabledInputRange:"input-range input-range--disabled",inputRange:"input-range",labelContainer:"input-range__label-container",maxLabel:"input-range__label input-range__label--max",minLabel:"input-range__label input-range__label--min",slider:"input-range__slider",sliderContainer:"input-range__slider-container",track:"input-range__track input-range__track--background",valueLabel:"input-range__label input-range__label--value"},e.exports=t["default"]},288:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=undefined;var r,o=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}}(),a=v(n(804)),i=v(n(697)),s=v(n(521)),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}(n(232)),c=v(n(203)),l=v(n(191)),f=v(n(807)),d=v(n(97)),p=v(n(737)),h=v(n(752)),m=n(302),g=n(878);function v(e){return e&&e.__esModule?e:{"default":e}}function b(e,t,n,r,o){var a={};return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),a),o&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(o):void 0,a.initializer=undefined),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}var y=(b((r=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.startValue=null,n.node=null,n.trackNode=null,n.isSliderDragging=!1,n.lastKeyMoved=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"propTypes",get:function(){return{allowSameValues:i["default"].bool,ariaLabelledby:i["default"].string,ariaControls:i["default"].string,classNames:i["default"].objectOf(i["default"].string),disabled:i["default"].bool,draggableTrack:i["default"].bool,formatLabel:i["default"].func,maxValue:f["default"],minValue:f["default"],name:i["default"].string,onChangeStart:i["default"].func,onChange:i["default"].func.isRequired,onChangeComplete:i["default"].func,step:i["default"].number,value:d["default"]}}},{key:"defaultProps",get:function(){return{allowSameValues:!1,classNames:c["default"],disabled:!1,maxValue:10,minValue:0,step:1}}}]),o(t,[{key:"componentWillUnmount",value:function(){this.removeDocumentMouseUpListener(),this.removeDocumentTouchEndListener()}},{key:"getComponentClassName",value:function(){return this.props.disabled?this.props.classNames.disabledInputRange:this.props.classNames.inputRange}},{key:"getTrackClientRect",value:function(){return this.trackNode.getClientRect()}},{key:"getKeyByPosition",value:function(e){var t=u.getValueFromProps(this.props,this.isMultiValue()),n=u.getPositionsFromValues(t,this.props.minValue,this.props.maxValue,this.getTrackClientRect());if(this.isMultiValue()&&(0,m.distanceTo)(e,n.min)<(0,m.distanceTo)(e,n.max))return"min";return"max"}},{key:"getKeys",value:function(){return this.isMultiValue()?["min","max"]:["max"]}},{key:"hasStepDifference",value:function(e){var t=u.getValueFromProps(this.props,this.isMultiValue());return(0,m.length)(e.min,t.min)>=this.props.step||(0,m.length)(e.max,t.max)>=this.props.step}},{key:"isMultiValue",value:function(){return(0,m.isObject)(this.props.value)}},{key:"isWithinRange",value:function(e){return this.isMultiValue()?e.min>=this.props.minValue&&e.max<=this.props.maxValue&&this.props.allowSameValues?e.min<=e.max:e.min<e.max:e.max>=this.props.minValue&&e.max<=this.props.maxValue}},{key:"shouldUpdate",value:function(e){return this.isWithinRange(e)&&this.hasStepDifference(e)}},{key:"updatePosition",value:function(e,t){var n=u.getValueFromProps(this.props,this.isMultiValue()),r=u.getPositionsFromValues(n,this.props.minValue,this.props.maxValue,this.getTrackClientRect());r[e]=t,this.lastKeyMoved=e,this.updatePositions(r)}},{key:"updatePositions",value:function(e){var t={min:u.getValueFromPosition(e.min,this.props.minValue,this.props.maxValue,this.getTrackClientRect()),max:u.getValueFromPosition(e.max,this.props.minValue,this.props.maxValue,this.getTrackClientRect())},n={min:u.getStepValueFromValue(t.min,this.props.step),max:u.getStepValueFromValue(t.max,this.props.step)};this.updateValues(n)}},{key:"updateValue",value:function(e,t){var n=u.getValueFromProps(this.props,this.isMultiValue());n[e]=t,this.updateValues(n)}},{key:"updateValues",value:function(e){this.shouldUpdate(e)&&this.props.onChange(this.isMultiValue()?e:e.max)}},{key:"incrementValue",value:function(e){var t=u.getValueFromProps(this.props,this.isMultiValue())[e]+this.props.step;this.updateValue(e,t)}},{key:"decrementValue",value:function(e){var t=u.getValueFromProps(this.props,this.isMultiValue())[e]-this.props.step;this.updateValue(e,t)}},{key:"addDocumentMouseUpListener",value:function(){this.removeDocumentMouseUpListener(),this.node.ownerDocument.addEventListener("mouseup",this.handleMouseUp)}},{key:"addDocumentTouchEndListener",value:function(){this.removeDocumentTouchEndListener(),this.node.ownerDocument.addEventListener("touchend",this.handleTouchEnd)}},{key:"removeDocumentMouseUpListener",value:function(){this.node.ownerDocument.removeEventListener("mouseup",this.handleMouseUp)}},{key:"removeDocumentTouchEndListener",value:function(){this.node.ownerDocument.removeEventListener("touchend",this.handleTouchEnd)}},{key:"handleSliderDrag",value:function(e,t){var n=this;if(!this.props.disabled){var r=u.getPositionFromEvent(e,this.getTrackClientRect());this.isSliderDragging=!0,requestAnimationFrame((function(){return n.updatePosition(t,r)}))}}},{key:"handleTrackDrag",value:function(e,t){if(!this.props.disabled&&this.props.draggableTrack&&!this.isSliderDragging){var n=this.props,r=n.maxValue,o=n.minValue,a=n.value,i=a.max,s=a.min,c=u.getPositionFromEvent(e,this.getTrackClientRect()),l=u.getValueFromPosition(c,o,r,this.getTrackClientRect()),f=u.getStepValueFromValue(l,this.props.step),d=u.getPositionFromEvent(t,this.getTrackClientRect()),p=u.getValueFromPosition(d,o,r,this.getTrackClientRect()),h=u.getStepValueFromValue(p,this.props.step)-f,m={min:s-h,max:i-h};this.updateValues(m)}}},{key:"handleSliderKeyDown",value:function(e,t){if(!this.props.disabled)switch(e.keyCode){case g.LEFT_ARROW:case g.DOWN_ARROW:e.preventDefault(),this.decrementValue(t);break;case g.RIGHT_ARROW:case g.UP_ARROW:e.preventDefault(),this.incrementValue(t)}}},{key:"handleTrackMouseDown",value:function(e,t){if(!this.props.disabled){var n=this.props,r=n.maxValue,o=n.minValue,a=n.value,i=a.max,s=a.min;e.preventDefault();var c=u.getValueFromPosition(t,o,r,this.getTrackClientRect()),l=u.getStepValueFromValue(c,this.props.step);(!this.props.draggableTrack||l>i||l<s)&&this.updatePosition(this.getKeyByPosition(t),t)}}},{key:"handleInteractionStart",value:function(){this.props.onChangeStart&&this.props.onChangeStart(this.props.value),this.props.onChangeComplete&&!(0,m.isDefined)(this.startValue)&&(this.startValue=this.props.value)}},{key:"handleInteractionEnd",value:function(){this.isSliderDragging&&(this.isSliderDragging=!1),this.props.onChangeComplete&&(0,m.isDefined)(this.startValue)&&(this.startValue!==this.props.value&&this.props.onChangeComplete(this.props.value),this.startValue=null)}},{key:"handleKeyDown",value:function(e){this.handleInteractionStart(e)}},{key:"handleKeyUp",value:function(e){this.handleInteractionEnd(e)}},{key:"handleMouseDown",value:function(e){this.handleInteractionStart(e),this.addDocumentMouseUpListener()}},{key:"handleMouseUp",value:function(e){this.handleInteractionEnd(e),this.removeDocumentMouseUpListener()}},{key:"handleTouchStart",value:function(e){this.handleInteractionStart(e),this.addDocumentTouchEndListener()}},{key:"handleTouchEnd",value:function(e){this.handleInteractionEnd(e),this.removeDocumentTouchEndListener()}},{key:"renderSliders",value:function(){var e=this,t=u.getValueFromProps(this.props,this.isMultiValue()),n=u.getPercentagesFromValues(t,this.props.minValue,this.props.maxValue);return(this.props.allowSameValues&&"min"===this.lastKeyMoved?this.getKeys().reverse():this.getKeys()).map((function(r){var o=t[r],i=n[r],s=e.props,u=s.maxValue,c=s.minValue;return"min"===r?u=t.max:c=t.min,a["default"].createElement(p["default"],{ariaLabelledby:e.props.ariaLabelledby,ariaControls:e.props.ariaControls,classNames:e.props.classNames,formatLabel:e.props.formatLabel,key:r,maxValue:u,minValue:c,onSliderDrag:e.handleSliderDrag,onSliderKeyDown:e.handleSliderKeyDown,percentage:i,type:r,value:o})}))}},{key:"renderHiddenInputs",value:function(){var e=this;if(!this.props.name)return[];var t=this.isMultiValue(),n=u.getValueFromProps(this.props,t);return this.getKeys().map((function(r){var o=n[r],i=t?""+e.props.name+(0,m.captialize)(r):e.props.name;return a["default"].createElement("input",{key:r,type:"hidden",name:i,value:o})}))}},{key:"render",value:function(){var e=this,t=this.getComponentClassName(),n=u.getValueFromProps(this.props,this.isMultiValue()),r=u.getPercentagesFromValues(n,this.props.minValue,this.props.maxValue);return a["default"].createElement("div",{"aria-disabled":this.props.disabled,ref:function(t){e.node=t},className:t,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart},a["default"].createElement(l["default"],{classNames:this.props.classNames,formatLabel:this.props.formatLabel,type:"min"},this.props.minValue),a["default"].createElement(h["default"],{classNames:this.props.classNames,draggableTrack:this.props.draggableTrack,ref:function(t){e.trackNode=t},percentages:r,onTrackDrag:this.handleTrackDrag,onTrackMouseDown:this.handleTrackMouseDown},this.renderSliders()),a["default"].createElement(l["default"],{classNames:this.props.classNames,formatLabel:this.props.formatLabel,type:"max"},this.props.maxValue),this.renderHiddenInputs())}}]),t}(a["default"].Component)).prototype,"handleSliderDrag",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleSliderDrag"),r.prototype),b(r.prototype,"handleTrackDrag",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTrackDrag"),r.prototype),b(r.prototype,"handleSliderKeyDown",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleSliderKeyDown"),r.prototype),b(r.prototype,"handleTrackMouseDown",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTrackMouseDown"),r.prototype),b(r.prototype,"handleInteractionStart",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleInteractionStart"),r.prototype),b(r.prototype,"handleInteractionEnd",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleInteractionEnd"),r.prototype),b(r.prototype,"handleKeyDown",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleKeyDown"),r.prototype),b(r.prototype,"handleKeyUp",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleKeyUp"),r.prototype),b(r.prototype,"handleMouseDown",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseDown"),r.prototype),b(r.prototype,"handleMouseUp",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseUp"),r.prototype),b(r.prototype,"handleTouchStart",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchStart"),r.prototype),b(r.prototype,"handleTouchEnd",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchEnd"),r.prototype),r);t["default"]=y,e.exports=t["default"]},878:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.DOWN_ARROW=40,t.LEFT_ARROW=37,t.RIGHT_ARROW=39,t.UP_ARROW=38},191:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var r=a(n(804)),o=a(n(697));function a(e){return e&&e.__esModule?e:{"default":e}}function i(e){var t=e.formatLabel?e.formatLabel(e.children,e.type):e.children;return r["default"].createElement("span",{className:e.classNames[e.type+"Label"]},r["default"].createElement("span",{className:e.classNames.labelContainer},t))}i.propTypes={children:o["default"].node.isRequired,classNames:o["default"].objectOf(o["default"].string).isRequired,formatLabel:o["default"].func,type:o["default"].string.isRequired},e.exports=t["default"]},807:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e){var t=e.maxValue,n=e.minValue;if(!(0,r.isNumber)(n)||!(0,r.isNumber)(t))return new Error('"minValue" and "maxValue" must be a number');if(n>=t)return new Error('"minValue" must be smaller than "maxValue"')};var r=n(302);e.exports=t["default"]},737:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=undefined;var r,o=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}}(),a=c(n(804)),i=c(n(697)),s=c(n(521)),u=c(n(191));function c(e){return e&&e.__esModule?e:{"default":e}}function l(e,t,n,r,o){var a={};return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),a),o&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(o):void 0,a.initializer=undefined),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}var f=(l((r=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.node=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"propTypes",get:function(){return{ariaLabelledby:i["default"].string,ariaControls:i["default"].string,classNames:i["default"].objectOf(i["default"].string).isRequired,formatLabel:i["default"].func,maxValue:i["default"].number,minValue:i["default"].number,onSliderDrag:i["default"].func.isRequired,onSliderKeyDown:i["default"].func.isRequired,percentage:i["default"].number.isRequired,type:i["default"].string.isRequired,value:i["default"].number.isRequired}}}]),o(t,[{key:"componentWillUnmount",value:function(){this.removeDocumentMouseMoveListener(),this.removeDocumentMouseUpListener(),this.removeDocumentTouchEndListener(),this.removeDocumentTouchMoveListener()}},{key:"getStyle",value:function(){return{position:"absolute",left:100*(this.props.percentage||0)+"%"}}},{key:"addDocumentMouseMoveListener",value:function(){this.removeDocumentMouseMoveListener(),this.node.ownerDocument.addEventListener("mousemove",this.handleMouseMove)}},{key:"addDocumentMouseUpListener",value:function(){this.removeDocumentMouseUpListener(),this.node.ownerDocument.addEventListener("mouseup",this.handleMouseUp)}},{key:"addDocumentTouchMoveListener",value:function(){this.removeDocumentTouchMoveListener(),this.node.ownerDocument.addEventListener("touchmove",this.handleTouchMove)}},{key:"addDocumentTouchEndListener",value:function(){this.removeDocumentTouchEndListener(),this.node.ownerDocument.addEventListener("touchend",this.handleTouchEnd)}},{key:"removeDocumentMouseMoveListener",value:function(){this.node.ownerDocument.removeEventListener("mousemove",this.handleMouseMove)}},{key:"removeDocumentMouseUpListener",value:function(){this.node.ownerDocument.removeEventListener("mouseup",this.handleMouseUp)}},{key:"removeDocumentTouchMoveListener",value:function(){this.node.ownerDocument.removeEventListener("touchmove",this.handleTouchMove)}},{key:"removeDocumentTouchEndListener",value:function(){this.node.ownerDocument.removeEventListener("touchend",this.handleTouchEnd)}},{key:"handleMouseDown",value:function(){this.addDocumentMouseMoveListener(),this.addDocumentMouseUpListener()}},{key:"handleMouseUp",value:function(){this.removeDocumentMouseMoveListener(),this.removeDocumentMouseUpListener()}},{key:"handleMouseMove",value:function(e){this.props.onSliderDrag(e,this.props.type)}},{key:"handleTouchStart",value:function(){this.addDocumentTouchEndListener(),this.addDocumentTouchMoveListener()}},{key:"handleTouchMove",value:function(e){this.props.onSliderDrag(e,this.props.type)}},{key:"handleTouchEnd",value:function(){this.removeDocumentTouchMoveListener(),this.removeDocumentTouchEndListener()}},{key:"handleKeyDown",value:function(e){this.props.onSliderKeyDown(e,this.props.type)}},{key:"render",value:function(){var e=this,t=this.getStyle();return a["default"].createElement("span",{className:this.props.classNames.sliderContainer,ref:function(t){e.node=t},style:t},a["default"].createElement(u["default"],{classNames:this.props.classNames,formatLabel:this.props.formatLabel,type:"value"},this.props.value),a["default"].createElement("div",{"aria-labelledby":this.props.ariaLabelledby,"aria-controls":this.props.ariaControls,"aria-valuemax":this.props.maxValue,"aria-valuemin":this.props.minValue,"aria-valuenow":this.props.value,className:this.props.classNames.slider,draggable:"false",onKeyDown:this.handleKeyDown,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart,role:"slider",tabIndex:"0"}))}}]),t}(a["default"].Component)).prototype,"handleMouseDown",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseDown"),r.prototype),l(r.prototype,"handleMouseUp",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseUp"),r.prototype),l(r.prototype,"handleMouseMove",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseMove"),r.prototype),l(r.prototype,"handleTouchStart",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchStart"),r.prototype),l(r.prototype,"handleTouchMove",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchMove"),r.prototype),l(r.prototype,"handleTouchEnd",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchEnd"),r.prototype),l(r.prototype,"handleKeyDown",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleKeyDown"),r.prototype),r);t["default"]=f,e.exports=t["default"]},752:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=undefined;var r,o=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}}(),a=u(n(804)),i=u(n(697)),s=u(n(521));function u(e){return e&&e.__esModule?e:{"default":e}}function c(e,t,n,r,o){var a={};return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),a),o&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(o):void 0,a.initializer=undefined),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}var l=(c((r=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.node=null,n.trackDragEvent=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"propTypes",get:function(){return{children:i["default"].node.isRequired,classNames:i["default"].objectOf(i["default"].string).isRequired,draggableTrack:i["default"].bool,onTrackDrag:i["default"].func,onTrackMouseDown:i["default"].func.isRequired,percentages:i["default"].objectOf(i["default"].number).isRequired}}}]),o(t,[{key:"getClientRect",value:function(){return this.node.getBoundingClientRect()}},{key:"getActiveTrackStyle",value:function(){var e=100*(this.props.percentages.max-this.props.percentages.min)+"%";return{left:100*this.props.percentages.min+"%",width:e}}},{key:"addDocumentMouseMoveListener",value:function(){this.removeDocumentMouseMoveListener(),this.node.ownerDocument.addEventListener("mousemove",this.handleMouseMove)}},{key:"addDocumentMouseUpListener",value:function(){this.removeDocumentMouseUpListener(),this.node.ownerDocument.addEventListener("mouseup",this.handleMouseUp)}},{key:"removeDocumentMouseMoveListener",value:function(){this.node.ownerDocument.removeEventListener("mousemove",this.handleMouseMove)}},{key:"removeDocumentMouseUpListener",value:function(){this.node.ownerDocument.removeEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseMove",value:function(e){this.props.draggableTrack&&(null!==this.trackDragEvent&&this.props.onTrackDrag(e,this.trackDragEvent),this.trackDragEvent=e)}},{key:"handleMouseUp",value:function(){this.props.draggableTrack&&(this.removeDocumentMouseMoveListener(),this.removeDocumentMouseUpListener(),this.trackDragEvent=null)}},{key:"handleMouseDown",value:function(e){var t={x:(e.touches?e.touches[0].clientX:e.clientX)-this.getClientRect().left,y:0};this.props.onTrackMouseDown(e,t),this.props.draggableTrack&&(this.addDocumentMouseMoveListener(),this.addDocumentMouseUpListener())}},{key:"handleTouchStart",value:function(e){e.preventDefault(),this.handleMouseDown(e)}},{key:"render",value:function(){var e=this,t=this.getActiveTrackStyle();return a["default"].createElement("div",{className:this.props.classNames.track,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart,ref:function(t){e.node=t}},a["default"].createElement("div",{style:t,className:this.props.classNames.activeTrack}),this.props.children)}}]),t}(a["default"].Component)).prototype,"handleMouseMove",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseMove"),r.prototype),c(r.prototype,"handleMouseUp",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseUp"),r.prototype),c(r.prototype,"handleMouseDown",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseDown"),r.prototype),c(r.prototype,"handleTouchStart",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchStart"),r.prototype),r);t["default"]=l,e.exports=t["default"]},97:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e,t){var n=e.maxValue,o=e.minValue,a=e[t];if(!((0,r.isNumber)(a)||(0,r.isObject)(a)&&(0,r.isNumber)(a.min)&&(0,r.isNumber)(a.max)))return new Error('"'+t+'" must be a number or a range object');if((0,r.isNumber)(a)&&(a<o||a>n))return new Error('"'+t+'" must be in between "minValue" and "maxValue"');if((0,r.isObject)(a)&&(a.min<o||a.min>n||a.max<o||a.max>n))return new Error('"'+t+'" must be in between "minValue" and "maxValue"')};var r=n(302);e.exports=t["default"]},232:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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};t.getPercentageFromPosition=a,t.getValueFromPosition=function(e,t,n,r){var o=a(e,r);return t+(n-t)*o},t.getValueFromProps=function(e,t){if(t)return r({},e.value);return{min:e.minValue,max:e.value}},t.getPercentageFromValue=i,t.getPercentagesFromValues=function(e,t,n){return{min:i(e.min,t,n),max:i(e.max,t,n)}},t.getPositionFromValue=s,t.getPositionsFromValues=function(e,t,n,r){return{min:s(e.min,t,n,r),max:s(e.max,t,n,r)}},t.getPositionFromEvent=function(e,t){var n=t.width,r=(e.touches?e.touches[0]:e).clientX;return{x:(0,o.clamp)(r-t.left,0,n),y:0}},t.getStepValueFromValue=function(e,t){return Math.round(e/t)*t};var o=n(302);function a(e,t){var n=t.width;return e.x/n||0}function i(e,t,n){return((0,o.clamp)(e,t,n)-t)/(n-t)||0}function s(e,t,n,r){var o=r.width;return{x:i(e,t,n)*o,y:0}}},939:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},e.exports=t["default"]},426:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e,t,n){return Math.min(Math.max(e,t),n)},e.exports=t["default"]},588:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e,t){var n=Math.pow(t.x-e.x,2),r=Math.pow(t.y-e.y,2);return Math.sqrt(n+r)},e.exports=t["default"]},302:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(939);Object.defineProperty(t,"captialize",{enumerable:!0,get:function(){return l(r)["default"]}});var o=n(426);Object.defineProperty(t,"clamp",{enumerable:!0,get:function(){return l(o)["default"]}});var a=n(588);Object.defineProperty(t,"distanceTo",{enumerable:!0,get:function(){return l(a)["default"]}});var i=n(330);Object.defineProperty(t,"isDefined",{enumerable:!0,get:function(){return l(i)["default"]}});var s=n(49);Object.defineProperty(t,"isNumber",{enumerable:!0,get:function(){return l(s)["default"]}});var u=n(344);Object.defineProperty(t,"isObject",{enumerable:!0,get:function(){return l(u)["default"]}});var c=n(359);function l(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"length",{enumerable:!0,get:function(){return l(c)["default"]}})},330:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e){return e!==undefined&&null!==e},e.exports=t["default"]},49:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e){return"number"==typeof e},e.exports=t["default"]},344:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="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};t["default"]=function(e){return null!==e&&"object"===(void 0===e?"undefined":n(e))},e.exports=t["default"]},359:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e,t){return Math.abs(e-t)},e.exports=t["default"]},555:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=9)}([function(e,t){e.exports=n(804)},function(e,t,n){var r;
|
8 |
/*!
|
9 |
Copyright (c) 2017 Jed Watson.
|
10 |
Licensed under the MIT License (MIT), see
|
11 |
http://jedwatson.github.io/classnames
|
12 |
-
*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)&&r.length){var i=o.apply(null,r);i&&e.push(i)}else if("object"===a)for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}e.exports?(o["default"]=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){(function(t){var n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,i=parseInt,s="object"==typeof t&&t&&t.Object===Object&&t,u="object"==typeof self&&self&&self.Object===Object&&self,c=s||u||Function("return this")(),l=Object.prototype.toString,f=c.Symbol,d=f?f.prototype:void 0,p=d?d.toString:void 0;function h(e){if("string"==typeof e)return e;if(g(e))return p?p.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==l.call(e)}function v(e){return e?(e=function(e){if("number"==typeof e)return e;if(g(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var s=o.test(e);return s||a.test(e)?i(e.slice(2),s?2:8):r.test(e)?NaN:+e}(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}e.exports=function(e,t,n){var r,o,a;return e=null==(r=e)?"":h(r),o=function(e){var t=v(e),n=t%1;return t==t?n?t-n:t:0}(n),0,a=e.length,o==o&&(void 0!==a&&(o=o<=a?o:a),o=o>=0?o:0),n=o,t=h(t),e.slice(n,n+t.length)==t}}).call(this,n(3))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){(function(t){var n,r=/^\[object .+?Constructor\]$/,o="object"==typeof t&&t&&t.Object===Object&&t,a="object"==typeof self&&self&&self.Object===Object&&self,i=o||a||Function("return this")(),s=Array.prototype,u=Function.prototype,c=Object.prototype,l=i["__core-js_shared__"],f=(n=/[^.]+$/.exec(l&&l.keys&&l.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",d=u.toString,p=c.hasOwnProperty,h=c.toString,m=RegExp("^"+d.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),g=s.splice,v=k(i,"Map"),b=k(Object,"create");function y(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function w(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function C(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function O(e,t){for(var n,r,o=e.length;o--;)if((n=e[o][0])===(r=t)||n!=n&&r!=r)return o;return-1}function x(e){return!(!E(e)||(t=e,f&&f in t))&&(function(e){var t=E(e)?h.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?m:r).test(function(e){if(null!=e){try{return d.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}function D(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function k(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return x(n)?n:void 0}function S(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i),i};return n.cache=new(S.Cache||C),n}function E(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}y.prototype.clear=function(){this.__data__=b?b(null):{}},y.prototype["delete"]=function(e){return this.has(e)&&delete this.__data__[e]},y.prototype.get=function(e){var t=this.__data__;if(b){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return p.call(t,e)?t[e]:void 0},y.prototype.has=function(e){var t=this.__data__;return b?void 0!==t[e]:p.call(t,e)},y.prototype.set=function(e,t){return this.__data__[e]=b&&void 0===t?"__lodash_hash_undefined__":t,this},w.prototype.clear=function(){this.__data__=[]},w.prototype["delete"]=function(e){var t=this.__data__,n=O(t,e);return!(n<0||(n==t.length-1?t.pop():g.call(t,n,1),0))},w.prototype.get=function(e){var t=this.__data__,n=O(t,e);return n<0?void 0:t[n][1]},w.prototype.has=function(e){return O(this.__data__,e)>-1},w.prototype.set=function(e,t){var n=this.__data__,r=O(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},C.prototype.clear=function(){this.__data__={hash:new y,map:new(v||w),string:new y}},C.prototype["delete"]=function(e){return D(this,e)["delete"](e)},C.prototype.get=function(e){return D(this,e).get(e)},C.prototype.has=function(e){return D(this,e).has(e)},C.prototype.set=function(e,t){return D(this,e).set(e,t),this},S.Cache=C,e.exports=S}).call(this,n(3))},function(e,t,n){(function(t){var n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,i=parseInt,s="object"==typeof t&&t&&t.Object===Object&&t,u="object"==typeof self&&self&&self.Object===Object&&self,c=s||u||Function("return this")(),l=Object.prototype.toString,f=Math.max,d=Math.min,p=function(){return c.Date.now()};function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function m(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==l.call(e)}(e))return NaN;if(h(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=h(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var s=o.test(e);return s||a.test(e)?i(e.slice(2),s?2:8):r.test(e)?NaN:+e}e.exports=function(e,t,n){var r,o,a,i,s,u,c=0,l=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var n=r,a=o;return r=o=void 0,c=t,i=e.apply(a,n)}function y(e){return c=e,s=setTimeout(C,t),l?b(e):i}function w(e){var n=e-u;return void 0===u||n>=t||n<0||g&&e-c>=a}function C(){var e=p();if(w(e))return O(e);s=setTimeout(C,function(e){var n=t-(e-u);return g?d(n,a-(e-c)):n}(e))}function O(e){return s=void 0,v&&r?b(e):(r=o=void 0,i)}function x(){var e=p(),n=w(e);if(r=arguments,o=this,u=e,n){if(void 0===s)return y(u);if(g)return s=setTimeout(C,t),b(u)}return void 0===s&&(s=setTimeout(C,t)),i}return t=m(t)||0,h(n)&&(l=!!n.leading,a=(g="maxWait"in n)?f(m(n.maxWait)||0,t):a,v="trailing"in n?!!n.trailing:v),x.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=u=o=s=void 0},x.flush=function(){return void 0===s?i:O(p())},x}}).call(this,n(3))},function(e,t,n){(function(e,n){var r="[object Arguments]",o="[object Map]",a="[object Object]",i="[object Set]",s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/,c=/^\./,l=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f=/\\(\\)?/g,d=/^\[object .+?Constructor\]$/,p=/^(?:0|[1-9]\d*)$/,h={};h["[object Float32Array]"]=h["[object Float64Array]"]=h["[object Int8Array]"]=h["[object Int16Array]"]=h["[object Int32Array]"]=h["[object Uint8Array]"]=h["[object Uint8ClampedArray]"]=h["[object Uint16Array]"]=h["[object Uint32Array]"]=!0,h[r]=h["[object Array]"]=h["[object ArrayBuffer]"]=h["[object Boolean]"]=h["[object DataView]"]=h["[object Date]"]=h["[object Error]"]=h["[object Function]"]=h[o]=h["[object Number]"]=h[a]=h["[object RegExp]"]=h[i]=h["[object String]"]=h["[object WeakMap]"]=!1;var m="object"==typeof e&&e&&e.Object===Object&&e,g="object"==typeof self&&self&&self.Object===Object&&self,v=m||g||Function("return this")(),b=t&&!t.nodeType&&t,y=b&&"object"==typeof n&&n&&!n.nodeType&&n,w=y&&y.exports===b&&m.process,C=function(){try{return w&&w.binding("util")}catch(e){}}(),O=C&&C.isTypedArray;function x(e,t,n,r){var o=-1,a=e?e.length:0;for(r&&a&&(n=e[++o]);++o<a;)n=t(n,e[o],o,e);return n}function D(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function k(e,t,n,r,o){return o(e,(function(e,o,a){n=r?(r=!1,e):t(n,e,o,a)})),n}function S(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function E(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function M(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var _,P,j,T=Array.prototype,A=Function.prototype,I=Object.prototype,R=v["__core-js_shared__"],N=(_=/[^.]+$/.exec(R&&R.keys&&R.keys.IE_PROTO||""))?"Symbol(src)_1."+_:"",L=A.toString,V=I.hasOwnProperty,F=I.toString,H=RegExp("^"+L.call(V).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),U=v.Symbol,W=v.Uint8Array,z=I.propertyIsEnumerable,B=T.splice,Y=(P=Object.keys,j=Object,function(e){return P(j(e))}),q=Oe(v,"DataView"),K=Oe(v,"Map"),$=Oe(v,"Promise"),G=Oe(v,"Set"),J=Oe(v,"WeakMap"),Q=Oe(Object,"create"),X=Pe(q),Z=Pe(K),ee=Pe($),te=Pe(G),ne=Pe(J),re=U?U.prototype:void 0,oe=re?re.valueOf:void 0,ae=re?re.toString:void 0;function ie(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function se(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ue(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ce(e){var t=-1,n=e?e.length:0;for(this.__data__=new ue;++t<n;)this.add(e[t])}function le(e){this.__data__=new se(e)}function fe(e,t){for(var n=e.length;n--;)if(Te(e[n][0],t))return n;return-1}ie.prototype.clear=function(){this.__data__=Q?Q(null):{}},ie.prototype["delete"]=function(e){return this.has(e)&&delete this.__data__[e]},ie.prototype.get=function(e){var t=this.__data__;if(Q){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return V.call(t,e)?t[e]:void 0},ie.prototype.has=function(e){var t=this.__data__;return Q?void 0!==t[e]:V.call(t,e)},ie.prototype.set=function(e,t){return this.__data__[e]=Q&&void 0===t?"__lodash_hash_undefined__":t,this},se.prototype.clear=function(){this.__data__=[]},se.prototype["delete"]=function(e){var t=this.__data__,n=fe(t,e);return!(n<0||(n==t.length-1?t.pop():B.call(t,n,1),0))},se.prototype.get=function(e){var t=this.__data__,n=fe(t,e);return n<0?void 0:t[n][1]},se.prototype.has=function(e){return fe(this.__data__,e)>-1},se.prototype.set=function(e,t){var n=this.__data__,r=fe(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},ue.prototype.clear=function(){this.__data__={hash:new ie,map:new(K||se),string:new ie}},ue.prototype["delete"]=function(e){return Ce(this,e)["delete"](e)},ue.prototype.get=function(e){return Ce(this,e).get(e)},ue.prototype.has=function(e){return Ce(this,e).has(e)},ue.prototype.set=function(e,t){return Ce(this,e).set(e,t),this},ce.prototype.add=ce.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},ce.prototype.has=function(e){return this.__data__.has(e)},le.prototype.clear=function(){this.__data__=new se},le.prototype["delete"]=function(e){return this.__data__["delete"](e)},le.prototype.get=function(e){return this.__data__.get(e)},le.prototype.has=function(e){return this.__data__.has(e)},le.prototype.set=function(e,t){var n=this.__data__;if(n instanceof se){var r=n.__data__;if(!K||r.length<199)return r.push([e,t]),this;n=this.__data__=new ue(r)}return n.set(e,t),this};var de,pe=(de=function(e,t){return e&&he(e,t,We)},function(e,t){if(null==e)return e;if(!Re(e))return de(e,t);for(var n=e.length,r=-1,o=Object(e);++r<n&&!1!==t(o[r],r,o););return e}),he=function(e,t,n){for(var r=-1,o=Object(e),a=n(e),i=a.length;i--;){var s=a[++r];if(!1===t(o[s],s,o))break}return e};function me(e,t){for(var n=0,r=(t=ke(t,e)?[t]:ye(t)).length;null!=e&&n<r;)e=e[_e(t[n++])];return n&&n==r?e:void 0}function ge(e,t){return null!=e&&t in Object(e)}function ve(e,t,n,s,u){return e===t||(null==e||null==t||!Ve(e)&&!Fe(t)?e!=e&&t!=t:function(e,t,n,s,u,c){var l=Ie(e),f=Ie(t),d="[object Array]",p="[object Array]";l||(d=(d=xe(e))==r?a:d),f||(p=(p=xe(t))==r?a:p);var h=d==a&&!S(e),m=p==a&&!S(t),g=d==p;if(g&&!h)return c||(c=new le),l||Ue(e)?we(e,t,n,s,u,c):function(e,t,n,r,a,s,u){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!r(new W(e),new W(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Te(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case o:var c=E;case i:var l=2&s;if(c||(c=M),e.size!=t.size&&!l)return!1;var f=u.get(e);if(f)return f==t;s|=1,u.set(e,t);var d=we(c(e),c(t),r,a,s,u);return u["delete"](e),d;case"[object Symbol]":if(oe)return oe.call(e)==oe.call(t)}return!1}(e,t,d,n,s,u,c);if(!(2&u)){var v=h&&V.call(e,"__wrapped__"),b=m&&V.call(t,"__wrapped__");if(v||b){var y=v?e.value():e,w=b?t.value():t;return c||(c=new le),n(y,w,s,u,c)}}return!!g&&(c||(c=new le),function(e,t,n,r,o,a){var i=2&o,s=We(e),u=s.length;if(u!=We(t).length&&!i)return!1;for(var c=u;c--;){var l=s[c];if(!(i?l in t:V.call(t,l)))return!1}var f=a.get(e);if(f&&a.get(t))return f==t;var d=!0;a.set(e,t),a.set(t,e);for(var p=i;++c<u;){var h=e[l=s[c]],m=t[l];if(r)var g=i?r(m,h,l,t,e,a):r(h,m,l,e,t,a);if(!(void 0===g?h===m||n(h,m,r,o,a):g)){d=!1;break}p||(p="constructor"==l)}if(d&&!p){var v=e.constructor,b=t.constructor;v==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b||(d=!1)}return a["delete"](e),a["delete"](t),d}(e,t,n,s,u,c))}(e,t,ve,n,s,u))}function be(e){return"function"==typeof e?e:null==e?ze:"object"==typeof e?Ie(e)?function(e,t){return ke(e)&&Se(t)?Ee(_e(e),t):function(n){var r=function(e,t,n){var r=null==e?void 0:me(e,t);return void 0===r?void 0:r}(n,e);return void 0===r&&r===t?function(e,t){return null!=e&&function(e,t,n){for(var r,o=-1,a=(t=ke(t,e)?[t]:ye(t)).length;++o<a;){var i=_e(t[o]);if(!(r=null!=e&&n(e,i)))break;e=e[i]}return r||!!(a=e?e.length:0)&&Le(a)&&De(i,a)&&(Ie(e)||Ae(e))}(e,t,ge)}(n,e):ve(t,r,void 0,3)}}(e[0],e[1]):function(e){var t=function(e){for(var t=We(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Se(o)]}return t}(e);return 1==t.length&&t[0][2]?Ee(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,r){var o=n.length,a=o;if(null==e)return!a;for(e=Object(e);o--;){var i=n[o];if(i[2]?i[1]!==e[i[0]]:!(i[0]in e))return!1}for(;++o<a;){var s=(i=n[o])[0],u=e[s],c=i[1];if(i[2]){if(void 0===u&&!(s in e))return!1}else{var l,f=new le;if(!(void 0===l?ve(c,u,r,3,f):l))return!1}}return!0}(n,0,t)}}(e):ke(t=e)?(n=_e(t),function(e){return null==e?void 0:e[n]}):function(e){return function(t){return me(t,e)}}(t);var t,n}function ye(e){return Ie(e)?e:Me(e)}function we(e,t,n,r,o,a){var i=2&o,s=e.length,u=t.length;if(s!=u&&!(i&&u>s))return!1;var c=a.get(e);if(c&&a.get(t))return c==t;var l=-1,f=!0,d=1&o?new ce:void 0;for(a.set(e,t),a.set(t,e);++l<s;){var p=e[l],h=t[l];if(r)var m=i?r(h,p,l,t,e,a):r(p,h,l,e,t,a);if(void 0!==m){if(m)continue;f=!1;break}if(d){if(!D(t,(function(e,t){if(!d.has(t)&&(p===e||n(p,e,r,o,a)))return d.add(t)}))){f=!1;break}}else if(p!==h&&!n(p,h,r,o,a)){f=!1;break}}return a["delete"](e),a["delete"](t),f}function Ce(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function Oe(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Ve(e)||function(e){return!!N&&N in e}(e))&&(Ne(e)||S(e)?H:d).test(Pe(e))}(n)?n:void 0}var xe=function(e){return F.call(e)};function De(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||p.test(e))&&e>-1&&e%1==0&&e<t}function ke(e,t){if(Ie(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!He(e))||u.test(e)||!s.test(e)||null!=t&&e in Object(t)}function Se(e){return e==e&&!Ve(e)}function Ee(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}(q&&"[object DataView]"!=xe(new q(new ArrayBuffer(1)))||K&&xe(new K)!=o||$&&"[object Promise]"!=xe($.resolve())||G&&xe(new G)!=i||J&&"[object WeakMap]"!=xe(new J))&&(xe=function(e){var t=F.call(e),n=t==a?e.constructor:void 0,r=n?Pe(n):void 0;if(r)switch(r){case X:return"[object DataView]";case Z:return o;case ee:return"[object Promise]";case te:return i;case ne:return"[object WeakMap]"}return t});var Me=je((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(He(e))return ae?ae.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return c.test(e)&&n.push(""),e.replace(l,(function(e,t,r,o){n.push(r?o.replace(f,"$1"):t||e)})),n}));function _e(e){if("string"==typeof e||He(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Pe(e){if(null!=e){try{return L.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function je(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i),i};return n.cache=new(je.Cache||ue),n}function Te(e,t){return e===t||e!=e&&t!=t}function Ae(e){return function(e){return Fe(e)&&Re(e)}(e)&&V.call(e,"callee")&&(!z.call(e,"callee")||F.call(e)==r)}je.Cache=ue;var Ie=Array.isArray;function Re(e){return null!=e&&Le(e.length)&&!Ne(e)}function Ne(e){var t=Ve(e)?F.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function Le(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Ve(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Fe(e){return!!e&&"object"==typeof e}function He(e){return"symbol"==typeof e||Fe(e)&&"[object Symbol]"==F.call(e)}var Ue=O?function(e){return function(t){return e(t)}}(O):function(e){return Fe(e)&&Le(e.length)&&!!h[F.call(e)]};function We(e){return Re(e)?function(e,t){var n=Ie(e)||Ae(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,o=!!r;for(var a in e)!t&&!V.call(e,a)||o&&("length"==a||De(a,r))||n.push(a);return n}(e):function(e){if(n=(t=e)&&t.constructor,t!==("function"==typeof n&&n.prototype||I))return Y(e);var t,n,r=[];for(var o in Object(e))V.call(e,o)&&"constructor"!=o&&r.push(o);return r}(e)}function ze(e){return e}n.exports=function(e,t,n){var r=Ie(e)?x:k,o=arguments.length<3;return r(e,be(t),n,o,pe)}}).call(this,n(3),n(7)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){String.prototype.padEnd||(String.prototype.padEnd=function(e,t){return e>>=0,t=String(void 0!==t?t:" "),this.length>e?String(this):((e-=this.length)>t.length&&(t+=t.repeat(e/t.length)),String(this)+t.slice(0,e))})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function a(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||o(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function i(e){if(Array.isArray(e))return e}function s(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 l(e){return(l="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 f(e){return(f="function"==typeof Symbol&&"symbol"===l(Symbol.iterator)?function(e){return l(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":l(e)})(e)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n.r(t);var m=n(0),g=n.n(m),v=n(5),b=n.n(v),y=n(4),w=n.n(y),C=n(6),O=n.n(C),x=n(2),D=n.n(x),k=n(1),S=n.n(k);function E(e,t){return i(e)||function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==s["return"]||s["return"]()}finally{if(o)throw a}}return n}(e,t)||s()}n(8);var M=[["Afghanistan",["asia"],"af","93"],["Albania",["europe"],"al","355"],["Algeria",["africa","north-africa"],"dz","213"],["Andorra",["europe"],"ad","376"],["Angola",["africa"],"ao","244"],["Antigua and Barbuda",["america","carribean"],"ag","1268"],["Argentina",["america","south-america"],"ar","54","(..) ........",0,["11","221","223","261","264","2652","280","2905","291","2920","2966","299","341","342","343","351","376","379","381","3833","385","387","388"]],["Armenia",["asia","ex-ussr"],"am","374"],["Aruba",["america","carribean"],"aw","297"],["Australia",["oceania"],"au","61","(..) .... ....",0,["2","3","4","7","8","02","03","04","07","08"]],["Austria",["europe","eu-union"],"at","43"],["Azerbaijan",["asia","ex-ussr"],"az","994","(..) ... .. .."],["Bahamas",["america","carribean"],"bs","1242"],["Bahrain",["middle-east"],"bh","973"],["Bangladesh",["asia"],"bd","880"],["Barbados",["america","carribean"],"bb","1246"],["Belarus",["europe","ex-ussr"],"by","375","(..) ... .. .."],["Belgium",["europe","eu-union"],"be","32","... .. .. .."],["Belize",["america","central-america"],"bz","501"],["Benin",["africa"],"bj","229"],["Bhutan",["asia"],"bt","975"],["Bolivia",["america","south-america"],"bo","591"],["Bosnia and Herzegovina",["europe","ex-yugos"],"ba","387"],["Botswana",["africa"],"bw","267"],["Brazil",["america","south-america"],"br","55","(..) ........."],["British Indian Ocean Territory",["asia"],"io","246"],["Brunei",["asia"],"bn","673"],["Bulgaria",["europe","eu-union"],"bg","359"],["Burkina Faso",["africa"],"bf","226"],["Burundi",["africa"],"bi","257"],["Cambodia",["asia"],"kh","855"],["Cameroon",["africa"],"cm","237"],["Canada",["america","north-america"],"ca","1","(...) ...-....",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde",["africa"],"cv","238"],["Caribbean Netherlands",["america","carribean"],"bq","599","",1],["Central African Republic",["africa"],"cf","236"],["Chad",["africa"],"td","235"],["Chile",["america","south-america"],"cl","56"],["China",["asia"],"cn","86","..-........."],["Colombia",["america","south-america"],"co","57","... ... ...."],["Comoros",["africa"],"km","269"],["Congo",["africa"],"cd","243"],["Congo",["africa"],"cg","242"],["Costa Rica",["america","central-america"],"cr","506","....-...."],["Côte d’Ivoire",["africa"],"ci","225",".. .. .. .."],["Croatia",["europe","eu-union","ex-yugos"],"hr","385"],["Cuba",["america","carribean"],"cu","53"],["Curaçao",["america","carribean"],"cw","599","",0],["Cyprus",["europe","eu-union"],"cy","357",".. ......"],["Czech Republic",["europe","eu-union"],"cz","420"],["Denmark",["europe","eu-union","baltic"],"dk","45",".. .. .. .."],["Djibouti",["africa"],"dj","253"],["Dominica",["america","carribean"],"dm","1767"],["Dominican Republic",["america","carribean"],"do","1","",2,["809","829","849"]],["Ecuador",["america","south-america"],"ec","593"],["Egypt",["africa","north-africa"],"eg","20"],["El Salvador",["america","central-america"],"sv","503","....-...."],["Equatorial Guinea",["africa"],"gq","240"],["Eritrea",["africa"],"er","291"],["Estonia",["europe","eu-union","ex-ussr","baltic"],"ee","372",".... ......"],["Ethiopia",["africa"],"et","251"],["Fiji",["oceania"],"fj","679"],["Finland",["europe","eu-union","baltic"],"fi","358",".. ... .. .."],["France",["europe","eu-union"],"fr","33",". .. .. .. .."],["French Guiana",["america","south-america"],"gf","594"],["French Polynesia",["oceania"],"pf","689"],["Gabon",["africa"],"ga","241"],["Gambia",["africa"],"gm","220"],["Georgia",["asia","ex-ussr"],"ge","995"],["Germany",["europe","eu-union","baltic"],"de","49",".... ........"],["Ghana",["africa"],"gh","233"],["Greece",["europe","eu-union"],"gr","30"],["Grenada",["america","carribean"],"gd","1473"],["Guadeloupe",["america","carribean"],"gp","590","",0],["Guam",["oceania"],"gu","1671"],["Guatemala",["america","central-america"],"gt","502","....-...."],["Guinea",["africa"],"gn","224"],["Guinea-Bissau",["africa"],"gw","245"],["Guyana",["america","south-america"],"gy","592"],["Haiti",["america","carribean"],"ht","509","....-...."],["Honduras",["america","central-america"],"hn","504"],["Hong Kong",["asia"],"hk","852",".... ...."],["Hungary",["europe","eu-union"],"hu","36"],["Iceland",["europe"],"is","354","... ...."],["India",["asia"],"in","91",".....-....."],["Indonesia",["asia"],"id","62"],["Iran",["middle-east"],"ir","98","... ... ...."],["Iraq",["middle-east"],"iq","964"],["Ireland",["europe","eu-union"],"ie","353",".. ......."],["Israel",["middle-east"],"il","972","... ... ...."],["Italy",["europe","eu-union"],"it","39","... .......",0],["Jamaica",["america","carribean"],"jm","1876"],["Japan",["asia"],"jp","81",".. .... ...."],["Jordan",["middle-east"],"jo","962"],["Kazakhstan",["asia","ex-ussr"],"kz","7","... ...-..-..",1,["310","311","312","313","315","318","321","324","325","326","327","336","7172","73622"]],["Kenya",["africa"],"ke","254"],["Kiribati",["oceania"],"ki","686"],["Kosovo",["europe","ex-yugos"],"xk","383"],["Kuwait",["middle-east"],"kw","965"],["Kyrgyzstan",["asia","ex-ussr"],"kg","996"],["Laos",["asia"],"la","856"],["Latvia",["europe","eu-union","ex-ussr","baltic"],"lv","371"],["Lebanon",["middle-east"],"lb","961"],["Lesotho",["africa"],"ls","266"],["Liberia",["africa"],"lr","231"],["Libya",["africa","north-africa"],"ly","218"],["Liechtenstein",["europe"],"li","423"],["Lithuania",["europe","eu-union","ex-ussr","baltic"],"lt","370"],["Luxembourg",["europe","eu-union"],"lu","352"],["Macau",["asia"],"mo","853"],["Macedonia",["europe","ex-yugos"],"mk","389"],["Madagascar",["africa"],"mg","261"],["Malawi",["africa"],"mw","265"],["Malaysia",["asia"],"my","60","..-....-...."],["Maldives",["asia"],"mv","960"],["Mali",["africa"],"ml","223"],["Malta",["europe","eu-union"],"mt","356"],["Marshall Islands",["oceania"],"mh","692"],["Martinique",["america","carribean"],"mq","596"],["Mauritania",["africa"],"mr","222"],["Mauritius",["africa"],"mu","230"],["Mexico",["america","central-america"],"mx","52","... ... ....",0,["55","81","33","656","664","998","774","229"]],["Micronesia",["oceania"],"fm","691"],["Moldova",["europe"],"md","373","(..) ..-..-.."],["Monaco",["europe"],"mc","377"],["Mongolia",["asia"],"mn","976"],["Montenegro",["europe","ex-yugos"],"me","382"],["Morocco",["africa","north-africa"],"ma","212"],["Mozambique",["africa"],"mz","258"],["Myanmar",["asia"],"mm","95"],["Namibia",["africa"],"na","264"],["Nauru",["africa"],"nr","674"],["Nepal",["asia"],"np","977"],["Netherlands",["europe","eu-union"],"nl","31",".. ........"],["New Caledonia",["oceania"],"nc","687"],["New Zealand",["oceania"],"nz","64","...-...-...."],["Nicaragua",["america","central-america"],"ni","505"],["Niger",["africa"],"ne","227"],["Nigeria",["africa"],"ng","234"],["North Korea",["asia"],"kp","850"],["Norway",["europe","baltic"],"no","47","... .. ..."],["Oman",["middle-east"],"om","968"],["Pakistan",["asia"],"pk","92","...-......."],["Palau",["oceania"],"pw","680"],["Palestine",["middle-east"],"ps","970"],["Panama",["america","central-america"],"pa","507"],["Papua New Guinea",["oceania"],"pg","675"],["Paraguay",["america","south-america"],"py","595"],["Peru",["america","south-america"],"pe","51"],["Philippines",["asia"],"ph","63",".... ......."],["Poland",["europe","eu-union","baltic"],"pl","48","...-...-..."],["Portugal",["europe","eu-union"],"pt","351"],["Puerto Rico",["america","carribean"],"pr","1","",3,["787","939"]],["Qatar",["middle-east"],"qa","974"],["Réunion",["africa"],"re","262"],["Romania",["europe","eu-union"],"ro","40"],["Russia",["europe","asia","ex-ussr","baltic"],"ru","7","(...) ...-..-..",0],["Rwanda",["africa"],"rw","250"],["Saint Kitts and Nevis",["america","carribean"],"kn","1869"],["Saint Lucia",["america","carribean"],"lc","1758"],["Saint Vincent and the Grenadines",["america","carribean"],"vc","1784"],["Samoa",["oceania"],"ws","685"],["San Marino",["europe"],"sm","378"],["São Tomé and Príncipe",["africa"],"st","239"],["Saudi Arabia",["middle-east"],"sa","966"],["Senegal",["africa"],"sn","221"],["Serbia",["europe","ex-yugos"],"rs","381"],["Seychelles",["africa"],"sc","248"],["Sierra Leone",["africa"],"sl","232"],["Singapore",["asia"],"sg","65","....-...."],["Slovakia",["europe","eu-union"],"sk","421"],["Slovenia",["europe","eu-union","ex-yugos"],"si","386"],["Solomon Islands",["oceania"],"sb","677"],["Somalia",["africa"],"so","252"],["South Africa",["africa"],"za","27"],["South Korea",["asia"],"kr","82","... .... ...."],["South Sudan",["africa","north-africa"],"ss","211"],["Spain",["europe","eu-union"],"es","34","... ... ..."],["Sri Lanka",["asia"],"lk","94"],["Sudan",["africa"],"sd","249"],["Suriname",["america","south-america"],"sr","597"],["Swaziland",["africa"],"sz","268"],["Sweden",["europe","eu-union","baltic"],"se","46","(...) ...-..."],["Switzerland",["europe"],"ch","41",".. ... .. .."],["Syria",["middle-east"],"sy","963"],["Taiwan",["asia"],"tw","886"],["Tajikistan",["asia","ex-ussr"],"tj","992"],["Tanzania",["africa"],"tz","255"],["Thailand",["asia"],"th","66"],["Timor-Leste",["asia"],"tl","670"],["Togo",["africa"],"tg","228"],["Tonga",["oceania"],"to","676"],["Trinidad and Tobago",["america","carribean"],"tt","1868"],["Tunisia",["africa","north-africa"],"tn","216"],["Turkey",["europe"],"tr","90","... ... .. .."],["Turkmenistan",["asia","ex-ussr"],"tm","993"],["Tuvalu",["asia"],"tv","688"],["Uganda",["africa"],"ug","256"],["Ukraine",["europe","ex-ussr"],"ua","380","(..) ... .. .."],["United Arab Emirates",["middle-east"],"ae","971"],["United Kingdom",["europe","eu-union"],"gb","44",".... ......"],["United States",["america","north-america"],"us","1","(...) ...-....",0,["907","205","251","256","334","479","501","870","480","520","602","623","928","209","213","310","323","408","415","510","530","559","562","619","626","650","661","707","714","760","805","818","831","858","909","916","925","949","951","303","719","970","203","860","202","302","239","305","321","352","386","407","561","727","772","813","850","863","904","941","954","229","404","478","706","770","912","808","319","515","563","641","712","208","217","309","312","618","630","708","773","815","847","219","260","317","574","765","812","316","620","785","913","270","502","606","859","225","318","337","504","985","413","508","617","781","978","301","410","207","231","248","269","313","517","586","616","734","810","906","989","218","320","507","612","651","763","952","314","417","573","636","660","816","228","601","662","406","252","336","704","828","910","919","701","308","402","603","201","609","732","856","908","973","505","575","702","775","212","315","516","518","585","607","631","716","718","845","914","216","330","419","440","513","614","740","937","405","580","918","503","541","215","412","570","610","717","724","814","401","803","843","864","605","423","615","731","865","901","931","210","214","254","281","325","361","409","432","512","713","806","817","830","903","915","936","940","956","972","979","435","801","276","434","540","703","757","804","802","206","253","360","425","509","262","414","608","715","920","304","307"]],["Uruguay",["america","south-america"],"uy","598"],["Uzbekistan",["asia","ex-ussr"],"uz","998"],["Vanuatu",["oceania"],"vu","678"],["Vatican City",["europe"],"va","39",".. .... ....",1],["Venezuela",["america","south-america"],"ve","58"],["Vietnam",["asia"],"vn","84"],["Yemen",["middle-east"],"ye","967"],["Zambia",["africa"],"zm","260"],["Zimbabwe",["africa"],"zw","263"]],_=[["American Samoa",["oceania"],"as","1684"],["Anguilla",["america","carribean"],"ai","1264"],["Bermuda",["america","north-america"],"bm","1441"],["British Virgin Islands",["america","carribean"],"vg","1284"],["Cayman Islands",["america","carribean"],"ky","1345"],["Cook Islands",["oceania"],"ck","682"],["Falkland Islands",["america","south-america"],"fk","500"],["Faroe Islands",["europe"],"fo","298"],["Gibraltar",["europe"],"gi","350"],["Greenland",["america"],"gl","299"],["Jersey",["europe","eu-union"],"je","44",".... ......"],["Montserrat",["america","carribean"],"ms","1664"],["Niue",["asia"],"nu","683"],["Norfolk Island",["oceania"],"nf","672"],["Northern Mariana Islands",["oceania"],"mp","1670"],["Saint Barthélemy",["america","carribean"],"bl","590","",1],["Saint Helena",["africa"],"sh","290"],["Saint Martin",["america","carribean"],"mf","590","",2],["Saint Pierre and Miquelon",["america","north-america"],"pm","508"],["Sint Maarten",["america","carribean"],"sx","1721"],["Tokelau",["oceania"],"tk","690"],["Turks and Caicos Islands",["america","carribean"],"tc","1649"],["U.S. Virgin Islands",["america","carribean"],"vi","1340"],["Wallis and Futuna",["oceania"],"wf","681"]];function P(e,t,n,r,o){return!n||o?e+"".padEnd(t.length,".")+" "+r:e+"".padEnd(t.length,".")+" "+n}function j(e,t,n,o,i){var s,u,c=[];return u=!0===t,[(s=[]).concat.apply(s,a(e.map((function(e){var a={name:e[0],regions:e[1],iso2:e[2],countryCode:e[3],dialCode:e[3],format:P(n,e[3],e[4],o,i),priority:e[5]||0},s=[];return e[6]&&e[6].map((function(t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}({},a);n.dialCode=e[3]+t,n.isAreaCode=!0,n.areaCodeLength=t.length,s.push(n)})),s.length>0?(a.mainCode=!0,u||"Array"===t.constructor.name&&t.includes(e[2])?(a.hasAreaCodes=!0,[a].concat(s)):(c=c.concat(s),[a])):[a]})))),c]}function T(e,t,n,r){if(null!==n){var o=Object.keys(n),a=Object.values(n);o.forEach((function(n,o){if(r)return e.push([n,a[o]]);var i=e.findIndex((function(e){return e[0]===n}));if(-1===i){var s=[n];s[t]=a[o],e.push(s)}else e[i][t]=a[o]}))}}function A(e,t){return 0===t.length?e:e.map((function(e){var n=t.findIndex((function(t){return t[0]===e[2]}));if(-1===n)return e;var r=t[n];return r[1]&&(e[4]=r[1]),r[3]&&(e[5]=r[3]),r[2]&&(e[6]=r[2]),e}))}var I=function N(e,t,n,r,o,i,s,c,l,f,d,p,h,m){u(this,N),this.filterRegions=function(e,t){if("string"==typeof e){var n=e;return t.filter((function(e){return e.regions.some((function(e){return e===n}))}))}return t.filter((function(t){return e.map((function(e){return t.regions.some((function(t){return t===e}))})).some((function(e){return e}))}))},this.sortTerritories=function(e,t){var n=[].concat(a(e),a(t));return n.sort((function(e,t){return e.name<t.name?-1:e.name>t.name?1:0})),n},this.getFilteredCountryList=function(e,t,n){return 0===e.length?t:n?e.map((function(e){var n=t.find((function(t){return t.iso2===e}));if(n)return n})).filter((function(e){return e})):t.filter((function(t){return e.some((function(e){return e===t.iso2}))}))},this.localizeCountries=function(e,t,n){for(var r=0;r<e.length;r++)void 0!==t[e[r].iso2]?e[r].localName=t[e[r].iso2]:void 0!==t[e[r].name]&&(e[r].localName=t[e[r].name]);return n||e.sort((function(e,t){return e.localName<t.localName?-1:e.localName>t.localName?1:0})),e},this.getCustomAreas=function(e,t){for(var n=[],r=0;r<t.length;r++){var o=JSON.parse(JSON.stringify(e));o.dialCode+=t[r],n.push(o)}return n},this.excludeCountries=function(e,t){return 0===t.length?e:e.filter((function(e){return!t.includes(e.iso2)}))};var g=function(e,t,n){var r=[];return T(r,1,e,!0),T(r,3,t),T(r,2,n),r}(c,l,f),v=A(JSON.parse(JSON.stringify(M)),g),b=A(JSON.parse(JSON.stringify(_)),g),y=E(j(v,e,p,h,m),2),w=y[0],C=y[1];if(t){var O=E(j(b,e,p,h,m),2),x=O[0];O[1],w=this.sortTerritories(x,w)}n&&(w=this.filterRegions(n,w)),this.onlyCountries=this.localizeCountries(this.excludeCountries(this.getFilteredCountryList(r,w,s.includes("onlyCountries")),i),d,s.includes("onlyCountries")),this.preferredCountries=0===o.length?[]:this.localizeCountries(this.getFilteredCountryList(o,w,s.includes("preferredCountries")),d,s.includes("preferredCountries")),this.hiddenAreaCodes=this.excludeCountries(this.getFilteredCountryList(r,C),i)},R=function(e){function t(e){var n;u(this,t),(n=function(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?d(e):t}(this,p(t).call(this,e))).getProbableCandidate=w()((function(e){return e&&0!==e.length?n.state.onlyCountries.filter((function(t){return D()(t.name.toLowerCase(),e.toLowerCase())}),d(d(n)))[0]:null})),n.guessSelectedCountry=w()((function(e,t,r,o){var a;if(!1===n.props.enableAreaCodes&&(o.some((function(t){if(D()(e,t.dialCode))return r.some((function(e){if(t.iso2===e.iso2&&e.mainCode)return a=e,!0})),!0})),a))return a;var i=r.find((function(e){return e.iso2==t}));if(""===e.trim())return i;var s=r.reduce((function(t,n){if(D()(e,n.dialCode)){if(n.dialCode.length>t.dialCode.length)return n;if(n.dialCode.length===t.dialCode.length&&n.priority<t.priority)return n}return t}),{dialCode:"",priority:10001},d(d(n)));return s.name?s:i})),n.updateCountry=function(e){var t,r=n.state.onlyCountries;(t=e.indexOf(0)>="0"&&e.indexOf(0)<="9"?r.find((function(t){return t.dialCode==+e})):r.find((function(t){return t.iso2==e})))&&t.dialCode&&n.setState({selectedCountry:t,formattedNumber:n.props.disableCountryCode?"":n.formatNumber(t.dialCode,t)})},n.scrollTo=function(e,t){if(e){var r=n.dropdownRef;if(r&&document.body){var o=r.offsetHeight,a=r.getBoundingClientRect().top+document.body.scrollTop,i=a+o,s=e,u=s.getBoundingClientRect(),c=s.offsetHeight,l=u.top+document.body.scrollTop,f=l+c,d=l-a+r.scrollTop,p=o/2-c/2;if(n.props.enableSearch?l<a+32:l<a)t&&(d-=p),r.scrollTop=d;else if(f>i){t&&(d+=p);var h=o-c;r.scrollTop=d-h}}}},n.scrollToTop=function(){var e=n.dropdownRef;e&&document.body&&(e.scrollTop=0)},n.formatNumber=function(e,t){if(!t)return e;var r,a=t.format,u=n.props,c=u.disableCountryCode,l=u.enableAreaCodeStretch,f=u.enableLongNumbers,d=u.autoFormat;if(c?((r=a.split(" ")).shift(),r=r.join(" ")):l&&t.isAreaCode?((r=a.split(" "))[1]=r[1].replace(/\.+/,"".padEnd(t.areaCodeLength,".")),r=r.join(" ")):r=a,!e||0===e.length)return c?"":n.props.prefix;if(e&&e.length<2||!r||!d)return c?e:n.props.prefix+e;var p,h=O()(r,(function(e,t){if(0===e.remainingText.length)return e;if("."!==t)return{formattedText:e.formattedText+t,remainingText:e.remainingText};var n,r=i(n=e.remainingText)||o(n)||s(),a=r[0],u=r.slice(1);return{formattedText:e.formattedText+a,remainingText:u}}),{formattedText:"",remainingText:e.split("")});return(p=f?h.formattedText+h.remainingText.join(""):h.formattedText).includes("(")&&!p.includes(")")&&(p+=")"),p},n.cursorToEnd=function(){var e=n.numberInputRef;e.focus();var t=e.value.length;")"===e.value.charAt(t-1)&&(t-=1),e.setSelectionRange(t,t)},n.getElement=function(e){return n["flag_no_".concat(e)]},n.getCountryData=function(){return n.state.selectedCountry?{name:n.state.selectedCountry.name||"",dialCode:n.state.selectedCountry.dialCode||"",countryCode:n.state.selectedCountry.iso2||"",format:n.state.selectedCountry.format||""}:{}},n.handleFlagDropdownClick=function(e){if(e.preventDefault(),n.state.showDropdown||!n.props.disabled){var t=n.state,r=t.preferredCountries,o=t.selectedCountry,a=r.concat(n.state.onlyCountries).findIndex((function(e){return e.dialCode===o.dialCode&&e.iso2===o.iso2}));n.setState({showDropdown:!n.state.showDropdown,highlightCountryIndex:a},(function(){n.state.showDropdown&&n.scrollTo(n.getElement(n.state.highlightCountryIndex))}))}},n.handleInput=function(e){var t=e.target.value,r=n.props,o=r.prefix,a=r.onChange,i=n.props.disableCountryCode?"":o,s=n.state.selectedCountry,u=n.state.freezeSelection;if(!n.props.countryCodeEditable){var c=o+(s.hasAreaCodes?n.state.onlyCountries.find((function(e){return e.iso2===s.iso2&&e.mainCode})).dialCode:s.dialCode);if(t.slice(0,c.length)!==c)return}if(t===o)return a&&a("",n.getCountryData(),e,""),n.setState({formattedNumber:""});if(t.replace(/\D/g,"").length>15){if(!1===n.props.enableLongNumbers)return;if("number"==typeof n.props.enableLongNumbers&&t.replace(/\D/g,"").length>n.props.enableLongNumbers)return}if(t!==n.state.formattedNumber){e.preventDefault?e.preventDefault():e.returnValue=!1;var l=n.props.country,f=n.state,d=f.onlyCountries,p=f.selectedCountry,h=f.hiddenAreaCodes;if(a&&e.persist(),t.length>0){var m=t.replace(/\D/g,"");(!n.state.freezeSelection||p.dialCode.length>m.length)&&(s=n.props.disableCountryGuess?p:n.guessSelectedCountry(m.substring(0,6),l,d,h)||p,u=!1),i=n.formatNumber(m,s),s=s.dialCode?s:p}var g=e.target.selectionStart,v=n.state.formattedNumber,b=i.length-v.length;n.setState({formattedNumber:i,freezeSelection:u,selectedCountry:s},(function(){b>0&&(g-=b),")"==i.charAt(i.length-1)?n.numberInputRef.setSelectionRange(i.length-1,i.length-1):g>0&&v.length>=i.length&&n.numberInputRef.setSelectionRange(g,g),a&&a(i.replace(/[^0-9]+/g,""),n.getCountryData(),e,i)}))}},n.handleInputClick=function(e){n.setState({showDropdown:!1}),n.props.onClick&&n.props.onClick(e,n.getCountryData())},n.handleDoubleClick=function(e){var t=e.target.value.length;e.target.setSelectionRange(0,t)},n.handleFlagItemClick=function(e,t){var r=n.state.selectedCountry,o=n.state.onlyCountries.find((function(t){return t==e}));if(o){var a=n.state.formattedNumber.replace(" ","").replace("(","").replace(")","").replace("-",""),i=a.length>1?a.replace(r.dialCode,o.dialCode):o.dialCode,s=n.formatNumber(i.replace(/\D/g,""),o);n.setState({showDropdown:!1,selectedCountry:o,freezeSelection:!0,formattedNumber:s},(function(){n.cursorToEnd(),n.props.onChange&&n.props.onChange(s.replace(/[^0-9]+/g,""),n.getCountryData(),t,s)}))}},n.handleInputFocus=function(e){n.numberInputRef&&n.numberInputRef.value===n.props.prefix&&n.state.selectedCountry&&!n.props.disableCountryCode&&n.setState({formattedNumber:n.props.prefix+n.state.selectedCountry.dialCode},(function(){n.props.jumpCursorToEnd&&setTimeout(n.cursorToEnd,0)})),n.setState({placeholder:""}),n.props.onFocus&&n.props.onFocus(e,n.getCountryData()),n.props.jumpCursorToEnd&&setTimeout(n.cursorToEnd,0)},n.handleInputBlur=function(e){e.target.value||n.setState({placeholder:n.props.placeholder}),n.props.onBlur&&n.props.onBlur(e,n.getCountryData())},n.handleInputCopy=function(e){if(n.props.copyNumbersOnly){var t=window.getSelection().toString().replace(/[^0-9]+/g,"");e.clipboardData.setData("text/plain",t),e.preventDefault()}},n.getHighlightCountryIndex=function(e){var t=n.state.highlightCountryIndex+e;return t<0||t>=n.state.onlyCountries.length+n.state.preferredCountries.length?t-e:n.props.enableSearch&&t>n.getSearchFilteredCountries().length?0:t},n.searchCountry=function(){var e=n.getProbableCandidate(n.state.queryString)||n.state.onlyCountries[0],t=n.state.onlyCountries.findIndex((function(t){return t==e}))+n.state.preferredCountries.length;n.scrollTo(n.getElement(t),!0),n.setState({queryString:"",highlightCountryIndex:t})},n.handleKeydown=function(e){var t=n.props.keys,r=e.target.className;if(r.includes("selected-flag")&&e.which===t.ENTER&&!n.state.showDropdown)return n.handleFlagDropdownClick(e);if(r.includes("form-control")&&(e.which===t.ENTER||e.which===t.ESC))return e.target.blur();if(n.state.showDropdown&&!n.props.disabled&&(!r.includes("search-box")||e.which===t.UP||e.which===t.DOWN||e.which===t.ENTER||e.which===t.ESC&&""===e.target.value)){e.preventDefault?e.preventDefault():e.returnValue=!1;var o=function(e){n.setState({highlightCountryIndex:n.getHighlightCountryIndex(e)},(function(){n.scrollTo(n.getElement(n.state.highlightCountryIndex),!0)}))};switch(e.which){case t.DOWN:o(1);break;case t.UP:o(-1);break;case t.ENTER:n.props.enableSearch?n.handleFlagItemClick(n.getSearchFilteredCountries()[n.state.highlightCountryIndex]||n.getSearchFilteredCountries()[0],e):n.handleFlagItemClick([].concat(a(n.state.preferredCountries),a(n.state.onlyCountries))[n.state.highlightCountryIndex],e);break;case t.ESC:case t.TAB:n.setState({showDropdown:!1},n.cursorToEnd);break;default:(e.which>=t.A&&e.which<=t.Z||e.which===t.SPACE)&&n.setState({queryString:n.state.queryString+String.fromCharCode(e.which)},n.state.debouncedQueryStingSearcher)}}},n.handleInputKeyDown=function(e){var t=n.props,r=t.keys,o=t.onEnterKeyPress,a=t.onKeyDown;e.which===r.ENTER&&o&&o(e),a&&a(e)},n.handleClickOutside=function(e){n.dropdownRef&&!n.dropdownContainerRef.contains(e.target)&&n.state.showDropdown&&n.setState({showDropdown:!1})},n.handleSearchChange=function(e){var t=e.currentTarget.value,r=n.state,o=r.preferredCountries,a=r.selectedCountry,i=0;if(""===t&&a){var s=n.state.onlyCountries;i=o.concat(s).findIndex((function(e){return e==a})),setTimeout((function(){return n.scrollTo(n.getElement(i))}),100)}n.setState({searchValue:t,highlightCountryIndex:i})},n.getDropdownCountryName=function(e){return e.localName||e.name},n.getSearchFilteredCountries=function(){var e=n.state,t=e.preferredCountries,r=e.onlyCountries,o=e.searchValue,i=n.props.enableSearch,s=t.concat(r),u=o.trim().toLowerCase();if(i&&u){if(/^\d+$/.test(u))return s.filter((function(e){var t=e.dialCode;return["".concat(t)].some((function(e){return e.toLowerCase().includes(u)}))}));var c=s.filter((function(e){var t=e.iso2;return["".concat(t)].some((function(e){return e.toLowerCase().includes(u)}))})),l=s.filter((function(e){var t=e.name,n=e.localName;return e.iso2,["".concat(t),"".concat(n||"")].some((function(e){return e.toLowerCase().includes(u)}))}));return n.scrollToTop(),a(new Set([].concat(c,l)))}return s},n.getCountryDropdownList=function(){var e,t=n.state,o=t.preferredCountries,a=t.highlightCountryIndex,i=t.showDropdown,s=t.searchValue,u=n.props,c=u.disableDropdown,l=u.prefix,f=n.props,d=f.enableSearch,p=f.searchNotFound,h=f.disableSearchIcon,m=f.searchClass,v=f.searchStyle,b=f.searchPlaceholder,y=f.autocompleteSearch,w=n.getSearchFilteredCountries().map((function(e,t){var r=a===t,o=S()({country:!0,preferred:"us"===e.iso2||"gb"===e.iso2,active:"us"===e.iso2,highlight:r}),i="flag ".concat(e.iso2);return g.a.createElement("li",Object.assign({ref:function(e){return n["flag_no_".concat(t)]=e},key:"flag_no_".concat(t),"data-flag-key":"flag_no_".concat(t),className:o,"data-dial-code":"1",tabIndex:c?"-1":"0","data-country-code":e.iso2,onClick:function(t){return n.handleFlagItemClick(e,t)},role:"option"},r?{"aria-selected":!0}:{}),g.a.createElement("div",{className:i}),g.a.createElement("span",{className:"country-name"},n.getDropdownCountryName(e)),g.a.createElement("span",{className:"dial-code"},e.format?n.formatNumber(e.dialCode,e):l+e.dialCode))})),C=g.a.createElement("li",{key:"dashes",className:"divider"});o.length>0&&(!d||d&&!s.trim())&&w.splice(o.length,0,C);var O=S()((r(e={},n.props.dropdownClass,!0),r(e,"country-list",!0),r(e,"hide",!i),e));return g.a.createElement("ul",{ref:function(e){return!d&&e&&e.focus(),n.dropdownRef=e},className:O,style:n.props.dropdownStyle,role:"listbox",tabIndex:"0"},d&&g.a.createElement("li",{className:S()(r({search:!0},m,m))},!h&&g.a.createElement("span",{className:S()(r({"search-emoji":!0},"".concat(m,"-emoji"),m)),role:"img","aria-label":"Magnifying glass"},"🔎"),g.a.createElement("input",{className:S()(r({"search-box":!0},"".concat(m,"-box"),m)),style:v,type:"search",placeholder:b,autoFocus:!0,autoComplete:y?"on":"off",value:s,onChange:n.handleSearchChange})),w.length>0?w:g.a.createElement("li",{className:"no-entries-message"},g.a.createElement("span",null,p)))};var c,l=new I(e.enableAreaCodes,e.enableTerritories,e.regions,e.onlyCountries,e.preferredCountries,e.excludeCountries,e.preserveOrder,e.masks,e.priority,e.areaCodes,e.localization,e.prefix,e.defaultMask,e.alwaysDefaultMask),h=l.onlyCountries,m=l.preferredCountries,v=l.hiddenAreaCodes,y=e.value?e.value.replace(/\D/g,""):"";c=e.disableInitialCountryGuess?0:y.length>1?n.guessSelectedCountry(y.substring(0,6),e.country,h,v)||0:e.country&&h.find((function(t){return t.iso2==e.country}))||0;var C,x=y.length<2&&c&&!D()(y,c.dialCode)?c.dialCode:"";C=""===y&&0===c?"":n.formatNumber((e.disableCountryCode?"":x)+y,c.name?c:void 0);var k=h.findIndex((function(e){return e==c}));return n.state={showDropdown:e.showDropdown,formattedNumber:C,onlyCountries:h,preferredCountries:m,hiddenAreaCodes:v,selectedCountry:c,highlightCountryIndex:k,queryString:"",freezeSelection:!1,debouncedQueryStingSearcher:b()(n.searchCountry,250),searchValue:""},n}var n,l;return 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&&h(e,t)}(t,e),n=t,(l=[{key:"componentDidMount",value:function(){document.addEventListener&&this.props.enableClickOutside&&document.addEventListener("mousedown",this.handleClickOutside)}},{key:"componentWillUnmount",value:function(){document.removeEventListener&&this.props.enableClickOutside&&document.removeEventListener("mousedown",this.handleClickOutside)}},{key:"componentDidUpdate",value:function(e,t,n){e.country!==this.props.country?this.updateCountry(this.props.country):e.value!==this.props.value&&this.updateFormattedNumber(this.props.value)}},{key:"updateFormattedNumber",value:function(e){if(null===e)return this.setState({selectedCountry:0,formattedNumber:""});var t=this.state,n=t.onlyCountries,r=t.selectedCountry,o=t.hiddenAreaCodes,a=this.props,i=a.country,s=a.prefix;if(""===e)return this.setState({selectedCountry:r,formattedNumber:""});var u,c,l=e.replace(/\D/g,"");if(r&&D()(e,s+r.dialCode))c=this.formatNumber(l,r),this.setState({formattedNumber:c});else{var f=(u=this.props.disableCountryGuess?r:this.guessSelectedCountry(l.substring(0,6),i,n,o)||r)&&D()(l,s+u.dialCode)?u.dialCode:"";c=this.formatNumber((this.props.disableCountryCode?"":f)+l,u||void 0),this.setState({selectedCountry:u,formattedNumber:c})}}},{key:"render",value:function(){var e,t,n,o,a,i=this,s=this.state,u=s.onlyCountries,c=s.selectedCountry,l=s.showDropdown,f=s.formattedNumber,d=s.hiddenAreaCodes,p=this.props,h=p.disableDropdown,m=p.renderStringAsFlag,v=p.isValid,b=p.defaultErrorMessage,y=p.specialLabel;if("boolean"==typeof v)o=v;else{var w=v(f.replace(/\D/g,""),c,u,d);"boolean"==typeof w?!1===(o=w)&&(a=b):(o=!1,a=w)}var C=S()((r(e={},this.props.containerClass,!0),r(e,"react-tel-input",!0),e)),O=S()({arrow:!0,up:l}),x=S()((r(t={},this.props.inputClass,!0),r(t,"form-control",!0),r(t,"invalid-number",!o),r(t,"open",l),t)),D=S()({"selected-flag":!0,open:l}),k=S()((r(n={},this.props.buttonClass,!0),r(n,"flag-dropdown",!0),r(n,"invalid-number",!o),r(n,"open",l),n)),E="flag ".concat(c&&c.iso2);return g.a.createElement("div",{className:C,style:this.props.style||this.props.containerStyle,onKeyDown:this.handleKeydown},y&&g.a.createElement("div",{className:"special-label"},y),a&&g.a.createElement("div",{className:"invalid-number-message"},a),g.a.createElement("input",Object.assign({className:x,style:this.props.inputStyle,onChange:this.handleInput,onClick:this.handleInputClick,onDoubleClick:this.handleDoubleClick,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur,onCopy:this.handleInputCopy,value:f,ref:function(e){return i.numberInputRef=e},onKeyDown:this.handleInputKeyDown,placeholder:this.props.placeholder,disabled:this.props.disabled,type:"tel"},this.props.inputProps)),g.a.createElement("div",{className:k,style:this.props.buttonStyle,ref:function(e){return i.dropdownContainerRef=e}},m?g.a.createElement("div",{className:D},m):g.a.createElement("div",{onClick:h?void 0:this.handleFlagDropdownClick,className:D,title:c?"".concat(c.name,": + ").concat(c.dialCode):"",tabIndex:h?"-1":"0",role:"button","aria-haspopup":"listbox","aria-expanded":!!l||void 0},g.a.createElement("div",{className:E},!h&&g.a.createElement("div",{className:O}))),l&&this.getCountryDropdownList()))}}])&&c(n.prototype,l),t}(g.a.Component);R.defaultProps={country:"",value:"",onlyCountries:[],preferredCountries:[],excludeCountries:[],placeholder:"1 (702) 123-4567",searchPlaceholder:"search",searchNotFound:"No entries to show",flagsImagePath:"./flags.png",disabled:!1,containerStyle:{},inputStyle:{},buttonStyle:{},dropdownStyle:{},searchStyle:{},containerClass:"",inputClass:"",buttonClass:"",dropdownClass:"",searchClass:"",autoFormat:!0,enableAreaCodes:!1,enableTerritories:!1,disableCountryCode:!1,disableDropdown:!1,enableLongNumbers:!1,countryCodeEditable:!0,enableSearch:!1,disableSearchIcon:!1,disableInitialCountryGuess:!1,disableCountryGuess:!1,regions:"",inputProps:{},localization:{},masks:null,priority:null,areaCodes:null,preserveOrder:[],defaultMask:"... ... ... ... ..",alwaysDefaultMask:!1,prefix:"+",copyNumbersOnly:!0,renderStringAsFlag:"",autocompleteSearch:!1,jumpCursorToEnd:!0,enableAreaCodeStretch:!1,enableClickOutside:!0,showDropdown:!1,isValid:!0,defaultErrorMessage:"",specialLabel:"Phone",onEnterKeyPress:null,keys:{UP:38,DOWN:40,RIGHT:39,LEFT:37,ENTER:13,ESC:27,PLUS:43,A:65,Z:90,SPACE:32,TAB:9}},t["default"]=R}])},73:function(e,t,n){var r;e.exports=(r=n(804),function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){e.exports=n(2)},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=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}}(),o=function(){function e(t,r,o,a){n(this,e),this.startPoint=t,this.control1=r,this.control2=o,this.endPoint=a}return r(e,[{key:"length",value:function(){var e,t,n,r,o,a,i,s,u=10,c=0;for(e=0;u>=e;e++)t=e/u,n=this._point(t,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),r=this._point(t,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y),e>0&&(i=n-o,s=r-a,c+=Math.sqrt(i*i+s*s)),o=n,a=r;return c}},{key:"_point",value:function(e,t,n,r,o){return t*(1-e)*(1-e)*(1-e)+3*n*(1-e)*(1-e)*e+3*r*(1-e)*e*e+o*e*e*e}}]),e}();t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=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}}(),s=function(e,t,n){for(var r=!0;r;){var o=e,a=t,i=n;s=c=u=void 0,r=!1,null===o&&(o=Function.prototype);var s=Object.getOwnPropertyDescriptor(o,a);if(void 0!==s){if("value"in s)return s.value;var u=s.get;return void 0===u?void 0:u.call(i)}var c=Object.getPrototypeOf(o);if(null===c)return;e=c,t=a,n=i,r=!0}},u=r(n(4)),c=r(n(1)),l=r(n(3)),f=function(e){function t(e){o(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.velocityFilterWeight=this.props.velocityFilterWeight||.7,this.minWidth=this.props.minWidth||.5,this.maxWidth=this.props.maxWidth||2.5,this.dotSize=this.props.dotSize||function(){return(this.minWidth+this.maxWidth)/2},this.penColor=this.props.penColor||"black",this.backgroundColor=this.props.backgroundColor||"rgba(0,0,0,0)",this.onEnd=this.props.onEnd,this.onBegin=this.props.onBegin}return a(t,e),i(t,[{key:"componentDidMount",value:function(){this._canvas=this.refs.cv,this._ctx=this._canvas.getContext("2d"),this.clear(),this._handleMouseEvents(),this._handleTouchEvents(),this._resizeCanvas()}},{key:"componentWillUnmount",value:function(){this.off()}},{key:"clear",value:function(e){e&&e.preventDefault();var t=this._ctx,n=this._canvas;t.fillStyle=this.backgroundColor,t.clearRect(0,0,n.width,n.height),t.fillRect(0,0,n.width,n.height),this._reset()}},{key:"toDataURL",value:function(e,t){var n=this._canvas;return n.toDataURL.apply(n,arguments)}},{key:"fromDataURL",value:function(e){var t=this,n=new Image,r=window.devicePixelRatio||1,o=this._canvas.width/r,a=this._canvas.height/r;this._reset(),n.src=e,n.onload=function(){t._ctx.drawImage(n,0,0,o,a)},this._isEmpty=!1}},{key:"isEmpty",value:function(){return this._isEmpty}},{key:"_resizeCanvas",value:function(){var e=this._ctx,t=this._canvas,n=Math.max(window.devicePixelRatio||1,1);t.width=t.offsetWidth*n,t.height=t.offsetHeight*n,e.scale(n,n),this._isEmpty=!0}},{key:"_reset",value:function(){this.points=[],this._lastVelocity=0,this._lastWidth=(this.minWidth+this.maxWidth)/2,this._isEmpty=!0,this._ctx.fillStyle=this.penColor}},{key:"_handleMouseEvents",value:function(){this._mouseButtonDown=!1,this._canvas.addEventListener("mousedown",this._handleMouseDown.bind(this)),this._canvas.addEventListener("mousemove",this._handleMouseMove.bind(this)),document.addEventListener("mouseup",this._handleMouseUp.bind(this)),window.addEventListener("resize",this._resizeCanvas.bind(this))}},{key:"_handleTouchEvents",value:function(){this._canvas.style.msTouchAction="none",this._canvas.addEventListener("touchstart",this._handleTouchStart.bind(this)),this._canvas.addEventListener("touchmove",this._handleTouchMove.bind(this)),document.addEventListener("touchend",this._handleTouchEnd.bind(this))}},{key:"off",value:function(){this._canvas.removeEventListener("mousedown",this._handleMouseDown),this._canvas.removeEventListener("mousemove",this._handleMouseMove),document.removeEventListener("mouseup",this._handleMouseUp),this._canvas.removeEventListener("touchstart",this._handleTouchStart),this._canvas.removeEventListener("touchmove",this._handleTouchMove),document.removeEventListener("touchend",this._handleTouchEnd),window.removeEventListener("resize",this._resizeCanvas)}},{key:"_handleMouseDown",value:function(e){1===e.which&&(this._mouseButtonDown=!0,this._strokeBegin(e))}},{key:"_handleMouseMove",value:function(e){this._mouseButtonDown&&this._strokeUpdate(e)}},{key:"_handleMouseUp",value:function(e){1===e.which&&this._mouseButtonDown&&(this._mouseButtonDown=!1,this._strokeEnd(e))}},{key:"_handleTouchStart",value:function(e){var t=e.changedTouches[0];this._strokeBegin(t)}},{key:"_handleTouchMove",value:function(e){e.preventDefault();var t=e.changedTouches[0];this._strokeUpdate(t)}},{key:"_handleTouchEnd",value:function(e){e.target===this._canvas&&this._strokeEnd(e)}},{key:"_strokeUpdate",value:function(e){var t=this._createPoint(e);this._addPoint(t)}},{key:"_strokeBegin",value:function(e){this._reset(),this._strokeUpdate(e),"function"==typeof this.onBegin&&this.onBegin(e)}},{key:"_strokeDraw",value:function(e){var t=this._ctx,n="function"==typeof this.dotSize?this.dotSize():this.dotSize;t.beginPath(),this._drawPoint(e.x,e.y,n),t.closePath(),t.fill()}},{key:"_strokeEnd",value:function(e){var t=this.points.length>2,n=this.points[0];!t&&n&&this._strokeDraw(n),"function"==typeof this.onEnd&&this.onEnd(e)}},{key:"_createPoint",value:function(e){var t=this._canvas.getBoundingClientRect();return new l["default"](e.clientX-t.left,e.clientY-t.top)}},{key:"_addPoint",value:function(e){var t,n,r,o=this.points;o.push(e),o.length>2&&(3===o.length&&o.unshift(o[0]),t=this._calculateCurveControlPoints(o[0],o[1],o[2]).c2,n=this._calculateCurveControlPoints(o[1],o[2],o[3]).c1,r=new c["default"](o[1],t,n,o[2]),this._addCurve(r),o.shift())}},{key:"_calculateCurveControlPoints",value:function(e,t,n){var r=e.x-t.x,o=e.y-t.y,a=t.x-n.x,i=t.y-n.y,s={x:(e.x+t.x)/2,y:(e.y+t.y)/2},u={x:(t.x+n.x)/2,y:(t.y+n.y)/2},c=Math.sqrt(r*r+o*o),f=Math.sqrt(a*a+i*i),d=s.x-u.x,p=s.y-u.y,h=f/(c+f),m={x:u.x+d*h,y:u.y+p*h},g=t.x-m.x,v=t.y-m.y;return{c1:new l["default"](s.x+g,s.y+v),c2:new l["default"](u.x+g,u.y+v)}}},{key:"_addCurve",value:function(e){var t,n,r=e.startPoint;t=e.endPoint.velocityFrom(r),t=this.velocityFilterWeight*t+(1-this.velocityFilterWeight)*this._lastVelocity,n=this._strokeWidth(t),this._drawCurve(e,this._lastWidth,n),this._lastVelocity=t,this._lastWidth=n}},{key:"_drawPoint",value:function(e,t,n){var r=this._ctx;r.moveTo(e,t),r.arc(e,t,n,0,2*Math.PI,!1),this._isEmpty=!1}},{key:"_drawCurve",value:function(e,t,n){var r,o,a,i,s,u,c,l,f,d,p,h=this._ctx,m=n-t;for(r=Math.floor(e.length()),h.beginPath(),a=0;r>a;a++)u=(s=(i=a/r)*i)*i,d=(f=(l=(c=1-i)*c)*c)*e.startPoint.x,d+=3*l*i*e.control1.x,d+=3*c*s*e.control2.x,d+=u*e.endPoint.x,p=f*e.startPoint.y,p+=3*l*i*e.control1.y,p+=3*c*s*e.control2.y,p+=u*e.endPoint.y,o=t+u*m,this._drawPoint(d,p,o);h.closePath(),h.fill()}},{key:"_strokeWidth",value:function(e){return Math.max(this.maxWidth/(e+1),this.minWidth)}},{key:"render",value:function(){return u["default"].createElement("div",{id:"signature-pad",className:"m-signature-pad"},u["default"].createElement("div",{className:"m-signature-pad--body"},u["default"].createElement("canvas",{ref:"cv"})),this.props.clearButton&&u["default"].createElement("div",{className:"m-signature-pad--footer"},u["default"].createElement("button",{className:"btn btn-default button clear",onClick:this.clear.bind(this)},"Clear")))}}]),t}(u["default"].Component);t["default"]=f,e.exports=t["default"]},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=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}}(),o=function(){function e(t,r,o){n(this,e),this.x=t,this.y=r,this.time=o||(new Date).getTime()}return r(e,[{key:"velocityFrom",value:function(e){return this.time!==e.time?this.distanceTo(e)/(this.time-e.time):1}},{key:"distanceTo",value:function(e){return Math.sqrt(Math.pow(this.x-e.x,2)+Math.pow(this.y-e.y,2))}}]),e}();t["default"]=o,e.exports=t["default"]},function(e,t){e.exports=r}]))},804:function(e){"use strict";e.exports=React}},t={};function n(r){var o=t[r];if(o!==undefined)return o.exports;var a=t[r]={exports:{}};return e[r].call(a.exports,a,a.exports,n),a.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){"use strict";var e=n(804),t=n.n(e),r=e=>e instanceof HTMLElement;const o="blur",a="change",i="input",s="onBlur",u="onChange",c="onSubmit",l="onTouched",f="all",d="undefined",p="max",h="min",m="maxLength",g="minLength",v="pattern",b="required",y="validate";var w=e=>null==e;const C=e=>"object"==typeof e;var O=e=>!w(e)&&!Array.isArray(e)&&C(e)&&!(e instanceof Date),x=e=>/^\w*$/.test(e),D=e=>e.filter(Boolean),k=e=>D(e.replace(/["|']/g,"").replace(/\[/g,".").replace(/\]/g,"").split("."));function S(e,t,n){let r=-1;const o=x(t)?[t]:k(t),a=o.length,i=a-1;for(;++r<a;){const t=o[r];let a=n;if(r!==i){const n=e[t];a=O(n)||Array.isArray(n)?n:isNaN(+o[r+1])?{}:[]}e[t]=a,e=e[t]}return e}var E=(e,t={})=>{for(const n in e)x(n)?t[n]=e[n]:S(t,n,e[n]);return t},M=e=>e===undefined,_=(e={},t,n)=>{const r=D(t.split(/[,[\].]+?/)).reduce(((e,t)=>w(e)?e:e[t]),e);return M(r)||r===e?M(e[t])?n:e[t]:r},P=(e,t)=>{r(e)&&e.removeEventListener&&(e.removeEventListener(i,t),e.removeEventListener(a,t),e.removeEventListener(o,t))};const j={isValid:!1,value:null};var T=e=>Array.isArray(e)?e.reduce(((e,t)=>t&&t.ref.checked?{isValid:!0,value:t.ref.value}:e),j):j,A=e=>"radio"===e.type,I=e=>"file"===e.type,R=e=>"checkbox"===e.type,N=e=>"select-multiple"===e.type;const L={value:!1,isValid:!1},V={value:!0,isValid:!0};var F=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter((e=>e&&e.ref.checked)).map((({ref:{value:e}})=>e));return{value:t,isValid:!!t.length}}const{checked:t,value:n,attributes:r}=e[0].ref;return t?r&&!M(r.value)?M(n)||""===n?V:{value:n,isValid:!0}:V:L}return L};function H(e,t,n,r,o){const a=e.current[t];if(a){const{ref:{value:e,disabled:t},ref:n,valueAsNumber:s,valueAsDate:u,setValueAs:c}=a;if(t&&r)return;return I(n)?n.files:A(n)?T(a.options).value:N(n)?(i=n.options,[...i].filter((({selected:e})=>e)).map((({value:e})=>e))):R(n)?F(a.options).value:o?e:s?""===e?NaN:+e:u?n.valueAsDate:c?c(e):e}var i;if(n)return _(n.current,t)}function U(e){return!e||e instanceof HTMLElement&&e.nodeType!==Node.DOCUMENT_NODE&&U(e.parentNode)}var W=e=>O(e)&&!Object.keys(e).length,z=e=>"boolean"==typeof e;function B(e,t){const n=x(t)?[t]:k(t),r=1==n.length?e:function(e,t){const n=t.slice(0,-1).length;let r=0;for(;r<n;)e=M(e)?r++:e[t[r++]];return e}(e,n),o=n[n.length-1];let a;r&&delete r[o];for(let t=0;t<n.slice(0,-1).length;t++){let r,o=-1;const i=n.slice(0,-(t+1)),s=i.length-1;for(t>0&&(a=e);++o<i.length;){const t=i[o];r=r?r[t]:e[t],s===o&&(O(r)&&W(r)||Array.isArray(r)&&!r.filter((e=>O(e)&&!W(e)||z(e))).length)&&(a?delete a[t]:delete e[t]),a=r}}return e}const Y=(e,t)=>e&&e.ref===t;var q=e=>w(e)||!C(e);function K(e,t){if(q(e)||q(t))return t;for(const r in t){const o=e[r],a=t[r];try{e[r]=O(o)&&O(a)||Array.isArray(o)&&Array.isArray(a)?K(o,a):a}catch(n){}}return e}function $(t,n,r){if(q(t)||q(n)||t instanceof Date||n instanceof Date)return t===n;if(!(0,e.isValidElement)(t)){const e=Object.keys(t),o=Object.keys(n);if(e.length!==o.length)return!1;for(const o of e){const e=t[o];if(!r||"ref"!==o){const t=n[o];if((O(e)||Array.isArray(e))&&(O(t)||Array.isArray(t))?!$(e,t,r):e!==t)return!1}}}return!0}function G(e,t,n,r,o){let a=-1;for(;++a<e.length;){for(const r in e[a])Array.isArray(e[a][r])?(!n[a]&&(n[a]={}),n[a][r]=[],G(e[a][r],_(t[a]||{},r,[]),n[a][r],n[a],r)):$(_(t[a]||{},r),e[a][r])?S(n[a]||{},r):n[a]=Object.assign(Object.assign({},n[a]),{[r]:!0});r&&!n.length&&delete r[o]}return n}var J=(e,t,n)=>K(G(e,t,n.slice(0,e.length)),G(t,e,n.slice(0,e.length))),Q=e=>"string"==typeof e,X=(e,t,n,r,o)=>{const a={};for(const t in e.current)(M(o)||(Q(o)?t.startsWith(o):Array.isArray(o)&&o.find((e=>t.startsWith(e)))))&&(a[t]=H(e,t,undefined,r));return n?E(a):K(t,E(a))},Z=e=>e instanceof RegExp,ee=e=>O(e)&&!Z(e)?e:{value:e,message:""},te=e=>"function"==typeof e,ne=t=>Q(t)||(0,e.isValidElement)(t);function re(e,t,n="validate"){if(ne(e)||z(e)&&!e)return{type:n,message:ne(e)?e:"",ref:t}}var oe=(e,t,n,r,o)=>t?Object.assign(Object.assign({},n[e]),{types:Object.assign(Object.assign({},n[e]&&n[e].types?n[e].types:{}),{[r]:o||!0})}):{},ae=async(e,t,{ref:n,ref:{value:r},options:o,required:a,maxLength:i,minLength:s,min:u,max:c,pattern:l,validate:f},d)=>{const C=n.name,x={},D=A(n),k=R(n),S=D||k,E=""===r,M=oe.bind(null,C,t,x),_=(e,t,r,o=m,a=g)=>{const i=e?t:r;x[C]=Object.assign({type:e?o:a,message:i,ref:n},M(e?o:a,i))};if(a&&(!D&&!k&&(E||w(r))||z(r)&&!r||k&&!F(o).isValid||D&&!T(o).isValid)){const{value:r,message:o}=ne(a)?{value:!!a,message:a}:ee(a);if(r&&(x[C]=Object.assign({type:b,message:o,ref:S?((e.current[C].options||[])[0]||{}).ref:n},M(b,o)),!t))return x}if(!(w(u)&&w(c)||""===r)){let e,o;const a=ee(c),i=ee(u);if(isNaN(r)){const t=n.valueAsDate||new Date(r);Q(a.value)&&(e=t>new Date(a.value)),Q(i.value)&&(o=t<new Date(i.value))}else{const t=n.valueAsNumber||parseFloat(r);w(a.value)||(e=t>a.value),w(i.value)||(o=t<i.value)}if((e||o)&&(_(!!e,a.message,i.message,p,h),!t))return x}if(Q(r)&&!E&&(i||s)){const e=ee(i),n=ee(s),o=!w(e.value)&&r.length>e.value,a=!w(n.value)&&r.length<n.value;if((o||a)&&(_(o,e.message,n.message),!t))return x}if(Q(r)&&l&&!E){const{value:e,message:o}=ee(l);if(Z(e)&&!e.test(r)&&(x[C]=Object.assign({type:v,message:o,ref:n},M(v,o)),!t))return x}if(f){const r=H(e,C,d,!1,!0),a=S&&o?o[0].ref:n;if(te(f)){const e=re(await f(r),a);if(e&&(x[C]=Object.assign(Object.assign({},e),M(y,e.message)),!t))return x}else if(O(f)){let e={};for(const[n,o]of Object.entries(f)){if(!W(e)&&!t)break;const i=re(await o(r),a,n);i&&(e=Object.assign(Object.assign({},i),M(n,i.message)),t&&(x[C]=e))}if(!W(e)&&(x[C]=Object.assign({ref:a},e),!t))return x}}return x};const ie=(e,t,n=[])=>{for(const r in t){const o=e+(O(t)?`.${r}`:`[${r}]`);q(t[r])?n.push(o):ie(o,t[r],n)}return n};var se=(e,t,n,r,o)=>{let a=undefined;return n.add(t),W(e)||(a=_(e,t),(O(a)||Array.isArray(a))&&ie(t,a).forEach((e=>n.add(e)))),M(a)?o?r:_(r,t):a},ue=({isOnBlur:e,isOnChange:t,isOnTouch:n,isTouched:r,isReValidateOnBlur:o,isReValidateOnChange:a,isBlurEvent:i,isSubmitted:s,isOnAll:u})=>!u&&(!s&&n?!(r||i):(s?o:e)?!i:!(s?a:t)||i),ce=e=>e.substring(0,e.indexOf("["));const le=(e,t)=>RegExp(`^${t}([|.)\\d+`.replace(/\[/g,"\\[").replace(/\]/g,"\\]")).test(e);var fe=(e,t)=>[...e].some((e=>le(t,e)));var de=typeof window!==d&&typeof document!==d;function pe(e){var t;let n;if(q(e)||de&&(e instanceof File||r(e)))return e;if(!["Set","Map","Object","Date","Array"].includes(null===(t=e.constructor)||void 0===t?void 0:t.name))return e;if(e instanceof Date)return n=new Date(e.getTime()),n;if(e instanceof Set){n=new Set;for(const t of e)n.add(t);return n}if(e instanceof Map){n=new Map;for(const t of e.keys())n.set(t,pe(e.get(t)));return n}n=Array.isArray(e)?[]:{};for(const t in e)n[t]=pe(e[t]);return n}var he=e=>({isOnSubmit:!e||e===c,isOnBlur:e===s,isOnChange:e===u,isOnAll:e===f,isOnTouch:e===l}),me=e=>A(e)||R(e);const ge=typeof window===d,ve=de?"Proxy"in window:typeof Proxy!==d;function be({mode:t=c,reValidateMode:n=u,resolver:s,context:l,defaultValues:d={},shouldFocusError:p=!0,shouldUnregister:h=!0,criteriaMode:m}={}){const g=(0,e.useRef)({}),v=(0,e.useRef)({}),b=(0,e.useRef)({}),y=(0,e.useRef)(new Set),C=(0,e.useRef)({}),k=(0,e.useRef)({}),j=(0,e.useRef)({}),T=(0,e.useRef)({}),L=(0,e.useRef)(d),V=(0,e.useRef)(!1),F=(0,e.useRef)(!1),z=(0,e.useRef)(),K=(0,e.useRef)({}),G=(0,e.useRef)({}),Z=(0,e.useRef)(l),ee=(0,e.useRef)(s),ne=(0,e.useRef)(new Set),re=(0,e.useRef)(he(t)),{isOnSubmit:oe,isOnTouch:le}=re.current,be=m===f,[ye,we]=(0,e.useState)({isDirty:!1,isValidating:!1,dirtyFields:{},isSubmitted:!1,submitCount:0,touched:{},isSubmitting:!1,isSubmitSuccessful:!1,isValid:!oe,errors:{}}),Ce=(0,e.useRef)({isDirty:!ve,dirtyFields:!ve,touched:!ve||le,isValidating:!ve,isSubmitting:!ve,isValid:!ve}),Oe=(0,e.useRef)(ye),xe=(0,e.useRef)(),{isOnBlur:De,isOnChange:ke}=(0,e.useRef)(he(n)).current;Z.current=l,ee.current=s,Oe.current=ye,K.current=h?{}:W(K.current)?pe(d):K.current;const Se=(0,e.useCallback)(((e={})=>{V.current||(Oe.current=Object.assign(Object.assign({},Oe.current),e),we(Oe.current))}),[]),Ee=()=>Ce.current.isValidating&&Se({isValidating:!0}),Me=(0,e.useCallback)(((e,t,n=!1,r={},o)=>{let a=n||(({errors:e,name:t,error:n,validFields:r,fieldsWithValidation:o})=>{const a=M(n),i=_(e,t);return a&&!!i||!a&&!$(i,n,!0)||a&&_(o,t)&&!_(r,t)})({errors:Oe.current.errors,error:t,name:e,validFields:T.current,fieldsWithValidation:j.current});const i=_(Oe.current.errors,e);t?(B(T.current,e),a=a||!i||!$(i,t,!0),S(Oe.current.errors,e,t)):((_(j.current,e)||ee.current)&&(S(T.current,e,!0),a=a||i),B(Oe.current.errors,e)),(a&&!w(n)||!W(r)||Ce.current.isValidating)&&Se(Object.assign(Object.assign(Object.assign({},r),ee.current?{isValid:!!o}:{}),{isValidating:!1}))}),[]),_e=(0,e.useCallback)(((e,t)=>{const{ref:n,options:o}=g.current[e],a=de&&r(n)&&w(t)?"":t;A(n)?(o||[]).forEach((({ref:e})=>e.checked=e.value===a)):I(n)&&!Q(a)?n.files=a:N(n)?[...n.options].forEach((e=>e.selected=a.includes(e.value))):R(n)&&o?o.length>1?o.forEach((({ref:e})=>e.checked=Array.isArray(a)?!!a.find((t=>t===e.value)):a===e.value)):o[0].ref.checked=!!a:n.value=a}),[]),Pe=(0,e.useCallback)(((e,t)=>{if(Ce.current.isDirty){const n=He();return e&&t&&S(n,e,t),!$(n,L.current)}return!1}),[]),je=(0,e.useCallback)(((e,t=!0)=>{if(Ce.current.isDirty||Ce.current.dirtyFields){const n=!$(_(L.current,e),H(g,e,K)),r=_(Oe.current.dirtyFields,e),o=Oe.current.isDirty;n?S(Oe.current.dirtyFields,e,!0):B(Oe.current.dirtyFields,e);const a={isDirty:Pe(),dirtyFields:Oe.current.dirtyFields},i=Ce.current.isDirty&&o!==a.isDirty||Ce.current.dirtyFields&&r!==_(Oe.current.dirtyFields,e);return i&&t&&Se(a),i?a:{}}return{}}),[]),Te=(0,e.useCallback)((async(e,t)=>{const n=(await ae(g,be,g.current[e],K))[e];return Me(e,n,t),M(n)}),[Me,be]),Ae=(0,e.useCallback)((async e=>{const{errors:t}=await ee.current(He(),Z.current,be),n=Oe.current.isValid;if(Array.isArray(e)){const n=e.map((e=>{const n=_(t,e);return n?S(Oe.current.errors,e,n):B(Oe.current.errors,e),!n})).every(Boolean);return Se({isValid:W(t),isValidating:!1}),n}{const r=_(t,e);return Me(e,r,n!==W(t),{},W(t)),!r}}),[Me,be]),Ie=(0,e.useCallback)((async e=>{const t=e||Object.keys(g.current);if(Ee(),ee.current)return Ae(t);if(Array.isArray(t)){!e&&(Oe.current.errors={});const n=await Promise.all(t.map((async e=>await Te(e,null))));return Se({isValidating:!1}),n.every(Boolean)}return await Te(t)}),[Ae,Te]),Re=(0,e.useCallback)(((e,t,{shouldDirty:n,shouldValidate:r})=>{const o={};S(o,e,t);for(const a of ie(e,t))g.current[a]&&(_e(a,_(o,a)),n&&je(a),r&&Ie(a))}),[Ie,_e,je]),Ne=(0,e.useCallback)(((e,t,n)=>{if(!h&&!q(t)&&S(K.current,e,Array.isArray(t)?[...t]:Object.assign({},t)),g.current[e])_e(e,t),n.shouldDirty&&je(e),n.shouldValidate&&Ie(e);else if(!q(t)&&(Re(e,t,n),ne.current.has(e))){const r=ce(e)||e;S(v.current,e,t),G.current[r]({[r]:_(v.current,r)}),(Ce.current.isDirty||Ce.current.dirtyFields)&&n.shouldDirty&&(S(Oe.current.dirtyFields,e,J(t,_(L.current,e,[]),_(Oe.current.dirtyFields,e,[]))),Se({isDirty:!$(Object.assign(Object.assign({},He()),{[e]:t}),L.current)}))}!h&&S(K.current,e,t)}),[je,_e,Re]),Le=e=>F.current||y.current.has(e)||y.current.has((e.match(/\w+/)||[])[0]),Ve=e=>{let t=!0;if(!W(C.current))for(const n in C.current)e&&C.current[n].size&&!C.current[n].has(e)&&!C.current[n].has(ce(e))||(k.current[n](),t=!1);return t};function Fe(e){if(!h){let t=pe(e);for(const e of ne.current)x(e)&&!t[e]&&(t=Object.assign(Object.assign({},t),{[e]:[]}));return t}return e}function He(e){if(Q(e))return H(g,e,K);if(Array.isArray(e)){const t={};for(const n of e)S(t,n,H(g,n,K));return t}return Fe(X(g,pe(K.current),h))}z.current=z.current?z.current:async({type:e,target:t})=>{let n=t.name;const r=g.current[n];let a,i;if(r){const s=e===o,u=ue(Object.assign({isBlurEvent:s,isReValidateOnChange:ke,isReValidateOnBlur:De,isTouched:!!_(Oe.current.touched,n),isSubmitted:Oe.current.isSubmitted},re.current));let c=je(n,!1),l=!W(c)||!s&&Le(n);if(s&&!_(Oe.current.touched,n)&&Ce.current.touched&&(S(Oe.current.touched,n,!0),c=Object.assign(Object.assign({},c),{touched:Oe.current.touched})),!h&&R(t)&&S(K.current,n,H(g,n)),u)return!s&&Ve(n),(!W(c)||l&&W(c))&&Se(c);if(Ee(),ee.current){const{errors:e}=await ee.current(He(),Z.current,be),r=Oe.current.isValid;if(a=_(e,n),R(t)&&!a&&ee.current){const t=ce(n),r=_(e,t,{});r.type&&r.message&&(a=r),t&&(r||_(Oe.current.errors,t))&&(n=t)}i=W(e),r!==i&&(l=!0)}else a=(await ae(g,be,r,K))[n];!s&&Ve(n),Me(n,a,l,c,i)}};const Ue=(0,e.useCallback)((async(e={})=>{const t=W(g.current)?L.current:{},{errors:n}=await ee.current(Object.assign(Object.assign(Object.assign({},t),He()),e),Z.current,be)||{},r=W(n);Oe.current.isValid!==r&&Se({isValid:r})}),[be]),We=(0,e.useCallback)(((e,t)=>{!function(e,t,n,r,o,a){const{ref:i,ref:{name:s}}=n,u=e.current[s];if(!o){const t=H(e,s,r);!M(t)&&S(r.current,s,t)}i.type&&u?A(i)||R(i)?Array.isArray(u.options)&&u.options.length?(D(u.options).forEach(((e={},n)=>{(U(e.ref)&&Y(e,e.ref)||a)&&(P(e.ref,t),B(u.options,`[${n}]`))})),u.options&&!D(u.options).length&&delete e.current[s]):delete e.current[s]:(U(i)&&Y(u,i)||a)&&(P(i,t),delete e.current[s]):delete e.current[s]}(g,z.current,e,K,h,t),h&&(B(T.current,e.ref.name),B(j.current,e.ref.name))}),[h]),ze=(0,e.useCallback)((e=>{if(F.current)Se();else{for(const t of y.current)if(t.startsWith(e)){Se();break}Ve(e)}}),[]),Be=(0,e.useCallback)(((e,t)=>{e&&(We(e,t),h&&!D(e.options||[]).length&&(B(Oe.current.errors,e.ref.name),S(Oe.current.dirtyFields,e.ref.name,!0),Se({isDirty:Pe()}),Ce.current.isValid&&ee.current&&Ue(),ze(e.ref.name)))}),[Ue,We]);const Ye=(0,e.useCallback)(((e,t,n)=>{const r=n?C.current[n]:y.current;let o=X(g,pe(K.current),h,!1,e);if(Q(e)){const n=ce(e)||e;return ne.current.has(n)&&(o=Object.assign(Object.assign({},b.current),o)),se(o,e,r,M(_(L.current,e))?t:_(L.current,e),!0)}const a=M(t)?L.current:t;return Array.isArray(e)?e.reduce(((e,t)=>Object.assign(Object.assign({},e),{[t]:se(o,t,r,a)})),{}):(F.current=M(n),E(!W(o)&&o||a))}),[]);function qe(e,t={}){const{name:n,type:s,value:u}=e,c=Object.assign({ref:e},t),l=g.current,f=me(e),d=fe(ne.current,n),p=t=>de&&(!r(e)||t===e);let m,v=l[n],b=!0;if(v&&(f?Array.isArray(v.options)&&D(v.options).find((e=>u===e.ref.value&&p(e.ref))):p(v.ref)))return void(l[n]=Object.assign(Object.assign({},v),t));v=s?f?Object.assign({options:[...D(v&&v.options||[]),{ref:e}],ref:{type:s,name:n}},t):Object.assign({},c):c,l[n]=v;const y=M(_(K.current,n));W(L.current)&&y||(m=_(y?L.current:K.current,n),b=M(m),b||d||_e(n,m)),W(t)||(S(j.current,n,!0),!oe&&Ce.current.isValid&&ae(g,be,v,K).then((e=>{const t=Oe.current.isValid;W(e)?S(T.current,n,!0):B(T.current,n),t!==W(e)&&Se()}))),!h||d&&b||!d&&B(Oe.current.dirtyFields,n),s&&function({ref:e},t,n){r(e)&&n&&(e.addEventListener(t?a:i,n),e.addEventListener(o,n))}(f&&v.options?v.options[v.options.length-1]:v,f||"select-one"===e.type,z.current)}const Ke=(0,e.useCallback)(((e,t)=>async n=>{n&&n.preventDefault&&(n.preventDefault(),n.persist());let r={},o=Fe(X(g,pe(K.current),h,!0));Ce.current.isSubmitting&&Se({isSubmitting:!0});try{if(ee.current){const{errors:e,values:t}=await ee.current(o,Z.current,be);Oe.current.errors=r=e,o=t}else for(const e of Object.values(g.current))if(e){const{name:t}=e.ref,n=await ae(g,be,e,K);n[t]?(S(r,t,n[t]),B(T.current,t)):_(j.current,t)&&(B(Oe.current.errors,t),S(T.current,t,!0))}W(r)&&Object.keys(Oe.current.errors).every((e=>e in g.current))?(Se({errors:{},isSubmitting:!0}),await e(o,n)):(Oe.current.errors=Object.assign(Object.assign({},Oe.current.errors),r),t&&await t(Oe.current.errors,n),p&&((e,t)=>{for(const n in e)if(_(t,n)){const t=e[n];if(t){if(t.ref.focus&&M(t.ref.focus()))break;if(t.options){t.options[0].ref.focus();break}}}})(g.current,Oe.current.errors))}finally{Oe.current.isSubmitting=!1,Se({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:W(Oe.current.errors),submitCount:Oe.current.submitCount+1})}}),[p,be]);(0,e.useEffect)((()=>{s&&Ce.current.isValid&&Ue(),xe.current=xe.current||!de?xe.current:function(e,t){const n=new MutationObserver((()=>{for(const n of Object.values(e.current))if(n&&n.options)for(const e of n.options)e&&e.ref&&U(e.ref)&&t(n);else n&&U(n.ref)&&t(n)}));return n.observe(window.document,{childList:!0,subtree:!0}),n}(g,Be)}),[Be,L.current]),(0,e.useEffect)((()=>()=>{xe.current&&xe.current.disconnect(),V.current=!0,Object.values(g.current).forEach((e=>Be(e,!0)))}),[]),!s&&Ce.current.isValid&&(ye.isValid=$(T.current,j.current)&&W(Oe.current.errors));const $e={trigger:Ie,setValue:(0,e.useCallback)((function(e,t,n){Ne(e,t,n||{}),Le(e)&&Se(),Ve(e)}),[Ne,Ie]),getValues:(0,e.useCallback)(He,[]),register:(0,e.useCallback)((function(e,t){if(!ge)if(Q(e))qe({name:e},t);else{if(!O(e)||!("name"in e))return t=>t&&qe(t,e);qe(e,t)}}),[L.current]),unregister:(0,e.useCallback)((function(e){for(const t of Array.isArray(e)?e:[e])Be(g.current[t],!0)}),[]),formState:ve?new Proxy(ye,{get:(e,t)=>t in e?(Ce.current[t]=!0,e[t]):undefined}):ye},Ge=(0,e.useMemo)((()=>Object.assign({isFormDirty:Pe,updateWatchedValue:ze,shouldUnregister:h,updateFormState:Se,removeFieldEventListener:We,watchInternal:Ye,mode:re.current,reValidateMode:{isReValidateOnBlur:De,isReValidateOnChange:ke},validateResolver:s?Ue:undefined,fieldsRef:g,resetFieldArrayFunctionRef:G,useWatchFieldsRef:C,useWatchRenderFunctionsRef:k,fieldArrayDefaultValuesRef:v,validFieldsRef:T,fieldsWithValidationRef:j,fieldArrayNamesRef:ne,readFormStateRef:Ce,formStateRef:Oe,defaultValuesRef:L,shallowFieldsStateRef:K,fieldArrayValuesRef:b},$e)),[L.current,ze,h,We,Ye]);return Object.assign({watch:function(e,t){return Ye(e,t)},control:Ge,handleSubmit:Ke,reset:(0,e.useCallback)(((e,t={})=>{if(de)for(const e of Object.values(g.current))if(e){const{ref:t,options:o}=e,a=me(t)&&Array.isArray(o)?o[0].ref:t;if(r(a))try{a.closest("form").reset();break}catch(n){}}g.current={},L.current=Object.assign({},e||L.current),e&&Ve(""),Object.values(G.current).forEach((e=>te(e)&&e())),K.current=h?{}:pe(e||L.current),(({errors:e,isDirty:t,isSubmitted:n,touched:r,isValid:o,submitCount:a,dirtyFields:i})=>{o||(T.current={},j.current={}),v.current={},y.current=new Set,F.current=!1,Se({submitCount:a?Oe.current.submitCount:0,isDirty:!!t&&Oe.current.isDirty,isSubmitted:!!n&&Oe.current.isSubmitted,isValid:!!o&&Oe.current.isValid,dirtyFields:i?Oe.current.dirtyFields:{},touched:r?Oe.current.touched:{},errors:e?Oe.current.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})})(t)}),[]),clearErrors:(0,e.useCallback)((function(e){e&&(Array.isArray(e)?e:[e]).forEach((e=>g.current[e]&&x(e)?delete Oe.current.errors[e]:B(Oe.current.errors,e))),Se({errors:e?Oe.current.errors:{}})}),[]),setError:(0,e.useCallback)((function(e,t){const n=(g.current[e]||{}).ref;S(Oe.current.errors,e,Object.assign(Object.assign({},t),{ref:n})),Se({isValid:!1}),t.shouldFocus&&n&&n.focus&&n.focus()}),[]),errors:ye.errors},$e)}
|
13 |
/*! *****************************************************************************
|
14 |
Copyright (c) Microsoft Corporation.
|
15 |
|
@@ -23,7 +23,7 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
23 |
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
24 |
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
25 |
PERFORMANCE OF THIS SOFTWARE.
|
26 |
-
***************************************************************************** */const ye=(0,e.createContext)(null);ye.displayName="RHFContext";const we=()=>(0,e.useContext)(ye);var Ce=function(t){var n=t.as,r=t.errors,o=t.name,a=t.message,i=t.render,s=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(o[n]=e[n]);return o}(t,["as","errors","name","message","render"]),u=we(),c=_(r||u.errors,o);if(!c)return null;var l=c.message,f=c.types,d=Object.assign({},s,{children:l||a});return(0,e.isValidElement)(n)?(0,e.cloneElement)(n,d):i?i({message:l||a,messages:f}):(0,e.createElement)(n||e.Fragment,d)};function Oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xe(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 De(e,t,n){return t&&xe(e.prototype,t),n&&xe(e,n),e}function ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Se(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&&ke(e,t)}function Ee(e){return(Ee="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 Me(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _e(e,t){return!t||"object"!==Ee(t)&&"function"!=typeof t?Me(e):t}function Pe(e){return(Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var je=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Te(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],o=t[n],!(r===o||je(r)&&je(o)))return!1;var r,o;return!0}var Ae=function(e,t){var n;void 0===t&&(t=Te);var r,o=[],a=!1;return function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return a&&n===this&&t(i,o)||(r=e.apply(this,i),a=!0,n=this,o=i),r}};var Ie=function(){function e(e){this.isSpeedy=e.speedy===undefined||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==undefined&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var o=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{var a=105===e.charCodeAt(1)&&64===e.charCodeAt(0);o.insertRule(e,a?0:o.cssRules.length)}catch(i){0}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}();var Re=function(e){function t(e,r,u,c,d){for(var p,h,m,g,w,O=0,x=0,D=0,k=0,S=0,T=0,I=m=p=0,N=0,L=0,V=0,F=0,H=u.length,U=H-1,W="",z="",B="",Y="";N<H;){if(h=u.charCodeAt(N),N===U&&0!==x+k+D+O&&(0!==x&&(h=47===x?10:47),k=D=O=0,H++,U++),0===x+k+D+O){if(N===U&&(0<L&&(W=W.replace(f,"")),0<W.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:W+=u.charAt(N)}h=59}switch(h){case 123:for(p=(W=W.trim()).charCodeAt(0),m=1,F=++N;N<H;){switch(h=u.charCodeAt(N)){case 123:m++;break;case 125:m--;break;case 47:switch(h=u.charCodeAt(N+1)){case 42:case 47:e:{for(I=N+1;I<U;++I)switch(u.charCodeAt(I)){case 47:if(42===h&&42===u.charCodeAt(I-1)&&N+2!==I){N=I+1;break e}break;case 10:if(47===h){N=I+1;break e}}N=I}}break;case 91:h++;case 40:h++;case 34:case 39:for(;N++<U&&u.charCodeAt(N)!==h;);}if(0===m)break;N++}switch(m=u.substring(F,N),0===p&&(p=(W=W.replace(l,"").trim()).charCodeAt(0)),p){case 64:switch(0<L&&(W=W.replace(f,"")),h=W.charCodeAt(1)){case 100:case 109:case 115:case 45:L=r;break;default:L=j}if(F=(m=t(r,L,m,h,d+1)).length,0<A&&(w=s(3,m,L=n(j,W,V),r,M,E,F,h,d,c),W=L.join(""),void 0!==w&&0===(F=(m=w.trim()).length)&&(h=0,m="")),0<F)switch(h){case 115:W=W.replace(C,i);case 100:case 109:case 45:m=W+"{"+m+"}";break;case 107:m=(W=W.replace(v,"$1 $2"))+"{"+m+"}",m=1===P||2===P&&a("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=W+m,112===c&&(z+=m,m="")}else m="";break;default:m=t(r,n(r,W,V),m,c,d+1)}B+=m,m=V=L=I=p=0,W="",h=u.charCodeAt(++N);break;case 125:case 59:if(1<(F=(W=(0<L?W.replace(f,""):W).trim()).length))switch(0===I&&(p=W.charCodeAt(0),45===p||96<p&&123>p)&&(F=(W=W.replace(" ",":")).length),0<A&&void 0!==(w=s(1,W,r,e,M,E,z.length,c,d,c))&&0===(F=(W=w.trim()).length)&&(W="\0\0"),p=W.charCodeAt(0),h=W.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){Y+=W+u.charAt(N);break}default:58!==W.charCodeAt(F-1)&&(z+=o(W,p,h,W.charCodeAt(2)))}V=L=I=p=0,W="",h=u.charCodeAt(++N)}}switch(h){case 13:case 10:47===x?x=0:0===1+p&&107!==c&&0<W.length&&(L=1,W+="\0"),0<A*R&&s(0,W,r,e,M,E,z.length,c,d,c),E=1,M++;break;case 59:case 125:if(0===x+k+D+O){E++;break}default:switch(E++,g=u.charAt(N),h){case 9:case 32:if(0===k+O+x)switch(S){case 44:case 58:case 9:case 32:g="";break;default:32!==h&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===k+x+O&&(L=V=1,g="\f"+g);break;case 108:if(0===k+x+O+_&&0<I)switch(N-I){case 2:112===S&&58===u.charCodeAt(N-3)&&(_=S);case 8:111===T&&(_=T)}break;case 58:0===k+x+O&&(I=N);break;case 44:0===x+D+k+O&&(L=1,g+="\r");break;case 34:case 39:0===x&&(k=k===h?0:0===k?h:k);break;case 91:0===k+x+D&&O++;break;case 93:0===k+x+D&&O--;break;case 41:0===k+x+O&&D--;break;case 40:if(0===k+x+O){if(0===p)switch(2*S+3*T){case 533:break;default:p=1}D++}break;case 64:0===x+D+k+O+I+m&&(m=1);break;case 42:case 47:if(!(0<k+O+D))switch(x){case 0:switch(2*h+3*u.charCodeAt(N+1)){case 235:x=47;break;case 220:F=N,x=42}break;case 42:47===h&&42===S&&F+2!==N&&(33===u.charCodeAt(F+2)&&(z+=u.substring(F,N+1)),g="",x=0)}}0===x&&(W+=g)}T=S,S=h,N++}if(0<(F=z.length)){if(L=r,0<A&&(void 0!==(w=s(2,z,L,e,M,E,F,c,d,c))&&0===(z=w).length))return Y+z+B;if(z=L.join(",")+"{"+z+"}",0!=P*_){switch(2!==P||a(z,2)||(_=0),_){case 111:z=z.replace(y,":-moz-$1")+z;break;case 112:z=z.replace(b,"::-webkit-input-$1")+z.replace(b,"::-moz-$1")+z.replace(b,":-ms-input-$1")+z}_=0}}return Y+z+B}function n(e,t,n){var o=t.trim().split(m);t=o;var a=o.length,i=e.length;switch(i){case 0:case 1:var s=0;for(e=0===i?"":e[0]+" ";s<a;++s)t[s]=r(e,t[s],n).trim();break;default:var u=s=0;for(t=[];s<a;++s)for(var c=0;c<i;++c)t[u++]=r(e[c]+" ",o[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,r){var i=e+";",s=2*t+3*n+4*r;if(944===s){e=i.indexOf(":",9)+1;var u=i.substring(e,i.length-1).trim();return u=i.substring(0,e).trim()+u+";",1===P||2===P&&a(u,1)?"-webkit-"+u+u:u}if(0===P||2===P&&!a(i,1))return i;switch(s){case 1015:return 97===i.charCodeAt(10)?"-webkit-"+i+i:i;case 951:return 116===i.charCodeAt(3)?"-webkit-"+i+i:i;case 963:return 110===i.charCodeAt(5)?"-webkit-"+i+i:i;case 1009:if(100!==i.charCodeAt(4))break;case 969:case 942:return"-webkit-"+i+i;case 978:return"-webkit-"+i+"-moz-"+i+i;case 1019:case 983:return"-webkit-"+i+"-moz-"+i+"-ms-"+i+i;case 883:if(45===i.charCodeAt(8))return"-webkit-"+i+i;if(0<i.indexOf("image-set(",11))return i.replace(S,"$1-webkit-$2")+i;break;case 932:if(45===i.charCodeAt(4))switch(i.charCodeAt(5)){case 103:return"-webkit-box-"+i.replace("-grow","")+"-webkit-"+i+"-ms-"+i.replace("grow","positive")+i;case 115:return"-webkit-"+i+"-ms-"+i.replace("shrink","negative")+i;case 98:return"-webkit-"+i+"-ms-"+i.replace("basis","preferred-size")+i}return"-webkit-"+i+"-ms-"+i+i;case 964:return"-webkit-"+i+"-ms-flex-"+i+i;case 1023:if(99!==i.charCodeAt(8))break;return"-webkit-box-pack"+(u=i.substring(i.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+i+"-ms-flex-pack"+u+i;case 1005:return p.test(i)?i.replace(d,":-webkit-")+i.replace(d,":-moz-")+i:i;case 1e3:switch(t=(u=i.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(t)){case 226:u=i.replace(w,"tb");break;case 232:u=i.replace(w,"tb-rl");break;case 220:u=i.replace(w,"lr");break;default:return i}return"-webkit-"+i+"-ms-"+u+i;case 1017:if(-1===i.indexOf("sticky",9))break;case 975:switch(t=(i=e).length-10,s=(u=(33===i.charCodeAt(t)?i.substring(0,t):i).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(111>u.charCodeAt(8))break;case 115:i=i.replace(u,"-webkit-"+u)+";"+i;break;case 207:case 102:i=i.replace(u,"-webkit-"+(102<s?"inline-":"")+"box")+";"+i.replace(u,"-webkit-"+u)+";"+i.replace(u,"-ms-"+u+"box")+";"+i}return i+";";case 938:if(45===i.charCodeAt(5))switch(i.charCodeAt(6)){case 105:return u=i.replace("-items",""),"-webkit-"+i+"-webkit-box-"+u+"-ms-flex-"+u+i;case 115:return"-webkit-"+i+"-ms-flex-item-"+i.replace(x,"")+i;default:return"-webkit-"+i+"-ms-flex-line-pack"+i.replace("align-content","").replace(x,"")+i}break;case 973:case 989:if(45!==i.charCodeAt(3)||122===i.charCodeAt(4))break;case 931:case 953:if(!0===k.test(e))return 115===(u=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):i.replace(u,"-webkit-"+u)+i.replace(u,"-moz-"+u.replace("fill-",""))+i;break;case 962:if(i="-webkit-"+i+(102===i.charCodeAt(5)?"-ms-"+i:"")+i,211===n+r&&105===i.charCodeAt(13)&&0<i.indexOf("transform",10))return i.substring(0,i.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+i}return i}function a(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),I(2!==t?r:r.replace(D,"$1"),n,t)}function i(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(O," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,o,a,i,s,u,l){for(var f,d=0,p=t;d<A;++d)switch(f=T[d].call(c,e,p,n,r,o,a,i,s,u,l)){case void 0:case!1:case!0:case null:break;default:p=f}if(p!==t)return p}function u(e){return void 0!==(e=e.prefix)&&(I=null,e?"function"!=typeof e?P=1:(P=2,I=e):P=0),u}function c(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<A){var o=s(-1,n,r,r,M,E,0,0,0,0);void 0!==o&&"string"==typeof o&&(n=o)}var a=t(j,r,n,0,0);return 0<A&&(void 0!==(o=s(-2,a,r,r,M,E,a.length,0,0,0))&&(a=o)),"",_=0,E=M=1,a}var l=/^\0+/g,f=/[\0\r\f]/g,d=/: */g,p=/zoo|gra/,h=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,b=/::(place)/g,y=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,C=/\(\s*(.*)\s*\)/g,O=/([\s\S]*?);/g,x=/-self|flex-/g,D=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,S=/([^-])(image-set\()/,E=1,M=1,_=0,P=1,j=[],T=[],A=0,I=null,R=0;return c.use=function N(e){switch(e){case void 0:case null:A=T.length=0;break;default:if("function"==typeof e)T[A++]=e;else if("object"==typeof e)for(var t=0,n=e.length;t<n;++t)N(e[t]);else R=0|!!e}return N},c.set=u,void 0!==e&&u(e),c},Ne="/*|*/";function Le(e){e&&Ve.current.insert(e+"}")}var Ve={current:null},Fe=function(e,t,n,r,o,a,i,s,u,c){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return Ve.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===s)return t+Ne;break;case 3:switch(s){case 102:case 112:return Ve.current.insert(n[0]+t),"";default:return t+(0===c?Ne:"")}case-2:t.split("/*|*/}").forEach(Le)}},He=function(e){e===undefined&&(e={});var t,n=e.key||"css";e.prefix!==undefined&&(t={prefix:e.prefix});var r=new Re(t);var o,a={};o=e.container||document.head;var i,s=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(s,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){a[e]=!0})),e.parentNode!==o&&o.appendChild(e)})),r.use(e.stylisPlugins)(Fe),i=function(e,t,n,o){var a=t.name;Ve.current=n,r(e,t.styles),o&&(u.inserted[a]=!0)};var u={key:n,sheet:new Ie({key:n,container:o,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:a,registered:{},insert:i};return u};function Ue(e,t,n){var r="";return n.split(" ").forEach((function(n){e[n]!==undefined?t.push(e[n]):r+=n+" "})),r}var We=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&e.registered[r]===undefined&&(e.registered[r]=t.styles),e.inserted[t.name]===undefined){var o=t;do{e.insert("."+r,o,e.sheet,!0);o=o.next}while(o!==undefined)}};var ze=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},Be={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var Ye=/[A-Z]|^ms/g,qe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ke=function(e){return 45===e.charCodeAt(1)},$e=function(e){return null!=e&&"boolean"!=typeof e},Ge=function(e){var t={};return function(n){return t[n]===undefined&&(t[n]=e(n)),t[n]}}((function(e){return Ke(e)?e:e.replace(Ye,"-$&").toLowerCase()})),Je=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(qe,(function(e,t,n){return Xe={name:t,styles:n,next:Xe},t}))}return 1===Be[e]||Ke(e)||"number"!=typeof t||0===t?t:t+"px"};function Qe(e,t,n,r){if(null==n)return"";if(n.__emotion_styles!==undefined)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return Xe={name:n.name,styles:n.styles,next:Xe},n.name;if(n.styles!==undefined){var o=n.next;if(o!==undefined)for(;o!==undefined;)Xe={name:o.name,styles:o.styles,next:Xe},o=o.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Qe(e,t,n[o],!1);else for(var a in n){var i=n[a];if("object"!=typeof i)null!=t&&t[i]!==undefined?r+=a+"{"+t[i]+"}":$e(i)&&(r+=Ge(a)+":"+Je(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&t[i[0]]!==undefined){var s=Qe(e,t,i,!1);switch(a){case"animation":case"animationName":r+=Ge(a)+":"+s+";";break;default:r+=a+"{"+s+"}"}}else for(var u=0;u<i.length;u++)$e(i[u])&&(r+=Ge(a)+":"+Je(a,i[u])+";")}return r}(e,t,n);case"function":if(e!==undefined){var a=Xe,i=n(e);return Xe=a,Qe(e,t,i,r)}break;case"string":}if(null==t)return n;var s=t[n];return s===undefined||r?n:s}var Xe,Ze=/label:\s*([^\s;\n{]+)\s*;/g;var et=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&e[0].styles!==undefined)return e[0];var r=!0,o="";Xe=undefined;var a=e[0];null==a||a.raw===undefined?(r=!1,o+=Qe(n,t,a,!1)):o+=a[0];for(var i=1;i<e.length;i++)o+=Qe(n,t,e[i],46===o.charCodeAt(o.length-1)),r&&(o+=a[i]);Ze.lastIndex=0;for(var s,u="";null!==(s=Ze.exec(o));)u+="-"+s[1];return{name:ze(o)+u,styles:o,next:Xe}},tt=Object.prototype.hasOwnProperty,nt=(0,e.createContext)("undefined"!=typeof HTMLElement?He():null),rt=(0,e.createContext)({}),ot=nt.Provider,at=function(t){var n=function(n,r){return(0,e.createElement)(nt.Consumer,null,(function(e){return t(n,e,r)}))};return(0,e.forwardRef)(n)},it="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",st=function(e,t){var n={};for(var r in t)tt.call(t,r)&&(n[r]=t[r]);return n[it]=e,n},ut=function(t,n,r,o){var a=null===r?n.css:n.css(r);"string"==typeof a&&t.registered[a]!==undefined&&(a=t.registered[a]);var i=n[it],s=[a],u="";"string"==typeof n.className?u=Ue(t.registered,s,n.className):null!=n.className&&(u=n.className+" ");var c=et(s);We(t,c,"string"==typeof i);u+=t.key+"-"+c.name;var l={};for(var f in n)tt.call(n,f)&&"css"!==f&&f!==it&&(l[f]=n[f]);return l.ref=o,l.className=u,(0,e.createElement)(i,l)},ct=at((function(t,n,r){return"function"==typeof t.css?(0,e.createElement)(rt.Consumer,null,(function(e){return ut(n,t,e,r)})):ut(n,t,null,r)}));var lt=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return et(t)},ft=function(t,n){var r=arguments;if(null==n||!tt.call(n,"css"))return e.createElement.apply(undefined,r);var o=r.length,a=new Array(o);a[0]=ct,a[1]=st(t,n);for(var i=2;i<o;i++)a[i]=r[i];return e.createElement.apply(null,a)},dt=at((function(t,n){var r=t.styles;if("function"==typeof r)return(0,e.createElement)(rt.Consumer,null,(function(t){var o=et([r(t)]);return(0,e.createElement)(pt,{serialized:o,cache:n})}));var o=et([r]);return(0,e.createElement)(pt,{serialized:o,cache:n})})),pt=function(e){var t,n;function r(t,n,r){return e.call(this,t,n,r)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,ke(t,n);var o=r.prototype;return o.componentDidMount=function(){this.sheet=new Ie({key:this.props.cache.key+"-global",nonce:this.props.cache.sheet.nonce,container:this.props.cache.sheet.container});var e=document.querySelector("style[data-emotion-"+this.props.cache.key+'="'+this.props.serialized.name+'"]');null!==e&&this.sheet.tags.push(e),this.props.cache.sheet.tags.length&&(this.sheet.before=this.props.cache.sheet.tags[0]),this.insertStyles()},o.componentDidUpdate=function(e){e.serialized.name!==this.props.serialized.name&&this.insertStyles()},o.insertStyles=function(){if(this.props.serialized.next!==undefined&&We(this.props.cache,this.props.serialized.next,!0),this.sheet.tags.length){var e=this.sheet.tags[this.sheet.tags.length-1].nextElementSibling;this.sheet.before=e,this.sheet.flush()}this.props.cache.insert("",this.props.serialized,this.sheet,!1)},o.componentWillUnmount=function(){this.sheet.flush()},o.render=function(){return null},r}(e.Component),ht=function ti(e){for(var t=e.length,n=0,r="";n<t;n++){var o=e[n];if(null!=o){var a=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))a=ti(o);else for(var i in a="",o)o[i]&&i&&(a&&(a+=" "),a+=i);break;default:a=o}a&&(r&&(r+=" "),r+=a)}}return r};function mt(e,t,n){var r=[],o=Ue(e,r,n);return r.length<2?n:o+t(r)}var gt=at((function(t,n){return(0,e.createElement)(rt.Consumer,null,(function(e){var r=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var o=et(t,n.registered);return We(n,o,!1),n.key+"-"+o.name},o={css:r,cx:function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return mt(n.registered,r,ht(t))},theme:e},a=t.children(o);return!0,a}))})),vt=ReactDOM;function bt(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function yt(e,t){if(null==e)return{};var n,r,o=bt(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function wt(){return(wt=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}).apply(this,arguments)}function Ct(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 Ot(e,t){if(e){if("string"==typeof e)return Ct(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)?Ct(e,t):void 0}}function xt(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){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)||Ot(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 Dt(e){return function(e){if(Array.isArray(e))return Ct(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ot(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 kt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var St=n(639),Et=function(){};function Mt(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function _t(e,t,n){var r=[n];if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&r.push("".concat(Mt(e,o)));return r.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var Pt=function(e){return Array.isArray(e)?e.filter(Boolean):"object"===Ee(e)&&null!==e?[e]:[]};function jt(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Tt(e){return jt(e)?window.pageYOffset:e.scrollTop}function At(e,t){jt(e)?window.scrollTo(0,t):e.scrollTop=t}function It(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function Rt(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:200,r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:Et,o=Tt(e),a=t-o,i=10,s=0;function u(){var t=It(s+=i,o,a,n);At(e,t),s<n?window.requestAnimationFrame(u):r(e)}u()}function Nt(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function Lt(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 Vt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lt(Object(n),!0).forEach((function(t){kt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ft(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Pe(e);if(t){var o=Pe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _e(this,n)}}function Ht(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,a=e.shouldScroll,i=e.isFixedPosition,s=e.theme.spacing,u=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/,o=document.documentElement;if("fixed"===t.position)return o;for(var a=e;a=a.parentElement;)if(t=getComputedStyle(a),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return a;return o}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var l=u.getBoundingClientRect().height,f=n.getBoundingClientRect(),d=f.bottom,p=f.height,h=f.top,m=n.offsetParent.getBoundingClientRect().top,g=window.innerHeight,v=Tt(u),b=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),w=m-y,C=g-h,O=w+v,x=l-v-h,D=d-g+v+b,k=v+h-y,S=160;switch(o){case"auto":case"bottom":if(C>=p)return{placement:"bottom",maxHeight:t};if(x>=p&&!i)return a&&Rt(u,D,S),{placement:"bottom",maxHeight:t};if(!i&&x>=r||i&&C>=r)return a&&Rt(u,D,S),{placement:"bottom",maxHeight:i?C-b:x-b};if("auto"===o||i){var E=t,M=i?w:O;return M>=r&&(E=Math.min(M-b-s.controlHeight,t)),{placement:"top",maxHeight:E}}if("bottom"===o)return At(u,D),{placement:"bottom",maxHeight:t};break;case"top":if(w>=p)return{placement:"top",maxHeight:t};if(O>=p&&!i)return a&&Rt(u,k,S),{placement:"top",maxHeight:t};if(!i&&O>=r||i&&w>=r){var _=t;return(!i&&O>=r||i&&w>=r)&&(_=i?w-y:O-y),a&&Rt(u,k,S),{placement:"top",maxHeight:_}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}var Ut=function(e){return"auto"===e?"bottom":e},Wt=(0,e.createContext)({getPortalPlacement:null}),zt=function(e){Se(n,e);var t=Ft(n);function n(){var e;Oe(this,n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).state={maxHeight:e.props.maxMenuHeight,placement:null},e.getPlacement=function(t){var n=e.props,r=n.minMenuHeight,o=n.maxMenuHeight,a=n.menuPlacement,i=n.menuPosition,s=n.menuShouldScrollIntoView,u=n.theme;if(t){var c="fixed"===i,l=Ht({maxHeight:o,menuEl:t,minHeight:r,placement:a,shouldScroll:s&&!c,isFixedPosition:c,theme:u}),f=e.context.getPortalPlacement;f&&f(l),e.setState(l)}},e.getUpdatedProps=function(){var t=e.props.menuPlacement,n=e.state.placement||Ut(t);return Vt(Vt({},e.props),{},{placement:n,maxHeight:e.state.maxHeight})},e}return De(n,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),n}(e.Component);zt.contextType=Wt;var Bt=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px"),textAlign:"center"}},Yt=Bt,qt=Bt,Kt=function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps;return ft("div",wt({css:o("noOptionsMessage",e),className:r({"menu-notice":!0,"menu-notice--no-options":!0},n)},a),t)};Kt.defaultProps={children:"No options"};var $t=function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps;return ft("div",wt({css:o("loadingMessage",e),className:r({"menu-notice":!0,"menu-notice--loading":!0},n)},a),t)};$t.defaultProps={children:"Loading..."};var Gt=function(e){Se(n,e);var t=Ft(n);function n(){var e;Oe(this,n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).state={placement:null},e.getPortalPlacement=function(t){var n=t.placement;n!==Ut(e.props.menuPlacement)&&e.setState({placement:n})},e}return De(n,[{key:"render",value:function(){var e=this.props,t=e.appendTo,n=e.children,r=e.controlElement,o=e.menuPlacement,a=e.menuPosition,i=e.getStyles,s="fixed"===a;if(!t&&!s||!r)return null;var u=this.state.placement||Ut(o),c=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),l=s?0:window.pageYOffset,f=c[u]+l,d=ft("div",{css:i("menuPortal",{offset:f,position:a,rect:c})},n);return ft(Wt.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},t?(0,vt.createPortal)(d,t):d)}}]),n}(e.Component),Jt=Array.isArray,Qt=Object.keys,Xt=Object.prototype.hasOwnProperty;function Zt(e,t){if(e===t)return!0;if(e&&t&&"object"==Ee(e)&&"object"==Ee(t)){var n,r,o,a=Jt(e),i=Jt(t);if(a&&i){if((r=e.length)!=t.length)return!1;for(n=r;0!=n--;)if(!Zt(e[n],t[n]))return!1;return!0}if(a!=i)return!1;var s=e instanceof Date,u=t instanceof Date;if(s!=u)return!1;if(s&&u)return e.getTime()==t.getTime();var c=e instanceof RegExp,l=t instanceof RegExp;if(c!=l)return!1;if(c&&l)return e.toString()==t.toString();var f=Qt(e);if((r=f.length)!==Qt(t).length)return!1;for(n=r;0!=n--;)if(!Xt.call(t,f[n]))return!1;for(n=r;0!=n--;)if(!("_owner"===(o=f[n])&&e.$$typeof||Zt(e[o],t[o])))return!1;return!0}return e!=e&&t!=t}function en(e,t){try{return Zt(e,t)}catch(n){if(n.message&&n.message.match(/stack|recursion/i))return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}}function tn(){var e,t,n=(e=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return tn=function(){return n},n}var nn={name:"19bqh2r",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;"},rn=function(e){var t=e.size,n=yt(e,["size"]);return ft("svg",wt({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:nn},n))},on=function(e){return ft(rn,wt({size:20},e),ft("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},an=function(e){return ft(rn,wt({size:20},e),ft("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},sn=function(e){var t=e.isFocused,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorContainer",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*r,transition:"color 150ms",":hover":{color:t?o.neutral80:o.neutral40}}},un=sn,cn=sn,ln=function(){var e=lt.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(tn()),fn=function(e){var t=e.delay,n=e.offset;return ft("span",{css:lt({animation:"".concat(ln," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":null,height:"1em",verticalAlign:"top",width:"1em"},"")})},dn=function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerProps,a=e.isRtl;return ft("div",wt({},o,{css:r("loadingIndicator",e),className:n({indicator:!0,"loading-indicator":!0},t)}),ft(fn,{delay:0,offset:a}),ft(fn,{delay:160,offset:!0}),ft(fn,{delay:320,offset:!a}))};dn.defaultProps={size:4};function pn(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 hn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pn(Object(n),!0).forEach((function(t){kt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mn(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 gn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mn(Object(n),!0).forEach((function(t){kt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var vn=function(e){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}};function bn(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 yn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bn(Object(n),!0).forEach((function(t){kt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var wn=function(e){var t=e.children,n=e.innerProps;return ft("div",n,t)},Cn=wn,On=wn;var xn=function(e){var t=e.children,n=e.className,r=e.components,o=e.cx,a=e.data,i=e.getStyles,s=e.innerProps,u=e.isDisabled,c=e.removeProps,l=e.selectProps,f=r.Container,d=r.Label,p=r.Remove;return ft(gt,null,(function(r){var h=r.css,m=r.cx;return ft(f,{data:a,innerProps:yn(yn({},s),{},{className:m(h(i("multiValue",e)),o({"multi-value":!0,"multi-value--is-disabled":u},n))}),selectProps:l},ft(d,{data:a,innerProps:{className:m(h(i("multiValueLabel",e)),o({"multi-value__label":!0},n))},selectProps:l},t),ft(p,{data:a,innerProps:yn({className:m(h(i("multiValueRemove",e)),o({"multi-value__remove":!0},n))},c),selectProps:l}))}))};xn.defaultProps={cropWithEllipsis:!0};function Dn(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 kn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dn(Object(n),!0).forEach((function(t){kt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}for(var Sn={ClearIndicator:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps;return ft("div",wt({},a,{css:o("clearIndicator",e),className:r({indicator:!0,"clear-indicator":!0},n)}),t||ft(on,null))},Control:function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.className,a=e.isDisabled,i=e.isFocused,s=e.innerRef,u=e.innerProps,c=e.menuIsOpen;return ft("div",wt({ref:s,css:r("control",e),className:n({control:!0,"control--is-disabled":a,"control--is-focused":i,"control--menu-is-open":c},o)},u),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps;return ft("div",wt({},a,{css:o("dropdownIndicator",e),className:r({indicator:!0,"dropdown-indicator":!0},n)}),t||ft(an,null))},DownChevron:an,CrossIcon:on,Group:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.Heading,i=e.headingProps,s=e.label,u=e.theme,c=e.selectProps;return ft("div",{css:o("group",e),className:r({group:!0},n)},ft(a,wt({},i,{selectProps:c,theme:u,getStyles:o,cx:r}),s),ft("div",null,t))},GroupHeading:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.theme,a=(e.selectProps,yt(e,["className","cx","getStyles","theme","selectProps"]));return ft("div",wt({css:r("groupHeading",hn({theme:o},a)),className:n({"group-heading":!0},t)},a))},IndicatorsContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles;return ft("div",{css:o("indicatorsContainer",e),className:r({indicators:!0},n)},t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerProps;return ft("span",wt({},o,{css:r("indicatorSeparator",e),className:n({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerRef,a=e.isHidden,i=e.isDisabled,s=e.theme,u=(e.selectProps,yt(e,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return ft("div",{css:r("input",gn({theme:s},u))},ft(St.Z,wt({className:n({input:!0},t),inputRef:o,inputStyle:vn(a),disabled:i},u)))},LoadingIndicator:dn,Menu:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerRef,i=e.innerProps;return ft("div",wt({css:o("menu",e),className:r({menu:!0},n)},i,{ref:a}),t)},MenuList:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.isMulti,i=e.innerRef,s=e.innerProps;return ft("div",wt({css:o("menuList",e),className:r({"menu-list":!0,"menu-list--is-multi":a},n),ref:i},s),t)},MenuPortal:Gt,LoadingMessage:$t,NoOptionsMessage:Kt,MultiValue:xn,MultiValueContainer:Cn,MultiValueLabel:On,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return ft("div",n,t||ft(on,{size:14}))},Option:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.isDisabled,i=e.isFocused,s=e.isSelected,u=e.innerRef,c=e.innerProps;return ft("div",wt({css:o("option",e),className:r({option:!0,"option--is-disabled":a,"option--is-focused":i,"option--is-selected":s},n),ref:u},c),t)},Placeholder:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps;return ft("div",wt({css:o("placeholder",e),className:r({placeholder:!0},n)},a),t)},SelectContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps,i=e.isDisabled,s=e.isRtl;return ft("div",wt({css:o("container",e),className:r({"--is-disabled":i,"--is-rtl":s},n)},a),t)},SingleValue:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.isDisabled,i=e.innerProps;return ft("div",wt({css:o("singleValue",e),className:r({"single-value":!0,"single-value--is-disabled":a},n)},i),t)},ValueContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.isMulti,a=e.getStyles,i=e.hasValue;return ft("div",{css:a("valueContainer",e),className:r({"value-container":!0,"value-container--is-multi":o,"value-container--has-value":i},n)},t)}},En=function(e){return kn(kn({},Sn),e.components)},Mn=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],_n=new RegExp("["+Mn.map((function(e){return e.letters})).join("")+"]","g"),Pn={},jn=0;jn<Mn.length;jn++)for(var Tn=Mn[jn],An=0;An<Tn.letters.length;An++)Pn[Tn.letters[An]]=Tn.base;var In=function(e){return e.replace(_n,(function(e){return Pn[e]}))};function Rn(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}var Nn=function(e){return e.replace(/^\s+|\s+$/g,"")},Ln=function(e){return"".concat(e.label," ").concat(e.value)};var Vn={name:"1laao21-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;"},Fn=function(e){return ft("span",wt({css:Vn},e))};function Hn(e){e["in"],e.out,e.onExited,e.appear,e.enter,e.exit;var t=e.innerRef,n=(e.emotion,yt(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return ft("input",wt({ref:t},n,{css:lt({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"},"")}))}function Un(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Pe(e);if(t){var o=Pe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _e(this,n)}}var Wn=function(e){Se(n,e);var t=Un(n);function n(){return Oe(this,n),t.apply(this,arguments)}return De(n,[{key:"componentDidMount",value:function(){this.props.innerRef((0,vt.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),n}(e.Component),zn=["boxSizing","height","overflow","paddingRight","position"],Bn={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Yn(e){e.preventDefault()}function qn(e){e.stopPropagation()}function Kn(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function $n(){return"ontouchstart"in window||navigator.maxTouchPoints}function Gn(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Pe(e);if(t){var o=Pe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _e(this,n)}}var Jn=!(!window.document||!window.document.createElement),Qn=0,Xn=function(e){Se(n,e);var t=Gn(n);function n(){var e;Oe(this,n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).originalStyles={},e.listenerOptions={capture:!1,passive:!1},e}return De(n,[{key:"componentDidMount",value:function(){var e=this;if(Jn){var t=this.props,n=t.accountForScrollbars,r=t.touchScrollTarget,o=document.body,a=o&&o.style;if(n&&zn.forEach((function(t){var n=a&&a[t];e.originalStyles[t]=n})),n&&Qn<1){var i=parseInt(this.originalStyles.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,u=window.innerWidth-s+i||0;Object.keys(Bn).forEach((function(e){var t=Bn[e];a&&(a[e]=t)})),a&&(a.paddingRight="".concat(u,"px"))}o&&$n()&&(o.addEventListener("touchmove",Yn,this.listenerOptions),r&&(r.addEventListener("touchstart",Kn,this.listenerOptions),r.addEventListener("touchmove",qn,this.listenerOptions))),Qn+=1}}},{key:"componentWillUnmount",value:function(){var e=this;if(Jn){var t=this.props,n=t.accountForScrollbars,r=t.touchScrollTarget,o=document.body,a=o&&o.style;Qn=Math.max(Qn-1,0),n&&Qn<1&&zn.forEach((function(t){var n=e.originalStyles[t];a&&(a[t]=n)})),o&&$n()&&(o.removeEventListener("touchmove",Yn,this.listenerOptions),r&&(r.removeEventListener("touchstart",Kn,this.listenerOptions),r.removeEventListener("touchmove",qn,this.listenerOptions)))}}},{key:"render",value:function(){return null}}]),n}(e.Component);function Zn(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Pe(e);if(t){var o=Pe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _e(this,n)}}Xn.defaultProps={accountForScrollbars:!0};var er={name:"1dsbpcp",styles:"position:fixed;left:0;bottom:0;right:0;top:0;"},tr=function(e){Se(n,e);var t=Zn(n);function n(){var e;Oe(this,n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).state={touchScrollTarget:null},e.getScrollTarget=function(t){t!==e.state.touchScrollTarget&&e.setState({touchScrollTarget:t})},e.blurSelectInput=function(){document.activeElement&&document.activeElement.blur()},e}return De(n,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.isEnabled,r=this.state.touchScrollTarget;return n?ft("div",null,ft("div",{onClick:this.blurSelectInput,css:er}),ft(Wn,{innerRef:this.getScrollTarget},t),r?ft(Xn,{touchScrollTarget:r}):null):t}}]),n}(e.PureComponent);function nr(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Pe(e);if(t){var o=Pe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _e(this,n)}}var rr=function(e){Se(r,e);var n=nr(r);function r(){var e;Oe(this,r);for(var t=arguments.length,o=new Array(t),a=0;a<t;a++)o[a]=arguments[a];return(e=n.call.apply(n,[this].concat(o))).isBottom=!1,e.isTop=!1,e.scrollTarget=void 0,e.touchStart=void 0,e.cancelScroll=function(e){e.preventDefault(),e.stopPropagation()},e.handleEventDelta=function(t,n){var r=e.props,o=r.onBottomArrive,a=r.onBottomLeave,i=r.onTopArrive,s=r.onTopLeave,u=e.scrollTarget,c=u.scrollTop,l=u.scrollHeight,f=u.clientHeight,d=e.scrollTarget,p=n>0,h=l-f-c,m=!1;h>n&&e.isBottom&&(a&&a(t),e.isBottom=!1),p&&e.isTop&&(s&&s(t),e.isTop=!1),p&&n>h?(o&&!e.isBottom&&o(t),d.scrollTop=l,m=!0,e.isBottom=!0):!p&&-n>c&&(i&&!e.isTop&&i(t),d.scrollTop=0,m=!0,e.isTop=!0),m&&e.cancelScroll(t)},e.onWheel=function(t){e.handleEventDelta(t,t.deltaY)},e.onTouchStart=function(t){e.touchStart=t.changedTouches[0].clientY},e.onTouchMove=function(t){var n=e.touchStart-t.changedTouches[0].clientY;e.handleEventDelta(t,n)},e.getScrollTarget=function(t){e.scrollTarget=t},e}return De(r,[{key:"componentDidMount",value:function(){this.startListening(this.scrollTarget)}},{key:"componentWillUnmount",value:function(){this.stopListening(this.scrollTarget)}},{key:"startListening",value:function(e){e&&("function"==typeof e.addEventListener&&e.addEventListener("wheel",this.onWheel,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchmove",this.onTouchMove,!1))}},{key:"stopListening",value:function(e){e&&("function"==typeof e.removeEventListener&&e.removeEventListener("wheel",this.onWheel,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchmove",this.onTouchMove,!1))}},{key:"render",value:function(){return t().createElement(Wn,{innerRef:this.getScrollTarget},this.props.children)}}]),r}(e.Component);function or(e){var n=e.isEnabled,r=void 0===n||n,o=yt(e,["isEnabled"]);return r?t().createElement(rr,o):o.children}var ar=function(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},n=t.isSearchable,r=t.isMulti,o=t.label,a=t.isDisabled,i=t.tabSelectsValue;switch(e){case"menu":return"Use Up and Down to choose options".concat(a?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(o||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},ir=function(e,t){var n=t.value,r=t.isDisabled;if(n)switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(n,", deselected.");case"select-option":return"option ".concat(n,r?" is disabled. Select another option.":", selected.")}},sr=function(e){return!!e.isDisabled};var ur={clearIndicator:cn,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},control:function(e){var t=e.isDisabled,n=e.isFocused,r=e.theme,o=r.colors,a=r.borderRadius,i=r.spacing;return{label:"control",alignItems:"center",backgroundColor:t?o.neutral5:o.neutral0,borderColor:t?o.neutral10:n?o.primary:o.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(o.primary):null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?o.primary:o.neutral30}}},dropdownIndicator:un,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?o.neutral10:o.neutral20,marginBottom:2*r,marginTop:2*r,width:1}},input:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return{margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,visibility:t?"hidden":"visible",color:o.neutral80}},loadingIndicator:function(e){var t=e.isFocused,n=e.size,r=e.theme,o=r.colors,a=r.spacing.baseUnit;return{label:"loadingIndicator",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*a,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},loadingMessage:qt,menu:function(e){var t,n=e.placement,r=e.theme,o=r.borderRadius,a=r.spacing,i=r.colors;return kt(t={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n),"100%"),kt(t,"backgroundColor",i.neutral0),kt(t,"borderRadius",o),kt(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),kt(t,"marginBottom",a.menuGutter),kt(t,"marginTop",a.menuGutter),kt(t,"position","absolute"),kt(t,"width","100%"),kt(t,"zIndex",1),t},menuList:function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:r/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,n=t.borderRadius,r=t.colors,o=e.cropWithEllipsis;return{borderRadius:n/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:o?"ellipsis":null,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius,o=t.colors;return{alignItems:"center",borderRadius:r/2,backgroundColor:e.isFocused&&o.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}}},noOptionsMessage:Yt,option:function(e){var t=e.isDisabled,n=e.isFocused,r=e.isSelected,o=e.theme,a=o.spacing,i=o.colors;return{label:"option",backgroundColor:r?i.primary:n?i.primary25:"transparent",color:t?i.neutral20:r?i.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!t&&(r?i.primary:i.primary50)}}},placeholder:function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},singleValue:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return{label:"singleValue",color:t?o.neutral40:o.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"calc(100% - ".concat(2*r.baseUnit,"px)"),overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},valueContainer:function(e){var t=e.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}};var cr={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}};function lr(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 fr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lr(Object(n),!0).forEach((function(t){kt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function dr(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Pe(e);if(t){var o=Pe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _e(this,n)}}var pr,hr={backspaceRemovesValue:!0,blurInputOnSelect:Nt(),captureMenuScroll:!Nt(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rn(Object(n),!0).forEach((function(t){kt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({ignoreCase:!0,ignoreAccents:!0,stringify:Ln,trim:!0,matchFrom:"any"},pr),r=n.ignoreCase,o=n.ignoreAccents,a=n.stringify,i=n.trim,s=n.matchFrom,u=i?Nn(t):t,c=i?Nn(a(e)):a(e);return r&&(u=u.toLowerCase(),c=c.toLowerCase()),o&&(u=In(u),c=In(c)),"start"===s?c.substr(0,u.length)===u:c.indexOf(u)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:sr,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0},mr=1,gr=function(e){Se(r,e);var n=dr(r);function r(e){var t;Oe(this,r),(t=n.call(this,e)).state={ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,menuOptions:{render:[],focusable:[]},selectValue:[]},t.blockOptionHover=!1,t.isComposing=!1,t.clearFocusValueOnUpdate=!1,t.commonProps=void 0,t.components=void 0,t.hasGroups=!1,t.initialTouchX=0,t.initialTouchY=0,t.inputIsHiddenAfterUpdate=void 0,t.instancePrefix="",t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.cacheComponents=function(e){t.components=En({components:e})},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var r=t.props,o=r.onChange,a=r.name;o(e,fr(fr({},n),{},{name:a}))},t.setValue=function(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"set-value",r=arguments.length>2?arguments[2]:undefined,o=t.props,a=o.closeMenuOnSelect,i=o.isMulti;t.onInputChange("",{action:"set-value"}),a&&(t.inputIsHiddenAfterUpdate=!i,t.onMenuClose()),t.clearFocusValueOnUpdate=!0,t.onChange(e,{action:n,option:r})},t.selectOption=function(e){var n=t.props,r=n.blurInputOnSelect,o=n.isMulti,a=t.state.selectValue;if(o)if(t.isOptionSelected(e,a)){var i=t.getOptionValue(e);t.setValue(a.filter((function(e){return t.getOptionValue(e)!==i})),"deselect-option",e),t.announceAriaLiveSelection({event:"deselect-option",context:{value:t.getOptionLabel(e)}})}else t.isOptionDisabled(e,a)?t.announceAriaLiveSelection({event:"select-option",context:{value:t.getOptionLabel(e),isDisabled:!0}}):(t.setValue([].concat(Dt(a),[e]),"select-option",e),t.announceAriaLiveSelection({event:"select-option",context:{value:t.getOptionLabel(e)}}));else t.isOptionDisabled(e,a)?t.announceAriaLiveSelection({event:"select-option",context:{value:t.getOptionLabel(e),isDisabled:!0}}):(t.setValue(e,"select-option"),t.announceAriaLiveSelection({event:"select-option",context:{value:t.getOptionLabel(e)}}));r&&t.blurInput()},t.removeValue=function(e){var n=t.state.selectValue,r=t.getOptionValue(e),o=n.filter((function(e){return t.getOptionValue(e)!==r}));t.onChange(o.length?o:null,{action:"remove-value",removedValue:e}),t.announceAriaLiveSelection({event:"remove-value",context:{value:e?t.getOptionLabel(e):""}}),t.focusInput()},t.clearValue=function(){t.onChange(null,{action:"clear"})},t.popValue=function(){var e=t.state.selectValue,n=e[e.length-1],r=e.slice(0,e.length-1);t.announceAriaLiveSelection({event:"pop-value",context:{value:n?t.getOptionLabel(n):""}}),t.onChange(r.length?r:null,{action:"pop-value",removedValue:n})},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return _t.apply(void 0,[t.props.classNamePrefix].concat(n))},t.getOptionLabel=function(e){return t.props.getOptionLabel(e)},t.getOptionValue=function(e){return t.props.getOptionValue(e)},t.getStyles=function(e,n){var r=ur[e](n);r.boxSizing="border-box";var o=t.props.styles[e];return o?o(r,n):r},t.getElementId=function(e){return"".concat(t.instancePrefix,"-").concat(e)},t.getActiveDescendentId=function(){var e=t.props.menuIsOpen,n=t.state,r=n.menuOptions,o=n.focusedOption;if(!o||!e)return undefined;var a=r.focusable.indexOf(o),i=r.render[a];return i&&i.key},t.announceAriaLiveSelection=function(e){var n=e.event,r=e.context;t.setState({ariaLiveSelection:ir(n,r)})},t.announceAriaLiveContext=function(e){var n=e.event,r=e.context;t.setState({ariaLiveContext:ar(n,fr(fr({},r),{},{label:t.props["aria-label"]}))})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){var n=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&t.onMenuClose():n&&t.openMenu("first"):(n&&(t.openAfterFocus=!0),t.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()},t.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||t.props.isDisabled)){var n=t.props,r=n.isMulti,o=n.menuIsOpen;t.focusInput(),o?(t.inputIsHiddenAfterUpdate=!r,t.onMenuClose()):t.openMenu("first"),e.preventDefault(),e.stopPropagation()}},t.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(t.clearValue(),e.stopPropagation(),t.openAfterFocus=!1,"touchend"===e.type?t.focusInput():setTimeout((function(){return t.focusInput()})))},t.onScroll=function(e){"boolean"==typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&jt(e.target)&&t.props.onMenuClose():"function"==typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var n=e.touches,r=n&&n.item(0);r&&(t.initialTouchX=r.clientX,t.initialTouchY=r.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var n=e.touches,r=n&&n.item(0);if(r){var o=Math.abs(r.clientX-t.initialTouchX),a=Math.abs(r.clientY-t.initialTouchY);t.userIsDragging=o>5||a>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=e.currentTarget.value;t.inputIsHiddenAfterUpdate=!1,t.onInputChange(n,{action:"input-change"}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){var n=t.props,r=n.isSearchable,o=n.isMulti;t.props.onFocus&&t.props.onFocus(e),t.inputIsHiddenAfterUpdate=!1,t.announceAriaLiveContext({event:"input",context:{isSearchable:r,isMulti:o}}),t.setState({isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur"}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){t.blockOptionHover||t.state.focusedOption===e||t.setState({focusedOption:e})},t.shouldHideSelectedOptions=function(){var e=t.props,n=e.hideSelectedOptions,r=e.isMulti;return n===undefined?r:n},t.onKeyDown=function(e){var n=t.props,r=n.isMulti,o=n.backspaceRemovesValue,a=n.escapeClearsValue,i=n.inputValue,s=n.isClearable,u=n.isDisabled,c=n.menuIsOpen,l=n.onKeyDown,f=n.tabSelectsValue,d=n.openMenuOnFocus,p=t.state,h=p.focusedOption,m=p.focusedValue,g=p.selectValue;if(!(u||"function"==typeof l&&(l(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||i)return;t.focusValue("previous");break;case"ArrowRight":if(!r||i)return;t.focusValue("next");break;case"Delete":case"Backspace":if(i)return;if(m)t.removeValue(m);else{if(!o)return;r?t.popValue():s&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!c||!f||!h||d&&t.isOptionSelected(h,g))return;t.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(t.isComposing)return;t.selectOption(h);break}return;case"Escape":c?(t.inputIsHiddenAfterUpdate=!1,t.onInputChange("",{action:"menu-close"}),t.onMenuClose()):s&&a&&t.clearValue();break;case" ":if(i)return;if(!c){t.openMenu("first");break}if(!h)return;t.selectOption(h);break;case"ArrowUp":c?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":c?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!c)return;t.focusOption("pageup");break;case"PageDown":if(!c)return;t.focusOption("pagedown");break;case"Home":if(!c)return;t.focusOption("first");break;case"End":if(!c)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.buildMenuOptions=function(e,n){var r=e.inputValue,o=void 0===r?"":r,a=e.options,i=function(e,r){var a=t.isOptionDisabled(e,n),i=t.isOptionSelected(e,n),s=t.getOptionLabel(e),u=t.getOptionValue(e);if(!(t.shouldHideSelectedOptions()&&i||!t.filterOption({label:s,value:u,data:e},o))){var c=a?undefined:function(){return t.onOptionHover(e)},l=a?undefined:function(){return t.selectOption(e)},f="".concat(t.getElementId("option"),"-").concat(r);return{innerProps:{id:f,onClick:l,onMouseMove:c,onMouseOver:c,tabIndex:-1},data:e,isDisabled:a,isSelected:i,key:f,label:s,type:"option",value:u}}};return a.reduce((function(e,n,r){if(n.options){t.hasGroups||(t.hasGroups=!0);var o=n.options.map((function(t,n){var o=i(t,"".concat(r,"-").concat(n));return o&&e.focusable.push(t),o})).filter(Boolean);if(o.length){var a="".concat(t.getElementId("group"),"-").concat(r);e.render.push({type:"group",key:a,data:n,options:o})}}else{var s=i(n,"".concat(r));s&&(e.render.push(s),e.focusable.push(n))}return e}),{render:[],focusable:[]})};var o=e.value;t.cacheComponents=Ae(t.cacheComponents,en).bind(Me(t)),t.cacheComponents(e.components),t.instancePrefix="react-select-"+(t.props.instanceId||++mr);var a=Pt(o);t.buildMenuOptions=Ae(t.buildMenuOptions,(function(e,t){var n=xt(e,2),r=n[0],o=n[1],a=xt(t,2),i=a[0];return o===a[1]&&r.inputValue===i.inputValue&&r.options===i.options})).bind(Me(t));var i=e.menuIsOpen?t.buildMenuOptions(e,a):{render:[],focusable:[]};return t.state.menuOptions=i,t.state.selectValue=a,t}return De(r,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props,n=t.options,r=t.value,o=t.menuIsOpen,a=t.inputValue;if(this.cacheComponents(e.components),e.value!==r||e.options!==n||e.menuIsOpen!==o||e.inputValue!==a){var i=Pt(e.value),s=e.menuIsOpen?this.buildMenuOptions(e,i):{render:[],focusable:[]},u=this.getNextFocusedValue(i),c=this.getNextFocusedOption(s.focusable);this.setState({menuOptions:s,selectValue:i,focusedOption:c,focusedValue:u})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(e){var t,n,r,o,a,i=this.props,s=i.isDisabled,u=i.menuIsOpen,c=this.state.isFocused;(c&&!s&&e.isDisabled||c&&u&&!e.menuIsOpen)&&this.focusInput(),c&&s&&!e.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(t=this.menuListRef,n=this.focusedOptionRef,r=t.getBoundingClientRect(),o=n.getBoundingClientRect(),a=n.offsetHeight/3,o.bottom+a>r.bottom?At(t,Math.min(n.offsetTop+n.clientHeight-t.offsetHeight+a,t.scrollHeight)):o.top-a<r.top&&At(t,Math.max(n.offsetTop-a,0)),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){var e=this.props,t=e.isSearchable,n=e.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:t,isMulti:n}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,a=this.buildMenuOptions(this.props,r),i=this.props,s=i.isMulti,u=i.tabSelectsValue,c="first"===e?0:a.focusable.length-1;if(!s){var l=a.focusable.indexOf(r[0]);l>-1&&(c=l)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.setState({menuOptions:a,focusedValue:null,focusedOption:a.focusable[c]},(function(){t.onMenuOpen(),t.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:u}})}))}},{key:"focusValue",value:function(e){var t=this.props,n=t.isMulti,r=t.isSearchable,o=this.state,a=o.selectValue,i=o.focusedValue;if(n){this.setState({focusedOption:null});var s=a.indexOf(i);i||(s=-1,this.announceAriaLiveContext({event:"value"}));var u=a.length-1,c=-1;if(a.length){switch(e){case"previous":c=0===s?0:-1===s?u:s-1;break;case"next":s>-1&&s<u&&(c=s+1)}-1===c&&this.announceAriaLiveContext({event:"input",context:{isSearchable:r,isMulti:n}}),this.setState({inputIsHidden:-1!==c,focusedValue:a[c]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"first",t=this.props,n=t.pageSize,r=t.tabSelectsValue,o=this.state,a=o.focusedOption,i=o.menuOptions,s=i.focusable;if(s.length){var u=0,c=s.indexOf(a);a||(c=-1,this.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:r}})),"up"===e?u=c>0?c-1:s.length-1:"down"===e?u=(c+1)%s.length:"pageup"===e?(u=c-n)<0&&(u=0):"pagedown"===e?(u=c+n)>s.length-1&&(u=s.length-1):"last"===e&&(u=s.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:s[u],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:sr(s[u]),tabSelectsValue:r}})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(cr):fr(fr({},cr),this.props.theme):cr}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getValue,o=this.setValue,a=this.selectOption,i=this.props,s=i.isMulti,u=i.isRtl,c=i.options;return{cx:t,clearValue:e,getStyles:n,getValue:r,hasValue:this.hasValue(),isMulti:s,isRtl:u,options:c,selectOption:a,setValue:o,selectProps:i,theme:this.getTheme()}}},{key:"getNextFocusedValue",value:function(e){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var t=this.state,n=t.focusedValue,r=t.selectValue.indexOf(n);if(r>-1){if(e.indexOf(n)>-1)return n;if(r<e.length)return e[r]}return null}},{key:"getNextFocusedOption",value:function(e){var t=this.state.focusedOption;return t&&e.indexOf(t)>-1?t:e[0]}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.state.menuOptions.render.length}},{key:"countOptions",value:function(){return this.state.menuOptions.focusable.length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return t===undefined?n:t}},{key:"isOptionDisabled",value:function(e,t){return"function"==typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(e,t)}},{key:"isOptionSelected",value:function(e,t){var n=this;if(t.indexOf(e)>-1)return!0;if("function"==typeof this.props.isOptionSelected)return this.props.isOptionSelected(e,t);var r=this.getOptionValue(e);return t.some((function(e){return n.getOptionValue(e)===r}))}},{key:"filterOption",value:function(e,t){return!this.props.filterOption||this.props.filterOption(e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"constructAriaLiveMessage",value:function(){var e=this.state,t=e.ariaLiveContext,n=e.selectValue,r=e.focusedValue,o=e.focusedOption,a=this.props,i=a.options,s=a.menuIsOpen,u=a.inputValue,c=a.screenReaderStatus,l=r?function(e){var t=e.focusedValue,n=e.getOptionLabel,r=e.selectValue;return"value ".concat(n(t)," focused, ").concat(r.indexOf(t)+1," of ").concat(r.length,".")}({focusedValue:r,getOptionLabel:this.getOptionLabel,selectValue:n}):"",f=o&&s?function(e){var t=e.focusedOption,n=e.getOptionLabel,r=e.options;return"option ".concat(n(t)," focused").concat(t.isDisabled?" disabled":"",", ").concat(r.indexOf(t)+1," of ").concat(r.length,".")}({focusedOption:o,getOptionLabel:this.getOptionLabel,options:i}):"",d=function(e){var t=e.inputValue,n=e.screenReaderMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}({inputValue:u,screenReaderMessage:c({count:this.countOptions()})});return"".concat(l," ").concat(f," ").concat(d," ").concat(t)}},{key:"renderInput",value:function(){var e=this.props,n=e.isDisabled,r=e.isSearchable,o=e.inputId,a=e.inputValue,i=e.tabIndex,s=e.form,u=this.components.Input,c=this.state.inputIsHidden,l=o||this.getElementId("input"),f={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};if(!r)return t().createElement(Hn,wt({id:l,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Et,onFocus:this.onInputFocus,readOnly:!0,disabled:n,tabIndex:i,form:s,value:""},f));var d=this.commonProps,p=d.cx,h=d.theme,m=d.selectProps;return t().createElement(u,wt({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:p,getStyles:this.getStyles,id:l,innerRef:this.getInputRef,isDisabled:n,isHidden:c,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:m,spellCheck:"false",tabIndex:i,form:s,theme:h,type:"text",value:a},f))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,n=this.components,r=n.MultiValue,o=n.MultiValueContainer,a=n.MultiValueLabel,i=n.MultiValueRemove,s=n.SingleValue,u=n.Placeholder,c=this.commonProps,l=this.props,f=l.controlShouldRenderValue,d=l.isDisabled,p=l.isMulti,h=l.inputValue,m=l.placeholder,g=this.state,v=g.selectValue,b=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!f)return h?null:t().createElement(u,wt({},c,{key:"placeholder",isDisabled:d,isFocused:y}),m);if(p)return v.map((function(n,s){var u=n===b;return t().createElement(r,wt({},c,{components:{Container:o,Label:a,Remove:i},isFocused:u,isDisabled:d,key:"".concat(e.getOptionValue(n)).concat(s),index:s,removeProps:{onClick:function(){return e.removeValue(n)},onTouchEnd:function(){return e.removeValue(n)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:n}),e.formatOptionLabel(n,"value"))}));if(h)return null;var w=v[0];return t().createElement(s,wt({},c,{data:w,isDisabled:d}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.components.ClearIndicator,n=this.commonProps,r=this.props,o=r.isDisabled,a=r.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||a)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return t().createElement(e,wt({},n,{innerProps:s,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.components.LoadingIndicator,n=this.commonProps,r=this.props,o=r.isDisabled,a=r.isLoading,i=this.state.isFocused;if(!e||!a)return null;return t().createElement(e,wt({},n,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:i}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.components,n=e.DropdownIndicator,r=e.IndicatorSeparator;if(!n||!r)return null;var o=this.commonProps,a=this.props.isDisabled,i=this.state.isFocused;return t().createElement(r,wt({},o,{isDisabled:a,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.components.DropdownIndicator;if(!e)return null;var n=this.commonProps,r=this.props.isDisabled,o=this.state.isFocused,a={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return t().createElement(e,wt({},n,{innerProps:a,isDisabled:r,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,n=this.components,r=n.Group,o=n.GroupHeading,a=n.Menu,i=n.MenuList,s=n.MenuPortal,u=n.LoadingMessage,c=n.NoOptionsMessage,l=n.Option,f=this.commonProps,d=this.state,p=d.focusedOption,h=d.menuOptions,m=this.props,g=m.captureMenuScroll,v=m.inputValue,b=m.isLoading,y=m.loadingMessage,w=m.minMenuHeight,C=m.maxMenuHeight,O=m.menuIsOpen,x=m.menuPlacement,D=m.menuPosition,k=m.menuPortalTarget,S=m.menuShouldBlockScroll,E=m.menuShouldScrollIntoView,M=m.noOptionsMessage,_=m.onMenuScrollToTop,P=m.onMenuScrollToBottom;if(!O)return null;var j,T=function(n){var r=p===n.data;return n.innerRef=r?e.getFocusedOptionRef:undefined,t().createElement(l,wt({},f,n,{isFocused:r}),e.formatOptionLabel(n.data,"menu"))};if(this.hasOptions())j=h.render.map((function(n){if("group"===n.type){n.type;var a=yt(n,["type"]),i="".concat(n.key,"-heading");return t().createElement(r,wt({},f,a,{Heading:o,headingProps:{id:i,data:n.data},label:e.formatGroupLabel(n.data)}),n.options.map((function(e){return T(e)})))}if("option"===n.type)return T(n)}));else if(b){var A=y({inputValue:v});if(null===A)return null;j=t().createElement(u,f,A)}else{var I=M({inputValue:v});if(null===I)return null;j=t().createElement(c,f,I)}var R={minMenuHeight:w,maxMenuHeight:C,menuPlacement:x,menuPosition:D,menuShouldScrollIntoView:E},N=t().createElement(zt,wt({},f,R),(function(n){var r=n.ref,o=n.placerProps,s=o.placement,u=o.maxHeight;return t().createElement(a,wt({},f,R,{innerRef:r,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:b,placement:s}),t().createElement(or,{isEnabled:g,onTopArrive:_,onBottomArrive:P},t().createElement(tr,{isEnabled:S},t().createElement(i,wt({},f,{innerRef:e.getMenuListRef,isLoading:b,maxHeight:u}),j))))}));return k||"fixed"===D?t().createElement(s,wt({},f,{appendTo:k,controlElement:this.controlRef,menuPlacement:x,menuPosition:D}),N):N}},{key:"renderFormField",value:function(){var e=this,n=this.props,r=n.delimiter,o=n.isDisabled,a=n.isMulti,i=n.name,s=this.state.selectValue;if(i&&!o){if(a){if(r){var u=s.map((function(t){return e.getOptionValue(t)})).join(r);return t().createElement("input",{name:i,type:"hidden",value:u})}var c=s.length>0?s.map((function(n,r){return t().createElement("input",{key:"i-".concat(r),name:i,type:"hidden",value:e.getOptionValue(n)})})):t().createElement("input",{name:i,type:"hidden"});return t().createElement("div",null,c)}var l=s[0]?this.getOptionValue(s[0]):"";return t().createElement("input",{name:i,type:"hidden",value:l})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?t().createElement(Fn,{"aria-live":"polite"},t().createElement("span",{id:"aria-selection-event"}," ",this.state.ariaLiveSelection),t().createElement("span",{id:"aria-context"}," ",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var e=this.components,n=e.Control,r=e.IndicatorsContainer,o=e.SelectContainer,a=e.ValueContainer,i=this.props,s=i.className,u=i.id,c=i.isDisabled,l=i.menuIsOpen,f=this.state.isFocused,d=this.commonProps=this.getCommonProps();return t().createElement(o,wt({},d,{className:s,innerProps:{id:u,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:f}),this.renderLiveRegion(),t().createElement(n,wt({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:f,menuIsOpen:l}),t().createElement(a,wt({},d,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),t().createElement(r,wt({},d,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),r}(e.Component);function vr(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Pe(e);if(t){var o=Pe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _e(this,n)}}gr.defaultProps=hr;var br={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null};function yr(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Pe(e);if(t){var o=Pe(this).constructor;Reflect.construct(r,arguments,o)}else r.apply(this,arguments);return _e(this,n)}}e.Component;var wr,Cr,Or,xr=(wr=gr,Or=Cr=function(e){Se(r,e);var n=vr(r);function r(){var e;Oe(this,r);for(var t=arguments.length,o=new Array(t),a=0;a<t;a++)o[a]=arguments[a];return(e=n.call.apply(n,[this].concat(o))).select=void 0,e.state={inputValue:e.props.inputValue!==undefined?e.props.inputValue:e.props.defaultInputValue,menuIsOpen:e.props.menuIsOpen!==undefined?e.props.menuIsOpen:e.props.defaultMenuIsOpen,value:e.props.value!==undefined?e.props.value:e.props.defaultValue},e.onChange=function(t,n){e.callProp("onChange",t,n),e.setState({value:t})},e.onInputChange=function(t,n){var r=e.callProp("onInputChange",t,n);e.setState({inputValue:r!==undefined?r:t})},e.onMenuOpen=function(){e.callProp("onMenuOpen"),e.setState({menuIsOpen:!0})},e.onMenuClose=function(){e.callProp("onMenuClose"),e.setState({menuIsOpen:!1})},e}return De(r,[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"getProp",value:function(e){return this.props[e]!==undefined?this.props[e]:this.state[e]}},{key:"callProp",value:function(e){if("function"==typeof this.props[e]){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return(t=this.props)[e].apply(t,r)}}},{key:"render",value:function(){var e=this,n=this.props,r=(n.defaultInputValue,n.defaultMenuIsOpen,n.defaultValue,yt(n,["defaultInputValue","defaultMenuIsOpen","defaultValue"]));return t().createElement(wr,wt({},r,{ref:function(t){e.select=t},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))}}]),r}(e.Component),Cr.defaultProps=br,Or),Dr=n(322),kr=n.n(Dr),Sr=n(555),Er=n.n(Sr),Mr=["mousedown","touchstart"];
|
27 |
/**!
|
28 |
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
29 |
* @version 1.16.1
|
@@ -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(/("\;)/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(/"/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))}))}))}()}();
|
4 |
* Version 1.8.2 (28-06-2019 14:30)
|
5 |
* Licensed under MIT
|
6 |
* Copyright 2019 Hasan Aydoğdu <hsnaydd@gmail.com>
|
7 |
+
*/var t=function(){var e={tolerance:0,duration:800,easing:"easeOutQuart",container:window,callback:function(){}};function t(e,t,n,r){return e/=r,-n*(--e*e*e*e-1)+t}function n(e,t){var n={};return Object.keys(e).forEach((function(t){n[t]=e[t]})),Object.keys(t).forEach((function(e){n[e]=t[e]})),n}function r(e){return e instanceof HTMLElement?e.scrollTop:e.pageYOffset}function o(){var r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},o=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};this.options=n(e,r),this.easeFunctions=n({easeOutQuart:t},o)}return o.prototype.registerTrigger=function(e,t){var r=this;if(e){var o=e.getAttribute("href")||e.getAttribute("data-target"),a=o&&"#"!==o?document.getElementById(o.substring(1)):document.body,i=n(this.options,function(e,t){var n={};return Object.keys(t).forEach((function(t){var r=e.getAttribute("data-mt-".concat(t.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()}))));r&&(n[t]=isNaN(r)?r:parseInt(r,10))})),n}(e,this.options));"function"==typeof t&&(i.callback=t);var s=function(e){e.preventDefault(),r.move(a,i)};return e.addEventListener("click",s,!1),function(){return e.removeEventListener("click",s,!1)}}},o.prototype.move=function(e){var t=this,o=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};if(0===e||e){o=n(this.options,o);var a,i="number"==typeof e?e:e.getBoundingClientRect().top,s=r(o.container),u=null;i-=o.tolerance;var c=function l(n){var c=r(t.options.container);u||(u=n-1);var f=n-u;if(a&&(i>0&&a>c||i<0&&a<c))return o.callback(e);a=c;var d=t.easeFunctions[o.easing](f,s,i,o.duration);o.container.scroll(0,d),f<o.duration?window.requestAnimationFrame(l):(o.container.scroll(0,i+s),o.callback(e))};window.requestAnimationFrame(c)}},o.prototype.addEaseFunction=function(e,t){this.easeFunctions[e]=t},o}();e.exports=t},703:function(e,t,n){"use strict";var r=n(414);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},697:function(e,t,n){e.exports=n(703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},953:function(e,t,n){"use strict";function r(e){return(r="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)}t.Z=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{"default":e};var t=u();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}n["default"]=e,t&&t.set(e,n);return n}(n(363)),a=s(n(697)),i=s(n(527));function s(e){return e&&e.__esModule?e:{"default":e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(){return(c=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}).apply(this,arguments)}function l(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function f(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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){w(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(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=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var C=["onChange","onOpen","onClose","onMonthChange","onYearChange","onReady","onValueUpdate","onDayCreate"],O=a["default"].oneOfType([a["default"].func,a["default"].arrayOf(a["default"].func)]),x=["onCreate","onDestroy"],D=a["default"].func,k=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&&m(e,t)}(s,e);var t,n,r,a=g(s);function s(){var e;p(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return w(b(e=a.call.apply(a,[this].concat(n))),"createFlatpickrInstance",(function(){var t=d({onClose:function(){e.node.blur&&e.node.blur()}},e.props.options);C.forEach((function(n){e.props[n]&&(t[n]=e.props[n])})),e.flatpickr=(0,i["default"])(e.node,t),e.props.hasOwnProperty("value")&&e.flatpickr.setDate(e.props.value,!1);var n=e.props.onCreate;n&&n(e.flatpickr)})),w(b(e),"destroyFlatpickrInstance",(function(){var t=e.props.onDestroy;t&&t(e.flatpickr),e.flatpickr.destroy(),e.flatpickr=null})),w(b(e),"handleNodeChange",(function(t){e.node=t,e.flatpickr&&(e.destroyFlatpickrInstance(),e.createFlatpickrInstance())})),e}return t=s,(n=[{key:"componentDidUpdate",value:function(e){var t=this,n=this.props.options,r=e.options;C.forEach((function(o){t.props.hasOwnProperty(o)&&(n[o]=t.props[o]),e.hasOwnProperty(o)&&(r[o]=e[o])}));for(var o=Object.getOwnPropertyNames(n),a=o.length-1;a>=0;a--){var i=o[a],s=n[i];s!==r[i]&&(-1===C.indexOf(i)||Array.isArray(s)||(s=[s]),this.flatpickr.set(i,s))}this.props.hasOwnProperty("value")&&this.props.value!==e.value&&this.flatpickr.setDate(this.props.value,!1)}},{key:"componentDidMount",value:function(){this.createFlatpickrInstance()}},{key:"componentWillUnmount",value:function(){this.destroyFlatpickrInstance()}},{key:"render",value:function(){var e=this.props,t=e.options,n=e.defaultValue,r=e.value,a=e.children,i=e.render,s=l(e,["options","defaultValue","value","children","render"]);return C.forEach((function(e){delete s[e]})),x.forEach((function(e){delete s[e]})),i?i(d(d({},s),{},{defaultValue:n,value:r}),this.handleNodeChange):t.wrap?o["default"].createElement("div",c({},s,{ref:this.handleNodeChange}),a):o["default"].createElement("input",c({},s,{defaultValue:n,ref:this.handleNodeChange}))}}])&&h(t.prototype,n),r&&h(t,r),s}(o.Component);w(k,"propTypes",{defaultValue:a["default"].string,options:a["default"].object,onChange:O,onOpen:O,onClose:O,onMonthChange:O,onYearChange:O,onReady:O,onValueUpdate:O,onDayCreate:O,onCreate:D,onDestroy:D,value:a["default"].oneOfType([a["default"].string,a["default"].array,a["default"].object,a["default"].number]),children:a["default"].node,className:a["default"].string,render:a["default"].func}),w(k,"defaultProps",{options:{}});var S=k;t.Z=S},639:function(e,t,n){"use strict";var r=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},o=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}}(),a=n(363),i=u(a),s=u(n(697));function u(e){return e&&e.__esModule?e:{"default":e}}var c={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},l=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],f=function(e,t){t.style.fontSize=e.fontSize,t.style.fontFamily=e.fontFamily,t.style.fontWeight=e.fontWeight,t.style.fontStyle=e.fontStyle,t.style.letterSpacing=e.letterSpacing,t.style.textTransform=e.textTransform},d=!("undefined"==typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent),p=function(){return d?"_"+Math.random().toString(36).substr(2,12):undefined},h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.inputRef=function(e){n.input=e,"function"==typeof n.props.inputRef&&n.props.inputRef(e)},n.placeHolderSizerRef=function(e){n.placeHolderSizer=e},n.sizerRef=function(e){n.sizer=e},n.state={inputWidth:e.minWidth,inputId:e.id||p(),prevId:e.id},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.id;return n!==t.prevId?{inputId:n||p(),prevId:n}:null}}]),o(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"componentDidUpdate",value:function(e,t){t.inputWidth!==this.state.inputWidth&&"function"==typeof this.props.onAutosize&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(this.mounted&&window.getComputedStyle){var e=this.input&&window.getComputedStyle(this.input);e&&(f(e,this.sizer),this.placeHolderSizer&&f(e,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(this.mounted&&this.sizer&&"undefined"!=typeof this.sizer.scrollWidth){var e=void 0;e=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:this.sizer.scrollWidth+2,(e+="number"===this.props.type&&this.props.extraWidth===undefined?16:parseInt(this.props.extraWidth)||0)<this.props.minWidth&&(e=this.props.minWidth),e!==this.state.inputWidth&&this.setState({inputWidth:e})}}},{key:"getInput",value:function(){return this.input}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"renderStyles",value:function(){var e=this.props.injectStyles;return d&&e?i["default"].createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function(){var e=[this.props.defaultValue,this.props.value,""].reduce((function(e,t){return null!==e&&e!==undefined?e:t})),t=r({},this.props.style);t.display||(t.display="inline-block");var n=r({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(this.props,[]);return function(e){l.forEach((function(t){return delete e[t]}))}(o),o.className=this.props.inputClassName,o.id=this.state.inputId,o.style=n,i["default"].createElement("div",{className:this.props.className,style:t},this.renderStyles(),i["default"].createElement("input",r({},o,{ref:this.inputRef})),i["default"].createElement("div",{ref:this.sizerRef,style:c},e),this.props.placeholder?i["default"].createElement("div",{ref:this.placeHolderSizerRef,style:c},this.props.placeholder):null)}}]),t}(a.Component);h.propTypes={className:s["default"].string,defaultValue:s["default"].any,extraWidth:s["default"].oneOfType([s["default"].number,s["default"].string]),id:s["default"].string,injectStyles:s["default"].bool,inputClassName:s["default"].string,inputRef:s["default"].func,inputStyle:s["default"].object,minWidth:s["default"].oneOfType([s["default"].number,s["default"].string]),onAutosize:s["default"].func,onChange:s["default"].func,placeholder:s["default"].string,placeholderIsMinWidth:s["default"].bool,style:s["default"].object,value:s["default"].any},h.defaultProps={minWidth:1,injectStyles:!0},t.Z=h},322:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(288),a=(r=o)&&r.__esModule?r:{"default":r};t["default"]=a["default"],e.exports=t["default"]},203:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t["default"]={activeTrack:"input-range__track input-range__track--active",disabledInputRange:"input-range input-range--disabled",inputRange:"input-range",labelContainer:"input-range__label-container",maxLabel:"input-range__label input-range__label--max",minLabel:"input-range__label input-range__label--min",slider:"input-range__slider",sliderContainer:"input-range__slider-container",track:"input-range__track input-range__track--background",valueLabel:"input-range__label input-range__label--value"},e.exports=t["default"]},288:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=undefined;var r,o=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}}(),a=v(n(363)),i=v(n(697)),s=v(n(521)),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}(n(232)),c=v(n(203)),l=v(n(191)),f=v(n(807)),d=v(n(97)),p=v(n(737)),h=v(n(752)),m=n(302),g=n(878);function v(e){return e&&e.__esModule?e:{"default":e}}function b(e,t,n,r,o){var a={};return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),a),o&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(o):void 0,a.initializer=undefined),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}var y=(b((r=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.startValue=null,n.node=null,n.trackNode=null,n.isSliderDragging=!1,n.lastKeyMoved=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"propTypes",get:function(){return{allowSameValues:i["default"].bool,ariaLabelledby:i["default"].string,ariaControls:i["default"].string,classNames:i["default"].objectOf(i["default"].string),disabled:i["default"].bool,draggableTrack:i["default"].bool,formatLabel:i["default"].func,maxValue:f["default"],minValue:f["default"],name:i["default"].string,onChangeStart:i["default"].func,onChange:i["default"].func.isRequired,onChangeComplete:i["default"].func,step:i["default"].number,value:d["default"]}}},{key:"defaultProps",get:function(){return{allowSameValues:!1,classNames:c["default"],disabled:!1,maxValue:10,minValue:0,step:1}}}]),o(t,[{key:"componentWillUnmount",value:function(){this.removeDocumentMouseUpListener(),this.removeDocumentTouchEndListener()}},{key:"getComponentClassName",value:function(){return this.props.disabled?this.props.classNames.disabledInputRange:this.props.classNames.inputRange}},{key:"getTrackClientRect",value:function(){return this.trackNode.getClientRect()}},{key:"getKeyByPosition",value:function(e){var t=u.getValueFromProps(this.props,this.isMultiValue()),n=u.getPositionsFromValues(t,this.props.minValue,this.props.maxValue,this.getTrackClientRect());if(this.isMultiValue()&&(0,m.distanceTo)(e,n.min)<(0,m.distanceTo)(e,n.max))return"min";return"max"}},{key:"getKeys",value:function(){return this.isMultiValue()?["min","max"]:["max"]}},{key:"hasStepDifference",value:function(e){var t=u.getValueFromProps(this.props,this.isMultiValue());return(0,m.length)(e.min,t.min)>=this.props.step||(0,m.length)(e.max,t.max)>=this.props.step}},{key:"isMultiValue",value:function(){return(0,m.isObject)(this.props.value)}},{key:"isWithinRange",value:function(e){return this.isMultiValue()?e.min>=this.props.minValue&&e.max<=this.props.maxValue&&this.props.allowSameValues?e.min<=e.max:e.min<e.max:e.max>=this.props.minValue&&e.max<=this.props.maxValue}},{key:"shouldUpdate",value:function(e){return this.isWithinRange(e)&&this.hasStepDifference(e)}},{key:"updatePosition",value:function(e,t){var n=u.getValueFromProps(this.props,this.isMultiValue()),r=u.getPositionsFromValues(n,this.props.minValue,this.props.maxValue,this.getTrackClientRect());r[e]=t,this.lastKeyMoved=e,this.updatePositions(r)}},{key:"updatePositions",value:function(e){var t={min:u.getValueFromPosition(e.min,this.props.minValue,this.props.maxValue,this.getTrackClientRect()),max:u.getValueFromPosition(e.max,this.props.minValue,this.props.maxValue,this.getTrackClientRect())},n={min:u.getStepValueFromValue(t.min,this.props.step),max:u.getStepValueFromValue(t.max,this.props.step)};this.updateValues(n)}},{key:"updateValue",value:function(e,t){var n=u.getValueFromProps(this.props,this.isMultiValue());n[e]=t,this.updateValues(n)}},{key:"updateValues",value:function(e){this.shouldUpdate(e)&&this.props.onChange(this.isMultiValue()?e:e.max)}},{key:"incrementValue",value:function(e){var t=u.getValueFromProps(this.props,this.isMultiValue())[e]+this.props.step;this.updateValue(e,t)}},{key:"decrementValue",value:function(e){var t=u.getValueFromProps(this.props,this.isMultiValue())[e]-this.props.step;this.updateValue(e,t)}},{key:"addDocumentMouseUpListener",value:function(){this.removeDocumentMouseUpListener(),this.node.ownerDocument.addEventListener("mouseup",this.handleMouseUp)}},{key:"addDocumentTouchEndListener",value:function(){this.removeDocumentTouchEndListener(),this.node.ownerDocument.addEventListener("touchend",this.handleTouchEnd)}},{key:"removeDocumentMouseUpListener",value:function(){this.node.ownerDocument.removeEventListener("mouseup",this.handleMouseUp)}},{key:"removeDocumentTouchEndListener",value:function(){this.node.ownerDocument.removeEventListener("touchend",this.handleTouchEnd)}},{key:"handleSliderDrag",value:function(e,t){var n=this;if(!this.props.disabled){var r=u.getPositionFromEvent(e,this.getTrackClientRect());this.isSliderDragging=!0,requestAnimationFrame((function(){return n.updatePosition(t,r)}))}}},{key:"handleTrackDrag",value:function(e,t){if(!this.props.disabled&&this.props.draggableTrack&&!this.isSliderDragging){var n=this.props,r=n.maxValue,o=n.minValue,a=n.value,i=a.max,s=a.min,c=u.getPositionFromEvent(e,this.getTrackClientRect()),l=u.getValueFromPosition(c,o,r,this.getTrackClientRect()),f=u.getStepValueFromValue(l,this.props.step),d=u.getPositionFromEvent(t,this.getTrackClientRect()),p=u.getValueFromPosition(d,o,r,this.getTrackClientRect()),h=u.getStepValueFromValue(p,this.props.step)-f,m={min:s-h,max:i-h};this.updateValues(m)}}},{key:"handleSliderKeyDown",value:function(e,t){if(!this.props.disabled)switch(e.keyCode){case g.LEFT_ARROW:case g.DOWN_ARROW:e.preventDefault(),this.decrementValue(t);break;case g.RIGHT_ARROW:case g.UP_ARROW:e.preventDefault(),this.incrementValue(t)}}},{key:"handleTrackMouseDown",value:function(e,t){if(!this.props.disabled){var n=this.props,r=n.maxValue,o=n.minValue,a=n.value,i=a.max,s=a.min;e.preventDefault();var c=u.getValueFromPosition(t,o,r,this.getTrackClientRect()),l=u.getStepValueFromValue(c,this.props.step);(!this.props.draggableTrack||l>i||l<s)&&this.updatePosition(this.getKeyByPosition(t),t)}}},{key:"handleInteractionStart",value:function(){this.props.onChangeStart&&this.props.onChangeStart(this.props.value),this.props.onChangeComplete&&!(0,m.isDefined)(this.startValue)&&(this.startValue=this.props.value)}},{key:"handleInteractionEnd",value:function(){this.isSliderDragging&&(this.isSliderDragging=!1),this.props.onChangeComplete&&(0,m.isDefined)(this.startValue)&&(this.startValue!==this.props.value&&this.props.onChangeComplete(this.props.value),this.startValue=null)}},{key:"handleKeyDown",value:function(e){this.handleInteractionStart(e)}},{key:"handleKeyUp",value:function(e){this.handleInteractionEnd(e)}},{key:"handleMouseDown",value:function(e){this.handleInteractionStart(e),this.addDocumentMouseUpListener()}},{key:"handleMouseUp",value:function(e){this.handleInteractionEnd(e),this.removeDocumentMouseUpListener()}},{key:"handleTouchStart",value:function(e){this.handleInteractionStart(e),this.addDocumentTouchEndListener()}},{key:"handleTouchEnd",value:function(e){this.handleInteractionEnd(e),this.removeDocumentTouchEndListener()}},{key:"renderSliders",value:function(){var e=this,t=u.getValueFromProps(this.props,this.isMultiValue()),n=u.getPercentagesFromValues(t,this.props.minValue,this.props.maxValue);return(this.props.allowSameValues&&"min"===this.lastKeyMoved?this.getKeys().reverse():this.getKeys()).map((function(r){var o=t[r],i=n[r],s=e.props,u=s.maxValue,c=s.minValue;return"min"===r?u=t.max:c=t.min,a["default"].createElement(p["default"],{ariaLabelledby:e.props.ariaLabelledby,ariaControls:e.props.ariaControls,classNames:e.props.classNames,formatLabel:e.props.formatLabel,key:r,maxValue:u,minValue:c,onSliderDrag:e.handleSliderDrag,onSliderKeyDown:e.handleSliderKeyDown,percentage:i,type:r,value:o})}))}},{key:"renderHiddenInputs",value:function(){var e=this;if(!this.props.name)return[];var t=this.isMultiValue(),n=u.getValueFromProps(this.props,t);return this.getKeys().map((function(r){var o=n[r],i=t?""+e.props.name+(0,m.captialize)(r):e.props.name;return a["default"].createElement("input",{key:r,type:"hidden",name:i,value:o})}))}},{key:"render",value:function(){var e=this,t=this.getComponentClassName(),n=u.getValueFromProps(this.props,this.isMultiValue()),r=u.getPercentagesFromValues(n,this.props.minValue,this.props.maxValue);return a["default"].createElement("div",{"aria-disabled":this.props.disabled,ref:function(t){e.node=t},className:t,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart},a["default"].createElement(l["default"],{classNames:this.props.classNames,formatLabel:this.props.formatLabel,type:"min"},this.props.minValue),a["default"].createElement(h["default"],{classNames:this.props.classNames,draggableTrack:this.props.draggableTrack,ref:function(t){e.trackNode=t},percentages:r,onTrackDrag:this.handleTrackDrag,onTrackMouseDown:this.handleTrackMouseDown},this.renderSliders()),a["default"].createElement(l["default"],{classNames:this.props.classNames,formatLabel:this.props.formatLabel,type:"max"},this.props.maxValue),this.renderHiddenInputs())}}]),t}(a["default"].Component)).prototype,"handleSliderDrag",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleSliderDrag"),r.prototype),b(r.prototype,"handleTrackDrag",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTrackDrag"),r.prototype),b(r.prototype,"handleSliderKeyDown",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleSliderKeyDown"),r.prototype),b(r.prototype,"handleTrackMouseDown",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTrackMouseDown"),r.prototype),b(r.prototype,"handleInteractionStart",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleInteractionStart"),r.prototype),b(r.prototype,"handleInteractionEnd",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleInteractionEnd"),r.prototype),b(r.prototype,"handleKeyDown",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleKeyDown"),r.prototype),b(r.prototype,"handleKeyUp",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleKeyUp"),r.prototype),b(r.prototype,"handleMouseDown",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseDown"),r.prototype),b(r.prototype,"handleMouseUp",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseUp"),r.prototype),b(r.prototype,"handleTouchStart",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchStart"),r.prototype),b(r.prototype,"handleTouchEnd",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchEnd"),r.prototype),r);t["default"]=y,e.exports=t["default"]},878:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.DOWN_ARROW=40,t.LEFT_ARROW=37,t.RIGHT_ARROW=39,t.UP_ARROW=38},191:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var r=a(n(363)),o=a(n(697));function a(e){return e&&e.__esModule?e:{"default":e}}function i(e){var t=e.formatLabel?e.formatLabel(e.children,e.type):e.children;return r["default"].createElement("span",{className:e.classNames[e.type+"Label"]},r["default"].createElement("span",{className:e.classNames.labelContainer},t))}i.propTypes={children:o["default"].node.isRequired,classNames:o["default"].objectOf(o["default"].string).isRequired,formatLabel:o["default"].func,type:o["default"].string.isRequired},e.exports=t["default"]},807:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e){var t=e.maxValue,n=e.minValue;if(!(0,r.isNumber)(n)||!(0,r.isNumber)(t))return new Error('"minValue" and "maxValue" must be a number');if(n>=t)return new Error('"minValue" must be smaller than "maxValue"')};var r=n(302);e.exports=t["default"]},737:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=undefined;var r,o=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}}(),a=c(n(363)),i=c(n(697)),s=c(n(521)),u=c(n(191));function c(e){return e&&e.__esModule?e:{"default":e}}function l(e,t,n,r,o){var a={};return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),a),o&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(o):void 0,a.initializer=undefined),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}var f=(l((r=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.node=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"propTypes",get:function(){return{ariaLabelledby:i["default"].string,ariaControls:i["default"].string,classNames:i["default"].objectOf(i["default"].string).isRequired,formatLabel:i["default"].func,maxValue:i["default"].number,minValue:i["default"].number,onSliderDrag:i["default"].func.isRequired,onSliderKeyDown:i["default"].func.isRequired,percentage:i["default"].number.isRequired,type:i["default"].string.isRequired,value:i["default"].number.isRequired}}}]),o(t,[{key:"componentWillUnmount",value:function(){this.removeDocumentMouseMoveListener(),this.removeDocumentMouseUpListener(),this.removeDocumentTouchEndListener(),this.removeDocumentTouchMoveListener()}},{key:"getStyle",value:function(){return{position:"absolute",left:100*(this.props.percentage||0)+"%"}}},{key:"addDocumentMouseMoveListener",value:function(){this.removeDocumentMouseMoveListener(),this.node.ownerDocument.addEventListener("mousemove",this.handleMouseMove)}},{key:"addDocumentMouseUpListener",value:function(){this.removeDocumentMouseUpListener(),this.node.ownerDocument.addEventListener("mouseup",this.handleMouseUp)}},{key:"addDocumentTouchMoveListener",value:function(){this.removeDocumentTouchMoveListener(),this.node.ownerDocument.addEventListener("touchmove",this.handleTouchMove)}},{key:"addDocumentTouchEndListener",value:function(){this.removeDocumentTouchEndListener(),this.node.ownerDocument.addEventListener("touchend",this.handleTouchEnd)}},{key:"removeDocumentMouseMoveListener",value:function(){this.node.ownerDocument.removeEventListener("mousemove",this.handleMouseMove)}},{key:"removeDocumentMouseUpListener",value:function(){this.node.ownerDocument.removeEventListener("mouseup",this.handleMouseUp)}},{key:"removeDocumentTouchMoveListener",value:function(){this.node.ownerDocument.removeEventListener("touchmove",this.handleTouchMove)}},{key:"removeDocumentTouchEndListener",value:function(){this.node.ownerDocument.removeEventListener("touchend",this.handleTouchEnd)}},{key:"handleMouseDown",value:function(){this.addDocumentMouseMoveListener(),this.addDocumentMouseUpListener()}},{key:"handleMouseUp",value:function(){this.removeDocumentMouseMoveListener(),this.removeDocumentMouseUpListener()}},{key:"handleMouseMove",value:function(e){this.props.onSliderDrag(e,this.props.type)}},{key:"handleTouchStart",value:function(){this.addDocumentTouchEndListener(),this.addDocumentTouchMoveListener()}},{key:"handleTouchMove",value:function(e){this.props.onSliderDrag(e,this.props.type)}},{key:"handleTouchEnd",value:function(){this.removeDocumentTouchMoveListener(),this.removeDocumentTouchEndListener()}},{key:"handleKeyDown",value:function(e){this.props.onSliderKeyDown(e,this.props.type)}},{key:"render",value:function(){var e=this,t=this.getStyle();return a["default"].createElement("span",{className:this.props.classNames.sliderContainer,ref:function(t){e.node=t},style:t},a["default"].createElement(u["default"],{classNames:this.props.classNames,formatLabel:this.props.formatLabel,type:"value"},this.props.value),a["default"].createElement("div",{"aria-labelledby":this.props.ariaLabelledby,"aria-controls":this.props.ariaControls,"aria-valuemax":this.props.maxValue,"aria-valuemin":this.props.minValue,"aria-valuenow":this.props.value,className:this.props.classNames.slider,draggable:"false",onKeyDown:this.handleKeyDown,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart,role:"slider",tabIndex:"0"}))}}]),t}(a["default"].Component)).prototype,"handleMouseDown",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseDown"),r.prototype),l(r.prototype,"handleMouseUp",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseUp"),r.prototype),l(r.prototype,"handleMouseMove",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseMove"),r.prototype),l(r.prototype,"handleTouchStart",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchStart"),r.prototype),l(r.prototype,"handleTouchMove",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchMove"),r.prototype),l(r.prototype,"handleTouchEnd",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchEnd"),r.prototype),l(r.prototype,"handleKeyDown",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleKeyDown"),r.prototype),r);t["default"]=f,e.exports=t["default"]},752:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=undefined;var r,o=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}}(),a=u(n(363)),i=u(n(697)),s=u(n(521));function u(e){return e&&e.__esModule?e:{"default":e}}function c(e,t,n,r,o){var a={};return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),a),o&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(o):void 0,a.initializer=undefined),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}var l=(c((r=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.node=null,n.trackDragEvent=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"propTypes",get:function(){return{children:i["default"].node.isRequired,classNames:i["default"].objectOf(i["default"].string).isRequired,draggableTrack:i["default"].bool,onTrackDrag:i["default"].func,onTrackMouseDown:i["default"].func.isRequired,percentages:i["default"].objectOf(i["default"].number).isRequired}}}]),o(t,[{key:"getClientRect",value:function(){return this.node.getBoundingClientRect()}},{key:"getActiveTrackStyle",value:function(){var e=100*(this.props.percentages.max-this.props.percentages.min)+"%";return{left:100*this.props.percentages.min+"%",width:e}}},{key:"addDocumentMouseMoveListener",value:function(){this.removeDocumentMouseMoveListener(),this.node.ownerDocument.addEventListener("mousemove",this.handleMouseMove)}},{key:"addDocumentMouseUpListener",value:function(){this.removeDocumentMouseUpListener(),this.node.ownerDocument.addEventListener("mouseup",this.handleMouseUp)}},{key:"removeDocumentMouseMoveListener",value:function(){this.node.ownerDocument.removeEventListener("mousemove",this.handleMouseMove)}},{key:"removeDocumentMouseUpListener",value:function(){this.node.ownerDocument.removeEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseMove",value:function(e){this.props.draggableTrack&&(null!==this.trackDragEvent&&this.props.onTrackDrag(e,this.trackDragEvent),this.trackDragEvent=e)}},{key:"handleMouseUp",value:function(){this.props.draggableTrack&&(this.removeDocumentMouseMoveListener(),this.removeDocumentMouseUpListener(),this.trackDragEvent=null)}},{key:"handleMouseDown",value:function(e){var t={x:(e.touches?e.touches[0].clientX:e.clientX)-this.getClientRect().left,y:0};this.props.onTrackMouseDown(e,t),this.props.draggableTrack&&(this.addDocumentMouseMoveListener(),this.addDocumentMouseUpListener())}},{key:"handleTouchStart",value:function(e){e.preventDefault(),this.handleMouseDown(e)}},{key:"render",value:function(){var e=this,t=this.getActiveTrackStyle();return a["default"].createElement("div",{className:this.props.classNames.track,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart,ref:function(t){e.node=t}},a["default"].createElement("div",{style:t,className:this.props.classNames.activeTrack}),this.props.children)}}]),t}(a["default"].Component)).prototype,"handleMouseMove",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseMove"),r.prototype),c(r.prototype,"handleMouseUp",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseUp"),r.prototype),c(r.prototype,"handleMouseDown",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseDown"),r.prototype),c(r.prototype,"handleTouchStart",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchStart"),r.prototype),r);t["default"]=l,e.exports=t["default"]},97:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e,t){var n=e.maxValue,o=e.minValue,a=e[t];if(!((0,r.isNumber)(a)||(0,r.isObject)(a)&&(0,r.isNumber)(a.min)&&(0,r.isNumber)(a.max)))return new Error('"'+t+'" must be a number or a range object');if((0,r.isNumber)(a)&&(a<o||a>n))return new Error('"'+t+'" must be in between "minValue" and "maxValue"');if((0,r.isObject)(a)&&(a.min<o||a.min>n||a.max<o||a.max>n))return new Error('"'+t+'" must be in between "minValue" and "maxValue"')};var r=n(302);e.exports=t["default"]},232:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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};t.getPercentageFromPosition=a,t.getValueFromPosition=function(e,t,n,r){var o=a(e,r);return t+(n-t)*o},t.getValueFromProps=function(e,t){if(t)return r({},e.value);return{min:e.minValue,max:e.value}},t.getPercentageFromValue=i,t.getPercentagesFromValues=function(e,t,n){return{min:i(e.min,t,n),max:i(e.max,t,n)}},t.getPositionFromValue=s,t.getPositionsFromValues=function(e,t,n,r){return{min:s(e.min,t,n,r),max:s(e.max,t,n,r)}},t.getPositionFromEvent=function(e,t){var n=t.width,r=(e.touches?e.touches[0]:e).clientX;return{x:(0,o.clamp)(r-t.left,0,n),y:0}},t.getStepValueFromValue=function(e,t){return Math.round(e/t)*t};var o=n(302);function a(e,t){var n=t.width;return e.x/n||0}function i(e,t,n){return((0,o.clamp)(e,t,n)-t)/(n-t)||0}function s(e,t,n,r){var o=r.width;return{x:i(e,t,n)*o,y:0}}},939:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},e.exports=t["default"]},426:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e,t,n){return Math.min(Math.max(e,t),n)},e.exports=t["default"]},588:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e,t){var n=Math.pow(t.x-e.x,2),r=Math.pow(t.y-e.y,2);return Math.sqrt(n+r)},e.exports=t["default"]},302:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(939);Object.defineProperty(t,"captialize",{enumerable:!0,get:function(){return l(r)["default"]}});var o=n(426);Object.defineProperty(t,"clamp",{enumerable:!0,get:function(){return l(o)["default"]}});var a=n(588);Object.defineProperty(t,"distanceTo",{enumerable:!0,get:function(){return l(a)["default"]}});var i=n(330);Object.defineProperty(t,"isDefined",{enumerable:!0,get:function(){return l(i)["default"]}});var s=n(49);Object.defineProperty(t,"isNumber",{enumerable:!0,get:function(){return l(s)["default"]}});var u=n(344);Object.defineProperty(t,"isObject",{enumerable:!0,get:function(){return l(u)["default"]}});var c=n(359);function l(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"length",{enumerable:!0,get:function(){return l(c)["default"]}})},330:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e){return e!==undefined&&null!==e},e.exports=t["default"]},49:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e){return"number"==typeof e},e.exports=t["default"]},344:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="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};t["default"]=function(e){return null!==e&&"object"===(void 0===e?"undefined":n(e))},e.exports=t["default"]},359:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e,t){return Math.abs(e-t)},e.exports=t["default"]},555:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=9)}([function(e,t){e.exports=n(363)},function(e,t,n){var r;
|
8 |
/*!
|
9 |
Copyright (c) 2017 Jed Watson.
|
10 |
Licensed under the MIT License (MIT), see
|
11 |
http://jedwatson.github.io/classnames
|
12 |
+
*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)&&r.length){var i=o.apply(null,r);i&&e.push(i)}else if("object"===a)for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}e.exports?(o["default"]=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){(function(t){var n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,i=parseInt,s="object"==typeof t&&t&&t.Object===Object&&t,u="object"==typeof self&&self&&self.Object===Object&&self,c=s||u||Function("return this")(),l=Object.prototype.toString,f=c.Symbol,d=f?f.prototype:void 0,p=d?d.toString:void 0;function h(e){if("string"==typeof e)return e;if(g(e))return p?p.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==l.call(e)}function v(e){return e?(e=function(e){if("number"==typeof e)return e;if(g(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var s=o.test(e);return s||a.test(e)?i(e.slice(2),s?2:8):r.test(e)?NaN:+e}(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}e.exports=function(e,t,n){var r,o,a;return e=null==(r=e)?"":h(r),o=function(e){var t=v(e),n=t%1;return t==t?n?t-n:t:0}(n),0,a=e.length,o==o&&(void 0!==a&&(o=o<=a?o:a),o=o>=0?o:0),n=o,t=h(t),e.slice(n,n+t.length)==t}}).call(this,n(3))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){(function(t){var n,r=/^\[object .+?Constructor\]$/,o="object"==typeof t&&t&&t.Object===Object&&t,a="object"==typeof self&&self&&self.Object===Object&&self,i=o||a||Function("return this")(),s=Array.prototype,u=Function.prototype,c=Object.prototype,l=i["__core-js_shared__"],f=(n=/[^.]+$/.exec(l&&l.keys&&l.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",d=u.toString,p=c.hasOwnProperty,h=c.toString,m=RegExp("^"+d.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),g=s.splice,v=k(i,"Map"),b=k(Object,"create");function y(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function w(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function C(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function O(e,t){for(var n,r,o=e.length;o--;)if((n=e[o][0])===(r=t)||n!=n&&r!=r)return o;return-1}function x(e){return!(!E(e)||(t=e,f&&f in t))&&(function(e){var t=E(e)?h.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?m:r).test(function(e){if(null!=e){try{return d.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}function D(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function k(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return x(n)?n:void 0}function S(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i),i};return n.cache=new(S.Cache||C),n}function E(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}y.prototype.clear=function(){this.__data__=b?b(null):{}},y.prototype["delete"]=function(e){return this.has(e)&&delete this.__data__[e]},y.prototype.get=function(e){var t=this.__data__;if(b){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return p.call(t,e)?t[e]:void 0},y.prototype.has=function(e){var t=this.__data__;return b?void 0!==t[e]:p.call(t,e)},y.prototype.set=function(e,t){return this.__data__[e]=b&&void 0===t?"__lodash_hash_undefined__":t,this},w.prototype.clear=function(){this.__data__=[]},w.prototype["delete"]=function(e){var t=this.__data__,n=O(t,e);return!(n<0||(n==t.length-1?t.pop():g.call(t,n,1),0))},w.prototype.get=function(e){var t=this.__data__,n=O(t,e);return n<0?void 0:t[n][1]},w.prototype.has=function(e){return O(this.__data__,e)>-1},w.prototype.set=function(e,t){var n=this.__data__,r=O(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},C.prototype.clear=function(){this.__data__={hash:new y,map:new(v||w),string:new y}},C.prototype["delete"]=function(e){return D(this,e)["delete"](e)},C.prototype.get=function(e){return D(this,e).get(e)},C.prototype.has=function(e){return D(this,e).has(e)},C.prototype.set=function(e,t){return D(this,e).set(e,t),this},S.Cache=C,e.exports=S}).call(this,n(3))},function(e,t,n){(function(t){var n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,i=parseInt,s="object"==typeof t&&t&&t.Object===Object&&t,u="object"==typeof self&&self&&self.Object===Object&&self,c=s||u||Function("return this")(),l=Object.prototype.toString,f=Math.max,d=Math.min,p=function(){return c.Date.now()};function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function m(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==l.call(e)}(e))return NaN;if(h(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=h(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var s=o.test(e);return s||a.test(e)?i(e.slice(2),s?2:8):r.test(e)?NaN:+e}e.exports=function(e,t,n){var r,o,a,i,s,u,c=0,l=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var n=r,a=o;return r=o=void 0,c=t,i=e.apply(a,n)}function y(e){return c=e,s=setTimeout(C,t),l?b(e):i}function w(e){var n=e-u;return void 0===u||n>=t||n<0||g&&e-c>=a}function C(){var e=p();if(w(e))return O(e);s=setTimeout(C,function(e){var n=t-(e-u);return g?d(n,a-(e-c)):n}(e))}function O(e){return s=void 0,v&&r?b(e):(r=o=void 0,i)}function x(){var e=p(),n=w(e);if(r=arguments,o=this,u=e,n){if(void 0===s)return y(u);if(g)return s=setTimeout(C,t),b(u)}return void 0===s&&(s=setTimeout(C,t)),i}return t=m(t)||0,h(n)&&(l=!!n.leading,a=(g="maxWait"in n)?f(m(n.maxWait)||0,t):a,v="trailing"in n?!!n.trailing:v),x.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=u=o=s=void 0},x.flush=function(){return void 0===s?i:O(p())},x}}).call(this,n(3))},function(e,t,n){(function(e,n){var r="[object Arguments]",o="[object Map]",a="[object Object]",i="[object Set]",s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/,c=/^\./,l=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f=/\\(\\)?/g,d=/^\[object .+?Constructor\]$/,p=/^(?:0|[1-9]\d*)$/,h={};h["[object Float32Array]"]=h["[object Float64Array]"]=h["[object Int8Array]"]=h["[object Int16Array]"]=h["[object Int32Array]"]=h["[object Uint8Array]"]=h["[object Uint8ClampedArray]"]=h["[object Uint16Array]"]=h["[object Uint32Array]"]=!0,h[r]=h["[object Array]"]=h["[object ArrayBuffer]"]=h["[object Boolean]"]=h["[object DataView]"]=h["[object Date]"]=h["[object Error]"]=h["[object Function]"]=h[o]=h["[object Number]"]=h[a]=h["[object RegExp]"]=h[i]=h["[object String]"]=h["[object WeakMap]"]=!1;var m="object"==typeof e&&e&&e.Object===Object&&e,g="object"==typeof self&&self&&self.Object===Object&&self,v=m||g||Function("return this")(),b=t&&!t.nodeType&&t,y=b&&"object"==typeof n&&n&&!n.nodeType&&n,w=y&&y.exports===b&&m.process,C=function(){try{return w&&w.binding("util")}catch(e){}}(),O=C&&C.isTypedArray;function x(e,t,n,r){var o=-1,a=e?e.length:0;for(r&&a&&(n=e[++o]);++o<a;)n=t(n,e[o],o,e);return n}function D(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function k(e,t,n,r,o){return o(e,(function(e,o,a){n=r?(r=!1,e):t(n,e,o,a)})),n}function S(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function E(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function M(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var _,P,j,T=Array.prototype,A=Function.prototype,I=Object.prototype,R=v["__core-js_shared__"],N=(_=/[^.]+$/.exec(R&&R.keys&&R.keys.IE_PROTO||""))?"Symbol(src)_1."+_:"",L=A.toString,V=I.hasOwnProperty,F=I.toString,H=RegExp("^"+L.call(V).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),U=v.Symbol,W=v.Uint8Array,z=I.propertyIsEnumerable,B=T.splice,Y=(P=Object.keys,j=Object,function(e){return P(j(e))}),q=Oe(v,"DataView"),K=Oe(v,"Map"),$=Oe(v,"Promise"),G=Oe(v,"Set"),J=Oe(v,"WeakMap"),Q=Oe(Object,"create"),X=Pe(q),Z=Pe(K),ee=Pe($),te=Pe(G),ne=Pe(J),re=U?U.prototype:void 0,oe=re?re.valueOf:void 0,ae=re?re.toString:void 0;function ie(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function se(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ue(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ce(e){var t=-1,n=e?e.length:0;for(this.__data__=new ue;++t<n;)this.add(e[t])}function le(e){this.__data__=new se(e)}function fe(e,t){for(var n=e.length;n--;)if(Te(e[n][0],t))return n;return-1}ie.prototype.clear=function(){this.__data__=Q?Q(null):{}},ie.prototype["delete"]=function(e){return this.has(e)&&delete this.__data__[e]},ie.prototype.get=function(e){var t=this.__data__;if(Q){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return V.call(t,e)?t[e]:void 0},ie.prototype.has=function(e){var t=this.__data__;return Q?void 0!==t[e]:V.call(t,e)},ie.prototype.set=function(e,t){return this.__data__[e]=Q&&void 0===t?"__lodash_hash_undefined__":t,this},se.prototype.clear=function(){this.__data__=[]},se.prototype["delete"]=function(e){var t=this.__data__,n=fe(t,e);return!(n<0||(n==t.length-1?t.pop():B.call(t,n,1),0))},se.prototype.get=function(e){var t=this.__data__,n=fe(t,e);return n<0?void 0:t[n][1]},se.prototype.has=function(e){return fe(this.__data__,e)>-1},se.prototype.set=function(e,t){var n=this.__data__,r=fe(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},ue.prototype.clear=function(){this.__data__={hash:new ie,map:new(K||se),string:new ie}},ue.prototype["delete"]=function(e){return Ce(this,e)["delete"](e)},ue.prototype.get=function(e){return Ce(this,e).get(e)},ue.prototype.has=function(e){return Ce(this,e).has(e)},ue.prototype.set=function(e,t){return Ce(this,e).set(e,t),this},ce.prototype.add=ce.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},ce.prototype.has=function(e){return this.__data__.has(e)},le.prototype.clear=function(){this.__data__=new se},le.prototype["delete"]=function(e){return this.__data__["delete"](e)},le.prototype.get=function(e){return this.__data__.get(e)},le.prototype.has=function(e){return this.__data__.has(e)},le.prototype.set=function(e,t){var n=this.__data__;if(n instanceof se){var r=n.__data__;if(!K||r.length<199)return r.push([e,t]),this;n=this.__data__=new ue(r)}return n.set(e,t),this};var de,pe=(de=function(e,t){return e&&he(e,t,We)},function(e,t){if(null==e)return e;if(!Re(e))return de(e,t);for(var n=e.length,r=-1,o=Object(e);++r<n&&!1!==t(o[r],r,o););return e}),he=function(e,t,n){for(var r=-1,o=Object(e),a=n(e),i=a.length;i--;){var s=a[++r];if(!1===t(o[s],s,o))break}return e};function me(e,t){for(var n=0,r=(t=ke(t,e)?[t]:ye(t)).length;null!=e&&n<r;)e=e[_e(t[n++])];return n&&n==r?e:void 0}function ge(e,t){return null!=e&&t in Object(e)}function ve(e,t,n,s,u){return e===t||(null==e||null==t||!Ve(e)&&!Fe(t)?e!=e&&t!=t:function(e,t,n,s,u,c){var l=Ie(e),f=Ie(t),d="[object Array]",p="[object Array]";l||(d=(d=xe(e))==r?a:d),f||(p=(p=xe(t))==r?a:p);var h=d==a&&!S(e),m=p==a&&!S(t),g=d==p;if(g&&!h)return c||(c=new le),l||Ue(e)?we(e,t,n,s,u,c):function(e,t,n,r,a,s,u){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!r(new W(e),new W(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Te(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case o:var c=E;case i:var l=2&s;if(c||(c=M),e.size!=t.size&&!l)return!1;var f=u.get(e);if(f)return f==t;s|=1,u.set(e,t);var d=we(c(e),c(t),r,a,s,u);return u["delete"](e),d;case"[object Symbol]":if(oe)return oe.call(e)==oe.call(t)}return!1}(e,t,d,n,s,u,c);if(!(2&u)){var v=h&&V.call(e,"__wrapped__"),b=m&&V.call(t,"__wrapped__");if(v||b){var y=v?e.value():e,w=b?t.value():t;return c||(c=new le),n(y,w,s,u,c)}}return!!g&&(c||(c=new le),function(e,t,n,r,o,a){var i=2&o,s=We(e),u=s.length;if(u!=We(t).length&&!i)return!1;for(var c=u;c--;){var l=s[c];if(!(i?l in t:V.call(t,l)))return!1}var f=a.get(e);if(f&&a.get(t))return f==t;var d=!0;a.set(e,t),a.set(t,e);for(var p=i;++c<u;){var h=e[l=s[c]],m=t[l];if(r)var g=i?r(m,h,l,t,e,a):r(h,m,l,e,t,a);if(!(void 0===g?h===m||n(h,m,r,o,a):g)){d=!1;break}p||(p="constructor"==l)}if(d&&!p){var v=e.constructor,b=t.constructor;v==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b||(d=!1)}return a["delete"](e),a["delete"](t),d}(e,t,n,s,u,c))}(e,t,ve,n,s,u))}function be(e){return"function"==typeof e?e:null==e?ze:"object"==typeof e?Ie(e)?function(e,t){return ke(e)&&Se(t)?Ee(_e(e),t):function(n){var r=function(e,t,n){var r=null==e?void 0:me(e,t);return void 0===r?void 0:r}(n,e);return void 0===r&&r===t?function(e,t){return null!=e&&function(e,t,n){for(var r,o=-1,a=(t=ke(t,e)?[t]:ye(t)).length;++o<a;){var i=_e(t[o]);if(!(r=null!=e&&n(e,i)))break;e=e[i]}return r||!!(a=e?e.length:0)&&Le(a)&&De(i,a)&&(Ie(e)||Ae(e))}(e,t,ge)}(n,e):ve(t,r,void 0,3)}}(e[0],e[1]):function(e){var t=function(e){for(var t=We(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Se(o)]}return t}(e);return 1==t.length&&t[0][2]?Ee(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,r){var o=n.length,a=o;if(null==e)return!a;for(e=Object(e);o--;){var i=n[o];if(i[2]?i[1]!==e[i[0]]:!(i[0]in e))return!1}for(;++o<a;){var s=(i=n[o])[0],u=e[s],c=i[1];if(i[2]){if(void 0===u&&!(s in e))return!1}else{var l,f=new le;if(!(void 0===l?ve(c,u,r,3,f):l))return!1}}return!0}(n,0,t)}}(e):ke(t=e)?(n=_e(t),function(e){return null==e?void 0:e[n]}):function(e){return function(t){return me(t,e)}}(t);var t,n}function ye(e){return Ie(e)?e:Me(e)}function we(e,t,n,r,o,a){var i=2&o,s=e.length,u=t.length;if(s!=u&&!(i&&u>s))return!1;var c=a.get(e);if(c&&a.get(t))return c==t;var l=-1,f=!0,d=1&o?new ce:void 0;for(a.set(e,t),a.set(t,e);++l<s;){var p=e[l],h=t[l];if(r)var m=i?r(h,p,l,t,e,a):r(p,h,l,e,t,a);if(void 0!==m){if(m)continue;f=!1;break}if(d){if(!D(t,(function(e,t){if(!d.has(t)&&(p===e||n(p,e,r,o,a)))return d.add(t)}))){f=!1;break}}else if(p!==h&&!n(p,h,r,o,a)){f=!1;break}}return a["delete"](e),a["delete"](t),f}function Ce(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function Oe(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Ve(e)||function(e){return!!N&&N in e}(e))&&(Ne(e)||S(e)?H:d).test(Pe(e))}(n)?n:void 0}var xe=function(e){return F.call(e)};function De(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||p.test(e))&&e>-1&&e%1==0&&e<t}function ke(e,t){if(Ie(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!He(e))||u.test(e)||!s.test(e)||null!=t&&e in Object(t)}function Se(e){return e==e&&!Ve(e)}function Ee(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}(q&&"[object DataView]"!=xe(new q(new ArrayBuffer(1)))||K&&xe(new K)!=o||$&&"[object Promise]"!=xe($.resolve())||G&&xe(new G)!=i||J&&"[object WeakMap]"!=xe(new J))&&(xe=function(e){var t=F.call(e),n=t==a?e.constructor:void 0,r=n?Pe(n):void 0;if(r)switch(r){case X:return"[object DataView]";case Z:return o;case ee:return"[object Promise]";case te:return i;case ne:return"[object WeakMap]"}return t});var Me=je((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(He(e))return ae?ae.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return c.test(e)&&n.push(""),e.replace(l,(function(e,t,r,o){n.push(r?o.replace(f,"$1"):t||e)})),n}));function _e(e){if("string"==typeof e||He(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Pe(e){if(null!=e){try{return L.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function je(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i),i};return n.cache=new(je.Cache||ue),n}function Te(e,t){return e===t||e!=e&&t!=t}function Ae(e){return function(e){return Fe(e)&&Re(e)}(e)&&V.call(e,"callee")&&(!z.call(e,"callee")||F.call(e)==r)}je.Cache=ue;var Ie=Array.isArray;function Re(e){return null!=e&&Le(e.length)&&!Ne(e)}function Ne(e){var t=Ve(e)?F.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function Le(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Ve(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Fe(e){return!!e&&"object"==typeof e}function He(e){return"symbol"==typeof e||Fe(e)&&"[object Symbol]"==F.call(e)}var Ue=O?function(e){return function(t){return e(t)}}(O):function(e){return Fe(e)&&Le(e.length)&&!!h[F.call(e)]};function We(e){return Re(e)?function(e,t){var n=Ie(e)||Ae(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,o=!!r;for(var a in e)!t&&!V.call(e,a)||o&&("length"==a||De(a,r))||n.push(a);return n}(e):function(e){if(n=(t=e)&&t.constructor,t!==("function"==typeof n&&n.prototype||I))return Y(e);var t,n,r=[];for(var o in Object(e))V.call(e,o)&&"constructor"!=o&&r.push(o);return r}(e)}function ze(e){return e}n.exports=function(e,t,n){var r=Ie(e)?x:k,o=arguments.length<3;return r(e,be(t),n,o,pe)}}).call(this,n(3),n(7)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){String.prototype.padEnd||(String.prototype.padEnd=function(e,t){return e>>=0,t=String(void 0!==t?t:" "),this.length>e?String(this):((e-=this.length)>t.length&&(t+=t.repeat(e/t.length)),String(this)+t.slice(0,e))})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function a(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||o(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function i(e){if(Array.isArray(e))return e}function s(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 l(e){return(l="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 f(e){return(f="function"==typeof Symbol&&"symbol"===l(Symbol.iterator)?function(e){return l(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":l(e)})(e)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n.r(t);var m=n(0),g=n.n(m),v=n(5),b=n.n(v),y=n(4),w=n.n(y),C=n(6),O=n.n(C),x=n(2),D=n.n(x),k=n(1),S=n.n(k);function E(e,t){return i(e)||function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==s["return"]||s["return"]()}finally{if(o)throw a}}return n}(e,t)||s()}n(8);var M=[["Afghanistan",["asia"],"af","93"],["Albania",["europe"],"al","355"],["Algeria",["africa","north-africa"],"dz","213"],["Andorra",["europe"],"ad","376"],["Angola",["africa"],"ao","244"],["Antigua and Barbuda",["america","carribean"],"ag","1268"],["Argentina",["america","south-america"],"ar","54","(..) ........",0,["11","221","223","261","264","2652","280","2905","291","2920","2966","299","341","342","343","351","376","379","381","3833","385","387","388"]],["Armenia",["asia","ex-ussr"],"am","374"],["Aruba",["america","carribean"],"aw","297"],["Australia",["oceania"],"au","61","(..) .... ....",0,["2","3","4","7","8","02","03","04","07","08"]],["Austria",["europe","eu-union"],"at","43"],["Azerbaijan",["asia","ex-ussr"],"az","994","(..) ... .. .."],["Bahamas",["america","carribean"],"bs","1242"],["Bahrain",["middle-east"],"bh","973"],["Bangladesh",["asia"],"bd","880"],["Barbados",["america","carribean"],"bb","1246"],["Belarus",["europe","ex-ussr"],"by","375","(..) ... .. .."],["Belgium",["europe","eu-union"],"be","32","... .. .. .."],["Belize",["america","central-america"],"bz","501"],["Benin",["africa"],"bj","229"],["Bhutan",["asia"],"bt","975"],["Bolivia",["america","south-america"],"bo","591"],["Bosnia and Herzegovina",["europe","ex-yugos"],"ba","387"],["Botswana",["africa"],"bw","267"],["Brazil",["america","south-america"],"br","55","(..) ........."],["British Indian Ocean Territory",["asia"],"io","246"],["Brunei",["asia"],"bn","673"],["Bulgaria",["europe","eu-union"],"bg","359"],["Burkina Faso",["africa"],"bf","226"],["Burundi",["africa"],"bi","257"],["Cambodia",["asia"],"kh","855"],["Cameroon",["africa"],"cm","237"],["Canada",["america","north-america"],"ca","1","(...) ...-....",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde",["africa"],"cv","238"],["Caribbean Netherlands",["america","carribean"],"bq","599","",1],["Central African Republic",["africa"],"cf","236"],["Chad",["africa"],"td","235"],["Chile",["america","south-america"],"cl","56"],["China",["asia"],"cn","86","..-........."],["Colombia",["america","south-america"],"co","57","... ... ...."],["Comoros",["africa"],"km","269"],["Congo",["africa"],"cd","243"],["Congo",["africa"],"cg","242"],["Costa Rica",["america","central-america"],"cr","506","....-...."],["Côte d’Ivoire",["africa"],"ci","225",".. .. .. .."],["Croatia",["europe","eu-union","ex-yugos"],"hr","385"],["Cuba",["america","carribean"],"cu","53"],["Curaçao",["america","carribean"],"cw","599","",0],["Cyprus",["europe","eu-union"],"cy","357",".. ......"],["Czech Republic",["europe","eu-union"],"cz","420"],["Denmark",["europe","eu-union","baltic"],"dk","45",".. .. .. .."],["Djibouti",["africa"],"dj","253"],["Dominica",["america","carribean"],"dm","1767"],["Dominican Republic",["america","carribean"],"do","1","",2,["809","829","849"]],["Ecuador",["america","south-america"],"ec","593"],["Egypt",["africa","north-africa"],"eg","20"],["El Salvador",["america","central-america"],"sv","503","....-...."],["Equatorial Guinea",["africa"],"gq","240"],["Eritrea",["africa"],"er","291"],["Estonia",["europe","eu-union","ex-ussr","baltic"],"ee","372",".... ......"],["Ethiopia",["africa"],"et","251"],["Fiji",["oceania"],"fj","679"],["Finland",["europe","eu-union","baltic"],"fi","358",".. ... .. .."],["France",["europe","eu-union"],"fr","33",". .. .. .. .."],["French Guiana",["america","south-america"],"gf","594"],["French Polynesia",["oceania"],"pf","689"],["Gabon",["africa"],"ga","241"],["Gambia",["africa"],"gm","220"],["Georgia",["asia","ex-ussr"],"ge","995"],["Germany",["europe","eu-union","baltic"],"de","49",".... ........"],["Ghana",["africa"],"gh","233"],["Greece",["europe","eu-union"],"gr","30"],["Grenada",["america","carribean"],"gd","1473"],["Guadeloupe",["america","carribean"],"gp","590","",0],["Guam",["oceania"],"gu","1671"],["Guatemala",["america","central-america"],"gt","502","....-...."],["Guinea",["africa"],"gn","224"],["Guinea-Bissau",["africa"],"gw","245"],["Guyana",["america","south-america"],"gy","592"],["Haiti",["america","carribean"],"ht","509","....-...."],["Honduras",["america","central-america"],"hn","504"],["Hong Kong",["asia"],"hk","852",".... ...."],["Hungary",["europe","eu-union"],"hu","36"],["Iceland",["europe"],"is","354","... ...."],["India",["asia"],"in","91",".....-....."],["Indonesia",["asia"],"id","62"],["Iran",["middle-east"],"ir","98","... ... ...."],["Iraq",["middle-east"],"iq","964"],["Ireland",["europe","eu-union"],"ie","353",".. ......."],["Israel",["middle-east"],"il","972","... ... ...."],["Italy",["europe","eu-union"],"it","39","... .......",0],["Jamaica",["america","carribean"],"jm","1876"],["Japan",["asia"],"jp","81",".. .... ...."],["Jordan",["middle-east"],"jo","962"],["Kazakhstan",["asia","ex-ussr"],"kz","7","... ...-..-..",1,["310","311","312","313","315","318","321","324","325","326","327","336","7172","73622"]],["Kenya",["africa"],"ke","254"],["Kiribati",["oceania"],"ki","686"],["Kosovo",["europe","ex-yugos"],"xk","383"],["Kuwait",["middle-east"],"kw","965"],["Kyrgyzstan",["asia","ex-ussr"],"kg","996"],["Laos",["asia"],"la","856"],["Latvia",["europe","eu-union","ex-ussr","baltic"],"lv","371"],["Lebanon",["middle-east"],"lb","961"],["Lesotho",["africa"],"ls","266"],["Liberia",["africa"],"lr","231"],["Libya",["africa","north-africa"],"ly","218"],["Liechtenstein",["europe"],"li","423"],["Lithuania",["europe","eu-union","ex-ussr","baltic"],"lt","370"],["Luxembourg",["europe","eu-union"],"lu","352"],["Macau",["asia"],"mo","853"],["Macedonia",["europe","ex-yugos"],"mk","389"],["Madagascar",["africa"],"mg","261"],["Malawi",["africa"],"mw","265"],["Malaysia",["asia"],"my","60","..-....-...."],["Maldives",["asia"],"mv","960"],["Mali",["africa"],"ml","223"],["Malta",["europe","eu-union"],"mt","356"],["Marshall Islands",["oceania"],"mh","692"],["Martinique",["america","carribean"],"mq","596"],["Mauritania",["africa"],"mr","222"],["Mauritius",["africa"],"mu","230"],["Mexico",["america","central-america"],"mx","52","... ... ....",0,["55","81","33","656","664","998","774","229"]],["Micronesia",["oceania"],"fm","691"],["Moldova",["europe"],"md","373","(..) ..-..-.."],["Monaco",["europe"],"mc","377"],["Mongolia",["asia"],"mn","976"],["Montenegro",["europe","ex-yugos"],"me","382"],["Morocco",["africa","north-africa"],"ma","212"],["Mozambique",["africa"],"mz","258"],["Myanmar",["asia"],"mm","95"],["Namibia",["africa"],"na","264"],["Nauru",["africa"],"nr","674"],["Nepal",["asia"],"np","977"],["Netherlands",["europe","eu-union"],"nl","31",".. ........"],["New Caledonia",["oceania"],"nc","687"],["New Zealand",["oceania"],"nz","64","...-...-...."],["Nicaragua",["america","central-america"],"ni","505"],["Niger",["africa"],"ne","227"],["Nigeria",["africa"],"ng","234"],["North Korea",["asia"],"kp","850"],["Norway",["europe","baltic"],"no","47","... .. ..."],["Oman",["middle-east"],"om","968"],["Pakistan",["asia"],"pk","92","...-......."],["Palau",["oceania"],"pw","680"],["Palestine",["middle-east"],"ps","970"],["Panama",["america","central-america"],"pa","507"],["Papua New Guinea",["oceania"],"pg","675"],["Paraguay",["america","south-america"],"py","595"],["Peru",["america","south-america"],"pe","51"],["Philippines",["asia"],"ph","63",".... ......."],["Poland",["europe","eu-union","baltic"],"pl","48","...-...-..."],["Portugal",["europe","eu-union"],"pt","351"],["Puerto Rico",["america","carribean"],"pr","1","",3,["787","939"]],["Qatar",["middle-east"],"qa","974"],["Réunion",["africa"],"re","262"],["Romania",["europe","eu-union"],"ro","40"],["Russia",["europe","asia","ex-ussr","baltic"],"ru","7","(...) ...-..-..",0],["Rwanda",["africa"],"rw","250"],["Saint Kitts and Nevis",["america","carribean"],"kn","1869"],["Saint Lucia",["america","carribean"],"lc","1758"],["Saint Vincent and the Grenadines",["america","carribean"],"vc","1784"],["Samoa",["oceania"],"ws","685"],["San Marino",["europe"],"sm","378"],["São Tomé and Príncipe",["africa"],"st","239"],["Saudi Arabia",["middle-east"],"sa","966"],["Senegal",["africa"],"sn","221"],["Serbia",["europe","ex-yugos"],"rs","381"],["Seychelles",["africa"],"sc","248"],["Sierra Leone",["africa"],"sl","232"],["Singapore",["asia"],"sg","65","....-...."],["Slovakia",["europe","eu-union"],"sk","421"],["Slovenia",["europe","eu-union","ex-yugos"],"si","386"],["Solomon Islands",["oceania"],"sb","677"],["Somalia",["africa"],"so","252"],["South Africa",["africa"],"za","27"],["South Korea",["asia"],"kr","82","... .... ...."],["South Sudan",["africa","north-africa"],"ss","211"],["Spain",["europe","eu-union"],"es","34","... ... ..."],["Sri Lanka",["asia"],"lk","94"],["Sudan",["africa"],"sd","249"],["Suriname",["america","south-america"],"sr","597"],["Swaziland",["africa"],"sz","268"],["Sweden",["europe","eu-union","baltic"],"se","46","(...) ...-..."],["Switzerland",["europe"],"ch","41",".. ... .. .."],["Syria",["middle-east"],"sy","963"],["Taiwan",["asia"],"tw","886"],["Tajikistan",["asia","ex-ussr"],"tj","992"],["Tanzania",["africa"],"tz","255"],["Thailand",["asia"],"th","66"],["Timor-Leste",["asia"],"tl","670"],["Togo",["africa"],"tg","228"],["Tonga",["oceania"],"to","676"],["Trinidad and Tobago",["america","carribean"],"tt","1868"],["Tunisia",["africa","north-africa"],"tn","216"],["Turkey",["europe"],"tr","90","... ... .. .."],["Turkmenistan",["asia","ex-ussr"],"tm","993"],["Tuvalu",["asia"],"tv","688"],["Uganda",["africa"],"ug","256"],["Ukraine",["europe","ex-ussr"],"ua","380","(..) ... .. .."],["United Arab Emirates",["middle-east"],"ae","971"],["United Kingdom",["europe","eu-union"],"gb","44",".... ......"],["United States",["america","north-america"],"us","1","(...) ...-....",0,["907","205","251","256","334","479","501","870","480","520","602","623","928","209","213","310","323","408","415","510","530","559","562","619","626","650","661","707","714","760","805","818","831","858","909","916","925","949","951","303","719","970","203","860","202","302","239","305","321","352","386","407","561","727","772","813","850","863","904","941","954","229","404","478","706","770","912","808","319","515","563","641","712","208","217","309","312","618","630","708","773","815","847","219","260","317","574","765","812","316","620","785","913","270","502","606","859","225","318","337","504","985","413","508","617","781","978","301","410","207","231","248","269","313","517","586","616","734","810","906","989","218","320","507","612","651","763","952","314","417","573","636","660","816","228","601","662","406","252","336","704","828","910","919","701","308","402","603","201","609","732","856","908","973","505","575","702","775","212","315","516","518","585","607","631","716","718","845","914","216","330","419","440","513","614","740","937","405","580","918","503","541","215","412","570","610","717","724","814","401","803","843","864","605","423","615","731","865","901","931","210","214","254","281","325","361","409","432","512","713","806","817","830","903","915","936","940","956","972","979","435","801","276","434","540","703","757","804","802","206","253","360","425","509","262","414","608","715","920","304","307"]],["Uruguay",["america","south-america"],"uy","598"],["Uzbekistan",["asia","ex-ussr"],"uz","998"],["Vanuatu",["oceania"],"vu","678"],["Vatican City",["europe"],"va","39",".. .... ....",1],["Venezuela",["america","south-america"],"ve","58"],["Vietnam",["asia"],"vn","84"],["Yemen",["middle-east"],"ye","967"],["Zambia",["africa"],"zm","260"],["Zimbabwe",["africa"],"zw","263"]],_=[["American Samoa",["oceania"],"as","1684"],["Anguilla",["america","carribean"],"ai","1264"],["Bermuda",["america","north-america"],"bm","1441"],["British Virgin Islands",["america","carribean"],"vg","1284"],["Cayman Islands",["america","carribean"],"ky","1345"],["Cook Islands",["oceania"],"ck","682"],["Falkland Islands",["america","south-america"],"fk","500"],["Faroe Islands",["europe"],"fo","298"],["Gibraltar",["europe"],"gi","350"],["Greenland",["america"],"gl","299"],["Jersey",["europe","eu-union"],"je","44",".... ......"],["Montserrat",["america","carribean"],"ms","1664"],["Niue",["asia"],"nu","683"],["Norfolk Island",["oceania"],"nf","672"],["Northern Mariana Islands",["oceania"],"mp","1670"],["Saint Barthélemy",["america","carribean"],"bl","590","",1],["Saint Helena",["africa"],"sh","290"],["Saint Martin",["america","carribean"],"mf","590","",2],["Saint Pierre and Miquelon",["america","north-america"],"pm","508"],["Sint Maarten",["america","carribean"],"sx","1721"],["Tokelau",["oceania"],"tk","690"],["Turks and Caicos Islands",["america","carribean"],"tc","1649"],["U.S. Virgin Islands",["america","carribean"],"vi","1340"],["Wallis and Futuna",["oceania"],"wf","681"]];function P(e,t,n,r,o){return!n||o?e+"".padEnd(t.length,".")+" "+r:e+"".padEnd(t.length,".")+" "+n}function j(e,t,n,o,i){var s,u,c=[];return u=!0===t,[(s=[]).concat.apply(s,a(e.map((function(e){var a={name:e[0],regions:e[1],iso2:e[2],countryCode:e[3],dialCode:e[3],format:P(n,e[3],e[4],o,i),priority:e[5]||0},s=[];return e[6]&&e[6].map((function(t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}({},a);n.dialCode=e[3]+t,n.isAreaCode=!0,n.areaCodeLength=t.length,s.push(n)})),s.length>0?(a.mainCode=!0,u||"Array"===t.constructor.name&&t.includes(e[2])?(a.hasAreaCodes=!0,[a].concat(s)):(c=c.concat(s),[a])):[a]})))),c]}function T(e,t,n,r){if(null!==n){var o=Object.keys(n),a=Object.values(n);o.forEach((function(n,o){if(r)return e.push([n,a[o]]);var i=e.findIndex((function(e){return e[0]===n}));if(-1===i){var s=[n];s[t]=a[o],e.push(s)}else e[i][t]=a[o]}))}}function A(e,t){return 0===t.length?e:e.map((function(e){var n=t.findIndex((function(t){return t[0]===e[2]}));if(-1===n)return e;var r=t[n];return r[1]&&(e[4]=r[1]),r[3]&&(e[5]=r[3]),r[2]&&(e[6]=r[2]),e}))}var I=function N(e,t,n,r,o,i,s,c,l,f,d,p,h,m){u(this,N),this.filterRegions=function(e,t){if("string"==typeof e){var n=e;return t.filter((function(e){return e.regions.some((function(e){return e===n}))}))}return t.filter((function(t){return e.map((function(e){return t.regions.some((function(t){return t===e}))})).some((function(e){return e}))}))},this.sortTerritories=function(e,t){var n=[].concat(a(e),a(t));return n.sort((function(e,t){return e.name<t.name?-1:e.name>t.name?1:0})),n},this.getFilteredCountryList=function(e,t,n){return 0===e.length?t:n?e.map((function(e){var n=t.find((function(t){return t.iso2===e}));if(n)return n})).filter((function(e){return e})):t.filter((function(t){return e.some((function(e){return e===t.iso2}))}))},this.localizeCountries=function(e,t,n){for(var r=0;r<e.length;r++)void 0!==t[e[r].iso2]?e[r].localName=t[e[r].iso2]:void 0!==t[e[r].name]&&(e[r].localName=t[e[r].name]);return n||e.sort((function(e,t){return e.localName<t.localName?-1:e.localName>t.localName?1:0})),e},this.getCustomAreas=function(e,t){for(var n=[],r=0;r<t.length;r++){var o=JSON.parse(JSON.stringify(e));o.dialCode+=t[r],n.push(o)}return n},this.excludeCountries=function(e,t){return 0===t.length?e:e.filter((function(e){return!t.includes(e.iso2)}))};var g=function(e,t,n){var r=[];return T(r,1,e,!0),T(r,3,t),T(r,2,n),r}(c,l,f),v=A(JSON.parse(JSON.stringify(M)),g),b=A(JSON.parse(JSON.stringify(_)),g),y=E(j(v,e,p,h,m),2),w=y[0],C=y[1];if(t){var O=E(j(b,e,p,h,m),2),x=O[0];O[1],w=this.sortTerritories(x,w)}n&&(w=this.filterRegions(n,w)),this.onlyCountries=this.localizeCountries(this.excludeCountries(this.getFilteredCountryList(r,w,s.includes("onlyCountries")),i),d,s.includes("onlyCountries")),this.preferredCountries=0===o.length?[]:this.localizeCountries(this.getFilteredCountryList(o,w,s.includes("preferredCountries")),d,s.includes("preferredCountries")),this.hiddenAreaCodes=this.excludeCountries(this.getFilteredCountryList(r,C),i)},R=function(e){function t(e){var n;u(this,t),(n=function(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?d(e):t}(this,p(t).call(this,e))).getProbableCandidate=w()((function(e){return e&&0!==e.length?n.state.onlyCountries.filter((function(t){return D()(t.name.toLowerCase(),e.toLowerCase())}),d(d(n)))[0]:null})),n.guessSelectedCountry=w()((function(e,t,r,o){var a;if(!1===n.props.enableAreaCodes&&(o.some((function(t){if(D()(e,t.dialCode))return r.some((function(e){if(t.iso2===e.iso2&&e.mainCode)return a=e,!0})),!0})),a))return a;var i=r.find((function(e){return e.iso2==t}));if(""===e.trim())return i;var s=r.reduce((function(t,n){if(D()(e,n.dialCode)){if(n.dialCode.length>t.dialCode.length)return n;if(n.dialCode.length===t.dialCode.length&&n.priority<t.priority)return n}return t}),{dialCode:"",priority:10001},d(d(n)));return s.name?s:i})),n.updateCountry=function(e){var t,r=n.state.onlyCountries;(t=e.indexOf(0)>="0"&&e.indexOf(0)<="9"?r.find((function(t){return t.dialCode==+e})):r.find((function(t){return t.iso2==e})))&&t.dialCode&&n.setState({selectedCountry:t,formattedNumber:n.props.disableCountryCode?"":n.formatNumber(t.dialCode,t)})},n.scrollTo=function(e,t){if(e){var r=n.dropdownRef;if(r&&document.body){var o=r.offsetHeight,a=r.getBoundingClientRect().top+document.body.scrollTop,i=a+o,s=e,u=s.getBoundingClientRect(),c=s.offsetHeight,l=u.top+document.body.scrollTop,f=l+c,d=l-a+r.scrollTop,p=o/2-c/2;if(n.props.enableSearch?l<a+32:l<a)t&&(d-=p),r.scrollTop=d;else if(f>i){t&&(d+=p);var h=o-c;r.scrollTop=d-h}}}},n.scrollToTop=function(){var e=n.dropdownRef;e&&document.body&&(e.scrollTop=0)},n.formatNumber=function(e,t){if(!t)return e;var r,a=t.format,u=n.props,c=u.disableCountryCode,l=u.enableAreaCodeStretch,f=u.enableLongNumbers,d=u.autoFormat;if(c?((r=a.split(" ")).shift(),r=r.join(" ")):l&&t.isAreaCode?((r=a.split(" "))[1]=r[1].replace(/\.+/,"".padEnd(t.areaCodeLength,".")),r=r.join(" ")):r=a,!e||0===e.length)return c?"":n.props.prefix;if(e&&e.length<2||!r||!d)return c?e:n.props.prefix+e;var p,h=O()(r,(function(e,t){if(0===e.remainingText.length)return e;if("."!==t)return{formattedText:e.formattedText+t,remainingText:e.remainingText};var n,r=i(n=e.remainingText)||o(n)||s(),a=r[0],u=r.slice(1);return{formattedText:e.formattedText+a,remainingText:u}}),{formattedText:"",remainingText:e.split("")});return(p=f?h.formattedText+h.remainingText.join(""):h.formattedText).includes("(")&&!p.includes(")")&&(p+=")"),p},n.cursorToEnd=function(){var e=n.numberInputRef;e.focus();var t=e.value.length;")"===e.value.charAt(t-1)&&(t-=1),e.setSelectionRange(t,t)},n.getElement=function(e){return n["flag_no_".concat(e)]},n.getCountryData=function(){return n.state.selectedCountry?{name:n.state.selectedCountry.name||"",dialCode:n.state.selectedCountry.dialCode||"",countryCode:n.state.selectedCountry.iso2||"",format:n.state.selectedCountry.format||""}:{}},n.handleFlagDropdownClick=function(e){if(e.preventDefault(),n.state.showDropdown||!n.props.disabled){var t=n.state,r=t.preferredCountries,o=t.selectedCountry,a=r.concat(n.state.onlyCountries).findIndex((function(e){return e.dialCode===o.dialCode&&e.iso2===o.iso2}));n.setState({showDropdown:!n.state.showDropdown,highlightCountryIndex:a},(function(){n.state.showDropdown&&n.scrollTo(n.getElement(n.state.highlightCountryIndex))}))}},n.handleInput=function(e){var t=e.target.value,r=n.props,o=r.prefix,a=r.onChange,i=n.props.disableCountryCode?"":o,s=n.state.selectedCountry,u=n.state.freezeSelection;if(!n.props.countryCodeEditable){var c=o+(s.hasAreaCodes?n.state.onlyCountries.find((function(e){return e.iso2===s.iso2&&e.mainCode})).dialCode:s.dialCode);if(t.slice(0,c.length)!==c)return}if(t===o)return a&&a("",n.getCountryData(),e,""),n.setState({formattedNumber:""});if(t.replace(/\D/g,"").length>15){if(!1===n.props.enableLongNumbers)return;if("number"==typeof n.props.enableLongNumbers&&t.replace(/\D/g,"").length>n.props.enableLongNumbers)return}if(t!==n.state.formattedNumber){e.preventDefault?e.preventDefault():e.returnValue=!1;var l=n.props.country,f=n.state,d=f.onlyCountries,p=f.selectedCountry,h=f.hiddenAreaCodes;if(a&&e.persist(),t.length>0){var m=t.replace(/\D/g,"");(!n.state.freezeSelection||p.dialCode.length>m.length)&&(s=n.props.disableCountryGuess?p:n.guessSelectedCountry(m.substring(0,6),l,d,h)||p,u=!1),i=n.formatNumber(m,s),s=s.dialCode?s:p}var g=e.target.selectionStart,v=n.state.formattedNumber,b=i.length-v.length;n.setState({formattedNumber:i,freezeSelection:u,selectedCountry:s},(function(){b>0&&(g-=b),")"==i.charAt(i.length-1)?n.numberInputRef.setSelectionRange(i.length-1,i.length-1):g>0&&v.length>=i.length&&n.numberInputRef.setSelectionRange(g,g),a&&a(i.replace(/[^0-9]+/g,""),n.getCountryData(),e,i)}))}},n.handleInputClick=function(e){n.setState({showDropdown:!1}),n.props.onClick&&n.props.onClick(e,n.getCountryData())},n.handleDoubleClick=function(e){var t=e.target.value.length;e.target.setSelectionRange(0,t)},n.handleFlagItemClick=function(e,t){var r=n.state.selectedCountry,o=n.state.onlyCountries.find((function(t){return t==e}));if(o){var a=n.state.formattedNumber.replace(" ","").replace("(","").replace(")","").replace("-",""),i=a.length>1?a.replace(r.dialCode,o.dialCode):o.dialCode,s=n.formatNumber(i.replace(/\D/g,""),o);n.setState({showDropdown:!1,selectedCountry:o,freezeSelection:!0,formattedNumber:s},(function(){n.cursorToEnd(),n.props.onChange&&n.props.onChange(s.replace(/[^0-9]+/g,""),n.getCountryData(),t,s)}))}},n.handleInputFocus=function(e){n.numberInputRef&&n.numberInputRef.value===n.props.prefix&&n.state.selectedCountry&&!n.props.disableCountryCode&&n.setState({formattedNumber:n.props.prefix+n.state.selectedCountry.dialCode},(function(){n.props.jumpCursorToEnd&&setTimeout(n.cursorToEnd,0)})),n.setState({placeholder:""}),n.props.onFocus&&n.props.onFocus(e,n.getCountryData()),n.props.jumpCursorToEnd&&setTimeout(n.cursorToEnd,0)},n.handleInputBlur=function(e){e.target.value||n.setState({placeholder:n.props.placeholder}),n.props.onBlur&&n.props.onBlur(e,n.getCountryData())},n.handleInputCopy=function(e){if(n.props.copyNumbersOnly){var t=window.getSelection().toString().replace(/[^0-9]+/g,"");e.clipboardData.setData("text/plain",t),e.preventDefault()}},n.getHighlightCountryIndex=function(e){var t=n.state.highlightCountryIndex+e;return t<0||t>=n.state.onlyCountries.length+n.state.preferredCountries.length?t-e:n.props.enableSearch&&t>n.getSearchFilteredCountries().length?0:t},n.searchCountry=function(){var e=n.getProbableCandidate(n.state.queryString)||n.state.onlyCountries[0],t=n.state.onlyCountries.findIndex((function(t){return t==e}))+n.state.preferredCountries.length;n.scrollTo(n.getElement(t),!0),n.setState({queryString:"",highlightCountryIndex:t})},n.handleKeydown=function(e){var t=n.props.keys,r=e.target.className;if(r.includes("selected-flag")&&e.which===t.ENTER&&!n.state.showDropdown)return n.handleFlagDropdownClick(e);if(r.includes("form-control")&&(e.which===t.ENTER||e.which===t.ESC))return e.target.blur();if(n.state.showDropdown&&!n.props.disabled&&(!r.includes("search-box")||e.which===t.UP||e.which===t.DOWN||e.which===t.ENTER||e.which===t.ESC&&""===e.target.value)){e.preventDefault?e.preventDefault():e.returnValue=!1;var o=function(e){n.setState({highlightCountryIndex:n.getHighlightCountryIndex(e)},(function(){n.scrollTo(n.getElement(n.state.highlightCountryIndex),!0)}))};switch(e.which){case t.DOWN:o(1);break;case t.UP:o(-1);break;case t.ENTER:n.props.enableSearch?n.handleFlagItemClick(n.getSearchFilteredCountries()[n.state.highlightCountryIndex]||n.getSearchFilteredCountries()[0],e):n.handleFlagItemClick([].concat(a(n.state.preferredCountries),a(n.state.onlyCountries))[n.state.highlightCountryIndex],e);break;case t.ESC:case t.TAB:n.setState({showDropdown:!1},n.cursorToEnd);break;default:(e.which>=t.A&&e.which<=t.Z||e.which===t.SPACE)&&n.setState({queryString:n.state.queryString+String.fromCharCode(e.which)},n.state.debouncedQueryStingSearcher)}}},n.handleInputKeyDown=function(e){var t=n.props,r=t.keys,o=t.onEnterKeyPress,a=t.onKeyDown;e.which===r.ENTER&&o&&o(e),a&&a(e)},n.handleClickOutside=function(e){n.dropdownRef&&!n.dropdownContainerRef.contains(e.target)&&n.state.showDropdown&&n.setState({showDropdown:!1})},n.handleSearchChange=function(e){var t=e.currentTarget.value,r=n.state,o=r.preferredCountries,a=r.selectedCountry,i=0;if(""===t&&a){var s=n.state.onlyCountries;i=o.concat(s).findIndex((function(e){return e==a})),setTimeout((function(){return n.scrollTo(n.getElement(i))}),100)}n.setState({searchValue:t,highlightCountryIndex:i})},n.getDropdownCountryName=function(e){return e.localName||e.name},n.getSearchFilteredCountries=function(){var e=n.state,t=e.preferredCountries,r=e.onlyCountries,o=e.searchValue,i=n.props.enableSearch,s=t.concat(r),u=o.trim().toLowerCase();if(i&&u){if(/^\d+$/.test(u))return s.filter((function(e){var t=e.dialCode;return["".concat(t)].some((function(e){return e.toLowerCase().includes(u)}))}));var c=s.filter((function(e){var t=e.iso2;return["".concat(t)].some((function(e){return e.toLowerCase().includes(u)}))})),l=s.filter((function(e){var t=e.name,n=e.localName;return e.iso2,["".concat(t),"".concat(n||"")].some((function(e){return e.toLowerCase().includes(u)}))}));return n.scrollToTop(),a(new Set([].concat(c,l)))}return s},n.getCountryDropdownList=function(){var e,t=n.state,o=t.preferredCountries,a=t.highlightCountryIndex,i=t.showDropdown,s=t.searchValue,u=n.props,c=u.disableDropdown,l=u.prefix,f=n.props,d=f.enableSearch,p=f.searchNotFound,h=f.disableSearchIcon,m=f.searchClass,v=f.searchStyle,b=f.searchPlaceholder,y=f.autocompleteSearch,w=n.getSearchFilteredCountries().map((function(e,t){var r=a===t,o=S()({country:!0,preferred:"us"===e.iso2||"gb"===e.iso2,active:"us"===e.iso2,highlight:r}),i="flag ".concat(e.iso2);return g.a.createElement("li",Object.assign({ref:function(e){return n["flag_no_".concat(t)]=e},key:"flag_no_".concat(t),"data-flag-key":"flag_no_".concat(t),className:o,"data-dial-code":"1",tabIndex:c?"-1":"0","data-country-code":e.iso2,onClick:function(t){return n.handleFlagItemClick(e,t)},role:"option"},r?{"aria-selected":!0}:{}),g.a.createElement("div",{className:i}),g.a.createElement("span",{className:"country-name"},n.getDropdownCountryName(e)),g.a.createElement("span",{className:"dial-code"},e.format?n.formatNumber(e.dialCode,e):l+e.dialCode))})),C=g.a.createElement("li",{key:"dashes",className:"divider"});o.length>0&&(!d||d&&!s.trim())&&w.splice(o.length,0,C);var O=S()((r(e={},n.props.dropdownClass,!0),r(e,"country-list",!0),r(e,"hide",!i),e));return g.a.createElement("ul",{ref:function(e){return!d&&e&&e.focus(),n.dropdownRef=e},className:O,style:n.props.dropdownStyle,role:"listbox",tabIndex:"0"},d&&g.a.createElement("li",{className:S()(r({search:!0},m,m))},!h&&g.a.createElement("span",{className:S()(r({"search-emoji":!0},"".concat(m,"-emoji"),m)),role:"img","aria-label":"Magnifying glass"},"🔎"),g.a.createElement("input",{className:S()(r({"search-box":!0},"".concat(m,"-box"),m)),style:v,type:"search",placeholder:b,autoFocus:!0,autoComplete:y?"on":"off",value:s,onChange:n.handleSearchChange})),w.length>0?w:g.a.createElement("li",{className:"no-entries-message"},g.a.createElement("span",null,p)))};var c,l=new I(e.enableAreaCodes,e.enableTerritories,e.regions,e.onlyCountries,e.preferredCountries,e.excludeCountries,e.preserveOrder,e.masks,e.priority,e.areaCodes,e.localization,e.prefix,e.defaultMask,e.alwaysDefaultMask),h=l.onlyCountries,m=l.preferredCountries,v=l.hiddenAreaCodes,y=e.value?e.value.replace(/\D/g,""):"";c=e.disableInitialCountryGuess?0:y.length>1?n.guessSelectedCountry(y.substring(0,6),e.country,h,v)||0:e.country&&h.find((function(t){return t.iso2==e.country}))||0;var C,x=y.length<2&&c&&!D()(y,c.dialCode)?c.dialCode:"";C=""===y&&0===c?"":n.formatNumber((e.disableCountryCode?"":x)+y,c.name?c:void 0);var k=h.findIndex((function(e){return e==c}));return n.state={showDropdown:e.showDropdown,formattedNumber:C,onlyCountries:h,preferredCountries:m,hiddenAreaCodes:v,selectedCountry:c,highlightCountryIndex:k,queryString:"",freezeSelection:!1,debouncedQueryStingSearcher:b()(n.searchCountry,250),searchValue:""},n}var n,l;return 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&&h(e,t)}(t,e),n=t,(l=[{key:"componentDidMount",value:function(){document.addEventListener&&this.props.enableClickOutside&&document.addEventListener("mousedown",this.handleClickOutside)}},{key:"componentWillUnmount",value:function(){document.removeEventListener&&this.props.enableClickOutside&&document.removeEventListener("mousedown",this.handleClickOutside)}},{key:"componentDidUpdate",value:function(e,t,n){e.country!==this.props.country?this.updateCountry(this.props.country):e.value!==this.props.value&&this.updateFormattedNumber(this.props.value)}},{key:"updateFormattedNumber",value:function(e){if(null===e)return this.setState({selectedCountry:0,formattedNumber:""});var t=this.state,n=t.onlyCountries,r=t.selectedCountry,o=t.hiddenAreaCodes,a=this.props,i=a.country,s=a.prefix;if(""===e)return this.setState({selectedCountry:r,formattedNumber:""});var u,c,l=e.replace(/\D/g,"");if(r&&D()(e,s+r.dialCode))c=this.formatNumber(l,r),this.setState({formattedNumber:c});else{var f=(u=this.props.disableCountryGuess?r:this.guessSelectedCountry(l.substring(0,6),i,n,o)||r)&&D()(l,s+u.dialCode)?u.dialCode:"";c=this.formatNumber((this.props.disableCountryCode?"":f)+l,u||void 0),this.setState({selectedCountry:u,formattedNumber:c})}}},{key:"render",value:function(){var e,t,n,o,a,i=this,s=this.state,u=s.onlyCountries,c=s.selectedCountry,l=s.showDropdown,f=s.formattedNumber,d=s.hiddenAreaCodes,p=this.props,h=p.disableDropdown,m=p.renderStringAsFlag,v=p.isValid,b=p.defaultErrorMessage,y=p.specialLabel;if("boolean"==typeof v)o=v;else{var w=v(f.replace(/\D/g,""),c,u,d);"boolean"==typeof w?!1===(o=w)&&(a=b):(o=!1,a=w)}var C=S()((r(e={},this.props.containerClass,!0),r(e,"react-tel-input",!0),e)),O=S()({arrow:!0,up:l}),x=S()((r(t={},this.props.inputClass,!0),r(t,"form-control",!0),r(t,"invalid-number",!o),r(t,"open",l),t)),D=S()({"selected-flag":!0,open:l}),k=S()((r(n={},this.props.buttonClass,!0),r(n,"flag-dropdown",!0),r(n,"invalid-number",!o),r(n,"open",l),n)),E="flag ".concat(c&&c.iso2);return g.a.createElement("div",{className:C,style:this.props.style||this.props.containerStyle,onKeyDown:this.handleKeydown},y&&g.a.createElement("div",{className:"special-label"},y),a&&g.a.createElement("div",{className:"invalid-number-message"},a),g.a.createElement("input",Object.assign({className:x,style:this.props.inputStyle,onChange:this.handleInput,onClick:this.handleInputClick,onDoubleClick:this.handleDoubleClick,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur,onCopy:this.handleInputCopy,value:f,ref:function(e){return i.numberInputRef=e},onKeyDown:this.handleInputKeyDown,placeholder:this.props.placeholder,disabled:this.props.disabled,type:"tel"},this.props.inputProps)),g.a.createElement("div",{className:k,style:this.props.buttonStyle,ref:function(e){return i.dropdownContainerRef=e}},m?g.a.createElement("div",{className:D},m):g.a.createElement("div",{onClick:h?void 0:this.handleFlagDropdownClick,className:D,title:c?"".concat(c.name,": + ").concat(c.dialCode):"",tabIndex:h?"-1":"0",role:"button","aria-haspopup":"listbox","aria-expanded":!!l||void 0},g.a.createElement("div",{className:E},!h&&g.a.createElement("div",{className:O}))),l&&this.getCountryDropdownList()))}}])&&c(n.prototype,l),t}(g.a.Component);R.defaultProps={country:"",value:"",onlyCountries:[],preferredCountries:[],excludeCountries:[],placeholder:"1 (702) 123-4567",searchPlaceholder:"search",searchNotFound:"No entries to show",flagsImagePath:"./flags.png",disabled:!1,containerStyle:{},inputStyle:{},buttonStyle:{},dropdownStyle:{},searchStyle:{},containerClass:"",inputClass:"",buttonClass:"",dropdownClass:"",searchClass:"",autoFormat:!0,enableAreaCodes:!1,enableTerritories:!1,disableCountryCode:!1,disableDropdown:!1,enableLongNumbers:!1,countryCodeEditable:!0,enableSearch:!1,disableSearchIcon:!1,disableInitialCountryGuess:!1,disableCountryGuess:!1,regions:"",inputProps:{},localization:{},masks:null,priority:null,areaCodes:null,preserveOrder:[],defaultMask:"... ... ... ... ..",alwaysDefaultMask:!1,prefix:"+",copyNumbersOnly:!0,renderStringAsFlag:"",autocompleteSearch:!1,jumpCursorToEnd:!0,enableAreaCodeStretch:!1,enableClickOutside:!0,showDropdown:!1,isValid:!0,defaultErrorMessage:"",specialLabel:"Phone",onEnterKeyPress:null,keys:{UP:38,DOWN:40,RIGHT:39,LEFT:37,ENTER:13,ESC:27,PLUS:43,A:65,Z:90,SPACE:32,TAB:9}},t["default"]=R}])},73:function(e,t,n){var r;e.exports=(r=n(363),function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){e.exports=n(2)},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=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}}(),o=function(){function e(t,r,o,a){n(this,e),this.startPoint=t,this.control1=r,this.control2=o,this.endPoint=a}return r(e,[{key:"length",value:function(){var e,t,n,r,o,a,i,s,u=10,c=0;for(e=0;u>=e;e++)t=e/u,n=this._point(t,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),r=this._point(t,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y),e>0&&(i=n-o,s=r-a,c+=Math.sqrt(i*i+s*s)),o=n,a=r;return c}},{key:"_point",value:function(e,t,n,r,o){return t*(1-e)*(1-e)*(1-e)+3*n*(1-e)*(1-e)*e+3*r*(1-e)*e*e+o*e*e*e}}]),e}();t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=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}}(),s=function(e,t,n){for(var r=!0;r;){var o=e,a=t,i=n;s=c=u=void 0,r=!1,null===o&&(o=Function.prototype);var s=Object.getOwnPropertyDescriptor(o,a);if(void 0!==s){if("value"in s)return s.value;var u=s.get;return void 0===u?void 0:u.call(i)}var c=Object.getPrototypeOf(o);if(null===c)return;e=c,t=a,n=i,r=!0}},u=r(n(4)),c=r(n(1)),l=r(n(3)),f=function(e){function t(e){o(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.velocityFilterWeight=this.props.velocityFilterWeight||.7,this.minWidth=this.props.minWidth||.5,this.maxWidth=this.props.maxWidth||2.5,this.dotSize=this.props.dotSize||function(){return(this.minWidth+this.maxWidth)/2},this.penColor=this.props.penColor||"black",this.backgroundColor=this.props.backgroundColor||"rgba(0,0,0,0)",this.onEnd=this.props.onEnd,this.onBegin=this.props.onBegin}return a(t,e),i(t,[{key:"componentDidMount",value:function(){this._canvas=this.refs.cv,this._ctx=this._canvas.getContext("2d"),this.clear(),this._handleMouseEvents(),this._handleTouchEvents(),this._resizeCanvas()}},{key:"componentWillUnmount",value:function(){this.off()}},{key:"clear",value:function(e){e&&e.preventDefault();var t=this._ctx,n=this._canvas;t.fillStyle=this.backgroundColor,t.clearRect(0,0,n.width,n.height),t.fillRect(0,0,n.width,n.height),this._reset()}},{key:"toDataURL",value:function(e,t){var n=this._canvas;return n.toDataURL.apply(n,arguments)}},{key:"fromDataURL",value:function(e){var t=this,n=new Image,r=window.devicePixelRatio||1,o=this._canvas.width/r,a=this._canvas.height/r;this._reset(),n.src=e,n.onload=function(){t._ctx.drawImage(n,0,0,o,a)},this._isEmpty=!1}},{key:"isEmpty",value:function(){return this._isEmpty}},{key:"_resizeCanvas",value:function(){var e=this._ctx,t=this._canvas,n=Math.max(window.devicePixelRatio||1,1);t.width=t.offsetWidth*n,t.height=t.offsetHeight*n,e.scale(n,n),this._isEmpty=!0}},{key:"_reset",value:function(){this.points=[],this._lastVelocity=0,this._lastWidth=(this.minWidth+this.maxWidth)/2,this._isEmpty=!0,this._ctx.fillStyle=this.penColor}},{key:"_handleMouseEvents",value:function(){this._mouseButtonDown=!1,this._canvas.addEventListener("mousedown",this._handleMouseDown.bind(this)),this._canvas.addEventListener("mousemove",this._handleMouseMove.bind(this)),document.addEventListener("mouseup",this._handleMouseUp.bind(this)),window.addEventListener("resize",this._resizeCanvas.bind(this))}},{key:"_handleTouchEvents",value:function(){this._canvas.style.msTouchAction="none",this._canvas.addEventListener("touchstart",this._handleTouchStart.bind(this)),this._canvas.addEventListener("touchmove",this._handleTouchMove.bind(this)),document.addEventListener("touchend",this._handleTouchEnd.bind(this))}},{key:"off",value:function(){this._canvas.removeEventListener("mousedown",this._handleMouseDown),this._canvas.removeEventListener("mousemove",this._handleMouseMove),document.removeEventListener("mouseup",this._handleMouseUp),this._canvas.removeEventListener("touchstart",this._handleTouchStart),this._canvas.removeEventListener("touchmove",this._handleTouchMove),document.removeEventListener("touchend",this._handleTouchEnd),window.removeEventListener("resize",this._resizeCanvas)}},{key:"_handleMouseDown",value:function(e){1===e.which&&(this._mouseButtonDown=!0,this._strokeBegin(e))}},{key:"_handleMouseMove",value:function(e){this._mouseButtonDown&&this._strokeUpdate(e)}},{key:"_handleMouseUp",value:function(e){1===e.which&&this._mouseButtonDown&&(this._mouseButtonDown=!1,this._strokeEnd(e))}},{key:"_handleTouchStart",value:function(e){var t=e.changedTouches[0];this._strokeBegin(t)}},{key:"_handleTouchMove",value:function(e){e.preventDefault();var t=e.changedTouches[0];this._strokeUpdate(t)}},{key:"_handleTouchEnd",value:function(e){e.target===this._canvas&&this._strokeEnd(e)}},{key:"_strokeUpdate",value:function(e){var t=this._createPoint(e);this._addPoint(t)}},{key:"_strokeBegin",value:function(e){this._reset(),this._strokeUpdate(e),"function"==typeof this.onBegin&&this.onBegin(e)}},{key:"_strokeDraw",value:function(e){var t=this._ctx,n="function"==typeof this.dotSize?this.dotSize():this.dotSize;t.beginPath(),this._drawPoint(e.x,e.y,n),t.closePath(),t.fill()}},{key:"_strokeEnd",value:function(e){var t=this.points.length>2,n=this.points[0];!t&&n&&this._strokeDraw(n),"function"==typeof this.onEnd&&this.onEnd(e)}},{key:"_createPoint",value:function(e){var t=this._canvas.getBoundingClientRect();return new l["default"](e.clientX-t.left,e.clientY-t.top)}},{key:"_addPoint",value:function(e){var t,n,r,o=this.points;o.push(e),o.length>2&&(3===o.length&&o.unshift(o[0]),t=this._calculateCurveControlPoints(o[0],o[1],o[2]).c2,n=this._calculateCurveControlPoints(o[1],o[2],o[3]).c1,r=new c["default"](o[1],t,n,o[2]),this._addCurve(r),o.shift())}},{key:"_calculateCurveControlPoints",value:function(e,t,n){var r=e.x-t.x,o=e.y-t.y,a=t.x-n.x,i=t.y-n.y,s={x:(e.x+t.x)/2,y:(e.y+t.y)/2},u={x:(t.x+n.x)/2,y:(t.y+n.y)/2},c=Math.sqrt(r*r+o*o),f=Math.sqrt(a*a+i*i),d=s.x-u.x,p=s.y-u.y,h=f/(c+f),m={x:u.x+d*h,y:u.y+p*h},g=t.x-m.x,v=t.y-m.y;return{c1:new l["default"](s.x+g,s.y+v),c2:new l["default"](u.x+g,u.y+v)}}},{key:"_addCurve",value:function(e){var t,n,r=e.startPoint;t=e.endPoint.velocityFrom(r),t=this.velocityFilterWeight*t+(1-this.velocityFilterWeight)*this._lastVelocity,n=this._strokeWidth(t),this._drawCurve(e,this._lastWidth,n),this._lastVelocity=t,this._lastWidth=n}},{key:"_drawPoint",value:function(e,t,n){var r=this._ctx;r.moveTo(e,t),r.arc(e,t,n,0,2*Math.PI,!1),this._isEmpty=!1}},{key:"_drawCurve",value:function(e,t,n){var r,o,a,i,s,u,c,l,f,d,p,h=this._ctx,m=n-t;for(r=Math.floor(e.length()),h.beginPath(),a=0;r>a;a++)u=(s=(i=a/r)*i)*i,d=(f=(l=(c=1-i)*c)*c)*e.startPoint.x,d+=3*l*i*e.control1.x,d+=3*c*s*e.control2.x,d+=u*e.endPoint.x,p=f*e.startPoint.y,p+=3*l*i*e.control1.y,p+=3*c*s*e.control2.y,p+=u*e.endPoint.y,o=t+u*m,this._drawPoint(d,p,o);h.closePath(),h.fill()}},{key:"_strokeWidth",value:function(e){return Math.max(this.maxWidth/(e+1),this.minWidth)}},{key:"render",value:function(){return u["default"].createElement("div",{id:"signature-pad",className:"m-signature-pad"},u["default"].createElement("div",{className:"m-signature-pad--body"},u["default"].createElement("canvas",{ref:"cv"})),this.props.clearButton&&u["default"].createElement("div",{className:"m-signature-pad--footer"},u["default"].createElement("button",{className:"btn btn-default button clear",onClick:this.clear.bind(this)},"Clear")))}}]),t}(u["default"].Component);t["default"]=f,e.exports=t["default"]},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=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}}(),o=function(){function e(t,r,o){n(this,e),this.x=t,this.y=r,this.time=o||(new Date).getTime()}return r(e,[{key:"velocityFrom",value:function(e){return this.time!==e.time?this.distanceTo(e)/(this.time-e.time):1}},{key:"distanceTo",value:function(e){return Math.sqrt(Math.pow(this.x-e.x,2)+Math.pow(this.y-e.y,2))}}]),e}();t["default"]=o,e.exports=t["default"]},function(e,t){e.exports=r}]))},363:function(e){"use strict";e.exports=React}},t={};function n(r){var o=t[r];if(o!==undefined)return o.exports;var a=t[r]={exports:{}};return e[r].call(a.exports,a,a.exports,n),a.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){"use strict";var e=n(363),t=n.n(e),r=e=>e instanceof HTMLElement;const o="blur",a="change",i="input",s="onBlur",u="onChange",c="onSubmit",l="onTouched",f="all",d="undefined",p="max",h="min",m="maxLength",g="minLength",v="pattern",b="required",y="validate";var w=e=>null==e;const C=e=>"object"==typeof e;var O=e=>!w(e)&&!Array.isArray(e)&&C(e)&&!(e instanceof Date),x=e=>/^\w*$/.test(e),D=e=>e.filter(Boolean),k=e=>D(e.replace(/["|']/g,"").replace(/\[/g,".").replace(/\]/g,"").split("."));function S(e,t,n){let r=-1;const o=x(t)?[t]:k(t),a=o.length,i=a-1;for(;++r<a;){const t=o[r];let a=n;if(r!==i){const n=e[t];a=O(n)||Array.isArray(n)?n:isNaN(+o[r+1])?{}:[]}e[t]=a,e=e[t]}return e}var E=(e,t={})=>{for(const n in e)x(n)?t[n]=e[n]:S(t,n,e[n]);return t},M=e=>e===undefined,_=(e={},t,n)=>{const r=D(t.split(/[,[\].]+?/)).reduce(((e,t)=>w(e)?e:e[t]),e);return M(r)||r===e?M(e[t])?n:e[t]:r},P=(e,t)=>{r(e)&&e.removeEventListener&&(e.removeEventListener(i,t),e.removeEventListener(a,t),e.removeEventListener(o,t))};const j={isValid:!1,value:null};var T=e=>Array.isArray(e)?e.reduce(((e,t)=>t&&t.ref.checked?{isValid:!0,value:t.ref.value}:e),j):j,A=e=>"radio"===e.type,I=e=>"file"===e.type,R=e=>"checkbox"===e.type,N=e=>"select-multiple"===e.type;const L={value:!1,isValid:!1},V={value:!0,isValid:!0};var F=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter((e=>e&&e.ref.checked)).map((({ref:{value:e}})=>e));return{value:t,isValid:!!t.length}}const{checked:t,value:n,attributes:r}=e[0].ref;return t?r&&!M(r.value)?M(n)||""===n?V:{value:n,isValid:!0}:V:L}return L};function H(e,t,n,r,o){const a=e.current[t];if(a){const{ref:{value:e,disabled:t},ref:n,valueAsNumber:s,valueAsDate:u,setValueAs:c}=a;if(t&&r)return;return I(n)?n.files:A(n)?T(a.options).value:N(n)?(i=n.options,[...i].filter((({selected:e})=>e)).map((({value:e})=>e))):R(n)?F(a.options).value:o?e:s?""===e?NaN:+e:u?n.valueAsDate:c?c(e):e}var i;if(n)return _(n.current,t)}function U(e){return!e||e instanceof HTMLElement&&e.nodeType!==Node.DOCUMENT_NODE&&U(e.parentNode)}var W=e=>O(e)&&!Object.keys(e).length,z=e=>"boolean"==typeof e;function B(e,t){const n=x(t)?[t]:k(t),r=1==n.length?e:function(e,t){const n=t.slice(0,-1).length;let r=0;for(;r<n;)e=M(e)?r++:e[t[r++]];return e}(e,n),o=n[n.length-1];let a;r&&delete r[o];for(let t=0;t<n.slice(0,-1).length;t++){let r,o=-1;const i=n.slice(0,-(t+1)),s=i.length-1;for(t>0&&(a=e);++o<i.length;){const t=i[o];r=r?r[t]:e[t],s===o&&(O(r)&&W(r)||Array.isArray(r)&&!r.filter((e=>O(e)&&!W(e)||z(e))).length)&&(a?delete a[t]:delete e[t]),a=r}}return e}const Y=(e,t)=>e&&e.ref===t;var q=e=>w(e)||!C(e);function K(e,t){if(q(e)||q(t))return t;for(const r in t){const o=e[r],a=t[r];try{e[r]=O(o)&&O(a)||Array.isArray(o)&&Array.isArray(a)?K(o,a):a}catch(n){}}return e}function $(t,n,r){if(q(t)||q(n)||t instanceof Date||n instanceof Date)return t===n;if(!(0,e.isValidElement)(t)){const e=Object.keys(t),o=Object.keys(n);if(e.length!==o.length)return!1;for(const o of e){const e=t[o];if(!r||"ref"!==o){const t=n[o];if((O(e)||Array.isArray(e))&&(O(t)||Array.isArray(t))?!$(e,t,r):e!==t)return!1}}}return!0}function G(e,t,n,r,o){let a=-1;for(;++a<e.length;){for(const r in e[a])Array.isArray(e[a][r])?(!n[a]&&(n[a]={}),n[a][r]=[],G(e[a][r],_(t[a]||{},r,[]),n[a][r],n[a],r)):$(_(t[a]||{},r),e[a][r])?S(n[a]||{},r):n[a]=Object.assign(Object.assign({},n[a]),{[r]:!0});r&&!n.length&&delete r[o]}return n}var J=(e,t,n)=>K(G(e,t,n.slice(0,e.length)),G(t,e,n.slice(0,e.length))),Q=e=>"string"==typeof e,X=(e,t,n,r,o)=>{const a={};for(const t in e.current)(M(o)||(Q(o)?t.startsWith(o):Array.isArray(o)&&o.find((e=>t.startsWith(e)))))&&(a[t]=H(e,t,undefined,r));return n?E(a):K(t,E(a))},Z=e=>e instanceof RegExp,ee=e=>O(e)&&!Z(e)?e:{value:e,message:""},te=e=>"function"==typeof e,ne=t=>Q(t)||(0,e.isValidElement)(t);function re(e,t,n="validate"){if(ne(e)||z(e)&&!e)return{type:n,message:ne(e)?e:"",ref:t}}var oe=(e,t,n,r,o)=>t?Object.assign(Object.assign({},n[e]),{types:Object.assign(Object.assign({},n[e]&&n[e].types?n[e].types:{}),{[r]:o||!0})}):{},ae=async(e,t,{ref:n,ref:{value:r},options:o,required:a,maxLength:i,minLength:s,min:u,max:c,pattern:l,validate:f},d)=>{const C=n.name,x={},D=A(n),k=R(n),S=D||k,E=""===r,M=oe.bind(null,C,t,x),_=(e,t,r,o=m,a=g)=>{const i=e?t:r;x[C]=Object.assign({type:e?o:a,message:i,ref:n},M(e?o:a,i))};if(a&&(!D&&!k&&(E||w(r))||z(r)&&!r||k&&!F(o).isValid||D&&!T(o).isValid)){const{value:r,message:o}=ne(a)?{value:!!a,message:a}:ee(a);if(r&&(x[C]=Object.assign({type:b,message:o,ref:S?((e.current[C].options||[])[0]||{}).ref:n},M(b,o)),!t))return x}if(!(w(u)&&w(c)||""===r)){let e,o;const a=ee(c),i=ee(u);if(isNaN(r)){const t=n.valueAsDate||new Date(r);Q(a.value)&&(e=t>new Date(a.value)),Q(i.value)&&(o=t<new Date(i.value))}else{const t=n.valueAsNumber||parseFloat(r);w(a.value)||(e=t>a.value),w(i.value)||(o=t<i.value)}if((e||o)&&(_(!!e,a.message,i.message,p,h),!t))return x}if(Q(r)&&!E&&(i||s)){const e=ee(i),n=ee(s),o=!w(e.value)&&r.length>e.value,a=!w(n.value)&&r.length<n.value;if((o||a)&&(_(o,e.message,n.message),!t))return x}if(Q(r)&&l&&!E){const{value:e,message:o}=ee(l);if(Z(e)&&!e.test(r)&&(x[C]=Object.assign({type:v,message:o,ref:n},M(v,o)),!t))return x}if(f){const r=H(e,C,d,!1,!0),a=S&&o?o[0].ref:n;if(te(f)){const e=re(await f(r),a);if(e&&(x[C]=Object.assign(Object.assign({},e),M(y,e.message)),!t))return x}else if(O(f)){let e={};for(const[n,o]of Object.entries(f)){if(!W(e)&&!t)break;const i=re(await o(r),a,n);i&&(e=Object.assign(Object.assign({},i),M(n,i.message)),t&&(x[C]=e))}if(!W(e)&&(x[C]=Object.assign({ref:a},e),!t))return x}}return x};const ie=(e,t,n=[])=>{for(const r in t){const o=e+(O(t)?`.${r}`:`[${r}]`);q(t[r])?n.push(o):ie(o,t[r],n)}return n};var se=(e,t,n,r,o)=>{let a=undefined;return n.add(t),W(e)||(a=_(e,t),(O(a)||Array.isArray(a))&&ie(t,a).forEach((e=>n.add(e)))),M(a)?o?r:_(r,t):a},ue=({isOnBlur:e,isOnChange:t,isOnTouch:n,isTouched:r,isReValidateOnBlur:o,isReValidateOnChange:a,isBlurEvent:i,isSubmitted:s,isOnAll:u})=>!u&&(!s&&n?!(r||i):(s?o:e)?!i:!(s?a:t)||i),ce=e=>e.substring(0,e.indexOf("["));const le=(e,t)=>RegExp(`^${t}([|.)\\d+`.replace(/\[/g,"\\[").replace(/\]/g,"\\]")).test(e);var fe=(e,t)=>[...e].some((e=>le(t,e)));var de=typeof window!==d&&typeof document!==d;function pe(e){var t;let n;if(q(e)||de&&(e instanceof File||r(e)))return e;if(!["Set","Map","Object","Date","Array"].includes(null===(t=e.constructor)||void 0===t?void 0:t.name))return e;if(e instanceof Date)return n=new Date(e.getTime()),n;if(e instanceof Set){n=new Set;for(const t of e)n.add(t);return n}if(e instanceof Map){n=new Map;for(const t of e.keys())n.set(t,pe(e.get(t)));return n}n=Array.isArray(e)?[]:{};for(const t in e)n[t]=pe(e[t]);return n}var he=e=>({isOnSubmit:!e||e===c,isOnBlur:e===s,isOnChange:e===u,isOnAll:e===f,isOnTouch:e===l}),me=e=>A(e)||R(e);const ge=typeof window===d,ve=de?"Proxy"in window:typeof Proxy!==d;function be({mode:t=c,reValidateMode:n=u,resolver:s,context:l,defaultValues:d={},shouldFocusError:p=!0,shouldUnregister:h=!0,criteriaMode:m}={}){const g=(0,e.useRef)({}),v=(0,e.useRef)({}),b=(0,e.useRef)({}),y=(0,e.useRef)(new Set),C=(0,e.useRef)({}),k=(0,e.useRef)({}),j=(0,e.useRef)({}),T=(0,e.useRef)({}),L=(0,e.useRef)(d),V=(0,e.useRef)(!1),F=(0,e.useRef)(!1),z=(0,e.useRef)(),K=(0,e.useRef)({}),G=(0,e.useRef)({}),Z=(0,e.useRef)(l),ee=(0,e.useRef)(s),ne=(0,e.useRef)(new Set),re=(0,e.useRef)(he(t)),{isOnSubmit:oe,isOnTouch:le}=re.current,be=m===f,[ye,we]=(0,e.useState)({isDirty:!1,isValidating:!1,dirtyFields:{},isSubmitted:!1,submitCount:0,touched:{},isSubmitting:!1,isSubmitSuccessful:!1,isValid:!oe,errors:{}}),Ce=(0,e.useRef)({isDirty:!ve,dirtyFields:!ve,touched:!ve||le,isValidating:!ve,isSubmitting:!ve,isValid:!ve}),Oe=(0,e.useRef)(ye),xe=(0,e.useRef)(),{isOnBlur:De,isOnChange:ke}=(0,e.useRef)(he(n)).current;Z.current=l,ee.current=s,Oe.current=ye,K.current=h?{}:W(K.current)?pe(d):K.current;const Se=(0,e.useCallback)(((e={})=>{V.current||(Oe.current=Object.assign(Object.assign({},Oe.current),e),we(Oe.current))}),[]),Ee=()=>Ce.current.isValidating&&Se({isValidating:!0}),Me=(0,e.useCallback)(((e,t,n=!1,r={},o)=>{let a=n||(({errors:e,name:t,error:n,validFields:r,fieldsWithValidation:o})=>{const a=M(n),i=_(e,t);return a&&!!i||!a&&!$(i,n,!0)||a&&_(o,t)&&!_(r,t)})({errors:Oe.current.errors,error:t,name:e,validFields:T.current,fieldsWithValidation:j.current});const i=_(Oe.current.errors,e);t?(B(T.current,e),a=a||!i||!$(i,t,!0),S(Oe.current.errors,e,t)):((_(j.current,e)||ee.current)&&(S(T.current,e,!0),a=a||i),B(Oe.current.errors,e)),(a&&!w(n)||!W(r)||Ce.current.isValidating)&&Se(Object.assign(Object.assign(Object.assign({},r),ee.current?{isValid:!!o}:{}),{isValidating:!1}))}),[]),_e=(0,e.useCallback)(((e,t)=>{const{ref:n,options:o}=g.current[e],a=de&&r(n)&&w(t)?"":t;A(n)?(o||[]).forEach((({ref:e})=>e.checked=e.value===a)):I(n)&&!Q(a)?n.files=a:N(n)?[...n.options].forEach((e=>e.selected=a.includes(e.value))):R(n)&&o?o.length>1?o.forEach((({ref:e})=>e.checked=Array.isArray(a)?!!a.find((t=>t===e.value)):a===e.value)):o[0].ref.checked=!!a:n.value=a}),[]),Pe=(0,e.useCallback)(((e,t)=>{if(Ce.current.isDirty){const n=He();return e&&t&&S(n,e,t),!$(n,L.current)}return!1}),[]),je=(0,e.useCallback)(((e,t=!0)=>{if(Ce.current.isDirty||Ce.current.dirtyFields){const n=!$(_(L.current,e),H(g,e,K)),r=_(Oe.current.dirtyFields,e),o=Oe.current.isDirty;n?S(Oe.current.dirtyFields,e,!0):B(Oe.current.dirtyFields,e);const a={isDirty:Pe(),dirtyFields:Oe.current.dirtyFields},i=Ce.current.isDirty&&o!==a.isDirty||Ce.current.dirtyFields&&r!==_(Oe.current.dirtyFields,e);return i&&t&&Se(a),i?a:{}}return{}}),[]),Te=(0,e.useCallback)((async(e,t)=>{const n=(await ae(g,be,g.current[e],K))[e];return Me(e,n,t),M(n)}),[Me,be]),Ae=(0,e.useCallback)((async e=>{const{errors:t}=await ee.current(He(),Z.current,be),n=Oe.current.isValid;if(Array.isArray(e)){const n=e.map((e=>{const n=_(t,e);return n?S(Oe.current.errors,e,n):B(Oe.current.errors,e),!n})).every(Boolean);return Se({isValid:W(t),isValidating:!1}),n}{const r=_(t,e);return Me(e,r,n!==W(t),{},W(t)),!r}}),[Me,be]),Ie=(0,e.useCallback)((async e=>{const t=e||Object.keys(g.current);if(Ee(),ee.current)return Ae(t);if(Array.isArray(t)){!e&&(Oe.current.errors={});const n=await Promise.all(t.map((async e=>await Te(e,null))));return Se({isValidating:!1}),n.every(Boolean)}return await Te(t)}),[Ae,Te]),Re=(0,e.useCallback)(((e,t,{shouldDirty:n,shouldValidate:r})=>{const o={};S(o,e,t);for(const a of ie(e,t))g.current[a]&&(_e(a,_(o,a)),n&&je(a),r&&Ie(a))}),[Ie,_e,je]),Ne=(0,e.useCallback)(((e,t,n)=>{if(!h&&!q(t)&&S(K.current,e,Array.isArray(t)?[...t]:Object.assign({},t)),g.current[e])_e(e,t),n.shouldDirty&&je(e),n.shouldValidate&&Ie(e);else if(!q(t)&&(Re(e,t,n),ne.current.has(e))){const r=ce(e)||e;S(v.current,e,t),G.current[r]({[r]:_(v.current,r)}),(Ce.current.isDirty||Ce.current.dirtyFields)&&n.shouldDirty&&(S(Oe.current.dirtyFields,e,J(t,_(L.current,e,[]),_(Oe.current.dirtyFields,e,[]))),Se({isDirty:!$(Object.assign(Object.assign({},He()),{[e]:t}),L.current)}))}!h&&S(K.current,e,t)}),[je,_e,Re]),Le=e=>F.current||y.current.has(e)||y.current.has((e.match(/\w+/)||[])[0]),Ve=e=>{let t=!0;if(!W(C.current))for(const n in C.current)e&&C.current[n].size&&!C.current[n].has(e)&&!C.current[n].has(ce(e))||(k.current[n](),t=!1);return t};function Fe(e){if(!h){let t=pe(e);for(const e of ne.current)x(e)&&!t[e]&&(t=Object.assign(Object.assign({},t),{[e]:[]}));return t}return e}function He(e){if(Q(e))return H(g,e,K);if(Array.isArray(e)){const t={};for(const n of e)S(t,n,H(g,n,K));return t}return Fe(X(g,pe(K.current),h))}z.current=z.current?z.current:async({type:e,target:t})=>{let n=t.name;const r=g.current[n];let a,i;if(r){const s=e===o,u=ue(Object.assign({isBlurEvent:s,isReValidateOnChange:ke,isReValidateOnBlur:De,isTouched:!!_(Oe.current.touched,n),isSubmitted:Oe.current.isSubmitted},re.current));let c=je(n,!1),l=!W(c)||!s&&Le(n);if(s&&!_(Oe.current.touched,n)&&Ce.current.touched&&(S(Oe.current.touched,n,!0),c=Object.assign(Object.assign({},c),{touched:Oe.current.touched})),!h&&R(t)&&S(K.current,n,H(g,n)),u)return!s&&Ve(n),(!W(c)||l&&W(c))&&Se(c);if(Ee(),ee.current){const{errors:e}=await ee.current(He(),Z.current,be),r=Oe.current.isValid;if(a=_(e,n),R(t)&&!a&&ee.current){const t=ce(n),r=_(e,t,{});r.type&&r.message&&(a=r),t&&(r||_(Oe.current.errors,t))&&(n=t)}i=W(e),r!==i&&(l=!0)}else a=(await ae(g,be,r,K))[n];!s&&Ve(n),Me(n,a,l,c,i)}};const Ue=(0,e.useCallback)((async(e={})=>{const t=W(g.current)?L.current:{},{errors:n}=await ee.current(Object.assign(Object.assign(Object.assign({},t),He()),e),Z.current,be)||{},r=W(n);Oe.current.isValid!==r&&Se({isValid:r})}),[be]),We=(0,e.useCallback)(((e,t)=>{!function(e,t,n,r,o,a){const{ref:i,ref:{name:s}}=n,u=e.current[s];if(!o){const t=H(e,s,r);!M(t)&&S(r.current,s,t)}i.type&&u?A(i)||R(i)?Array.isArray(u.options)&&u.options.length?(D(u.options).forEach(((e={},n)=>{(U(e.ref)&&Y(e,e.ref)||a)&&(P(e.ref,t),B(u.options,`[${n}]`))})),u.options&&!D(u.options).length&&delete e.current[s]):delete e.current[s]:(U(i)&&Y(u,i)||a)&&(P(i,t),delete e.current[s]):delete e.current[s]}(g,z.current,e,K,h,t),h&&(B(T.current,e.ref.name),B(j.current,e.ref.name))}),[h]),ze=(0,e.useCallback)((e=>{if(F.current)Se();else{for(const t of y.current)if(t.startsWith(e)){Se();break}Ve(e)}}),[]),Be=(0,e.useCallback)(((e,t)=>{e&&(We(e,t),h&&!D(e.options||[]).length&&(B(Oe.current.errors,e.ref.name),S(Oe.current.dirtyFields,e.ref.name,!0),Se({isDirty:Pe()}),Ce.current.isValid&&ee.current&&Ue(),ze(e.ref.name)))}),[Ue,We]);const Ye=(0,e.useCallback)(((e,t,n)=>{const r=n?C.current[n]:y.current;let o=X(g,pe(K.current),h,!1,e);if(Q(e)){const n=ce(e)||e;return ne.current.has(n)&&(o=Object.assign(Object.assign({},b.current),o)),se(o,e,r,M(_(L.current,e))?t:_(L.current,e),!0)}const a=M(t)?L.current:t;return Array.isArray(e)?e.reduce(((e,t)=>Object.assign(Object.assign({},e),{[t]:se(o,t,r,a)})),{}):(F.current=M(n),E(!W(o)&&o||a))}),[]);function qe(e,t={}){const{name:n,type:s,value:u}=e,c=Object.assign({ref:e},t),l=g.current,f=me(e),d=fe(ne.current,n),p=t=>de&&(!r(e)||t===e);let m,v=l[n],b=!0;if(v&&(f?Array.isArray(v.options)&&D(v.options).find((e=>u===e.ref.value&&p(e.ref))):p(v.ref)))return void(l[n]=Object.assign(Object.assign({},v),t));v=s?f?Object.assign({options:[...D(v&&v.options||[]),{ref:e}],ref:{type:s,name:n}},t):Object.assign({},c):c,l[n]=v;const y=M(_(K.current,n));W(L.current)&&y||(m=_(y?L.current:K.current,n),b=M(m),b||d||_e(n,m)),W(t)||(S(j.current,n,!0),!oe&&Ce.current.isValid&&ae(g,be,v,K).then((e=>{const t=Oe.current.isValid;W(e)?S(T.current,n,!0):B(T.current,n),t!==W(e)&&Se()}))),!h||d&&b||!d&&B(Oe.current.dirtyFields,n),s&&function({ref:e},t,n){r(e)&&n&&(e.addEventListener(t?a:i,n),e.addEventListener(o,n))}(f&&v.options?v.options[v.options.length-1]:v,f||"select-one"===e.type,z.current)}const Ke=(0,e.useCallback)(((e,t)=>async n=>{n&&n.preventDefault&&(n.preventDefault(),n.persist());let r={},o=Fe(X(g,pe(K.current),h,!0));Ce.current.isSubmitting&&Se({isSubmitting:!0});try{if(ee.current){const{errors:e,values:t}=await ee.current(o,Z.current,be);Oe.current.errors=r=e,o=t}else for(const e of Object.values(g.current))if(e){const{name:t}=e.ref,n=await ae(g,be,e,K);n[t]?(S(r,t,n[t]),B(T.current,t)):_(j.current,t)&&(B(Oe.current.errors,t),S(T.current,t,!0))}W(r)&&Object.keys(Oe.current.errors).every((e=>e in g.current))?(Se({errors:{},isSubmitting:!0}),await e(o,n)):(Oe.current.errors=Object.assign(Object.assign({},Oe.current.errors),r),t&&await t(Oe.current.errors,n),p&&((e,t)=>{for(const n in e)if(_(t,n)){const t=e[n];if(t){if(t.ref.focus&&M(t.ref.focus()))break;if(t.options){t.options[0].ref.focus();break}}}})(g.current,Oe.current.errors))}finally{Oe.current.isSubmitting=!1,Se({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:W(Oe.current.errors),submitCount:Oe.current.submitCount+1})}}),[p,be]);(0,e.useEffect)((()=>{s&&Ce.current.isValid&&Ue(),xe.current=xe.current||!de?xe.current:function(e,t){const n=new MutationObserver((()=>{for(const n of Object.values(e.current))if(n&&n.options)for(const e of n.options)e&&e.ref&&U(e.ref)&&t(n);else n&&U(n.ref)&&t(n)}));return n.observe(window.document,{childList:!0,subtree:!0}),n}(g,Be)}),[Be,L.current]),(0,e.useEffect)((()=>()=>{xe.current&&xe.current.disconnect(),V.current=!0,Object.values(g.current).forEach((e=>Be(e,!0)))}),[]),!s&&Ce.current.isValid&&(ye.isValid=$(T.current,j.current)&&W(Oe.current.errors));const $e={trigger:Ie,setValue:(0,e.useCallback)((function(e,t,n){Ne(e,t,n||{}),Le(e)&&Se(),Ve(e)}),[Ne,Ie]),getValues:(0,e.useCallback)(He,[]),register:(0,e.useCallback)((function(e,t){if(!ge)if(Q(e))qe({name:e},t);else{if(!O(e)||!("name"in e))return t=>t&&qe(t,e);qe(e,t)}}),[L.current]),unregister:(0,e.useCallback)((function(e){for(const t of Array.isArray(e)?e:[e])Be(g.current[t],!0)}),[]),formState:ve?new Proxy(ye,{get:(e,t)=>t in e?(Ce.current[t]=!0,e[t]):undefined}):ye},Ge=(0,e.useMemo)((()=>Object.assign({isFormDirty:Pe,updateWatchedValue:ze,shouldUnregister:h,updateFormState:Se,removeFieldEventListener:We,watchInternal:Ye,mode:re.current,reValidateMode:{isReValidateOnBlur:De,isReValidateOnChange:ke},validateResolver:s?Ue:undefined,fieldsRef:g,resetFieldArrayFunctionRef:G,useWatchFieldsRef:C,useWatchRenderFunctionsRef:k,fieldArrayDefaultValuesRef:v,validFieldsRef:T,fieldsWithValidationRef:j,fieldArrayNamesRef:ne,readFormStateRef:Ce,formStateRef:Oe,defaultValuesRef:L,shallowFieldsStateRef:K,fieldArrayValuesRef:b},$e)),[L.current,ze,h,We,Ye]);return Object.assign({watch:function(e,t){return Ye(e,t)},control:Ge,handleSubmit:Ke,reset:(0,e.useCallback)(((e,t={})=>{if(de)for(const e of Object.values(g.current))if(e){const{ref:t,options:o}=e,a=me(t)&&Array.isArray(o)?o[0].ref:t;if(r(a))try{a.closest("form").reset();break}catch(n){}}g.current={},L.current=Object.assign({},e||L.current),e&&Ve(""),Object.values(G.current).forEach((e=>te(e)&&e())),K.current=h?{}:pe(e||L.current),(({errors:e,isDirty:t,isSubmitted:n,touched:r,isValid:o,submitCount:a,dirtyFields:i})=>{o||(T.current={},j.current={}),v.current={},y.current=new Set,F.current=!1,Se({submitCount:a?Oe.current.submitCount:0,isDirty:!!t&&Oe.current.isDirty,isSubmitted:!!n&&Oe.current.isSubmitted,isValid:!!o&&Oe.current.isValid,dirtyFields:i?Oe.current.dirtyFields:{},touched:r?Oe.current.touched:{},errors:e?Oe.current.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})})(t)}),[]),clearErrors:(0,e.useCallback)((function(e){e&&(Array.isArray(e)?e:[e]).forEach((e=>g.current[e]&&x(e)?delete Oe.current.errors[e]:B(Oe.current.errors,e))),Se({errors:e?Oe.current.errors:{}})}),[]),setError:(0,e.useCallback)((function(e,t){const n=(g.current[e]||{}).ref;S(Oe.current.errors,e,Object.assign(Object.assign({},t),{ref:n})),Se({isValid:!1}),t.shouldFocus&&n&&n.focus&&n.focus()}),[]),errors:ye.errors},$e)}
|
13 |
/*! *****************************************************************************
|
14 |
Copyright (c) Microsoft Corporation.
|
15 |
|
23 |
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
24 |
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
25 |
PERFORMANCE OF THIS SOFTWARE.
|
26 |
+
***************************************************************************** */const ye=(0,e.createContext)(null);ye.displayName="RHFContext";const we=()=>(0,e.useContext)(ye);var Ce=function(t){var n=t.as,r=t.errors,o=t.name,a=t.message,i=t.render,s=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(o[n]=e[n]);return o}(t,["as","errors","name","message","render"]),u=we(),c=_(r||u.errors,o);if(!c)return null;var l=c.message,f=c.types,d=Object.assign({},s,{children:l||a});return(0,e.isValidElement)(n)?(0,e.cloneElement)(n,d):i?i({message:l||a,messages:f}):(0,e.createElement)(n||e.Fragment,d)};function Oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xe(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 De(e,t,n){return t&&xe(e.prototype,t),n&&xe(e,n),e}function ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Se(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&&ke(e,t)}function Ee(e){return(Ee="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 Me(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _e(e,t){if(t&&("object"===Ee(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Me(e)}function Pe(e){return(Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var je=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Te(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],o=t[n],!(r===o||je(r)&&je(o)))return!1;var r,o;return!0}var Ae=function(e,t){var n;void 0===t&&(t=Te);var r,o=[],a=!1;return function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return a&&n===this&&t(i,o)||(r=e.apply(this,i),a=!0,n=this,o=i),r}};var Ie=function(){function e(e){this.isSpeedy=e.speedy===undefined||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==undefined&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var o=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{var a=105===e.charCodeAt(1)&&64===e.charCodeAt(0);o.insertRule(e,a?0:o.cssRules.length)}catch(i){0}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}();var Re=function(e){function t(e,r,u,c,d){for(var p,h,m,g,w,O=0,x=0,D=0,k=0,S=0,T=0,I=m=p=0,N=0,L=0,V=0,F=0,H=u.length,U=H-1,W="",z="",B="",Y="";N<H;){if(h=u.charCodeAt(N),N===U&&0!==x+k+D+O&&(0!==x&&(h=47===x?10:47),k=D=O=0,H++,U++),0===x+k+D+O){if(N===U&&(0<L&&(W=W.replace(f,"")),0<W.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:W+=u.charAt(N)}h=59}switch(h){case 123:for(p=(W=W.trim()).charCodeAt(0),m=1,F=++N;N<H;){switch(h=u.charCodeAt(N)){case 123:m++;break;case 125:m--;break;case 47:switch(h=u.charCodeAt(N+1)){case 42:case 47:e:{for(I=N+1;I<U;++I)switch(u.charCodeAt(I)){case 47:if(42===h&&42===u.charCodeAt(I-1)&&N+2!==I){N=I+1;break e}break;case 10:if(47===h){N=I+1;break e}}N=I}}break;case 91:h++;case 40:h++;case 34:case 39:for(;N++<U&&u.charCodeAt(N)!==h;);}if(0===m)break;N++}switch(m=u.substring(F,N),0===p&&(p=(W=W.replace(l,"").trim()).charCodeAt(0)),p){case 64:switch(0<L&&(W=W.replace(f,"")),h=W.charCodeAt(1)){case 100:case 109:case 115:case 45:L=r;break;default:L=j}if(F=(m=t(r,L,m,h,d+1)).length,0<A&&(w=s(3,m,L=n(j,W,V),r,M,E,F,h,d,c),W=L.join(""),void 0!==w&&0===(F=(m=w.trim()).length)&&(h=0,m="")),0<F)switch(h){case 115:W=W.replace(C,i);case 100:case 109:case 45:m=W+"{"+m+"}";break;case 107:m=(W=W.replace(v,"$1 $2"))+"{"+m+"}",m=1===P||2===P&&a("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=W+m,112===c&&(z+=m,m="")}else m="";break;default:m=t(r,n(r,W,V),m,c,d+1)}B+=m,m=V=L=I=p=0,W="",h=u.charCodeAt(++N);break;case 125:case 59:if(1<(F=(W=(0<L?W.replace(f,""):W).trim()).length))switch(0===I&&(p=W.charCodeAt(0),45===p||96<p&&123>p)&&(F=(W=W.replace(" ",":")).length),0<A&&void 0!==(w=s(1,W,r,e,M,E,z.length,c,d,c))&&0===(F=(W=w.trim()).length)&&(W="\0\0"),p=W.charCodeAt(0),h=W.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){Y+=W+u.charAt(N);break}default:58!==W.charCodeAt(F-1)&&(z+=o(W,p,h,W.charCodeAt(2)))}V=L=I=p=0,W="",h=u.charCodeAt(++N)}}switch(h){case 13:case 10:47===x?x=0:0===1+p&&107!==c&&0<W.length&&(L=1,W+="\0"),0<A*R&&s(0,W,r,e,M,E,z.length,c,d,c),E=1,M++;break;case 59:case 125:if(0===x+k+D+O){E++;break}default:switch(E++,g=u.charAt(N),h){case 9:case 32:if(0===k+O+x)switch(S){case 44:case 58:case 9:case 32:g="";break;default:32!==h&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===k+x+O&&(L=V=1,g="\f"+g);break;case 108:if(0===k+x+O+_&&0<I)switch(N-I){case 2:112===S&&58===u.charCodeAt(N-3)&&(_=S);case 8:111===T&&(_=T)}break;case 58:0===k+x+O&&(I=N);break;case 44:0===x+D+k+O&&(L=1,g+="\r");break;case 34:case 39:0===x&&(k=k===h?0:0===k?h:k);break;case 91:0===k+x+D&&O++;break;case 93:0===k+x+D&&O--;break;case 41:0===k+x+O&&D--;break;case 40:if(0===k+x+O){if(0===p)switch(2*S+3*T){case 533:break;default:p=1}D++}break;case 64:0===x+D+k+O+I+m&&(m=1);break;case 42:case 47:if(!(0<k+O+D))switch(x){case 0:switch(2*h+3*u.charCodeAt(N+1)){case 235:x=47;break;case 220:F=N,x=42}break;case 42:47===h&&42===S&&F+2!==N&&(33===u.charCodeAt(F+2)&&(z+=u.substring(F,N+1)),g="",x=0)}}0===x&&(W+=g)}T=S,S=h,N++}if(0<(F=z.length)){if(L=r,0<A&&(void 0!==(w=s(2,z,L,e,M,E,F,c,d,c))&&0===(z=w).length))return Y+z+B;if(z=L.join(",")+"{"+z+"}",0!=P*_){switch(2!==P||a(z,2)||(_=0),_){case 111:z=z.replace(y,":-moz-$1")+z;break;case 112:z=z.replace(b,"::-webkit-input-$1")+z.replace(b,"::-moz-$1")+z.replace(b,":-ms-input-$1")+z}_=0}}return Y+z+B}function n(e,t,n){var o=t.trim().split(m);t=o;var a=o.length,i=e.length;switch(i){case 0:case 1:var s=0;for(e=0===i?"":e[0]+" ";s<a;++s)t[s]=r(e,t[s],n).trim();break;default:var u=s=0;for(t=[];s<a;++s)for(var c=0;c<i;++c)t[u++]=r(e[c]+" ",o[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,r){var i=e+";",s=2*t+3*n+4*r;if(944===s){e=i.indexOf(":",9)+1;var u=i.substring(e,i.length-1).trim();return u=i.substring(0,e).trim()+u+";",1===P||2===P&&a(u,1)?"-webkit-"+u+u:u}if(0===P||2===P&&!a(i,1))return i;switch(s){case 1015:return 97===i.charCodeAt(10)?"-webkit-"+i+i:i;case 951:return 116===i.charCodeAt(3)?"-webkit-"+i+i:i;case 963:return 110===i.charCodeAt(5)?"-webkit-"+i+i:i;case 1009:if(100!==i.charCodeAt(4))break;case 969:case 942:return"-webkit-"+i+i;case 978:return"-webkit-"+i+"-moz-"+i+i;case 1019:case 983:return"-webkit-"+i+"-moz-"+i+"-ms-"+i+i;case 883:if(45===i.charCodeAt(8))return"-webkit-"+i+i;if(0<i.indexOf("image-set(",11))return i.replace(S,"$1-webkit-$2")+i;break;case 932:if(45===i.charCodeAt(4))switch(i.charCodeAt(5)){case 103:return"-webkit-box-"+i.replace("-grow","")+"-webkit-"+i+"-ms-"+i.replace("grow","positive")+i;case 115:return"-webkit-"+i+"-ms-"+i.replace("shrink","negative")+i;case 98:return"-webkit-"+i+"-ms-"+i.replace("basis","preferred-size")+i}return"-webkit-"+i+"-ms-"+i+i;case 964:return"-webkit-"+i+"-ms-flex-"+i+i;case 1023:if(99!==i.charCodeAt(8))break;return"-webkit-box-pack"+(u=i.substring(i.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+i+"-ms-flex-pack"+u+i;case 1005:return p.test(i)?i.replace(d,":-webkit-")+i.replace(d,":-moz-")+i:i;case 1e3:switch(t=(u=i.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(t)){case 226:u=i.replace(w,"tb");break;case 232:u=i.replace(w,"tb-rl");break;case 220:u=i.replace(w,"lr");break;default:return i}return"-webkit-"+i+"-ms-"+u+i;case 1017:if(-1===i.indexOf("sticky",9))break;case 975:switch(t=(i=e).length-10,s=(u=(33===i.charCodeAt(t)?i.substring(0,t):i).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(111>u.charCodeAt(8))break;case 115:i=i.replace(u,"-webkit-"+u)+";"+i;break;case 207:case 102:i=i.replace(u,"-webkit-"+(102<s?"inline-":"")+"box")+";"+i.replace(u,"-webkit-"+u)+";"+i.replace(u,"-ms-"+u+"box")+";"+i}return i+";";case 938:if(45===i.charCodeAt(5))switch(i.charCodeAt(6)){case 105:return u=i.replace("-items",""),"-webkit-"+i+"-webkit-box-"+u+"-ms-flex-"+u+i;case 115:return"-webkit-"+i+"-ms-flex-item-"+i.replace(x,"")+i;default:return"-webkit-"+i+"-ms-flex-line-pack"+i.replace("align-content","").replace(x,"")+i}break;case 973:case 989:if(45!==i.charCodeAt(3)||122===i.charCodeAt(4))break;case 931:case 953:if(!0===k.test(e))return 115===(u=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):i.replace(u,"-webkit-"+u)+i.replace(u,"-moz-"+u.replace("fill-",""))+i;break;case 962:if(i="-webkit-"+i+(102===i.charCodeAt(5)?"-ms-"+i:"")+i,211===n+r&&105===i.charCodeAt(13)&&0<i.indexOf("transform",10))return i.substring(0,i.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+i}return i}function a(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),I(2!==t?r:r.replace(D,"$1"),n,t)}function i(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(O," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,o,a,i,s,u,l){for(var f,d=0,p=t;d<A;++d)switch(f=T[d].call(c,e,p,n,r,o,a,i,s,u,l)){case void 0:case!1:case!0:case null:break;default:p=f}if(p!==t)return p}function u(e){return void 0!==(e=e.prefix)&&(I=null,e?"function"!=typeof e?P=1:(P=2,I=e):P=0),u}function c(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<A){var o=s(-1,n,r,r,M,E,0,0,0,0);void 0!==o&&"string"==typeof o&&(n=o)}var a=t(j,r,n,0,0);return 0<A&&(void 0!==(o=s(-2,a,r,r,M,E,a.length,0,0,0))&&(a=o)),"",_=0,E=M=1,a}var l=/^\0+/g,f=/[\0\r\f]/g,d=/: */g,p=/zoo|gra/,h=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,b=/::(place)/g,y=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,C=/\(\s*(.*)\s*\)/g,O=/([\s\S]*?);/g,x=/-self|flex-/g,D=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,S=/([^-])(image-set\()/,E=1,M=1,_=0,P=1,j=[],T=[],A=0,I=null,R=0;return c.use=function N(e){switch(e){case void 0:case null:A=T.length=0;break;default:if("function"==typeof e)T[A++]=e;else if("object"==typeof e)for(var t=0,n=e.length;t<n;++t)N(e[t]);else R=0|!!e}return N},c.set=u,void 0!==e&&u(e),c},Ne="/*|*/";function Le(e){e&&Ve.current.insert(e+"}")}var Ve={current:null},Fe=function(e,t,n,r,o,a,i,s,u,c){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return Ve.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===s)return t+Ne;break;case 3:switch(s){case 102:case 112:return Ve.current.insert(n[0]+t),"";default:return t+(0===c?Ne:"")}case-2:t.split("/*|*/}").forEach(Le)}},He=function(e){e===undefined&&(e={});var t,n=e.key||"css";e.prefix!==undefined&&(t={prefix:e.prefix});var r=new Re(t);var o,a={};o=e.container||document.head;var i,s=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(s,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){a[e]=!0})),e.parentNode!==o&&o.appendChild(e)})),r.use(e.stylisPlugins)(Fe),i=function(e,t,n,o){var a=t.name;Ve.current=n,r(e,t.styles),o&&(u.inserted[a]=!0)};var u={key:n,sheet:new Ie({key:n,container:o,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:a,registered:{},insert:i};return u};function Ue(e,t,n){var r="";return n.split(" ").forEach((function(n){e[n]!==undefined?t.push(e[n]):r+=n+" "})),r}var We=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&e.registered[r]===undefined&&(e.registered[r]=t.styles),e.inserted[t.name]===undefined){var o=t;do{e.insert("."+r,o,e.sheet,!0);o=o.next}while(o!==undefined)}};var ze=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},Be={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var Ye=/[A-Z]|^ms/g,qe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ke=function(e){return 45===e.charCodeAt(1)},$e=function(e){return null!=e&&"boolean"!=typeof e},Ge=function(e){var t={};return function(n){return t[n]===undefined&&(t[n]=e(n)),t[n]}}((function(e){return Ke(e)?e:e.replace(Ye,"-$&").toLowerCase()})),Je=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(qe,(function(e,t,n){return Xe={name:t,styles:n,next:Xe},t}))}return 1===Be[e]||Ke(e)||"number"!=typeof t||0===t?t:t+"px"};function Qe(e,t,n,r){if(null==n)return"";if(n.__emotion_styles!==undefined)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return Xe={name:n.name,styles:n.styles,next:Xe},n.name;if(n.styles!==undefined){var o=n.next;if(o!==undefined)for(;o!==undefined;)Xe={name:o.name,styles:o.styles,next:Xe},o=o.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Qe(e,t,n[o],!1);else for(var a in n){var i=n[a];if("object"!=typeof i)null!=t&&t[i]!==undefined?r+=a+"{"+t[i]+"}":$e(i)&&(r+=Ge(a)+":"+Je(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&t[i[0]]!==undefined){var s=Qe(e,t,i,!1);switch(a){case"animation":case"animationName":r+=Ge(a)+":"+s+";";break;default:r+=a+"{"+s+"}"}}else for(var u=0;u<i.length;u++)$e(i[u])&&(r+=Ge(a)+":"+Je(a,i[u])+";")}return r}(e,t,n);case"function":if(e!==undefined){var a=Xe,i=n(e);return Xe=a,Qe(e,t,i,r)}break;case"string":}if(null==t)return n;var s=t[n];return s===undefined||r?n:s}var Xe,Ze=/label:\s*([^\s;\n{]+)\s*;/g;var et=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&e[0].styles!==undefined)return e[0];var r=!0,o="";Xe=undefined;var a=e[0];null==a||a.raw===undefined?(r=!1,o+=Qe(n,t,a,!1)):o+=a[0];for(var i=1;i<e.length;i++)o+=Qe(n,t,e[i],46===o.charCodeAt(o.length-1)),r&&(o+=a[i]);Ze.lastIndex=0;for(var s,u="";null!==(s=Ze.exec(o));)u+="-"+s[1];return{name:ze(o)+u,styles:o,next:Xe}},tt=Object.prototype.hasOwnProperty,nt=(0,e.createContext)("undefined"!=typeof HTMLElement?He():null),rt=(0,e.createContext)({}),ot=nt.Provider,at=function(t){var n=function(n,r){return(0,e.createElement)(nt.Consumer,null,(function(e){return t(n,e,r)}))};return(0,e.forwardRef)(n)},it="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",st=function(e,t){var n={};for(var r in t)tt.call(t,r)&&(n[r]=t[r]);return n[it]=e,n},ut=function(t,n,r,o){var a=null===r?n.css:n.css(r);"string"==typeof a&&t.registered[a]!==undefined&&(a=t.registered[a]);var i=n[it],s=[a],u="";"string"==typeof n.className?u=Ue(t.registered,s,n.className):null!=n.className&&(u=n.className+" ");var c=et(s);We(t,c,"string"==typeof i);u+=t.key+"-"+c.name;var l={};for(var f in n)tt.call(n,f)&&"css"!==f&&f!==it&&(l[f]=n[f]);return l.ref=o,l.className=u,(0,e.createElement)(i,l)},ct=at((function(t,n,r){return"function"==typeof t.css?(0,e.createElement)(rt.Consumer,null,(function(e){return ut(n,t,e,r)})):ut(n,t,null,r)}));var lt=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return et(t)},ft=function(t,n){var r=arguments;if(null==n||!tt.call(n,"css"))return e.createElement.apply(undefined,r);var o=r.length,a=new Array(o);a[0]=ct,a[1]=st(t,n);for(var i=2;i<o;i++)a[i]=r[i];return e.createElement.apply(null,a)},dt=at((function(t,n){var r=t.styles;if("function"==typeof r)return(0,e.createElement)(rt.Consumer,null,(function(t){var o=et([r(t)]);return(0,e.createElement)(pt,{serialized:o,cache:n})}));var o=et([r]);return(0,e.createElement)(pt,{serialized:o,cache:n})})),pt=function(e){var t,n;function r(t,n,r){return e.call(this,t,n,r)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,ke(t,n);var o=r.prototype;return o.componentDidMount=function(){this.sheet=new Ie({key:this.props.cache.key+"-global",nonce:this.props.cache.sheet.nonce,container:this.props.cache.sheet.container});var e=document.querySelector("style[data-emotion-"+this.props.cache.key+'="'+this.props.serialized.name+'"]');null!==e&&this.sheet.tags.push(e),this.props.cache.sheet.tags.length&&(this.sheet.before=this.props.cache.sheet.tags[0]),this.insertStyles()},o.componentDidUpdate=function(e){e.serialized.name!==this.props.serialized.name&&this.insertStyles()},o.insertStyles=function(){if(this.props.serialized.next!==undefined&&We(this.props.cache,this.props.serialized.next,!0),this.sheet.tags.length){var e=this.sheet.tags[this.sheet.tags.length-1].nextElementSibling;this.sheet.before=e,this.sheet.flush()}this.props.cache.insert("",this.props.serialized,this.sheet,!1)},o.componentWillUnmount=function(){this.sheet.flush()},o.render=function(){return null},r}(e.Component),ht=function ti(e){for(var t=e.length,n=0,r="";n<t;n++){var o=e[n];if(null!=o){var a=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))a=ti(o);else for(var i in a="",o)o[i]&&i&&(a&&(a+=" "),a+=i);break;default:a=o}a&&(r&&(r+=" "),r+=a)}}return r};function mt(e,t,n){var r=[],o=Ue(e,r,n);return r.length<2?n:o+t(r)}var gt=at((function(t,n){return(0,e.createElement)(rt.Consumer,null,(function(e){var r=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var o=et(t,n.registered);return We(n,o,!1),n.key+"-"+o.name},o={css:r,cx:function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return mt(n.registered,r,ht(t))},theme:e},a=t.children(o);return!0,a}))})),vt=ReactDOM;function bt(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function yt(e,t){if(null==e)return{};var n,r,o=bt(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function wt(){return(wt=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}).apply(this,arguments)}function Ct(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 Ot(e,t){if(e){if("string"==typeof e)return Ct(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)?Ct(e,t):void 0}}function xt(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){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)||Ot(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 Dt(e){return function(e){if(Array.isArray(e))return Ct(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ot(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 kt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var St=n(639),Et=function(){};function Mt(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function _t(e,t,n){var r=[n];if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&r.push("".concat(Mt(e,o)));return r.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var Pt=function(e){return Array.isArray(e)?e.filter(Boolean):"object"===Ee(e)&&null!==e?[e]:[]};function jt(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Tt(e){return jt(e)?window.pageYOffset:e.scrollTop}function At(e,t){jt(e)?window.scrollTo(0,t):e.scrollTop=t}function It(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function Rt(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:200,r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:Et,o=Tt(e),a=t-o,i=10,s=0;function u(){var t=It(s+=i,o,a,n);At(e,t),s<n?window.requestAnimationFrame(u):r(e)}u()}function Nt(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function Lt(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 Vt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lt(Object(n),!0).forEach((function(t){kt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ft(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Pe(e);if(t){var o=Pe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _e(this,n)}}function Ht(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,a=e.shouldScroll,i=e.isFixedPosition,s=e.theme.spacing,u=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/,o=document.documentElement;if("fixed"===t.position)return o;for(var a=e;a=a.parentElement;)if(t=getComputedStyle(a),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return a;return o}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var l=u.getBoundingClientRect().height,f=n.getBoundingClientRect(),d=f.bottom,p=f.height,h=f.top,m=n.offsetParent.getBoundingClientRect().top,g=window.innerHeight,v=Tt(u),b=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),w=m-y,C=g-h,O=w+v,x=l-v-h,D=d-g+v+b,k=v+h-y,S=160;switch(o){case"auto":case"bottom":if(C>=p)return{placement:"bottom",maxHeight:t};if(x>=p&&!i)return a&&Rt(u,D,S),{placement:"bottom",maxHeight:t};if(!i&&x>=r||i&&C>=r)return a&&Rt(u,D,S),{placement:"bottom",maxHeight:i?C-b:x-b};if("auto"===o||i){var E=t,M=i?w:O;return M>=r&&(E=Math.min(M-b-s.controlHeight,t)),{placement:"top",maxHeight:E}}if("bottom"===o)return At(u,D),{placement:"bottom",maxHeight:t};break;case"top":if(w>=p)return{placement:"top",maxHeight:t};if(O>=p&&!i)return a&&Rt(u,k,S),{placement:"top",maxHeight:t};if(!i&&O>=r||i&&w>=r){var _=t;return(!i&&O>=r||i&&w>=r)&&(_=i?w-y:O-y),a&&Rt(u,k,S),{placement:"top",maxHeight:_}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}var Ut=function(e){return"auto"===e?"bottom":e},Wt=(0,e.createContext)({getPortalPlacement:null}),zt=function(e){Se(n,e);var t=Ft(n);function n(){var e;Oe(this,n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).state={maxHeight:e.props.maxMenuHeight,placement:null},e.getPlacement=function(t){var n=e.props,r=n.minMenuHeight,o=n.maxMenuHeight,a=n.menuPlacement,i=n.menuPosition,s=n.menuShouldScrollIntoView,u=n.theme;if(t){var c="fixed"===i,l=Ht({maxHeight:o,menuEl:t,minHeight:r,placement:a,shouldScroll:s&&!c,isFixedPosition:c,theme:u}),f=e.context.getPortalPlacement;f&&f(l),e.setState(l)}},e.getUpdatedProps=function(){var t=e.props.menuPlacement,n=e.state.placement||Ut(t);return Vt(Vt({},e.props),{},{placement:n,maxHeight:e.state.maxHeight})},e}return De(n,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),n}(e.Component);zt.contextType=Wt;var Bt=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px"),textAlign:"center"}},Yt=Bt,qt=Bt,Kt=function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps;return ft("div",wt({css:o("noOptionsMessage",e),className:r({"menu-notice":!0,"menu-notice--no-options":!0},n)},a),t)};Kt.defaultProps={children:"No options"};var $t=function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps;return ft("div",wt({css:o("loadingMessage",e),className:r({"menu-notice":!0,"menu-notice--loading":!0},n)},a),t)};$t.defaultProps={children:"Loading..."};var Gt=function(e){Se(n,e);var t=Ft(n);function n(){var e;Oe(this,n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).state={placement:null},e.getPortalPlacement=function(t){var n=t.placement;n!==Ut(e.props.menuPlacement)&&e.setState({placement:n})},e}return De(n,[{key:"render",value:function(){var e=this.props,t=e.appendTo,n=e.children,r=e.controlElement,o=e.menuPlacement,a=e.menuPosition,i=e.getStyles,s="fixed"===a;if(!t&&!s||!r)return null;var u=this.state.placement||Ut(o),c=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),l=s?0:window.pageYOffset,f=c[u]+l,d=ft("div",{css:i("menuPortal",{offset:f,position:a,rect:c})},n);return ft(Wt.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},t?(0,vt.createPortal)(d,t):d)}}]),n}(e.Component),Jt=Array.isArray,Qt=Object.keys,Xt=Object.prototype.hasOwnProperty;function Zt(e,t){if(e===t)return!0;if(e&&t&&"object"==Ee(e)&&"object"==Ee(t)){var n,r,o,a=Jt(e),i=Jt(t);if(a&&i){if((r=e.length)!=t.length)return!1;for(n=r;0!=n--;)if(!Zt(e[n],t[n]))return!1;return!0}if(a!=i)return!1;var s=e instanceof Date,u=t instanceof Date;if(s!=u)return!1;if(s&&u)return e.getTime()==t.getTime();var c=e instanceof RegExp,l=t instanceof RegExp;if(c!=l)return!1;if(c&&l)return e.toString()==t.toString();var f=Qt(e);if((r=f.length)!==Qt(t).length)return!1;for(n=r;0!=n--;)if(!Xt.call(t,f[n]))return!1;for(n=r;0!=n--;)if(!("_owner"===(o=f[n])&&e.$$typeof||Zt(e[o],t[o])))return!1;return!0}return e!=e&&t!=t}function en(e,t){try{return Zt(e,t)}catch(n){if(n.message&&n.message.match(/stack|recursion/i))return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}}function tn(){var e,t,n=(e=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return tn=function(){return n},n}var nn={name:"19bqh2r",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;"},rn=function(e){var t=e.size,n=yt(e,["size"]);return ft("svg",wt({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:nn},n))},on=function(e){return ft(rn,wt({size:20},e),ft("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},an=function(e){return ft(rn,wt({size:20},e),ft("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},sn=function(e){var t=e.isFocused,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorContainer",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*r,transition:"color 150ms",":hover":{color:t?o.neutral80:o.neutral40}}},un=sn,cn=sn,ln=function(){var e=lt.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(tn()),fn=function(e){var t=e.delay,n=e.offset;return ft("span",{css:lt({animation:"".concat(ln," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":null,height:"1em",verticalAlign:"top",width:"1em"},"")})},dn=function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerProps,a=e.isRtl;return ft("div",wt({},o,{css:r("loadingIndicator",e),className:n({indicator:!0,"loading-indicator":!0},t)}),ft(fn,{delay:0,offset:a}),ft(fn,{delay:160,offset:!0}),ft(fn,{delay:320,offset:!a}))};dn.defaultProps={size:4};function pn(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 hn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pn(Object(n),!0).forEach((function(t){kt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mn(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 gn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mn(Object(n),!0).forEach((function(t){kt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var vn=function(e){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}};function bn(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 yn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bn(Object(n),!0).forEach((function(t){kt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var wn=function(e){var t=e.children,n=e.innerProps;return ft("div",n,t)},Cn=wn,On=wn;var xn=function(e){var t=e.children,n=e.className,r=e.components,o=e.cx,a=e.data,i=e.getStyles,s=e.innerProps,u=e.isDisabled,c=e.removeProps,l=e.selectProps,f=r.Container,d=r.Label,p=r.Remove;return ft(gt,null,(function(r){var h=r.css,m=r.cx;return ft(f,{data:a,innerProps:yn(yn({},s),{},{className:m(h(i("multiValue",e)),o({"multi-value":!0,"multi-value--is-disabled":u},n))}),selectProps:l},ft(d,{data:a,innerProps:{className:m(h(i("multiValueLabel",e)),o({"multi-value__label":!0},n))},selectProps:l},t),ft(p,{data:a,innerProps:yn({className:m(h(i("multiValueRemove",e)),o({"multi-value__remove":!0},n))},c),selectProps:l}))}))};xn.defaultProps={cropWithEllipsis:!0};function Dn(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 kn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dn(Object(n),!0).forEach((function(t){kt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}for(var Sn={ClearIndicator:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps;return ft("div",wt({},a,{css:o("clearIndicator",e),className:r({indicator:!0,"clear-indicator":!0},n)}),t||ft(on,null))},Control:function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.className,a=e.isDisabled,i=e.isFocused,s=e.innerRef,u=e.innerProps,c=e.menuIsOpen;return ft("div",wt({ref:s,css:r("control",e),className:n({control:!0,"control--is-disabled":a,"control--is-focused":i,"control--menu-is-open":c},o)},u),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps;return ft("div",wt({},a,{css:o("dropdownIndicator",e),className:r({indicator:!0,"dropdown-indicator":!0},n)}),t||ft(an,null))},DownChevron:an,CrossIcon:on,Group:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.Heading,i=e.headingProps,s=e.label,u=e.theme,c=e.selectProps;return ft("div",{css:o("group",e),className:r({group:!0},n)},ft(a,wt({},i,{selectProps:c,theme:u,getStyles:o,cx:r}),s),ft("div",null,t))},GroupHeading:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.theme,a=(e.selectProps,yt(e,["className","cx","getStyles","theme","selectProps"]));return ft("div",wt({css:r("groupHeading",hn({theme:o},a)),className:n({"group-heading":!0},t)},a))},IndicatorsContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles;return ft("div",{css:o("indicatorsContainer",e),className:r({indicators:!0},n)},t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerProps;return ft("span",wt({},o,{css:r("indicatorSeparator",e),className:n({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerRef,a=e.isHidden,i=e.isDisabled,s=e.theme,u=(e.selectProps,yt(e,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return ft("div",{css:r("input",gn({theme:s},u))},ft(St.Z,wt({className:n({input:!0},t),inputRef:o,inputStyle:vn(a),disabled:i},u)))},LoadingIndicator:dn,Menu:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerRef,i=e.innerProps;return ft("div",wt({css:o("menu",e),className:r({menu:!0},n)},i,{ref:a}),t)},MenuList:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.isMulti,i=e.innerRef,s=e.innerProps;return ft("div",wt({css:o("menuList",e),className:r({"menu-list":!0,"menu-list--is-multi":a},n),ref:i},s),t)},MenuPortal:Gt,LoadingMessage:$t,NoOptionsMessage:Kt,MultiValue:xn,MultiValueContainer:Cn,MultiValueLabel:On,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return ft("div",n,t||ft(on,{size:14}))},Option:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.isDisabled,i=e.isFocused,s=e.isSelected,u=e.innerRef,c=e.innerProps;return ft("div",wt({css:o("option",e),className:r({option:!0,"option--is-disabled":a,"option--is-focused":i,"option--is-selected":s},n),ref:u},c),t)},Placeholder:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps;return ft("div",wt({css:o("placeholder",e),className:r({placeholder:!0},n)},a),t)},SelectContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps,i=e.isDisabled,s=e.isRtl;return ft("div",wt({css:o("container",e),className:r({"--is-disabled":i,"--is-rtl":s},n)},a),t)},SingleValue:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.isDisabled,i=e.innerProps;return ft("div",wt({css:o("singleValue",e),className:r({"single-value":!0,"single-value--is-disabled":a},n)},i),t)},ValueContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.isMulti,a=e.getStyles,i=e.hasValue;return ft("div",{css:a("valueContainer",e),className:r({"value-container":!0,"value-container--is-multi":o,"value-container--has-value":i},n)},t)}},En=function(e){return kn(kn({},Sn),e.components)},Mn=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],_n=new RegExp("["+Mn.map((function(e){return e.letters})).join("")+"]","g"),Pn={},jn=0;jn<Mn.length;jn++)for(var Tn=Mn[jn],An=0;An<Tn.letters.length;An++)Pn[Tn.letters[An]]=Tn.base;var In=function(e){return e.replace(_n,(function(e){return Pn[e]}))};function Rn(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}var Nn=function(e){return e.replace(/^\s+|\s+$/g,"")},Ln=function(e){return"".concat(e.label," ").concat(e.value)};var Vn={name:"1laao21-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;"},Fn=function(e){return ft("span",wt({css:Vn},e))};function Hn(e){e["in"],e.out,e.onExited,e.appear,e.enter,e.exit;var t=e.innerRef,n=(e.emotion,yt(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return ft("input",wt({ref:t},n,{css:lt({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"},"")}))}function Un(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Pe(e);if(t){var o=Pe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _e(this,n)}}var Wn=function(e){Se(n,e);var t=Un(n);function n(){return Oe(this,n),t.apply(this,arguments)}return De(n,[{key:"componentDidMount",value:function(){this.props.innerRef((0,vt.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),n}(e.Component),zn=["boxSizing","height","overflow","paddingRight","position"],Bn={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Yn(e){e.preventDefault()}function qn(e){e.stopPropagation()}function Kn(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function $n(){return"ontouchstart"in window||navigator.maxTouchPoints}function Gn(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Pe(e);if(t){var o=Pe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _e(this,n)}}var Jn=!(!window.document||!window.document.createElement),Qn=0,Xn=function(e){Se(n,e);var t=Gn(n);function n(){var e;Oe(this,n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).originalStyles={},e.listenerOptions={capture:!1,passive:!1},e}return De(n,[{key:"componentDidMount",value:function(){var e=this;if(Jn){var t=this.props,n=t.accountForScrollbars,r=t.touchScrollTarget,o=document.body,a=o&&o.style;if(n&&zn.forEach((function(t){var n=a&&a[t];e.originalStyles[t]=n})),n&&Qn<1){var i=parseInt(this.originalStyles.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,u=window.innerWidth-s+i||0;Object.keys(Bn).forEach((function(e){var t=Bn[e];a&&(a[e]=t)})),a&&(a.paddingRight="".concat(u,"px"))}o&&$n()&&(o.addEventListener("touchmove",Yn,this.listenerOptions),r&&(r.addEventListener("touchstart",Kn,this.listenerOptions),r.addEventListener("touchmove",qn,this.listenerOptions))),Qn+=1}}},{key:"componentWillUnmount",value:function(){var e=this;if(Jn){var t=this.props,n=t.accountForScrollbars,r=t.touchScrollTarget,o=document.body,a=o&&o.style;Qn=Math.max(Qn-1,0),n&&Qn<1&&zn.forEach((function(t){var n=e.originalStyles[t];a&&(a[t]=n)})),o&&$n()&&(o.removeEventListener("touchmove",Yn,this.listenerOptions),r&&(r.removeEventListener("touchstart",Kn,this.listenerOptions),r.removeEventListener("touchmove",qn,this.listenerOptions)))}}},{key:"render",value:function(){return null}}]),n}(e.Component);function Zn(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Pe(e);if(t){var o=Pe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _e(this,n)}}Xn.defaultProps={accountForScrollbars:!0};var er={name:"1dsbpcp",styles:"position:fixed;left:0;bottom:0;right:0;top:0;"},tr=function(e){Se(n,e);var t=Zn(n);function n(){var e;Oe(this,n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).state={touchScrollTarget:null},e.getScrollTarget=function(t){t!==e.state.touchScrollTarget&&e.setState({touchScrollTarget:t})},e.blurSelectInput=function(){document.activeElement&&document.activeElement.blur()},e}return De(n,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.isEnabled,r=this.state.touchScrollTarget;return n?ft("div",null,ft("div",{onClick:this.blurSelectInput,css:er}),ft(Wn,{innerRef:this.getScrollTarget},t),r?ft(Xn,{touchScrollTarget:r}):null):t}}]),n}(e.PureComponent);function nr(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Pe(e);if(t){var o=Pe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _e(this,n)}}var rr=function(e){Se(r,e);var n=nr(r);function r(){var e;Oe(this,r);for(var t=arguments.length,o=new Array(t),a=0;a<t;a++)o[a]=arguments[a];return(e=n.call.apply(n,[this].concat(o))).isBottom=!1,e.isTop=!1,e.scrollTarget=void 0,e.touchStart=void 0,e.cancelScroll=function(e){e.preventDefault(),e.stopPropagation()},e.handleEventDelta=function(t,n){var r=e.props,o=r.onBottomArrive,a=r.onBottomLeave,i=r.onTopArrive,s=r.onTopLeave,u=e.scrollTarget,c=u.scrollTop,l=u.scrollHeight,f=u.clientHeight,d=e.scrollTarget,p=n>0,h=l-f-c,m=!1;h>n&&e.isBottom&&(a&&a(t),e.isBottom=!1),p&&e.isTop&&(s&&s(t),e.isTop=!1),p&&n>h?(o&&!e.isBottom&&o(t),d.scrollTop=l,m=!0,e.isBottom=!0):!p&&-n>c&&(i&&!e.isTop&&i(t),d.scrollTop=0,m=!0,e.isTop=!0),m&&e.cancelScroll(t)},e.onWheel=function(t){e.handleEventDelta(t,t.deltaY)},e.onTouchStart=function(t){e.touchStart=t.changedTouches[0].clientY},e.onTouchMove=function(t){var n=e.touchStart-t.changedTouches[0].clientY;e.handleEventDelta(t,n)},e.getScrollTarget=function(t){e.scrollTarget=t},e}return De(r,[{key:"componentDidMount",value:function(){this.startListening(this.scrollTarget)}},{key:"componentWillUnmount",value:function(){this.stopListening(this.scrollTarget)}},{key:"startListening",value:function(e){e&&("function"==typeof e.addEventListener&&e.addEventListener("wheel",this.onWheel,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchmove",this.onTouchMove,!1))}},{key:"stopListening",value:function(e){e&&("function"==typeof e.removeEventListener&&e.removeEventListener("wheel",this.onWheel,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchmove",this.onTouchMove,!1))}},{key:"render",value:function(){return t().createElement(Wn,{innerRef:this.getScrollTarget},this.props.children)}}]),r}(e.Component);function or(e){var n=e.isEnabled,r=void 0===n||n,o=yt(e,["isEnabled"]);return r?t().createElement(rr,o):o.children}var ar=function(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},n=t.isSearchable,r=t.isMulti,o=t.label,a=t.isDisabled,i=t.tabSelectsValue;switch(e){case"menu":return"Use Up and Down to choose options".concat(a?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(o||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},ir=function(e,t){var n=t.value,r=t.isDisabled;if(n)switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(n,", deselected.");case"select-option":return"option ".concat(n,r?" is disabled. Select another option.":", selected.")}},sr=function(e){return!!e.isDisabled};var ur={clearIndicator:cn,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},control:function(e){var t=e.isDisabled,n=e.isFocused,r=e.theme,o=r.colors,a=r.borderRadius,i=r.spacing;return{label:"control",alignItems:"center",backgroundColor:t?o.neutral5:o.neutral0,borderColor:t?o.neutral10:n?o.primary:o.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(o.primary):null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?o.primary:o.neutral30}}},dropdownIndicator:un,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?o.neutral10:o.neutral20,marginBottom:2*r,marginTop:2*r,width:1}},input:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return{margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,visibility:t?"hidden":"visible",color:o.neutral80}},loadingIndicator:function(e){var t=e.isFocused,n=e.size,r=e.theme,o=r.colors,a=r.spacing.baseUnit;return{label:"loadingIndicator",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*a,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},loadingMessage:qt,menu:function(e){var t,n=e.placement,r=e.theme,o=r.borderRadius,a=r.spacing,i=r.colors;return kt(t={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n),"100%"),kt(t,"backgroundColor",i.neutral0),kt(t,"borderRadius",o),kt(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),kt(t,"marginBottom",a.menuGutter),kt(t,"marginTop",a.menuGutter),kt(t,"position","absolute"),kt(t,"width","100%"),kt(t,"zIndex",1),t},menuList:function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:r/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,n=t.borderRadius,r=t.colors,o=e.cropWithEllipsis;return{borderRadius:n/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:o?"ellipsis":null,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius,o=t.colors;return{alignItems:"center",borderRadius:r/2,backgroundColor:e.isFocused&&o.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}}},noOptionsMessage:Yt,option:function(e){var t=e.isDisabled,n=e.isFocused,r=e.isSelected,o=e.theme,a=o.spacing,i=o.colors;return{label:"option",backgroundColor:r?i.primary:n?i.primary25:"transparent",color:t?i.neutral20:r?i.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!t&&(r?i.primary:i.primary50)}}},placeholder:function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},singleValue:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return{label:"singleValue",color:t?o.neutral40:o.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"calc(100% - ".concat(2*r.baseUnit,"px)"),overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},valueContainer:function(e){var t=e.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}};var cr={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}};function lr(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 fr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lr(Object(n),!0).forEach((function(t){kt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function dr(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Pe(e);if(t){var o=Pe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _e(this,n)}}var pr,hr={backspaceRemovesValue:!0,blurInputOnSelect:Nt(),captureMenuScroll:!Nt(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rn(Object(n),!0).forEach((function(t){kt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({ignoreCase:!0,ignoreAccents:!0,stringify:Ln,trim:!0,matchFrom:"any"},pr),r=n.ignoreCase,o=n.ignoreAccents,a=n.stringify,i=n.trim,s=n.matchFrom,u=i?Nn(t):t,c=i?Nn(a(e)):a(e);return r&&(u=u.toLowerCase(),c=c.toLowerCase()),o&&(u=In(u),c=In(c)),"start"===s?c.substr(0,u.length)===u:c.indexOf(u)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:sr,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0},mr=1,gr=function(e){Se(r,e);var n=dr(r);function r(e){var t;Oe(this,r),(t=n.call(this,e)).state={ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,menuOptions:{render:[],focusable:[]},selectValue:[]},t.blockOptionHover=!1,t.isComposing=!1,t.clearFocusValueOnUpdate=!1,t.commonProps=void 0,t.components=void 0,t.hasGroups=!1,t.initialTouchX=0,t.initialTouchY=0,t.inputIsHiddenAfterUpdate=void 0,t.instancePrefix="",t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.cacheComponents=function(e){t.components=En({components:e})},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var r=t.props,o=r.onChange,a=r.name;o(e,fr(fr({},n),{},{name:a}))},t.setValue=function(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"set-value",r=arguments.length>2?arguments[2]:undefined,o=t.props,a=o.closeMenuOnSelect,i=o.isMulti;t.onInputChange("",{action:"set-value"}),a&&(t.inputIsHiddenAfterUpdate=!i,t.onMenuClose()),t.clearFocusValueOnUpdate=!0,t.onChange(e,{action:n,option:r})},t.selectOption=function(e){var n=t.props,r=n.blurInputOnSelect,o=n.isMulti,a=t.state.selectValue;if(o)if(t.isOptionSelected(e,a)){var i=t.getOptionValue(e);t.setValue(a.filter((function(e){return t.getOptionValue(e)!==i})),"deselect-option",e),t.announceAriaLiveSelection({event:"deselect-option",context:{value:t.getOptionLabel(e)}})}else t.isOptionDisabled(e,a)?t.announceAriaLiveSelection({event:"select-option",context:{value:t.getOptionLabel(e),isDisabled:!0}}):(t.setValue([].concat(Dt(a),[e]),"select-option",e),t.announceAriaLiveSelection({event:"select-option",context:{value:t.getOptionLabel(e)}}));else t.isOptionDisabled(e,a)?t.announceAriaLiveSelection({event:"select-option",context:{value:t.getOptionLabel(e),isDisabled:!0}}):(t.setValue(e,"select-option"),t.announceAriaLiveSelection({event:"select-option",context:{value:t.getOptionLabel(e)}}));r&&t.blurInput()},t.removeValue=function(e){var n=t.state.selectValue,r=t.getOptionValue(e),o=n.filter((function(e){return t.getOptionValue(e)!==r}));t.onChange(o.length?o:null,{action:"remove-value",removedValue:e}),t.announceAriaLiveSelection({event:"remove-value",context:{value:e?t.getOptionLabel(e):""}}),t.focusInput()},t.clearValue=function(){t.onChange(null,{action:"clear"})},t.popValue=function(){var e=t.state.selectValue,n=e[e.length-1],r=e.slice(0,e.length-1);t.announceAriaLiveSelection({event:"pop-value",context:{value:n?t.getOptionLabel(n):""}}),t.onChange(r.length?r:null,{action:"pop-value",removedValue:n})},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return _t.apply(void 0,[t.props.classNamePrefix].concat(n))},t.getOptionLabel=function(e){return t.props.getOptionLabel(e)},t.getOptionValue=function(e){return t.props.getOptionValue(e)},t.getStyles=function(e,n){var r=ur[e](n);r.boxSizing="border-box";var o=t.props.styles[e];return o?o(r,n):r},t.getElementId=function(e){return"".concat(t.instancePrefix,"-").concat(e)},t.getActiveDescendentId=function(){var e=t.props.menuIsOpen,n=t.state,r=n.menuOptions,o=n.focusedOption;if(!o||!e)return undefined;var a=r.focusable.indexOf(o),i=r.render[a];return i&&i.key},t.announceAriaLiveSelection=function(e){var n=e.event,r=e.context;t.setState({ariaLiveSelection:ir(n,r)})},t.announceAriaLiveContext=function(e){var n=e.event,r=e.context;t.setState({ariaLiveContext:ar(n,fr(fr({},r),{},{label:t.props["aria-label"]}))})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){var n=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&t.onMenuClose():n&&t.openMenu("first"):(n&&(t.openAfterFocus=!0),t.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()},t.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||t.props.isDisabled)){var n=t.props,r=n.isMulti,o=n.menuIsOpen;t.focusInput(),o?(t.inputIsHiddenAfterUpdate=!r,t.onMenuClose()):t.openMenu("first"),e.preventDefault(),e.stopPropagation()}},t.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(t.clearValue(),e.stopPropagation(),t.openAfterFocus=!1,"touchend"===e.type?t.focusInput():setTimeout((function(){return t.focusInput()})))},t.onScroll=function(e){"boolean"==typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&jt(e.target)&&t.props.onMenuClose():"function"==typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var n=e.touches,r=n&&n.item(0);r&&(t.initialTouchX=r.clientX,t.initialTouchY=r.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var n=e.touches,r=n&&n.item(0);if(r){var o=Math.abs(r.clientX-t.initialTouchX),a=Math.abs(r.clientY-t.initialTouchY);t.userIsDragging=o>5||a>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=e.currentTarget.value;t.inputIsHiddenAfterUpdate=!1,t.onInputChange(n,{action:"input-change"}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){var n=t.props,r=n.isSearchable,o=n.isMulti;t.props.onFocus&&t.props.onFocus(e),t.inputIsHiddenAfterUpdate=!1,t.announceAriaLiveContext({event:"input",context:{isSearchable:r,isMulti:o}}),t.setState({isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur"}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){t.blockOptionHover||t.state.focusedOption===e||t.setState({focusedOption:e})},t.shouldHideSelectedOptions=function(){var e=t.props,n=e.hideSelectedOptions,r=e.isMulti;return n===undefined?r:n},t.onKeyDown=function(e){var n=t.props,r=n.isMulti,o=n.backspaceRemovesValue,a=n.escapeClearsValue,i=n.inputValue,s=n.isClearable,u=n.isDisabled,c=n.menuIsOpen,l=n.onKeyDown,f=n.tabSelectsValue,d=n.openMenuOnFocus,p=t.state,h=p.focusedOption,m=p.focusedValue,g=p.selectValue;if(!(u||"function"==typeof l&&(l(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||i)return;t.focusValue("previous");break;case"ArrowRight":if(!r||i)return;t.focusValue("next");break;case"Delete":case"Backspace":if(i)return;if(m)t.removeValue(m);else{if(!o)return;r?t.popValue():s&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!c||!f||!h||d&&t.isOptionSelected(h,g))return;t.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(t.isComposing)return;t.selectOption(h);break}return;case"Escape":c?(t.inputIsHiddenAfterUpdate=!1,t.onInputChange("",{action:"menu-close"}),t.onMenuClose()):s&&a&&t.clearValue();break;case" ":if(i)return;if(!c){t.openMenu("first");break}if(!h)return;t.selectOption(h);break;case"ArrowUp":c?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":c?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!c)return;t.focusOption("pageup");break;case"PageDown":if(!c)return;t.focusOption("pagedown");break;case"Home":if(!c)return;t.focusOption("first");break;case"End":if(!c)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.buildMenuOptions=function(e,n){var r=e.inputValue,o=void 0===r?"":r,a=e.options,i=function(e,r){var a=t.isOptionDisabled(e,n),i=t.isOptionSelected(e,n),s=t.getOptionLabel(e),u=t.getOptionValue(e);if(!(t.shouldHideSelectedOptions()&&i||!t.filterOption({label:s,value:u,data:e},o))){var c=a?undefined:function(){return t.onOptionHover(e)},l=a?undefined:function(){return t.selectOption(e)},f="".concat(t.getElementId("option"),"-").concat(r);return{innerProps:{id:f,onClick:l,onMouseMove:c,onMouseOver:c,tabIndex:-1},data:e,isDisabled:a,isSelected:i,key:f,label:s,type:"option",value:u}}};return a.reduce((function(e,n,r){if(n.options){t.hasGroups||(t.hasGroups=!0);var o=n.options.map((function(t,n){var o=i(t,"".concat(r,"-").concat(n));return o&&e.focusable.push(t),o})).filter(Boolean);if(o.length){var a="".concat(t.getElementId("group"),"-").concat(r);e.render.push({type:"group",key:a,data:n,options:o})}}else{var s=i(n,"".concat(r));s&&(e.render.push(s),e.focusable.push(n))}return e}),{render:[],focusable:[]})};var o=e.value;t.cacheComponents=Ae(t.cacheComponents,en).bind(Me(t)),t.cacheComponents(e.components),t.instancePrefix="react-select-"+(t.props.instanceId||++mr);var a=Pt(o);t.buildMenuOptions=Ae(t.buildMenuOptions,(function(e,t){var n=xt(e,2),r=n[0],o=n[1],a=xt(t,2),i=a[0];return o===a[1]&&r.inputValue===i.inputValue&&r.options===i.options})).bind(Me(t));var i=e.menuIsOpen?t.buildMenuOptions(e,a):{render:[],focusable:[]};return t.state.menuOptions=i,t.state.selectValue=a,t}return De(r,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props,n=t.options,r=t.value,o=t.menuIsOpen,a=t.inputValue;if(this.cacheComponents(e.components),e.value!==r||e.options!==n||e.menuIsOpen!==o||e.inputValue!==a){var i=Pt(e.value),s=e.menuIsOpen?this.buildMenuOptions(e,i):{render:[],focusable:[]},u=this.getNextFocusedValue(i),c=this.getNextFocusedOption(s.focusable);this.setState({menuOptions:s,selectValue:i,focusedOption:c,focusedValue:u})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(e){var t,n,r,o,a,i=this.props,s=i.isDisabled,u=i.menuIsOpen,c=this.state.isFocused;(c&&!s&&e.isDisabled||c&&u&&!e.menuIsOpen)&&this.focusInput(),c&&s&&!e.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(t=this.menuListRef,n=this.focusedOptionRef,r=t.getBoundingClientRect(),o=n.getBoundingClientRect(),a=n.offsetHeight/3,o.bottom+a>r.bottom?At(t,Math.min(n.offsetTop+n.clientHeight-t.offsetHeight+a,t.scrollHeight)):o.top-a<r.top&&At(t,Math.max(n.offsetTop-a,0)),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){var e=this.props,t=e.isSearchable,n=e.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:t,isMulti:n}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,a=this.buildMenuOptions(this.props,r),i=this.props,s=i.isMulti,u=i.tabSelectsValue,c="first"===e?0:a.focusable.length-1;if(!s){var l=a.focusable.indexOf(r[0]);l>-1&&(c=l)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.setState({menuOptions:a,focusedValue:null,focusedOption:a.focusable[c]},(function(){t.onMenuOpen(),t.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:u}})}))}},{key:"focusValue",value:function(e){var t=this.props,n=t.isMulti,r=t.isSearchable,o=this.state,a=o.selectValue,i=o.focusedValue;if(n){this.setState({focusedOption:null});var s=a.indexOf(i);i||(s=-1,this.announceAriaLiveContext({event:"value"}));var u=a.length-1,c=-1;if(a.length){switch(e){case"previous":c=0===s?0:-1===s?u:s-1;break;case"next":s>-1&&s<u&&(c=s+1)}-1===c&&this.announceAriaLiveContext({event:"input",context:{isSearchable:r,isMulti:n}}),this.setState({inputIsHidden:-1!==c,focusedValue:a[c]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"first",t=this.props,n=t.pageSize,r=t.tabSelectsValue,o=this.state,a=o.focusedOption,i=o.menuOptions,s=i.focusable;if(s.length){var u=0,c=s.indexOf(a);a||(c=-1,this.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:r}})),"up"===e?u=c>0?c-1:s.length-1:"down"===e?u=(c+1)%s.length:"pageup"===e?(u=c-n)<0&&(u=0):"pagedown"===e?(u=c+n)>s.length-1&&(u=s.length-1):"last"===e&&(u=s.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:s[u],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:sr(s[u]),tabSelectsValue:r}})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(cr):fr(fr({},cr),this.props.theme):cr}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getValue,o=this.setValue,a=this.selectOption,i=this.props,s=i.isMulti,u=i.isRtl,c=i.options;return{cx:t,clearValue:e,getStyles:n,getValue:r,hasValue:this.hasValue(),isMulti:s,isRtl:u,options:c,selectOption:a,setValue:o,selectProps:i,theme:this.getTheme()}}},{key:"getNextFocusedValue",value:function(e){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var t=this.state,n=t.focusedValue,r=t.selectValue.indexOf(n);if(r>-1){if(e.indexOf(n)>-1)return n;if(r<e.length)return e[r]}return null}},{key:"getNextFocusedOption",value:function(e){var t=this.state.focusedOption;return t&&e.indexOf(t)>-1?t:e[0]}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.state.menuOptions.render.length}},{key:"countOptions",value:function(){return this.state.menuOptions.focusable.length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return t===undefined?n:t}},{key:"isOptionDisabled",value:function(e,t){return"function"==typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(e,t)}},{key:"isOptionSelected",value:function(e,t){var n=this;if(t.indexOf(e)>-1)return!0;if("function"==typeof this.props.isOptionSelected)return this.props.isOptionSelected(e,t);var r=this.getOptionValue(e);return t.some((function(e){return n.getOptionValue(e)===r}))}},{key:"filterOption",value:function(e,t){return!this.props.filterOption||this.props.filterOption(e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"constructAriaLiveMessage",value:function(){var e=this.state,t=e.ariaLiveContext,n=e.selectValue,r=e.focusedValue,o=e.focusedOption,a=this.props,i=a.options,s=a.menuIsOpen,u=a.inputValue,c=a.screenReaderStatus,l=r?function(e){var t=e.focusedValue,n=e.getOptionLabel,r=e.selectValue;return"value ".concat(n(t)," focused, ").concat(r.indexOf(t)+1," of ").concat(r.length,".")}({focusedValue:r,getOptionLabel:this.getOptionLabel,selectValue:n}):"",f=o&&s?function(e){var t=e.focusedOption,n=e.getOptionLabel,r=e.options;return"option ".concat(n(t)," focused").concat(t.isDisabled?" disabled":"",", ").concat(r.indexOf(t)+1," of ").concat(r.length,".")}({focusedOption:o,getOptionLabel:this.getOptionLabel,options:i}):"",d=function(e){var t=e.inputValue,n=e.screenReaderMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}({inputValue:u,screenReaderMessage:c({count:this.countOptions()})});return"".concat(l," ").concat(f," ").concat(d," ").concat(t)}},{key:"renderInput",value:function(){var e=this.props,n=e.isDisabled,r=e.isSearchable,o=e.inputId,a=e.inputValue,i=e.tabIndex,s=e.form,u=this.components.Input,c=this.state.inputIsHidden,l=o||this.getElementId("input"),f={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};if(!r)return t().createElement(Hn,wt({id:l,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Et,onFocus:this.onInputFocus,readOnly:!0,disabled:n,tabIndex:i,form:s,value:""},f));var d=this.commonProps,p=d.cx,h=d.theme,m=d.selectProps;return t().createElement(u,wt({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:p,getStyles:this.getStyles,id:l,innerRef:this.getInputRef,isDisabled:n,isHidden:c,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:m,spellCheck:"false",tabIndex:i,form:s,theme:h,type:"text",value:a},f))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,n=this.components,r=n.MultiValue,o=n.MultiValueContainer,a=n.MultiValueLabel,i=n.MultiValueRemove,s=n.SingleValue,u=n.Placeholder,c=this.commonProps,l=this.props,f=l.controlShouldRenderValue,d=l.isDisabled,p=l.isMulti,h=l.inputValue,m=l.placeholder,g=this.state,v=g.selectValue,b=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!f)return h?null:t().createElement(u,wt({},c,{key:"placeholder",isDisabled:d,isFocused:y}),m);if(p)return v.map((function(n,s){var u=n===b;return t().createElement(r,wt({},c,{components:{Container:o,Label:a,Remove:i},isFocused:u,isDisabled:d,key:"".concat(e.getOptionValue(n)).concat(s),index:s,removeProps:{onClick:function(){return e.removeValue(n)},onTouchEnd:function(){return e.removeValue(n)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:n}),e.formatOptionLabel(n,"value"))}));if(h)return null;var w=v[0];return t().createElement(s,wt({},c,{data:w,isDisabled:d}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.components.ClearIndicator,n=this.commonProps,r=this.props,o=r.isDisabled,a=r.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||a)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return t().createElement(e,wt({},n,{innerProps:s,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.components.LoadingIndicator,n=this.commonProps,r=this.props,o=r.isDisabled,a=r.isLoading,i=this.state.isFocused;if(!e||!a)return null;return t().createElement(e,wt({},n,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:i}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.components,n=e.DropdownIndicator,r=e.IndicatorSeparator;if(!n||!r)return null;var o=this.commonProps,a=this.props.isDisabled,i=this.state.isFocused;return t().createElement(r,wt({},o,{isDisabled:a,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.components.DropdownIndicator;if(!e)return null;var n=this.commonProps,r=this.props.isDisabled,o=this.state.isFocused,a={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return t().createElement(e,wt({},n,{innerProps:a,isDisabled:r,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,n=this.components,r=n.Group,o=n.GroupHeading,a=n.Menu,i=n.MenuList,s=n.MenuPortal,u=n.LoadingMessage,c=n.NoOptionsMessage,l=n.Option,f=this.commonProps,d=this.state,p=d.focusedOption,h=d.menuOptions,m=this.props,g=m.captureMenuScroll,v=m.inputValue,b=m.isLoading,y=m.loadingMessage,w=m.minMenuHeight,C=m.maxMenuHeight,O=m.menuIsOpen,x=m.menuPlacement,D=m.menuPosition,k=m.menuPortalTarget,S=m.menuShouldBlockScroll,E=m.menuShouldScrollIntoView,M=m.noOptionsMessage,_=m.onMenuScrollToTop,P=m.onMenuScrollToBottom;if(!O)return null;var j,T=function(n){var r=p===n.data;return n.innerRef=r?e.getFocusedOptionRef:undefined,t().createElement(l,wt({},f,n,{isFocused:r}),e.formatOptionLabel(n.data,"menu"))};if(this.hasOptions())j=h.render.map((function(n){if("group"===n.type){n.type;var a=yt(n,["type"]),i="".concat(n.key,"-heading");return t().createElement(r,wt({},f,a,{Heading:o,headingProps:{id:i,data:n.data},label:e.formatGroupLabel(n.data)}),n.options.map((function(e){return T(e)})))}if("option"===n.type)return T(n)}));else if(b){var A=y({inputValue:v});if(null===A)return null;j=t().createElement(u,f,A)}else{var I=M({inputValue:v});if(null===I)return null;j=t().createElement(c,f,I)}var R={minMenuHeight:w,maxMenuHeight:C,menuPlacement:x,menuPosition:D,menuShouldScrollIntoView:E},N=t().createElement(zt,wt({},f,R),(function(n){var r=n.ref,o=n.placerProps,s=o.placement,u=o.maxHeight;return t().createElement(a,wt({},f,R,{innerRef:r,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:b,placement:s}),t().createElement(or,{isEnabled:g,onTopArrive:_,onBottomArrive:P},t().createElement(tr,{isEnabled:S},t().createElement(i,wt({},f,{innerRef:e.getMenuListRef,isLoading:b,maxHeight:u}),j))))}));return k||"fixed"===D?t().createElement(s,wt({},f,{appendTo:k,controlElement:this.controlRef,menuPlacement:x,menuPosition:D}),N):N}},{key:"renderFormField",value:function(){var e=this,n=this.props,r=n.delimiter,o=n.isDisabled,a=n.isMulti,i=n.name,s=this.state.selectValue;if(i&&!o){if(a){if(r){var u=s.map((function(t){return e.getOptionValue(t)})).join(r);return t().createElement("input",{name:i,type:"hidden",value:u})}var c=s.length>0?s.map((function(n,r){return t().createElement("input",{key:"i-".concat(r),name:i,type:"hidden",value:e.getOptionValue(n)})})):t().createElement("input",{name:i,type:"hidden"});return t().createElement("div",null,c)}var l=s[0]?this.getOptionValue(s[0]):"";return t().createElement("input",{name:i,type:"hidden",value:l})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?t().createElement(Fn,{"aria-live":"polite"},t().createElement("span",{id:"aria-selection-event"}," ",this.state.ariaLiveSelection),t().createElement("span",{id:"aria-context"}," ",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var e=this.components,n=e.Control,r=e.IndicatorsContainer,o=e.SelectContainer,a=e.ValueContainer,i=this.props,s=i.className,u=i.id,c=i.isDisabled,l=i.menuIsOpen,f=this.state.isFocused,d=this.commonProps=this.getCommonProps();return t().createElement(o,wt({},d,{className:s,innerProps:{id:u,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:f}),this.renderLiveRegion(),t().createElement(n,wt({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:f,menuIsOpen:l}),t().createElement(a,wt({},d,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),t().createElement(r,wt({},d,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),r}(e.Component);function vr(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Pe(e);if(t){var o=Pe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _e(this,n)}}gr.defaultProps=hr;var br={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null};function yr(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Pe(e);if(t){var o=Pe(this).constructor;Reflect.construct(r,arguments,o)}else r.apply(this,arguments);return _e(this,n)}}e.Component;var wr,Cr,Or,xr=(wr=gr,Or=Cr=function(e){Se(r,e);var n=vr(r);function r(){var e;Oe(this,r);for(var t=arguments.length,o=new Array(t),a=0;a<t;a++)o[a]=arguments[a];return(e=n.call.apply(n,[this].concat(o))).select=void 0,e.state={inputValue:e.props.inputValue!==undefined?e.props.inputValue:e.props.defaultInputValue,menuIsOpen:e.props.menuIsOpen!==undefined?e.props.menuIsOpen:e.props.defaultMenuIsOpen,value:e.props.value!==undefined?e.props.value:e.props.defaultValue},e.onChange=function(t,n){e.callProp("onChange",t,n),e.setState({value:t})},e.onInputChange=function(t,n){var r=e.callProp("onInputChange",t,n);e.setState({inputValue:r!==undefined?r:t})},e.onMenuOpen=function(){e.callProp("onMenuOpen"),e.setState({menuIsOpen:!0})},e.onMenuClose=function(){e.callProp("onMenuClose"),e.setState({menuIsOpen:!1})},e}return De(r,[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"getProp",value:function(e){return this.props[e]!==undefined?this.props[e]:this.state[e]}},{key:"callProp",value:function(e){if("function"==typeof this.props[e]){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return(t=this.props)[e].apply(t,r)}}},{key:"render",value:function(){var e=this,n=this.props,r=(n.defaultInputValue,n.defaultMenuIsOpen,n.defaultValue,yt(n,["defaultInputValue","defaultMenuIsOpen","defaultValue"]));return t().createElement(wr,wt({},r,{ref:function(t){e.select=t},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))}}]),r}(e.Component),Cr.defaultProps=br,Or),Dr=n(322),kr=n.n(Dr),Sr=n(555),Er=n.n(Sr),Mr=["mousedown","touchstart"];
|
27 |
/**!
|
28 |
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
29 |
* @version 1.16.1
|
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(/("\;)/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){if(t&&("object"===Va(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ka(e)}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(/"/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))}))}))}()}();
|
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.
|
7 |
Requires PHP: 7.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
@@ -227,6 +227,11 @@ Connect with Gmail, Slack, Mailchimp, and many more.
|
|
227 |
|
228 |
|
229 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
230 |
Version 1.5.6 // 2021-11-07
|
231 |
Fixed: Elementor Default Text Editor Preview and Frontend Encoding Problem.
|
232 |
Tweaked: CSS and JS improved
|
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.6.0
|
7 |
Requires PHP: 7.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
227 |
|
228 |
|
229 |
== Changelog ==
|
230 |
+
Version 1.6.0 // 2021-11-10
|
231 |
+
Added: Onboarding Integration
|
232 |
+
Tweaked: CSS and JS improved
|
233 |
+
Removed: Unnecessary image files
|
234 |
+
|
235 |
Version 1.5.6 // 2021-11-07
|
236 |
Fixed: Elementor Default Text Editor Preview and Frontend Encoding Problem.
|
237 |
Tweaked: CSS and JS improved
|