Version Description
- Added: Increase security for user accounts by using 2-factor authentication steps. [PRO]
- Added: Animated Smiley Switch Template. [PRO]
- Updated: Options panel framework.
- Fixed: Minor bug fixes.
Download this release
Release Info
Developer | alimir |
Plugin | WP ULike |
Version | 4.6.0 |
Comparing to | |
See all releases |
Code changes from version 4.5.9 to 4.6.0
- admin/assets/js/plugins.js +1 -1
- admin/settings/assets/css/style.css +4 -9
- admin/settings/assets/css/style.min.css +1 -1
- admin/settings/assets/js/main.js +42 -19
- admin/settings/assets/js/main.min.js +2 -2
- admin/settings/assets/js/plugins.min.js +1 -1
- admin/settings/assets/scss/partials/_fields.scss +1 -5
- admin/settings/assets/scss/partials/_navmenu.scss +3 -5
- admin/settings/classes/admin-options.class.php +5 -4
- admin/settings/classes/customize-options.class.php +1 -1
- admin/settings/classes/setup.class.php +3 -7
- admin/settings/fields/code_editor/code_editor.php +1 -1
- admin/settings/fields/group/group.php +35 -15
- admin/settings/fields/number/number.php +4 -1
- admin/settings/fields/typography/google-fonts.php +11 -5
- assets/css/wp-ulike.css +2 -1
- assets/css/wp-ulike.min.css +1 -1
- assets/js/wp-ulike.js +1 -1
- assets/js/wp-ulike.min.js +1 -1
- includes/classes/class-wp-ulike-entities-process.php +1 -1
- includes/functions/utilities.php +101 -0
- includes/plugin.php +12 -2
- languages/wp-ulike-ar.po +4 -4
- languages/wp-ulike-de.po +4 -4
- languages/wp-ulike-es-co.po +4 -4
- languages/wp-ulike-fa_IR.po +4 -4
- languages/wp-ulike-fr.po +4 -4
- languages/wp-ulike-ja.po +4 -4
- languages/wp-ulike-nl.po +4 -4
- languages/wp-ulike-ru.po +4 -4
- languages/wp-ulike-sv.po +4 -4
- languages/wp-ulike-zh-cn.po +4 -4
- languages/wp-ulike.pot +5 -5
- readme.txt +8 -2
- wp-ulike.php +2 -2
admin/assets/js/plugins.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! WP ULike - v4.
|
2 |
* https://wpulike.com
|
3 |
* TechnoWich 2022;
|
4 |
*/
|
1 |
+
/*! WP ULike - v4.6.0
|
2 |
* https://wpulike.com
|
3 |
* TechnoWich 2022;
|
4 |
*/
|
admin/settings/assets/css/style.css
CHANGED
@@ -1351,11 +1351,9 @@
|
|
1351 |
/**
|
1352 |
* 03. 16. Field: icon
|
1353 |
*/
|
1354 |
-
.ulf-field-icon .button {
|
1355 |
-
margin-right: 5px;
|
1356 |
-
}
|
1357 |
.ulf-field-icon .ulf-icon-select {
|
1358 |
display: flex;
|
|
|
1359 |
}
|
1360 |
.ulf-field-icon .ulf-icon-preview:not(.hidden) {
|
1361 |
display: flex;
|
@@ -1366,7 +1364,6 @@
|
|
1366 |
align-items: center;
|
1367 |
width: 30px;
|
1368 |
font-size: 14px;
|
1369 |
-
margin-right: 5px;
|
1370 |
text-align: center;
|
1371 |
vertical-align: top;
|
1372 |
color: #555;
|
@@ -2927,14 +2924,12 @@
|
|
2927 |
width: 100%;
|
2928 |
}
|
2929 |
.ulf-nav-menu-options > .ulf-fields {
|
2930 |
-
margin
|
2931 |
-
margin-top: 10px;
|
2932 |
-
margin-bottom: 10px;
|
2933 |
border-top: 1px solid #eee;
|
2934 |
border-bottom: 1px solid #eee;
|
2935 |
}
|
2936 |
.ulf-nav-menu-options > .ulf-fields > .ulf-field {
|
2937 |
-
padding: 12px
|
2938 |
}
|
2939 |
.ulf-nav-menu-options > .ulf-fields > .ulf-field .ulf-title {
|
2940 |
float: none;
|
@@ -2953,7 +2948,7 @@
|
|
2953 |
}
|
2954 |
|
2955 |
.ulf-nav-menu-title {
|
2956 |
-
padding: 12px
|
2957 |
background-color: #f5f5f5;
|
2958 |
border-top: 1px solid #eee;
|
2959 |
border-bottom: 1px solid #eee;
|
1351 |
/**
|
1352 |
* 03. 16. Field: icon
|
1353 |
*/
|
|
|
|
|
|
|
1354 |
.ulf-field-icon .ulf-icon-select {
|
1355 |
display: flex;
|
1356 |
+
grid-gap: 5px;
|
1357 |
}
|
1358 |
.ulf-field-icon .ulf-icon-preview:not(.hidden) {
|
1359 |
display: flex;
|
1364 |
align-items: center;
|
1365 |
width: 30px;
|
1366 |
font-size: 14px;
|
|
|
1367 |
text-align: center;
|
1368 |
vertical-align: top;
|
1369 |
color: #555;
|
2924 |
width: 100%;
|
2925 |
}
|
2926 |
.ulf-nav-menu-options > .ulf-fields {
|
2927 |
+
margin: 10px -10px;
|
|
|
|
|
2928 |
border-top: 1px solid #eee;
|
2929 |
border-bottom: 1px solid #eee;
|
2930 |
}
|
2931 |
.ulf-nav-menu-options > .ulf-fields > .ulf-field {
|
2932 |
+
padding: 12px;
|
2933 |
}
|
2934 |
.ulf-nav-menu-options > .ulf-fields > .ulf-field .ulf-title {
|
2935 |
float: none;
|
2948 |
}
|
2949 |
|
2950 |
.ulf-nav-menu-title {
|
2951 |
+
padding: 12px;
|
2952 |
background-color: #f5f5f5;
|
2953 |
border-top: 1px solid #eee;
|
2954 |
border-bottom: 1px solid #eee;
|
admin/settings/assets/css/style.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.ulf{position:relative}.ulf label{padding:0;margin:0;display:inline-block}.ulf-ab-icon{top:2px}#screen-meta-links+.ulf-options{margin-top:40px}.ulf-options{margin-top:20px;margin-right:20px}.ulf-header{position:relative}.ulf-header-inner{padding:25px;transition:box-shadow .3s ease}.ulf-header-inner h1{float:left;font-size:1.5em;line-height:26px;font-weight:400;margin:0}.ulf-header-inner h1 small{font-size:11px;font-weight:500}.ulf-sticky .ulf-header-inner{position:fixed;z-index:99;top:32px;box-shadow:0 5px 10px rgba(0,0,0,.1)}.ulf-buttons{float:right}.ulf-buttons .button{margin:0 2px;line-height:26px}.ulf-buttons .button:focus{outline:0!important;box-shadow:none!important}.ulf-buttons .ulf-save{min-width:72px}.ulf-header-left{float:left}.ulf-header-right{float:right}.ulf-nav{display:block;position:relative;z-index:10;float:left}.ulf-nav ul{clear:left;margin:0;list-style-type:none}.ulf-nav ul li{margin-bottom:0}.ulf-nav ul li a{font-size:13px;position:relative;display:block;padding:14px 12px;text-decoration:none;transition-property:color,background;transition-duration:.2s;transition-timing-function:ease}.ulf-nav ul li a:focus{outline:0;box-shadow:none}.ulf-nav ul li .ulf-arrow:after{content:"\f054";display:inline-block;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:9px;line-height:1;position:absolute;right:10px;top:50%;margin-top:-4px}.ulf-nav ul li.ulf-tab-expanded .ulf-arrow:after{transform:rotate(90deg)}.ulf-nav ul li.ulf-tab-expanded ul{display:block}.ulf-nav ul ul{display:none;position:relative}.ulf-nav ul ul li a{font-size:12px;padding:12px 14px 12px 24px}.ulf-nav .ulf-tab-icon{width:20px;margin-right:5px;font-size:13px;text-align:center}.ulf-nav .ulf-label-error{margin-left:4px;vertical-align:top}.ulf-nav-normal{width:225px}.ulf-nav-normal+.ulf-content{margin-left:225px}.ulf-nav-inline{width:100%}.ulf-nav-inline ul li{display:inline-block;vertical-align:top}.ulf-nav-background{position:absolute;top:0;left:0;bottom:0;z-index:9;width:225px}.ulf-wrapper{position:relative}.ulf-content{position:relative;background-color:#fff}.ulf-sections{float:left;width:100%}.ulf-section-title{display:none;padding:20px 30px;background-color:#f5f5f5;border-top:1px solid #eee;border-bottom:1px solid #eee}.ulf-section-title h3{margin:0;padding:0;font-size:13px;font-weight:700;text-transform:uppercase}.ulf-section-title .ulf-section-icon{margin-right:5px}.ulf-footer{padding:20px;font-size:11px}.ulf-copyright{float:left;margin-top:5px}.ulf-search-all .ulf-nav,.ulf-search-all .ulf-nav-background,.ulf-show-all .ulf-nav,.ulf-show-all .ulf-nav-background{display:none}.ulf-search-all .ulf-content,.ulf-show-all .ulf-content{margin-left:0}.ulf-search-all .ulf-section,.ulf-search-all .ulf-section-title,.ulf-show-all .ulf-section,.ulf-show-all .ulf-section-title{display:block!important}.ulf-search-all .ulf-section-title{display:none!important}.ulf-expand-all{float:left;padding:0 8px;margin-right:4px;z-index:1;font-size:13px;line-height:30px;cursor:pointer;user-select:none;border-radius:2px;transition:all .2s}.ulf-expand-all span{font-size:11px;vertical-align:middle}.ulf-search{float:left}.ulf-search input{margin:0 2px 0 0;border:none;font-size:12px;line-height:30px;min-height:30px;text-align:inherit;padding:0 10px;border-radius:2px;box-shadow:none}.ulf-search input:focus{box-shadow:none}.ulf-saving .ulf-buttons,.ulf-saving .ulf-content{cursor:default;pointer-events:none;opacity:.5}.ulf-metabox{margin:-6px -12px -12px -12px}.ulf-metabox .ulf-field{padding:20px}.ulf-metabox .ulf-section-title{padding:20px}.block-editor-page .ulf-metabox{margin:-6px -14px -14px -14px}.block-editor-editor-skeleton__content .ulf-metabox{border-left:1px solid #e2e4e7;border-right:1px solid #e2e4e7}.ulf-sections-reset{float:left;width:100%;text-align:right;border-top:1px solid #eee}.ulf-sections-reset .ulf-button-cancel,.ulf-sections-reset input{display:none}.ulf-sections-reset label{padding:10px}.ulf-sections-reset span{-webkit-user-select:none;user-select:none}.ulf-sections-reset input:checked~.ulf-button-reset{display:none}.ulf-sections-reset input:checked~.ulf-button-cancel{display:inline-block}#side-sortables .ulf-section-title{padding:12px}#side-sortables .ulf-field{padding:10px 15px}#side-sortables .ulf-field .ulf-title{float:none;width:100%;margin-bottom:6px}#side-sortables .ulf-field .ulf-fieldset{float:none;width:100%}#side-sortables .ulf-field-text input{width:100%}#side-sortables .ulf-notice{padding:10px 15px}.ulf-comment-metabox{margin:-6px -12px -12px -12px}.ulf-comment-metabox .ulf-field{padding:20px}.ulf-comment-metabox .ulf-section-title{padding:20px}.ulf-tooltip{position:absolute;z-index:5000001;font-size:12px;line-height:1.4;text-align:center;text-decoration:none;padding:6px 12px;max-width:200px;color:#fff;background-color:#000;background-color:rgba(0,0,0,.85);border-radius:4px}.ulf-theme-dark .ulf-header-inner{background-color:#050505}.ulf-theme-dark .ulf-header-inner h1{color:#fff}.ulf-theme-dark .ulf-header-inner h1 small{color:#555}.ulf-theme-dark .ulf-expand-all{color:#999;background-color:#222}.ulf-theme-dark .ulf-expand-all:hover{color:#fff;background-color:#333}.ulf-theme-dark .ulf-search input{color:#fff;background-color:#222}.ulf-theme-dark .ulf-search:focus{background-color:#444}.ulf-theme-dark .ulf-search::-webkit-input-placeholder{color:#666}.ulf-theme-dark .ulf-nav ul li a{color:#999;border-color:#2f2f2f;background-color:#222}.ulf-theme-dark .ulf-nav ul li a:hover{color:#fff}.ulf-theme-dark .ulf-nav ul li .ulf-active{color:#fff;background-color:#111}.ulf-theme-dark .ulf-nav ul ul li a{border-color:#2f2f2f;background-color:#191919}.ulf-theme-dark .ulf-nav ul ul li .ulf-active{background-color:#101010}.ulf-theme-dark .ulf-nav ul ul:before{background-color:rgba(34,34,34,.75)}.ulf-theme-dark .ulf-nav>ul>li:last-child>a{border:none}.ulf-theme-dark .ulf-nav-normal ul li a{border-bottom-width:1px;border-bottom-style:solid}.ulf-theme-dark .ulf-nav-normal ul li .ulf-active:after{content:" ";position:absolute;right:0;top:50%;height:0;width:0;pointer-events:none;border:solid transparent;border-right-color:#fff;border-width:4px;margin-top:-4px}.ulf-theme-dark .ulf-nav-inline{background-color:#222}.ulf-theme-dark .ulf-nav-inline ul li a{text-align:center;border-right-width:1px;border-right-style:solid}.ulf-theme-dark .ulf-nav-inline ul li .ulf-active:after{content:" ";position:absolute;left:50%;bottom:0;height:0;width:0;pointer-events:none;border:solid transparent;border-bottom-color:#fff;border-width:4px;margin-left:-4px}.ulf-theme-dark .ulf-nav-background{background-color:#222}.ulf-theme-dark .ulf-footer{color:#555;background-color:#050505}.ulf-theme-light .ulf-container{border:1px solid #ccd0d4;box-shadow:0 0 15 rgba(0,0,0,.04)}.ulf-theme-light .ulf-header-inner{border-bottom:1px solid #ccd0d4;background-color:#f5f5f5;background:linear-gradient(#fefefe,#f5f5f5)}.ulf-theme-light .ulf-header-inner h1 small{color:#999}.ulf-theme-light .ulf-expand-all{color:#999;background-color:#eee}.ulf-theme-light .ulf-expand-all:hover{color:#555}.ulf-theme-light .ulf-search input{color:#555;background-color:#eee}.ulf-theme-light .ulf-search input::-webkit-input-placeholder{color:#999}.ulf-theme-light .ulf-nav ul li a{font-weight:500;color:#444;background-color:#f5f5f5}.ulf-theme-light .ulf-nav ul li a:hover{color:#111;background-color:#fff}.ulf-theme-light .ulf-nav ul li .ulf-active{color:#111;background-color:#fff}.ulf-theme-light .ulf-nav ul ul li a{background-color:#eee}.ulf-theme-light .ulf-nav-normal>ul{margin-right:-1px;margin-bottom:-1px}.ulf-theme-light .ulf-nav-normal>ul li a{border-bottom:1px solid #ccd0d4;border-right:1px solid #ccd0d4}.ulf-theme-light .ulf-nav-normal>ul li .ulf-active{border-right-color:#fff}.ulf-theme-light .ulf-nav-inline{background-color:#f5f5f5;border-bottom:1px solid #ccd0d4}.ulf-theme-light .ulf-nav-inline>ul{margin-bottom:-1px}.ulf-theme-light .ulf-nav-inline>ul li a{text-align:center;border-right:1px solid #ccd0d4;border-bottom:1px solid #ccd0d4}.ulf-theme-light .ulf-nav-inline>ul li .ulf-active{border-bottom-color:#fff}.ulf-theme-light .ulf-nav-inline>ul ul{display:none!important}.ulf-theme-light .ulf-nav-inline .ulf-arrow:after{display:none}.ulf-theme-light .ulf-nav-background{background-color:#f5f5f5;border-right:1px solid #ccd0d4}.ulf-theme-light .ulf-footer{color:#555;border-top:1px solid #ccd0d4;background-color:#f5f5f5;background:linear-gradient(#fafafa,#f5f5f5)}.ulf-field{position:relative;padding:30px}.ulf-field+.ulf-field{border-top:1px solid #eee}.ulf-field p:first-child{margin-top:0}.ulf-field p:last-child{margin-bottom:0}.ulf-field:after,.ulf-field:before{content:" ";display:table}.ulf-field:after{clear:both}.ulf-field h4{margin-top:0}.ulf-field .ulf-title{position:relative;width:20%;float:left}.ulf-field .ulf-title h4{margin:0;color:#23282d}.ulf-field .ulf-fieldset{float:right;width:calc(80% - 20px)}.ulf-pseudo-field{padding:0 5px 0 0!important;display:inline-block}.ulf-pseudo-field+.ulf-pseudo-field{border:0}.ulf-pseudo-field pre{display:none}.ulf-field-accordion .ulf-accordion-item{position:relative;margin-bottom:5px}.ulf-field-accordion .ulf-accordion-item:last-child{margin-bottom:0}.ulf-field-accordion .ulf-accordion-item h4{font-size:1em}.ulf-field-accordion .ulf-accordion-title{display:block;cursor:pointer;position:relative;margin:0;padding:15px;min-height:0;font-size:100%;user-select:none;border:1px solid #ccd0d4;background-color:#fafafa;box-shadow:0 1px 1px rgba(0,0,0,.04);transition:border-color .15s}.ulf-field-accordion .ulf-accordion-title:active,.ulf-field-accordion .ulf-accordion-title:focus,.ulf-field-accordion .ulf-accordion-title:hover{outline:0;border-color:#999}.ulf-field-accordion .ulf-accordion-title .ulf--icon{width:20px;text-align:center;margin-right:2px}.ulf-field-accordion .ulf-accordion-icon{width:16px;text-align:center}.ulf-field-accordion .ulf-accordion-content{display:none;padding:0;border:1px solid #ccd0d4;border-top:none;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.ulf-field-accordion .ulf-accordion-content>.ulf-field{padding:15px}.ulf-field-accordion .ulf-accordion-open{display:block}.ulf-field-background .ulf-field{border:0!important;padding:0;margin-bottom:6px;margin-right:6px}.ulf-field-background .ulf--title{color:#777;font-size:12px}.ulf-field-background .ulf--background-colors{display:flex;flex-wrap:wrap}.ulf-field-background .ulf--background-attributes{display:flex;flex-wrap:wrap}.ulf-field-background .ulf--background-attributes select{min-width:100%;margin:0}.ulf-field-background .ulf--background-attributes .ulf-field{flex:1}.ulf-field-background .ulf--attributes-hidden{display:none}.ulf-field-backup textarea{width:100%;min-height:200px;margin-bottom:5px}.ulf-field-backup small{display:inline-block;margin:5px}.ulf-field-backup hr{margin:20px 0;border:none;border-bottom:1px solid #e5e5e5}.ulf-field-border .ulf--inputs,.ulf-field-dimensions .ulf--inputs,.ulf-field-spacing .ulf--inputs{float:left;display:flex;flex-wrap:wrap}.ulf-field-border .ulf--input,.ulf-field-dimensions .ulf--input,.ulf-field-spacing .ulf--input{display:flex;padding-right:6px;padding-bottom:4px;box-sizing:border-box}.ulf-field-border .ulf--input select,.ulf-field-dimensions .ulf--input select,.ulf-field-spacing .ulf--input select{margin:0}.ulf-field-border .ulf--input input,.ulf-field-dimensions .ulf--input input,.ulf-field-spacing .ulf--input input{position:relative;z-index:1;margin:0;width:65px;max-width:100%;text-align:center}.ulf-field-border .ulf--color,.ulf-field-dimensions .ulf--color,.ulf-field-spacing .ulf--color{float:left}.ulf-field-border .ulf--label,.ulf-field-dimensions .ulf--label,.ulf-field-spacing .ulf--label{display:flex;flex-direction:column;justify-content:center;user-select:none;min-width:20px;max-width:100%;padding:0 4px;font-size:12px;text-align:center;color:#555;border:1px solid #7b776c;background-color:#f5f5f5}.ulf-field-border .ulf--icon,.ulf-field-dimensions .ulf--icon,.ulf-field-spacing .ulf--icon{border-right:0;border-radius:4px 0 0 4px}.ulf-field-border .ulf--icon+input,.ulf-field-dimensions .ulf--icon+input,.ulf-field-spacing .ulf--icon+input{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.ulf-field-border .ulf--unit,.ulf-field-dimensions .ulf--unit,.ulf-field-spacing .ulf--unit{border-left:0;border-radius:0 4px 4px 0}.ulf-field-border .ulf--is-unit,.ulf-field-dimensions .ulf--is-unit,.ulf-field-spacing .ulf--is-unit{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.ulf-field-button_set .ulf--buttons{display:inline-block}.ulf-field-button_set .ulf--button{position:relative;z-index:1;float:left;cursor:pointer;padding:7px 14px;min-width:16px;text-align:center;color:#555;border:1px solid #ccc;background-color:#f7f7f7;user-select:none;box-shadow:0 1px 0 rgba(0,0,0,.1)}.ulf-field-button_set .ulf--button:first-child{border-radius:4px 0 0 4px}.ulf-field-button_set .ulf--button:last-child{border-radius:0 4px 4px 0}.ulf-field-button_set .ulf--button:not(:first-child){margin-left:-1px}.ulf-field-button_set .ulf--button:hover{background-color:#eee}.ulf-field-button_set .ulf--active,.ulf-field-button_set .ulf--active:hover{z-index:2;color:#fff;border-color:#006799;background-color:#0085ba}.ulf-field-button_set input{display:none}.ulf-field-checkbox ul,.ulf-field-radio ul{margin:0;padding:0;list-style-type:none;overflow-y:auto;max-height:305px}.ulf-field-checkbox ul li,.ulf-field-radio ul li{margin-bottom:6px}.ulf-field-checkbox ul ul,.ulf-field-radio ul ul{max-height:none}.ulf-field-checkbox ul ul li,.ulf-field-radio ul ul li{margin-left:8px}.ulf-field-checkbox ul ul li:first-child,.ulf-field-radio ul ul li:first-child{margin-left:0}.ulf-field-checkbox input,.ulf-field-radio input{margin:0 1px}.ulf-field-checkbox .ulf--inline-list li,.ulf-field-radio .ulf--inline-list li{display:inline-block;margin-right:15px}.ulf-field-checkbox .ulf--text,.ulf-field-radio .ulf--text{margin-left:5px;vertical-align:middle}.ulf-field-checkbox .ulf-checker,.ulf-field-radio .ulf-checker{cursor:pointer}.ulf-field-code_editor .CodeMirror{width:100%;height:400px}.ulf-field-code_editor .cm-s-default{border:1px solid #ccd0d4}.ulf-field-code_editor textarea{width:100%;height:400px}.ulf-field-color>input{opacity:.75;width:115px;max-width:100%}.ulf-field-color .button.wp-picker-clear{padding:0 8px;margin-left:6px;line-height:2.54545455;min-height:30px}.ulf-field-color_group .ulf--left{float:left;margin-right:10px;margin-bottom:5px}.ulf-field-color_group .ulf--title{color:#999;margin-bottom:5px}.ulf-field-fieldset .ulf-fieldset-content{border:1px solid #ccd0d4;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.ulf-field-fieldset .ulf-fieldset-content>.ulf-field{padding:15px}.ulf-field-fieldset .ulf-field-subheading{font-size:13px}.ulf-field-date input{margin:0}.ulf-field-date .ulf--to{margin-left:7px}.ulf-datepicker-wrapper{margin-top:5px;width:auto;background-color:#fff;z-index:9999999!important;box-shadow:0 0 30px rgba(0,0,0,.15)}.ulf-datepicker-wrapper *{float:none;margin:0;padding:0;font-family:inherit;font-weight:400;font-style:normal;text-decoration:none;border:0;border-radius:0;box-shadow:none}.ulf-datepicker-wrapper .ui-datepicker-header,.ulf-datepicker-wrapper .ui-widget-header{color:#fff;background:#00a0d2}.ulf-datepicker-wrapper .ui-datepicker-header .ui-state-hover{cursor:pointer}.ulf-datepicker-wrapper .ui-datepicker-title{font-size:14px;line-height:40px;text-align:center}.ulf-datepicker-wrapper .ui-datepicker-next,.ulf-datepicker-wrapper .ui-datepicker-prev{position:static;top:auto;left:auto;right:auto;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:12px;text-align:center;width:41px;height:40px;line-height:40px;color:#fff;background-color:rgba(255,255,255,.1);text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ulf-datepicker-wrapper .ui-datepicker-next span,.ulf-datepicker-wrapper .ui-datepicker-prev span{display:none}.ulf-datepicker-wrapper .ui-datepicker-prev{float:left}.ulf-datepicker-wrapper .ui-datepicker-next{float:right}.ulf-datepicker-wrapper .ui-datepicker-prev:before{content:'\f053'}.ulf-datepicker-wrapper .ui-datepicker-next:before{content:'\f054'}.ulf-datepicker-wrapper .ui-datepicker-next-hover,.ulf-datepicker-wrapper .ui-datepicker-prev-hover{opacity:.75}.ulf-datepicker-wrapper tbody .ui-datepicker-week-col{background-color:#f7f7f7}.ulf-datepicker-wrapper .ui-datepicker-buttonpane{padding:10px;text-align:center;background-color:#f7f7f7}.ulf-datepicker-wrapper .ui-datepicker-buttonpane button{cursor:pointer;margin:0 5px;padding:7px 14px;border:1px solid #eee;background-color:#fff}.ulf-datepicker-wrapper select{margin:0 4px}.ulf-datepicker-wrapper select option{color:#555}.ulf-datepicker-wrapper table{font-size:13px;border-collapse:collapse;width:100%}.ulf-datepicker-wrapper thead{color:#fff;background:#32373c}.ulf-datepicker-wrapper th{text-align:center;padding:7px;border:1px solid #444}.ulf-datepicker-wrapper td{text-align:center;border:1px solid #f4f4f4}.ulf-datepicker-wrapper td.ui-datepicker-other-month{border:transparent}.ulf-datepicker-wrapper td .ui-state-default{color:#555;width:auto;display:block;padding:6px 12px}.ulf-datepicker-wrapper td .ui-state-active,.ulf-datepicker-wrapper td .ui-state-hover{color:#fff;background-color:#0073aa}.ulf-datepicker-wrapper td.ui-state-disabled .ui-state-default{opacity:.5}.ulf-field-datetime input{margin:0}.ulf-field-datetime .ulf--to{margin-left:7px}.ulf-flatpickr input,.ulf-flatpickr select{min-height:auto}.ulf-flatpickr input:focus,.ulf-flatpickr select:focus{box-shadow:none}.ulf-flatpickr.open{z-index:9999999!important}.ulf-field-gallery ul{margin:0;padding:0;list-style-type:none}.ulf-field-gallery ul li{display:inline-block;position:relative;padding:4px;margin:0 5px 10px 0;border:1px solid #ccc;background-color:#f9f9f9;border-radius:2px;box-shadow:0 1px 0 rgba(0,0,0,.08)}.ulf-field-gallery ul li img{max-height:60px;display:inline-block;vertical-align:middle}.ulf-field-gallery .button{margin-right:5px;margin-bottom:5px}.ulf-field-group .ulf-cloneable-hidden{display:none!important}.ulf-field-group .ulf-cloneable-wrapper{position:relative}.ulf-field-group .ulf-cloneable-item{display:none;position:relative;margin-bottom:5px}.ulf-field-group .ulf-cloneable-item h4{font-size:1em}.ulf-field-group .ui-accordion .ulf-cloneable-item{display:block}.ulf-field-group .ulf-cloneable-content{border:1px solid #ccd0d4;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.ulf-field-group .ulf-cloneable-content>.ulf-field{padding:15px}.ulf-field-group .ulf-cloneable-title{display:block;cursor:pointer;position:relative;user-select:none;margin:0;padding:15px 65px 15px 10px;min-height:0;font-size:100%;border:1px solid #ccd0d4;background-color:#fafafa;box-shadow:0 1px 1px rgba(0,0,0,.04);transition:border-color .15s}.ulf-field-group .ulf-cloneable-title:active,.ulf-field-group .ulf-cloneable-title:focus,.ulf-field-group .ulf-cloneable-title:hover{border-color:#999;outline:0}.ulf-field-group .ulf-cloneable-helper{position:absolute;top:12px;right:10px;z-index:1;font-size:14px;line-height:1em}.ulf-field-group .ulf-cloneable-helper i{display:inline-block;cursor:pointer;padding:5px;color:#999}.ulf-field-group .ulf-cloneable-helper i:hover{color:#555}.ulf-field-group .ulf-cloneable-content{padding:0;border-top:0}.ulf-field-group .ulf-cloneable-title-number,.ulf-field-group .ulf-cloneable-title-prefix{margin-right:5px}.ulf-field-group .ulf-cloneable-alert{display:none;margin-bottom:5px;padding:10px 20px;color:#a94442;border:1px solid #ebccd1;background-color:#f2dede}.ulf-field-group .widget-placeholder{margin-bottom:10px;border:1px dashed #f1c40f;background-color:#fffae4}.ulf-field-group .ulf-cloneable-header-icon{display:inline-block;text-align:center;font-size:14px;width:17px;text-indent:0;vertical-align:text-top}.ulf-field-group .ulf-cloneable-placeholder{background-color:#ddd;margin-top:4px;width:100px;height:10px;font-size:10px;line-height:10px;display:inline-block;vertical-align:top;border-radius:2px}.ulf-field-icon .button{margin-right:5px}.ulf-field-icon .ulf-icon-select{display:flex}.ulf-field-icon .ulf-icon-preview:not(.hidden){display:flex}.ulf-field-icon .ulf-icon-preview i{display:flex;justify-content:center;align-items:center;width:30px;font-size:14px;margin-right:5px;text-align:center;vertical-align:top;color:#555;border:1px solid #ccc;background-color:#f7f7f7;border-radius:3px;box-shadow:0 1px 0 rgba(0,0,0,.08)}.ulf-field-image_select .ulf--image{display:inline-block;margin:0 5px 5px 0}.ulf-field-image_select .ulf--inline-list .ulf--image{display:block}.ulf-field-image_select figure{cursor:pointer;position:relative;display:inline-block;max-width:100%;margin:0;vertical-align:bottom;border:2px solid transparent;background-color:#fff;user-select:none;transition:all .2s}.ulf-field-image_select figure:before{position:absolute;top:0;left:0;text-align:center;font-size:10px;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;content:"\f00c";width:16px;height:16px;line-height:14px;opacity:0;color:#fff;background-color:#222;transition:opacity .2s}.ulf-field-image_select .ulf--active figure{border-color:#222;box-shadow:0 0 20px rgba(0,0,0,.2)}.ulf-field-image_select .ulf--active figure:before{opacity:1}.ulf-field-image_select img{max-width:100%;height:auto;vertical-align:top}.ulf-field-image_select input{display:none}.ulf-field-link_color .ulf--left{float:left;margin-right:10px;margin-bottom:5px}.ulf-field-link_color .ulf--title{color:#777;margin-bottom:5px}.ulf-field-map input{width:100%}.ulf-field-map input[type=text].ui-autocomplete-loading{background-position-x:calc(100% - 5px)}.ulf-field-map .ulf--map-search+.ulf--map-osm-wrap{margin-top:10px}.ulf-field-map .ulf--map-osm-wrap{position:relative;padding:5px;border:1px solid #eee;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.ulf-field-map .ulf--map-osm{position:relative;z-index:1;min-height:250px}.ulf-field-map .ulf--map-inputs{margin-top:10px;display:flex;justify-content:space-between}.ulf-field-map .ulf--map-input{flex:1}.ulf-field-map .ulf--map-input:last-child{padding-left:10px}.ulf-field-map label{display:block;color:#777;font-size:12px;margin:0 0 2px 0}.ulf-map-ui-autocomplate{z-index:999999;border-radius:4px;overflow:hidden}.ulf-field-media .ulf--placeholder{display:flex;align-items:flex-start}.ulf-field-media .ulf--placeholder input{width:100%;margin:0}.ulf-field-media .button{margin-left:5px}.ulf-field-media .hidden+.button{margin-left:0}.ulf-field-media .ulf--preview{position:relative}.ulf-field-palette .ulf--palette{position:relative;display:inline-block;cursor:pointer;border:2px solid #ddd;margin-right:10px;margin-bottom:10px;user-select:none;-webkit-user-select:none;transition:all .2s}.ulf-field-palette .ulf--palette span{vertical-align:middle;display:inline-block;width:22px;height:60px;line-height:60px;overflow:hidden;text-indent:-999px}.ulf-field-palette .ulf--palette:before{position:absolute;top:0;left:0;text-align:center;font-size:10px;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;content:"\f00c";width:16px;height:16px;line-height:14px;opacity:0;color:#fff;background-color:#222;transition:opacity .2s}.ulf-field-palette .ulf--active{border-color:#222;box-shadow:0 0 20px rgba(0,0,0,.2)}.ulf-field-palette .ulf--active:before{opacity:1}.ulf-field-palette input{display:none}.ulf-field-repeater .ulf-field-text input{width:100%}.ulf-field-repeater .ulf-repeater-hidden{display:none!important}.ulf-field-repeater .ulf-repeater-wrapper .ulf-repeater-item{display:table;width:100%;margin-bottom:5px;border:1px solid #eee}.ulf-field-repeater .ulf-repeater-wrapper .ulf-repeater-item h4{font-size:1em}.ulf-field-repeater .ulf-repeater-content{width:100%;display:table-cell;vertical-align:middle;background-color:#fff}.ulf-field-repeater .ulf-repeater-content>.ulf-field{padding:15px}.ulf-field-repeater .ulf-repeater-helper{width:100%;display:table-cell;vertical-align:middle;text-align:center;font-size:14px;line-height:1em;border-left:1px solid #eee;background-color:#f7f7f7}.ulf-field-repeater .ulf-repeater-helper i{display:inline-block;cursor:pointer;color:#999;padding:5px}.ulf-field-repeater .ulf-repeater-helper i:hover{color:#555}.ulf-field-repeater .ulf-repeater-helper-inner{width:75px}.ulf-field-repeater .ulf-repeater-alert{display:none;margin-bottom:5px;padding:10px 20px;color:#a94442;border:1px solid #ebccd1;background-color:#f2dede}.ulf-field-repeater .widget-placeholder{height:50px;margin-bottom:3px;border:1px dashed #f1c40f;background-color:#fffae4}.ulf-field-repeater .ui-sortable-helper{height:50px!important;overflow:hidden!important;border-color:#ccc!important;background-color:#eee!important;opacity:.5}.ulf-field-repeater .ui-sortable-helper .ulf-repeater-content,.ulf-field-repeater .ui-sortable-helper .ulf-repeater-helper{display:none}.ulf-field-select .ulf-fieldset{min-height:30px}.ulf-field-select .ulf-chosen{display:none}.ulf-field-select select{max-width:100%;margin:0}.ulf-field-select .ulf-hide-select{display:none!important}.ulf-field-slider .ulf--wrap{display:flex;align-items:center}.ulf-field-slider .ulf--input{display:flex}.ulf-field-slider .ulf--unit{display:flex;justify-content:center;flex-direction:column;user-select:none;padding:0 6px;font-size:11px;line-height:1;border-radius:0 4px 4px 0;color:#555;border:1px solid #7e8993;border-left:0;background-color:#f5f5f5}.ulf-field-slider .ulf-slider-ui{margin-right:15px}.ulf-field-slider input[type=number]{position:relative;z-index:1;margin:0;width:50px;text-align:center}.ulf-field-slider .ulf--is-unit{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.ulf-field-slider .ui-slider{position:relative;width:100%;height:3px;border:none;background:#ddd;border-radius:2px}.ulf-field-slider .ui-slider-range{height:3px;border:none;background:#333;border-radius:2px}.ulf-field-slider .ui-slider-handle{position:absolute;width:16px;height:16px;top:-7px;margin-left:-8px;border:none;background:#333;border-radius:2px}.ulf-field-slider .ui-slider-handle:hover,.ulf-field-slider .ui-state-active{cursor:pointer;background:#111}.ulf-field-sortable .ulf-field-text input{width:100%;max-width:100%}.ulf-field-sortable .ulf-sortable .ulf-sortable-item{display:table;width:100%;margin-bottom:5px;border:1px solid #eee}.ulf-field-sortable .ulf-sortable .ulf-sortable-item h4{font-size:1em}.ulf-field-sortable .ulf-sortable-content{width:100%;display:table-cell;vertical-align:middle;background-color:#fff}.ulf-field-sortable .ulf-sortable-content>.ulf-field{padding:15px}.ulf-field-sortable .ulf-sortable-helper{width:100%;display:table-cell;vertical-align:middle;text-align:center;font-size:14px;line-height:1em;border-left:1px solid #eee;background-color:#f7f7f7}.ulf-field-sortable .ulf-sortable-helper i{display:inline-block;cursor:pointer;width:50px;color:#555}.ulf-field-sortable .ulf-sortable-helper i:hover{opacity:.5}.ulf-field-sortable .widget-placeholder{height:50px;margin-bottom:3px;border:1px dashed #f1c40f;background-color:#fffae4}.ulf-field-sortable .ui-sortable-helper{height:50px!important;overflow:hidden!important;border-color:#ccc!important;background-color:#eee!important;opacity:.5}.ulf-field-sortable .ui-sortable-helper .ulf-sortable-content,.ulf-field-sortable .ui-sortable-helper .ulf-sortable-helper{display:none}.ulf-field-sorter .ui-sortable-placeholder{height:20px;border:1px dashed #f1c40f;background-color:#fffae4}.ulf-field-sorter .ulf-modules{float:left;width:50%;box-sizing:border-box}.ulf-field-sorter .ulf-modules:first-child{padding-right:15px}.ulf-field-sorter .ulf-modules:last-child{padding-left:15px}.ulf-field-sorter .ulf-disabled,.ulf-field-sorter .ulf-enabled{padding:5px 15px;border:1px dashed #ddd;background-color:#fff}.ulf-field-sorter .ulf-disabled li{opacity:.5;transition:opacity .15s}.ulf-field-sorter .ulf-disabled .ui-sortable-helper{opacity:1}.ulf-field-sorter .ulf-sorter-title{font-size:13px;font-weight:600;padding:10px;text-align:center;border:1px dashed #ddd;border-bottom:none;background-color:#f8f8f8;text-transform:uppercase}.ulf-field-sorter ul{list-style-type:none;margin:0;padding:0;min-height:62px}.ulf-field-sorter ul li{margin:10px 0;padding:10px 15px;cursor:move;font-weight:700;text-align:center;border:1px solid #e5e5e5;background-color:#fafafa;transition:border-color .15s}.ulf-field-sorter ul li:hover{border-color:#bbb}.ulf-field-spinner .ulf--spin{display:flex}.ulf-field-spinner .ui-widget{font-family:inherit}.ulf-field-spinner .ui-spinner{display:flex;align-items:stretch;overflow:unset;border:none;background:0 0;border-radius:0}.ulf-field-spinner .ui-spinner .ui-button{display:flex;flex-direction:column;justify-content:center;text-align:center;min-width:20px;padding:0 4px;margin:0;color:#555;background-color:#f5f5f5;border:1px solid #7e8993}.ulf-field-spinner .ui-spinner .ui-spinner-button{position:relative;cursor:pointer;height:auto}.ulf-field-spinner .ui-spinner .ui-spinner-button:hover{background-color:#e7e7e7}.ulf-field-spinner .ui-spinner .ui-spinner-button:active{background-color:#ddd}.ulf-field-spinner .ui-spinner .ui-spinner-button:before{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:14px;line-height:14px}.ulf-field-spinner .ui-spinner .ui-spinner-down{border-right:0;border-radius:4px 0 0 4px}.ulf-field-spinner .ui-spinner .ui-spinner-down:before{content:"\f0d9"}.ulf-field-spinner .ui-spinner .ui-spinner-up{border-left:0;border-radius:0 4px 4px 0}.ulf-field-spinner .ui-spinner .ui-spinner-up:before{content:"\f0da"}.ulf-field-spinner .ui-spinner .ulf--unit{border-left:0;user-select:none}.ulf-field-spinner .ui-spinner .ui-button-icon,.ulf-field-spinner .ui-spinner .ui-button-icon-space,.ulf-field-spinner .ui-spinner .ui-button-text{display:none}.ulf-field-spinner .ui-spinner input{font-family:inherit;font-size:inherit;position:relative;z-index:1;width:50px;text-align:center;margin:0;padding:0 8px;border-radius:0}.ulf-field-spinner .ui-spinner-down{order:1}.ulf-field-spinner .ui-spinner-input{order:2}.ulf-field-spinner .ulf--unit{order:3}.ulf-field-spinner .ui-spinner-up{order:4}.ulf-field-switcher .ulf--switcher{float:left;cursor:pointer;position:relative;width:60px;height:26px;padding:0;margin:0;overflow:hidden;border-radius:4px;background-color:#ed6f6f;user-select:none;-webkit-user-select:none}.ulf-field-switcher .ulf--ball{position:absolute;top:4px;left:4px;width:24px;height:18px;background-color:#fff;border-radius:4px;transition:all .1s;box-shadow:1px 1px 1px rgba(0,0,0,.15)}.ulf-field-switcher .ulf--off,.ulf-field-switcher .ulf--on{position:absolute;top:0;left:0;right:0;font-size:11px;line-height:26px;font-weight:500;font-style:normal;text-align:center;text-transform:uppercase;color:#fff;padding-right:28px;opacity:0;transition:all .1s}.ulf-field-switcher .ulf--off{padding-right:0;padding-left:28px;opacity:1}.ulf-field-switcher .ulf--active{background:#4fb845}.ulf-field-switcher .ulf--active .ulf--on{opacity:1}.ulf-field-switcher .ulf--active .ulf--off{opacity:0}.ulf-field-switcher .ulf--active .ulf--ball{left:100%;margin-left:-28px}.ulf-field-switcher .ulf--label{float:left;margin-top:4px;margin-left:8px;font-weight:400;color:#999}.ulf-field-tabbed .ulf-tabbed-content{border:1px solid #ccd0d4;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.ulf-field-tabbed .ulf-tabbed-content>.ulf-field{padding:15px}.ulf-field-tabbed .ulf-tabbed-nav .ulf--icon{padding-right:5px}.ulf-field-tabbed .ulf-tabbed-nav a{display:inline-block;padding:12px 15px;margin-top:1px;margin-right:5px;margin-bottom:-1px;position:relative;text-decoration:none;color:#444;font-weight:600;border:1px solid #ccd0d4;background-color:#f3f3f3;transition:all .2s}.ulf-field-tabbed .ulf-tabbed-nav a:hover{background-color:#f9f9f9}.ulf-field-tabbed .ulf-tabbed-nav a.ulf-tabbed-active{background-color:#fff;border-bottom-color:#fff}.ulf-field-tabbed .ulf-tabbed-nav a:focus{outline:0;box-shadow:none}.ulf-field-text input{width:50%;max-width:100%;margin:0}.ulf-field-textarea textarea{width:100%;max-width:100%;min-height:125px}.ulf-field-textarea .ulf-shortcode-button{margin-bottom:10px;margin-right:5px}.ulf-field-typography select,.ulf-field-typography textarea{margin:0;min-width:100%;max-width:100%}.ulf-field-typography .ulf--title{color:#777;margin:0 0 2px 0;font-size:12px}.ulf-field-typography .ulf--title small{vertical-align:top}.ulf-field-typography .ulf--blocks{display:flex;flex-wrap:wrap}.ulf-field-typography .ulf--block{flex:1;max-width:100%;padding-right:6px;padding-bottom:6px}.ulf-field-typography .ulf--input{margin:0;min-width:100%}.ulf-field-typography .ulf--input-wrap{position:relative}.ulf-field-typography .ulf--unit{position:absolute;z-index:1;right:4px;top:4px;bottom:4px;padding:2px 6px;color:#666;font-size:11px;line-height:1;border-radius:2px;background:#eee;user-select:none;display:flex;justify-content:center;flex-direction:column}.ulf-field-typography .ulf--preview{font-size:16px;line-height:20px;padding:20px;color:#222;border:1px solid #eee;background-color:#fff;border-radius:2.5px;user-select:none;-webkit-user-select:none;transition:background-color .2s,border-color .2s}.ulf-field-typography .ulf--block-preview{cursor:pointer;position:relative;overflow:hidden;margin-top:10px;max-width:100%}.ulf-field-typography .ulf--black-background{border-color:#000;background-color:#000}.ulf-field-typography .ulf--toggle{position:absolute;top:5px;right:10px;color:#999}.ulf-field-typography .ulf--block-extra-styles{margin-top:5px}.ulf-field-upload input{width:100%;margin:0}.ulf-field-upload .ulf--wrap{display:flex;align-items:flex-start}.ulf-field-upload .button{margin-left:5px}.ulf-field-upload .ulf--preview{position:relative}.ulf-field-wp_editor .ulf-wp-editor{float:left;width:100%}.ulf-field-wp_editor .mce-toolbar-grp{border:none}.ulf-field-wp_editor .mce-btn.mce-active button,.ulf-field-wp_editor .mce-btn.mce-active i,.ulf-field-wp_editor .mce-btn.mce-active:hover button,.ulf-field-wp_editor .mce-btn.mce-active:hover i{color:#23282d}.ulf-field-wp_editor .wp-media-buttons{position:relative;z-index:2}.ulf-field-wp_editor .wp-editor-tabs{position:relative;z-index:1}.ulf-field-wp_editor .ulf-no-tinymce{border:1px solid #e5e5e5}.ulf-field-wp_editor .ulf-no-quicktags .wp-media-buttons{float:none;display:block}.ulf-field-wp_editor .ulf-no-quicktags .mce-tinymce{box-shadow:none;border:1px solid #e5e5e5}.ulf-field-wp_editor textarea{width:100%;max-width:100%;margin:0;box-shadow:none}.ulf-field-heading{font-size:1.5em;font-weight:700;color:#23282d;background-color:#f5f5f5}.ulf-field-subheading{font-size:14px;font-weight:700;padding-top:17px;padding-bottom:17px;color:#23282d;background-color:#f7f7f7}.ulf-field-submessage{padding:0!important;border:0!important}.ulf-field-submessage+.ulf-field{border-top:0!important}.ulf-submessage{font-size:12px;padding:17px 30px;border-top:1px solid transparent;border-bottom:1px solid transparent}.ulf-submessage-success{color:#3c763d;border-color:#d6e9c6;background-color:#dff0d8}.ulf-submessage-info{color:#31708f;border-color:#bce8f1;background-color:#d9edf7}.ulf-submessage-warning{color:#8a6d3b;border-color:#faebcc;background-color:#fcf8e3}.ulf-submessage-danger{color:#a94442;border-color:#ebccd1;background-color:#f2dede}.ulf-submessage-normal{color:#23282d;border-color:#eee;background-color:#f7f7f7}.ulf-field-notice{background-color:#f7f7f7}.ulf-notice{padding:12px;background-color:#fff;border-left-style:solid;border-left-width:4px;box-shadow:0 1px 1px rgba(0,0,0,.1)}.ulf-notice-success{border-color:#46b450}.ulf-notice-info{border-color:#339fd4}.ulf-notice-warning{border-color:#ffbc00}.ulf-notice-danger{border-color:#dc3232}.ulf-notice-normal{border-color:#222}.ulf-field-number input{width:100%;margin:0}.ulf-field-number .ulf--wrap{position:relative;float:left;width:100px}.ulf-field-number .ulf--unit{position:absolute;z-index:1;right:4px;top:4px;bottom:4px;padding:2px 6px;color:#666;font-size:11px;line-height:1;border-radius:2px;background:#eee;user-select:none;display:flex;justify-content:center;flex-direction:column}.ulf-field-link .ulf--result{display:inline-block;font-size:12px;line-height:16px;padding:7px 10px;margin-bottom:7px;color:#777;border:1px solid #e5e5e5;background-color:#f5f5f5;border-radius:2px;world-break:break-word}.ulf-field-link .ulf--wrap{position:relative;float:left;width:100px}.ulf-field-link .ulf--unit{position:absolute;z-index:1;right:4px;top:4px;bottom:4px;padding:2px 6px;color:#666;font-size:11px;line-height:1;border-radius:2px;background:#eee;user-select:none;display:flex;justify-content:center;flex-direction:column}.ulf-help{cursor:help;position:absolute;top:0;right:0;padding:5px;font-size:13px;color:#aaa}.ulf-help .ulf-help-text{display:none}.ulf--preview{max-width:100%}.ulf-image-preview{display:inline-flex;align-items:center;justify-content:center;flex-direction:column;position:relative;padding:6px;max-width:120px;max-height:120px;min-width:40px;min-height:40px;margin-bottom:10px;text-align:center;border-radius:2px;border:1px solid #ccc;background-color:#f9f9f9;box-shadow:0 1px 0 rgba(0,0,0,.08)}.ulf-image-preview i{cursor:pointer;position:absolute;z-index:1;right:4px;top:4px;font-size:14px;width:22px;height:22px;line-height:22px;text-align:center;text-decoration:none;color:#fff;background-color:#d33;opacity:.75;border-radius:2px;transition:all .2s}.ulf-image-preview i:hover{opacity:1}.ulf-image-preview i:focus{box-shadow:none}.ulf-image-preview span{position:relative;overflow:hidden;display:flex;height:100%;width:100%}.ulf-image-preview img{max-width:100%;height:auto;object-fit:contain}.ulf-field-custom .ulf-field{padding:0}.ulf-field .chosen-container-single .chosen-single{height:28px;line-height:26px}.ulf-field .chosen-container-single .chosen-single abbr{top:0;right:20px;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:12px;height:100%;width:18px;color:#aaa;text-align:center;background:0 0}.ulf-field .chosen-container-single .chosen-single abbr:before{content:"\f00d"}.ulf-field .chosen-container-single .chosen-single abbr:hover{color:#555}.ulf-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:12px;height:100%;width:18px;color:#aaa;text-align:center;background:0 0}.ulf-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:before{content:"\f00d";display:inline-block;padding-top:3px}.ulf-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{color:#555}.ulf-field .chosen-container-single .chosen-single div b{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:14px;color:#aaa;background:0 0}.ulf-field .chosen-container-single .chosen-single div b:before{content:"\f107"}.ulf-field .chosen-container-single .chosen-single div b:hover{color:#555}.ulf-field .chosen-container-multi .chosen-choices li.search-choice-placeholder{border:1px dashed #aaa;margin:3px 5px 3px 0}.ulf-field .chosen-container-multi .ui-sortable li.search-choice span{cursor:move}.ulf-field .chosen-container-active.chosen-with-drop .chosen-single div b:before{content:"\f106"}.ulf-field .chosen-container-single .chosen-single-with-deselect span{margin-right:40px}.ulf-field .chosen-container-single .chosen-search input[type=text]{background:0 0}.ulf-field .chosen-container-single .chosen-search:before{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:11px;content:"\f002";position:absolute;right:12px;top:10px;color:#aaa}.ulf-field .wp-picker-container{display:inline-block}.ulf-field .wp-picker-container .wp-color-result.button{margin-bottom:0}.ulf-field .ulf--transparent-wrap{display:none;position:relative;top:-1px;width:235px;padding:9px 10px;border:1px solid #dfdfdf;border-top:none;background-color:#fff}.ulf-field .wp-picker-active .ulf--transparent-wrap{display:block}.ulf-field .ulf--transparent-slider{position:absolute;width:190px;margin-left:2px;height:18px}.ulf-field .ulf--transparent-slider .ui-slider-handle{position:absolute;top:-3px;bottom:-3px;z-index:5;border-color:#aaa;border-style:solid;border-width:4px 3px;width:10px;height:16px;margin:0 -5px;background:0 0;cursor:ew-resize;opacity:.9;border-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,.2)}.ulf-field .ulf--transparent-slider .ui-slider-handle:before{content:" ";position:absolute;left:-2px;right:-2px;top:-3px;bottom:-3px;border:2px solid #fff;border-radius:3px}.ulf-field .ulf--transparent-offset{height:18px;width:200px;background:url(../images/checkerboard.png) repeat-y center left scroll #fff;border-radius:2px;box-shadow:inset 0 0 5px rgba(0,0,0,.4)}.ulf-field .ulf--transparent-text{position:absolute;top:12px;right:10px;width:30px;font-size:12px;line-height:12px;text-align:center;color:#999}.ulf-field .ulf--transparent-button{cursor:pointer;user-select:none;margin-top:10px;font-size:11px;text-align:center;border-radius:2px;padding:3px 7px;box-shadow:0 1px 0 rgba(0,0,0,.1);letter-spacing:.2px;color:#777;border:1px solid #ccc;background-color:#f7f7f7;transition:background-color .2s,border-color .2s,color .2s}.ulf-field .ulf--transparent-active .wp-color-result{background-image:url(../images/checkerboard.png);background-size:135px;background-position:center left;background-color:transparent!important}.ulf-field .ulf--transparent-active .ulf--transparent-button{color:#fff;border-color:#3ea032;background-color:#4fb845}.ulf-field .ulf--transparent-active .fa:before{content:"\f205"}.ulf-widgets>.ulf-field{position:relative;top:-1px;margin-left:-15px;margin-right:-15px;padding:12px 15px}.ulf-widgets>.ulf-field .ulf-title{float:none;width:100%;margin-bottom:5px}.ulf-widgets>.ulf-field .ulf-fieldset{float:none;width:100%}.ulf-widgets .ulf-field-text input{width:100%}.ulf-widgets .ulf-field-notice .ulf-notice{padding:15px}.control-section .ulf-widgets>.ulf-field{margin-left:-10px;margin-right:-10px;padding:10px 12px}.wp-block .ulf-widgets{font-size:13px}.wp-block .ulf-widgets>.ulf-field{margin-left:-10px;margin-right:-10px}.wp-block .ulf-widgets>.ulf-field .button-primary{color:#fff}.wp-block .ulf-widgets>.ulf-field>.ulf-title>h4{font-size:13px}.control-section .ulf-field{padding:0}.control-section .ulf-field .ulf-title{float:none;width:100%;margin-bottom:6px}.control-section .ulf-field .ulf-title h4{display:block;font-size:13px;line-height:1;font-weight:600;color:inherit}.control-section .ulf-field .ulf-fieldset{float:none;width:100%}.control-section .ulf-help{top:-5px;right:-5px}.control-section .ulf-field-select select{width:100%}.control-section .ulf-field-heading{color:inherit;font-size:14px;line-height:1em;margin-right:-15px;margin-left:-15px;padding:15px}.control-section .ulf-field-subheading{color:inherit;font-size:11px;margin-right:-15px;margin-left:-15px;padding:10px 15px}.control-section .ulf-subtitle-text{margin-top:4px;font-size:12px}.control-section .ulf-field-submessage .ulf-submessage{margin-right:-15px;margin-left:-15px;padding:15px}.control-section .ulf-fieldset .ulf-field-heading,.control-section .ulf-fieldset .ulf-field-subheading,.control-section .ulf-fieldset .ulf-field-submessage .ulf-submessage{margin-left:0;margin-right:0}.control-section .ulf-field-date label,.control-section .ulf-field-datetime label{display:block}.control-section .ulf-field-date .ulf--to,.control-section .ulf-field-datetime .ulf--to{margin-top:4px;margin-left:0}.control-section .ulf-field-sorter ul li{padding:5px}.control-section .ulf-field-sorter .ulf-modules{float:none;width:100%}.control-section .ulf-field-sorter .ulf-modules:first-child{padding-right:0;padding-bottom:15px}.control-section .ulf-field-background .ulf--background-attributes{flex-direction:column}.control-section .ulf-field-spacing input{width:90px}.control-section .ulf-field-border .ulf--input{flex:1 50%}.control-section .ulf-field-border input,.control-section .ulf-field-border select{width:100%}.control-section .ulf-field-spinner input{width:50px}.control-section .ulf-field-number .ulf--wrap{width:100%}.control-section .ulf-field-backup .ulf-export-data{display:none}.control-section .ulf-field-fieldset .ulf-fieldset-content{border-color:#e5e5e5}.control-section .ulf-accordion-content>.ulf-field,.control-section .ulf-cloneable-content>.ulf-field,.control-section .ulf-fieldset-content>.ulf-field,.control-section .ulf-repeater-content>.ulf-field,.control-section .ulf-sortable-content>.ulf-field,.control-section .ulf-tabbed-content>.ulf-field{padding:10px}.control-section .ulf-accordion-content>.ulf-field .ulf-title,.control-section .ulf-cloneable-content>.ulf-field .ulf-title,.control-section .ulf-fieldset-content>.ulf-field .ulf-title,.control-section .ulf-repeater-content>.ulf-field .ulf-title,.control-section .ulf-sortable-content>.ulf-field .ulf-title,.control-section .ulf-tabbed-content>.ulf-field .ulf-title{margin-bottom:5px}.control-section .ulf-accordion-content>.ulf-field h4,.control-section .ulf-cloneable-content>.ulf-field h4,.control-section .ulf-fieldset-content>.ulf-field h4,.control-section .ulf-repeater-content>.ulf-field h4,.control-section .ulf-sortable-content>.ulf-field h4,.control-section .ulf-tabbed-content>.ulf-field h4{font-size:12px}.control-section .ulf-depend-hidden.ulf-depend-on{display:none!important}.control-section .ulf-depend-visible.ulf-depend-on{border-top:0!important}.ulf-taxonomy{max-width:95%}.ulf-taxonomy>.ulf-field{border-top:none!important}.ulf-taxonomy>.ulf-field-heading{font-size:1.1em;padding:20px!important;border:1px solid #ddd}.ulf-taxonomy>.ulf-field-subheading{font-size:12px;padding:15px!important;border:1px solid #ddd}.ulf-taxonomy>.ulf-field-submessage .ulf-submessage{padding:15px;border-left-width:1px;border-left-style:solid;border-right-width:1px;border-right-style:solid}.ulf-taxonomy>.ulf-field-notice{background-color:transparent}.ulf-taxonomy .ulf-section-title{display:block;padding:15px;background-color:#f9f9f9;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04)}.ulf-taxonomy-add-fields>.ulf-field{padding:8px 0}.ulf-taxonomy-add-fields>.ulf-field>.ulf-title{float:none;width:100%;padding:2px 2px 4px 0}.ulf-taxonomy-add-fields>.ulf-field>.ulf-title h4{font-size:12px;font-weight:400}.ulf-taxonomy-add-fields>.ulf-field>.ulf-fieldset{float:none;width:100%}.ulf-taxonomy-add-fields>.ulf-field>.ulf-fieldset>.ulf-help{right:-5px}.ulf-taxonomy-add-fields+p.submit{margin-top:0}.ulf-taxonomy-edit-fields>.ulf-field{padding:20px 0}.ulf-taxonomy-edit-fields>.ulf-field>.ulf-title{width:200px}.ulf-taxonomy-edit-fields>.ulf-field>.ulf-title h4{font-size:14px;font-weight:600;line-height:1.3;display:inline-block;vertical-align:middle}.ulf-taxonomy-edit-fields>.ulf-field>.ulf-fieldset{width:calc(100% - 220px)}.ulf-taxonomy-edit-fields>.ulf-field>.ulf-fieldset>.ulf-help{top:-5px;right:-5px}.ulf-taxonomy-edit-fields>.ulf-field-submessage{margin:20px 0}.ulf-taxonomy-edit-fields>.ulf-field-heading,.ulf-taxonomy-edit-fields>.ulf-field-subheading{margin:20px 0;border:1px solid #ddd}.ulf-nav-menu-options{clear:both;float:left;width:100%}.ulf-nav-menu-options>.ulf-fields{margin-left:-10px;margin-top:10px;margin-bottom:10px;border-top:1px solid #eee;border-bottom:1px solid #eee}.ulf-nav-menu-options>.ulf-fields>.ulf-field{padding:12px 14px 12px 12px}.ulf-nav-menu-options>.ulf-fields>.ulf-field .ulf-title{float:none;width:100%;margin-bottom:5px}.ulf-nav-menu-options>.ulf-fields>.ulf-field .ulf-fieldset{float:none;width:100%}.ulf-nav-menu-options .ulf-field-text input{width:100%}.ulf-nav-menu-options .ulf-field-notice .ulf-notice{padding:15px}.ulf-nav-menu-title{padding:12px 14px 12px 12px;background-color:#f5f5f5;border-top:1px solid #eee;border-bottom:1px solid #eee}.ulf-nav-menu-title:first-child{border-top:0}.ulf-nav-menu-title h4{margin:0;padding:0;color:#23282d}.ulf-nav-menu-icon{margin-right:5px}.ulf-profile-options>h2>.fa{padding-right:7px}.ulf-profile-options>.ulf-field{max-width:750px;padding:15px 0;border-top:none!important}.ulf-profile-options>.ulf-field>.ulf-title{width:200px}.ulf-profile-options>.ulf-field>.ulf-title h4{font-size:14px;font-weight:600;line-height:1.3;display:inline-block;vertical-align:middle}.ulf-profile-options>.ulf-field>.ulf-fieldset{width:calc(100% - 220px)}.ulf-profile-options>.ulf-field>.ulf-fieldset>.ulf-help{top:-15px;right:-5px}.ulf-profile-options>.ulf-field-heading{font-size:1.1em}.ulf-profile-options>.ulf-field-subheading{font-size:12px}.ulf-profile-options>.ulf-field-heading,.ulf-profile-options>.ulf-field-subheading{margin:10px 0;padding:15px!important;border:1px solid #ddd}.ulf-profile-options>.ulf-field-submessage{margin:20px 0}.ulf-profile-options>.ulf-field-submessage .ulf-submessage{padding:10px;border-left-width:1px;border-left-style:solid;border-right-width:1px;border-right-style:solid}.ulf-profile-options>.ulf-field-notice{background-color:transparent}.ulf-modal{position:fixed;z-index:100101;top:0;left:0;width:100%;height:100%}.ulf-modal.hidden{display:none}.ulf-modal-icon{z-index:100102}.ulf-modal-table{display:table;width:100%;height:100%}.ulf-modal-table-cell{display:table-cell;vertical-align:middle;margin:100px 0}.ulf-modal-inner{position:relative;z-index:10;width:760px;height:750px;margin:0 auto;background-color:#fff}.ulf-modal-content{position:relative;overflow:hidden;overflow-y:auto;height:595px}.ulf-modal-content .ulf-shortcode-button{display:none}.ulf-modal-content .ulf-field{padding:15px 30px 15px 15px}.ulf-modal-content a:active,.ulf-modal-content a:focus{outline:0;box-shadow:none}.ulf-modal-content h4{font-size:13px}.ulf-modal-content h4 small{font-style:italic;font-weight:400;color:#aaa}.ulf-modal-title{position:relative;background-color:#fcfcfc;border-bottom:1px solid #ddd;height:36px;font-size:16px;font-weight:600;line-height:36px;margin:0;padding:0 36px 0 16px}.ulf-modal-header{width:100%;padding:14px 0;background-color:#f5f5f5;border-bottom:1px solid #ddd}.ulf-modal-header select{display:block;width:250px;margin:0 auto;font-size:13px;line-height:1;height:30px;min-height:30px;background-color:#fff}.ulf-modal-close{color:#666;padding:0;position:absolute;top:0;right:0;width:36px;height:36px;text-align:center;background:0 0;border:none;cursor:pointer}.ulf-modal-close:before{font:normal 20px/36px dashicons;content:"\f158";vertical-align:top;width:36px;height:36px}.ulf-modal-close:hover{opacity:.5}.ulf-modal-insert-wrapper{text-align:center;width:100%;padding:15px 0;background-color:#f5f5f5;border-top:1px solid #ddd}.ulf-modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#000;opacity:.5}.ulf--repeatable{padding:15px 15px 0 15px}.ulf--repeat-button-block{text-align:center;padding-bottom:15px}.ulf--repeat-shortcode{position:relative;margin-bottom:15px;border:1px dashed #ddd}.ulf--repeat-shortcode:first-child .ulf-repeat-remove{display:none}.ulf--repeat-shortcode .ulf-repeat-remove{position:absolute;right:10px;top:10px;z-index:10;cursor:pointer;display:inline-block;font-size:11px;width:18px;height:18px;line-height:18px;text-align:center;border-radius:2px;color:#fff;background-color:#e14d43;opacity:.5}.ulf--repeat-shortcode .ulf-repeat-remove:hover{opacity:.5}.ulf-shortcode-single .ulf-modal-inner{height:750px}.ulf-shortcode-single .ulf-modal-content{height:652px}.elementor-editor-active .ulf-shortcode-button{margin-left:5px}.elementor-editor-active .ulf-modal .hidden{display:none!important}.ulf-shortcode-block{text-align:center;padding:14px;font-size:13px;background-color:#f5f5f5;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}.ulf-shortcode-block .components-button{margin-bottom:10px}.ulf-modal-icon .ulf-icon-title{padding:15px 0;margin:4px;font-size:14px;font-weight:700;text-align:center;border:1px solid #eee;background-color:#f7f7f7}.ulf-modal-icon .ulf-modal-header{text-align:center}.ulf-modal-icon .ulf-icon-search{width:50%;height:40px;line-height:40px}.ulf-modal-icon i{cursor:pointer;display:inline-block;margin:4px;width:35px;height:35px;line-height:35px;font-size:16px;color:#555;text-align:center;border:1px solid #ccc;background-color:#f7f7f7;border-radius:2px;box-shadow:1px 1px 0 rgba(0,0,0,.05)}.ulf-modal-icon i:hover{color:#fff;border-color:#222;background-color:#222}.ulf-modal-icon .ulf-modal-content{padding:10px;height:618px}.ulf-modal-icon .ulf-error-text{padding:10px}.ulf-modal-loading{display:none;position:absolute;left:15px;top:15px}.ulf-loading{position:relative;width:20px;height:20px;background:#ccc;border-radius:20px;box-shadow:0 2px 5px rgba(0,0,0,.07)}.ulf-loading:after{position:absolute;top:50%;left:50%;width:4px;height:4px;content:"";margin-top:-2px;margin-left:-2px;background-color:#fff;animation-duration:.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:ulfLoader;border-radius:4px}@keyframes ulfLoader{0%{transform:rotate(0) translateX(-6px) rotate(0)}100%{transform:rotate(360deg) translateX(-6px) rotate(-360deg)}}.ulf-subtitle-text{margin-top:6px;font-weight:400;color:#999}.ulf-desc-text{clear:both;float:left;width:100%;margin-top:6px;font-weight:400;color:#999}.ulf-error-text{margin-top:6px;color:#d02c21}.ulf-before-text{margin-bottom:6px}.ulf-after-text{margin-top:6px}.ulf-metabox-hide{display:none!important}.ulf-metabox-show{display:block!important}.ulf-depend-hidden.ulf-depend-on{display:none}.ulf-depend-visible.ulf-depend-on{display:block;opacity:.75;filter:grayscale(1);user-select:none;border-top:1px solid #eee}.ulf-depend-visible.ulf-depend-on .clear:before{content:"";left:0;top:0;right:0;bottom:0;position:absolute;background-color:#eee;opacity:.25;z-index:10}.ulf-warning-primary{color:#fff!important;border-color:#dc3545!important;background:#dc3545!important}.ulf-warning-primary:focus,.ulf-warning-primary:hover{border-color:#bd2130!important;background:#bd2130!important}.ulf-warning-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #bd2130!important}.ulf-warning-primary:active{border-color:#bd2130!important;background:#bd2130!important}.ulf-form-result{display:none;float:left;padding:0 8px;margin-right:4px;font-size:11px;line-height:30px;user-select:none;border-radius:2px}.ulf-form-show{display:block}.ulf-form-success{color:#fff;background-color:#46b450}.ulf-form-warning{color:#8a6d3b;background-color:#faebcc}.ulf-label-error{position:relative;top:-2px;display:inline-block;font-size:10px;line-height:10px;height:10px;width:10px;padding:1px;font-style:normal;text-align:center;color:#fff;vertical-align:middle;background-color:#e10000;border-radius:2px}.ulf-no-option{padding:30px}.ulf-input-number{-moz-appearance:textfield}.ulf-input-number::-webkit-inner-spin-button,.ulf-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ulf-fa5-shims .ulf .fab,.ulf-fa5-shims .ulf .far,.ulf-fa5-shims .ulf .fas{font-family:FontAwesome;font-style:normal}.ulf-welcome-wrap{position:relative;margin:25px 40px 0 20px;font-size:15px;max-width:1200px}.ulf-welcome-wrap p{font-size:14px;line-height:1.5}.ulf-welcome-wrap h1{margin:.2em 200px 0 0;padding:0;color:#32373c;line-height:1.2em;font-size:2.8em;font-weight:400}.ulf-welcome-wrap .ulf-logo{position:absolute;overflow:hidden;top:0;right:0;height:160px;width:140px;background-image:linear-gradient(45deg,#2d67cb,#ad19f3);box-shadow:0 1px 4px rgba(0,0,0,.25),inset 0 0 0 4px rgba(0,0,0,.25)}.ulf-welcome-wrap .ulf-logo .ulf--effects i{position:absolute;width:200px;height:100px;background-color:rgba(0,0,0,.15);transform:rotate(-45deg)}.ulf-welcome-wrap .ulf-logo .ulf--effects i:nth-child(1){bottom:-20px;right:-70px}.ulf-welcome-wrap .ulf-logo .ulf--effects i:nth-child(2){bottom:-35px;right:-80px}.ulf-welcome-wrap .ulf-logo .ulf--effects i:nth-child(3){bottom:-50px;right:-90px}.ulf-welcome-wrap .ulf-logo .ulf--effects i:nth-child(4){bottom:-65px;right:-100px}.ulf-welcome-wrap .ulf-logo .ulf--wp-logos{position:relative;padding-top:25px;text-align:center}.ulf-welcome-wrap .ulf-logo .ulf--wp-logo{position:absolute;left:20px;width:20px;height:20px;background-repeat:no-repeat;background-position:center center;background-image:url(../images/wp-logo.svg)}.ulf-welcome-wrap .ulf-logo .ulf--wp-plugin-logo{display:inline-block;width:50px;height:50px;border:3px solid #fff;background-size:40px;background-repeat:no-repeat;background-position:center center;background-image:url(../images/wp-plugin-logo.svg);border-radius:100%;vertical-align:middle}.ulf-welcome-wrap .ulf-logo .ulf--text{position:absolute;left:0;right:0;top:90px;color:#fff;font-size:13px;line-height:1.2em;font-weight:600;text-align:center;text-transform:uppercase;text-shadow:1px 1px 0 rgba(0,0,0,.25)}.ulf-welcome-wrap .ulf-logo .ulf--version{top:auto;left:auto;right:8px;bottom:4px;font-size:11px;text-transform:lowercase}.ulf-welcome-wrap .ulf-about-text{font-weight:400;line-height:1.6em;font-size:19px;margin:1em 200px 1em 0;color:#555d66}.ulf-welcome-wrap .ulf-demo-button{margin:1em 200px 2em 0}.ulf-welcome-wrap .nav-tab-wrapper{margin-bottom:20px}.ulf-welcome-wrap ul{list-style-type:disc;padding-left:15px}.ulf-welcome-wrap .ulf--col{float:left;padding-right:20px;box-sizing:border-box}.ulf-welcome-wrap .ulf--col-2{width:50%}.ulf-welcome-wrap .ulf--col-3{width:33.333%}.ulf-welcome-wrap .ulf--col-4{width:25%}.ulf-welcome-wrap .ulf--col-5{width:20%}.ulf-welcome-wrap .ulf--col-last{padding-right:0}.ulf-welcome-wrap .ulf--col-upgrade{padding:10px 0;text-align:center;border-top:1px solid #e5e5e5}.ulf--table-compare tfoot td,.ulf--table-compare thead td{text-align:center}.ulf--table-compare td{font-size:14px;text-align:center;vertical-align:middle;padding:10px}.ulf--table-compare td:first-child{text-align:left}.ulf--table-compare tfoot td{padding:15px 0}.ulf--table-compare .fa{font-size:18px}.ulf--table-compare .fa-check-circle{color:#46b450}.ulf--table-compare .fa-times-circle{color:#dc3232}.ulf-welcome-cols{clear:both;margin:20px 0;background-color:#fff;padding:0 0;border-radius:2px;border:1px solid #e5e5e5}.ulf-welcome-cols .ulf--col{width:33.333%;float:left;padding:20px;text-align:center;box-sizing:border-box;min-height:200px;border-right:1px solid #e5e5e5}.ulf-welcome-cols .ulf--block,.ulf-welcome-cols .ulf--left{float:left;width:20%;padding:0 30px;text-align:center;box-sizing:border-box}.ulf-welcome-cols .ulf--block{width:80%}.ulf-welcome-cols .ulf--col-first{border-bottom:1px solid #e5e5e5}.ulf-welcome-cols .ulf--last{border-right:none}.ulf-welcome-cols .ulf--space{height:20px}.ulf-welcome-cols .ulf--icon{display:inline-block;font-size:20px;width:30px;height:30px;line-height:30px;text-align:center;margin-bottom:10px;color:#fff;background-color:#555;border-radius:30px}.ulf-welcome-cols .ulf--active{background-color:#5cb85c}.ulf-welcome-cols .ulf--deactive{background-color:#e14d43}.ulf-welcome-cols .ulf--title{font-weight:700;display:block}.ulf-welcome-cols p:last-child{margin-bottom:0}.ulf-features-cols .ulf--key-features{width:30%}.ulf-features-cols .ulf--available-fields{width:70%}.ulf-code-block{margin:20px 0;padding:5px 20px;background-color:#fff;border-radius:2px;box-shadow:0 1px 1px rgba(0,0,0,.15)}.ulf-code-block pre{font-size:13px;color:#0073aa}.ulf-code-block pre span{color:#999}.ulf--table-fields td{font-size:14px}.ulf--upgrade a{color:#5cb85c;font-weight:700}.ulf--upgrade a:focus,.ulf--upgrade a:hover{color:#4aa14a;outline:0;box-shadow:none}@media only screen and (max-width:782px){.ulf-welcome-cols .ulf--col{width:100%;min-height:auto;border-right:none;border-bottom:1px solid #e5e5e5}.ulf-features-cols .ulf--key-features{width:100%}.ulf-features-cols .ulf--available-fields{width:100%}}@media only screen and (max-width:1200px){.ulf-metabox .ulf-field .ulf-title{float:none;width:100%;margin-bottom:10px}.ulf-metabox .ulf-field .ulf-fieldset{float:none;width:100%}}@media only screen and (max-width:782px){.ulf-header-inner{text-align:center}.ulf-header-inner h1{width:100%;margin-bottom:10px}.ulf-form-result{float:none;margin-right:0;margin-bottom:10px}.ulf-header-left,.ulf-header-right,.ulf-search{width:100%}.ulf-search{text-align:center;margin-bottom:15px}.ulf-footer{text-align:center}.ulf-buttons{float:none}.ulf-copyright{float:none;margin-top:10px}.ulf-expand-all,.ulf-nav,.ulf-nav-background,.ulf-reset-section{display:none!important}.ulf-nav-normal+.ulf-content{margin-left:0}.ulf-section,.ulf-section-title{display:block!important}.ulf-field .ulf-title{float:none;width:100%;margin-bottom:10px}.ulf-field .ulf-fieldset{float:none;width:100%}.ulf-field-color .button.wp-picker-clear{padding:0 8px;line-height:2.14285714;min-height:32px}.ulf-profile-options>.ulf-field>.ulf-title,.ulf-taxonomy-edit-fields>.ulf-field>.ulf-title{float:none;width:100%;margin-bottom:10px}.ulf-profile-options>.ulf-field>.ulf-fieldset,.ulf-taxonomy-edit-fields>.ulf-field>.ulf-fieldset{float:none;width:100%}.ulf-nav-menu-options>.ulf-fields{margin-left:-10px;margin-right:-10px}.ulf-nav-menu-options>.ulf-fields>.ulf-field{padding:10px}}@media only screen and (max-width:782px){.ulf-modal .ulf-modal-inner{width:90%}}@media only screen and (max-height:750px){.ulf-modal .ulf-modal-inner{height:auto}.ulf-modal .ulf-modal-content{height:calc(100vh - 200px)}}.chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:13px;user-select:none}.chosen-container *{box-sizing:border-box}.chosen-container .chosen-drop{position:absolute;top:100%;z-index:1010;width:100%;border:1px solid #aaa;border-top:0;background:#fff;box-shadow:0 4px 5px rgba(0,0,0,.15);clip:rect(0,0,0,0);clip-path:inset(100% 100%)}.chosen-container.chosen-with-drop .chosen-drop{clip:auto;clip-path:none}.chosen-container a{cursor:pointer}.chosen-container .chosen-single .group-name,.chosen-container .search-choice .group-name{margin-right:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:400;color:#999}.chosen-container .chosen-single .group-name:after,.chosen-container .search-choice .group-name:after{content:":";padding-left:2px;vertical-align:top}.chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:25px;border:1px solid #aaa;border-radius:5px;background-color:#fff;background:linear-gradient(#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-clip:padding-box;box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);color:#444;text-decoration:none;white-space:nowrap;line-height:24px}.chosen-container-single .chosen-default{color:#999}.chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.chosen-container-single .chosen-single abbr{position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;font-size:1px}.chosen-container-single .chosen-single div{position:absolute;top:0;right:0;display:block;width:18px;height:100%}.chosen-container-single .chosen-single div b{display:block;width:100%;height:100%}.chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.chosen-container-single .chosen-search input[type=text]{margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #aaa;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 4px 4px;background-clip:padding-box}.chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;clip:rect(0,0,0,0);clip-path:inset(100% 100%)}.chosen-container .chosen-results{color:#444;position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;word-wrap:break-word;-webkit-touch-callout:none}.chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.chosen-container .chosen-results li.highlighted{background-color:#3875d7;background-image:linear-gradient(#3875d7 20%,#2a62bc 90%);color:#fff}.chosen-container .chosen-results li.no-results{color:#777;display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:700;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.chosen-container-multi .chosen-choices{position:relative;overflow:hidden;margin:0;padding:0 5px;width:100%;height:auto;border:1px solid #aaa;background-color:#fff;background-image:linear-gradient(#eee 1%,#fff 15%);cursor:text}.chosen-container-multi .chosen-choices li{float:left;list-style:none}.chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-field input[type=text]{margin:1px 0;padding:0;outline:0;border:0!important;background:0 0!important;box-shadow:none;color:#999;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0;width:25px;height:25px;min-height:25px}.chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 5px 3px 0;padding:3px 20px 3px 6px;border:1px solid #aaa;max-width:100%;border-radius:3px;background-color:#eee;background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-size:100% 19px;background-repeat:repeat-x;background-clip:padding-box;box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);color:#333;line-height:13px;cursor:default}.chosen-container-multi .chosen-choices li.search-choice span{word-wrap:break-word;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:0;right:0;display:block;width:12px;height:12px;font-size:1px}.chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);color:#666}.chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.chosen-container-active .chosen-single{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #aaa;border-bottom-right-radius:0;border-bottom-left-radius:0;background-image:linear-gradient(#eee 20%,#fff 80%);box-shadow:0 1px 0 #fff inset}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:none;background:0 0}.chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#222!important}.chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.chosen-rtl{text-align:right}.chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.chosen-rtl .chosen-single div{right:auto;left:3px}.chosen-rtl .chosen-single abbr{right:auto;left:26px}.chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type=text]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:none}.chosen-rtl .chosen-search input[type=text]{padding:4px 5px 4px 20px;direction:rtl}.flatpickr-calendar{background:0 0;opacity:0;display:none;text-align:center;visibility:hidden;padding:0;-webkit-animation:none;animation:none;direction:ltr;border:0;font-size:14px;line-height:24px;border-radius:5px;position:absolute;width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-touch-action:manipulation;touch-action:manipulation;background:#fff;-webkit-box-shadow:1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,.08);box-shadow:1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,.08)}.flatpickr-calendar.inline,.flatpickr-calendar.open{opacity:1;max-height:640px;visibility:visible}.flatpickr-calendar.open{display:inline-block;z-index:99999}.flatpickr-calendar.animate.open{-webkit-animation:fpFadeInDown .3s cubic-bezier(.23,1,.32,1);animation:fpFadeInDown .3s cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.inline{display:block;position:relative;top:2px}.flatpickr-calendar.static{position:absolute;top:calc(100% + 2px)}.flatpickr-calendar.static.open{z-index:999;display:block}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7){-webkit-box-shadow:none!important;box-shadow:none!important}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1){-webkit-box-shadow:-2px 0 0 #e6e6e6,5px 0 0 #e6e6e6;box-shadow:-2px 0 0 #e6e6e6,5px 0 0 #e6e6e6}.flatpickr-calendar .hasTime .dayContainer,.flatpickr-calendar .hasWeeks .dayContainer{border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.flatpickr-calendar .hasWeeks .dayContainer{border-left:0}.flatpickr-calendar.hasTime .flatpickr-time{height:40px;border-top:1px solid #e6e6e6}.flatpickr-calendar.noCalendar.hasTime .flatpickr-time{height:auto}.flatpickr-calendar:after,.flatpickr-calendar:before{position:absolute;display:block;pointer-events:none;border:solid transparent;content:'';height:0;width:0;left:22px}.flatpickr-calendar.arrowRight:after,.flatpickr-calendar.arrowRight:before,.flatpickr-calendar.rightMost:after,.flatpickr-calendar.rightMost:before{left:auto;right:22px}.flatpickr-calendar.arrowCenter:after,.flatpickr-calendar.arrowCenter:before{left:50%;right:50%}.flatpickr-calendar:before{border-width:5px;margin:0 -5px}.flatpickr-calendar:after{border-width:4px;margin:0 -4px}.flatpickr-calendar.arrowTop:after,.flatpickr-calendar.arrowTop:before{bottom:100%}.flatpickr-calendar.arrowTop:before{border-bottom-color:#e6e6e6}.flatpickr-calendar.arrowTop:after{border-bottom-color:#fff}.flatpickr-calendar.arrowBottom:after,.flatpickr-calendar.arrowBottom:before{top:100%}.flatpickr-calendar.arrowBottom:before{border-top-color:#e6e6e6}.flatpickr-calendar.arrowBottom:after{border-top-color:#fff}.flatpickr-calendar:focus{outline:0}.flatpickr-wrapper{position:relative;display:inline-block}.flatpickr-months{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.flatpickr-months .flatpickr-month{background:0 0;color:rgba(0,0,0,.9);fill:rgba(0,0,0,.9);height:34px;line-height:1;text-align:center;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.flatpickr-months .flatpickr-next-month,.flatpickr-months .flatpickr-prev-month{text-decoration:none;cursor:pointer;position:absolute;top:0;height:34px;padding:10px;z-index:3;color:rgba(0,0,0,.9);fill:rgba(0,0,0,.9)}.flatpickr-months .flatpickr-next-month.flatpickr-disabled,.flatpickr-months .flatpickr-prev-month.flatpickr-disabled{display:none}.flatpickr-months .flatpickr-next-month i,.flatpickr-months .flatpickr-prev-month i{position:relative}.flatpickr-months .flatpickr-next-month.flatpickr-prev-month,.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month{left:0}.flatpickr-months .flatpickr-next-month.flatpickr-next-month,.flatpickr-months .flatpickr-prev-month.flatpickr-next-month{right:0}.flatpickr-months .flatpickr-next-month:hover,.flatpickr-months .flatpickr-prev-month:hover{color:#959ea9}.flatpickr-months .flatpickr-next-month:hover svg,.flatpickr-months .flatpickr-prev-month:hover svg{fill:#f64747}.flatpickr-months .flatpickr-next-month svg,.flatpickr-months .flatpickr-prev-month svg{width:14px;height:14px}.flatpickr-months .flatpickr-next-month svg path,.flatpickr-months .flatpickr-prev-month svg path{-webkit-transition:fill .1s;transition:fill .1s;fill:inherit}.numInputWrapper{position:relative;height:auto}.numInputWrapper input,.numInputWrapper span{display:inline-block}.numInputWrapper input{width:100%}.numInputWrapper input::-ms-clear{display:none}.numInputWrapper input::-webkit-inner-spin-button,.numInputWrapper input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.numInputWrapper span{position:absolute;right:0;width:14px;padding:0 4px 0 2px;height:50%;line-height:50%;opacity:0;cursor:pointer;border:1px solid rgba(57,57,57,.15);-webkit-box-sizing:border-box;box-sizing:border-box}.numInputWrapper span:hover{background:rgba(0,0,0,.1)}.numInputWrapper span:active{background:rgba(0,0,0,.2)}.numInputWrapper span:after{display:block;content:"";position:absolute}.numInputWrapper span.arrowUp{top:0;border-bottom:0}.numInputWrapper span.arrowUp:after{border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:4px solid rgba(57,57,57,.6);top:26%}.numInputWrapper span.arrowDown{top:50%}.numInputWrapper span.arrowDown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid rgba(57,57,57,.6);top:40%}.numInputWrapper span svg{width:inherit;height:auto}.numInputWrapper span svg path{fill:rgba(0,0,0,.5)}.numInputWrapper:hover{background:rgba(0,0,0,.05)}.numInputWrapper:hover span{opacity:1}.flatpickr-current-month{font-size:135%;line-height:inherit;font-weight:300;color:inherit;position:absolute;width:75%;left:12.5%;padding:7.48px 0 0 0;line-height:1;height:34px;display:inline-block;text-align:center;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.flatpickr-current-month span.cur-month{font-family:inherit;font-weight:700;color:inherit;display:inline-block;margin-left:.5ch;padding:0}.flatpickr-current-month span.cur-month:hover{background:rgba(0,0,0,.05)}.flatpickr-current-month .numInputWrapper{width:6ch;display:inline-block}.flatpickr-current-month .numInputWrapper span.arrowUp:after{border-bottom-color:rgba(0,0,0,.9)}.flatpickr-current-month .numInputWrapper span.arrowDown:after{border-top-color:rgba(0,0,0,.9)}.flatpickr-current-month input.cur-year{background:0 0;-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;cursor:text;padding:0 0 0 .5ch;margin:0;display:inline-block;font-size:inherit;font-family:inherit;font-weight:300;line-height:inherit;height:auto;border:0;border-radius:0;vertical-align:initial;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.flatpickr-current-month input.cur-year:focus{outline:0}.flatpickr-current-month input.cur-year[disabled],.flatpickr-current-month input.cur-year[disabled]:hover{font-size:100%;color:rgba(0,0,0,.5);background:0 0;pointer-events:none}.flatpickr-current-month .flatpickr-monthDropdown-months{appearance:menulist;background:0 0;border:none;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;font-size:inherit;font-family:inherit;font-weight:300;height:auto;line-height:inherit;margin:-1px 0 0 0;outline:0;padding:0 0 0 .5ch;position:relative;vertical-align:initial;-webkit-box-sizing:border-box;-webkit-appearance:menulist;-moz-appearance:menulist;width:auto}.flatpickr-current-month .flatpickr-monthDropdown-months:active,.flatpickr-current-month .flatpickr-monthDropdown-months:focus{outline:0}.flatpickr-current-month .flatpickr-monthDropdown-months:hover{background:rgba(0,0,0,.05)}.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month{background-color:transparent;outline:0;padding:0}.flatpickr-weekdays{background:0 0;text-align:center;overflow:hidden;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:28px}.flatpickr-weekdays .flatpickr-weekdaycontainer{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}span.flatpickr-weekday{cursor:default;font-size:90%;background:0 0;color:rgba(0,0,0,.54);line-height:1;margin:0;text-align:center;display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-weight:bolder}.dayContainer,.flatpickr-weeks{padding:1px 0 0 0}.flatpickr-days{position:relative;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;width:307.875px}.flatpickr-days:focus{outline:0}.dayContainer{padding:0;outline:0;text-align:left;width:307.875px;min-width:307.875px;max-width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;display:-ms-flexbox;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-wrap:wrap;-ms-flex-pack:justify;-webkit-justify-content:space-around;justify-content:space-around;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1}.dayContainer+.dayContainer{-webkit-box-shadow:-1px 0 0 #e6e6e6;box-shadow:-1px 0 0 #e6e6e6}.flatpickr-day{background:0 0;border:1px solid transparent;border-radius:150px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#393939;cursor:pointer;font-weight:400;width:14.2857143%;-webkit-flex-basis:14.2857143%;-ms-flex-preferred-size:14.2857143%;flex-basis:14.2857143%;max-width:39px;height:39px;line-height:39px;margin:0;display:inline-block;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center}.flatpickr-day.inRange,.flatpickr-day.nextMonthDay.inRange,.flatpickr-day.nextMonthDay.today.inRange,.flatpickr-day.nextMonthDay:focus,.flatpickr-day.nextMonthDay:hover,.flatpickr-day.prevMonthDay.inRange,.flatpickr-day.prevMonthDay.today.inRange,.flatpickr-day.prevMonthDay:focus,.flatpickr-day.prevMonthDay:hover,.flatpickr-day.today.inRange,.flatpickr-day:focus,.flatpickr-day:hover{cursor:pointer;outline:0;background:#e6e6e6;border-color:#e6e6e6}.flatpickr-day.today{border-color:#959ea9}.flatpickr-day.today:focus,.flatpickr-day.today:hover{border-color:#959ea9;background:#959ea9;color:#fff}.flatpickr-day.endRange,.flatpickr-day.endRange.inRange,.flatpickr-day.endRange.nextMonthDay,.flatpickr-day.endRange.prevMonthDay,.flatpickr-day.endRange:focus,.flatpickr-day.endRange:hover,.flatpickr-day.selected,.flatpickr-day.selected.inRange,.flatpickr-day.selected.nextMonthDay,.flatpickr-day.selected.prevMonthDay,.flatpickr-day.selected:focus,.flatpickr-day.selected:hover,.flatpickr-day.startRange,.flatpickr-day.startRange.inRange,.flatpickr-day.startRange.nextMonthDay,.flatpickr-day.startRange.prevMonthDay,.flatpickr-day.startRange:focus,.flatpickr-day.startRange:hover{background:#569ff7;-webkit-box-shadow:none;box-shadow:none;color:#fff;border-color:#569ff7}.flatpickr-day.endRange.startRange,.flatpickr-day.selected.startRange,.flatpickr-day.startRange.startRange{border-radius:50px 0 0 50px}.flatpickr-day.endRange.endRange,.flatpickr-day.selected.endRange,.flatpickr-day.startRange.endRange{border-radius:0 50px 50px 0}.flatpickr-day.endRange.startRange+.endRange:not(:nth-child(7n+1)),.flatpickr-day.selected.startRange+.endRange:not(:nth-child(7n+1)),.flatpickr-day.startRange.startRange+.endRange:not(:nth-child(7n+1)){-webkit-box-shadow:-10px 0 0 #569ff7;box-shadow:-10px 0 0 #569ff7}.flatpickr-day.endRange.startRange.endRange,.flatpickr-day.selected.startRange.endRange,.flatpickr-day.startRange.startRange.endRange{border-radius:50px}.flatpickr-day.inRange{border-radius:0;-webkit-box-shadow:-5px 0 0 #e6e6e6,5px 0 0 #e6e6e6;box-shadow:-5px 0 0 #e6e6e6,5px 0 0 #e6e6e6}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover,.flatpickr-day.nextMonthDay,.flatpickr-day.notAllowed,.flatpickr-day.notAllowed.nextMonthDay,.flatpickr-day.notAllowed.prevMonthDay,.flatpickr-day.prevMonthDay{color:rgba(57,57,57,.3);background:0 0;border-color:transparent;cursor:default}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover{cursor:not-allowed;color:rgba(57,57,57,.1)}.flatpickr-day.week.selected{border-radius:0;-webkit-box-shadow:-5px 0 0 #569ff7,5px 0 0 #569ff7;box-shadow:-5px 0 0 #569ff7,5px 0 0 #569ff7}.flatpickr-day.hidden{visibility:hidden}.rangeMode .flatpickr-day{margin-top:1px}.flatpickr-weekwrapper{float:left}.flatpickr-weekwrapper .flatpickr-weeks{padding:0 12px;-webkit-box-shadow:1px 0 0 #e6e6e6;box-shadow:1px 0 0 #e6e6e6}.flatpickr-weekwrapper .flatpickr-weekday{float:none;width:100%;line-height:28px}.flatpickr-weekwrapper span.flatpickr-day,.flatpickr-weekwrapper span.flatpickr-day:hover{display:block;width:100%;max-width:none;color:rgba(57,57,57,.3);background:0 0;cursor:default;border:none}.flatpickr-innerContainer{display:block;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.flatpickr-rContainer{display:inline-block;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}.flatpickr-time{text-align:center;outline:0;display:block;height:0;line-height:40px;max-height:40px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.flatpickr-time:after{content:"";display:table;clear:both}.flatpickr-time .numInputWrapper{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:40%;height:40px;float:left}.flatpickr-time .numInputWrapper span.arrowUp:after{border-bottom-color:#393939}.flatpickr-time .numInputWrapper span.arrowDown:after{border-top-color:#393939}.flatpickr-time.hasSeconds .numInputWrapper{width:26%}.flatpickr-time.time24hr .numInputWrapper{width:49%}.flatpickr-time input{background:0 0;-webkit-box-shadow:none;box-shadow:none;border:0;border-radius:0;text-align:center;margin:0;padding:0;height:inherit;line-height:inherit;color:#393939;font-size:14px;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.flatpickr-time input.flatpickr-hour{font-weight:700}.flatpickr-time input.flatpickr-minute,.flatpickr-time input.flatpickr-second{font-weight:400}.flatpickr-time input:focus{outline:0;border:0}.flatpickr-time .flatpickr-am-pm,.flatpickr-time .flatpickr-time-separator{height:inherit;float:left;line-height:inherit;color:#393939;font-weight:700;width:2%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}.flatpickr-time .flatpickr-am-pm{outline:0;width:18%;cursor:pointer;text-align:center;font-weight:400}.flatpickr-time .flatpickr-am-pm:focus,.flatpickr-time .flatpickr-am-pm:hover,.flatpickr-time input:focus,.flatpickr-time input:hover{background:#eee}.flatpickr-input[readonly]{cursor:pointer}@-webkit-keyframes fpFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes fpFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}
|
1 |
+
.ulf{position:relative}.ulf label{padding:0;margin:0;display:inline-block}.ulf-ab-icon{top:2px}#screen-meta-links+.ulf-options{margin-top:40px}.ulf-options{margin-top:20px;margin-right:20px}.ulf-header{position:relative}.ulf-header-inner{padding:25px;transition:box-shadow .3s ease}.ulf-header-inner h1{float:left;font-size:1.5em;line-height:26px;font-weight:400;margin:0}.ulf-header-inner h1 small{font-size:11px;font-weight:500}.ulf-sticky .ulf-header-inner{position:fixed;z-index:99;top:32px;box-shadow:0 5px 10px rgba(0,0,0,.1)}.ulf-buttons{float:right}.ulf-buttons .button{margin:0 2px;line-height:26px}.ulf-buttons .button:focus{outline:0!important;box-shadow:none!important}.ulf-buttons .ulf-save{min-width:72px}.ulf-header-left{float:left}.ulf-header-right{float:right}.ulf-nav{display:block;position:relative;z-index:10;float:left}.ulf-nav ul{clear:left;margin:0;list-style-type:none}.ulf-nav ul li{margin-bottom:0}.ulf-nav ul li a{font-size:13px;position:relative;display:block;padding:14px 12px;text-decoration:none;transition-property:color,background;transition-duration:.2s;transition-timing-function:ease}.ulf-nav ul li a:focus{outline:0;box-shadow:none}.ulf-nav ul li .ulf-arrow:after{content:"\f054";display:inline-block;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:9px;line-height:1;position:absolute;right:10px;top:50%;margin-top:-4px}.ulf-nav ul li.ulf-tab-expanded .ulf-arrow:after{transform:rotate(90deg)}.ulf-nav ul li.ulf-tab-expanded ul{display:block}.ulf-nav ul ul{display:none;position:relative}.ulf-nav ul ul li a{font-size:12px;padding:12px 14px 12px 24px}.ulf-nav .ulf-tab-icon{width:20px;margin-right:5px;font-size:13px;text-align:center}.ulf-nav .ulf-label-error{margin-left:4px;vertical-align:top}.ulf-nav-normal{width:225px}.ulf-nav-normal+.ulf-content{margin-left:225px}.ulf-nav-inline{width:100%}.ulf-nav-inline ul li{display:inline-block;vertical-align:top}.ulf-nav-background{position:absolute;top:0;left:0;bottom:0;z-index:9;width:225px}.ulf-wrapper{position:relative}.ulf-content{position:relative;background-color:#fff}.ulf-sections{float:left;width:100%}.ulf-section-title{display:none;padding:20px 30px;background-color:#f5f5f5;border-top:1px solid #eee;border-bottom:1px solid #eee}.ulf-section-title h3{margin:0;padding:0;font-size:13px;font-weight:700;text-transform:uppercase}.ulf-section-title .ulf-section-icon{margin-right:5px}.ulf-footer{padding:20px;font-size:11px}.ulf-copyright{float:left;margin-top:5px}.ulf-search-all .ulf-nav,.ulf-search-all .ulf-nav-background,.ulf-show-all .ulf-nav,.ulf-show-all .ulf-nav-background{display:none}.ulf-search-all .ulf-content,.ulf-show-all .ulf-content{margin-left:0}.ulf-search-all .ulf-section,.ulf-search-all .ulf-section-title,.ulf-show-all .ulf-section,.ulf-show-all .ulf-section-title{display:block!important}.ulf-search-all .ulf-section-title{display:none!important}.ulf-expand-all{float:left;padding:0 8px;margin-right:4px;z-index:1;font-size:13px;line-height:30px;cursor:pointer;user-select:none;border-radius:2px;transition:all .2s}.ulf-expand-all span{font-size:11px;vertical-align:middle}.ulf-search{float:left}.ulf-search input{margin:0 2px 0 0;border:none;font-size:12px;line-height:30px;min-height:30px;text-align:inherit;padding:0 10px;border-radius:2px;box-shadow:none}.ulf-search input:focus{box-shadow:none}.ulf-saving .ulf-buttons,.ulf-saving .ulf-content{cursor:default;pointer-events:none;opacity:.5}.ulf-metabox{margin:-6px -12px -12px -12px}.ulf-metabox .ulf-field{padding:20px}.ulf-metabox .ulf-section-title{padding:20px}.block-editor-page .ulf-metabox{margin:-6px -14px -14px -14px}.block-editor-editor-skeleton__content .ulf-metabox{border-left:1px solid #e2e4e7;border-right:1px solid #e2e4e7}.ulf-sections-reset{float:left;width:100%;text-align:right;border-top:1px solid #eee}.ulf-sections-reset .ulf-button-cancel,.ulf-sections-reset input{display:none}.ulf-sections-reset label{padding:10px}.ulf-sections-reset span{-webkit-user-select:none;user-select:none}.ulf-sections-reset input:checked~.ulf-button-reset{display:none}.ulf-sections-reset input:checked~.ulf-button-cancel{display:inline-block}#side-sortables .ulf-section-title{padding:12px}#side-sortables .ulf-field{padding:10px 15px}#side-sortables .ulf-field .ulf-title{float:none;width:100%;margin-bottom:6px}#side-sortables .ulf-field .ulf-fieldset{float:none;width:100%}#side-sortables .ulf-field-text input{width:100%}#side-sortables .ulf-notice{padding:10px 15px}.ulf-comment-metabox{margin:-6px -12px -12px -12px}.ulf-comment-metabox .ulf-field{padding:20px}.ulf-comment-metabox .ulf-section-title{padding:20px}.ulf-tooltip{position:absolute;z-index:5000001;font-size:12px;line-height:1.4;text-align:center;text-decoration:none;padding:6px 12px;max-width:200px;color:#fff;background-color:#000;background-color:rgba(0,0,0,.85);border-radius:4px}.ulf-theme-dark .ulf-header-inner{background-color:#050505}.ulf-theme-dark .ulf-header-inner h1{color:#fff}.ulf-theme-dark .ulf-header-inner h1 small{color:#555}.ulf-theme-dark .ulf-expand-all{color:#999;background-color:#222}.ulf-theme-dark .ulf-expand-all:hover{color:#fff;background-color:#333}.ulf-theme-dark .ulf-search input{color:#fff;background-color:#222}.ulf-theme-dark .ulf-search:focus{background-color:#444}.ulf-theme-dark .ulf-search::-webkit-input-placeholder{color:#666}.ulf-theme-dark .ulf-nav ul li a{color:#999;border-color:#2f2f2f;background-color:#222}.ulf-theme-dark .ulf-nav ul li a:hover{color:#fff}.ulf-theme-dark .ulf-nav ul li .ulf-active{color:#fff;background-color:#111}.ulf-theme-dark .ulf-nav ul ul li a{border-color:#2f2f2f;background-color:#191919}.ulf-theme-dark .ulf-nav ul ul li .ulf-active{background-color:#101010}.ulf-theme-dark .ulf-nav ul ul:before{background-color:rgba(34,34,34,.75)}.ulf-theme-dark .ulf-nav>ul>li:last-child>a{border:none}.ulf-theme-dark .ulf-nav-normal ul li a{border-bottom-width:1px;border-bottom-style:solid}.ulf-theme-dark .ulf-nav-normal ul li .ulf-active:after{content:" ";position:absolute;right:0;top:50%;height:0;width:0;pointer-events:none;border:solid transparent;border-right-color:#fff;border-width:4px;margin-top:-4px}.ulf-theme-dark .ulf-nav-inline{background-color:#222}.ulf-theme-dark .ulf-nav-inline ul li a{text-align:center;border-right-width:1px;border-right-style:solid}.ulf-theme-dark .ulf-nav-inline ul li .ulf-active:after{content:" ";position:absolute;left:50%;bottom:0;height:0;width:0;pointer-events:none;border:solid transparent;border-bottom-color:#fff;border-width:4px;margin-left:-4px}.ulf-theme-dark .ulf-nav-background{background-color:#222}.ulf-theme-dark .ulf-footer{color:#555;background-color:#050505}.ulf-theme-light .ulf-container{border:1px solid #ccd0d4;box-shadow:0 0 15 rgba(0,0,0,.04)}.ulf-theme-light .ulf-header-inner{border-bottom:1px solid #ccd0d4;background-color:#f5f5f5;background:linear-gradient(#fefefe,#f5f5f5)}.ulf-theme-light .ulf-header-inner h1 small{color:#999}.ulf-theme-light .ulf-expand-all{color:#999;background-color:#eee}.ulf-theme-light .ulf-expand-all:hover{color:#555}.ulf-theme-light .ulf-search input{color:#555;background-color:#eee}.ulf-theme-light .ulf-search input::-webkit-input-placeholder{color:#999}.ulf-theme-light .ulf-nav ul li a{font-weight:500;color:#444;background-color:#f5f5f5}.ulf-theme-light .ulf-nav ul li a:hover{color:#111;background-color:#fff}.ulf-theme-light .ulf-nav ul li .ulf-active{color:#111;background-color:#fff}.ulf-theme-light .ulf-nav ul ul li a{background-color:#eee}.ulf-theme-light .ulf-nav-normal>ul{margin-right:-1px;margin-bottom:-1px}.ulf-theme-light .ulf-nav-normal>ul li a{border-bottom:1px solid #ccd0d4;border-right:1px solid #ccd0d4}.ulf-theme-light .ulf-nav-normal>ul li .ulf-active{border-right-color:#fff}.ulf-theme-light .ulf-nav-inline{background-color:#f5f5f5;border-bottom:1px solid #ccd0d4}.ulf-theme-light .ulf-nav-inline>ul{margin-bottom:-1px}.ulf-theme-light .ulf-nav-inline>ul li a{text-align:center;border-right:1px solid #ccd0d4;border-bottom:1px solid #ccd0d4}.ulf-theme-light .ulf-nav-inline>ul li .ulf-active{border-bottom-color:#fff}.ulf-theme-light .ulf-nav-inline>ul ul{display:none!important}.ulf-theme-light .ulf-nav-inline .ulf-arrow:after{display:none}.ulf-theme-light .ulf-nav-background{background-color:#f5f5f5;border-right:1px solid #ccd0d4}.ulf-theme-light .ulf-footer{color:#555;border-top:1px solid #ccd0d4;background-color:#f5f5f5;background:linear-gradient(#fafafa,#f5f5f5)}.ulf-field{position:relative;padding:30px}.ulf-field+.ulf-field{border-top:1px solid #eee}.ulf-field p:first-child{margin-top:0}.ulf-field p:last-child{margin-bottom:0}.ulf-field:after,.ulf-field:before{content:" ";display:table}.ulf-field:after{clear:both}.ulf-field h4{margin-top:0}.ulf-field .ulf-title{position:relative;width:20%;float:left}.ulf-field .ulf-title h4{margin:0;color:#23282d}.ulf-field .ulf-fieldset{float:right;width:calc(80% - 20px)}.ulf-pseudo-field{padding:0 5px 0 0!important;display:inline-block}.ulf-pseudo-field+.ulf-pseudo-field{border:0}.ulf-pseudo-field pre{display:none}.ulf-field-accordion .ulf-accordion-item{position:relative;margin-bottom:5px}.ulf-field-accordion .ulf-accordion-item:last-child{margin-bottom:0}.ulf-field-accordion .ulf-accordion-item h4{font-size:1em}.ulf-field-accordion .ulf-accordion-title{display:block;cursor:pointer;position:relative;margin:0;padding:15px;min-height:0;font-size:100%;user-select:none;border:1px solid #ccd0d4;background-color:#fafafa;box-shadow:0 1px 1px rgba(0,0,0,.04);transition:border-color .15s}.ulf-field-accordion .ulf-accordion-title:active,.ulf-field-accordion .ulf-accordion-title:focus,.ulf-field-accordion .ulf-accordion-title:hover{outline:0;border-color:#999}.ulf-field-accordion .ulf-accordion-title .ulf--icon{width:20px;text-align:center;margin-right:2px}.ulf-field-accordion .ulf-accordion-icon{width:16px;text-align:center}.ulf-field-accordion .ulf-accordion-content{display:none;padding:0;border:1px solid #ccd0d4;border-top:none;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.ulf-field-accordion .ulf-accordion-content>.ulf-field{padding:15px}.ulf-field-accordion .ulf-accordion-open{display:block}.ulf-field-background .ulf-field{border:0!important;padding:0;margin-bottom:6px;margin-right:6px}.ulf-field-background .ulf--title{color:#777;font-size:12px}.ulf-field-background .ulf--background-colors{display:flex;flex-wrap:wrap}.ulf-field-background .ulf--background-attributes{display:flex;flex-wrap:wrap}.ulf-field-background .ulf--background-attributes select{min-width:100%;margin:0}.ulf-field-background .ulf--background-attributes .ulf-field{flex:1}.ulf-field-background .ulf--attributes-hidden{display:none}.ulf-field-backup textarea{width:100%;min-height:200px;margin-bottom:5px}.ulf-field-backup small{display:inline-block;margin:5px}.ulf-field-backup hr{margin:20px 0;border:none;border-bottom:1px solid #e5e5e5}.ulf-field-border .ulf--inputs,.ulf-field-dimensions .ulf--inputs,.ulf-field-spacing .ulf--inputs{float:left;display:flex;flex-wrap:wrap}.ulf-field-border .ulf--input,.ulf-field-dimensions .ulf--input,.ulf-field-spacing .ulf--input{display:flex;padding-right:6px;padding-bottom:4px;box-sizing:border-box}.ulf-field-border .ulf--input select,.ulf-field-dimensions .ulf--input select,.ulf-field-spacing .ulf--input select{margin:0}.ulf-field-border .ulf--input input,.ulf-field-dimensions .ulf--input input,.ulf-field-spacing .ulf--input input{position:relative;z-index:1;margin:0;width:65px;max-width:100%;text-align:center}.ulf-field-border .ulf--color,.ulf-field-dimensions .ulf--color,.ulf-field-spacing .ulf--color{float:left}.ulf-field-border .ulf--label,.ulf-field-dimensions .ulf--label,.ulf-field-spacing .ulf--label{display:flex;flex-direction:column;justify-content:center;user-select:none;min-width:20px;max-width:100%;padding:0 4px;font-size:12px;text-align:center;color:#555;border:1px solid #7b776c;background-color:#f5f5f5}.ulf-field-border .ulf--icon,.ulf-field-dimensions .ulf--icon,.ulf-field-spacing .ulf--icon{border-right:0;border-radius:4px 0 0 4px}.ulf-field-border .ulf--icon+input,.ulf-field-dimensions .ulf--icon+input,.ulf-field-spacing .ulf--icon+input{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.ulf-field-border .ulf--unit,.ulf-field-dimensions .ulf--unit,.ulf-field-spacing .ulf--unit{border-left:0;border-radius:0 4px 4px 0}.ulf-field-border .ulf--is-unit,.ulf-field-dimensions .ulf--is-unit,.ulf-field-spacing .ulf--is-unit{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.ulf-field-button_set .ulf--buttons{display:inline-block}.ulf-field-button_set .ulf--button{position:relative;z-index:1;float:left;cursor:pointer;padding:7px 14px;min-width:16px;text-align:center;color:#555;border:1px solid #ccc;background-color:#f7f7f7;user-select:none;box-shadow:0 1px 0 rgba(0,0,0,.1)}.ulf-field-button_set .ulf--button:first-child{border-radius:4px 0 0 4px}.ulf-field-button_set .ulf--button:last-child{border-radius:0 4px 4px 0}.ulf-field-button_set .ulf--button:not(:first-child){margin-left:-1px}.ulf-field-button_set .ulf--button:hover{background-color:#eee}.ulf-field-button_set .ulf--active,.ulf-field-button_set .ulf--active:hover{z-index:2;color:#fff;border-color:#006799;background-color:#0085ba}.ulf-field-button_set input{display:none}.ulf-field-checkbox ul,.ulf-field-radio ul{margin:0;padding:0;list-style-type:none;overflow-y:auto;max-height:305px}.ulf-field-checkbox ul li,.ulf-field-radio ul li{margin-bottom:6px}.ulf-field-checkbox ul ul,.ulf-field-radio ul ul{max-height:none}.ulf-field-checkbox ul ul li,.ulf-field-radio ul ul li{margin-left:8px}.ulf-field-checkbox ul ul li:first-child,.ulf-field-radio ul ul li:first-child{margin-left:0}.ulf-field-checkbox input,.ulf-field-radio input{margin:0 1px}.ulf-field-checkbox .ulf--inline-list li,.ulf-field-radio .ulf--inline-list li{display:inline-block;margin-right:15px}.ulf-field-checkbox .ulf--text,.ulf-field-radio .ulf--text{margin-left:5px;vertical-align:middle}.ulf-field-checkbox .ulf-checker,.ulf-field-radio .ulf-checker{cursor:pointer}.ulf-field-code_editor .CodeMirror{width:100%;height:400px}.ulf-field-code_editor .cm-s-default{border:1px solid #ccd0d4}.ulf-field-code_editor textarea{width:100%;height:400px}.ulf-field-color>input{opacity:.75;width:115px;max-width:100%}.ulf-field-color .button.wp-picker-clear{padding:0 8px;margin-left:6px;line-height:2.54545455;min-height:30px}.ulf-field-color_group .ulf--left{float:left;margin-right:10px;margin-bottom:5px}.ulf-field-color_group .ulf--title{color:#999;margin-bottom:5px}.ulf-field-fieldset .ulf-fieldset-content{border:1px solid #ccd0d4;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.ulf-field-fieldset .ulf-fieldset-content>.ulf-field{padding:15px}.ulf-field-fieldset .ulf-field-subheading{font-size:13px}.ulf-field-date input{margin:0}.ulf-field-date .ulf--to{margin-left:7px}.ulf-datepicker-wrapper{margin-top:5px;width:auto;background-color:#fff;z-index:9999999!important;box-shadow:0 0 30px rgba(0,0,0,.15)}.ulf-datepicker-wrapper *{float:none;margin:0;padding:0;font-family:inherit;font-weight:400;font-style:normal;text-decoration:none;border:0;border-radius:0;box-shadow:none}.ulf-datepicker-wrapper .ui-datepicker-header,.ulf-datepicker-wrapper .ui-widget-header{color:#fff;background:#00a0d2}.ulf-datepicker-wrapper .ui-datepicker-header .ui-state-hover{cursor:pointer}.ulf-datepicker-wrapper .ui-datepicker-title{font-size:14px;line-height:40px;text-align:center}.ulf-datepicker-wrapper .ui-datepicker-next,.ulf-datepicker-wrapper .ui-datepicker-prev{position:static;top:auto;left:auto;right:auto;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:12px;text-align:center;width:41px;height:40px;line-height:40px;color:#fff;background-color:rgba(255,255,255,.1);text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ulf-datepicker-wrapper .ui-datepicker-next span,.ulf-datepicker-wrapper .ui-datepicker-prev span{display:none}.ulf-datepicker-wrapper .ui-datepicker-prev{float:left}.ulf-datepicker-wrapper .ui-datepicker-next{float:right}.ulf-datepicker-wrapper .ui-datepicker-prev:before{content:'\f053'}.ulf-datepicker-wrapper .ui-datepicker-next:before{content:'\f054'}.ulf-datepicker-wrapper .ui-datepicker-next-hover,.ulf-datepicker-wrapper .ui-datepicker-prev-hover{opacity:.75}.ulf-datepicker-wrapper tbody .ui-datepicker-week-col{background-color:#f7f7f7}.ulf-datepicker-wrapper .ui-datepicker-buttonpane{padding:10px;text-align:center;background-color:#f7f7f7}.ulf-datepicker-wrapper .ui-datepicker-buttonpane button{cursor:pointer;margin:0 5px;padding:7px 14px;border:1px solid #eee;background-color:#fff}.ulf-datepicker-wrapper select{margin:0 4px}.ulf-datepicker-wrapper select option{color:#555}.ulf-datepicker-wrapper table{font-size:13px;border-collapse:collapse;width:100%}.ulf-datepicker-wrapper thead{color:#fff;background:#32373c}.ulf-datepicker-wrapper th{text-align:center;padding:7px;border:1px solid #444}.ulf-datepicker-wrapper td{text-align:center;border:1px solid #f4f4f4}.ulf-datepicker-wrapper td.ui-datepicker-other-month{border:transparent}.ulf-datepicker-wrapper td .ui-state-default{color:#555;width:auto;display:block;padding:6px 12px}.ulf-datepicker-wrapper td .ui-state-active,.ulf-datepicker-wrapper td .ui-state-hover{color:#fff;background-color:#0073aa}.ulf-datepicker-wrapper td.ui-state-disabled .ui-state-default{opacity:.5}.ulf-field-datetime input{margin:0}.ulf-field-datetime .ulf--to{margin-left:7px}.ulf-flatpickr input,.ulf-flatpickr select{min-height:auto}.ulf-flatpickr input:focus,.ulf-flatpickr select:focus{box-shadow:none}.ulf-flatpickr.open{z-index:9999999!important}.ulf-field-gallery ul{margin:0;padding:0;list-style-type:none}.ulf-field-gallery ul li{display:inline-block;position:relative;padding:4px;margin:0 5px 10px 0;border:1px solid #ccc;background-color:#f9f9f9;border-radius:2px;box-shadow:0 1px 0 rgba(0,0,0,.08)}.ulf-field-gallery ul li img{max-height:60px;display:inline-block;vertical-align:middle}.ulf-field-gallery .button{margin-right:5px;margin-bottom:5px}.ulf-field-group .ulf-cloneable-hidden{display:none!important}.ulf-field-group .ulf-cloneable-wrapper{position:relative}.ulf-field-group .ulf-cloneable-item{display:none;position:relative;margin-bottom:5px}.ulf-field-group .ulf-cloneable-item h4{font-size:1em}.ulf-field-group .ui-accordion .ulf-cloneable-item{display:block}.ulf-field-group .ulf-cloneable-content{border:1px solid #ccd0d4;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.ulf-field-group .ulf-cloneable-content>.ulf-field{padding:15px}.ulf-field-group .ulf-cloneable-title{display:block;cursor:pointer;position:relative;user-select:none;margin:0;padding:15px 65px 15px 10px;min-height:0;font-size:100%;border:1px solid #ccd0d4;background-color:#fafafa;box-shadow:0 1px 1px rgba(0,0,0,.04);transition:border-color .15s}.ulf-field-group .ulf-cloneable-title:active,.ulf-field-group .ulf-cloneable-title:focus,.ulf-field-group .ulf-cloneable-title:hover{border-color:#999;outline:0}.ulf-field-group .ulf-cloneable-helper{position:absolute;top:12px;right:10px;z-index:1;font-size:14px;line-height:1em}.ulf-field-group .ulf-cloneable-helper i{display:inline-block;cursor:pointer;padding:5px;color:#999}.ulf-field-group .ulf-cloneable-helper i:hover{color:#555}.ulf-field-group .ulf-cloneable-content{padding:0;border-top:0}.ulf-field-group .ulf-cloneable-title-number,.ulf-field-group .ulf-cloneable-title-prefix{margin-right:5px}.ulf-field-group .ulf-cloneable-alert{display:none;margin-bottom:5px;padding:10px 20px;color:#a94442;border:1px solid #ebccd1;background-color:#f2dede}.ulf-field-group .widget-placeholder{margin-bottom:10px;border:1px dashed #f1c40f;background-color:#fffae4}.ulf-field-group .ulf-cloneable-header-icon{display:inline-block;text-align:center;font-size:14px;width:17px;text-indent:0;vertical-align:text-top}.ulf-field-group .ulf-cloneable-placeholder{background-color:#ddd;margin-top:4px;width:100px;height:10px;font-size:10px;line-height:10px;display:inline-block;vertical-align:top;border-radius:2px}.ulf-field-icon .ulf-icon-select{display:flex;grid-gap:5px}.ulf-field-icon .ulf-icon-preview:not(.hidden){display:flex}.ulf-field-icon .ulf-icon-preview i{display:flex;justify-content:center;align-items:center;width:30px;font-size:14px;text-align:center;vertical-align:top;color:#555;border:1px solid #ccc;background-color:#f7f7f7;border-radius:3px;box-shadow:0 1px 0 rgba(0,0,0,.08)}.ulf-field-image_select .ulf--image{display:inline-block;margin:0 5px 5px 0}.ulf-field-image_select .ulf--inline-list .ulf--image{display:block}.ulf-field-image_select figure{cursor:pointer;position:relative;display:inline-block;max-width:100%;margin:0;vertical-align:bottom;border:2px solid transparent;background-color:#fff;user-select:none;transition:all .2s}.ulf-field-image_select figure:before{position:absolute;top:0;left:0;text-align:center;font-size:10px;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;content:"\f00c";width:16px;height:16px;line-height:14px;opacity:0;color:#fff;background-color:#222;transition:opacity .2s}.ulf-field-image_select .ulf--active figure{border-color:#222;box-shadow:0 0 20px rgba(0,0,0,.2)}.ulf-field-image_select .ulf--active figure:before{opacity:1}.ulf-field-image_select img{max-width:100%;height:auto;vertical-align:top}.ulf-field-image_select input{display:none}.ulf-field-link_color .ulf--left{float:left;margin-right:10px;margin-bottom:5px}.ulf-field-link_color .ulf--title{color:#777;margin-bottom:5px}.ulf-field-map input{width:100%}.ulf-field-map input[type=text].ui-autocomplete-loading{background-position-x:calc(100% - 5px)}.ulf-field-map .ulf--map-search+.ulf--map-osm-wrap{margin-top:10px}.ulf-field-map .ulf--map-osm-wrap{position:relative;padding:5px;border:1px solid #eee;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.ulf-field-map .ulf--map-osm{position:relative;z-index:1;min-height:250px}.ulf-field-map .ulf--map-inputs{margin-top:10px;display:flex;justify-content:space-between}.ulf-field-map .ulf--map-input{flex:1}.ulf-field-map .ulf--map-input:last-child{padding-left:10px}.ulf-field-map label{display:block;color:#777;font-size:12px;margin:0 0 2px 0}.ulf-map-ui-autocomplate{z-index:999999;border-radius:4px;overflow:hidden}.ulf-field-media .ulf--placeholder{display:flex;align-items:flex-start}.ulf-field-media .ulf--placeholder input{width:100%;margin:0}.ulf-field-media .button{margin-left:5px}.ulf-field-media .hidden+.button{margin-left:0}.ulf-field-media .ulf--preview{position:relative}.ulf-field-palette .ulf--palette{position:relative;display:inline-block;cursor:pointer;border:2px solid #ddd;margin-right:10px;margin-bottom:10px;user-select:none;-webkit-user-select:none;transition:all .2s}.ulf-field-palette .ulf--palette span{vertical-align:middle;display:inline-block;width:22px;height:60px;line-height:60px;overflow:hidden;text-indent:-999px}.ulf-field-palette .ulf--palette:before{position:absolute;top:0;left:0;text-align:center;font-size:10px;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;content:"\f00c";width:16px;height:16px;line-height:14px;opacity:0;color:#fff;background-color:#222;transition:opacity .2s}.ulf-field-palette .ulf--active{border-color:#222;box-shadow:0 0 20px rgba(0,0,0,.2)}.ulf-field-palette .ulf--active:before{opacity:1}.ulf-field-palette input{display:none}.ulf-field-repeater .ulf-field-text input{width:100%}.ulf-field-repeater .ulf-repeater-hidden{display:none!important}.ulf-field-repeater .ulf-repeater-wrapper .ulf-repeater-item{display:table;width:100%;margin-bottom:5px;border:1px solid #eee}.ulf-field-repeater .ulf-repeater-wrapper .ulf-repeater-item h4{font-size:1em}.ulf-field-repeater .ulf-repeater-content{width:100%;display:table-cell;vertical-align:middle;background-color:#fff}.ulf-field-repeater .ulf-repeater-content>.ulf-field{padding:15px}.ulf-field-repeater .ulf-repeater-helper{width:100%;display:table-cell;vertical-align:middle;text-align:center;font-size:14px;line-height:1em;border-left:1px solid #eee;background-color:#f7f7f7}.ulf-field-repeater .ulf-repeater-helper i{display:inline-block;cursor:pointer;color:#999;padding:5px}.ulf-field-repeater .ulf-repeater-helper i:hover{color:#555}.ulf-field-repeater .ulf-repeater-helper-inner{width:75px}.ulf-field-repeater .ulf-repeater-alert{display:none;margin-bottom:5px;padding:10px 20px;color:#a94442;border:1px solid #ebccd1;background-color:#f2dede}.ulf-field-repeater .widget-placeholder{height:50px;margin-bottom:3px;border:1px dashed #f1c40f;background-color:#fffae4}.ulf-field-repeater .ui-sortable-helper{height:50px!important;overflow:hidden!important;border-color:#ccc!important;background-color:#eee!important;opacity:.5}.ulf-field-repeater .ui-sortable-helper .ulf-repeater-content,.ulf-field-repeater .ui-sortable-helper .ulf-repeater-helper{display:none}.ulf-field-select .ulf-fieldset{min-height:30px}.ulf-field-select .ulf-chosen{display:none}.ulf-field-select select{max-width:100%;margin:0}.ulf-field-select .ulf-hide-select{display:none!important}.ulf-field-slider .ulf--wrap{display:flex;align-items:center}.ulf-field-slider .ulf--input{display:flex}.ulf-field-slider .ulf--unit{display:flex;justify-content:center;flex-direction:column;user-select:none;padding:0 6px;font-size:11px;line-height:1;border-radius:0 4px 4px 0;color:#555;border:1px solid #7e8993;border-left:0;background-color:#f5f5f5}.ulf-field-slider .ulf-slider-ui{margin-right:15px}.ulf-field-slider input[type=number]{position:relative;z-index:1;margin:0;width:50px;text-align:center}.ulf-field-slider .ulf--is-unit{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.ulf-field-slider .ui-slider{position:relative;width:100%;height:3px;border:none;background:#ddd;border-radius:2px}.ulf-field-slider .ui-slider-range{height:3px;border:none;background:#333;border-radius:2px}.ulf-field-slider .ui-slider-handle{position:absolute;width:16px;height:16px;top:-7px;margin-left:-8px;border:none;background:#333;border-radius:2px}.ulf-field-slider .ui-slider-handle:hover,.ulf-field-slider .ui-state-active{cursor:pointer;background:#111}.ulf-field-sortable .ulf-field-text input{width:100%;max-width:100%}.ulf-field-sortable .ulf-sortable .ulf-sortable-item{display:table;width:100%;margin-bottom:5px;border:1px solid #eee}.ulf-field-sortable .ulf-sortable .ulf-sortable-item h4{font-size:1em}.ulf-field-sortable .ulf-sortable-content{width:100%;display:table-cell;vertical-align:middle;background-color:#fff}.ulf-field-sortable .ulf-sortable-content>.ulf-field{padding:15px}.ulf-field-sortable .ulf-sortable-helper{width:100%;display:table-cell;vertical-align:middle;text-align:center;font-size:14px;line-height:1em;border-left:1px solid #eee;background-color:#f7f7f7}.ulf-field-sortable .ulf-sortable-helper i{display:inline-block;cursor:pointer;width:50px;color:#555}.ulf-field-sortable .ulf-sortable-helper i:hover{opacity:.5}.ulf-field-sortable .widget-placeholder{height:50px;margin-bottom:3px;border:1px dashed #f1c40f;background-color:#fffae4}.ulf-field-sortable .ui-sortable-helper{height:50px!important;overflow:hidden!important;border-color:#ccc!important;background-color:#eee!important;opacity:.5}.ulf-field-sortable .ui-sortable-helper .ulf-sortable-content,.ulf-field-sortable .ui-sortable-helper .ulf-sortable-helper{display:none}.ulf-field-sorter .ui-sortable-placeholder{height:20px;border:1px dashed #f1c40f;background-color:#fffae4}.ulf-field-sorter .ulf-modules{float:left;width:50%;box-sizing:border-box}.ulf-field-sorter .ulf-modules:first-child{padding-right:15px}.ulf-field-sorter .ulf-modules:last-child{padding-left:15px}.ulf-field-sorter .ulf-disabled,.ulf-field-sorter .ulf-enabled{padding:5px 15px;border:1px dashed #ddd;background-color:#fff}.ulf-field-sorter .ulf-disabled li{opacity:.5;transition:opacity .15s}.ulf-field-sorter .ulf-disabled .ui-sortable-helper{opacity:1}.ulf-field-sorter .ulf-sorter-title{font-size:13px;font-weight:600;padding:10px;text-align:center;border:1px dashed #ddd;border-bottom:none;background-color:#f8f8f8;text-transform:uppercase}.ulf-field-sorter ul{list-style-type:none;margin:0;padding:0;min-height:62px}.ulf-field-sorter ul li{margin:10px 0;padding:10px 15px;cursor:move;font-weight:700;text-align:center;border:1px solid #e5e5e5;background-color:#fafafa;transition:border-color .15s}.ulf-field-sorter ul li:hover{border-color:#bbb}.ulf-field-spinner .ulf--spin{display:flex}.ulf-field-spinner .ui-widget{font-family:inherit}.ulf-field-spinner .ui-spinner{display:flex;align-items:stretch;overflow:unset;border:none;background:0 0;border-radius:0}.ulf-field-spinner .ui-spinner .ui-button{display:flex;flex-direction:column;justify-content:center;text-align:center;min-width:20px;padding:0 4px;margin:0;color:#555;background-color:#f5f5f5;border:1px solid #7e8993}.ulf-field-spinner .ui-spinner .ui-spinner-button{position:relative;cursor:pointer;height:auto}.ulf-field-spinner .ui-spinner .ui-spinner-button:hover{background-color:#e7e7e7}.ulf-field-spinner .ui-spinner .ui-spinner-button:active{background-color:#ddd}.ulf-field-spinner .ui-spinner .ui-spinner-button:before{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:14px;line-height:14px}.ulf-field-spinner .ui-spinner .ui-spinner-down{border-right:0;border-radius:4px 0 0 4px}.ulf-field-spinner .ui-spinner .ui-spinner-down:before{content:"\f0d9"}.ulf-field-spinner .ui-spinner .ui-spinner-up{border-left:0;border-radius:0 4px 4px 0}.ulf-field-spinner .ui-spinner .ui-spinner-up:before{content:"\f0da"}.ulf-field-spinner .ui-spinner .ulf--unit{border-left:0;user-select:none}.ulf-field-spinner .ui-spinner .ui-button-icon,.ulf-field-spinner .ui-spinner .ui-button-icon-space,.ulf-field-spinner .ui-spinner .ui-button-text{display:none}.ulf-field-spinner .ui-spinner input{font-family:inherit;font-size:inherit;position:relative;z-index:1;width:50px;text-align:center;margin:0;padding:0 8px;border-radius:0}.ulf-field-spinner .ui-spinner-down{order:1}.ulf-field-spinner .ui-spinner-input{order:2}.ulf-field-spinner .ulf--unit{order:3}.ulf-field-spinner .ui-spinner-up{order:4}.ulf-field-switcher .ulf--switcher{float:left;cursor:pointer;position:relative;width:60px;height:26px;padding:0;margin:0;overflow:hidden;border-radius:4px;background-color:#ed6f6f;user-select:none;-webkit-user-select:none}.ulf-field-switcher .ulf--ball{position:absolute;top:4px;left:4px;width:24px;height:18px;background-color:#fff;border-radius:4px;transition:all .1s;box-shadow:1px 1px 1px rgba(0,0,0,.15)}.ulf-field-switcher .ulf--off,.ulf-field-switcher .ulf--on{position:absolute;top:0;left:0;right:0;font-size:11px;line-height:26px;font-weight:500;font-style:normal;text-align:center;text-transform:uppercase;color:#fff;padding-right:28px;opacity:0;transition:all .1s}.ulf-field-switcher .ulf--off{padding-right:0;padding-left:28px;opacity:1}.ulf-field-switcher .ulf--active{background:#4fb845}.ulf-field-switcher .ulf--active .ulf--on{opacity:1}.ulf-field-switcher .ulf--active .ulf--off{opacity:0}.ulf-field-switcher .ulf--active .ulf--ball{left:100%;margin-left:-28px}.ulf-field-switcher .ulf--label{float:left;margin-top:4px;margin-left:8px;font-weight:400;color:#999}.ulf-field-tabbed .ulf-tabbed-content{border:1px solid #ccd0d4;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.ulf-field-tabbed .ulf-tabbed-content>.ulf-field{padding:15px}.ulf-field-tabbed .ulf-tabbed-nav .ulf--icon{padding-right:5px}.ulf-field-tabbed .ulf-tabbed-nav a{display:inline-block;padding:12px 15px;margin-top:1px;margin-right:5px;margin-bottom:-1px;position:relative;text-decoration:none;color:#444;font-weight:600;border:1px solid #ccd0d4;background-color:#f3f3f3;transition:all .2s}.ulf-field-tabbed .ulf-tabbed-nav a:hover{background-color:#f9f9f9}.ulf-field-tabbed .ulf-tabbed-nav a.ulf-tabbed-active{background-color:#fff;border-bottom-color:#fff}.ulf-field-tabbed .ulf-tabbed-nav a:focus{outline:0;box-shadow:none}.ulf-field-text input{width:50%;max-width:100%;margin:0}.ulf-field-textarea textarea{width:100%;max-width:100%;min-height:125px}.ulf-field-textarea .ulf-shortcode-button{margin-bottom:10px;margin-right:5px}.ulf-field-typography select,.ulf-field-typography textarea{margin:0;min-width:100%;max-width:100%}.ulf-field-typography .ulf--title{color:#777;margin:0 0 2px 0;font-size:12px}.ulf-field-typography .ulf--title small{vertical-align:top}.ulf-field-typography .ulf--blocks{display:flex;flex-wrap:wrap}.ulf-field-typography .ulf--block{flex:1;max-width:100%;padding-right:6px;padding-bottom:6px}.ulf-field-typography .ulf--input{margin:0;min-width:100%}.ulf-field-typography .ulf--input-wrap{position:relative}.ulf-field-typography .ulf--unit{position:absolute;z-index:1;right:4px;top:4px;bottom:4px;padding:2px 6px;color:#666;font-size:11px;line-height:1;border-radius:2px;background:#eee;user-select:none;display:flex;justify-content:center;flex-direction:column}.ulf-field-typography .ulf--preview{font-size:16px;line-height:20px;padding:20px;color:#222;border:1px solid #eee;background-color:#fff;border-radius:2.5px;user-select:none;-webkit-user-select:none;transition:background-color .2s,border-color .2s}.ulf-field-typography .ulf--block-preview{cursor:pointer;position:relative;overflow:hidden;margin-top:10px;max-width:100%}.ulf-field-typography .ulf--black-background{border-color:#000;background-color:#000}.ulf-field-typography .ulf--toggle{position:absolute;top:5px;right:10px;color:#999}.ulf-field-typography .ulf--block-extra-styles{margin-top:5px}.ulf-field-upload input{width:100%;margin:0}.ulf-field-upload .ulf--wrap{display:flex;align-items:flex-start}.ulf-field-upload .button{margin-left:5px}.ulf-field-upload .ulf--preview{position:relative}.ulf-field-wp_editor .ulf-wp-editor{float:left;width:100%}.ulf-field-wp_editor .mce-toolbar-grp{border:none}.ulf-field-wp_editor .mce-btn.mce-active button,.ulf-field-wp_editor .mce-btn.mce-active i,.ulf-field-wp_editor .mce-btn.mce-active:hover button,.ulf-field-wp_editor .mce-btn.mce-active:hover i{color:#23282d}.ulf-field-wp_editor .wp-media-buttons{position:relative;z-index:2}.ulf-field-wp_editor .wp-editor-tabs{position:relative;z-index:1}.ulf-field-wp_editor .ulf-no-tinymce{border:1px solid #e5e5e5}.ulf-field-wp_editor .ulf-no-quicktags .wp-media-buttons{float:none;display:block}.ulf-field-wp_editor .ulf-no-quicktags .mce-tinymce{box-shadow:none;border:1px solid #e5e5e5}.ulf-field-wp_editor textarea{width:100%;max-width:100%;margin:0;box-shadow:none}.ulf-field-heading{font-size:1.5em;font-weight:700;color:#23282d;background-color:#f5f5f5}.ulf-field-subheading{font-size:14px;font-weight:700;padding-top:17px;padding-bottom:17px;color:#23282d;background-color:#f7f7f7}.ulf-field-submessage{padding:0!important;border:0!important}.ulf-field-submessage+.ulf-field{border-top:0!important}.ulf-submessage{font-size:12px;padding:17px 30px;border-top:1px solid transparent;border-bottom:1px solid transparent}.ulf-submessage-success{color:#3c763d;border-color:#d6e9c6;background-color:#dff0d8}.ulf-submessage-info{color:#31708f;border-color:#bce8f1;background-color:#d9edf7}.ulf-submessage-warning{color:#8a6d3b;border-color:#faebcc;background-color:#fcf8e3}.ulf-submessage-danger{color:#a94442;border-color:#ebccd1;background-color:#f2dede}.ulf-submessage-normal{color:#23282d;border-color:#eee;background-color:#f7f7f7}.ulf-field-notice{background-color:#f7f7f7}.ulf-notice{padding:12px;background-color:#fff;border-left-style:solid;border-left-width:4px;box-shadow:0 1px 1px rgba(0,0,0,.1)}.ulf-notice-success{border-color:#46b450}.ulf-notice-info{border-color:#339fd4}.ulf-notice-warning{border-color:#ffbc00}.ulf-notice-danger{border-color:#dc3232}.ulf-notice-normal{border-color:#222}.ulf-field-number input{width:100%;margin:0}.ulf-field-number .ulf--wrap{position:relative;float:left;width:100px}.ulf-field-number .ulf--unit{position:absolute;z-index:1;right:4px;top:4px;bottom:4px;padding:2px 6px;color:#666;font-size:11px;line-height:1;border-radius:2px;background:#eee;user-select:none;display:flex;justify-content:center;flex-direction:column}.ulf-field-link .ulf--result{display:inline-block;font-size:12px;line-height:16px;padding:7px 10px;margin-bottom:7px;color:#777;border:1px solid #e5e5e5;background-color:#f5f5f5;border-radius:2px;world-break:break-word}.ulf-field-link .ulf--wrap{position:relative;float:left;width:100px}.ulf-field-link .ulf--unit{position:absolute;z-index:1;right:4px;top:4px;bottom:4px;padding:2px 6px;color:#666;font-size:11px;line-height:1;border-radius:2px;background:#eee;user-select:none;display:flex;justify-content:center;flex-direction:column}.ulf-help{cursor:help;position:absolute;top:0;right:0;padding:5px;font-size:13px;color:#aaa}.ulf-help .ulf-help-text{display:none}.ulf--preview{max-width:100%}.ulf-image-preview{display:inline-flex;align-items:center;justify-content:center;flex-direction:column;position:relative;padding:6px;max-width:120px;max-height:120px;min-width:40px;min-height:40px;margin-bottom:10px;text-align:center;border-radius:2px;border:1px solid #ccc;background-color:#f9f9f9;box-shadow:0 1px 0 rgba(0,0,0,.08)}.ulf-image-preview i{cursor:pointer;position:absolute;z-index:1;right:4px;top:4px;font-size:14px;width:22px;height:22px;line-height:22px;text-align:center;text-decoration:none;color:#fff;background-color:#d33;opacity:.75;border-radius:2px;transition:all .2s}.ulf-image-preview i:hover{opacity:1}.ulf-image-preview i:focus{box-shadow:none}.ulf-image-preview span{position:relative;overflow:hidden;display:flex;height:100%;width:100%}.ulf-image-preview img{max-width:100%;height:auto;object-fit:contain}.ulf-field-custom .ulf-field{padding:0}.ulf-field .chosen-container-single .chosen-single{height:28px;line-height:26px}.ulf-field .chosen-container-single .chosen-single abbr{top:0;right:20px;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:12px;height:100%;width:18px;color:#aaa;text-align:center;background:0 0}.ulf-field .chosen-container-single .chosen-single abbr:before{content:"\f00d"}.ulf-field .chosen-container-single .chosen-single abbr:hover{color:#555}.ulf-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:12px;height:100%;width:18px;color:#aaa;text-align:center;background:0 0}.ulf-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:before{content:"\f00d";display:inline-block;padding-top:3px}.ulf-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{color:#555}.ulf-field .chosen-container-single .chosen-single div b{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:14px;color:#aaa;background:0 0}.ulf-field .chosen-container-single .chosen-single div b:before{content:"\f107"}.ulf-field .chosen-container-single .chosen-single div b:hover{color:#555}.ulf-field .chosen-container-multi .chosen-choices li.search-choice-placeholder{border:1px dashed #aaa;margin:3px 5px 3px 0}.ulf-field .chosen-container-multi .ui-sortable li.search-choice span{cursor:move}.ulf-field .chosen-container-active.chosen-with-drop .chosen-single div b:before{content:"\f106"}.ulf-field .chosen-container-single .chosen-single-with-deselect span{margin-right:40px}.ulf-field .chosen-container-single .chosen-search input[type=text]{background:0 0}.ulf-field .chosen-container-single .chosen-search:before{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:11px;content:"\f002";position:absolute;right:12px;top:10px;color:#aaa}.ulf-field .wp-picker-container{display:inline-block}.ulf-field .wp-picker-container .wp-color-result.button{margin-bottom:0}.ulf-field .ulf--transparent-wrap{display:none;position:relative;top:-1px;width:235px;padding:9px 10px;border:1px solid #dfdfdf;border-top:none;background-color:#fff}.ulf-field .wp-picker-active .ulf--transparent-wrap{display:block}.ulf-field .ulf--transparent-slider{position:absolute;width:190px;margin-left:2px;height:18px}.ulf-field .ulf--transparent-slider .ui-slider-handle{position:absolute;top:-3px;bottom:-3px;z-index:5;border-color:#aaa;border-style:solid;border-width:4px 3px;width:10px;height:16px;margin:0 -5px;background:0 0;cursor:ew-resize;opacity:.9;border-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,.2)}.ulf-field .ulf--transparent-slider .ui-slider-handle:before{content:" ";position:absolute;left:-2px;right:-2px;top:-3px;bottom:-3px;border:2px solid #fff;border-radius:3px}.ulf-field .ulf--transparent-offset{height:18px;width:200px;background:url(../images/checkerboard.png) repeat-y center left scroll #fff;border-radius:2px;box-shadow:inset 0 0 5px rgba(0,0,0,.4)}.ulf-field .ulf--transparent-text{position:absolute;top:12px;right:10px;width:30px;font-size:12px;line-height:12px;text-align:center;color:#999}.ulf-field .ulf--transparent-button{cursor:pointer;user-select:none;margin-top:10px;font-size:11px;text-align:center;border-radius:2px;padding:3px 7px;box-shadow:0 1px 0 rgba(0,0,0,.1);letter-spacing:.2px;color:#777;border:1px solid #ccc;background-color:#f7f7f7;transition:background-color .2s,border-color .2s,color .2s}.ulf-field .ulf--transparent-active .wp-color-result{background-image:url(../images/checkerboard.png);background-size:135px;background-position:center left;background-color:transparent!important}.ulf-field .ulf--transparent-active .ulf--transparent-button{color:#fff;border-color:#3ea032;background-color:#4fb845}.ulf-field .ulf--transparent-active .fa:before{content:"\f205"}.ulf-widgets>.ulf-field{position:relative;top:-1px;margin-left:-15px;margin-right:-15px;padding:12px 15px}.ulf-widgets>.ulf-field .ulf-title{float:none;width:100%;margin-bottom:5px}.ulf-widgets>.ulf-field .ulf-fieldset{float:none;width:100%}.ulf-widgets .ulf-field-text input{width:100%}.ulf-widgets .ulf-field-notice .ulf-notice{padding:15px}.control-section .ulf-widgets>.ulf-field{margin-left:-10px;margin-right:-10px;padding:10px 12px}.wp-block .ulf-widgets{font-size:13px}.wp-block .ulf-widgets>.ulf-field{margin-left:-10px;margin-right:-10px}.wp-block .ulf-widgets>.ulf-field .button-primary{color:#fff}.wp-block .ulf-widgets>.ulf-field>.ulf-title>h4{font-size:13px}.control-section .ulf-field{padding:0}.control-section .ulf-field .ulf-title{float:none;width:100%;margin-bottom:6px}.control-section .ulf-field .ulf-title h4{display:block;font-size:13px;line-height:1;font-weight:600;color:inherit}.control-section .ulf-field .ulf-fieldset{float:none;width:100%}.control-section .ulf-help{top:-5px;right:-5px}.control-section .ulf-field-select select{width:100%}.control-section .ulf-field-heading{color:inherit;font-size:14px;line-height:1em;margin-right:-15px;margin-left:-15px;padding:15px}.control-section .ulf-field-subheading{color:inherit;font-size:11px;margin-right:-15px;margin-left:-15px;padding:10px 15px}.control-section .ulf-subtitle-text{margin-top:4px;font-size:12px}.control-section .ulf-field-submessage .ulf-submessage{margin-right:-15px;margin-left:-15px;padding:15px}.control-section .ulf-fieldset .ulf-field-heading,.control-section .ulf-fieldset .ulf-field-subheading,.control-section .ulf-fieldset .ulf-field-submessage .ulf-submessage{margin-left:0;margin-right:0}.control-section .ulf-field-date label,.control-section .ulf-field-datetime label{display:block}.control-section .ulf-field-date .ulf--to,.control-section .ulf-field-datetime .ulf--to{margin-top:4px;margin-left:0}.control-section .ulf-field-sorter ul li{padding:5px}.control-section .ulf-field-sorter .ulf-modules{float:none;width:100%}.control-section .ulf-field-sorter .ulf-modules:first-child{padding-right:0;padding-bottom:15px}.control-section .ulf-field-background .ulf--background-attributes{flex-direction:column}.control-section .ulf-field-spacing input{width:90px}.control-section .ulf-field-border .ulf--input{flex:1 50%}.control-section .ulf-field-border input,.control-section .ulf-field-border select{width:100%}.control-section .ulf-field-spinner input{width:50px}.control-section .ulf-field-number .ulf--wrap{width:100%}.control-section .ulf-field-backup .ulf-export-data{display:none}.control-section .ulf-field-fieldset .ulf-fieldset-content{border-color:#e5e5e5}.control-section .ulf-accordion-content>.ulf-field,.control-section .ulf-cloneable-content>.ulf-field,.control-section .ulf-fieldset-content>.ulf-field,.control-section .ulf-repeater-content>.ulf-field,.control-section .ulf-sortable-content>.ulf-field,.control-section .ulf-tabbed-content>.ulf-field{padding:10px}.control-section .ulf-accordion-content>.ulf-field .ulf-title,.control-section .ulf-cloneable-content>.ulf-field .ulf-title,.control-section .ulf-fieldset-content>.ulf-field .ulf-title,.control-section .ulf-repeater-content>.ulf-field .ulf-title,.control-section .ulf-sortable-content>.ulf-field .ulf-title,.control-section .ulf-tabbed-content>.ulf-field .ulf-title{margin-bottom:5px}.control-section .ulf-accordion-content>.ulf-field h4,.control-section .ulf-cloneable-content>.ulf-field h4,.control-section .ulf-fieldset-content>.ulf-field h4,.control-section .ulf-repeater-content>.ulf-field h4,.control-section .ulf-sortable-content>.ulf-field h4,.control-section .ulf-tabbed-content>.ulf-field h4{font-size:12px}.control-section .ulf-depend-hidden.ulf-depend-on{display:none!important}.control-section .ulf-depend-visible.ulf-depend-on{border-top:0!important}.ulf-taxonomy{max-width:95%}.ulf-taxonomy>.ulf-field{border-top:none!important}.ulf-taxonomy>.ulf-field-heading{font-size:1.1em;padding:20px!important;border:1px solid #ddd}.ulf-taxonomy>.ulf-field-subheading{font-size:12px;padding:15px!important;border:1px solid #ddd}.ulf-taxonomy>.ulf-field-submessage .ulf-submessage{padding:15px;border-left-width:1px;border-left-style:solid;border-right-width:1px;border-right-style:solid}.ulf-taxonomy>.ulf-field-notice{background-color:transparent}.ulf-taxonomy .ulf-section-title{display:block;padding:15px;background-color:#f9f9f9;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04)}.ulf-taxonomy-add-fields>.ulf-field{padding:8px 0}.ulf-taxonomy-add-fields>.ulf-field>.ulf-title{float:none;width:100%;padding:2px 2px 4px 0}.ulf-taxonomy-add-fields>.ulf-field>.ulf-title h4{font-size:12px;font-weight:400}.ulf-taxonomy-add-fields>.ulf-field>.ulf-fieldset{float:none;width:100%}.ulf-taxonomy-add-fields>.ulf-field>.ulf-fieldset>.ulf-help{right:-5px}.ulf-taxonomy-add-fields+p.submit{margin-top:0}.ulf-taxonomy-edit-fields>.ulf-field{padding:20px 0}.ulf-taxonomy-edit-fields>.ulf-field>.ulf-title{width:200px}.ulf-taxonomy-edit-fields>.ulf-field>.ulf-title h4{font-size:14px;font-weight:600;line-height:1.3;display:inline-block;vertical-align:middle}.ulf-taxonomy-edit-fields>.ulf-field>.ulf-fieldset{width:calc(100% - 220px)}.ulf-taxonomy-edit-fields>.ulf-field>.ulf-fieldset>.ulf-help{top:-5px;right:-5px}.ulf-taxonomy-edit-fields>.ulf-field-submessage{margin:20px 0}.ulf-taxonomy-edit-fields>.ulf-field-heading,.ulf-taxonomy-edit-fields>.ulf-field-subheading{margin:20px 0;border:1px solid #ddd}.ulf-nav-menu-options{clear:both;float:left;width:100%}.ulf-nav-menu-options>.ulf-fields{margin:10px -10px;border-top:1px solid #eee;border-bottom:1px solid #eee}.ulf-nav-menu-options>.ulf-fields>.ulf-field{padding:12px}.ulf-nav-menu-options>.ulf-fields>.ulf-field .ulf-title{float:none;width:100%;margin-bottom:5px}.ulf-nav-menu-options>.ulf-fields>.ulf-field .ulf-fieldset{float:none;width:100%}.ulf-nav-menu-options .ulf-field-text input{width:100%}.ulf-nav-menu-options .ulf-field-notice .ulf-notice{padding:15px}.ulf-nav-menu-title{padding:12px;background-color:#f5f5f5;border-top:1px solid #eee;border-bottom:1px solid #eee}.ulf-nav-menu-title:first-child{border-top:0}.ulf-nav-menu-title h4{margin:0;padding:0;color:#23282d}.ulf-nav-menu-icon{margin-right:5px}.ulf-profile-options>h2>.fa{padding-right:7px}.ulf-profile-options>.ulf-field{max-width:750px;padding:15px 0;border-top:none!important}.ulf-profile-options>.ulf-field>.ulf-title{width:200px}.ulf-profile-options>.ulf-field>.ulf-title h4{font-size:14px;font-weight:600;line-height:1.3;display:inline-block;vertical-align:middle}.ulf-profile-options>.ulf-field>.ulf-fieldset{width:calc(100% - 220px)}.ulf-profile-options>.ulf-field>.ulf-fieldset>.ulf-help{top:-15px;right:-5px}.ulf-profile-options>.ulf-field-heading{font-size:1.1em}.ulf-profile-options>.ulf-field-subheading{font-size:12px}.ulf-profile-options>.ulf-field-heading,.ulf-profile-options>.ulf-field-subheading{margin:10px 0;padding:15px!important;border:1px solid #ddd}.ulf-profile-options>.ulf-field-submessage{margin:20px 0}.ulf-profile-options>.ulf-field-submessage .ulf-submessage{padding:10px;border-left-width:1px;border-left-style:solid;border-right-width:1px;border-right-style:solid}.ulf-profile-options>.ulf-field-notice{background-color:transparent}.ulf-modal{position:fixed;z-index:100101;top:0;left:0;width:100%;height:100%}.ulf-modal.hidden{display:none}.ulf-modal-icon{z-index:100102}.ulf-modal-table{display:table;width:100%;height:100%}.ulf-modal-table-cell{display:table-cell;vertical-align:middle;margin:100px 0}.ulf-modal-inner{position:relative;z-index:10;width:760px;height:750px;margin:0 auto;background-color:#fff}.ulf-modal-content{position:relative;overflow:hidden;overflow-y:auto;height:595px}.ulf-modal-content .ulf-shortcode-button{display:none}.ulf-modal-content .ulf-field{padding:15px 30px 15px 15px}.ulf-modal-content a:active,.ulf-modal-content a:focus{outline:0;box-shadow:none}.ulf-modal-content h4{font-size:13px}.ulf-modal-content h4 small{font-style:italic;font-weight:400;color:#aaa}.ulf-modal-title{position:relative;background-color:#fcfcfc;border-bottom:1px solid #ddd;height:36px;font-size:16px;font-weight:600;line-height:36px;margin:0;padding:0 36px 0 16px}.ulf-modal-header{width:100%;padding:14px 0;background-color:#f5f5f5;border-bottom:1px solid #ddd}.ulf-modal-header select{display:block;width:250px;margin:0 auto;font-size:13px;line-height:1;height:30px;min-height:30px;background-color:#fff}.ulf-modal-close{color:#666;padding:0;position:absolute;top:0;right:0;width:36px;height:36px;text-align:center;background:0 0;border:none;cursor:pointer}.ulf-modal-close:before{font:normal 20px/36px dashicons;content:"\f158";vertical-align:top;width:36px;height:36px}.ulf-modal-close:hover{opacity:.5}.ulf-modal-insert-wrapper{text-align:center;width:100%;padding:15px 0;background-color:#f5f5f5;border-top:1px solid #ddd}.ulf-modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#000;opacity:.5}.ulf--repeatable{padding:15px 15px 0 15px}.ulf--repeat-button-block{text-align:center;padding-bottom:15px}.ulf--repeat-shortcode{position:relative;margin-bottom:15px;border:1px dashed #ddd}.ulf--repeat-shortcode:first-child .ulf-repeat-remove{display:none}.ulf--repeat-shortcode .ulf-repeat-remove{position:absolute;right:10px;top:10px;z-index:10;cursor:pointer;display:inline-block;font-size:11px;width:18px;height:18px;line-height:18px;text-align:center;border-radius:2px;color:#fff;background-color:#e14d43;opacity:.5}.ulf--repeat-shortcode .ulf-repeat-remove:hover{opacity:.5}.ulf-shortcode-single .ulf-modal-inner{height:750px}.ulf-shortcode-single .ulf-modal-content{height:652px}.elementor-editor-active .ulf-shortcode-button{margin-left:5px}.elementor-editor-active .ulf-modal .hidden{display:none!important}.ulf-shortcode-block{text-align:center;padding:14px;font-size:13px;background-color:#f5f5f5;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}.ulf-shortcode-block .components-button{margin-bottom:10px}.ulf-modal-icon .ulf-icon-title{padding:15px 0;margin:4px;font-size:14px;font-weight:700;text-align:center;border:1px solid #eee;background-color:#f7f7f7}.ulf-modal-icon .ulf-modal-header{text-align:center}.ulf-modal-icon .ulf-icon-search{width:50%;height:40px;line-height:40px}.ulf-modal-icon i{cursor:pointer;display:inline-block;margin:4px;width:35px;height:35px;line-height:35px;font-size:16px;color:#555;text-align:center;border:1px solid #ccc;background-color:#f7f7f7;border-radius:2px;box-shadow:1px 1px 0 rgba(0,0,0,.05)}.ulf-modal-icon i:hover{color:#fff;border-color:#222;background-color:#222}.ulf-modal-icon .ulf-modal-content{padding:10px;height:618px}.ulf-modal-icon .ulf-error-text{padding:10px}.ulf-modal-loading{display:none;position:absolute;left:15px;top:15px}.ulf-loading{position:relative;width:20px;height:20px;background:#ccc;border-radius:20px;box-shadow:0 2px 5px rgba(0,0,0,.07)}.ulf-loading:after{position:absolute;top:50%;left:50%;width:4px;height:4px;content:"";margin-top:-2px;margin-left:-2px;background-color:#fff;animation-duration:.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:ulfLoader;border-radius:4px}@keyframes ulfLoader{0%{transform:rotate(0) translateX(-6px) rotate(0)}100%{transform:rotate(360deg) translateX(-6px) rotate(-360deg)}}.ulf-subtitle-text{margin-top:6px;font-weight:400;color:#999}.ulf-desc-text{clear:both;float:left;width:100%;margin-top:6px;font-weight:400;color:#999}.ulf-error-text{margin-top:6px;color:#d02c21}.ulf-before-text{margin-bottom:6px}.ulf-after-text{margin-top:6px}.ulf-metabox-hide{display:none!important}.ulf-metabox-show{display:block!important}.ulf-depend-hidden.ulf-depend-on{display:none}.ulf-depend-visible.ulf-depend-on{display:block;opacity:.75;filter:grayscale(1);user-select:none;border-top:1px solid #eee}.ulf-depend-visible.ulf-depend-on .clear:before{content:"";left:0;top:0;right:0;bottom:0;position:absolute;background-color:#eee;opacity:.25;z-index:10}.ulf-warning-primary{color:#fff!important;border-color:#dc3545!important;background:#dc3545!important}.ulf-warning-primary:focus,.ulf-warning-primary:hover{border-color:#bd2130!important;background:#bd2130!important}.ulf-warning-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #bd2130!important}.ulf-warning-primary:active{border-color:#bd2130!important;background:#bd2130!important}.ulf-form-result{display:none;float:left;padding:0 8px;margin-right:4px;font-size:11px;line-height:30px;user-select:none;border-radius:2px}.ulf-form-show{display:block}.ulf-form-success{color:#fff;background-color:#46b450}.ulf-form-warning{color:#8a6d3b;background-color:#faebcc}.ulf-label-error{position:relative;top:-2px;display:inline-block;font-size:10px;line-height:10px;height:10px;width:10px;padding:1px;font-style:normal;text-align:center;color:#fff;vertical-align:middle;background-color:#e10000;border-radius:2px}.ulf-no-option{padding:30px}.ulf-input-number{-moz-appearance:textfield}.ulf-input-number::-webkit-inner-spin-button,.ulf-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ulf-fa5-shims .ulf .fab,.ulf-fa5-shims .ulf .far,.ulf-fa5-shims .ulf .fas{font-family:FontAwesome;font-style:normal}.ulf-welcome-wrap{position:relative;margin:25px 40px 0 20px;font-size:15px;max-width:1200px}.ulf-welcome-wrap p{font-size:14px;line-height:1.5}.ulf-welcome-wrap h1{margin:.2em 200px 0 0;padding:0;color:#32373c;line-height:1.2em;font-size:2.8em;font-weight:400}.ulf-welcome-wrap .ulf-logo{position:absolute;overflow:hidden;top:0;right:0;height:160px;width:140px;background-image:linear-gradient(45deg,#2d67cb,#ad19f3);box-shadow:0 1px 4px rgba(0,0,0,.25),inset 0 0 0 4px rgba(0,0,0,.25)}.ulf-welcome-wrap .ulf-logo .ulf--effects i{position:absolute;width:200px;height:100px;background-color:rgba(0,0,0,.15);transform:rotate(-45deg)}.ulf-welcome-wrap .ulf-logo .ulf--effects i:nth-child(1){bottom:-20px;right:-70px}.ulf-welcome-wrap .ulf-logo .ulf--effects i:nth-child(2){bottom:-35px;right:-80px}.ulf-welcome-wrap .ulf-logo .ulf--effects i:nth-child(3){bottom:-50px;right:-90px}.ulf-welcome-wrap .ulf-logo .ulf--effects i:nth-child(4){bottom:-65px;right:-100px}.ulf-welcome-wrap .ulf-logo .ulf--wp-logos{position:relative;padding-top:25px;text-align:center}.ulf-welcome-wrap .ulf-logo .ulf--wp-logo{position:absolute;left:20px;width:20px;height:20px;background-repeat:no-repeat;background-position:center center;background-image:url(../images/wp-logo.svg)}.ulf-welcome-wrap .ulf-logo .ulf--wp-plugin-logo{display:inline-block;width:50px;height:50px;border:3px solid #fff;background-size:40px;background-repeat:no-repeat;background-position:center center;background-image:url(../images/wp-plugin-logo.svg);border-radius:100%;vertical-align:middle}.ulf-welcome-wrap .ulf-logo .ulf--text{position:absolute;left:0;right:0;top:90px;color:#fff;font-size:13px;line-height:1.2em;font-weight:600;text-align:center;text-transform:uppercase;text-shadow:1px 1px 0 rgba(0,0,0,.25)}.ulf-welcome-wrap .ulf-logo .ulf--version{top:auto;left:auto;right:8px;bottom:4px;font-size:11px;text-transform:lowercase}.ulf-welcome-wrap .ulf-about-text{font-weight:400;line-height:1.6em;font-size:19px;margin:1em 200px 1em 0;color:#555d66}.ulf-welcome-wrap .ulf-demo-button{margin:1em 200px 2em 0}.ulf-welcome-wrap .nav-tab-wrapper{margin-bottom:20px}.ulf-welcome-wrap ul{list-style-type:disc;padding-left:15px}.ulf-welcome-wrap .ulf--col{float:left;padding-right:20px;box-sizing:border-box}.ulf-welcome-wrap .ulf--col-2{width:50%}.ulf-welcome-wrap .ulf--col-3{width:33.333%}.ulf-welcome-wrap .ulf--col-4{width:25%}.ulf-welcome-wrap .ulf--col-5{width:20%}.ulf-welcome-wrap .ulf--col-last{padding-right:0}.ulf-welcome-wrap .ulf--col-upgrade{padding:10px 0;text-align:center;border-top:1px solid #e5e5e5}.ulf--table-compare tfoot td,.ulf--table-compare thead td{text-align:center}.ulf--table-compare td{font-size:14px;text-align:center;vertical-align:middle;padding:10px}.ulf--table-compare td:first-child{text-align:left}.ulf--table-compare tfoot td{padding:15px 0}.ulf--table-compare .fa{font-size:18px}.ulf--table-compare .fa-check-circle{color:#46b450}.ulf--table-compare .fa-times-circle{color:#dc3232}.ulf-welcome-cols{clear:both;margin:20px 0;background-color:#fff;padding:0 0;border-radius:2px;border:1px solid #e5e5e5}.ulf-welcome-cols .ulf--col{width:33.333%;float:left;padding:20px;text-align:center;box-sizing:border-box;min-height:200px;border-right:1px solid #e5e5e5}.ulf-welcome-cols .ulf--block,.ulf-welcome-cols .ulf--left{float:left;width:20%;padding:0 30px;text-align:center;box-sizing:border-box}.ulf-welcome-cols .ulf--block{width:80%}.ulf-welcome-cols .ulf--col-first{border-bottom:1px solid #e5e5e5}.ulf-welcome-cols .ulf--last{border-right:none}.ulf-welcome-cols .ulf--space{height:20px}.ulf-welcome-cols .ulf--icon{display:inline-block;font-size:20px;width:30px;height:30px;line-height:30px;text-align:center;margin-bottom:10px;color:#fff;background-color:#555;border-radius:30px}.ulf-welcome-cols .ulf--active{background-color:#5cb85c}.ulf-welcome-cols .ulf--deactive{background-color:#e14d43}.ulf-welcome-cols .ulf--title{font-weight:700;display:block}.ulf-welcome-cols p:last-child{margin-bottom:0}.ulf-features-cols .ulf--key-features{width:30%}.ulf-features-cols .ulf--available-fields{width:70%}.ulf-code-block{margin:20px 0;padding:5px 20px;background-color:#fff;border-radius:2px;box-shadow:0 1px 1px rgba(0,0,0,.15)}.ulf-code-block pre{font-size:13px;color:#0073aa}.ulf-code-block pre span{color:#999}.ulf--table-fields td{font-size:14px}.ulf--upgrade a{color:#5cb85c;font-weight:700}.ulf--upgrade a:focus,.ulf--upgrade a:hover{color:#4aa14a;outline:0;box-shadow:none}@media only screen and (max-width:782px){.ulf-welcome-cols .ulf--col{width:100%;min-height:auto;border-right:none;border-bottom:1px solid #e5e5e5}.ulf-features-cols .ulf--key-features{width:100%}.ulf-features-cols .ulf--available-fields{width:100%}}@media only screen and (max-width:1200px){.ulf-metabox .ulf-field .ulf-title{float:none;width:100%;margin-bottom:10px}.ulf-metabox .ulf-field .ulf-fieldset{float:none;width:100%}}@media only screen and (max-width:782px){.ulf-header-inner{text-align:center}.ulf-header-inner h1{width:100%;margin-bottom:10px}.ulf-form-result{float:none;margin-right:0;margin-bottom:10px}.ulf-header-left,.ulf-header-right,.ulf-search{width:100%}.ulf-search{text-align:center;margin-bottom:15px}.ulf-footer{text-align:center}.ulf-buttons{float:none}.ulf-copyright{float:none;margin-top:10px}.ulf-expand-all,.ulf-nav,.ulf-nav-background,.ulf-reset-section{display:none!important}.ulf-nav-normal+.ulf-content{margin-left:0}.ulf-section,.ulf-section-title{display:block!important}.ulf-field .ulf-title{float:none;width:100%;margin-bottom:10px}.ulf-field .ulf-fieldset{float:none;width:100%}.ulf-field-color .button.wp-picker-clear{padding:0 8px;line-height:2.14285714;min-height:32px}.ulf-profile-options>.ulf-field>.ulf-title,.ulf-taxonomy-edit-fields>.ulf-field>.ulf-title{float:none;width:100%;margin-bottom:10px}.ulf-profile-options>.ulf-field>.ulf-fieldset,.ulf-taxonomy-edit-fields>.ulf-field>.ulf-fieldset{float:none;width:100%}.ulf-nav-menu-options>.ulf-fields{margin-left:-10px;margin-right:-10px}.ulf-nav-menu-options>.ulf-fields>.ulf-field{padding:10px}}@media only screen and (max-width:782px){.ulf-modal .ulf-modal-inner{width:90%}}@media only screen and (max-height:750px){.ulf-modal .ulf-modal-inner{height:auto}.ulf-modal .ulf-modal-content{height:calc(100vh - 200px)}}.chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:13px;user-select:none}.chosen-container *{box-sizing:border-box}.chosen-container .chosen-drop{position:absolute;top:100%;z-index:1010;width:100%;border:1px solid #aaa;border-top:0;background:#fff;box-shadow:0 4px 5px rgba(0,0,0,.15);clip:rect(0,0,0,0);clip-path:inset(100% 100%)}.chosen-container.chosen-with-drop .chosen-drop{clip:auto;clip-path:none}.chosen-container a{cursor:pointer}.chosen-container .chosen-single .group-name,.chosen-container .search-choice .group-name{margin-right:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:400;color:#999}.chosen-container .chosen-single .group-name:after,.chosen-container .search-choice .group-name:after{content:":";padding-left:2px;vertical-align:top}.chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:25px;border:1px solid #aaa;border-radius:5px;background-color:#fff;background:linear-gradient(#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-clip:padding-box;box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);color:#444;text-decoration:none;white-space:nowrap;line-height:24px}.chosen-container-single .chosen-default{color:#999}.chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.chosen-container-single .chosen-single abbr{position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;font-size:1px}.chosen-container-single .chosen-single div{position:absolute;top:0;right:0;display:block;width:18px;height:100%}.chosen-container-single .chosen-single div b{display:block;width:100%;height:100%}.chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.chosen-container-single .chosen-search input[type=text]{margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #aaa;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 4px 4px;background-clip:padding-box}.chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;clip:rect(0,0,0,0);clip-path:inset(100% 100%)}.chosen-container .chosen-results{color:#444;position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;word-wrap:break-word;-webkit-touch-callout:none}.chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.chosen-container .chosen-results li.highlighted{background-color:#3875d7;background-image:linear-gradient(#3875d7 20%,#2a62bc 90%);color:#fff}.chosen-container .chosen-results li.no-results{color:#777;display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:700;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.chosen-container-multi .chosen-choices{position:relative;overflow:hidden;margin:0;padding:0 5px;width:100%;height:auto;border:1px solid #aaa;background-color:#fff;background-image:linear-gradient(#eee 1%,#fff 15%);cursor:text}.chosen-container-multi .chosen-choices li{float:left;list-style:none}.chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-field input[type=text]{margin:1px 0;padding:0;outline:0;border:0!important;background:0 0!important;box-shadow:none;color:#999;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0;width:25px;height:25px;min-height:25px}.chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 5px 3px 0;padding:3px 20px 3px 6px;border:1px solid #aaa;max-width:100%;border-radius:3px;background-color:#eee;background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-size:100% 19px;background-repeat:repeat-x;background-clip:padding-box;box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);color:#333;line-height:13px;cursor:default}.chosen-container-multi .chosen-choices li.search-choice span{word-wrap:break-word;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:0;right:0;display:block;width:12px;height:12px;font-size:1px}.chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);color:#666}.chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.chosen-container-active .chosen-single{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #aaa;border-bottom-right-radius:0;border-bottom-left-radius:0;background-image:linear-gradient(#eee 20%,#fff 80%);box-shadow:0 1px 0 #fff inset}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:none;background:0 0}.chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#222!important}.chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.chosen-rtl{text-align:right}.chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.chosen-rtl .chosen-single div{right:auto;left:3px}.chosen-rtl .chosen-single abbr{right:auto;left:26px}.chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type=text]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:none}.chosen-rtl .chosen-search input[type=text]{padding:4px 5px 4px 20px;direction:rtl}.flatpickr-calendar{background:0 0;opacity:0;display:none;text-align:center;visibility:hidden;padding:0;-webkit-animation:none;animation:none;direction:ltr;border:0;font-size:14px;line-height:24px;border-radius:5px;position:absolute;width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-touch-action:manipulation;touch-action:manipulation;background:#fff;-webkit-box-shadow:1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,.08);box-shadow:1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,.08)}.flatpickr-calendar.inline,.flatpickr-calendar.open{opacity:1;max-height:640px;visibility:visible}.flatpickr-calendar.open{display:inline-block;z-index:99999}.flatpickr-calendar.animate.open{-webkit-animation:fpFadeInDown .3s cubic-bezier(.23,1,.32,1);animation:fpFadeInDown .3s cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.inline{display:block;position:relative;top:2px}.flatpickr-calendar.static{position:absolute;top:calc(100% + 2px)}.flatpickr-calendar.static.open{z-index:999;display:block}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7){-webkit-box-shadow:none!important;box-shadow:none!important}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1){-webkit-box-shadow:-2px 0 0 #e6e6e6,5px 0 0 #e6e6e6;box-shadow:-2px 0 0 #e6e6e6,5px 0 0 #e6e6e6}.flatpickr-calendar .hasTime .dayContainer,.flatpickr-calendar .hasWeeks .dayContainer{border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.flatpickr-calendar .hasWeeks .dayContainer{border-left:0}.flatpickr-calendar.hasTime .flatpickr-time{height:40px;border-top:1px solid #e6e6e6}.flatpickr-calendar.noCalendar.hasTime .flatpickr-time{height:auto}.flatpickr-calendar:after,.flatpickr-calendar:before{position:absolute;display:block;pointer-events:none;border:solid transparent;content:'';height:0;width:0;left:22px}.flatpickr-calendar.arrowRight:after,.flatpickr-calendar.arrowRight:before,.flatpickr-calendar.rightMost:after,.flatpickr-calendar.rightMost:before{left:auto;right:22px}.flatpickr-calendar.arrowCenter:after,.flatpickr-calendar.arrowCenter:before{left:50%;right:50%}.flatpickr-calendar:before{border-width:5px;margin:0 -5px}.flatpickr-calendar:after{border-width:4px;margin:0 -4px}.flatpickr-calendar.arrowTop:after,.flatpickr-calendar.arrowTop:before{bottom:100%}.flatpickr-calendar.arrowTop:before{border-bottom-color:#e6e6e6}.flatpickr-calendar.arrowTop:after{border-bottom-color:#fff}.flatpickr-calendar.arrowBottom:after,.flatpickr-calendar.arrowBottom:before{top:100%}.flatpickr-calendar.arrowBottom:before{border-top-color:#e6e6e6}.flatpickr-calendar.arrowBottom:after{border-top-color:#fff}.flatpickr-calendar:focus{outline:0}.flatpickr-wrapper{position:relative;display:inline-block}.flatpickr-months{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.flatpickr-months .flatpickr-month{background:0 0;color:rgba(0,0,0,.9);fill:rgba(0,0,0,.9);height:34px;line-height:1;text-align:center;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.flatpickr-months .flatpickr-next-month,.flatpickr-months .flatpickr-prev-month{text-decoration:none;cursor:pointer;position:absolute;top:0;height:34px;padding:10px;z-index:3;color:rgba(0,0,0,.9);fill:rgba(0,0,0,.9)}.flatpickr-months .flatpickr-next-month.flatpickr-disabled,.flatpickr-months .flatpickr-prev-month.flatpickr-disabled{display:none}.flatpickr-months .flatpickr-next-month i,.flatpickr-months .flatpickr-prev-month i{position:relative}.flatpickr-months .flatpickr-next-month.flatpickr-prev-month,.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month{left:0}.flatpickr-months .flatpickr-next-month.flatpickr-next-month,.flatpickr-months .flatpickr-prev-month.flatpickr-next-month{right:0}.flatpickr-months .flatpickr-next-month:hover,.flatpickr-months .flatpickr-prev-month:hover{color:#959ea9}.flatpickr-months .flatpickr-next-month:hover svg,.flatpickr-months .flatpickr-prev-month:hover svg{fill:#f64747}.flatpickr-months .flatpickr-next-month svg,.flatpickr-months .flatpickr-prev-month svg{width:14px;height:14px}.flatpickr-months .flatpickr-next-month svg path,.flatpickr-months .flatpickr-prev-month svg path{-webkit-transition:fill .1s;transition:fill .1s;fill:inherit}.numInputWrapper{position:relative;height:auto}.numInputWrapper input,.numInputWrapper span{display:inline-block}.numInputWrapper input{width:100%}.numInputWrapper input::-ms-clear{display:none}.numInputWrapper input::-webkit-inner-spin-button,.numInputWrapper input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.numInputWrapper span{position:absolute;right:0;width:14px;padding:0 4px 0 2px;height:50%;line-height:50%;opacity:0;cursor:pointer;border:1px solid rgba(57,57,57,.15);-webkit-box-sizing:border-box;box-sizing:border-box}.numInputWrapper span:hover{background:rgba(0,0,0,.1)}.numInputWrapper span:active{background:rgba(0,0,0,.2)}.numInputWrapper span:after{display:block;content:"";position:absolute}.numInputWrapper span.arrowUp{top:0;border-bottom:0}.numInputWrapper span.arrowUp:after{border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:4px solid rgba(57,57,57,.6);top:26%}.numInputWrapper span.arrowDown{top:50%}.numInputWrapper span.arrowDown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid rgba(57,57,57,.6);top:40%}.numInputWrapper span svg{width:inherit;height:auto}.numInputWrapper span svg path{fill:rgba(0,0,0,.5)}.numInputWrapper:hover{background:rgba(0,0,0,.05)}.numInputWrapper:hover span{opacity:1}.flatpickr-current-month{font-size:135%;line-height:inherit;font-weight:300;color:inherit;position:absolute;width:75%;left:12.5%;padding:7.48px 0 0 0;line-height:1;height:34px;display:inline-block;text-align:center;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.flatpickr-current-month span.cur-month{font-family:inherit;font-weight:700;color:inherit;display:inline-block;margin-left:.5ch;padding:0}.flatpickr-current-month span.cur-month:hover{background:rgba(0,0,0,.05)}.flatpickr-current-month .numInputWrapper{width:6ch;display:inline-block}.flatpickr-current-month .numInputWrapper span.arrowUp:after{border-bottom-color:rgba(0,0,0,.9)}.flatpickr-current-month .numInputWrapper span.arrowDown:after{border-top-color:rgba(0,0,0,.9)}.flatpickr-current-month input.cur-year{background:0 0;-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;cursor:text;padding:0 0 0 .5ch;margin:0;display:inline-block;font-size:inherit;font-family:inherit;font-weight:300;line-height:inherit;height:auto;border:0;border-radius:0;vertical-align:initial;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.flatpickr-current-month input.cur-year:focus{outline:0}.flatpickr-current-month input.cur-year[disabled],.flatpickr-current-month input.cur-year[disabled]:hover{font-size:100%;color:rgba(0,0,0,.5);background:0 0;pointer-events:none}.flatpickr-current-month .flatpickr-monthDropdown-months{appearance:menulist;background:0 0;border:none;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;font-size:inherit;font-family:inherit;font-weight:300;height:auto;line-height:inherit;margin:-1px 0 0 0;outline:0;padding:0 0 0 .5ch;position:relative;vertical-align:initial;-webkit-box-sizing:border-box;-webkit-appearance:menulist;-moz-appearance:menulist;width:auto}.flatpickr-current-month .flatpickr-monthDropdown-months:active,.flatpickr-current-month .flatpickr-monthDropdown-months:focus{outline:0}.flatpickr-current-month .flatpickr-monthDropdown-months:hover{background:rgba(0,0,0,.05)}.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month{background-color:transparent;outline:0;padding:0}.flatpickr-weekdays{background:0 0;text-align:center;overflow:hidden;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:28px}.flatpickr-weekdays .flatpickr-weekdaycontainer{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}span.flatpickr-weekday{cursor:default;font-size:90%;background:0 0;color:rgba(0,0,0,.54);line-height:1;margin:0;text-align:center;display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-weight:bolder}.dayContainer,.flatpickr-weeks{padding:1px 0 0 0}.flatpickr-days{position:relative;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;width:307.875px}.flatpickr-days:focus{outline:0}.dayContainer{padding:0;outline:0;text-align:left;width:307.875px;min-width:307.875px;max-width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;display:-ms-flexbox;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-wrap:wrap;-ms-flex-pack:justify;-webkit-justify-content:space-around;justify-content:space-around;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1}.dayContainer+.dayContainer{-webkit-box-shadow:-1px 0 0 #e6e6e6;box-shadow:-1px 0 0 #e6e6e6}.flatpickr-day{background:0 0;border:1px solid transparent;border-radius:150px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#393939;cursor:pointer;font-weight:400;width:14.2857143%;-webkit-flex-basis:14.2857143%;-ms-flex-preferred-size:14.2857143%;flex-basis:14.2857143%;max-width:39px;height:39px;line-height:39px;margin:0;display:inline-block;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center}.flatpickr-day.inRange,.flatpickr-day.nextMonthDay.inRange,.flatpickr-day.nextMonthDay.today.inRange,.flatpickr-day.nextMonthDay:focus,.flatpickr-day.nextMonthDay:hover,.flatpickr-day.prevMonthDay.inRange,.flatpickr-day.prevMonthDay.today.inRange,.flatpickr-day.prevMonthDay:focus,.flatpickr-day.prevMonthDay:hover,.flatpickr-day.today.inRange,.flatpickr-day:focus,.flatpickr-day:hover{cursor:pointer;outline:0;background:#e6e6e6;border-color:#e6e6e6}.flatpickr-day.today{border-color:#959ea9}.flatpickr-day.today:focus,.flatpickr-day.today:hover{border-color:#959ea9;background:#959ea9;color:#fff}.flatpickr-day.endRange,.flatpickr-day.endRange.inRange,.flatpickr-day.endRange.nextMonthDay,.flatpickr-day.endRange.prevMonthDay,.flatpickr-day.endRange:focus,.flatpickr-day.endRange:hover,.flatpickr-day.selected,.flatpickr-day.selected.inRange,.flatpickr-day.selected.nextMonthDay,.flatpickr-day.selected.prevMonthDay,.flatpickr-day.selected:focus,.flatpickr-day.selected:hover,.flatpickr-day.startRange,.flatpickr-day.startRange.inRange,.flatpickr-day.startRange.nextMonthDay,.flatpickr-day.startRange.prevMonthDay,.flatpickr-day.startRange:focus,.flatpickr-day.startRange:hover{background:#569ff7;-webkit-box-shadow:none;box-shadow:none;color:#fff;border-color:#569ff7}.flatpickr-day.endRange.startRange,.flatpickr-day.selected.startRange,.flatpickr-day.startRange.startRange{border-radius:50px 0 0 50px}.flatpickr-day.endRange.endRange,.flatpickr-day.selected.endRange,.flatpickr-day.startRange.endRange{border-radius:0 50px 50px 0}.flatpickr-day.endRange.startRange+.endRange:not(:nth-child(7n+1)),.flatpickr-day.selected.startRange+.endRange:not(:nth-child(7n+1)),.flatpickr-day.startRange.startRange+.endRange:not(:nth-child(7n+1)){-webkit-box-shadow:-10px 0 0 #569ff7;box-shadow:-10px 0 0 #569ff7}.flatpickr-day.endRange.startRange.endRange,.flatpickr-day.selected.startRange.endRange,.flatpickr-day.startRange.startRange.endRange{border-radius:50px}.flatpickr-day.inRange{border-radius:0;-webkit-box-shadow:-5px 0 0 #e6e6e6,5px 0 0 #e6e6e6;box-shadow:-5px 0 0 #e6e6e6,5px 0 0 #e6e6e6}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover,.flatpickr-day.nextMonthDay,.flatpickr-day.notAllowed,.flatpickr-day.notAllowed.nextMonthDay,.flatpickr-day.notAllowed.prevMonthDay,.flatpickr-day.prevMonthDay{color:rgba(57,57,57,.3);background:0 0;border-color:transparent;cursor:default}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover{cursor:not-allowed;color:rgba(57,57,57,.1)}.flatpickr-day.week.selected{border-radius:0;-webkit-box-shadow:-5px 0 0 #569ff7,5px 0 0 #569ff7;box-shadow:-5px 0 0 #569ff7,5px 0 0 #569ff7}.flatpickr-day.hidden{visibility:hidden}.rangeMode .flatpickr-day{margin-top:1px}.flatpickr-weekwrapper{float:left}.flatpickr-weekwrapper .flatpickr-weeks{padding:0 12px;-webkit-box-shadow:1px 0 0 #e6e6e6;box-shadow:1px 0 0 #e6e6e6}.flatpickr-weekwrapper .flatpickr-weekday{float:none;width:100%;line-height:28px}.flatpickr-weekwrapper span.flatpickr-day,.flatpickr-weekwrapper span.flatpickr-day:hover{display:block;width:100%;max-width:none;color:rgba(57,57,57,.3);background:0 0;cursor:default;border:none}.flatpickr-innerContainer{display:block;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.flatpickr-rContainer{display:inline-block;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}.flatpickr-time{text-align:center;outline:0;display:block;height:0;line-height:40px;max-height:40px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.flatpickr-time:after{content:"";display:table;clear:both}.flatpickr-time .numInputWrapper{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:40%;height:40px;float:left}.flatpickr-time .numInputWrapper span.arrowUp:after{border-bottom-color:#393939}.flatpickr-time .numInputWrapper span.arrowDown:after{border-top-color:#393939}.flatpickr-time.hasSeconds .numInputWrapper{width:26%}.flatpickr-time.time24hr .numInputWrapper{width:49%}.flatpickr-time input{background:0 0;-webkit-box-shadow:none;box-shadow:none;border:0;border-radius:0;text-align:center;margin:0;padding:0;height:inherit;line-height:inherit;color:#393939;font-size:14px;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.flatpickr-time input.flatpickr-hour{font-weight:700}.flatpickr-time input.flatpickr-minute,.flatpickr-time input.flatpickr-second{font-weight:400}.flatpickr-time input:focus{outline:0;border:0}.flatpickr-time .flatpickr-am-pm,.flatpickr-time .flatpickr-time-separator{height:inherit;float:left;line-height:inherit;color:#393939;font-weight:700;width:2%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}.flatpickr-time .flatpickr-am-pm{outline:0;width:18%;cursor:pointer;text-align:center;font-weight:400}.flatpickr-time .flatpickr-am-pm:focus,.flatpickr-time .flatpickr-am-pm:hover,.flatpickr-time input:focus,.flatpickr-time input:hover{background:#eee}.flatpickr-input[readonly]{cursor:pointer}@-webkit-keyframes fpFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes fpFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}
|
admin/settings/assets/js/main.js
CHANGED
@@ -814,17 +814,19 @@
|
|
814 |
$.fn.ulf_field_group = function() {
|
815 |
return this.each( function() {
|
816 |
|
817 |
-
var $this
|
818 |
-
$fieldset
|
819 |
-
$group
|
820 |
-
$wrapper
|
821 |
-
$hidden
|
822 |
-
$max
|
823 |
-
$min
|
824 |
-
|
825 |
-
|
826 |
-
|
827 |
-
|
|
|
|
|
828 |
|
829 |
// clear accordion arrows if multi-instance
|
830 |
if ( $wrapper.hasClass('ui-accordion') ) {
|
@@ -854,12 +856,35 @@
|
|
854 |
|
855 |
if ( $panel.length && !$panel.data( 'opened' ) ) {
|
856 |
|
857 |
-
var $
|
858 |
-
var
|
859 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
860 |
|
861 |
-
$first.on('change keyup', function( event ) {
|
862 |
-
$title.text($first.val());
|
863 |
});
|
864 |
|
865 |
$panel.ulf_reload_script();
|
@@ -1350,8 +1375,6 @@
|
|
1350 |
thumbnail = attributes.icon;
|
1351 |
}
|
1352 |
|
1353 |
-
console.log(attributes);
|
1354 |
-
|
1355 |
if ( $auto_attributes ) {
|
1356 |
$auto_attributes.removeClass('ulf--attributes-hidden');
|
1357 |
}
|
@@ -3235,7 +3258,7 @@
|
|
3235 |
return;
|
3236 |
}
|
3237 |
|
3238 |
-
$input.on('change keyup', function() {
|
3239 |
|
3240 |
var obj = $this.find(':input').serializeObjectULF();
|
3241 |
var val = ( !$.isEmptyObject(obj) && obj[unique_id] && obj[unique_id][option_id] ) ? obj[unique_id][option_id] : '';
|
814 |
$.fn.ulf_field_group = function() {
|
815 |
return this.each( function() {
|
816 |
|
817 |
+
var $this = $(this),
|
818 |
+
$fieldset = $this.children('.ulf-fieldset'),
|
819 |
+
$group = $fieldset.length ? $fieldset : $this,
|
820 |
+
$wrapper = $group.children('.ulf-cloneable-wrapper'),
|
821 |
+
$hidden = $group.children('.ulf-cloneable-hidden'),
|
822 |
+
$max = $group.children('.ulf-cloneable-max'),
|
823 |
+
$min = $group.children('.ulf-cloneable-min'),
|
824 |
+
title_by = $wrapper.data('title-by'),
|
825 |
+
title_prefix = $wrapper.data('title-by-prefix'),
|
826 |
+
field_id = $wrapper.data('field-id'),
|
827 |
+
is_number = Boolean( Number( $wrapper.data('title-number') ) ),
|
828 |
+
max = parseInt( $wrapper.data('max') ),
|
829 |
+
min = parseInt( $wrapper.data('min') );
|
830 |
|
831 |
// clear accordion arrows if multi-instance
|
832 |
if ( $wrapper.hasClass('ui-accordion') ) {
|
856 |
|
857 |
if ( $panel.length && !$panel.data( 'opened' ) ) {
|
858 |
|
859 |
+
var $title = $header.find('.ulf-cloneable-value');
|
860 |
+
var inputs = [];
|
861 |
+
|
862 |
+
$.each(title_by, function( key, title_key ) {
|
863 |
+
inputs.push($panel.find( '[data-depend-id="'+ title_key +'"]' ));
|
864 |
+
});
|
865 |
+
|
866 |
+
$.each(inputs, function( key, $input ) {
|
867 |
+
|
868 |
+
$input.on('change keyup ulf.keyup', function() {
|
869 |
+
|
870 |
+
var titles = [];
|
871 |
+
|
872 |
+
$.each(inputs, function( key, $input ) {
|
873 |
+
|
874 |
+
var input_value = $input.val();
|
875 |
+
|
876 |
+
if ( input_value ) {
|
877 |
+
titles.push( input_value );
|
878 |
+
}
|
879 |
+
|
880 |
+
});
|
881 |
+
|
882 |
+
if ( titles.length ) {
|
883 |
+
$title.text( titles.join( title_prefix ) );
|
884 |
+
}
|
885 |
+
|
886 |
+
}).trigger('ulf.keyup');
|
887 |
|
|
|
|
|
888 |
});
|
889 |
|
890 |
$panel.ulf_reload_script();
|
1375 |
thumbnail = attributes.icon;
|
1376 |
}
|
1377 |
|
|
|
|
|
1378 |
if ( $auto_attributes ) {
|
1379 |
$auto_attributes.removeClass('ulf--attributes-hidden');
|
1380 |
}
|
3258 |
return;
|
3259 |
}
|
3260 |
|
3261 |
+
$input.on('change keyup ulf.change', function() {
|
3262 |
|
3263 |
var obj = $this.find(':input').serializeObjectULF();
|
3264 |
var val = ( !$.isEmptyObject(obj) && obj[unique_id] && obj[unique_id][option_id] ) ? obj[unique_id][option_id] : '';
|
admin/settings/assets/js/main.min.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/* Codestar Framework | A Simple and Lightweight WordPress Option Framework - v2.2.
|
2 |
|
3 |
-
!function(I,_,b,y){"use strict";var T=T||{};T.funcs={},T.vars={onloaded:!1,$body:I("body"),$window:I(_),$document:I(b),$form_warning:null,is_confirm:!1,form_modified:!1,code_themes:[],is_rtl:I("body").hasClass("rtl")},T.helper={uid:function(e){return(e||"")+Math.random().toString(36).substr(2,9)},preg_quote:function(e){return(e+"").replace(/(\[|\])/g,"\\$1")},name_nested_replace:function(e,t){var n=new RegExp(T.helper.preg_quote(t+"[\\d+]"),"g");e.find(":radio").each(function(){(this.checked||this.orginal_checked)&&(this.orginal_checked=!0)}),e.each(function(e){I(this).find(":input").each(function(){this.name=this.name.replace(n,t+"["+e+"]"),this.orginal_checked&&(this.checked=!0)})})},debounce:function(i,s,a){var c;return function(){var e=this,t=arguments,n=a&&!c;clearTimeout(c),c=setTimeout(function(){c=null,a||i.apply(e,t)},s),n&&i.apply(e,t)}}},I.fn.ulf_clone=function(){for(var e=I.fn.clone.apply(this,arguments),t=this.find("select").add(this.filter("select")),n=e.find("select").add(e.filter("select")),i=0;i<t.length;++i)for(var s=0;s<t[i].options.length;++s)!0===t[i].options[s].selected&&(n[i].options[s].selected=!0);return this.find(":radio").each(function(){this.orginal_checked=this.checked}),e},I.fn.ulf_expand_all=function(){return this.each(function(){I(this).on("click",function(e){e.preventDefault(),I(".ulf-wrapper").toggleClass("ulf-show-all"),I(".ulf-section").ulf_reload_script(),I(this).find(".fa").toggleClass("fa-indent").toggleClass("fa-outdent")})})},I.fn.ulf_nav_options=function(){return this.each(function(){var s,e=I(this),t=I(_),a=I("#wpwrap"),c=e.find("a");t.on("hashchange ulf.hashchange",function(){var e=_.location.hash.replace("#tab=",""),t=e||c.first().attr("href").replace("#tab=",""),n=I('[data-tab-id="'+t+'"]');if(n.length){n.closest(".ulf-tab-item").addClass("ulf-tab-expanded").siblings().removeClass("ulf-tab-expanded"),n.next().is("ul")&&(t=(n=n.next().find("li").first().find("a")).data("tab-id")),c.removeClass("ulf-active"),n.addClass("ulf-active"),s&&s.addClass("hidden");var i=I('[data-section-id="'+t+'"]');i.removeClass("hidden"),i.ulf_reload_script(),I(".ulf-section-id").val(i.index()+1),s=i,a.hasClass("wp-responsive-open")&&(I("html, body").animate({scrollTop:i.offset().top-50},200),a.removeClass("wp-responsive-open"))}}).trigger("ulf.hashchange")})},I.fn.ulf_nav_metabox=function(){return this.each(function(){var s,e=I(this),a=e.find("a"),c=e.parent().find(".ulf-section");a.each(function(i){I(this).on("click",function(e){e.preventDefault();var t=I(this);a.removeClass("ulf-active"),t.addClass("ulf-active"),s!==y&&s.addClass("hidden");var n=c.eq(i);n.removeClass("hidden"),n.ulf_reload_script(),s=n})}),a.first().trigger("click")})},I.fn.ulf_page_templates=function(){this.length&&I(b).on("change",".editor-page-attributes__template select, #page_template",function(){var e=I(this).val()||"default";I(".ulf-page-templates").removeClass("ulf-metabox-show").addClass("ulf-metabox-hide"),I(".ulf-page-"+e.toLowerCase().replace(/[^a-zA-Z0-9]+/g,"-")).removeClass("ulf-metabox-hide").addClass("ulf-metabox-show")})},I.fn.ulf_post_formats=function(){this.length&&I(b).on("change",'.editor-post-format select, #formatdiv input[name="post_format"]',function(){var e=I(this).val()||"default";e="0"===e?"default":e,I(".ulf-post-formats").removeClass("ulf-metabox-show").addClass("ulf-metabox-hide"),I(".ulf-post-format-"+e).removeClass("ulf-metabox-hide").addClass("ulf-metabox-show")})},I.fn.ulf_search=function(){return this.each(function(){I(this).find("input").on("change keyup",function(){var n=I(this).val(),e=I(".ulf-wrapper"),t=e.find(".ulf-section").find("> .ulf-field:not(.ulf-depend-on)"),i=t.find("> .ulf-title, .ulf-search-tags");3<n.length?(t.addClass("ulf-metabox-hide"),e.addClass("ulf-search-all"),i.each(function(){var e=I(this);if(e.text().match(new RegExp(".*?"+n+".*?","i"))){var t=e.closest(".ulf-field");t.removeClass("ulf-metabox-hide"),t.parent().ulf_reload_script()}})):(t.removeClass("ulf-metabox-hide"),e.removeClass("ulf-search-all"))})})},I.fn.ulf_sticky=function(){return this.each(function(){var i=I(this),s=I(_),a=i.find(".ulf-header-inner"),c=parseInt(a.css("padding-left"))+parseInt(a.css("padding-right")),r=0,o=!1,e=function(){o||requestAnimationFrame(function(){var e,t,n;e=i.offset().top,t=Math.max(32,e-r),n=s.innerWidth(),t<=32&&782<n?(a.css({width:i.outerWidth()-c}),i.css({height:i.outerHeight()}).addClass("ulf-sticky")):(a.removeAttr("style"),i.removeAttr("style").removeClass("ulf-sticky")),o=!1}),o=!0},t=function(){r=s.scrollTop(),e()};s.on("scroll resize",t),t()})},I.fn.ulf_dependency=function(){return this.each(function(){var e=I(this),t=e.children("[data-controller]");if(t.length){var n=I.ulf_deps.createRuleset(),i=I.ulf_deps.createRuleset(),f=[],l=[];t.each(function(){var s=I(this),e=s.data("controller").split("|"),a=s.data("condition").split("|"),c=s.data("value").toString().split("|"),r=!!s.data("depend-global"),o=r?i:n;I.each(e,function(e,t){var n=c[e]||"",i=a[e]||a[0];(o=o.createRule('[data-depend-id="'+t+'"]',i,n)).include(s),r?l.push(t):f.push(t)})}),f.length&&I.ulf_deps.enable(e,n,f),l.length&&I.ulf_deps.enable(T.vars.$body,i,l)}})},I.fn.ulf_field_accordion=function(){return this.each(function(){I(this).find(".ulf-accordion-title").on("click",function(){var e=I(this),t=e.find(".ulf-accordion-icon"),n=e.next();t.hasClass("fa-angle-right")?t.removeClass("fa-angle-right").addClass("fa-angle-down"):t.removeClass("fa-angle-down").addClass("fa-angle-right"),n.data("opened")||(n.ulf_reload_script(),n.data("opened",!0)),n.toggleClass("ulf-accordion-open")})})},I.fn.ulf_field_backup=function(){return this.each(function(){if(_.wp.customize!==y){var t=this,n=I(this),i=(I("body"),n.find(".ulf-import")),s=n.find(".ulf-reset");t.notificationOverlay=function(){wp.customize.notifications&&wp.customize.OverlayNotification&&(wp.customize.state("saved").get()||(wp.customize.state("changesetStatus").set("trash"),wp.customize.each(function(e){e._dirty=!1}),wp.customize.state("saved").set(!0)),wp.customize.notifications.add(new wp.customize.OverlayNotification("ulf_field_backup_notification",{type:"default",message:" ",loading:!0})))},s.on("click",function(e){e.preventDefault(),T.vars.is_confirm&&(t.notificationOverlay(),_.wp.ajax.post("ulf-reset",{unique:s.data("unique"),nonce:s.data("nonce")}).done(function(e){_.location.reload(!0)}).fail(function(e){alert(e.error),wp.customize.notifications.remove("ulf_field_backup_notification")}))}),i.on("click",function(e){e.preventDefault(),T.vars.is_confirm&&(t.notificationOverlay(),_.wp.ajax.post("ulf-import",{unique:i.data("unique"),nonce:i.data("nonce"),data:n.find(".ulf-import-data").val()}).done(function(e){_.location.reload(!0)}).fail(function(e){alert(e.error),wp.customize.notifications.remove("ulf_field_backup_notification")}))})}})},I.fn.ulf_field_background=function(){return this.each(function(){I(this).find(".ulf--background-image").ulf_reload_script()})},I.fn.ulf_field_code_editor=function(){return this.each(function(){if("function"==typeof CodeMirror){var t=I(this),i=t.find("textarea"),e=t.find(".CodeMirror"),s=i.data("editor");e.length&&e.remove();var a=setInterval(function(){if(t.is(":visible")){var n=CodeMirror.fromTextArea(i[0],s);if("default"!==s.theme&&-1===T.vars.code_themes.indexOf(s.theme)){var e=I("<link>");I("#ulf-codemirror-css").after(e),e.attr({rel:"stylesheet",id:"ulf-codemirror-"+s.theme+"-css",href:s.cdnURL+"/theme/"+s.theme+".min.css",type:"text/css",media:"all"}),T.vars.code_themes.push(s.theme)}CodeMirror.modeURL=s.cdnURL+"/mode/%N/%N.min.js",CodeMirror.autoLoadMode(n,s.mode),n.on("change",function(e,t){i.val(n.getValue()).trigger("change")}),clearInterval(a)}})}})},I.fn.ulf_field_date=function(){return this.each(function(){var e=I(this),i=e.find("input"),s=e.find(".ulf-date-settings").data("settings"),t={showAnim:"",beforeShow:function(e,t){I(t.dpDiv).addClass("ulf-datepicker-wrapper")},onClose:function(e,t){I(t.dpDiv).removeClass("ulf-datepicker-wrapper")}};s=I.extend({},s,t),2===i.length&&(s=I.extend({},s,{onSelect:function(e){I(this),i.first();var t=i.first().attr("id")===I(this).attr("id")?"minDate":"maxDate",n=I.datepicker.parseDate(s.dateFormat,e);i.not(this).datepicker("option",t,n)}})),i.each(function(){var e=I(this);e.hasClass("hasDatepicker")&&e.removeAttr("id").removeClass("hasDatepicker"),e.datepicker(s)})})},I.fn.ulf_field_datetime=function(){return this.each(function(){var e=I(this),i=e.find("input"),t=e.find(".ulf-datetime-settings").data("settings");t=I.extend({},t,{onReady:function(e,t,n){I(n.calendarContainer).addClass("ulf-flatpickr")}}),2===i.length&&(t=I.extend({},t,{onChange:function(e,t,n){"from"===I(n.element).data("type")?i.last().get(0)._flatpickr.set("minDate",e[0]):i.first().get(0)._flatpickr.set("maxDate",e[0])}})),i.each(function(){I(this).flatpickr(t)})})},I.fn.ulf_field_fieldset=function(){return this.each(function(){I(this).find(".ulf-fieldset-content").ulf_reload_script()})},I.fn.ulf_field_gallery=function(){return this.each(function(){var a,e=I(this),c=e.find(".ulf-edit-gallery"),r=e.find(".ulf-clear-gallery"),o=e.find("ul"),f=e.find("input");e.find("img");e.on("click",".ulf-button, .ulf-edit-gallery",function(e){var t=I(this),n=f.val(),i=t.hasClass("ulf-edit-gallery")?"edit":"add",s="add"!==i||n.length?"gallery-edit":"gallery";e.preventDefault(),void 0!==_.wp&&_.wp.media&&_.wp.media.gallery&&("gallery"===s?(a=_.wp.media({library:{type:"image"},frame:"post",state:"gallery",multiple:!0})).open():(a=_.wp.media.gallery.edit('[gallery ids="'+n+'"]'),"add"===i&&a.setState("gallery-library")),a.on("update",function(e){o.empty();var t=e.models.map(function(e){var t=e.toJSON(),n=t.sizes&&t.sizes.thumbnail&&t.sizes.thumbnail.url?t.sizes.thumbnail.url:t.url;return o.append('<li><img src="'+n+'"></li>'),t.id});f.val(t.join(",")).trigger("change"),r.removeClass("hidden"),c.removeClass("hidden")}))}),r.on("click",function(e){e.preventDefault(),o.empty(),f.val("").trigger("change"),r.addClass("hidden"),c.addClass("hidden")})})},I.fn.ulf_field_group=function(){return this.each(function(){var e=I(this),t=e.children(".ulf-fieldset"),n=t.length?t:e,r=n.children(".ulf-cloneable-wrapper"),i=n.children(".ulf-cloneable-hidden"),o=n.children(".ulf-cloneable-max"),f=n.children(".ulf-cloneable-min"),l=r.data("field-id"),d=Boolean(Number(r.data("title-number"))),h=parseInt(r.data("max")),s=parseInt(r.data("min"));r.hasClass("ui-accordion")&&r.find(".ui-accordion-header-icon").remove();var p=function(e){e.find(".ulf-cloneable-title-number").each(function(e){I(this).html(I(this).closest(".ulf-cloneable-item").index()+1+".")})};r.accordion({header:"> .ulf-cloneable-item > .ulf-cloneable-title",collapsible:!0,active:!1,animate:!1,heightStyle:"content",icons:{header:"ulf-cloneable-header-icon fas fa-angle-right",activeHeader:"ulf-cloneable-header-icon fas fa-angle-down"},activate:function(e,t){var n=t.newPanel,i=t.newHeader;if(n.length&&!n.data("opened")){var s=n.children().first().find(":input").first(),a=i.find(".ulf-cloneable-value");s.on("change keyup",function(e){a.text(s.val())}),n.ulf_reload_script(),n.data("opened",!0),n.data("retry",!1)}else n.data("retry")&&(n.ulf_reload_script_retry(),n.data("retry",!1))}}),r.sortable({axis:"y",handle:".ulf-cloneable-title,.ulf-cloneable-sort",helper:"original",cursor:"move",placeholder:"widget-placeholder",start:function(e,t){r.accordion({active:!1}),r.sortable("refreshPositions"),t.item.children(".ulf-cloneable-content").data("retry",!0)},update:function(e,t){T.helper.name_nested_replace(r.children(".ulf-cloneable-item"),l),r.ulf_customizer_refresh(),d&&p(r)}}),n.children(".ulf-cloneable-add").on("click",function(e){e.preventDefault();var t=r.children(".ulf-cloneable-item").length;if(f.hide(),h&&h<t+1)o.show();else{var n=i.ulf_clone(!0);n.removeClass("ulf-cloneable-hidden"),n.find(':input[name!="_pseudo"]').each(function(){this.name=this.name.replace("___","").replace(l+"[0]",l+"["+t+"]")}),r.append(n),r.accordion("refresh"),r.accordion({active:t}),r.ulf_customizer_refresh(),r.ulf_customizer_listen({closest:!0}),d&&p(r)}});var a=function(e){e.preventDefault();var t=r.children(".ulf-cloneable-item").length;if(f.hide(),h&&h<t+1)o.show();else{var n=I(this).parent().parent(),i=n.children(".ulf-cloneable-helper").ulf_clone(!0),s=n.children(".ulf-cloneable-title").ulf_clone(),a=n.children(".ulf-cloneable-content").ulf_clone(),c=I('<div class="ulf-cloneable-item" />');c.append(i),c.append(s),c.append(a),r.children().eq(n.index()).after(c),T.helper.name_nested_replace(r.children(".ulf-cloneable-item"),l),r.accordion("refresh"),r.ulf_customizer_refresh(),r.ulf_customizer_listen({closest:!0}),d&&p(r)}};r.children(".ulf-cloneable-item").children(".ulf-cloneable-helper").on("click",".ulf-cloneable-clone",a),n.children(".ulf-cloneable-hidden").children(".ulf-cloneable-helper").on("click",".ulf-cloneable-clone",a);var c=function(e){e.preventDefault();var t=r.children(".ulf-cloneable-item").length;o.hide(),f.hide(),s&&t-1<s?f.show():(I(this).closest(".ulf-cloneable-item").remove(),T.helper.name_nested_replace(r.children(".ulf-cloneable-item"),l),r.ulf_customizer_refresh(),d&&p(r))};r.children(".ulf-cloneable-item").children(".ulf-cloneable-helper").on("click",".ulf-cloneable-remove",c),n.children(".ulf-cloneable-hidden").children(".ulf-cloneable-helper").on("click",".ulf-cloneable-remove",c)})},I.fn.ulf_field_icon=function(){return this.each(function(){var n=I(this);n.on("click",".ulf-icon-add",function(e){e.preventDefault();var t=I(this),i=I("#ulf-modal-icon");i.removeClass("hidden"),T.vars.$icon_target=n,T.vars.icon_modal_loaded||(i.find(".ulf-modal-loading").show(),_.wp.ajax.post("ulf-get-icons",{nonce:t.data("nonce")}).done(function(e){i.find(".ulf-modal-loading").hide(),T.vars.icon_modal_loaded=!0;var n=i.find(".ulf-modal-load").html(e.content);n.on("click","i",function(e){e.preventDefault();var t=I(this).attr("title");T.vars.$icon_target.find(".ulf-icon-preview i").removeAttr("class").addClass(t),T.vars.$icon_target.find(".ulf-icon-preview").removeClass("hidden"),T.vars.$icon_target.find(".ulf-icon-remove").removeClass("hidden"),T.vars.$icon_target.find("input").val(t).trigger("change"),i.addClass("hidden")}),i.on("change keyup",".ulf-icon-search",function(){var t=I(this).val();n.find("i").each(function(){var e=I(this);e.attr("title").search(new RegExp(t,"i"))<0?e.hide():e.show()})}),i.on("click",".ulf-modal-close, .ulf-modal-overlay",function(){i.addClass("hidden")})}).fail(function(e){i.find(".ulf-modal-loading").hide(),i.find(".ulf-modal-load").html(e.error),i.on("click",function(){i.addClass("hidden")})}))}),n.on("click",".ulf-icon-remove",function(e){e.preventDefault(),n.find(".ulf-icon-preview").addClass("hidden"),n.find("input").val("").trigger("change"),I(this).addClass("hidden")})})},I.fn.ulf_field_map=function(){return this.each(function(){if("undefined"!=typeof L){var e=I(this),t=e.find(".ulf--map-osm"),n=e.find(".ulf--map-search input"),i=e.find(".ulf--latitude"),s=e.find(".ulf--longitude"),a=e.find(".ulf--zoom"),c=t.data("map"),r=L.map(t.get(0),c);L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}).addTo(r);var o=L.marker(c.center,{draggable:!0}).addTo(r),f=function(e){i.val(e.lat),s.val(e.lng),a.val(r.getZoom())};r.on("click",function(e){o.setLatLng(e.latlng),f(e.latlng)}),r.on("zoom",function(){f(o.getLatLng())}),o.on("drag",function(){f(o.getLatLng())}),n.length||(n=I('[data-depend-id="'+e.find(".ulf--address-field").data("address-field")+'"]'));var l={};n.autocomplete({source:function(e,n){var i=e.term;i in l?n(l[i]):I.get("https://nominatim.openstreetmap.org/search",{format:"json",q:i},function(e){var t;t=e.length?e.map(function(e){return{value:e.display_name,label:e.display_name,lat:e.lat,lon:e.lon}},"json"):[{value:"no-data",label:"No Results."}],l[i]=t,n(t)})},select:function(e,t){if("no-data"===t.item.value)return!1;var n=L.latLng(t.item.lat,t.item.lon);r.panTo(n),o.setLatLng(n),f(n)},create:function(e,t){I(this).autocomplete("widget").addClass("ulf-map-ui-autocomplate")}});var d=function(){var e=L.latLng(i.val(),s.val());r.panTo(e),o.setLatLng(e)};i.on("change",d),s.on("change",d)}})},I.fn.ulf_field_link=function(){return this.each(function(){var s=I(this),e=s.find(".ulf--link"),a=s.find(".ulf--add"),c=s.find(".ulf--edit"),r=s.find(".ulf--remove"),o=s.find(".ulf--result"),t=T.helper.uid("ulf-wplink-textarea-");a.on("click",function(e){e.preventDefault(),_.wpLink.open(t)}),c.on("click",function(e){e.preventDefault(),a.trigger("click"),I("#wp-link-url").val(s.find(".ulf--url").val()),I("#wp-link-text").val(s.find(".ulf--text").val()),I("#wp-link-target").prop("checked","_blank"===s.find(".ulf--target").val())}),r.on("click",function(e){e.preventDefault(),s.find(".ulf--url").val("").trigger("change"),s.find(".ulf--text").val(""),s.find(".ulf--target").val(""),a.removeClass("hidden"),c.addClass("hidden"),r.addClass("hidden"),o.parent().addClass("hidden")}),e.attr("id",t).on("change",function(){var e=_.wpLink.getAttrs(),t=e.href,n=I("#wp-link-text").val(),i=e.target?e.target:"";s.find(".ulf--url").val(t).trigger("change"),s.find(".ulf--text").val(n),s.find(".ulf--target").val(i),o.html('{url:"'+t+'", text:"'+n+'", target:"'+i+'"}'),a.addClass("hidden"),c.removeClass("hidden"),r.removeClass("hidden"),o.parent().removeClass("hidden")})})},I.fn.ulf_field_media=function(){return this.each(function(){var i,s=I(this),a=s.find(".ulf--button"),c=s.find(".ulf--remove"),r=a.data("library")&&a.data("library").split(",")||"",o=!!s.hasClass("ulf-assign-field-background")&&s.closest(".ulf-field-background").find(".ulf--auto-attributes");a.on("click",function(e){e.preventDefault(),void 0!==_.wp&&_.wp.media&&_.wp.media.gallery&&(i||(i=_.wp.media({library:{type:r}})).on("select",function(){var e,t=i.state().get("selection").first().attributes,n=a.data("preview-size")||"thumbnail";r.length&&-1===r.indexOf(t.subtype)&&-1===r.indexOf(t.type)||(s.find(".ulf--id").val(t.id),s.find(".ulf--width").val(t.width),s.find(".ulf--height").val(t.height),s.find(".ulf--alt").val(t.alt),s.find(".ulf--title").val(t.title),s.find(".ulf--description").val(t.description),e=void 0!==t.sizes&&void 0!==t.sizes.thumbnail&&"thumbnail"===n?t.sizes.thumbnail.url:void 0!==t.sizes&&void 0!==t.sizes.full?t.sizes.full.url:"image"===t.type?t.url:t.icon,console.log(t),o&&o.removeClass("ulf--attributes-hidden"),c.removeClass("hidden"),s.find(".ulf--preview").removeClass("hidden"),s.find(".ulf--src").attr("src",e),s.find(".ulf--thumbnail").val(e),s.find(".ulf--url").val(t.url).trigger("change"))}),i.open())}),c.on("click",function(e){e.preventDefault(),o&&o.addClass("ulf--attributes-hidden"),c.addClass("hidden"),s.find("input").val(""),s.find(".ulf--preview").addClass("hidden"),s.find(".ulf--url").trigger("change")})})},I.fn.ulf_field_repeater=function(){return this.each(function(){var e=I(this),t=e.children(".ulf-fieldset"),n=t.length?t:e,c=n.children(".ulf-repeater-wrapper"),i=n.children(".ulf-repeater-hidden"),r=n.children(".ulf-repeater-max"),o=n.children(".ulf-repeater-min"),f=c.data("field-id"),l=parseInt(c.data("max")),s=parseInt(c.data("min"));c.children(".ulf-repeater-item").children(".ulf-repeater-content").ulf_reload_script(),c.sortable({axis:"y",handle:".ulf-repeater-sort",helper:"original",cursor:"move",placeholder:"widget-placeholder",update:function(e,t){T.helper.name_nested_replace(c.children(".ulf-repeater-item"),f),c.ulf_customizer_refresh(),t.item.ulf_reload_script_retry()}}),n.children(".ulf-repeater-add").on("click",function(e){e.preventDefault();var t=c.children(".ulf-repeater-item").length;if(o.hide(),l&&l<t+1)r.show();else{var n=i.ulf_clone(!0);n.removeClass("ulf-repeater-hidden"),n.find(':input[name!="_pseudo"]').each(function(){this.name=this.name.replace("___","").replace(f+"[0]",f+"["+t+"]")}),c.append(n),n.children(".ulf-repeater-content").ulf_reload_script(),c.ulf_customizer_refresh(),c.ulf_customizer_listen({closest:!0})}});var a=function(e){e.preventDefault();var t=c.children(".ulf-repeater-item").length;if(o.hide(),l&&l<t+1)r.show();else{var n=I(this).parent().parent().parent(),i=n.children(".ulf-repeater-content").ulf_clone(),s=n.children(".ulf-repeater-helper").ulf_clone(!0),a=I('<div class="ulf-repeater-item" />');a.append(i),a.append(s),c.children().eq(n.index()).after(a),a.children(".ulf-repeater-content").ulf_reload_script(),T.helper.name_nested_replace(c.children(".ulf-repeater-item"),f),c.ulf_customizer_refresh(),c.ulf_customizer_listen({closest:!0})}};c.children(".ulf-repeater-item").children(".ulf-repeater-helper").on("click",".ulf-repeater-clone",a),n.children(".ulf-repeater-hidden").children(".ulf-repeater-helper").on("click",".ulf-repeater-clone",a);var d=function(e){e.preventDefault();var t=c.children(".ulf-repeater-item").length;r.hide(),o.hide(),s&&t-1<s?o.show():(I(this).closest(".ulf-repeater-item").remove(),T.helper.name_nested_replace(c.children(".ulf-repeater-item"),f),c.ulf_customizer_refresh())};c.children(".ulf-repeater-item").children(".ulf-repeater-helper").on("click",".ulf-repeater-remove",d),n.children(".ulf-repeater-hidden").children(".ulf-repeater-helper").on("click",".ulf-repeater-remove",d)})},I.fn.ulf_field_slider=function(){return this.each(function(){var e=I(this),n=e.find("input"),t=e.find(".ulf-slider-ui"),i=n.data(),s=n.val()||0;t.hasClass("ui-slider")&&t.empty(),t.slider({range:"min",value:s,min:i.min||0,max:i.max||100,step:i.step||1,slide:function(e,t){n.val(t.value).trigger("change")}}),n.on("keyup",function(){t.slider("value",n.val())})})},I.fn.ulf_field_sortable=function(){return this.each(function(){var n=I(this).find(".ulf-sortable");n.sortable({axis:"y",helper:"original",cursor:"move",placeholder:"widget-placeholder",update:function(e,t){n.ulf_customizer_refresh()}}),n.find(".ulf-sortable-content").ulf_reload_script()})},I.fn.ulf_field_sorter=function(){return this.each(function(){var i=I(this),e=i.find(".ulf-enabled"),t=i.find(".ulf-disabled"),n=!!t.length&&t;e.sortable({connectWith:n,placeholder:"ui-sortable-placeholder",update:function(e,t){var n=t.item.find("input");t.item.parent().hasClass("ulf-enabled")?n.attr("name",n.attr("name").replace("disabled","enabled")):n.attr("name",n.attr("name").replace("enabled","disabled")),i.ulf_customizer_refresh()}}),n&&n.sortable({connectWith:e,placeholder:"ui-sortable-placeholder",update:function(e,t){i.ulf_customizer_refresh()}})})},I.fn.ulf_field_spinner=function(){return this.each(function(){var e=I(this),n=e.find("input"),t=e.find(".ui-button"),i=n.data();t.length&&t.remove(),n.spinner({min:i.min||0,max:i.max||100,step:i.step||1,create:function(e,t){i.unit&&n.after('<span class="ui-button ulf--unit">'+i.unit+"</span>")},spin:function(e,t){n.val(t.value).trigger("change")}})})},I.fn.ulf_field_switcher=function(){return this.each(function(){var n=I(this).find(".ulf--switcher");n.on("click",function(){var e=0,t=n.find("input");n.hasClass("ulf--active")?n.removeClass("ulf--active"):(e=1,n.addClass("ulf--active")),t.val(e).trigger("change")})})},I.fn.ulf_field_tabbed=function(){return this.each(function(){var e=I(this),t=e.find(".ulf-tabbed-nav a"),s=e.find(".ulf-tabbed-content");s.eq(0).ulf_reload_script(),t.on("click",function(e){e.preventDefault();var t=I(this),n=t.index(),i=s.eq(n);t.addClass("ulf-tabbed-active").siblings().removeClass("ulf-tabbed-active"),i.ulf_reload_script(),i.removeClass("hidden").siblings().addClass("hidden")})})},I.fn.ulf_field_typography=function(){return this.each(function(){var j=this,L=I(this),i=[],A=ulf_typography_json.webfonts,t=ulf_typography_json.googlestyles,q=ulf_typography_json.defaultstyles;j.sanitize_subset=function(e){return e=(e=e.replace("-ext"," Extended")).charAt(0).toUpperCase()+e.slice(1)},j.sanitize_style=function(e){return t[e]?t[e]:e},j.load_google_font=function(e,t,n){e&&"object"==typeof WebFont&&(t=t?t.replace("normal",""):"",n=n?n.replace("normal",""):"",(t||n)&&(e=e+":"+t+n),-1===i.indexOf(e)&&WebFont.load({google:{families:[e]}}),i.push(e))},j.append_select_options=function(e,t,s,a,c){e.find("option").not(":first").remove();var r="";I.each(t,function(e,t){var n,i=t;n=c?s&&-1!==s.indexOf(t)?" selected":"":s&&s===t?" selected":"","subset"===a?i=j.sanitize_subset(t):"style"===a&&(i=j.sanitize_style(t)),r+='<option value="'+t+'"'+n+">"+i+"</option>"}),e.append(r).trigger("ulf.change").trigger("chosen:updated")},j.init=function(){var l=[],e=L.find(".ulf--typography"),d=L.find(".ulf--type"),h=L.find(".ulf--block-font-style"),v=e.data("unit"),g=e.data("line-height-unit"),t=e.data("exclude")?e.data("exclude").split(","):[];L.find(".ulf--chosen").length&&L.find("select").each(function(){var e=I(this),t=e.parent().find(".chosen-container");t.length&&t.remove(),e.chosen({allow_single_deselect:!0,disable_search_threshold:15,width:"100%"})});var m=L.find(".ulf--font-family"),i=m.val();m.find("option").not(":first-child").remove();var s="";I.each(A,function(n,e){t&&-1!==t.indexOf(n)||(s+='<optgroup label="'+e.label+'">',I.each(e.fonts,function(e,t){s+='<option value="'+(t="object"==typeof t?e:t)+'" data-type="'+n+'"'+(t===i?" selected":"")+">"+t+"</option>"}),s+="</optgroup>")}),m.append(s).trigger("chosen:updated");var p=L.find(".ulf--block-font-style");if(p.length){var u=L.find(".ulf--font-style-select"),_=u.val()?u.val().replace(/normal/g,""):"";u.on("change ulf.change",function(e){var t=u.val();!t&&l&&-1===l.indexOf("normal")&&(t=l[0]);var n=t&&"italic"!==t&&"normal"===t?"normal":"",i=t&&"italic"!==t&&"normal"!==t?t.replace("italic",""):n,s=t&&"italic"===t.substr(-6)?"italic":"";L.find(".ulf--font-weight").val(i),L.find(".ulf--font-style").val(s)});var b=L.find(".ulf--block-extra-styles");if(b.length)var y=L.find(".ulf--extra-styles"),w=y.val()}var C=L.find(".ulf--block-subset");if(C.length)var k=L.find(".ulf--subset"),x=k.val(),z=k.data("multiple")||!1;var D=L.find(".ulf--block-backup-font-family");m.on("change ulf.change",function(e){C.length&&C.addClass("hidden"),b.length&&b.addClass("hidden"),D.length&&D.addClass("hidden");var t=m.find(":selected"),n=t.val(),i=t.data("type");if(i&&n){if("google"!==i&&"custom"!==i||!D.length||D.removeClass("hidden"),p.length){var s=q;"google"===i&&A[i].fonts[n][0]?s=A[i].fonts[n][0]:"custom"===i&&A[i].fonts[n]&&(s=A[i].fonts[n]);var a=-1!==(l=s).indexOf("normal")?"normal":s[0],c=_&&-1!==s.indexOf(_)?_:a;j.append_select_options(u,s,c,"style"),_=!1,p.removeClass("hidden"),"google"===i&&b.length&&1<s.length&&(j.append_select_options(y,s,w,"style",!0),w=!1,b.removeClass("hidden"))}if("google"===i&&C.length&&A[i].fonts[n][1]){var r=A[i].fonts[n][1],o=r.length<2&&"latin"!==r[0]?r[0]:"",f=x&&-1!==r.indexOf(x)?x:o;f=z&&x?x:f,j.append_select_options(k,r,f,"subset",z),x=!1,C.removeClass("hidden")}}else h.find(":input").val(""),C.length&&(k.find("option").not(":first-child").remove(),k.trigger("chosen:updated")),p.length&&(u.find("option").not(":first-child").remove(),u.trigger("chosen:updated"));d.val(i)}).trigger("ulf.change");var O=L.find(".ulf--block-preview");if(O.length){var S=L.find(".ulf--preview");L.on("change",T.helper.debounce(function(e){O.removeClass("hidden");var t=m.val(),n=L.find(".ulf--font-weight").val(),i=L.find(".ulf--font-style").val(),s=L.find(".ulf--font-size").val(),a=L.find(".ulf--font-variant").val(),c=L.find(".ulf--line-height").val(),r=L.find(".ulf--text-align").val(),o=L.find(".ulf--text-transform").val(),f=L.find(".ulf--text-decoration").val(),l=L.find(".ulf--color").val(),d=L.find(".ulf--word-spacing").val(),h=L.find(".ulf--letter-spacing").val(),p=L.find(".ulf--custom-style").val();"google"===L.find(".ulf--type").val()&&j.load_google_font(t,n,i);var u={};t&&(u.fontFamily=t),n&&(u.fontWeight=n),i&&(u.fontStyle=i),a&&(u.fontVariant=a),s&&(u.fontSize=s+v),c&&(u.lineHeight=c+g),h&&(u.letterSpacing=h+v),d&&(u.wordSpacing=d+v),r&&(u.textAlign=r),o&&(u.textTransform=o),f&&(u.textDecoration=f),l&&(u.color=l),S.removeAttr("style"),p&&S.attr("style",p),S.css(u)},100)),O.on("click",function(){S.toggleClass("ulf--black-background");var e=O.find(".ulf--toggle");e.hasClass("fa-toggle-off")?e.removeClass("fa-toggle-off").addClass("fa-toggle-on"):e.removeClass("fa-toggle-on").addClass("fa-toggle-off")}),O.hasClass("hidden")||L.trigger("change")}},j.init()})},I.fn.ulf_field_upload=function(){return this.each(function(){var t,e=I(this),n=e.find("input"),i=e.find(".ulf--button"),s=e.find(".ulf--remove"),a=e.find(".ulf--preview"),c=e.find(".ulf--src"),r=i.data("library")&&i.data("library").split(",")||"";i.on("click",function(e){e.preventDefault(),void 0!==_.wp&&_.wp.media&&_.wp.media.gallery&&(t||(t=_.wp.media({library:{type:r}})).on("select",function(){var e=t.state().get("selection").first().attributes;r.length&&-1===r.indexOf(e.subtype)&&-1===r.indexOf(e.type)||n.val(e.url).trigger("change")}),t.open())}),s.on("click",function(e){e.preventDefault(),n.val("").trigger("change")}),n.on("change",function(e){var t=n.val();t?s.removeClass("hidden"):s.addClass("hidden"),a.length&&(-1!==I.inArray(t.split(".").pop().toLowerCase(),["jpg","jpeg","gif","png","svg","webp"])?(a.removeClass("hidden"),c.attr("src",t)):a.addClass("hidden"))})})},I.fn.ulf_field_wp_editor=function(){return this.each(function(){if(void 0!==_.wp.editor&&void 0!==_.tinyMCEPreInit&&void 0!==_.tinyMCEPreInit.mceInit.ulf_wp_editor){var e=I(this),t=e.find(".ulf-wp-editor"),n=e.find("textarea");(e.find(".wp-editor-wrap").length||e.find(".mce-container").length)&&(t.empty(),t.append(n),n.css("display",""));var i=T.helper.uid("ulf-editor-");n.attr("id",i);var s={tinymce:_.tinyMCEPreInit.mceInit.ulf_wp_editor,quicktags:_.tinyMCEPreInit.qtInit.ulf_wp_editor},a=t.data("editor-settings"),c=wp.oldEditor?wp.oldEditor:wp.editor;c&&c.hasOwnProperty("autop")&&(wp.editor.autop=c.autop,wp.editor.removep=c.removep,wp.editor.initialize=c.initialize);s.tinymce=I.extend({},s.tinymce,{selector:"#"+i,setup:function(t){t.on("change keyup",function(){var e=a.wpautop?t.getContent():wp.editor.removep(t.getContent());n.val(e).trigger("change")})}}),!1===a.tinymce&&(s.tinymce=!1,t.addClass("ulf-no-tinymce")),!1===a.quicktags&&(s.quicktags=!1,t.addClass("ulf-no-quicktags"));var r=setInterval(function(){e.is(":visible")&&(_.wp.editor.initialize(i,s),clearInterval(r))});if(a.media_buttons&&_.ulf_media_buttons){var o=t.find(".wp-media-buttons");if(o.length)o.find(".ulf-shortcode-button").data("editor-id",i);else{var f=I(_.ulf_media_buttons);f.find(".ulf-shortcode-button").data("editor-id",i),t.prepend(f)}}}})},I.fn.ulf_confirm=function(){return this.each(function(){I(this).on("click",function(e){var t=I(this).data("confirm")||_.ulf_vars.i18n.confirm;if(!confirm(t))return e.preventDefault(),!1;T.vars.is_confirm=!0,T.vars.form_modified=!1})})},I.fn.serializeObject=function(){var s={};return I.each(this.serializeArray(),function(e,t){var n=t.name,i=t.value;s[n]=s[n]===y?i:I.isArray(s[n])?s[n].concat(i):[s[n],i]}),s},I.fn.ulf_save=function(){return this.each(function(){var i,s=I(this),c=I(".ulf-save"),r=I(".ulf-options"),o=!1;s.on("click",function(e){if(!o){var t=s.data("save"),n=s.val();c.attr("value",t),s.hasClass("ulf-save-ajax")?(e.preventDefault(),r.addClass("ulf-saving"),c.prop("disabled",!0),_.wp.ajax.post("ulf_"+r.data("unique")+"_ajax_save",{data:I("#ulf-form").serializeJSONULF()}).done(function(e){if(I(".ulf-error").remove(),Object.keys(e.errors).length){var a='<i class="ulf-label-error ulf-error">!</i>';I.each(e.errors,function(e,t){var n=I('[data-depend-id="'+e+'"]'),i=I('a[href="#tab='+n.closest(".ulf-section").data("section-id")+'"]'),s=i.closest(".ulf-tab-item");n.closest(".ulf-fieldset").append('<p class="ulf-error ulf-error-text">'+t+"</p>"),i.find(".ulf-error").length||i.append(a),s.find(".ulf-arrow .ulf-error").length||s.find(".ulf-arrow").append(a)})}r.removeClass("ulf-saving"),c.prop("disabled",!1).attr("value",n),o=!1,T.vars.form_modified=!1,T.vars.$form_warning.hide(),clearTimeout(i);var t=I(".ulf-form-success");t.empty().append(e.notice).fadeIn("fast",function(){i=setTimeout(function(){t.fadeOut("fast")},1e3)})}).fail(function(e){alert(e.error)})):T.vars.form_modified=!1}o=!0})})},I.fn.ulf_options=function(){return this.each(function(){var e=I(this),t=e.find(".ulf-content"),n=e.find(".ulf-form-success"),i=e.find(".ulf-form-warning"),s=e.find(".ulf-header .ulf-save");(T.vars.$form_warning=i).length&&(_.onbeforeunload=function(){return!!T.vars.form_modified||y},t.on("change keypress",":input",function(){T.vars.form_modified||(n.hide(),i.fadeIn("fast"),T.vars.form_modified=!0)})),n.hasClass("ulf-form-show")&&setTimeout(function(){n.fadeOut("fast")},1e3),I(b).keydown(function(e){if((e.ctrlKey||e.metaKey)&&83===e.which)return s.trigger("click"),e.preventDefault(),!1})})},I.fn.ulf_taxonomy=function(){return this.each(function(){var e=I(this),t=e.parents("form");if("addtag"===t.attr("id")){var n=t.find("#submit"),i=e.find(".ulf-field").ulf_clone();n.on("click",function(){t.find(".form-required").hasClass("form-invalid")||(e.data("inited",!1),e.empty(),e.html(i),i=i.ulf_clone(),e.ulf_reload_script())})}})},I.fn.ulf_shortcode=function(){var m=this;return m.shortcode_parse=function(e,n){var i="";return I.each(e,function(e,t){i+="["+(n=n||e),I.each(t,function(e,t){"content"===e?(i+="]",i+=t,i+="[/"+n):i+=m.shortcode_tags(e,t)}),i+="]"}),i},m.shortcode_tags=function(e,t){var n="";return""!==t&&("object"!=typeof t||I.isArray(t)?n+=" "+e.replace("-","_")+'="'+t.toString()+'"':I.each(t,function(e,t){switch(e){case"background-image":t=t.url?t.url:""}""!==t&&(n+=" "+e.replace("-","_")+'="'+t.toString()+'"')})),n},m.insertAtChars=function(e,t){var n=void 0!==e[0].name?e[0]:e;return n.value.length&&void 0!==n.selectionStart?(n.focus(),n.value.substring(0,n.selectionStart)+t+n.value.substring(n.selectionEnd,n.value.length)):(n.focus(),t)},m.send_to_editor=function(e,t){var n;if("undefined"!=typeof tinymce&&(n=tinymce.get(t)),n&&!n.isHidden())n.execCommand("mceInsertContent",!1,e);else{var i=I("#"+t);i.val(m.insertAtChars(i,e)).trigger("change")}},this.each(function(){var c,r,o,n,f,l,d,s,h,p=I(this),i=p.find(".ulf-modal-load"),u=(p.find(".ulf-modal-content"),p.find(".ulf-modal-insert")),a=p.find(".ulf-modal-loading"),t=p.find("select"),v=p.data("modal-id"),g=p.data("nonce");I(b).on("click",'.ulf-shortcode-button[data-modal-id="'+v+'"]',function(e){e.preventDefault(),h=I(this),c=h.data("editor-id")||!1,r=h.data("target-id")||!1,o=h.data("gutenberg-id")||!1,p.removeClass("hidden"),p.hasClass("ulf-shortcode-single")&&f===y&&t.trigger("change")}),t.on("change",function(){var e=I(this),t=e.find(":selected");n=e.val(),f=t.data("shortcode"),l=t.data("view")||"normal",d=t.data("group")||f,i.empty(),n?(a.show(),_.wp.ajax.post("ulf-get-shortcode-"+v,{shortcode_key:n,nonce:g}).done(function(e){a.hide();var t=I(e.content).appendTo(i);u.parent().removeClass("hidden"),s=t.find(".ulf--repeat-shortcode").ulf_clone(),t.ulf_reload_script(),t.find(".ulf-fields").ulf_reload_script()})):u.parent().addClass("hidden")}),u.on("click",function(e){if(e.preventDefault(),!u.prop("disabled")&&!u.attr("disabled")){var i="",t=p.find(".ulf-field:not(.ulf-depend-on)").find(":input:not(.ignore)").serializeObjectULF();switch(l){case"contents":var n=f?t[f]:t;I.each(n,function(e,t){var n=f||e;i+="["+n+"]"+t+"[/"+n+"]"});break;case"group":i+="["+f,I.each(t[f],function(e,t){i+=m.shortcode_tags(e,t)}),i+="]",i+=m.shortcode_parse(t[d],d),i+="[/"+f+"]";break;case"repeater":i+=m.shortcode_parse(t[d],d);break;default:i+=m.shortcode_parse(t)}if(i=""===i?"["+f+"]":i,o){var s=_.ulf_gutenberg_props.attributes.hasOwnProperty("shortcode")?_.ulf_gutenberg_props.attributes.shortcode:"";_.ulf_gutenberg_props.setAttributes({shortcode:s+i})}else if(c)m.send_to_editor(i,c);else{var a=r?I(r):h.parent().find("textarea");a.val(m.insertAtChars(a,i)).trigger("change")}p.addClass("hidden")}}),p.on("click",".ulf--repeat-button",function(e){e.preventDefault();var t=p.find(".ulf--repeatable"),n=s.ulf_clone(),i=n.find(".ulf-repeat-remove");n.appendTo(t);n.find(".ulf-fields").ulf_reload_script(),T.helper.name_nested_replace(p.find(".ulf--repeat-shortcode"),d),i.on("click",function(){n.remove(),T.helper.name_nested_replace(p.find(".ulf--repeat-shortcode"),d)})}),p.on("click",".ulf-modal-close, .ulf-modal-overlay",function(){p.addClass("hidden")})})},"function"==typeof Color&&(Color.prototype.toString=function(){if(this._alpha<1)return this.toCSS("rgba",this._alpha).replace(/\s+/g,"");var e=parseInt(this._color,10).toString(16);if(this.error)return"";if(e.length<6)for(var t=6-e.length-1;0<=t;t--)e="0"+e;return"#"+e}),T.funcs.parse_color=function(e){var t=e.replace(/\s+/g,""),n=-1!==t.indexOf("rgba")?parseFloat(100*t.replace(/^.*,(.+)\)/,"$1")):100;return{value:t,transparent:n,rgba:n<100}},I.fn.ulf_color=function(){return this.each(function(){var c,r=I(this),o=T.funcs.parse_color(r.val()),e=!_.ulf_vars.color_palette.length||_.ulf_vars.color_palette;r.hasClass("wp-color-picker")&&r.closest(".wp-picker-container").after(r).remove(),r.wpColorPicker({palettes:e,change:function(e,t){var n=t.color.toString();c.removeClass("ulf--transparent-active"),c.find(".ulf--transparent-offset").css("background-color",n),r.val(n).trigger("change")},create:function(){c=r.closest(".wp-picker-container");var i=r.data("a8cIris"),e=I('<div class="ulf--transparent-wrap"><div class="ulf--transparent-slider"></div><div class="ulf--transparent-offset"></div><div class="ulf--transparent-text"></div><div class="ulf--transparent-button">transparent <i class="fas fa-toggle-off"></i></div></div>').appendTo(c.find(".wp-picker-holder")),s=e.find(".ulf--transparent-slider"),a=e.find(".ulf--transparent-text"),n=e.find(".ulf--transparent-offset"),t=e.find(".ulf--transparent-button");"transparent"===r.val()&&c.addClass("ulf--transparent-active"),t.on("click",function(){"transparent"!==r.val()?(r.val("transparent").trigger("change").removeClass("iris-error"),c.addClass("ulf--transparent-active")):(r.val(i._color.toString()).trigger("change"),c.removeClass("ulf--transparent-active"))}),s.slider({value:o.transparent,step:1,min:0,max:100,slide:function(e,t){var n=parseFloat(t.value/100);i._color._alpha=n,r.wpColorPicker("color",i._color.toString()),a.text(1===n||0===n?"":n)},create:function(){var e=parseFloat(o.transparent/100),t=e<1?e:"";a.text(t),n.css("background-color",o.value),c.on("click",".wp-picker-clear",function(){i._color._alpha=1,a.text(""),s.slider("option","value",100),c.removeClass("ulf--transparent-active"),r.trigger("change")}),c.on("click",".wp-picker-default",function(){var e=T.funcs.parse_color(r.data("default-color")),t=parseFloat(e.transparent/100),n=t<1?t:"";i._color._alpha=t,a.text(n),s.slider("option","value",e.transparent),"transparent"===e.value&&(r.removeClass("iris-error"),c.addClass("ulf--transparent-active"))})}})}})})},I.fn.ulf_chosen=function(){return this.each(function(){var a=I(this),e=a.parent().find(".chosen-container"),t=a.hasClass("ulf-chosen-sortable")||!1,n=a.hasClass("ulf-chosen-ajax")||!1,i=a.attr("multiple")||!1,s=i?"100%":"auto",c=I.extend({allow_single_deselect:!0,disable_search_threshold:10,width:s,no_results_text:_.ulf_vars.i18n.no_results_text},a.data("chosen-settings"));if(e.length&&e.remove(),n){var r=I.extend({data:{type:"post",nonce:""},allow_single_deselect:!0,disable_search_threshold:-1,width:"100%",min_length:3,type_delay:500,typing_text:_.ulf_vars.i18n.typing_text,searching_text:_.ulf_vars.i18n.searching_text,no_results_text:_.ulf_vars.i18n.no_results_text},a.data("chosen-settings"));a.ULFAjaxChosen(r)}else a.chosen(c);if(i){var o=a.parent().find(".ulf-hide-select"),f=o.val()||[];a.on("change",function(e,t){t&&t.selected?o.append('<option value="'+t.selected+'" selected="selected">'+t.selected+"</option>"):t&&t.deselected&&o.find('option[value="'+t.deselected+'"]').remove(),_.wp.customize!==y&&0===o.children().length&&o.data("customize-setting-link")&&_.wp.customize.control(o.data("customize-setting-link")).setting.set(""),o.trigger("change")}),a.ULFChosenOrder(f,!0)}if(t){var l=a.parent().find(".chosen-container").find(".chosen-choices");l.bind("mousedown",function(e){I(e.target).is("span")&&e.stopPropagation()}),l.sortable({items:"li:not(.search-field)",helper:"orginal",cursor:"move",placeholder:"search-choice-placeholder",start:function(e,t){t.placeholder.width(t.item.innerWidth()),t.placeholder.height(t.item.innerHeight())},update:function(e,t){var i="",s=a.data("chosen"),n=a.parent().find(".ulf-hide-select");l.find(".search-choice-close").each(function(){var n=I(this).data("option-array-index");I.each(s.results_data,function(e,t){t.array_index===n&&(i+='<option value="'+t.value+'" selected>'+t.value+"</option>")})}),n.children().remove(),n.append(i),n.trigger("change")}})}})},I.fn.ulf_checkbox=function(){return this.each(function(){var e=I(this),t=e.find(".ulf--input"),n=e.find(".ulf--checkbox");n.on("click",function(){t.val(Number(n.prop("checked"))).trigger("change")})})},I.fn.ulf_siblings=function(){return this.each(function(){var t=I(this),e=t.find(".ulf--sibling"),n=t.data("multiple")||!1;e.on("click",function(){var e=I(this);n?e.hasClass("ulf--active")?(e.removeClass("ulf--active"),e.find("input").prop("checked",!1).trigger("change")):(e.addClass("ulf--active"),e.find("input").prop("checked",!0).trigger("change")):(t.find("input").prop("checked",!1),e.find("input").prop("checked",!0).trigger("change"),e.addClass("ulf--active").siblings().removeClass("ulf--active"))})})},I.fn.ulf_help=function(){return this.each(function(){var e,t,n=I(this);n.on({mouseenter:function(){e=I('<div class="ulf-tooltip"></div>').html(n.find(".ulf-help-text").html()).appendTo("body"),t=T.vars.is_rtl?n.offset().left+24:n.offset().left-e.outerWidth(),e.css({top:n.offset().top-(e.outerHeight()/2-14),left:t})},mouseleave:function(){e!==y&&e.remove()}})})},I.fn.ulf_customizer_refresh=function(){return this.each(function(){var e=I(this),t=e.closest(".ulf-customize-complex");if(t.length){var n=t.data("unique-id");if(n===y)return;var i=t.find(":input"),s=t.data("option-id"),a=i.serializeObjectULF(),c=!I.isEmptyObject(a)&&a[n]&&a[n][s]?a[n][s]:"",r=_.wp.customize.control(n+"["+s+"]");r.setting._value=null,r.setting.set(c)}else e.find(":input").first().trigger("change");I(b).trigger("ulf-customizer-refresh",e)})},I.fn.ulf_customizer_listen=function(e){var t=I.extend({closest:!1},e);return this.each(function(){if(_.wp.customize!==y){var n=t.closest?I(this).closest(".ulf-customize-complex"):I(this),e=n.find(":input"),i=n.data("unique-id"),s=n.data("option-id");i!==y&&e.on("change keyup",function(){var e=n.find(":input").serializeObjectULF(),t=!I.isEmptyObject(e)&&e[i]&&e[i][s]?e[i][s]:"";_.wp.customize.control(i+"["+s+"]").setting.set(t)})}})},I(b).on("expanded",".control-section",function(){var e=I(this);if(e.hasClass("open")&&!e.data("inited")){var t=e.find(".ulf-customize-field"),n=e.find(".ulf-customize-complex");t.length&&(e.ulf_dependency(),t.ulf_reload_script({dependency:!1}),n.ulf_customizer_listen()),e.data("inited",!0)}}),T.vars.$window.on("resize ulf.resize",T.helper.debounce(function(e){(-1<navigator.userAgent.indexOf("AppleWebKit/")?T.vars.$window.width():_.innerWidth)<=782&&!T.vars.onloaded&&(I(".ulf-section").ulf_reload_script(),T.vars.onloaded=!0)},200)).trigger("ulf.resize"),I.fn.ulf_widgets=function(){return this.each(function(){I(b).on("widget-added widget-updated",function(e,t){var n=t.find(".ulf-fields");n.length&&n.ulf_reload_script()}),I(b).on("click",".widget-top",function(e){var t=I(this).parent().find(".ulf-fields");t.length&&t.ulf_reload_script()}),I(".widgets-sortables, .control-section-sidebar").on("sortstop",function(e,t){t.item.find(".ulf-fields").ulf_reload_script_retry()})})},I.fn.ulf_nav_menu=function(){return this.each(function(){var e=I(this);e.on("click","a.item-edit",function(){I(this).closest("li.menu-item").find(".ulf-fields").ulf_reload_script()}),e.on("sortstop",function(e,t){t.item.find(".ulf-fields").ulf_reload_script_retry()})})},I.fn.ulf_reload_script_retry=function(){return this.each(function(){var e=I(this);e.data("inited")&&e.children(".ulf-field-wp_editor").ulf_field_wp_editor()})},I.fn.ulf_reload_script=function(e){var t=I.extend({dependency:!0},e);return this.each(function(){var e=I(this);e.data("inited")||(e.children(".ulf-field-accordion").ulf_field_accordion(),e.children(".ulf-field-backup").ulf_field_backup(),e.children(".ulf-field-background").ulf_field_background(),e.children(".ulf-field-code_editor").ulf_field_code_editor(),e.children(".ulf-field-date").ulf_field_date(),e.children(".ulf-field-datetime").ulf_field_datetime(),e.children(".ulf-field-fieldset").ulf_field_fieldset(),e.children(".ulf-field-gallery").ulf_field_gallery(),e.children(".ulf-field-group").ulf_field_group(),e.children(".ulf-field-icon").ulf_field_icon(),e.children(".ulf-field-link").ulf_field_link(),e.children(".ulf-field-media").ulf_field_media(),e.children(".ulf-field-map").ulf_field_map(),e.children(".ulf-field-repeater").ulf_field_repeater(),e.children(".ulf-field-slider").ulf_field_slider(),e.children(".ulf-field-sortable").ulf_field_sortable(),e.children(".ulf-field-sorter").ulf_field_sorter(),e.children(".ulf-field-spinner").ulf_field_spinner(),e.children(".ulf-field-switcher").ulf_field_switcher(),e.children(".ulf-field-tabbed").ulf_field_tabbed(),e.children(".ulf-field-typography").ulf_field_typography(),e.children(".ulf-field-upload").ulf_field_upload(),e.children(".ulf-field-wp_editor").ulf_field_wp_editor(),e.children(".ulf-field-border").find(".ulf-color").ulf_color(),e.children(".ulf-field-background").find(".ulf-color").ulf_color(),e.children(".ulf-field-color").find(".ulf-color").ulf_color(),e.children(".ulf-field-color_group").find(".ulf-color").ulf_color(),e.children(".ulf-field-link_color").find(".ulf-color").ulf_color(),e.children(".ulf-field-typography").find(".ulf-color").ulf_color(),e.children(".ulf-field-select").find(".ulf-chosen").ulf_chosen(),e.children(".ulf-field-checkbox").find(".ulf-checkbox").ulf_checkbox(),e.children(".ulf-field-button_set").find(".ulf-siblings").ulf_siblings(),e.children(".ulf-field-image_select").find(".ulf-siblings").ulf_siblings(),e.children(".ulf-field-palette").find(".ulf-siblings").ulf_siblings(),e.children(".ulf-field").find(".ulf-help").ulf_help(),t.dependency&&e.ulf_dependency(),e.data("inited",!0),I(b).trigger("ulf-reload-script",e))})},I(b).ready(function(){I(".ulf-save").ulf_save(),I(".ulf-options").ulf_options(),I(".ulf-sticky-header").ulf_sticky(),I(".ulf-nav-options").ulf_nav_options(),I(".ulf-nav-metabox").ulf_nav_metabox(),I(".ulf-taxonomy").ulf_taxonomy(),I(".ulf-page-templates").ulf_page_templates(),I(".ulf-post-formats").ulf_post_formats(),I(".ulf-shortcode").ulf_shortcode(),I(".ulf-search").ulf_search(),I(".ulf-confirm").ulf_confirm(),I(".ulf-expand-all").ulf_expand_all(),I(".ulf-onload").ulf_reload_script(),I("#widgets-editor").ulf_widgets(),I("#widgets-right").ulf_widgets(),I("#menu-to-edit").ulf_nav_menu()})}(jQuery,window,document);
|
1 |
+
/* Codestar Framework | A Simple and Lightweight WordPress Option Framework - v2.2.7*/
|
2 |
|
3 |
+
!function(I,_,b,y){"use strict";var T=T||{};T.funcs={},T.vars={onloaded:!1,$body:I("body"),$window:I(_),$document:I(b),$form_warning:null,is_confirm:!1,form_modified:!1,code_themes:[],is_rtl:I("body").hasClass("rtl")},T.helper={uid:function(e){return(e||"")+Math.random().toString(36).substr(2,9)},preg_quote:function(e){return(e+"").replace(/(\[|\])/g,"\\$1")},name_nested_replace:function(e,t){var n=new RegExp(T.helper.preg_quote(t+"[\\d+]"),"g");e.find(":radio").each(function(){(this.checked||this.orginal_checked)&&(this.orginal_checked=!0)}),e.each(function(e){I(this).find(":input").each(function(){this.name=this.name.replace(n,t+"["+e+"]"),this.orginal_checked&&(this.checked=!0)})})},debounce:function(i,a,s){var c;return function(){var e=this,t=arguments,n=s&&!c;clearTimeout(c),c=setTimeout(function(){c=null,s||i.apply(e,t)},a),n&&i.apply(e,t)}}},I.fn.ulf_clone=function(){for(var e=I.fn.clone.apply(this,arguments),t=this.find("select").add(this.filter("select")),n=e.find("select").add(e.filter("select")),i=0;i<t.length;++i)for(var a=0;a<t[i].options.length;++a)!0===t[i].options[a].selected&&(n[i].options[a].selected=!0);return this.find(":radio").each(function(){this.orginal_checked=this.checked}),e},I.fn.ulf_expand_all=function(){return this.each(function(){I(this).on("click",function(e){e.preventDefault(),I(".ulf-wrapper").toggleClass("ulf-show-all"),I(".ulf-section").ulf_reload_script(),I(this).find(".fa").toggleClass("fa-indent").toggleClass("fa-outdent")})})},I.fn.ulf_nav_options=function(){return this.each(function(){var a,e=I(this),t=I(_),s=I("#wpwrap"),c=e.find("a");t.on("hashchange ulf.hashchange",function(){var e=_.location.hash.replace("#tab=",""),t=e||c.first().attr("href").replace("#tab=",""),n=I('[data-tab-id="'+t+'"]');if(n.length){n.closest(".ulf-tab-item").addClass("ulf-tab-expanded").siblings().removeClass("ulf-tab-expanded"),n.next().is("ul")&&(t=(n=n.next().find("li").first().find("a")).data("tab-id")),c.removeClass("ulf-active"),n.addClass("ulf-active"),a&&a.addClass("hidden");var i=I('[data-section-id="'+t+'"]');i.removeClass("hidden"),i.ulf_reload_script(),I(".ulf-section-id").val(i.index()+1),a=i,s.hasClass("wp-responsive-open")&&(I("html, body").animate({scrollTop:i.offset().top-50},200),s.removeClass("wp-responsive-open"))}}).trigger("ulf.hashchange")})},I.fn.ulf_nav_metabox=function(){return this.each(function(){var a,e=I(this),s=e.find("a"),c=e.parent().find(".ulf-section");s.each(function(i){I(this).on("click",function(e){e.preventDefault();var t=I(this);s.removeClass("ulf-active"),t.addClass("ulf-active"),a!==y&&a.addClass("hidden");var n=c.eq(i);n.removeClass("hidden"),n.ulf_reload_script(),a=n})}),s.first().trigger("click")})},I.fn.ulf_page_templates=function(){this.length&&I(b).on("change",".editor-page-attributes__template select, #page_template",function(){var e=I(this).val()||"default";I(".ulf-page-templates").removeClass("ulf-metabox-show").addClass("ulf-metabox-hide"),I(".ulf-page-"+e.toLowerCase().replace(/[^a-zA-Z0-9]+/g,"-")).removeClass("ulf-metabox-hide").addClass("ulf-metabox-show")})},I.fn.ulf_post_formats=function(){this.length&&I(b).on("change",'.editor-post-format select, #formatdiv input[name="post_format"]',function(){var e=I(this).val()||"default";e="0"===e?"default":e,I(".ulf-post-formats").removeClass("ulf-metabox-show").addClass("ulf-metabox-hide"),I(".ulf-post-format-"+e).removeClass("ulf-metabox-hide").addClass("ulf-metabox-show")})},I.fn.ulf_search=function(){return this.each(function(){I(this).find("input").on("change keyup",function(){var n=I(this).val(),e=I(".ulf-wrapper"),t=e.find(".ulf-section").find("> .ulf-field:not(.ulf-depend-on)"),i=t.find("> .ulf-title, .ulf-search-tags");3<n.length?(t.addClass("ulf-metabox-hide"),e.addClass("ulf-search-all"),i.each(function(){var e=I(this);if(e.text().match(new RegExp(".*?"+n+".*?","i"))){var t=e.closest(".ulf-field");t.removeClass("ulf-metabox-hide"),t.parent().ulf_reload_script()}})):(t.removeClass("ulf-metabox-hide"),e.removeClass("ulf-search-all"))})})},I.fn.ulf_sticky=function(){return this.each(function(){var i=I(this),a=I(_),s=i.find(".ulf-header-inner"),c=parseInt(s.css("padding-left"))+parseInt(s.css("padding-right")),r=0,o=!1,e=function(){o||requestAnimationFrame(function(){var e,t,n;e=i.offset().top,t=Math.max(32,e-r),n=a.innerWidth(),t<=32&&782<n?(s.css({width:i.outerWidth()-c}),i.css({height:i.outerHeight()}).addClass("ulf-sticky")):(s.removeAttr("style"),i.removeAttr("style").removeClass("ulf-sticky")),o=!1}),o=!0},t=function(){r=a.scrollTop(),e()};a.on("scroll resize",t),t()})},I.fn.ulf_dependency=function(){return this.each(function(){var e=I(this),t=e.children("[data-controller]");if(t.length){var n=I.ulf_deps.createRuleset(),i=I.ulf_deps.createRuleset(),f=[],l=[];t.each(function(){var a=I(this),e=a.data("controller").split("|"),s=a.data("condition").split("|"),c=a.data("value").toString().split("|"),r=!!a.data("depend-global"),o=r?i:n;I.each(e,function(e,t){var n=c[e]||"",i=s[e]||s[0];(o=o.createRule('[data-depend-id="'+t+'"]',i,n)).include(a),r?l.push(t):f.push(t)})}),f.length&&I.ulf_deps.enable(e,n,f),l.length&&I.ulf_deps.enable(T.vars.$body,i,l)}})},I.fn.ulf_field_accordion=function(){return this.each(function(){I(this).find(".ulf-accordion-title").on("click",function(){var e=I(this),t=e.find(".ulf-accordion-icon"),n=e.next();t.hasClass("fa-angle-right")?t.removeClass("fa-angle-right").addClass("fa-angle-down"):t.removeClass("fa-angle-down").addClass("fa-angle-right"),n.data("opened")||(n.ulf_reload_script(),n.data("opened",!0)),n.toggleClass("ulf-accordion-open")})})},I.fn.ulf_field_backup=function(){return this.each(function(){if(_.wp.customize!==y){var t=this,n=I(this),i=(I("body"),n.find(".ulf-import")),a=n.find(".ulf-reset");t.notificationOverlay=function(){wp.customize.notifications&&wp.customize.OverlayNotification&&(wp.customize.state("saved").get()||(wp.customize.state("changesetStatus").set("trash"),wp.customize.each(function(e){e._dirty=!1}),wp.customize.state("saved").set(!0)),wp.customize.notifications.add(new wp.customize.OverlayNotification("ulf_field_backup_notification",{type:"default",message:" ",loading:!0})))},a.on("click",function(e){e.preventDefault(),T.vars.is_confirm&&(t.notificationOverlay(),_.wp.ajax.post("ulf-reset",{unique:a.data("unique"),nonce:a.data("nonce")}).done(function(e){_.location.reload(!0)}).fail(function(e){alert(e.error),wp.customize.notifications.remove("ulf_field_backup_notification")}))}),i.on("click",function(e){e.preventDefault(),T.vars.is_confirm&&(t.notificationOverlay(),_.wp.ajax.post("ulf-import",{unique:i.data("unique"),nonce:i.data("nonce"),data:n.find(".ulf-import-data").val()}).done(function(e){_.location.reload(!0)}).fail(function(e){alert(e.error),wp.customize.notifications.remove("ulf_field_backup_notification")}))})}})},I.fn.ulf_field_background=function(){return this.each(function(){I(this).find(".ulf--background-image").ulf_reload_script()})},I.fn.ulf_field_code_editor=function(){return this.each(function(){if("function"==typeof CodeMirror){var t=I(this),i=t.find("textarea"),e=t.find(".CodeMirror"),a=i.data("editor");e.length&&e.remove();var s=setInterval(function(){if(t.is(":visible")){var n=CodeMirror.fromTextArea(i[0],a);if("default"!==a.theme&&-1===T.vars.code_themes.indexOf(a.theme)){var e=I("<link>");I("#ulf-codemirror-css").after(e),e.attr({rel:"stylesheet",id:"ulf-codemirror-"+a.theme+"-css",href:a.cdnURL+"/theme/"+a.theme+".min.css",type:"text/css",media:"all"}),T.vars.code_themes.push(a.theme)}CodeMirror.modeURL=a.cdnURL+"/mode/%N/%N.min.js",CodeMirror.autoLoadMode(n,a.mode),n.on("change",function(e,t){i.val(n.getValue()).trigger("change")}),clearInterval(s)}})}})},I.fn.ulf_field_date=function(){return this.each(function(){var e=I(this),i=e.find("input"),a=e.find(".ulf-date-settings").data("settings"),t={showAnim:"",beforeShow:function(e,t){I(t.dpDiv).addClass("ulf-datepicker-wrapper")},onClose:function(e,t){I(t.dpDiv).removeClass("ulf-datepicker-wrapper")}};a=I.extend({},a,t),2===i.length&&(a=I.extend({},a,{onSelect:function(e){I(this),i.first();var t=i.first().attr("id")===I(this).attr("id")?"minDate":"maxDate",n=I.datepicker.parseDate(a.dateFormat,e);i.not(this).datepicker("option",t,n)}})),i.each(function(){var e=I(this);e.hasClass("hasDatepicker")&&e.removeAttr("id").removeClass("hasDatepicker"),e.datepicker(a)})})},I.fn.ulf_field_datetime=function(){return this.each(function(){var e=I(this),i=e.find("input"),t=e.find(".ulf-datetime-settings").data("settings");t=I.extend({},t,{onReady:function(e,t,n){I(n.calendarContainer).addClass("ulf-flatpickr")}}),2===i.length&&(t=I.extend({},t,{onChange:function(e,t,n){"from"===I(n.element).data("type")?i.last().get(0)._flatpickr.set("minDate",e[0]):i.first().get(0)._flatpickr.set("maxDate",e[0])}})),i.each(function(){I(this).flatpickr(t)})})},I.fn.ulf_field_fieldset=function(){return this.each(function(){I(this).find(".ulf-fieldset-content").ulf_reload_script()})},I.fn.ulf_field_gallery=function(){return this.each(function(){var s,e=I(this),c=e.find(".ulf-edit-gallery"),r=e.find(".ulf-clear-gallery"),o=e.find("ul"),f=e.find("input");e.find("img");e.on("click",".ulf-button, .ulf-edit-gallery",function(e){var t=I(this),n=f.val(),i=t.hasClass("ulf-edit-gallery")?"edit":"add",a="add"!==i||n.length?"gallery-edit":"gallery";e.preventDefault(),void 0!==_.wp&&_.wp.media&&_.wp.media.gallery&&("gallery"===a?(s=_.wp.media({library:{type:"image"},frame:"post",state:"gallery",multiple:!0})).open():(s=_.wp.media.gallery.edit('[gallery ids="'+n+'"]'),"add"===i&&s.setState("gallery-library")),s.on("update",function(e){o.empty();var t=e.models.map(function(e){var t=e.toJSON(),n=t.sizes&&t.sizes.thumbnail&&t.sizes.thumbnail.url?t.sizes.thumbnail.url:t.url;return o.append('<li><img src="'+n+'"></li>'),t.id});f.val(t.join(",")).trigger("change"),r.removeClass("hidden"),c.removeClass("hidden")}))}),r.on("click",function(e){e.preventDefault(),o.empty(),f.val("").trigger("change"),r.addClass("hidden"),c.addClass("hidden")})})},I.fn.ulf_field_group=function(){return this.each(function(){var e=I(this),t=e.children(".ulf-fieldset"),n=t.length?t:e,r=n.children(".ulf-cloneable-wrapper"),i=n.children(".ulf-cloneable-hidden"),o=n.children(".ulf-cloneable-max"),f=n.children(".ulf-cloneable-min"),c=r.data("title-by"),l=r.data("title-by-prefix"),d=r.data("field-id"),h=Boolean(Number(r.data("title-number"))),p=parseInt(r.data("max")),a=parseInt(r.data("min"));r.hasClass("ui-accordion")&&r.find(".ui-accordion-header-icon").remove();var u=function(e){e.find(".ulf-cloneable-title-number").each(function(e){I(this).html(I(this).closest(".ulf-cloneable-item").index()+1+".")})};r.accordion({header:"> .ulf-cloneable-item > .ulf-cloneable-title",collapsible:!0,active:!1,animate:!1,heightStyle:"content",icons:{header:"ulf-cloneable-header-icon fas fa-angle-right",activeHeader:"ulf-cloneable-header-icon fas fa-angle-down"},activate:function(e,t){var n=t.newPanel,i=t.newHeader;if(n.length&&!n.data("opened")){var a=i.find(".ulf-cloneable-value"),s=[];I.each(c,function(e,t){s.push(n.find('[data-depend-id="'+t+'"]'))}),I.each(s,function(e,t){t.on("change keyup ulf.keyup",function(){var i=[];I.each(s,function(e,t){var n=t.val();n&&i.push(n)}),i.length&&a.text(i.join(l))}).trigger("ulf.keyup")}),n.ulf_reload_script(),n.data("opened",!0),n.data("retry",!1)}else n.data("retry")&&(n.ulf_reload_script_retry(),n.data("retry",!1))}}),r.sortable({axis:"y",handle:".ulf-cloneable-title,.ulf-cloneable-sort",helper:"original",cursor:"move",placeholder:"widget-placeholder",start:function(e,t){r.accordion({active:!1}),r.sortable("refreshPositions"),t.item.children(".ulf-cloneable-content").data("retry",!0)},update:function(e,t){T.helper.name_nested_replace(r.children(".ulf-cloneable-item"),d),r.ulf_customizer_refresh(),h&&u(r)}}),n.children(".ulf-cloneable-add").on("click",function(e){e.preventDefault();var t=r.children(".ulf-cloneable-item").length;if(f.hide(),p&&p<t+1)o.show();else{var n=i.ulf_clone(!0);n.removeClass("ulf-cloneable-hidden"),n.find(':input[name!="_pseudo"]').each(function(){this.name=this.name.replace("___","").replace(d+"[0]",d+"["+t+"]")}),r.append(n),r.accordion("refresh"),r.accordion({active:t}),r.ulf_customizer_refresh(),r.ulf_customizer_listen({closest:!0}),h&&u(r)}});var s=function(e){e.preventDefault();var t=r.children(".ulf-cloneable-item").length;if(f.hide(),p&&p<t+1)o.show();else{var n=I(this).parent().parent(),i=n.children(".ulf-cloneable-helper").ulf_clone(!0),a=n.children(".ulf-cloneable-title").ulf_clone(),s=n.children(".ulf-cloneable-content").ulf_clone(),c=I('<div class="ulf-cloneable-item" />');c.append(i),c.append(a),c.append(s),r.children().eq(n.index()).after(c),T.helper.name_nested_replace(r.children(".ulf-cloneable-item"),d),r.accordion("refresh"),r.ulf_customizer_refresh(),r.ulf_customizer_listen({closest:!0}),h&&u(r)}};r.children(".ulf-cloneable-item").children(".ulf-cloneable-helper").on("click",".ulf-cloneable-clone",s),n.children(".ulf-cloneable-hidden").children(".ulf-cloneable-helper").on("click",".ulf-cloneable-clone",s);var v=function(e){e.preventDefault();var t=r.children(".ulf-cloneable-item").length;o.hide(),f.hide(),a&&t-1<a?f.show():(I(this).closest(".ulf-cloneable-item").remove(),T.helper.name_nested_replace(r.children(".ulf-cloneable-item"),d),r.ulf_customizer_refresh(),h&&u(r))};r.children(".ulf-cloneable-item").children(".ulf-cloneable-helper").on("click",".ulf-cloneable-remove",v),n.children(".ulf-cloneable-hidden").children(".ulf-cloneable-helper").on("click",".ulf-cloneable-remove",v)})},I.fn.ulf_field_icon=function(){return this.each(function(){var n=I(this);n.on("click",".ulf-icon-add",function(e){e.preventDefault();var t=I(this),i=I("#ulf-modal-icon");i.removeClass("hidden"),T.vars.$icon_target=n,T.vars.icon_modal_loaded||(i.find(".ulf-modal-loading").show(),_.wp.ajax.post("ulf-get-icons",{nonce:t.data("nonce")}).done(function(e){i.find(".ulf-modal-loading").hide(),T.vars.icon_modal_loaded=!0;var n=i.find(".ulf-modal-load").html(e.content);n.on("click","i",function(e){e.preventDefault();var t=I(this).attr("title");T.vars.$icon_target.find(".ulf-icon-preview i").removeAttr("class").addClass(t),T.vars.$icon_target.find(".ulf-icon-preview").removeClass("hidden"),T.vars.$icon_target.find(".ulf-icon-remove").removeClass("hidden"),T.vars.$icon_target.find("input").val(t).trigger("change"),i.addClass("hidden")}),i.on("change keyup",".ulf-icon-search",function(){var t=I(this).val();n.find("i").each(function(){var e=I(this);e.attr("title").search(new RegExp(t,"i"))<0?e.hide():e.show()})}),i.on("click",".ulf-modal-close, .ulf-modal-overlay",function(){i.addClass("hidden")})}).fail(function(e){i.find(".ulf-modal-loading").hide(),i.find(".ulf-modal-load").html(e.error),i.on("click",function(){i.addClass("hidden")})}))}),n.on("click",".ulf-icon-remove",function(e){e.preventDefault(),n.find(".ulf-icon-preview").addClass("hidden"),n.find("input").val("").trigger("change"),I(this).addClass("hidden")})})},I.fn.ulf_field_map=function(){return this.each(function(){if("undefined"!=typeof L){var e=I(this),t=e.find(".ulf--map-osm"),n=e.find(".ulf--map-search input"),i=e.find(".ulf--latitude"),a=e.find(".ulf--longitude"),s=e.find(".ulf--zoom"),c=t.data("map"),r=L.map(t.get(0),c);L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}).addTo(r);var o=L.marker(c.center,{draggable:!0}).addTo(r),f=function(e){i.val(e.lat),a.val(e.lng),s.val(r.getZoom())};r.on("click",function(e){o.setLatLng(e.latlng),f(e.latlng)}),r.on("zoom",function(){f(o.getLatLng())}),o.on("drag",function(){f(o.getLatLng())}),n.length||(n=I('[data-depend-id="'+e.find(".ulf--address-field").data("address-field")+'"]'));var l={};n.autocomplete({source:function(e,n){var i=e.term;i in l?n(l[i]):I.get("https://nominatim.openstreetmap.org/search",{format:"json",q:i},function(e){var t;t=e.length?e.map(function(e){return{value:e.display_name,label:e.display_name,lat:e.lat,lon:e.lon}},"json"):[{value:"no-data",label:"No Results."}],l[i]=t,n(t)})},select:function(e,t){if("no-data"===t.item.value)return!1;var n=L.latLng(t.item.lat,t.item.lon);r.panTo(n),o.setLatLng(n),f(n)},create:function(e,t){I(this).autocomplete("widget").addClass("ulf-map-ui-autocomplate")}});var d=function(){var e=L.latLng(i.val(),a.val());r.panTo(e),o.setLatLng(e)};i.on("change",d),a.on("change",d)}})},I.fn.ulf_field_link=function(){return this.each(function(){var a=I(this),e=a.find(".ulf--link"),s=a.find(".ulf--add"),c=a.find(".ulf--edit"),r=a.find(".ulf--remove"),o=a.find(".ulf--result"),t=T.helper.uid("ulf-wplink-textarea-");s.on("click",function(e){e.preventDefault(),_.wpLink.open(t)}),c.on("click",function(e){e.preventDefault(),s.trigger("click"),I("#wp-link-url").val(a.find(".ulf--url").val()),I("#wp-link-text").val(a.find(".ulf--text").val()),I("#wp-link-target").prop("checked","_blank"===a.find(".ulf--target").val())}),r.on("click",function(e){e.preventDefault(),a.find(".ulf--url").val("").trigger("change"),a.find(".ulf--text").val(""),a.find(".ulf--target").val(""),s.removeClass("hidden"),c.addClass("hidden"),r.addClass("hidden"),o.parent().addClass("hidden")}),e.attr("id",t).on("change",function(){var e=_.wpLink.getAttrs(),t=e.href,n=I("#wp-link-text").val(),i=e.target?e.target:"";a.find(".ulf--url").val(t).trigger("change"),a.find(".ulf--text").val(n),a.find(".ulf--target").val(i),o.html('{url:"'+t+'", text:"'+n+'", target:"'+i+'"}'),s.addClass("hidden"),c.removeClass("hidden"),r.removeClass("hidden"),o.parent().removeClass("hidden")})})},I.fn.ulf_field_media=function(){return this.each(function(){var i,a=I(this),s=a.find(".ulf--button"),c=a.find(".ulf--remove"),r=s.data("library")&&s.data("library").split(",")||"",o=!!a.hasClass("ulf-assign-field-background")&&a.closest(".ulf-field-background").find(".ulf--auto-attributes");s.on("click",function(e){e.preventDefault(),void 0!==_.wp&&_.wp.media&&_.wp.media.gallery&&(i||(i=_.wp.media({library:{type:r}})).on("select",function(){var e,t=i.state().get("selection").first().attributes,n=s.data("preview-size")||"thumbnail";r.length&&-1===r.indexOf(t.subtype)&&-1===r.indexOf(t.type)||(a.find(".ulf--id").val(t.id),a.find(".ulf--width").val(t.width),a.find(".ulf--height").val(t.height),a.find(".ulf--alt").val(t.alt),a.find(".ulf--title").val(t.title),a.find(".ulf--description").val(t.description),e=void 0!==t.sizes&&void 0!==t.sizes.thumbnail&&"thumbnail"===n?t.sizes.thumbnail.url:void 0!==t.sizes&&void 0!==t.sizes.full?t.sizes.full.url:"image"===t.type?t.url:t.icon,o&&o.removeClass("ulf--attributes-hidden"),c.removeClass("hidden"),a.find(".ulf--preview").removeClass("hidden"),a.find(".ulf--src").attr("src",e),a.find(".ulf--thumbnail").val(e),a.find(".ulf--url").val(t.url).trigger("change"))}),i.open())}),c.on("click",function(e){e.preventDefault(),o&&o.addClass("ulf--attributes-hidden"),c.addClass("hidden"),a.find("input").val(""),a.find(".ulf--preview").addClass("hidden"),a.find(".ulf--url").trigger("change")})})},I.fn.ulf_field_repeater=function(){return this.each(function(){var e=I(this),t=e.children(".ulf-fieldset"),n=t.length?t:e,c=n.children(".ulf-repeater-wrapper"),i=n.children(".ulf-repeater-hidden"),r=n.children(".ulf-repeater-max"),o=n.children(".ulf-repeater-min"),f=c.data("field-id"),l=parseInt(c.data("max")),a=parseInt(c.data("min"));c.children(".ulf-repeater-item").children(".ulf-repeater-content").ulf_reload_script(),c.sortable({axis:"y",handle:".ulf-repeater-sort",helper:"original",cursor:"move",placeholder:"widget-placeholder",update:function(e,t){T.helper.name_nested_replace(c.children(".ulf-repeater-item"),f),c.ulf_customizer_refresh(),t.item.ulf_reload_script_retry()}}),n.children(".ulf-repeater-add").on("click",function(e){e.preventDefault();var t=c.children(".ulf-repeater-item").length;if(o.hide(),l&&l<t+1)r.show();else{var n=i.ulf_clone(!0);n.removeClass("ulf-repeater-hidden"),n.find(':input[name!="_pseudo"]').each(function(){this.name=this.name.replace("___","").replace(f+"[0]",f+"["+t+"]")}),c.append(n),n.children(".ulf-repeater-content").ulf_reload_script(),c.ulf_customizer_refresh(),c.ulf_customizer_listen({closest:!0})}});var s=function(e){e.preventDefault();var t=c.children(".ulf-repeater-item").length;if(o.hide(),l&&l<t+1)r.show();else{var n=I(this).parent().parent().parent(),i=n.children(".ulf-repeater-content").ulf_clone(),a=n.children(".ulf-repeater-helper").ulf_clone(!0),s=I('<div class="ulf-repeater-item" />');s.append(i),s.append(a),c.children().eq(n.index()).after(s),s.children(".ulf-repeater-content").ulf_reload_script(),T.helper.name_nested_replace(c.children(".ulf-repeater-item"),f),c.ulf_customizer_refresh(),c.ulf_customizer_listen({closest:!0})}};c.children(".ulf-repeater-item").children(".ulf-repeater-helper").on("click",".ulf-repeater-clone",s),n.children(".ulf-repeater-hidden").children(".ulf-repeater-helper").on("click",".ulf-repeater-clone",s);var d=function(e){e.preventDefault();var t=c.children(".ulf-repeater-item").length;r.hide(),o.hide(),a&&t-1<a?o.show():(I(this).closest(".ulf-repeater-item").remove(),T.helper.name_nested_replace(c.children(".ulf-repeater-item"),f),c.ulf_customizer_refresh())};c.children(".ulf-repeater-item").children(".ulf-repeater-helper").on("click",".ulf-repeater-remove",d),n.children(".ulf-repeater-hidden").children(".ulf-repeater-helper").on("click",".ulf-repeater-remove",d)})},I.fn.ulf_field_slider=function(){return this.each(function(){var e=I(this),n=e.find("input"),t=e.find(".ulf-slider-ui"),i=n.data(),a=n.val()||0;t.hasClass("ui-slider")&&t.empty(),t.slider({range:"min",value:a,min:i.min||0,max:i.max||100,step:i.step||1,slide:function(e,t){n.val(t.value).trigger("change")}}),n.on("keyup",function(){t.slider("value",n.val())})})},I.fn.ulf_field_sortable=function(){return this.each(function(){var n=I(this).find(".ulf-sortable");n.sortable({axis:"y",helper:"original",cursor:"move",placeholder:"widget-placeholder",update:function(e,t){n.ulf_customizer_refresh()}}),n.find(".ulf-sortable-content").ulf_reload_script()})},I.fn.ulf_field_sorter=function(){return this.each(function(){var i=I(this),e=i.find(".ulf-enabled"),t=i.find(".ulf-disabled"),n=!!t.length&&t;e.sortable({connectWith:n,placeholder:"ui-sortable-placeholder",update:function(e,t){var n=t.item.find("input");t.item.parent().hasClass("ulf-enabled")?n.attr("name",n.attr("name").replace("disabled","enabled")):n.attr("name",n.attr("name").replace("enabled","disabled")),i.ulf_customizer_refresh()}}),n&&n.sortable({connectWith:e,placeholder:"ui-sortable-placeholder",update:function(e,t){i.ulf_customizer_refresh()}})})},I.fn.ulf_field_spinner=function(){return this.each(function(){var e=I(this),n=e.find("input"),t=e.find(".ui-button"),i=n.data();t.length&&t.remove(),n.spinner({min:i.min||0,max:i.max||100,step:i.step||1,create:function(e,t){i.unit&&n.after('<span class="ui-button ulf--unit">'+i.unit+"</span>")},spin:function(e,t){n.val(t.value).trigger("change")}})})},I.fn.ulf_field_switcher=function(){return this.each(function(){var n=I(this).find(".ulf--switcher");n.on("click",function(){var e=0,t=n.find("input");n.hasClass("ulf--active")?n.removeClass("ulf--active"):(e=1,n.addClass("ulf--active")),t.val(e).trigger("change")})})},I.fn.ulf_field_tabbed=function(){return this.each(function(){var e=I(this),t=e.find(".ulf-tabbed-nav a"),a=e.find(".ulf-tabbed-content");a.eq(0).ulf_reload_script(),t.on("click",function(e){e.preventDefault();var t=I(this),n=t.index(),i=a.eq(n);t.addClass("ulf-tabbed-active").siblings().removeClass("ulf-tabbed-active"),i.ulf_reload_script(),i.removeClass("hidden").siblings().addClass("hidden")})})},I.fn.ulf_field_typography=function(){return this.each(function(){var j=this,L=I(this),i=[],A=ulf_typography_json.webfonts,t=ulf_typography_json.googlestyles,q=ulf_typography_json.defaultstyles;j.sanitize_subset=function(e){return e=(e=e.replace("-ext"," Extended")).charAt(0).toUpperCase()+e.slice(1)},j.sanitize_style=function(e){return t[e]?t[e]:e},j.load_google_font=function(e,t,n){e&&"object"==typeof WebFont&&(t=t?t.replace("normal",""):"",n=n?n.replace("normal",""):"",(t||n)&&(e=e+":"+t+n),-1===i.indexOf(e)&&WebFont.load({google:{families:[e]}}),i.push(e))},j.append_select_options=function(e,t,a,s,c){e.find("option").not(":first").remove();var r="";I.each(t,function(e,t){var n,i=t;n=c?a&&-1!==a.indexOf(t)?" selected":"":a&&a===t?" selected":"","subset"===s?i=j.sanitize_subset(t):"style"===s&&(i=j.sanitize_style(t)),r+='<option value="'+t+'"'+n+">"+i+"</option>"}),e.append(r).trigger("ulf.change").trigger("chosen:updated")},j.init=function(){var l=[],e=L.find(".ulf--typography"),d=L.find(".ulf--type"),h=L.find(".ulf--block-font-style"),v=e.data("unit"),g=e.data("line-height-unit"),t=e.data("exclude")?e.data("exclude").split(","):[];L.find(".ulf--chosen").length&&L.find("select").each(function(){var e=I(this),t=e.parent().find(".chosen-container");t.length&&t.remove(),e.chosen({allow_single_deselect:!0,disable_search_threshold:15,width:"100%"})});var m=L.find(".ulf--font-family"),i=m.val();m.find("option").not(":first-child").remove();var a="";I.each(A,function(n,e){t&&-1!==t.indexOf(n)||(a+='<optgroup label="'+e.label+'">',I.each(e.fonts,function(e,t){a+='<option value="'+(t="object"==typeof t?e:t)+'" data-type="'+n+'"'+(t===i?" selected":"")+">"+t+"</option>"}),a+="</optgroup>")}),m.append(a).trigger("chosen:updated");var p=L.find(".ulf--block-font-style");if(p.length){var u=L.find(".ulf--font-style-select"),_=u.val()?u.val().replace(/normal/g,""):"";u.on("change ulf.change",function(e){var t=u.val();!t&&l&&-1===l.indexOf("normal")&&(t=l[0]);var n=t&&"italic"!==t&&"normal"===t?"normal":"",i=t&&"italic"!==t&&"normal"!==t?t.replace("italic",""):n,a=t&&"italic"===t.substr(-6)?"italic":"";L.find(".ulf--font-weight").val(i),L.find(".ulf--font-style").val(a)});var b=L.find(".ulf--block-extra-styles");if(b.length)var y=L.find(".ulf--extra-styles"),w=y.val()}var C=L.find(".ulf--block-subset");if(C.length)var k=L.find(".ulf--subset"),x=k.val(),z=k.data("multiple")||!1;var D=L.find(".ulf--block-backup-font-family");m.on("change ulf.change",function(e){C.length&&C.addClass("hidden"),b.length&&b.addClass("hidden"),D.length&&D.addClass("hidden");var t=m.find(":selected"),n=t.val(),i=t.data("type");if(i&&n){if("google"!==i&&"custom"!==i||!D.length||D.removeClass("hidden"),p.length){var a=q;"google"===i&&A[i].fonts[n][0]?a=A[i].fonts[n][0]:"custom"===i&&A[i].fonts[n]&&(a=A[i].fonts[n]);var s=-1!==(l=a).indexOf("normal")?"normal":a[0],c=_&&-1!==a.indexOf(_)?_:s;j.append_select_options(u,a,c,"style"),_=!1,p.removeClass("hidden"),"google"===i&&b.length&&1<a.length&&(j.append_select_options(y,a,w,"style",!0),w=!1,b.removeClass("hidden"))}if("google"===i&&C.length&&A[i].fonts[n][1]){var r=A[i].fonts[n][1],o=r.length<2&&"latin"!==r[0]?r[0]:"",f=x&&-1!==r.indexOf(x)?x:o;f=z&&x?x:f,j.append_select_options(k,r,f,"subset",z),x=!1,C.removeClass("hidden")}}else h.find(":input").val(""),C.length&&(k.find("option").not(":first-child").remove(),k.trigger("chosen:updated")),p.length&&(u.find("option").not(":first-child").remove(),u.trigger("chosen:updated"));d.val(i)}).trigger("ulf.change");var O=L.find(".ulf--block-preview");if(O.length){var S=L.find(".ulf--preview");L.on("change",T.helper.debounce(function(e){O.removeClass("hidden");var t=m.val(),n=L.find(".ulf--font-weight").val(),i=L.find(".ulf--font-style").val(),a=L.find(".ulf--font-size").val(),s=L.find(".ulf--font-variant").val(),c=L.find(".ulf--line-height").val(),r=L.find(".ulf--text-align").val(),o=L.find(".ulf--text-transform").val(),f=L.find(".ulf--text-decoration").val(),l=L.find(".ulf--color").val(),d=L.find(".ulf--word-spacing").val(),h=L.find(".ulf--letter-spacing").val(),p=L.find(".ulf--custom-style").val();"google"===L.find(".ulf--type").val()&&j.load_google_font(t,n,i);var u={};t&&(u.fontFamily=t),n&&(u.fontWeight=n),i&&(u.fontStyle=i),s&&(u.fontVariant=s),a&&(u.fontSize=a+v),c&&(u.lineHeight=c+g),h&&(u.letterSpacing=h+v),d&&(u.wordSpacing=d+v),r&&(u.textAlign=r),o&&(u.textTransform=o),f&&(u.textDecoration=f),l&&(u.color=l),S.removeAttr("style"),p&&S.attr("style",p),S.css(u)},100)),O.on("click",function(){S.toggleClass("ulf--black-background");var e=O.find(".ulf--toggle");e.hasClass("fa-toggle-off")?e.removeClass("fa-toggle-off").addClass("fa-toggle-on"):e.removeClass("fa-toggle-on").addClass("fa-toggle-off")}),O.hasClass("hidden")||L.trigger("change")}},j.init()})},I.fn.ulf_field_upload=function(){return this.each(function(){var t,e=I(this),n=e.find("input"),i=e.find(".ulf--button"),a=e.find(".ulf--remove"),s=e.find(".ulf--preview"),c=e.find(".ulf--src"),r=i.data("library")&&i.data("library").split(",")||"";i.on("click",function(e){e.preventDefault(),void 0!==_.wp&&_.wp.media&&_.wp.media.gallery&&(t||(t=_.wp.media({library:{type:r}})).on("select",function(){var e=t.state().get("selection").first().attributes;r.length&&-1===r.indexOf(e.subtype)&&-1===r.indexOf(e.type)||n.val(e.url).trigger("change")}),t.open())}),a.on("click",function(e){e.preventDefault(),n.val("").trigger("change")}),n.on("change",function(e){var t=n.val();t?a.removeClass("hidden"):a.addClass("hidden"),s.length&&(-1!==I.inArray(t.split(".").pop().toLowerCase(),["jpg","jpeg","gif","png","svg","webp"])?(s.removeClass("hidden"),c.attr("src",t)):s.addClass("hidden"))})})},I.fn.ulf_field_wp_editor=function(){return this.each(function(){if(void 0!==_.wp.editor&&void 0!==_.tinyMCEPreInit&&void 0!==_.tinyMCEPreInit.mceInit.ulf_wp_editor){var e=I(this),t=e.find(".ulf-wp-editor"),n=e.find("textarea");(e.find(".wp-editor-wrap").length||e.find(".mce-container").length)&&(t.empty(),t.append(n),n.css("display",""));var i=T.helper.uid("ulf-editor-");n.attr("id",i);var a={tinymce:_.tinyMCEPreInit.mceInit.ulf_wp_editor,quicktags:_.tinyMCEPreInit.qtInit.ulf_wp_editor},s=t.data("editor-settings"),c=wp.oldEditor?wp.oldEditor:wp.editor;c&&c.hasOwnProperty("autop")&&(wp.editor.autop=c.autop,wp.editor.removep=c.removep,wp.editor.initialize=c.initialize);a.tinymce=I.extend({},a.tinymce,{selector:"#"+i,setup:function(t){t.on("change keyup",function(){var e=s.wpautop?t.getContent():wp.editor.removep(t.getContent());n.val(e).trigger("change")})}}),!1===s.tinymce&&(a.tinymce=!1,t.addClass("ulf-no-tinymce")),!1===s.quicktags&&(a.quicktags=!1,t.addClass("ulf-no-quicktags"));var r=setInterval(function(){e.is(":visible")&&(_.wp.editor.initialize(i,a),clearInterval(r))});if(s.media_buttons&&_.ulf_media_buttons){var o=t.find(".wp-media-buttons");if(o.length)o.find(".ulf-shortcode-button").data("editor-id",i);else{var f=I(_.ulf_media_buttons);f.find(".ulf-shortcode-button").data("editor-id",i),t.prepend(f)}}}})},I.fn.ulf_confirm=function(){return this.each(function(){I(this).on("click",function(e){var t=I(this).data("confirm")||_.ulf_vars.i18n.confirm;if(!confirm(t))return e.preventDefault(),!1;T.vars.is_confirm=!0,T.vars.form_modified=!1})})},I.fn.serializeObject=function(){var a={};return I.each(this.serializeArray(),function(e,t){var n=t.name,i=t.value;a[n]=a[n]===y?i:I.isArray(a[n])?a[n].concat(i):[a[n],i]}),a},I.fn.ulf_save=function(){return this.each(function(){var i,a=I(this),c=I(".ulf-save"),r=I(".ulf-options"),o=!1;a.on("click",function(e){if(!o){var t=a.data("save"),n=a.val();c.attr("value",t),a.hasClass("ulf-save-ajax")?(e.preventDefault(),r.addClass("ulf-saving"),c.prop("disabled",!0),_.wp.ajax.post("ulf_"+r.data("unique")+"_ajax_save",{data:I("#ulf-form").serializeJSONULF()}).done(function(e){if(I(".ulf-error").remove(),Object.keys(e.errors).length){var s='<i class="ulf-label-error ulf-error">!</i>';I.each(e.errors,function(e,t){var n=I('[data-depend-id="'+e+'"]'),i=I('a[href="#tab='+n.closest(".ulf-section").data("section-id")+'"]'),a=i.closest(".ulf-tab-item");n.closest(".ulf-fieldset").append('<p class="ulf-error ulf-error-text">'+t+"</p>"),i.find(".ulf-error").length||i.append(s),a.find(".ulf-arrow .ulf-error").length||a.find(".ulf-arrow").append(s)})}r.removeClass("ulf-saving"),c.prop("disabled",!1).attr("value",n),o=!1,T.vars.form_modified=!1,T.vars.$form_warning.hide(),clearTimeout(i);var t=I(".ulf-form-success");t.empty().append(e.notice).fadeIn("fast",function(){i=setTimeout(function(){t.fadeOut("fast")},1e3)})}).fail(function(e){alert(e.error)})):T.vars.form_modified=!1}o=!0})})},I.fn.ulf_options=function(){return this.each(function(){var e=I(this),t=e.find(".ulf-content"),n=e.find(".ulf-form-success"),i=e.find(".ulf-form-warning"),a=e.find(".ulf-header .ulf-save");(T.vars.$form_warning=i).length&&(_.onbeforeunload=function(){return!!T.vars.form_modified||y},t.on("change keypress",":input",function(){T.vars.form_modified||(n.hide(),i.fadeIn("fast"),T.vars.form_modified=!0)})),n.hasClass("ulf-form-show")&&setTimeout(function(){n.fadeOut("fast")},1e3),I(b).keydown(function(e){if((e.ctrlKey||e.metaKey)&&83===e.which)return a.trigger("click"),e.preventDefault(),!1})})},I.fn.ulf_taxonomy=function(){return this.each(function(){var e=I(this),t=e.parents("form");if("addtag"===t.attr("id")){var n=t.find("#submit"),i=e.find(".ulf-field").ulf_clone();n.on("click",function(){t.find(".form-required").hasClass("form-invalid")||(e.data("inited",!1),e.empty(),e.html(i),i=i.ulf_clone(),e.ulf_reload_script())})}})},I.fn.ulf_shortcode=function(){var m=this;return m.shortcode_parse=function(e,n){var i="";return I.each(e,function(e,t){i+="["+(n=n||e),I.each(t,function(e,t){"content"===e?(i+="]",i+=t,i+="[/"+n):i+=m.shortcode_tags(e,t)}),i+="]"}),i},m.shortcode_tags=function(e,t){var n="";return""!==t&&("object"!=typeof t||I.isArray(t)?n+=" "+e.replace("-","_")+'="'+t.toString()+'"':I.each(t,function(e,t){switch(e){case"background-image":t=t.url?t.url:""}""!==t&&(n+=" "+e.replace("-","_")+'="'+t.toString()+'"')})),n},m.insertAtChars=function(e,t){var n=void 0!==e[0].name?e[0]:e;return n.value.length&&void 0!==n.selectionStart?(n.focus(),n.value.substring(0,n.selectionStart)+t+n.value.substring(n.selectionEnd,n.value.length)):(n.focus(),t)},m.send_to_editor=function(e,t){var n;if("undefined"!=typeof tinymce&&(n=tinymce.get(t)),n&&!n.isHidden())n.execCommand("mceInsertContent",!1,e);else{var i=I("#"+t);i.val(m.insertAtChars(i,e)).trigger("change")}},this.each(function(){var c,r,o,n,f,l,d,a,h,p=I(this),i=p.find(".ulf-modal-load"),u=(p.find(".ulf-modal-content"),p.find(".ulf-modal-insert")),s=p.find(".ulf-modal-loading"),t=p.find("select"),v=p.data("modal-id"),g=p.data("nonce");I(b).on("click",'.ulf-shortcode-button[data-modal-id="'+v+'"]',function(e){e.preventDefault(),h=I(this),c=h.data("editor-id")||!1,r=h.data("target-id")||!1,o=h.data("gutenberg-id")||!1,p.removeClass("hidden"),p.hasClass("ulf-shortcode-single")&&f===y&&t.trigger("change")}),t.on("change",function(){var e=I(this),t=e.find(":selected");n=e.val(),f=t.data("shortcode"),l=t.data("view")||"normal",d=t.data("group")||f,i.empty(),n?(s.show(),_.wp.ajax.post("ulf-get-shortcode-"+v,{shortcode_key:n,nonce:g}).done(function(e){s.hide();var t=I(e.content).appendTo(i);u.parent().removeClass("hidden"),a=t.find(".ulf--repeat-shortcode").ulf_clone(),t.ulf_reload_script(),t.find(".ulf-fields").ulf_reload_script()})):u.parent().addClass("hidden")}),u.on("click",function(e){if(e.preventDefault(),!u.prop("disabled")&&!u.attr("disabled")){var i="",t=p.find(".ulf-field:not(.ulf-depend-on)").find(":input:not(.ignore)").serializeObjectULF();switch(l){case"contents":var n=f?t[f]:t;I.each(n,function(e,t){var n=f||e;i+="["+n+"]"+t+"[/"+n+"]"});break;case"group":i+="["+f,I.each(t[f],function(e,t){i+=m.shortcode_tags(e,t)}),i+="]",i+=m.shortcode_parse(t[d],d),i+="[/"+f+"]";break;case"repeater":i+=m.shortcode_parse(t[d],d);break;default:i+=m.shortcode_parse(t)}if(i=""===i?"["+f+"]":i,o){var a=_.ulf_gutenberg_props.attributes.hasOwnProperty("shortcode")?_.ulf_gutenberg_props.attributes.shortcode:"";_.ulf_gutenberg_props.setAttributes({shortcode:a+i})}else if(c)m.send_to_editor(i,c);else{var s=r?I(r):h.parent().find("textarea");s.val(m.insertAtChars(s,i)).trigger("change")}p.addClass("hidden")}}),p.on("click",".ulf--repeat-button",function(e){e.preventDefault();var t=p.find(".ulf--repeatable"),n=a.ulf_clone(),i=n.find(".ulf-repeat-remove");n.appendTo(t);n.find(".ulf-fields").ulf_reload_script(),T.helper.name_nested_replace(p.find(".ulf--repeat-shortcode"),d),i.on("click",function(){n.remove(),T.helper.name_nested_replace(p.find(".ulf--repeat-shortcode"),d)})}),p.on("click",".ulf-modal-close, .ulf-modal-overlay",function(){p.addClass("hidden")})})},"function"==typeof Color&&(Color.prototype.toString=function(){if(this._alpha<1)return this.toCSS("rgba",this._alpha).replace(/\s+/g,"");var e=parseInt(this._color,10).toString(16);if(this.error)return"";if(e.length<6)for(var t=6-e.length-1;0<=t;t--)e="0"+e;return"#"+e}),T.funcs.parse_color=function(e){var t=e.replace(/\s+/g,""),n=-1!==t.indexOf("rgba")?parseFloat(100*t.replace(/^.*,(.+)\)/,"$1")):100;return{value:t,transparent:n,rgba:n<100}},I.fn.ulf_color=function(){return this.each(function(){var c,r=I(this),o=T.funcs.parse_color(r.val()),e=!_.ulf_vars.color_palette.length||_.ulf_vars.color_palette;r.hasClass("wp-color-picker")&&r.closest(".wp-picker-container").after(r).remove(),r.wpColorPicker({palettes:e,change:function(e,t){var n=t.color.toString();c.removeClass("ulf--transparent-active"),c.find(".ulf--transparent-offset").css("background-color",n),r.val(n).trigger("change")},create:function(){c=r.closest(".wp-picker-container");var i=r.data("a8cIris"),e=I('<div class="ulf--transparent-wrap"><div class="ulf--transparent-slider"></div><div class="ulf--transparent-offset"></div><div class="ulf--transparent-text"></div><div class="ulf--transparent-button">transparent <i class="fas fa-toggle-off"></i></div></div>').appendTo(c.find(".wp-picker-holder")),a=e.find(".ulf--transparent-slider"),s=e.find(".ulf--transparent-text"),n=e.find(".ulf--transparent-offset"),t=e.find(".ulf--transparent-button");"transparent"===r.val()&&c.addClass("ulf--transparent-active"),t.on("click",function(){"transparent"!==r.val()?(r.val("transparent").trigger("change").removeClass("iris-error"),c.addClass("ulf--transparent-active")):(r.val(i._color.toString()).trigger("change"),c.removeClass("ulf--transparent-active"))}),a.slider({value:o.transparent,step:1,min:0,max:100,slide:function(e,t){var n=parseFloat(t.value/100);i._color._alpha=n,r.wpColorPicker("color",i._color.toString()),s.text(1===n||0===n?"":n)},create:function(){var e=parseFloat(o.transparent/100),t=e<1?e:"";s.text(t),n.css("background-color",o.value),c.on("click",".wp-picker-clear",function(){i._color._alpha=1,s.text(""),a.slider("option","value",100),c.removeClass("ulf--transparent-active"),r.trigger("change")}),c.on("click",".wp-picker-default",function(){var e=T.funcs.parse_color(r.data("default-color")),t=parseFloat(e.transparent/100),n=t<1?t:"";i._color._alpha=t,s.text(n),a.slider("option","value",e.transparent),"transparent"===e.value&&(r.removeClass("iris-error"),c.addClass("ulf--transparent-active"))})}})}})})},I.fn.ulf_chosen=function(){return this.each(function(){var s=I(this),e=s.parent().find(".chosen-container"),t=s.hasClass("ulf-chosen-sortable")||!1,n=s.hasClass("ulf-chosen-ajax")||!1,i=s.attr("multiple")||!1,a=i?"100%":"auto",c=I.extend({allow_single_deselect:!0,disable_search_threshold:10,width:a,no_results_text:_.ulf_vars.i18n.no_results_text},s.data("chosen-settings"));if(e.length&&e.remove(),n){var r=I.extend({data:{type:"post",nonce:""},allow_single_deselect:!0,disable_search_threshold:-1,width:"100%",min_length:3,type_delay:500,typing_text:_.ulf_vars.i18n.typing_text,searching_text:_.ulf_vars.i18n.searching_text,no_results_text:_.ulf_vars.i18n.no_results_text},s.data("chosen-settings"));s.ULFAjaxChosen(r)}else s.chosen(c);if(i){var o=s.parent().find(".ulf-hide-select"),f=o.val()||[];s.on("change",function(e,t){t&&t.selected?o.append('<option value="'+t.selected+'" selected="selected">'+t.selected+"</option>"):t&&t.deselected&&o.find('option[value="'+t.deselected+'"]').remove(),_.wp.customize!==y&&0===o.children().length&&o.data("customize-setting-link")&&_.wp.customize.control(o.data("customize-setting-link")).setting.set(""),o.trigger("change")}),s.ULFChosenOrder(f,!0)}if(t){var l=s.parent().find(".chosen-container").find(".chosen-choices");l.bind("mousedown",function(e){I(e.target).is("span")&&e.stopPropagation()}),l.sortable({items:"li:not(.search-field)",helper:"orginal",cursor:"move",placeholder:"search-choice-placeholder",start:function(e,t){t.placeholder.width(t.item.innerWidth()),t.placeholder.height(t.item.innerHeight())},update:function(e,t){var i="",a=s.data("chosen"),n=s.parent().find(".ulf-hide-select");l.find(".search-choice-close").each(function(){var n=I(this).data("option-array-index");I.each(a.results_data,function(e,t){t.array_index===n&&(i+='<option value="'+t.value+'" selected>'+t.value+"</option>")})}),n.children().remove(),n.append(i),n.trigger("change")}})}})},I.fn.ulf_checkbox=function(){return this.each(function(){var e=I(this),t=e.find(".ulf--input"),n=e.find(".ulf--checkbox");n.on("click",function(){t.val(Number(n.prop("checked"))).trigger("change")})})},I.fn.ulf_siblings=function(){return this.each(function(){var t=I(this),e=t.find(".ulf--sibling"),n=t.data("multiple")||!1;e.on("click",function(){var e=I(this);n?e.hasClass("ulf--active")?(e.removeClass("ulf--active"),e.find("input").prop("checked",!1).trigger("change")):(e.addClass("ulf--active"),e.find("input").prop("checked",!0).trigger("change")):(t.find("input").prop("checked",!1),e.find("input").prop("checked",!0).trigger("change"),e.addClass("ulf--active").siblings().removeClass("ulf--active"))})})},I.fn.ulf_help=function(){return this.each(function(){var e,t,n=I(this);n.on({mouseenter:function(){e=I('<div class="ulf-tooltip"></div>').html(n.find(".ulf-help-text").html()).appendTo("body"),t=T.vars.is_rtl?n.offset().left+24:n.offset().left-e.outerWidth(),e.css({top:n.offset().top-(e.outerHeight()/2-14),left:t})},mouseleave:function(){e!==y&&e.remove()}})})},I.fn.ulf_customizer_refresh=function(){return this.each(function(){var e=I(this),t=e.closest(".ulf-customize-complex");if(t.length){var n=t.data("unique-id");if(n===y)return;var i=t.find(":input"),a=t.data("option-id"),s=i.serializeObjectULF(),c=!I.isEmptyObject(s)&&s[n]&&s[n][a]?s[n][a]:"",r=_.wp.customize.control(n+"["+a+"]");r.setting._value=null,r.setting.set(c)}else e.find(":input").first().trigger("change");I(b).trigger("ulf-customizer-refresh",e)})},I.fn.ulf_customizer_listen=function(e){var t=I.extend({closest:!1},e);return this.each(function(){if(_.wp.customize!==y){var n=t.closest?I(this).closest(".ulf-customize-complex"):I(this),e=n.find(":input"),i=n.data("unique-id"),a=n.data("option-id");i!==y&&e.on("change keyup ulf.change",function(){var e=n.find(":input").serializeObjectULF(),t=!I.isEmptyObject(e)&&e[i]&&e[i][a]?e[i][a]:"";_.wp.customize.control(i+"["+a+"]").setting.set(t)})}})},I(b).on("expanded",".control-section",function(){var e=I(this);if(e.hasClass("open")&&!e.data("inited")){var t=e.find(".ulf-customize-field"),n=e.find(".ulf-customize-complex");t.length&&(e.ulf_dependency(),t.ulf_reload_script({dependency:!1}),n.ulf_customizer_listen()),e.data("inited",!0)}}),T.vars.$window.on("resize ulf.resize",T.helper.debounce(function(e){(-1<navigator.userAgent.indexOf("AppleWebKit/")?T.vars.$window.width():_.innerWidth)<=782&&!T.vars.onloaded&&(I(".ulf-section").ulf_reload_script(),T.vars.onloaded=!0)},200)).trigger("ulf.resize"),I.fn.ulf_widgets=function(){return this.each(function(){I(b).on("widget-added widget-updated",function(e,t){var n=t.find(".ulf-fields");n.length&&n.ulf_reload_script()}),I(b).on("click",".widget-top",function(e){var t=I(this).parent().find(".ulf-fields");t.length&&t.ulf_reload_script()}),I(".widgets-sortables, .control-section-sidebar").on("sortstop",function(e,t){t.item.find(".ulf-fields").ulf_reload_script_retry()})})},I.fn.ulf_nav_menu=function(){return this.each(function(){var e=I(this);e.on("click","a.item-edit",function(){I(this).closest("li.menu-item").find(".ulf-fields").ulf_reload_script()}),e.on("sortstop",function(e,t){t.item.find(".ulf-fields").ulf_reload_script_retry()})})},I.fn.ulf_reload_script_retry=function(){return this.each(function(){var e=I(this);e.data("inited")&&e.children(".ulf-field-wp_editor").ulf_field_wp_editor()})},I.fn.ulf_reload_script=function(e){var t=I.extend({dependency:!0},e);return this.each(function(){var e=I(this);e.data("inited")||(e.children(".ulf-field-accordion").ulf_field_accordion(),e.children(".ulf-field-backup").ulf_field_backup(),e.children(".ulf-field-background").ulf_field_background(),e.children(".ulf-field-code_editor").ulf_field_code_editor(),e.children(".ulf-field-date").ulf_field_date(),e.children(".ulf-field-datetime").ulf_field_datetime(),e.children(".ulf-field-fieldset").ulf_field_fieldset(),e.children(".ulf-field-gallery").ulf_field_gallery(),e.children(".ulf-field-group").ulf_field_group(),e.children(".ulf-field-icon").ulf_field_icon(),e.children(".ulf-field-link").ulf_field_link(),e.children(".ulf-field-media").ulf_field_media(),e.children(".ulf-field-map").ulf_field_map(),e.children(".ulf-field-repeater").ulf_field_repeater(),e.children(".ulf-field-slider").ulf_field_slider(),e.children(".ulf-field-sortable").ulf_field_sortable(),e.children(".ulf-field-sorter").ulf_field_sorter(),e.children(".ulf-field-spinner").ulf_field_spinner(),e.children(".ulf-field-switcher").ulf_field_switcher(),e.children(".ulf-field-tabbed").ulf_field_tabbed(),e.children(".ulf-field-typography").ulf_field_typography(),e.children(".ulf-field-upload").ulf_field_upload(),e.children(".ulf-field-wp_editor").ulf_field_wp_editor(),e.children(".ulf-field-border").find(".ulf-color").ulf_color(),e.children(".ulf-field-background").find(".ulf-color").ulf_color(),e.children(".ulf-field-color").find(".ulf-color").ulf_color(),e.children(".ulf-field-color_group").find(".ulf-color").ulf_color(),e.children(".ulf-field-link_color").find(".ulf-color").ulf_color(),e.children(".ulf-field-typography").find(".ulf-color").ulf_color(),e.children(".ulf-field-select").find(".ulf-chosen").ulf_chosen(),e.children(".ulf-field-checkbox").find(".ulf-checkbox").ulf_checkbox(),e.children(".ulf-field-button_set").find(".ulf-siblings").ulf_siblings(),e.children(".ulf-field-image_select").find(".ulf-siblings").ulf_siblings(),e.children(".ulf-field-palette").find(".ulf-siblings").ulf_siblings(),e.children(".ulf-field").find(".ulf-help").ulf_help(),t.dependency&&e.ulf_dependency(),e.data("inited",!0),I(b).trigger("ulf-reload-script",e))})},I(b).ready(function(){I(".ulf-save").ulf_save(),I(".ulf-options").ulf_options(),I(".ulf-sticky-header").ulf_sticky(),I(".ulf-nav-options").ulf_nav_options(),I(".ulf-nav-metabox").ulf_nav_metabox(),I(".ulf-taxonomy").ulf_taxonomy(),I(".ulf-page-templates").ulf_page_templates(),I(".ulf-post-formats").ulf_post_formats(),I(".ulf-shortcode").ulf_shortcode(),I(".ulf-search").ulf_search(),I(".ulf-confirm").ulf_confirm(),I(".ulf-expand-all").ulf_expand_all(),I(".ulf-onload").ulf_reload_script(),I("#widgets-editor").ulf_widgets(),I("#widgets-right").ulf_widgets(),I("#menu-to-edit").ulf_nav_menu()})}(jQuery,window,document);
|
admin/settings/assets/js/plugins.min.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/* Codestar Framework | A Simple and Lightweight WordPress Option Framework - v2.2.
|
2 |
|
3 |
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).flatpickr=t()}(this,function(){"use strict";var ee=function(){return(ee=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function te(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i}var ne=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],ie={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:"object"==typeof window&&-1===window.navigator.userAgent.indexOf("MSIE"),ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(e){return"undefined"!=typeof console&&console.warn(e)},getWeek:function(e){var t=new Date(e.getTime());t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7);var n=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-n.getTime())/864e5-3+(n.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},oe={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(e){var t=e%100;if(3<t&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},re=function(e,t){return void 0===t&&(t=2),("000"+e).slice(-1*t)},se=function(e){return!0===e?1:0};function ae(t,n){var i;return function(){var e=this;clearTimeout(i),i=setTimeout(function(){return t.apply(e,arguments)},n)}}var le=function(e){return e instanceof Array?e:[e]};function ce(e,t,n){if(!0===n)return e.classList.add(t);e.classList.remove(t)}function ue(e,t,n){var i=window.document.createElement(e);return t=t||"",n=n||"",i.className=t,void 0!==n&&(i.textContent=n),i}function he(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function de(e,t){var n=ue("div","numInputWrapper"),i=ue("input","numInput "+e),o=ue("span","arrowUp"),r=ue("span","arrowDown");if(-1===navigator.userAgent.indexOf("MSIE 9.0")?i.type="number":(i.type="text",i.pattern="\\d*"),void 0!==t)for(var s in t)i.setAttribute(s,t[s]);return n.appendChild(i),n.appendChild(o),n.appendChild(r),n}function fe(t){try{return"function"!=typeof t.composedPath?t.target:t.composedPath()[0]}catch(e){return t.target}}var e=function(){},pe=function(e,t,n){return n.months[t?"shorthand":"longhand"][e]},b={D:e,F:function(e,t,n){e.setMonth(n.months.longhand.indexOf(t))},G:function(e,t){e.setHours(parseFloat(t))},H:function(e,t){e.setHours(parseFloat(t))},J:function(e,t){e.setDate(parseFloat(t))},K:function(e,t,n){e.setHours(e.getHours()%12+12*se(new RegExp(n.amPM[1],"i").test(t)))},M:function(e,t,n){e.setMonth(n.months.shorthand.indexOf(t))},S:function(e,t){e.setSeconds(parseFloat(t))},U:function(e,t){return new Date(1e3*parseFloat(t))},W:function(e,t,n){var i=parseInt(t),o=new Date(e.getFullYear(),0,2+7*(i-1),0,0,0,0);return o.setDate(o.getDate()-o.getDay()+n.firstDayOfWeek),o},Y:function(e,t){e.setFullYear(parseFloat(t))},Z:function(e,t){return new Date(t)},d:function(e,t){e.setDate(parseFloat(t))},h:function(e,t){e.setHours(parseFloat(t))},i:function(e,t){e.setMinutes(parseFloat(t))},j:function(e,t){e.setDate(parseFloat(t))},l:e,m:function(e,t){e.setMonth(parseFloat(t)-1)},n:function(e,t){e.setMonth(parseFloat(t)-1)},s:function(e,t){e.setSeconds(parseFloat(t))},u:function(e,t){return new Date(parseFloat(t))},w:e,y:function(e,t){e.setFullYear(2e3+parseFloat(t))}},_e={D:"(\\w+)",F:"(\\w+)",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"(\\w+)",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"(\\w+)",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},l={Z:function(e){return e.toISOString()},D:function(e,t,n){return t.weekdays.shorthand[l.w(e,t,n)]},F:function(e,t,n){return pe(l.n(e,t,n)-1,!1,t)},G:function(e,t,n){return re(l.h(e,t,n))},H:function(e){return re(e.getHours())},J:function(e,t){return void 0!==t.ordinal?e.getDate()+t.ordinal(e.getDate()):e.getDate()},K:function(e,t){return t.amPM[se(11<e.getHours())]},M:function(e,t){return pe(e.getMonth(),!0,t)},S:function(e){return re(e.getSeconds())},U:function(e){return e.getTime()/1e3},W:function(e,t,n){return n.getWeek(e)},Y:function(e){return re(e.getFullYear(),4)},d:function(e){return re(e.getDate())},h:function(e){return e.getHours()%12?e.getHours()%12:12},i:function(e){return re(e.getMinutes())},j:function(e){return e.getDate()},l:function(e,t){return t.weekdays.longhand[e.getDay()]},m:function(e){return re(e.getMonth()+1)},n:function(e){return e.getMonth()+1},s:function(e){return e.getSeconds()},u:function(e){return e.getTime()},w:function(e){return e.getDay()},y:function(e){return String(e.getFullYear()).substring(2)}},me=function(e){var t=e.config,r=void 0===t?ie:t,n=e.l10n,s=void 0===n?oe:n,i=e.isMobile,a=void 0!==i&&i;return function(i,e,t){var o=t||s;return void 0===r.formatDate||a?e.split("").map(function(e,t,n){return l[e]&&"\\"!==n[t-1]?l[e](i,o,r):"\\"!==e?e:""}).join(""):r.formatDate(i,e,o)}},ge=function(e){var t=e.config,v=void 0===t?ie:t,n=e.l10n,y=void 0===n?oe:n;return function(e,t,n,i){if(0===e||e){var o,r=i||y,s=e;if(e instanceof Date)o=new Date(e.getTime());else if("string"!=typeof e&&void 0!==e.toFixed)o=new Date(e);else if("string"==typeof e){var a=t||(v||ie).dateFormat,l=String(e).trim();if("today"===l)o=new Date,n=!0;else if(/Z$/.test(l)||/GMT$/.test(l))o=new Date(e);else if(v&&v.parseDate)o=v.parseDate(e,a);else{o=v&&v.noCalendar?new Date((new Date).setHours(0,0,0,0)):new Date((new Date).getFullYear(),0,1,0,0,0,0);for(var c=void 0,u=[],h=0,d=0,f="";h<a.length;h++){var p=a[h],_="\\"===p,m="\\"===a[h-1]||_;if(_e[p]&&!m){f+=_e[p];var g=new RegExp(f).exec(e);g&&(c=!0)&&u["Y"!==p?"push":"unshift"]({fn:b[p],val:g[++d]})}else _||(f+=".");u.forEach(function(e){var t=e.fn,n=e.val;return o=t(o,n,r)||o})}o=c?o:void 0}}if(o instanceof Date&&!isNaN(o.getTime()))return!0===n&&o.setHours(0,0,0,0),o;v.errorHandler(new Error("Invalid date provided: "+s))}}};function ve(e,t,n){return void 0===n&&(n=!0),!1!==n?new Date(e.getTime()).setHours(0,0,0,0)-new Date(t.getTime()).setHours(0,0,0,0):e.getTime()-t.getTime()}var ye=function(e,t,n){return e>Math.min(t,n)&&e<Math.max(t,n)},be={DAY:864e5};function we(e){var t=e.defaultHour,n=e.defaultMinute,i=e.defaultSeconds;if(void 0!==e.minDate){var o=e.minDate.getHours(),r=e.minDate.getMinutes(),s=e.minDate.getSeconds();t<o&&(t=o),t===o&&n<r&&(n=r),t===o&&n===r&&i<s&&(i=e.minDate.getSeconds())}if(void 0!==e.maxDate){var a=e.maxDate.getHours(),l=e.maxDate.getMinutes();(t=Math.min(t,a))===a&&(n=Math.min(l,n)),t===a&&n===l&&(i=e.maxDate.getSeconds())}return{hours:t,minutes:n,seconds:i}}"function"!=typeof Object.assign&&(Object.assign=function(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];if(!n)throw TypeError("Cannot convert undefined or null to object");for(var i=function(t){t&&Object.keys(t).forEach(function(e){return n[e]=t[e]})},o=0,r=e;o<r.length;o++){i(r[o])}return n});var De=300;function s(d,u){var D={config:ee(ee({},ie),Ce.defaultConfig),l10n:oe};function h(e){return e.bind(D)}function t(){var t=D.config;!1===t.weekNumbers&&1===t.showMonths||!0!==t.noCalendar&&window.requestAnimationFrame(function(){if(void 0!==D.calendarContainer&&(D.calendarContainer.style.visibility="hidden",D.calendarContainer.style.display="block"),void 0!==D.daysContainer){var e=(D.days.offsetWidth+1)*t.showMonths;D.daysContainer.style.width=e+"px",D.calendarContainer.style.width=e+(void 0!==D.weekWrapper?D.weekWrapper.offsetWidth:0)+"px",D.calendarContainer.style.removeProperty("visibility"),D.calendarContainer.style.removeProperty("display")}})}function f(e){if(0===D.selectedDates.length){var t=void 0===D.config.minDate||0<=ve(new Date,D.config.minDate)?new Date:new Date(D.config.minDate.getTime()),n=we(D.config);t.setHours(n.hours,n.minutes,n.seconds,t.getMilliseconds()),D.selectedDates=[t],D.latestSelectedDateObj=t}void 0!==e&&"blur"!==e.type&&function(e){e.preventDefault();var t="keydown"===e.type,n=fe(e),i=n;void 0!==D.amPM&&n===D.amPM&&(D.amPM.textContent=D.l10n.amPM[se(D.amPM.textContent===D.l10n.amPM[0])]);var o=parseFloat(i.getAttribute("min")),r=parseFloat(i.getAttribute("max")),s=parseFloat(i.getAttribute("step")),a=parseInt(i.value,10),l=e.delta||(t?38===e.which?1:-1:0),c=a+s*l;if(void 0!==i.value&&2===i.value.length){var u=i===D.hourElement,h=i===D.minuteElement;c<o?(c=r+c+se(!u)+(se(u)&&se(!D.amPM)),h&&_(void 0,-1,D.hourElement)):r<c&&(c=i===D.hourElement?c-r-se(!D.amPM):o,h&&_(void 0,1,D.hourElement)),D.amPM&&u&&(1===s?c+a===23:Math.abs(c-a)>s)&&(D.amPM.textContent=D.l10n.amPM[se(D.amPM.textContent===D.l10n.amPM[0])]),i.value=re(c)}}(e);var i=D._input.value;p(),X(),D._input.value!==i&&D._debouncedChange()}function p(){if(void 0!==D.hourElement&&void 0!==D.minuteElement){var e,t,n=(parseInt(D.hourElement.value.slice(-2),10)||0)%24,i=(parseInt(D.minuteElement.value,10)||0)%60,o=void 0!==D.secondElement?(parseInt(D.secondElement.value,10)||0)%60:0;void 0!==D.amPM&&(e=n,t=D.amPM.textContent,n=e%12+12*se(t===D.l10n.amPM[1]));var r=void 0!==D.config.minTime||D.config.minDate&&D.minDateHasTime&&D.latestSelectedDateObj&&0===ve(D.latestSelectedDateObj,D.config.minDate,!0);if(void 0!==D.config.maxTime||D.config.maxDate&&D.maxDateHasTime&&D.latestSelectedDateObj&&0===ve(D.latestSelectedDateObj,D.config.maxDate,!0)){var s=void 0!==D.config.maxTime?D.config.maxTime:D.config.maxDate;(n=Math.min(n,s.getHours()))===s.getHours()&&(i=Math.min(i,s.getMinutes())),i===s.getMinutes()&&(o=Math.min(o,s.getSeconds()))}if(r){var a=void 0!==D.config.minTime?D.config.minTime:D.config.minDate;(n=Math.max(n,a.getHours()))===a.getHours()&&i<a.getMinutes()&&(i=a.getMinutes()),i===a.getMinutes()&&(o=Math.max(o,a.getSeconds()))}l(n,i,o)}}function o(e){var t=e||D.latestSelectedDateObj;t&&l(t.getHours(),t.getMinutes(),t.getSeconds())}function l(e,t,n){void 0!==D.latestSelectedDateObj&&D.latestSelectedDateObj.setHours(e%24,t,n||0,0),D.hourElement&&D.minuteElement&&!D.isMobile&&(D.hourElement.value=re(D.config.time_24hr?e:(12+e)%12+12*se(e%12==0)),D.minuteElement.value=re(t),void 0!==D.amPM&&(D.amPM.textContent=D.l10n.amPM[se(12<=e)]),void 0!==D.secondElement&&(D.secondElement.value=re(n)))}function n(e){var t=fe(e),n=parseInt(t.value)+(e.delta||0);(1<n/1e3||"Enter"===e.key&&!/[^\d]/.test(n.toString()))&&S(n)}function s(t,n,i,o){return n instanceof Array?n.forEach(function(e){return s(t,e,i,o)}):t instanceof Array?t.forEach(function(e){return s(e,n,i,o)}):(t.addEventListener(n,i,o),void D._handlers.push({remove:function(){return t.removeEventListener(n,i)}}))}function c(){K("onChange")}function i(e,t){var n=void 0!==e?D.parseDate(e):D.latestSelectedDateObj||(D.config.minDate&&D.config.minDate>D.now?D.config.minDate:D.config.maxDate&&D.config.maxDate<D.now?D.config.maxDate:D.now),i=D.currentYear,o=D.currentMonth;try{void 0!==n&&(D.currentYear=n.getFullYear(),D.currentMonth=n.getMonth())}catch(e){e.message="Invalid date supplied: "+n,D.config.errorHandler(e)}t&&D.currentYear!==i&&(K("onYearChange"),w()),!t||D.currentYear===i&&D.currentMonth===o||K("onMonthChange"),D.redraw()}function r(e){var t=fe(e);~t.className.indexOf("arrow")&&_(e,t.classList.contains("arrowUp")?1:-1)}function _(e,t,n){var i=e&&fe(e),o=n||i&&i.parentNode&&i.parentNode.firstChild,r=$("increment");r.delta=t,o&&o.dispatchEvent(r)}function m(e,t,n,i){var o,r=A(t,!0),s=ue("span","flatpickr-day "+e,t.getDate().toString());return s.dateObj=t,s.$i=i,s.setAttribute("aria-label",D.formatDate(t,D.config.ariaDateFormat)),-1===e.indexOf("hidden")&&0===ve(t,D.now)&&((D.todayDateElem=s).classList.add("today"),s.setAttribute("aria-current","date")),r?(s.tabIndex=-1,Q(t)&&(s.classList.add("selected"),D.selectedDateElem=s,"range"===D.config.mode&&(ce(s,"startRange",D.selectedDates[0]&&0===ve(t,D.selectedDates[0],!0)),ce(s,"endRange",D.selectedDates[1]&&0===ve(t,D.selectedDates[1],!0)),"nextMonthDay"===e&&s.classList.add("inRange")))):s.classList.add("flatpickr-disabled"),"range"===D.config.mode&&(o=t,!("range"!==D.config.mode||D.selectedDates.length<2)&&0<=ve(o,D.selectedDates[0])&&ve(o,D.selectedDates[1])<=0&&!Q(t)&&s.classList.add("inRange")),D.weekNumbers&&1===D.config.showMonths&&"prevMonthDay"!==e&&n%7==1&&D.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+D.config.getWeek(t)+"</span>"),K("onDayCreate",s),s}function g(e){e.focus(),"range"===D.config.mode&&F(e)}function v(e){for(var t=0<e?0:D.config.showMonths-1,n=0<e?D.config.showMonths:-1,i=t;i!=n;i+=e)for(var o=D.daysContainer.children[i],r=0<e?0:o.children.length-1,s=0<e?o.children.length:-1,a=r;a!=s;a+=e){var l=o.children[a];if(-1===l.className.indexOf("hidden")&&A(l.dateObj))return l}}function y(e,t){var n=I(document.activeElement||document.body),i=void 0!==e?e:n?document.activeElement:void 0!==D.selectedDateElem&&I(D.selectedDateElem)?D.selectedDateElem:void 0!==D.todayDateElem&&I(D.todayDateElem)?D.todayDateElem:v(0<t?1:-1);void 0===i?D._input.focus():n?function(e,t){for(var n=-1===e.className.indexOf("Month")?e.dateObj.getMonth():D.currentMonth,i=0<t?D.config.showMonths:-1,o=0<t?1:-1,r=n-D.currentMonth;r!=i;r+=o)for(var s=D.daysContainer.children[r],a=n-D.currentMonth===r?e.$i+t:t<0?s.children.length-1:0,l=s.children.length,c=a;0<=c&&c<l&&c!=(0<t?l:-1);c+=o){var u=s.children[c];if(-1===u.className.indexOf("hidden")&&A(u.dateObj)&&Math.abs(e.$i-c)>=Math.abs(t))return g(u)}D.changeMonth(o),y(v(o),0)}(i,t):g(i)}function a(e,t){for(var n=(new Date(e,t,1).getDay()-D.l10n.firstDayOfWeek+7)%7,i=D.utils.getDaysInMonth((t-1+12)%12,e),o=D.utils.getDaysInMonth(t,e),r=window.document.createDocumentFragment(),s=1<D.config.showMonths,a=s?"prevMonthDay hidden":"prevMonthDay",l=s?"nextMonthDay hidden":"nextMonthDay",c=i+1-n,u=0;c<=i;c++,u++)r.appendChild(m(a,new Date(e,t-1,c),c,u));for(c=1;c<=o;c++,u++)r.appendChild(m("",new Date(e,t,c),c,u));for(var h=o+1;h<=42-n&&(1===D.config.showMonths||u%7!=0);h++,u++)r.appendChild(m(l,new Date(e,t+1,h%o),h,u));var d=ue("div","dayContainer");return d.appendChild(r),d}function b(){if(void 0!==D.daysContainer){he(D.daysContainer),D.weekNumbers&&he(D.weekNumbers);for(var e=document.createDocumentFragment(),t=0;t<D.config.showMonths;t++){var n=new Date(D.currentYear,D.currentMonth,1);n.setMonth(D.currentMonth+t),e.appendChild(a(n.getFullYear(),n.getMonth()))}D.daysContainer.appendChild(e),D.days=D.daysContainer.firstChild,"range"===D.config.mode&&1===D.selectedDates.length&&F()}}function w(){if(!(1<D.config.showMonths||"dropdown"!==D.config.monthSelectorType)){var e;D.monthsDropdownContainer.tabIndex=-1,D.monthsDropdownContainer.innerHTML="";for(var t=0;t<12;t++)if(e=t,!(void 0!==D.config.minDate&&D.currentYear===D.config.minDate.getFullYear()&&e<D.config.minDate.getMonth()||void 0!==D.config.maxDate&&D.currentYear===D.config.maxDate.getFullYear()&&e>D.config.maxDate.getMonth())){var n=ue("option","flatpickr-monthDropdown-month");n.value=new Date(D.currentYear,t).getMonth().toString(),n.textContent=pe(t,D.config.shorthandCurrentMonth,D.l10n),n.tabIndex=-1,D.currentMonth===t&&(n.selected=!0),D.monthsDropdownContainer.appendChild(n)}}}function C(){var e,t=ue("div","flatpickr-month"),n=window.document.createDocumentFragment();e=1<D.config.showMonths||"static"===D.config.monthSelectorType?ue("span","cur-month"):(D.monthsDropdownContainer=ue("select","flatpickr-monthDropdown-months"),D.monthsDropdownContainer.setAttribute("aria-label",D.l10n.monthAriaLabel),s(D.monthsDropdownContainer,"change",function(e){var t=fe(e),n=parseInt(t.value,10);D.changeMonth(n-D.currentMonth),K("onMonthChange")}),w(),D.monthsDropdownContainer);var i=de("cur-year",{tabindex:"-1"}),o=i.getElementsByTagName("input")[0];o.setAttribute("aria-label",D.l10n.yearAriaLabel),D.config.minDate&&o.setAttribute("min",D.config.minDate.getFullYear().toString()),D.config.maxDate&&(o.setAttribute("max",D.config.maxDate.getFullYear().toString()),o.disabled=!!D.config.minDate&&D.config.minDate.getFullYear()===D.config.maxDate.getFullYear());var r=ue("div","flatpickr-current-month");return r.appendChild(e),r.appendChild(i),n.appendChild(r),t.appendChild(n),{container:t,yearElement:o,monthElement:e}}function x(){he(D.monthNav),D.monthNav.appendChild(D.prevMonthNav),D.config.showMonths&&(D.yearElements=[],D.monthElements=[]);for(var e=D.config.showMonths;e--;){var t=C();D.yearElements.push(t.yearElement),D.monthElements.push(t.monthElement),D.monthNav.appendChild(t.container)}D.monthNav.appendChild(D.nextMonthNav)}function M(){D.weekdayContainer?he(D.weekdayContainer):D.weekdayContainer=ue("div","flatpickr-weekdays");for(var e=D.config.showMonths;e--;){var t=ue("div","flatpickr-weekdaycontainer");D.weekdayContainer.appendChild(t)}return k(),D.weekdayContainer}function k(){if(D.weekdayContainer){var e=D.l10n.firstDayOfWeek,t=te(D.l10n.weekdays.shorthand);0<e&&e<t.length&&(t=te(t.splice(e,t.length),t.splice(0,e)));for(var n=D.config.showMonths;n--;)D.weekdayContainer.children[n].innerHTML="\n <span class='flatpickr-weekday'>\n "+t.join("</span><span class='flatpickr-weekday'>")+"\n </span>\n "}}function E(e,t){void 0===t&&(t=!0);var n=t?e:e-D.currentMonth;n<0&&!0===D._hidePrevMonthArrow||0<n&&!0===D._hideNextMonthArrow||(D.currentMonth+=n,(D.currentMonth<0||11<D.currentMonth)&&(D.currentYear+=11<D.currentMonth?1:-1,D.currentMonth=(D.currentMonth+12)%12,K("onYearChange"),w()),b(),K("onMonthChange"),V())}function T(e){return!(!D.config.appendTo||!D.config.appendTo.contains(e))||D.calendarContainer.contains(e)}function O(e){if(D.isOpen&&!D.config.inline){var t=fe(e),n=T(t),i=t===D.input||t===D.altInput||D.element.contains(t)||e.path&&e.path.indexOf&&(~e.path.indexOf(D.input)||~e.path.indexOf(D.altInput)),o="blur"===e.type?i&&e.relatedTarget&&!T(e.relatedTarget):!i&&!n&&!T(e.relatedTarget),r=!D.config.ignoredFocusElements.some(function(e){return e.contains(t)});o&&r&&(void 0!==D.timeContainer&&void 0!==D.minuteElement&&void 0!==D.hourElement&&""!==D.input.value&&void 0!==D.input.value&&f(),D.close(),D.config&&"range"===D.config.mode&&1===D.selectedDates.length&&(D.clear(!1),D.redraw()))}}function S(e){if(!(!e||D.config.minDate&&e<D.config.minDate.getFullYear()||D.config.maxDate&&e>D.config.maxDate.getFullYear())){var t=e,n=D.currentYear!==t;D.currentYear=t||D.currentYear,D.config.maxDate&&D.currentYear===D.config.maxDate.getFullYear()?D.currentMonth=Math.min(D.config.maxDate.getMonth(),D.currentMonth):D.config.minDate&&D.currentYear===D.config.minDate.getFullYear()&&(D.currentMonth=Math.max(D.config.minDate.getMonth(),D.currentMonth)),n&&(D.redraw(),K("onYearChange"),w())}}function A(e,t){var n;void 0===t&&(t=!0);var i=D.parseDate(e,void 0,t);if(D.config.minDate&&i&&ve(i,D.config.minDate,void 0!==t?t:!D.minDateHasTime)<0||D.config.maxDate&&i&&0<ve(i,D.config.maxDate,void 0!==t?t:!D.maxDateHasTime))return!1;if(!D.config.enable&&0===D.config.disable.length)return!0;if(void 0===i)return!1;for(var o=!!D.config.enable,r=null!==(n=D.config.enable)&&void 0!==n?n:D.config.disable,s=0,a=void 0;s<r.length;s++){if("function"==typeof(a=r[s])&&a(i))return o;if(a instanceof Date&&void 0!==i&&a.getTime()===i.getTime())return o;if("string"==typeof a){var l=D.parseDate(a,void 0,!0);return l&&l.getTime()===i.getTime()?o:!o}if("object"==typeof a&&void 0!==i&&a.from&&a.to&&i.getTime()>=a.from.getTime()&&i.getTime()<=a.to.getTime())return o}return!o}function I(e){return void 0!==D.daysContainer&&(-1===e.className.indexOf("hidden")&&-1===e.className.indexOf("flatpickr-disabled")&&D.daysContainer.contains(e))}function N(e){!(e.target===D._input)||!(0<D.selectedDates.length||0<D._input.value.length)||e.relatedTarget&&T(e.relatedTarget)||D.setDate(D._input.value,!0,e.target===D.altInput?D.config.altFormat:D.config.dateFormat)}function j(e){var t=fe(e),n=D.config.wrap?d.contains(t):t===D._input,i=D.config.allowInput,o=D.isOpen&&(!i||!n),r=D.config.inline&&n&&!i;if(13===e.keyCode&&n){if(i)return D.setDate(D._input.value,!0,t===D.altInput?D.config.altFormat:D.config.dateFormat),t.blur();D.open()}else if(T(t)||o||r){var s=!!D.timeContainer&&D.timeContainer.contains(t);switch(e.keyCode){case 13:s?(e.preventDefault(),f(),W()):B(e);break;case 27:e.preventDefault(),W();break;case 8:case 46:n&&!D.config.allowInput&&(e.preventDefault(),D.clear());break;case 37:case 39:if(s||n)D.hourElement&&D.hourElement.focus();else if(e.preventDefault(),void 0!==D.daysContainer&&(!1===i||document.activeElement&&I(document.activeElement))){var a=39===e.keyCode?1:-1;e.ctrlKey?(e.stopPropagation(),E(a),y(v(1),0)):y(void 0,a)}break;case 38:case 40:e.preventDefault();var l=40===e.keyCode?1:-1;D.daysContainer&&void 0!==t.$i||t===D.input||t===D.altInput?e.ctrlKey?(e.stopPropagation(),S(D.currentYear-l),y(v(1),0)):s||y(void 0,7*l):t===D.currentYearElement?S(D.currentYear-l):D.config.enableTime&&(!s&&D.hourElement&&D.hourElement.focus(),f(e),D._debouncedChange());break;case 9:if(s){var c=[D.hourElement,D.minuteElement,D.secondElement,D.amPM].concat(D.pluginElements).filter(function(e){return e}),u=c.indexOf(t);if(-1!==u){var h=c[u+(e.shiftKey?-1:1)];e.preventDefault(),(h||D._input).focus()}}else!D.config.noCalendar&&D.daysContainer&&D.daysContainer.contains(t)&&e.shiftKey&&(e.preventDefault(),D._input.focus())}}if(void 0!==D.amPM&&t===D.amPM)switch(e.key){case D.l10n.amPM[0].charAt(0):case D.l10n.amPM[0].charAt(0).toLowerCase():D.amPM.textContent=D.l10n.amPM[0],p(),X();break;case D.l10n.amPM[1].charAt(0):case D.l10n.amPM[1].charAt(0).toLowerCase():D.amPM.textContent=D.l10n.amPM[1],p(),X()}(n||T(t))&&K("onKeyDown",e)}function F(r){if(1===D.selectedDates.length&&(!r||r.classList.contains("flatpickr-day")&&!r.classList.contains("flatpickr-disabled"))){for(var s=r?r.dateObj.getTime():D.days.firstElementChild.dateObj.getTime(),a=D.parseDate(D.selectedDates[0],void 0,!0).getTime(),e=Math.min(s,D.selectedDates[0].getTime()),t=Math.max(s,D.selectedDates[0].getTime()),l=!1,c=0,u=0,n=e;n<t;n+=be.DAY)A(new Date(n),!0)||(l=l||e<n&&n<t,n<a&&(!c||c<n)?c=n:a<n&&(!u||n<u)&&(u=n));for(var i=0;i<D.config.showMonths;i++)for(var h=D.daysContainer.children[i],o=function(e,t){var n=h.children[e],i=n.dateObj.getTime(),o=0<c&&i<c||0<u&&u<i;return o?(n.classList.add("notAllowed"),["inRange","startRange","endRange"].forEach(function(e){n.classList.remove(e)}),"continue"):l&&!o?"continue":(["startRange","inRange","endRange","notAllowed"].forEach(function(e){n.classList.remove(e)}),void(void 0!==r&&(r.classList.add(s<=D.selectedDates[0].getTime()?"startRange":"endRange"),a<s&&i===a?n.classList.add("startRange"):s<a&&i===a&&n.classList.add("endRange"),c<=i&&(0===u||i<=u)&&ye(i,a,s)&&n.classList.add("inRange"))))},d=0,f=h.children.length;d<f;d++)o(d)}}function P(){!D.isOpen||D.config.static||D.config.inline||R()}function Y(i){return function(e){var t=D.config["_"+i+"Date"]=D.parseDate(e,D.config.dateFormat),n=D.config["_"+("min"===i?"max":"min")+"Date"];void 0!==t&&(D["min"===i?"minDateHasTime":"maxDateHasTime"]=0<t.getHours()||0<t.getMinutes()||0<t.getSeconds()),D.selectedDates&&(D.selectedDates=D.selectedDates.filter(function(e){return A(e)}),D.selectedDates.length||"min"!==i||o(t),X()),D.daysContainer&&(q(),void 0!==t?D.currentYearElement[i]=t.getFullYear().toString():D.currentYearElement.removeAttribute(i),D.currentYearElement.disabled=!!n&&void 0!==t&&n.getFullYear()===t.getFullYear())}}function H(){return D.config.wrap?d.querySelector("[data-input]"):d}function L(){"object"!=typeof D.config.locale&&void 0===Ce.l10ns[D.config.locale]&&D.config.errorHandler(new Error("flatpickr: invalid locale "+D.config.locale)),D.l10n=ee(ee({},Ce.l10ns.default),"object"==typeof D.config.locale?D.config.locale:"default"!==D.config.locale?Ce.l10ns[D.config.locale]:void 0),_e.K="("+D.l10n.amPM[0]+"|"+D.l10n.amPM[1]+"|"+D.l10n.amPM[0].toLowerCase()+"|"+D.l10n.amPM[1].toLowerCase()+")",void 0===ee(ee({},u),JSON.parse(JSON.stringify(d.dataset||{}))).time_24hr&&void 0===Ce.defaultConfig.time_24hr&&(D.config.time_24hr=D.l10n.time_24hr),D.formatDate=me(D),D.parseDate=ge({config:D.config,l10n:D.l10n})}function R(e){if("function"!=typeof D.config.position){if(void 0!==D.calendarContainer){K("onPreCalendarPosition");var t=e||D._positionElement,n=Array.prototype.reduce.call(D.calendarContainer.children,function(e,t){return e+t.offsetHeight},0),i=D.calendarContainer.offsetWidth,o=D.config.position.split(" "),r=o[0],s=1<o.length?o[1]:null,a=t.getBoundingClientRect(),l=window.innerHeight-a.bottom,c="above"===r||"below"!==r&&l<n&&a.top>n,u=window.pageYOffset+a.top+(c?-n-2:t.offsetHeight+2);if(ce(D.calendarContainer,"arrowTop",!c),ce(D.calendarContainer,"arrowBottom",c),!D.config.inline){var h=window.pageXOffset+a.left,d=!1,f=!1;"center"===s?(h-=(i-a.width)/2,d=!0):"right"===s&&(h-=i-a.width,f=!0),ce(D.calendarContainer,"arrowLeft",!d&&!f),ce(D.calendarContainer,"arrowCenter",d),ce(D.calendarContainer,"arrowRight",f);var p=window.document.body.offsetWidth-(window.pageXOffset+a.right),_=h+i>window.document.body.offsetWidth,m=p+i>window.document.body.offsetWidth;if(ce(D.calendarContainer,"rightMost",_),!D.config.static)if(D.calendarContainer.style.top=u+"px",_)if(m){var g=function(){for(var e=null,t=0;t<document.styleSheets.length;t++){var n=document.styleSheets[t];try{n.cssRules}catch(e){continue}e=n;break}return null!=e?e:(i=document.createElement("style"),document.head.appendChild(i),i.sheet);var i}();if(void 0===g)return;var v=window.document.body.offsetWidth,y=Math.max(0,v/2-i/2),b=g.cssRules.length,w="{left:"+a.left+"px;right:auto;}";ce(D.calendarContainer,"rightMost",!1),ce(D.calendarContainer,"centerMost",!0),g.insertRule(".flatpickr-calendar.centerMost:before,.flatpickr-calendar.centerMost:after"+w,b),D.calendarContainer.style.left=y+"px",D.calendarContainer.style.right="auto"}else D.calendarContainer.style.left="auto",D.calendarContainer.style.right=p+"px";else D.calendarContainer.style.left=h+"px",D.calendarContainer.style.right="auto"}}}else D.config.position(D,e)}function q(){D.config.noCalendar||D.isMobile||(w(),V(),b())}function W(){D._input.focus(),-1!==window.navigator.userAgent.indexOf("MSIE")||void 0!==navigator.msMaxTouchPoints?setTimeout(D.close,0):D.close()}function B(e){e.preventDefault(),e.stopPropagation();var t=function e(t,n){return n(t)?t:t.parentNode?e(t.parentNode,n):void 0}(fe(e),function(e){return e.classList&&e.classList.contains("flatpickr-day")&&!e.classList.contains("flatpickr-disabled")&&!e.classList.contains("notAllowed")});if(void 0!==t){var n=t,i=D.latestSelectedDateObj=new Date(n.dateObj.getTime()),o=(i.getMonth()<D.currentMonth||i.getMonth()>D.currentMonth+D.config.showMonths-1)&&"range"!==D.config.mode;if(D.selectedDateElem=n,"single"===D.config.mode)D.selectedDates=[i];else if("multiple"===D.config.mode){var r=Q(i);r?D.selectedDates.splice(parseInt(r),1):D.selectedDates.push(i)}else"range"===D.config.mode&&(2===D.selectedDates.length&&D.clear(!1,!1),D.latestSelectedDateObj=i,D.selectedDates.push(i),0!==ve(i,D.selectedDates[0],!0)&&D.selectedDates.sort(function(e,t){return e.getTime()-t.getTime()}));if(p(),o){var s=D.currentYear!==i.getFullYear();D.currentYear=i.getFullYear(),D.currentMonth=i.getMonth(),s&&(K("onYearChange"),w()),K("onMonthChange")}if(V(),b(),X(),o||"range"===D.config.mode||1!==D.config.showMonths?void 0!==D.selectedDateElem&&void 0===D.hourElement&&D.selectedDateElem&&D.selectedDateElem.focus():g(n),void 0!==D.hourElement&&void 0!==D.hourElement&&D.hourElement.focus(),D.config.closeOnSelect){var a="single"===D.config.mode&&!D.config.enableTime,l="range"===D.config.mode&&2===D.selectedDates.length&&!D.config.enableTime;(a||l)&&W()}c()}}D.parseDate=ge({config:D.config,l10n:D.l10n}),D._handlers=[],D.pluginElements=[],D.loadedPlugins=[],D._bind=s,D._setHoursFromDate=o,D._positionCalendar=R,D.changeMonth=E,D.changeYear=S,D.clear=function(e,t){void 0===e&&(e=!0);void 0===t&&(t=!0);D.input.value="",void 0!==D.altInput&&(D.altInput.value="");void 0!==D.mobileInput&&(D.mobileInput.value="");D.selectedDates=[],!(D.latestSelectedDateObj=void 0)===t&&(D.currentYear=D._initialDate.getFullYear(),D.currentMonth=D._initialDate.getMonth());if(!0===D.config.enableTime){var n=we(D.config),i=n.hours,o=n.minutes,r=n.seconds;l(i,o,r)}D.redraw(),e&&K("onChange")},D.close=function(){D.isOpen=!1,D.isMobile||(void 0!==D.calendarContainer&&D.calendarContainer.classList.remove("open"),void 0!==D._input&&D._input.classList.remove("active"));K("onClose")},D._createElement=ue,D.destroy=function(){void 0!==D.config&&K("onDestroy");for(var e=D._handlers.length;e--;)D._handlers[e].remove();if(D._handlers=[],D.mobileInput)D.mobileInput.parentNode&&D.mobileInput.parentNode.removeChild(D.mobileInput),D.mobileInput=void 0;else if(D.calendarContainer&&D.calendarContainer.parentNode)if(D.config.static&&D.calendarContainer.parentNode){var t=D.calendarContainer.parentNode;if(t.lastChild&&t.removeChild(t.lastChild),t.parentNode){for(;t.firstChild;)t.parentNode.insertBefore(t.firstChild,t);t.parentNode.removeChild(t)}}else D.calendarContainer.parentNode.removeChild(D.calendarContainer);D.altInput&&(D.input.type="text",D.altInput.parentNode&&D.altInput.parentNode.removeChild(D.altInput),delete D.altInput);D.input&&(D.input.type=D.input._type,D.input.classList.remove("flatpickr-input"),D.input.removeAttribute("readonly"));["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach(function(e){try{delete D[e]}catch(e){}})},D.isEnabled=A,D.jumpToDate=i,D.open=function(e,t){void 0===t&&(t=D._positionElement);{if(!0===D.isMobile){if(e){e.preventDefault();var n=fe(e);n&&n.blur()}return void 0!==D.mobileInput&&(D.mobileInput.focus(),D.mobileInput.click()),void K("onOpen")}if(D._input.disabled||D.config.inline)return}var i=D.isOpen;D.isOpen=!0,i||(D.calendarContainer.classList.add("open"),D._input.classList.add("active"),K("onOpen"),R(t));!0===D.config.enableTime&&!0===D.config.noCalendar&&(!1!==D.config.allowInput||void 0!==e&&D.timeContainer.contains(e.relatedTarget)||setTimeout(function(){return D.hourElement.select()},50))},D.redraw=q,D.set=function(e,t){if(null!==e&&"object"==typeof e)for(var n in Object.assign(D.config,e),e)void 0!==z[n]&&z[n].forEach(function(e){return e()});else D.config[e]=t,void 0!==z[e]?z[e].forEach(function(e){return e()}):-1<ne.indexOf(e)&&(D.config[e]=le(t));D.redraw(),X(!0)},D.setDate=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=D.config.dateFormat);if(0!==e&&!e||e instanceof Array&&0===e.length)return D.clear(t);U(e,n),D.latestSelectedDateObj=D.selectedDates[D.selectedDates.length-1],D.redraw(),i(void 0,t),o(),0===D.selectedDates.length&&D.clear(!1);X(t),t&&K("onChange")},D.toggle=function(e){if(!0===D.isOpen)return D.close();D.open(e)};var z={locale:[L,k],showMonths:[x,t,M],minDate:[i],maxDate:[i],clickOpens:[function(){!0===D.config.clickOpens?(s(D._input,"focus",D.open),s(D._input,"click",D.open)):(D._input.removeEventListener("focus",D.open),D._input.removeEventListener("click",D.open))}]};function U(e,t){var n=[];if(e instanceof Array)n=e.map(function(e){return D.parseDate(e,t)});else if(e instanceof Date||"number"==typeof e)n=[D.parseDate(e,t)];else if("string"==typeof e)switch(D.config.mode){case"single":case"time":n=[D.parseDate(e,t)];break;case"multiple":n=e.split(D.config.conjunction).map(function(e){return D.parseDate(e,t)});break;case"range":n=e.split(D.l10n.rangeSeparator).map(function(e){return D.parseDate(e,t)})}else D.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(e)));D.selectedDates=D.config.allowInvalidPreload?n:n.filter(function(e){return e instanceof Date&&A(e,!1)}),"range"===D.config.mode&&D.selectedDates.sort(function(e,t){return e.getTime()-t.getTime()})}function J(e){return e.slice().map(function(e){return"string"==typeof e||"number"==typeof e||e instanceof Date?D.parseDate(e,void 0,!0):e&&"object"==typeof e&&e.from&&e.to?{from:D.parseDate(e.from,void 0),to:D.parseDate(e.to,void 0)}:e}).filter(function(e){return e})}function K(e,t){if(void 0!==D.config){var n=D.config[e];if(void 0!==n&&0<n.length)for(var i=0;n[i]&&i<n.length;i++)n[i](D.selectedDates,D.input.value,D,t);"onChange"===e&&(D.input.dispatchEvent($("change")),D.input.dispatchEvent($("input")))}}function $(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t}function Q(e){for(var t=0;t<D.selectedDates.length;t++)if(0===ve(D.selectedDates[t],e))return""+t;return!1}function V(){D.config.noCalendar||D.isMobile||!D.monthNav||(D.yearElements.forEach(function(e,t){var n=new Date(D.currentYear,D.currentMonth,1);n.setMonth(D.currentMonth+t),1<D.config.showMonths||"static"===D.config.monthSelectorType?D.monthElements[t].textContent=pe(n.getMonth(),D.config.shorthandCurrentMonth,D.l10n)+" ":D.monthsDropdownContainer.value=n.getMonth().toString(),e.value=n.getFullYear().toString()}),D._hidePrevMonthArrow=void 0!==D.config.minDate&&(D.currentYear===D.config.minDate.getFullYear()?D.currentMonth<=D.config.minDate.getMonth():D.currentYear<D.config.minDate.getFullYear()),D._hideNextMonthArrow=void 0!==D.config.maxDate&&(D.currentYear===D.config.maxDate.getFullYear()?D.currentMonth+1>D.config.maxDate.getMonth():D.currentYear>D.config.maxDate.getFullYear()))}function G(t){return D.selectedDates.map(function(e){return D.formatDate(e,t)}).filter(function(e,t,n){return"range"!==D.config.mode||D.config.enableTime||n.indexOf(e)===t}).join("range"!==D.config.mode?D.config.conjunction:D.l10n.rangeSeparator)}function X(e){void 0===e&&(e=!0),void 0!==D.mobileInput&&D.mobileFormatStr&&(D.mobileInput.value=void 0!==D.latestSelectedDateObj?D.formatDate(D.latestSelectedDateObj,D.mobileFormatStr):""),D.input.value=G(D.config.dateFormat),void 0!==D.altInput&&(D.altInput.value=G(D.config.altFormat)),!1!==e&&K("onValueUpdate")}function Z(e){var t=fe(e),n=D.prevMonthNav.contains(t),i=D.nextMonthNav.contains(t);n||i?E(n?-1:1):0<=D.yearElements.indexOf(t)?t.select():t.classList.contains("arrowUp")?D.changeYear(D.currentYear+1):t.classList.contains("arrowDown")&&D.changeYear(D.currentYear-1)}return function(){D.element=D.input=d,D.isOpen=!1,function(){var e=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],t=ee(ee({},JSON.parse(JSON.stringify(d.dataset||{}))),u),n={};D.config.parseDate=t.parseDate,D.config.formatDate=t.formatDate,Object.defineProperty(D.config,"enable",{get:function(){return D.config._enable},set:function(e){D.config._enable=J(e)}}),Object.defineProperty(D.config,"disable",{get:function(){return D.config._disable},set:function(e){D.config._disable=J(e)}});var i="time"===t.mode;if(!t.dateFormat&&(t.enableTime||i)){var o=Ce.defaultConfig.dateFormat||ie.dateFormat;n.dateFormat=t.noCalendar||i?"H:i"+(t.enableSeconds?":S":""):o+" H:i"+(t.enableSeconds?":S":"")}if(t.altInput&&(t.enableTime||i)&&!t.altFormat){var r=Ce.defaultConfig.altFormat||ie.altFormat;n.altFormat=t.noCalendar||i?"h:i"+(t.enableSeconds?":S K":" K"):r+" h:i"+(t.enableSeconds?":S":"")+" K"}Object.defineProperty(D.config,"minDate",{get:function(){return D.config._minDate},set:Y("min")}),Object.defineProperty(D.config,"maxDate",{get:function(){return D.config._maxDate},set:Y("max")});var s=function(t){return function(e){D.config["min"===t?"_minTime":"_maxTime"]=D.parseDate(e,"H:i:S")}};Object.defineProperty(D.config,"minTime",{get:function(){return D.config._minTime},set:s("min")}),Object.defineProperty(D.config,"maxTime",{get:function(){return D.config._maxTime},set:s("max")}),"time"===t.mode&&(D.config.noCalendar=!0,D.config.enableTime=!0),Object.assign(D.config,n,t);for(var a=0;a<e.length;a++)D.config[e[a]]=!0===D.config[e[a]]||"true"===D.config[e[a]];ne.filter(function(e){return void 0!==D.config[e]}).forEach(function(e){D.config[e]=le(D.config[e]||[]).map(h)}),D.isMobile=!D.config.disableMobile&&!D.config.inline&&"single"===D.config.mode&&!D.config.disable.length&&!D.config.enable&&!D.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);for(var a=0;a<D.config.plugins.length;a++){var l=D.config.plugins[a](D)||{};for(var c in l)-1<ne.indexOf(c)?D.config[c]=le(l[c]).map(h).concat(D.config[c]):void 0===t[c]&&(D.config[c]=l[c])}t.altInputClass||(D.config.altInputClass=H().className+" "+D.config.altInputClass),K("onParseConfig")}(),L(),function(){if(D.input=H(),!D.input)return D.config.errorHandler(new Error("Invalid input element specified"));D.input._type=D.input.type,D.input.type="text",D.input.classList.add("flatpickr-input"),D._input=D.input,D.config.altInput&&(D.altInput=ue(D.input.nodeName,D.config.altInputClass),D._input=D.altInput,D.altInput.placeholder=D.input.placeholder,D.altInput.disabled=D.input.disabled,D.altInput.required=D.input.required,D.altInput.tabIndex=D.input.tabIndex,D.altInput.type="text",D.input.setAttribute("type","hidden"),!D.config.static&&D.input.parentNode&&D.input.parentNode.insertBefore(D.altInput,D.input.nextSibling)),D.config.allowInput||D._input.setAttribute("readonly","readonly"),D._positionElement=D.config.positionElement||D._input}(),function(){D.selectedDates=[],D.now=D.parseDate(D.config.now)||new Date;var e=D.config.defaultDate||("INPUT"!==D.input.nodeName&&"TEXTAREA"!==D.input.nodeName||!D.input.placeholder||D.input.value!==D.input.placeholder?D.input.value:null);e&&U(e,D.config.dateFormat),D._initialDate=0<D.selectedDates.length?D.selectedDates[0]:D.config.minDate&&D.config.minDate.getTime()>D.now.getTime()?D.config.minDate:D.config.maxDate&&D.config.maxDate.getTime()<D.now.getTime()?D.config.maxDate:D.now,D.currentYear=D._initialDate.getFullYear(),D.currentMonth=D._initialDate.getMonth(),0<D.selectedDates.length&&(D.latestSelectedDateObj=D.selectedDates[0]),void 0!==D.config.minTime&&(D.config.minTime=D.parseDate(D.config.minTime,"H:i")),void 0!==D.config.maxTime&&(D.config.maxTime=D.parseDate(D.config.maxTime,"H:i")),D.minDateHasTime=!!D.config.minDate&&(0<D.config.minDate.getHours()||0<D.config.minDate.getMinutes()||0<D.config.minDate.getSeconds()),D.maxDateHasTime=!!D.config.maxDate&&(0<D.config.maxDate.getHours()||0<D.config.maxDate.getMinutes()||0<D.config.maxDate.getSeconds())}(),D.utils={getDaysInMonth:function(e,t){return void 0===e&&(e=D.currentMonth),void 0===t&&(t=D.currentYear),1===e&&(t%4==0&&t%100!=0||t%400==0)?29:D.l10n.daysInMonth[e]}},D.isMobile||function(){var e=window.document.createDocumentFragment();if(D.calendarContainer=ue("div","flatpickr-calendar"),D.calendarContainer.tabIndex=-1,!D.config.noCalendar){if(e.appendChild((D.monthNav=ue("div","flatpickr-months"),D.yearElements=[],D.monthElements=[],D.prevMonthNav=ue("span","flatpickr-prev-month"),D.prevMonthNav.innerHTML=D.config.prevArrow,D.nextMonthNav=ue("span","flatpickr-next-month"),D.nextMonthNav.innerHTML=D.config.nextArrow,x(),Object.defineProperty(D,"_hidePrevMonthArrow",{get:function(){return D.__hidePrevMonthArrow},set:function(e){D.__hidePrevMonthArrow!==e&&(ce(D.prevMonthNav,"flatpickr-disabled",e),D.__hidePrevMonthArrow=e)}}),Object.defineProperty(D,"_hideNextMonthArrow",{get:function(){return D.__hideNextMonthArrow},set:function(e){D.__hideNextMonthArrow!==e&&(ce(D.nextMonthNav,"flatpickr-disabled",e),D.__hideNextMonthArrow=e)}}),D.currentYearElement=D.yearElements[0],V(),D.monthNav)),D.innerContainer=ue("div","flatpickr-innerContainer"),D.config.weekNumbers){var t=function(){D.calendarContainer.classList.add("hasWeeks");var e=ue("div","flatpickr-weekwrapper");e.appendChild(ue("span","flatpickr-weekday",D.l10n.weekAbbreviation));var t=ue("div","flatpickr-weeks");return e.appendChild(t),{weekWrapper:e,weekNumbers:t}}(),n=t.weekWrapper,i=t.weekNumbers;D.innerContainer.appendChild(n),D.weekNumbers=i,D.weekWrapper=n}D.rContainer=ue("div","flatpickr-rContainer"),D.rContainer.appendChild(M()),D.daysContainer||(D.daysContainer=ue("div","flatpickr-days"),D.daysContainer.tabIndex=-1),b(),D.rContainer.appendChild(D.daysContainer),D.innerContainer.appendChild(D.rContainer),e.appendChild(D.innerContainer)}D.config.enableTime&&e.appendChild(function(){D.calendarContainer.classList.add("hasTime"),D.config.noCalendar&&D.calendarContainer.classList.add("noCalendar");var e=we(D.config);D.timeContainer=ue("div","flatpickr-time"),D.timeContainer.tabIndex=-1;var t=ue("span","flatpickr-time-separator",":"),n=de("flatpickr-hour",{"aria-label":D.l10n.hourAriaLabel});D.hourElement=n.getElementsByTagName("input")[0];var i=de("flatpickr-minute",{"aria-label":D.l10n.minuteAriaLabel});if(D.minuteElement=i.getElementsByTagName("input")[0],D.hourElement.tabIndex=D.minuteElement.tabIndex=-1,D.hourElement.value=re(D.latestSelectedDateObj?D.latestSelectedDateObj.getHours():D.config.time_24hr?e.hours:function(e){switch(e%24){case 0:case 12:return 12;default:return e%12}}(e.hours)),D.minuteElement.value=re(D.latestSelectedDateObj?D.latestSelectedDateObj.getMinutes():e.minutes),D.hourElement.setAttribute("step",D.config.hourIncrement.toString()),D.minuteElement.setAttribute("step",D.config.minuteIncrement.toString()),D.hourElement.setAttribute("min",D.config.time_24hr?"0":"1"),D.hourElement.setAttribute("max",D.config.time_24hr?"23":"12"),D.hourElement.setAttribute("maxlength","2"),D.minuteElement.setAttribute("min","0"),D.minuteElement.setAttribute("max","59"),D.minuteElement.setAttribute("maxlength","2"),D.timeContainer.appendChild(n),D.timeContainer.appendChild(t),D.timeContainer.appendChild(i),D.config.time_24hr&&D.timeContainer.classList.add("time24hr"),D.config.enableSeconds){D.timeContainer.classList.add("hasSeconds");var o=de("flatpickr-second");D.secondElement=o.getElementsByTagName("input")[0],D.secondElement.value=re(D.latestSelectedDateObj?D.latestSelectedDateObj.getSeconds():e.seconds),D.secondElement.setAttribute("step",D.minuteElement.getAttribute("step")),D.secondElement.setAttribute("min","0"),D.secondElement.setAttribute("max","59"),D.secondElement.setAttribute("maxlength","2"),D.timeContainer.appendChild(ue("span","flatpickr-time-separator",":")),D.timeContainer.appendChild(o)}return D.config.time_24hr||(D.amPM=ue("span","flatpickr-am-pm",D.l10n.amPM[se(11<(D.latestSelectedDateObj?D.hourElement.value:D.config.defaultHour))]),D.amPM.title=D.l10n.toggleTitle,D.amPM.tabIndex=-1,D.timeContainer.appendChild(D.amPM)),D.timeContainer}()),ce(D.calendarContainer,"rangeMode","range"===D.config.mode),ce(D.calendarContainer,"animate",!0===D.config.animate),ce(D.calendarContainer,"multiMonth",1<D.config.showMonths),D.calendarContainer.appendChild(e);var o=void 0!==D.config.appendTo&&void 0!==D.config.appendTo.nodeType;if((D.config.inline||D.config.static)&&(D.calendarContainer.classList.add(D.config.inline?"inline":"static"),D.config.inline&&(!o&&D.element.parentNode?D.element.parentNode.insertBefore(D.calendarContainer,D._input.nextSibling):void 0!==D.config.appendTo&&D.config.appendTo.appendChild(D.calendarContainer)),D.config.static)){var r=ue("div","flatpickr-wrapper");D.element.parentNode&&D.element.parentNode.insertBefore(r,D.element),r.appendChild(D.element),D.altInput&&r.appendChild(D.altInput),r.appendChild(D.calendarContainer)}D.config.static||D.config.inline||(void 0!==D.config.appendTo?D.config.appendTo:window.document.body).appendChild(D.calendarContainer)}(),function(){if(D.config.wrap&&["open","close","toggle","clear"].forEach(function(t){Array.prototype.forEach.call(D.element.querySelectorAll("[data-"+t+"]"),function(e){return s(e,"click",D[t])})}),D.isMobile)return function(){var e=D.config.enableTime?D.config.noCalendar?"time":"datetime-local":"date";D.mobileInput=ue("input",D.input.className+" flatpickr-mobile"),D.mobileInput.tabIndex=1,D.mobileInput.type=e,D.mobileInput.disabled=D.input.disabled,D.mobileInput.required=D.input.required,D.mobileInput.placeholder=D.input.placeholder,D.mobileFormatStr="datetime-local"===e?"Y-m-d\\TH:i:S":"date"===e?"Y-m-d":"H:i:S",0<D.selectedDates.length&&(D.mobileInput.defaultValue=D.mobileInput.value=D.formatDate(D.selectedDates[0],D.mobileFormatStr)),D.config.minDate&&(D.mobileInput.min=D.formatDate(D.config.minDate,"Y-m-d")),D.config.maxDate&&(D.mobileInput.max=D.formatDate(D.config.maxDate,"Y-m-d")),D.input.getAttribute("step")&&(D.mobileInput.step=String(D.input.getAttribute("step"))),D.input.type="hidden",void 0!==D.altInput&&(D.altInput.type="hidden");try{D.input.parentNode&&D.input.parentNode.insertBefore(D.mobileInput,D.input.nextSibling)}catch(e){}s(D.mobileInput,"change",function(e){D.setDate(fe(e).value,!1,D.mobileFormatStr),K("onChange"),K("onClose")})}();var e=ae(P,50);D._debouncedChange=ae(c,De),D.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&s(D.daysContainer,"mouseover",function(e){"range"===D.config.mode&&F(fe(e))}),s(window.document.body,"keydown",j),D.config.inline||D.config.static||s(window,"resize",e),void 0!==window.ontouchstart?s(window.document,"touchstart",O):s(window.document,"mousedown",O),s(window.document,"focus",O,{capture:!0}),!0===D.config.clickOpens&&(s(D._input,"focus",D.open),s(D._input,"click",D.open)),void 0!==D.daysContainer&&(s(D.monthNav,"click",Z),s(D.monthNav,["keyup","increment"],n),s(D.daysContainer,"click",B)),void 0!==D.timeContainer&&void 0!==D.minuteElement&&void 0!==D.hourElement&&(s(D.timeContainer,["increment"],f),s(D.timeContainer,"blur",f,{capture:!0}),s(D.timeContainer,"click",r),s([D.hourElement,D.minuteElement],["focus","click"],function(e){return fe(e).select()}),void 0!==D.secondElement&&s(D.secondElement,"focus",function(){return D.secondElement&&D.secondElement.select()}),void 0!==D.amPM&&s(D.amPM,"click",function(e){f(e),c()})),D.config.allowInput&&s(D._input,"blur",N)}(),(D.selectedDates.length||D.config.noCalendar)&&(D.config.enableTime&&o(D.config.noCalendar?D.latestSelectedDateObj:void 0),X(!1)),t();var e=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!D.isMobile&&e&&R(),K("onReady")}(),D}function n(e,t){for(var n=Array.prototype.slice.call(e).filter(function(e){return e instanceof HTMLElement}),i=[],o=0;o<n.length;o++){var r=n[o];try{if(null!==r.getAttribute("data-fp-omit"))continue;void 0!==r._flatpickr&&(r._flatpickr.destroy(),r._flatpickr=void 0),r._flatpickr=s(r,t||{}),i.push(r._flatpickr)}catch(e){console.error(e)}}return 1===i.length?i[0]:i}"undefined"!=typeof HTMLElement&&"undefined"!=typeof HTMLCollection&&"undefined"!=typeof NodeList&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(e){return n(this,e)},HTMLElement.prototype.flatpickr=function(e){return n([this],e)});var Ce=function(e,t){return"string"==typeof e?n(window.document.querySelectorAll(e),t):e instanceof Node?n([e],t):n(e,t)};return Ce.defaultConfig={},Ce.l10ns={en:ee({},oe),default:ee({},oe)},Ce.localize=function(e){Ce.l10ns.default=ee(ee({},Ce.l10ns.default),e)},Ce.setDefaults=function(e){Ce.defaultConfig=ee(ee({},Ce.defaultConfig),e)},Ce.parseDate=ge({}),Ce.formatDate=me({}),Ce.compareDates=ve,"undefined"!=typeof jQuery&&void 0!==jQuery.fn&&(jQuery.fn.flatpickr=function(e){return n(this,e)}),Date.prototype.fp_incr=function(e){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+("string"==typeof e?parseInt(e,10):e))},"undefined"!=typeof window&&(window.flatpickr=Ce),Ce}),function(s){function t(e,t){this.element=s(e),this.options=t,this.init()}t.prototype.init=function(){this.element.chosen(this.options),this.container=this.element.next(".chosen-container"),this.search_field=this.container.find(".chosen-search-input"),this.is_multiple=this.container.hasClass("chosen-container-multi"),this.is_typing=!1,this.chosenXhr=null,this.events()},t.prototype.events=function(){var e=this;this.search_field.on("compositionstart",function(){e.is_typing=!0}),this.search_field.on("compositionend",function(){e.is_typing=!1,e.update_list()}),this.search_field.on("keyup",function(){e.update_list()}),this.search_field.on("focus",function(){e.search_field_focused()})},t.prototype.search_field_focused=function(){this.search_welcome_message(),0===this.options.min_length&&0===this.search_field.val().length&&this.update_list()},t.prototype.search_welcome_message=function(){var e=s.trim(this.search_field.val()),t=this.container.find(".chosen-results");0===t.children().length&&0===e.length&&t.html('<li class="no-results">'+this.options.typing_text.replace("%s",this.options.min_length-e.length)+"</li>")},t.prototype.update_list=function(){var t=this;if(this.search_welcome_message(),!this.is_typing){var e=s.trim(this.search_field.val()),n=e.length<this.options.min_length?this.options.typing_text.replace("%s",this.options.min_length-e.length):this.options.searching_text;this.container.find(".no-results").text(n),e!==this.search_field.data("prevVal")&&(this.search_field.data("prevVal",e),this.timer&&clearTimeout(this.timer),e.length<this.options.min_length||(this.timer=setTimeout(function(){t.chosenXhr&&t.chosenXhr.abort(),t.options.data.term=e,t.chosenXhr=window.wp.ajax.post("ulf-chosen",t.options.data).done(function(e){t.show_results(e)}).fail(function(e){t.container.find(".no-results").text(e.error)})},this.options.type_delay)))}},t.prototype.show_results=function(e){var n=this;if(!this.is_typing&&null!==e){if(0===e.length)return this.element.data().chosen.no_results_clear(),void this.element.data().chosen.no_results(this.search_field.val());var i=[];this.element.find("option").each(function(){s(this).is(":selected")?i.push(s(this).val()+"-"+s(this).text()):s(this).attr("value").length&&s(this).remove()}),s.each(e,function(e,t){-1===s.inArray(t.value+"-"+t.text,i)&&s("<option />").attr("value",t.value).html(t.text).appendTo(n.element)});var t=this.search_field.val(),o=this.search_field.innerWidth();if(this.element.trigger("chosen:updated"),this.is_multiple){var r=this.element.parent().find(".ulf-hide-select").val()||[];this.element.ULFChosenOrder(r,!0),this.search_field.css("width",o)}this.search_field.val(t),null!==this.chosenXhr.done&&this.chosenXhr.done(e)}},s.fn.ULFAjaxChosen=function(e){return this.each(function(){new t(this,e)})}}(jQuery),function(){var n,i,s=[].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1},o={}.hasOwnProperty;i=function(){function e(){}return e.insertAt=function(e,t,n){return n.insertBefore(e,n.children[t].nextSibling)},e.getFlattenedOptionsAndGroups=function(e){var t,n,i,o,r,s,a,l,c;for(t=[],s=0,l=(i=Array.prototype.filter.call(e.childNodes,function(e){var t;return"OPTION"===(t=e.nodeName.toUpperCase())||"OPTGROUP"===t})).length;s<l;s++)if(n=i[s],t.push(n),"OPTGROUP"===n.nodeName.toUpperCase())for(a=0,c=(r=Array.prototype.filter.call(n.childNodes,function(e){return"OPTION"===e.nodeName.toUpperCase()})).length;a<c;a++)o=r[a],t.push(o);return t},e.isValidMultipleSelectElement=function(e){return null!=e&&"SELECT"===e.nodeName&&e.multiple},e.getChosenUIContainer=function(e){return""!==e.id?document.getElementById(e.id.replace(/-/g,"_")+"_chosen"):this.searchChosenUIContainer(e)},e.isChosenified=function(e){return null!=this.getChosenUIContainer(e)},e.forceSelection=function(e,t){var n,i,o,r;for(o=this.getFlattenedOptionsAndGroups(e),n=0;n<o.length;)r=(i=o[n]).getAttribute("value"),0<=s.call(t,r)?(i.selected=!0,i.setAttribute("selected","")):(i.selected=!1,i.removeAttribute("selected")),n++;return this.triggerEvent(e,"chosen:updated")},e.ULFChosenOrder=function(e,t,n){var i,o,r,s,a,l,c,u,h,d,f,p,_,m;if(null!=this.getDOMElement&&(e=this.getDOMElement(e)),this.isValidMultipleSelectElement(e)&&null!=(o=this.getChosenUIContainer(e))&&t instanceof Array){for(t=t.map(Function.prototype.call,String.prototype.trim),c=this.getFlattenedOptionsAndGroups(e),null!=n&&!0===n&&this.forceSelection(e,t),m=[],r=d=0,p=t.length;d<p;r=++d){for(a=t[r],u=null,s=f=0,_=c.length;f<_;s=++f)c[s].value===a&&(u=s);i=o.querySelectorAll(".search-choice"),h=this.relAttributeName,null!=(l=Array.prototype.filter.call(i,function(e){return null!=e.querySelector("a.search-choice-close["+h+'="'+u+'"]')})[0])&&(o.querySelector("ul.chosen-choices"),m.push(this.insertAt(l,r,o.querySelector("ul.chosen-choices"))))}return m}},e}(),(n=jQuery).fn.extend({ULFChosenOrder:function(e,t){return _ULFChosenOrder.ULFChosenOrder(this,e,t)}}),this._ULFChosenOrder=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return function(e,t){for(var n in t)o.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype}(t,i),t.relAttributeName="data-option-array-index",t.isjQueryObject=function(e){return"undefined"!=typeof jQuery&&null!==jQuery&&e instanceof jQuery},t.getDOMElement=function(e){return this.isjQueryObject(e)?e.get(0):e},t.searchChosenUIContainer=function(e){return null!=n(e).data("chosen")?n(e).data("chosen").container[0]:n(e).next(".chosen-container.chosen-container-multi").get(0)},t.triggerEvent=function(e,t){return n(e).trigger(t)},t}()}.call(this),function(){var a,n,o,s,r={}.hasOwnProperty;(s=function(){function e(){this.options_index=0,this.parsed=[]}return e.prototype.add_node=function(e){return"OPTGROUP"===e.nodeName.toUpperCase()?this.add_group(e):this.add_option(e)},e.prototype.add_group=function(e){var t,n,i,o,r,s;for(t=this.parsed.length,this.parsed.push({array_index:t,group:!0,label:e.label,title:e.title?e.title:void 0,children:0,disabled:e.disabled,classes:e.className}),s=[],n=0,i=(r=e.childNodes).length;n<i;n++)o=r[n],s.push(this.add_option(o,t,e.disabled));return s},e.prototype.add_option=function(e,t,n){if("OPTION"===e.nodeName.toUpperCase())return""!==e.text?(null!=t&&(this.parsed[t].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:e.value,text:e.text,html:e.innerHTML,title:e.title?e.title:void 0,selected:e.selected,disabled:!0===n?n:e.disabled,group_array_index:t,group_label:null!=t?this.parsed[t].label:null,classes:e.className,style:e.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1},e}()).select_to_array=function(e){var t,n,i,o,r;for(o=new s,n=0,i=(r=e.childNodes).length;n<i;n++)t=r[n],o.add_node(t);return o.parsed},n=function(){function o(e,t){var n,i;this.form_field=e,this.options=null!=t?t:{},this.label_click_handler=(n=this.label_click_handler,i=this,function(){return n.apply(i,arguments)}),o.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers(),this.on_ready())}return o.prototype.set_default_values=function(){var t,n;return this.click_test_action=(t=this,function(e){return t.test_active_click(e)}),this.activate_action=(n=this,function(e){return n.activate_field(e)}),this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.is_rtl=this.options.rtl||/\bchosen-rtl\b/.test(this.form_field.className),this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text&&this.options.allow_single_deselect,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null==this.options.enable_split_word_search||this.options.enable_split_word_search,this.group_search=null==this.options.group_search||this.options.group_search,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null==this.options.single_backstroke_delete||this.options.single_backstroke_delete,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_selected_options=null==this.options.display_selected_options||this.options.display_selected_options,this.display_disabled_options=null==this.options.display_disabled_options||this.options.display_disabled_options,this.include_group_label_in_selected=this.options.include_group_label_in_selected||!1,this.max_shown_results=this.options.max_shown_results||Number.POSITIVE_INFINITY,this.case_sensitive_search=this.options.case_sensitive_search||!1,this.hide_results_on_select=null==this.options.hide_results_on_select||this.options.hide_results_on_select},o.prototype.set_default_text=function(){return this.form_field.getAttribute("data-placeholder")?this.default_text=this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.default_text=this.options.placeholder_text_multiple||this.options.placeholder_text||o.default_multiple_text:this.default_text=this.options.placeholder_text_single||this.options.placeholder_text||o.default_single_text,this.default_text=this.escape_html(this.default_text),this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||o.default_no_result_text},o.prototype.choice_label=function(e){return this.include_group_label_in_selected&&null!=e.group_label?"<b class='group-name'>"+this.escape_html(e.group_label)+"</b>"+e.html:e.html},o.prototype.mouse_enter=function(){return this.mouse_on_container=!0},o.prototype.mouse_leave=function(){return this.mouse_on_container=!1},o.prototype.input_focus=function(e){if(this.is_multiple){if(!this.active_field)return setTimeout((t=this,function(){return t.container_mousedown()}),50)}else if(!this.active_field)return this.activate_field();var t},o.prototype.input_blur=function(e){if(!this.mouse_on_container)return this.active_field=!1,setTimeout((t=this,function(){return t.blur_test()}),100);var t},o.prototype.label_click_handler=function(e){return this.is_multiple?this.container_mousedown(e):this.activate_field()},o.prototype.results_option_build=function(e){var t,n,i,o,r,s,a;for(t="",o=a=0,r=(s=this.results_data).length;o<r&&((i="")!==(i=(n=s[o]).group?this.result_add_group(n):this.result_add_option(n))&&(a++,t+=i),(null!=e?e.first:void 0)&&(n.selected&&this.is_multiple?this.choice_build(n):n.selected&&!this.is_multiple&&this.single_set_selected_text(this.choice_label(n))),!(a>=this.max_shown_results));o++);return t},o.prototype.result_add_option=function(e){var t,n;return e.search_match&&this.include_option_in_results(e)?(t=[],e.disabled||e.selected&&this.is_multiple||t.push("active-result"),!e.disabled||e.selected&&this.is_multiple||t.push("disabled-result"),e.selected&&t.push("result-selected"),null!=e.group_array_index&&t.push("group-option"),""!==e.classes&&t.push(e.classes),(n=document.createElement("li")).className=t.join(" "),e.style&&(n.style.cssText=e.style),n.setAttribute("data-option-array-index",e.array_index),n.innerHTML=e.highlighted_html||e.html,e.title&&(n.title=e.title),this.outerHTML(n)):""},o.prototype.result_add_group=function(e){var t,n;return(e.search_match||e.group_match)&&0<e.active_options?((t=[]).push("group-result"),e.classes&&t.push(e.classes),(n=document.createElement("li")).className=t.join(" "),n.innerHTML=e.highlighted_html||this.escape_html(e.label),e.title&&(n.title=e.title),this.outerHTML(n)):""},o.prototype.results_update_field=function(){if(this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing)return this.winnow_results()},o.prototype.reset_single_select_options=function(){var e,t,n,i,o;for(o=[],e=0,t=(n=this.results_data).length;e<t;e++)(i=n[e]).selected?o.push(i.selected=!1):o.push(void 0);return o},o.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},o.prototype.results_search=function(e){return this.results_showing?this.winnow_results():this.results_show()},o.prototype.winnow_results=function(e){var t,n,i,o,r,s,a,l,c,u,h,d,f,p,_;for(this.no_results_clear(),u=0,t=(a=this.get_search_text()).replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),c=this.get_search_regex(t),i=0,o=(l=this.results_data).length;i<o;i++)(r=l[i]).search_match=!1,d=h=null,r.highlighted_html="",this.include_option_in_results(r)&&(r.group&&(r.group_match=!1,r.active_options=0),null!=r.group_array_index&&this.results_data[r.group_array_index]&&(0===(h=this.results_data[r.group_array_index]).active_options&&h.search_match&&(u+=1),h.active_options+=1),_=r.group?r.label:r.text,r.group&&!this.group_search||(d=this.search_string_match(_,c),r.search_match=null!=d,r.search_match&&!r.group&&(u+=1),r.search_match?(a.length&&(f=d.index,s=_.slice(0,f),n=_.slice(f,f+a.length),p=_.slice(f+a.length),r.highlighted_html=this.escape_html(s)+"<em>"+this.escape_html(n)+"</em>"+this.escape_html(p)),null!=h&&(h.group_match=!0)):null!=r.group_array_index&&this.results_data[r.group_array_index].search_match&&(r.search_match=!0)));return this.result_clear_highlight(),u<1&&a.length?(this.update_results_content(""),this.no_results(a)):(this.update_results_content(this.results_option_build()),(null!=e?e.skip_highlight:void 0)?void 0:this.winnow_results_set_highlight())},o.prototype.get_search_regex=function(e){var t,n;return n=this.search_contains?e:"(^|\\s|\\b)"+e+"[^\\s]*",this.enable_split_word_search||this.search_contains||(n="^"+n),t=this.case_sensitive_search?"":"i",new RegExp(n,t)},o.prototype.search_string_match=function(e,t){var n;return n=t.exec(e),!this.search_contains&&(null!=n?n[1]:void 0)&&(n.index+=1),n},o.prototype.choices_count=function(){var e,t,n;if(null!=this.selected_option_count)return this.selected_option_count;for(e=this.selected_option_count=0,t=(n=this.form_field.options).length;e<t;e++)n[e].selected&&(this.selected_option_count+=1);return this.selected_option_count},o.prototype.choices_click=function(e){if(e.preventDefault(),this.activate_field(),!this.results_showing&&!this.is_disabled)return this.results_show()},o.prototype.keydown_checker=function(e){var t,n;switch(n=null!=(t=e.which)?t:e.keyCode,this.search_field_scale(),8!==n&&this.pending_backstroke&&this.clear_backstroke(),n){case 8:this.backstroke_length=this.get_search_field_value().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(e),this.mouse_on_container=!1;break;case 13:case 27:this.results_showing&&e.preventDefault();break;case 32:this.disable_search&&e.preventDefault();break;case 38:e.preventDefault(),this.keyup_arrow();break;case 40:e.preventDefault(),this.keydown_arrow()}},o.prototype.keyup_checker=function(e){var t,n;switch(n=null!=(t=e.which)?t:e.keyCode,this.search_field_scale(),n){case 8:this.is_multiple&&this.backstroke_length<1&&0<this.choices_count()?this.keydown_backstroke():this.pending_backstroke||(this.result_clear_highlight(),this.results_search());break;case 13:e.preventDefault(),this.results_showing&&this.result_select(e);break;case 27:this.results_showing&&this.results_hide();break;case 9:case 16:case 17:case 18:case 38:case 40:case 91:break;default:this.results_search()}},o.prototype.clipboard_event_checker=function(e){var t;if(!this.is_disabled)return setTimeout((t=this,function(){return t.results_search()}),50)},o.prototype.container_width=function(){return null!=this.options.width?this.options.width:this.form_field.offsetWidth+"px"},o.prototype.include_option_in_results=function(e){return!(this.is_multiple&&!this.display_selected_options&&e.selected)&&(!(!this.display_disabled_options&&e.disabled)&&!e.empty)},o.prototype.search_results_touchstart=function(e){return this.touch_started=!0,this.search_results_mouseover(e)},o.prototype.search_results_touchmove=function(e){return this.touch_started=!1,this.search_results_mouseout(e)},o.prototype.search_results_touchend=function(e){if(this.touch_started)return this.search_results_mouseup(e)},o.prototype.outerHTML=function(e){var t;return e.outerHTML?e.outerHTML:((t=document.createElement("div")).appendChild(e),t.innerHTML)},o.prototype.get_single_html=function(){return'<a class="chosen-single chosen-default">\n <span>'+this.default_text+'</span>\n <div><b></b></div>\n</a>\n<div class="chosen-drop">\n <div class="chosen-search">\n <input class="chosen-search-input" type="text" autocomplete="off" />\n </div>\n <ul class="chosen-results"></ul>\n</div>'},o.prototype.get_multi_html=function(){return'<ul class="chosen-choices">\n <li class="search-field">\n <input class="chosen-search-input" type="text" autocomplete="off" value="'+this.default_text+'" />\n </li>\n</ul>\n<div class="chosen-drop">\n <ul class="chosen-results"></ul>\n</div>'},o.prototype.get_no_results_html=function(e){return'<li class="no-results">\n '+this.results_none_found+" <span>"+this.escape_html(e)+"</span>\n</li>"},o.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?8<=document.documentMode:!(/iP(od|hone)/i.test(window.navigator.userAgent)||/IEMobile/i.test(window.navigator.userAgent)||/Windows Phone/i.test(window.navigator.userAgent)||/BlackBerry/i.test(window.navigator.userAgent)||/BB10/i.test(window.navigator.userAgent)||/Android.*Mobile/i.test(window.navigator.userAgent))},o.default_multiple_text="Select Some Options",o.default_single_text="Select an Option",o.default_no_result_text="No results match",o}(),(a=jQuery).fn.extend({chosen:function(i){return n.browser_is_supported()?this.each(function(e){var t,n;n=(t=a(this)).data("chosen"),"destroy"!==i?n instanceof o||t.data("chosen",new o(this,i)):n instanceof o&&n.destroy()}):this}}),o=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype}(t,n),t.prototype.setup=function(){return this.form_field_jq=a(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex},t.prototype.set_up_html=function(){var e,t;return(e=["chosen-container"]).push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&e.push(this.form_field.className),this.is_rtl&&e.push("chosen-rtl"),t={class:e.join(" "),title:this.form_field.title},this.form_field.id.length&&(t.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=a("<div />",t),this.container.width(this.container_width()),this.is_multiple?this.container.html(this.get_multi_html()):this.container.html(this.get_single_html()),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior()},t.prototype.on_ready=function(){return this.form_field_jq.trigger("chosen:ready",{chosen:this})},t.prototype.register_observers=function(){var t,n,i,o,r,s,a,l,c,u,h,d,f,p,_,m,g,v,y,b,w,D,C,x;return this.container.on("touchstart.chosen",(t=this,function(e){t.container_mousedown(e)})),this.container.on("touchend.chosen",(n=this,function(e){n.container_mouseup(e)})),this.container.on("mousedown.chosen",(i=this,function(e){i.container_mousedown(e)})),this.container.on("mouseup.chosen",(o=this,function(e){o.container_mouseup(e)})),this.container.on("mouseenter.chosen",(r=this,function(e){r.mouse_enter(e)})),this.container.on("mouseleave.chosen",(s=this,function(e){s.mouse_leave(e)})),this.search_results.on("mouseup.chosen",(a=this,function(e){a.search_results_mouseup(e)})),this.search_results.on("mouseover.chosen",(l=this,function(e){l.search_results_mouseover(e)})),this.search_results.on("mouseout.chosen",(c=this,function(e){c.search_results_mouseout(e)})),this.search_results.on("mousewheel.chosen DOMMouseScroll.chosen",(u=this,function(e){u.search_results_mousewheel(e)})),this.search_results.on("touchstart.chosen",(h=this,function(e){h.search_results_touchstart(e)})),this.search_results.on("touchmove.chosen",(d=this,function(e){d.search_results_touchmove(e)})),this.search_results.on("touchend.chosen",(f=this,function(e){f.search_results_touchend(e)})),this.form_field_jq.on("chosen:updated.chosen",(p=this,function(e){p.results_update_field(e)})),this.form_field_jq.on("chosen:activate.chosen",(_=this,function(e){_.activate_field(e)})),this.form_field_jq.on("chosen:open.chosen",(m=this,function(e){m.container_mousedown(e)})),this.form_field_jq.on("chosen:close.chosen",(g=this,function(e){g.close_field(e)})),this.search_field.on("blur.chosen",(v=this,function(e){v.input_blur(e)})),this.search_field.on("keyup.chosen",(y=this,function(e){y.keyup_checker(e)})),this.search_field.on("keydown.chosen",(b=this,function(e){b.keydown_checker(e)})),this.search_field.on("focus.chosen",(w=this,function(e){w.input_focus(e)})),this.search_field.on("cut.chosen",(D=this,function(e){D.clipboard_event_checker(e)})),this.search_field.on("paste.chosen",(C=this,function(e){C.clipboard_event_checker(e)})),this.is_multiple?this.search_choices.on("click.chosen",(x=this,function(e){x.choices_click(e)})):this.container.on("click.chosen",function(e){e.preventDefault()})},t.prototype.destroy=function(){return a(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),0<this.form_field_label.length&&this.form_field_label.off("click.chosen"),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},t.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field.disabled||this.form_field_jq.parents("fieldset").is(":disabled"),this.container.toggleClass("chosen-disabled",this.is_disabled),this.search_field[0].disabled=this.is_disabled,this.is_multiple||this.selected_item.off("focus.chosen",this.activate_field),this.is_disabled?this.close_field():this.is_multiple?void 0:this.selected_item.on("focus.chosen",this.activate_field)},t.prototype.container_mousedown=function(e){var t;if(!this.is_disabled)return!e||"mousedown"!==(t=e.type)&&"touchstart"!==t||this.results_showing||e.preventDefault(),null!=e&&a(e.target).hasClass("search-choice-close")?void 0:(this.active_field?this.is_multiple||!e||a(e.target)[0]!==this.selected_item[0]&&!a(e.target).parents("a.chosen-single").length||(e.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),a(this.container[0].ownerDocument).on("click.chosen",this.click_test_action),this.results_show()),this.activate_field())},t.prototype.container_mouseup=function(e){if("ABBR"===e.target.nodeName&&!this.is_disabled)return this.results_reset(e)},t.prototype.search_results_mousewheel=function(e){var t;if(e.originalEvent&&(t=e.originalEvent.deltaY||-e.originalEvent.wheelDelta||e.originalEvent.detail),null!=t)return e.preventDefault(),"DOMMouseScroll"===e.type&&(t*=40),this.search_results.scrollTop(t+this.search_results.scrollTop())},t.prototype.blur_test=function(e){if(!this.active_field&&this.container.hasClass("chosen-container-active"))return this.close_field()},t.prototype.close_field=function(){return a(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale(),this.search_field.blur()},t.prototype.activate_field=function(){if(!this.is_disabled)return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},t.prototype.test_active_click=function(e){var t;return(t=a(e.target).closest(".chosen-container")).length&&this.container[0]===t[0]?this.active_field=!0:this.close_field()},t.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=s.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},t.prototype.result_do_highlight=function(e){var t,n,i,o;if(e.length){if(this.result_clear_highlight(),this.result_highlight=e,this.result_highlight.addClass("highlighted"),(i=parseInt(this.search_results.css("maxHeight"),10))+(o=this.search_results.scrollTop())<=(t=(n=this.result_highlight.position().top+this.search_results.scrollTop())+this.result_highlight.outerHeight()))return this.search_results.scrollTop(0<t-i?t-i:0);if(n<o)return this.search_results.scrollTop(n)}},t.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},t.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.container.addClass("chosen-with-drop"),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.get_search_field_value()),this.winnow_results(),this.form_field_jq.trigger("chosen:showing_dropdown",{chosen:this}))},t.prototype.update_results_content=function(e){return this.search_results.html(e)},t.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:hiding_dropdown",{chosen:this})),this.results_showing=!1},t.prototype.set_tab_index=function(e){var t;if(this.form_field.tabIndex)return t=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=t},t.prototype.set_label_behavior=function(){if(this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=a("label[for='"+this.form_field.id+"']")),0<this.form_field_label.length)return this.form_field_label.on("click.chosen",this.label_click_handler)},t.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},t.prototype.search_results_mouseup=function(e){var t;if((t=a(e.target).hasClass("active-result")?a(e.target):a(e.target).parents(".active-result").first()).length)return this.result_highlight=t,this.result_select(e),this.search_field.focus()},t.prototype.search_results_mouseover=function(e){var t;if(t=a(e.target).hasClass("active-result")?a(e.target):a(e.target).parents(".active-result").first())return this.result_do_highlight(t)},t.prototype.search_results_mouseout=function(e){if(a(e.target).hasClass("active-result")||a(e.target).parents(".active-result").first())return this.result_clear_highlight()},t.prototype.choice_build=function(e){var t,n,i;return t=a("<li />",{class:"search-choice"}).html("<span>"+this.choice_label(e)+"</span>"),e.disabled?t.addClass("search-choice-disabled"):((n=a("<a />",{class:"search-choice-close","data-option-array-index":e.array_index})).on("click.chosen",(i=this,function(e){return i.choice_destroy_link_click(e)})),t.append(n)),this.search_container.before(t)},t.prototype.choice_destroy_link_click=function(e){if(e.preventDefault(),e.stopPropagation(),!this.is_disabled)return this.choice_destroy(a(e.target))},t.prototype.choice_destroy=function(e){if(this.result_deselect(e[0].getAttribute("data-option-array-index")))return this.active_field?this.search_field.focus():this.show_search_field_default(),this.is_multiple&&0<this.choices_count()&&this.get_search_field_value().length<1&&this.results_hide(),e.parents("li").first().remove(),this.search_field_scale()},t.prototype.results_reset=function(){if(this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.trigger_form_field_change(),this.active_field)return this.results_hide()},t.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},t.prototype.result_select=function(e){var t,n;if(this.result_highlight)return t=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?t.removeClass("active-result"):this.reset_single_select_options(),t.addClass("result-selected"),(n=this.results_data[t[0].getAttribute("data-option-array-index")]).selected=!0,this.form_field.options[n.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(n):this.single_set_selected_text(this.choice_label(n)),this.is_multiple&&(!this.hide_results_on_select||e.metaKey||e.ctrlKey)?e.metaKey||e.ctrlKey?this.winnow_results({skip_highlight:!0}):(this.search_field.val(""),this.winnow_results()):(this.results_hide(),this.show_search_field_default()),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.trigger_form_field_change({selected:this.form_field.options[n.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,e.preventDefault(),this.search_field_scale())},t.prototype.single_set_selected_text=function(e){return null==e&&(e=this.default_text),e===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").html(e)},t.prototype.result_deselect=function(e){var t;return t=this.results_data[e],!this.form_field.options[t.options_index].disabled&&(t.selected=!1,this.form_field.options[t.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.trigger_form_field_change({deselected:this.form_field.options[t.options_index].value}),this.search_field_scale(),!0)},t.prototype.single_deselect_control_build=function(){if(this.allow_single_deselect)return this.selected_item.find("abbr").length||this.selected_item.find("span").first().after('<abbr class="search-choice-close"></abbr>'),this.selected_item.addClass("chosen-single-with-deselect")},t.prototype.get_search_field_value=function(){return this.search_field.val()},t.prototype.get_search_text=function(){return a.trim(this.get_search_field_value())},t.prototype.escape_html=function(e){return a("<div/>").text(e).html()},t.prototype.winnow_results_set_highlight=function(){var e,t;if(null!=(e=(t=this.is_multiple?[]:this.search_results.find(".result-selected.active-result")).length?t.first():this.search_results.find(".active-result").first()))return this.result_do_highlight(e)},t.prototype.no_results=function(e){var t;return t=this.get_no_results_html(e),this.search_results.append(t),this.form_field_jq.trigger("chosen:no_results",{chosen:this})},t.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},t.prototype.keydown_arrow=function(){var e;return this.results_showing&&this.result_highlight?(e=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(e):void 0:this.results_show()},t.prototype.keyup_arrow=function(){var e;return this.results_showing||this.is_multiple?this.result_highlight?(e=this.result_highlight.prevAll("li.active-result")).length?this.result_do_highlight(e.first()):(0<this.choices_count()&&this.results_hide(),this.result_clear_highlight()):void 0:this.results_show()},t.prototype.keydown_backstroke=function(){var e;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(e=this.search_container.siblings("li.search-choice").last()).length&&!e.hasClass("search-choice-disabled")?(this.pending_backstroke=e,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0},t.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},t.prototype.search_field_scale=function(){var e,t,n,i,o,r,s;if(this.is_multiple){for(o={position:"absolute",left:"-1000px",top:"-1000px",display:"none",whiteSpace:"pre"},t=0,n=(r=["fontSize","fontStyle","fontWeight","fontFamily","lineHeight","textTransform","letterSpacing"]).length;t<n;t++)o[i=r[t]]=this.search_field.css(i);return(e=a("<div />").css(o)).text(this.get_search_field_value()),a("body").append(e),s=e.width()+25,e.remove(),this.container.is(":visible")&&(s=Math.min(this.container.outerWidth()-10,s)),this.search_field.width(s)}},t.prototype.trigger_form_field_change=function(e){return this.form_field_jq.trigger("input",e),this.form_field_jq.trigger("change",e)},t}()}.call(this),function(s){"use strict";function o(e,t,n){this.init(e,t,n)}function e(){this.rules=[]}s.extend(o.prototype,{init:function(e,t,n){this.controller=e,this.condition=t,this.value=n,this.rules=[],this.controls=[]},evalCondition:function(e,t,n,i,o){if("=="==n)return this.checkBoolean(i)==this.checkBoolean(o);if("!="==n)return this.checkBoolean(i)!=this.checkBoolean(o);if(">="==n)return Number(o)>=Number(i);if("<="==n)return Number(o)<=Number(i);if(">"==n)return Number(o)>Number(i);if("<"==n)return Number(o)<Number(i);if("()"==n)return window[i](e,t,o);if("any"==n){if(s.isArray(o)){for(var r=o.length-1;0<=r;r--)if(-1!==s.inArray(o[r],i.split(",")))return!0}else if(-1!==s.inArray(o,i.split(",")))return!0}else if("not-any"==n)if(s.isArray(o)){for(r=o.length-1;0<=r;r--)if(-1==s.inArray(o[r],i.split(",")))return!0}else if(-1==s.inArray(o,i.split(",")))return!0;return!1},checkBoolean:function(e){switch(e){case!0:case"true":case 1:case"1":e=!0;break;case null:case!1:case"false":case 0:case"0":e=!1}return e},checkCondition:function(e){if(!this.condition)return!0;var t=e.find(this.controller),n=this.getControlValue(e,t);return void 0!==n&&(n=this.normalizeValue(t,this.value,n),this.evalCondition(e,t,this.condition,this.value,n))},normalizeValue:function(e,t,n){return"number"==typeof t?parseFloat(n):n},getControlValue:function(e,t){return 1<t.length&&("radio"==t.attr("type")||"checkbox"==t.attr("type"))?t.filter(":checked").map(function(){return this.value}).get():"checkbox"==t.attr("type")||"radio"==t.attr("type")?t.is(":checked"):t.val()},createRule:function(e,t,n){var i=new o(e,t,n);return this.rules.push(i),i},include:function(e){this.controls.push(e)},applyRule:function(n,e){var t;t=void 0===e?this.checkCondition(n):e;var i=s.map(this.controls,function(e,t){return n.find(e)});t?(s(i).each(function(){s(this).removeClass("ulf-depend-on")}),s(this.rules).each(function(){this.applyRule(n)})):(s(i).each(function(){s(this).addClass("ulf-depend-on")}),s(this.rules).each(function(){this.applyRule(n,!1)}))}}),s.extend(e.prototype,{createRule:function(e,t,n){var i=new o(e,t,n);return this.rules.push(i),i},applyRules:function(e){s(this.rules).each(function(){this.applyRule(e)})}}),s.ulf_deps={createRuleset:function(){return new e},enable:function(n,i,o){return n.on("change keyup",function(e){var t=e.target.getAttribute("data-depend-id")||e.target.getAttribute("data-sub-depend-id");-1!==o.indexOf(t)&&i.applyRules(n)}),i.applyRules(n),!0}}}(jQuery),function(e,n){if("function"==typeof define&&define.amd)define(["exports","jquery"],function(e,t){return n(e,t)});else if("undefined"!=typeof exports){var t=require("jquery");n(exports,t)}else n(e,e.jQuery||e.Zepto||e.ender||e.$)}(this,function(e,t){var a={validate:/^(?!(_nonce|_pseudo))[a-zA-Z0-9_-]*(?:\[(?:\d*|(?!(_nonce|_pseudo))[a-zA-Z0-9_-]+)\])*$/i,key:/[a-zA-Z0-9_-]+|(?=\[\])/g,named:/^[a-zA-Z0-9_-]+$/,push:/^$/,fixed:/^\d+$/};function n(i,e){var n={},r={};function s(e,t,n){return e[t]=n,e}function t(){return n}this.addPair=function(e){if(!a.validate.test(e.name))return this;var t=function(e,t){for(var n,i=e.match(a.key);void 0!==(n=i.pop());)a.push.test(n)?t=s([],(o=e.replace(/\[\]$/,""),void 0===r[o]&&(r[o]=0),r[o]++),t):a.fixed.test(n)?t=s([],n,t):a.named.test(n)&&(t=s({},n,t));var o;return t}(e.name,e.value);return n=i.extend(!0,n,t),this},this.addPairs=function(e){if(!i.isArray(e))throw new Error("formSerializer.addPairs expects an Array");for(var t=0,n=e.length;t<n;t++)this.addPair(e[t]);return this},this.serialize=t,this.serializeJSON=function(){return JSON.stringify(t())}}return n.patterns=a,n.serializeObject=function(){return new n(t,this).addPairs(this.serializeArray()).serialize()},n.serializeJSON=function(){return new n(t,this).addPairs(this.serializeArray()).serializeJSON()},void 0!==t.fn&&(t.fn.serializeObjectULF=n.serializeObject,t.fn.serializeJSONULF=n.serializeJSON),e.FormSerializer=n});
|
1 |
+
/* Codestar Framework | A Simple and Lightweight WordPress Option Framework - v2.2.7*/
|
2 |
|
3 |
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).flatpickr=t()}(this,function(){"use strict";var ee=function(){return(ee=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function te(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i}var ne=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],ie={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:"object"==typeof window&&-1===window.navigator.userAgent.indexOf("MSIE"),ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(e){return"undefined"!=typeof console&&console.warn(e)},getWeek:function(e){var t=new Date(e.getTime());t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7);var n=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-n.getTime())/864e5-3+(n.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},oe={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(e){var t=e%100;if(3<t&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},re=function(e,t){return void 0===t&&(t=2),("000"+e).slice(-1*t)},se=function(e){return!0===e?1:0};function ae(t,n){var i;return function(){var e=this;clearTimeout(i),i=setTimeout(function(){return t.apply(e,arguments)},n)}}var le=function(e){return e instanceof Array?e:[e]};function ce(e,t,n){if(!0===n)return e.classList.add(t);e.classList.remove(t)}function ue(e,t,n){var i=window.document.createElement(e);return t=t||"",n=n||"",i.className=t,void 0!==n&&(i.textContent=n),i}function he(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function de(e,t){var n=ue("div","numInputWrapper"),i=ue("input","numInput "+e),o=ue("span","arrowUp"),r=ue("span","arrowDown");if(-1===navigator.userAgent.indexOf("MSIE 9.0")?i.type="number":(i.type="text",i.pattern="\\d*"),void 0!==t)for(var s in t)i.setAttribute(s,t[s]);return n.appendChild(i),n.appendChild(o),n.appendChild(r),n}function fe(t){try{return"function"!=typeof t.composedPath?t.target:t.composedPath()[0]}catch(e){return t.target}}var e=function(){},pe=function(e,t,n){return n.months[t?"shorthand":"longhand"][e]},b={D:e,F:function(e,t,n){e.setMonth(n.months.longhand.indexOf(t))},G:function(e,t){e.setHours(parseFloat(t))},H:function(e,t){e.setHours(parseFloat(t))},J:function(e,t){e.setDate(parseFloat(t))},K:function(e,t,n){e.setHours(e.getHours()%12+12*se(new RegExp(n.amPM[1],"i").test(t)))},M:function(e,t,n){e.setMonth(n.months.shorthand.indexOf(t))},S:function(e,t){e.setSeconds(parseFloat(t))},U:function(e,t){return new Date(1e3*parseFloat(t))},W:function(e,t,n){var i=parseInt(t),o=new Date(e.getFullYear(),0,2+7*(i-1),0,0,0,0);return o.setDate(o.getDate()-o.getDay()+n.firstDayOfWeek),o},Y:function(e,t){e.setFullYear(parseFloat(t))},Z:function(e,t){return new Date(t)},d:function(e,t){e.setDate(parseFloat(t))},h:function(e,t){e.setHours(parseFloat(t))},i:function(e,t){e.setMinutes(parseFloat(t))},j:function(e,t){e.setDate(parseFloat(t))},l:e,m:function(e,t){e.setMonth(parseFloat(t)-1)},n:function(e,t){e.setMonth(parseFloat(t)-1)},s:function(e,t){e.setSeconds(parseFloat(t))},u:function(e,t){return new Date(parseFloat(t))},w:e,y:function(e,t){e.setFullYear(2e3+parseFloat(t))}},_e={D:"(\\w+)",F:"(\\w+)",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"(\\w+)",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"(\\w+)",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},l={Z:function(e){return e.toISOString()},D:function(e,t,n){return t.weekdays.shorthand[l.w(e,t,n)]},F:function(e,t,n){return pe(l.n(e,t,n)-1,!1,t)},G:function(e,t,n){return re(l.h(e,t,n))},H:function(e){return re(e.getHours())},J:function(e,t){return void 0!==t.ordinal?e.getDate()+t.ordinal(e.getDate()):e.getDate()},K:function(e,t){return t.amPM[se(11<e.getHours())]},M:function(e,t){return pe(e.getMonth(),!0,t)},S:function(e){return re(e.getSeconds())},U:function(e){return e.getTime()/1e3},W:function(e,t,n){return n.getWeek(e)},Y:function(e){return re(e.getFullYear(),4)},d:function(e){return re(e.getDate())},h:function(e){return e.getHours()%12?e.getHours()%12:12},i:function(e){return re(e.getMinutes())},j:function(e){return e.getDate()},l:function(e,t){return t.weekdays.longhand[e.getDay()]},m:function(e){return re(e.getMonth()+1)},n:function(e){return e.getMonth()+1},s:function(e){return e.getSeconds()},u:function(e){return e.getTime()},w:function(e){return e.getDay()},y:function(e){return String(e.getFullYear()).substring(2)}},me=function(e){var t=e.config,r=void 0===t?ie:t,n=e.l10n,s=void 0===n?oe:n,i=e.isMobile,a=void 0!==i&&i;return function(i,e,t){var o=t||s;return void 0===r.formatDate||a?e.split("").map(function(e,t,n){return l[e]&&"\\"!==n[t-1]?l[e](i,o,r):"\\"!==e?e:""}).join(""):r.formatDate(i,e,o)}},ge=function(e){var t=e.config,v=void 0===t?ie:t,n=e.l10n,y=void 0===n?oe:n;return function(e,t,n,i){if(0===e||e){var o,r=i||y,s=e;if(e instanceof Date)o=new Date(e.getTime());else if("string"!=typeof e&&void 0!==e.toFixed)o=new Date(e);else if("string"==typeof e){var a=t||(v||ie).dateFormat,l=String(e).trim();if("today"===l)o=new Date,n=!0;else if(/Z$/.test(l)||/GMT$/.test(l))o=new Date(e);else if(v&&v.parseDate)o=v.parseDate(e,a);else{o=v&&v.noCalendar?new Date((new Date).setHours(0,0,0,0)):new Date((new Date).getFullYear(),0,1,0,0,0,0);for(var c=void 0,u=[],h=0,d=0,f="";h<a.length;h++){var p=a[h],_="\\"===p,m="\\"===a[h-1]||_;if(_e[p]&&!m){f+=_e[p];var g=new RegExp(f).exec(e);g&&(c=!0)&&u["Y"!==p?"push":"unshift"]({fn:b[p],val:g[++d]})}else _||(f+=".");u.forEach(function(e){var t=e.fn,n=e.val;return o=t(o,n,r)||o})}o=c?o:void 0}}if(o instanceof Date&&!isNaN(o.getTime()))return!0===n&&o.setHours(0,0,0,0),o;v.errorHandler(new Error("Invalid date provided: "+s))}}};function ve(e,t,n){return void 0===n&&(n=!0),!1!==n?new Date(e.getTime()).setHours(0,0,0,0)-new Date(t.getTime()).setHours(0,0,0,0):e.getTime()-t.getTime()}var ye=function(e,t,n){return e>Math.min(t,n)&&e<Math.max(t,n)},be={DAY:864e5};function we(e){var t=e.defaultHour,n=e.defaultMinute,i=e.defaultSeconds;if(void 0!==e.minDate){var o=e.minDate.getHours(),r=e.minDate.getMinutes(),s=e.minDate.getSeconds();t<o&&(t=o),t===o&&n<r&&(n=r),t===o&&n===r&&i<s&&(i=e.minDate.getSeconds())}if(void 0!==e.maxDate){var a=e.maxDate.getHours(),l=e.maxDate.getMinutes();(t=Math.min(t,a))===a&&(n=Math.min(l,n)),t===a&&n===l&&(i=e.maxDate.getSeconds())}return{hours:t,minutes:n,seconds:i}}"function"!=typeof Object.assign&&(Object.assign=function(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];if(!n)throw TypeError("Cannot convert undefined or null to object");for(var i=function(t){t&&Object.keys(t).forEach(function(e){return n[e]=t[e]})},o=0,r=e;o<r.length;o++){i(r[o])}return n});var De=300;function s(d,u){var D={config:ee(ee({},ie),Ce.defaultConfig),l10n:oe};function h(e){return e.bind(D)}function t(){var t=D.config;!1===t.weekNumbers&&1===t.showMonths||!0!==t.noCalendar&&window.requestAnimationFrame(function(){if(void 0!==D.calendarContainer&&(D.calendarContainer.style.visibility="hidden",D.calendarContainer.style.display="block"),void 0!==D.daysContainer){var e=(D.days.offsetWidth+1)*t.showMonths;D.daysContainer.style.width=e+"px",D.calendarContainer.style.width=e+(void 0!==D.weekWrapper?D.weekWrapper.offsetWidth:0)+"px",D.calendarContainer.style.removeProperty("visibility"),D.calendarContainer.style.removeProperty("display")}})}function f(e){if(0===D.selectedDates.length){var t=void 0===D.config.minDate||0<=ve(new Date,D.config.minDate)?new Date:new Date(D.config.minDate.getTime()),n=we(D.config);t.setHours(n.hours,n.minutes,n.seconds,t.getMilliseconds()),D.selectedDates=[t],D.latestSelectedDateObj=t}void 0!==e&&"blur"!==e.type&&function(e){e.preventDefault();var t="keydown"===e.type,n=fe(e),i=n;void 0!==D.amPM&&n===D.amPM&&(D.amPM.textContent=D.l10n.amPM[se(D.amPM.textContent===D.l10n.amPM[0])]);var o=parseFloat(i.getAttribute("min")),r=parseFloat(i.getAttribute("max")),s=parseFloat(i.getAttribute("step")),a=parseInt(i.value,10),l=e.delta||(t?38===e.which?1:-1:0),c=a+s*l;if(void 0!==i.value&&2===i.value.length){var u=i===D.hourElement,h=i===D.minuteElement;c<o?(c=r+c+se(!u)+(se(u)&&se(!D.amPM)),h&&_(void 0,-1,D.hourElement)):r<c&&(c=i===D.hourElement?c-r-se(!D.amPM):o,h&&_(void 0,1,D.hourElement)),D.amPM&&u&&(1===s?c+a===23:Math.abs(c-a)>s)&&(D.amPM.textContent=D.l10n.amPM[se(D.amPM.textContent===D.l10n.amPM[0])]),i.value=re(c)}}(e);var i=D._input.value;p(),X(),D._input.value!==i&&D._debouncedChange()}function p(){if(void 0!==D.hourElement&&void 0!==D.minuteElement){var e,t,n=(parseInt(D.hourElement.value.slice(-2),10)||0)%24,i=(parseInt(D.minuteElement.value,10)||0)%60,o=void 0!==D.secondElement?(parseInt(D.secondElement.value,10)||0)%60:0;void 0!==D.amPM&&(e=n,t=D.amPM.textContent,n=e%12+12*se(t===D.l10n.amPM[1]));var r=void 0!==D.config.minTime||D.config.minDate&&D.minDateHasTime&&D.latestSelectedDateObj&&0===ve(D.latestSelectedDateObj,D.config.minDate,!0);if(void 0!==D.config.maxTime||D.config.maxDate&&D.maxDateHasTime&&D.latestSelectedDateObj&&0===ve(D.latestSelectedDateObj,D.config.maxDate,!0)){var s=void 0!==D.config.maxTime?D.config.maxTime:D.config.maxDate;(n=Math.min(n,s.getHours()))===s.getHours()&&(i=Math.min(i,s.getMinutes())),i===s.getMinutes()&&(o=Math.min(o,s.getSeconds()))}if(r){var a=void 0!==D.config.minTime?D.config.minTime:D.config.minDate;(n=Math.max(n,a.getHours()))===a.getHours()&&i<a.getMinutes()&&(i=a.getMinutes()),i===a.getMinutes()&&(o=Math.max(o,a.getSeconds()))}l(n,i,o)}}function o(e){var t=e||D.latestSelectedDateObj;t&&l(t.getHours(),t.getMinutes(),t.getSeconds())}function l(e,t,n){void 0!==D.latestSelectedDateObj&&D.latestSelectedDateObj.setHours(e%24,t,n||0,0),D.hourElement&&D.minuteElement&&!D.isMobile&&(D.hourElement.value=re(D.config.time_24hr?e:(12+e)%12+12*se(e%12==0)),D.minuteElement.value=re(t),void 0!==D.amPM&&(D.amPM.textContent=D.l10n.amPM[se(12<=e)]),void 0!==D.secondElement&&(D.secondElement.value=re(n)))}function n(e){var t=fe(e),n=parseInt(t.value)+(e.delta||0);(1<n/1e3||"Enter"===e.key&&!/[^\d]/.test(n.toString()))&&S(n)}function s(t,n,i,o){return n instanceof Array?n.forEach(function(e){return s(t,e,i,o)}):t instanceof Array?t.forEach(function(e){return s(e,n,i,o)}):(t.addEventListener(n,i,o),void D._handlers.push({remove:function(){return t.removeEventListener(n,i)}}))}function c(){K("onChange")}function i(e,t){var n=void 0!==e?D.parseDate(e):D.latestSelectedDateObj||(D.config.minDate&&D.config.minDate>D.now?D.config.minDate:D.config.maxDate&&D.config.maxDate<D.now?D.config.maxDate:D.now),i=D.currentYear,o=D.currentMonth;try{void 0!==n&&(D.currentYear=n.getFullYear(),D.currentMonth=n.getMonth())}catch(e){e.message="Invalid date supplied: "+n,D.config.errorHandler(e)}t&&D.currentYear!==i&&(K("onYearChange"),w()),!t||D.currentYear===i&&D.currentMonth===o||K("onMonthChange"),D.redraw()}function r(e){var t=fe(e);~t.className.indexOf("arrow")&&_(e,t.classList.contains("arrowUp")?1:-1)}function _(e,t,n){var i=e&&fe(e),o=n||i&&i.parentNode&&i.parentNode.firstChild,r=$("increment");r.delta=t,o&&o.dispatchEvent(r)}function m(e,t,n,i){var o,r=A(t,!0),s=ue("span","flatpickr-day "+e,t.getDate().toString());return s.dateObj=t,s.$i=i,s.setAttribute("aria-label",D.formatDate(t,D.config.ariaDateFormat)),-1===e.indexOf("hidden")&&0===ve(t,D.now)&&((D.todayDateElem=s).classList.add("today"),s.setAttribute("aria-current","date")),r?(s.tabIndex=-1,Q(t)&&(s.classList.add("selected"),D.selectedDateElem=s,"range"===D.config.mode&&(ce(s,"startRange",D.selectedDates[0]&&0===ve(t,D.selectedDates[0],!0)),ce(s,"endRange",D.selectedDates[1]&&0===ve(t,D.selectedDates[1],!0)),"nextMonthDay"===e&&s.classList.add("inRange")))):s.classList.add("flatpickr-disabled"),"range"===D.config.mode&&(o=t,!("range"!==D.config.mode||D.selectedDates.length<2)&&0<=ve(o,D.selectedDates[0])&&ve(o,D.selectedDates[1])<=0&&!Q(t)&&s.classList.add("inRange")),D.weekNumbers&&1===D.config.showMonths&&"prevMonthDay"!==e&&n%7==1&&D.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+D.config.getWeek(t)+"</span>"),K("onDayCreate",s),s}function g(e){e.focus(),"range"===D.config.mode&&F(e)}function v(e){for(var t=0<e?0:D.config.showMonths-1,n=0<e?D.config.showMonths:-1,i=t;i!=n;i+=e)for(var o=D.daysContainer.children[i],r=0<e?0:o.children.length-1,s=0<e?o.children.length:-1,a=r;a!=s;a+=e){var l=o.children[a];if(-1===l.className.indexOf("hidden")&&A(l.dateObj))return l}}function y(e,t){var n=I(document.activeElement||document.body),i=void 0!==e?e:n?document.activeElement:void 0!==D.selectedDateElem&&I(D.selectedDateElem)?D.selectedDateElem:void 0!==D.todayDateElem&&I(D.todayDateElem)?D.todayDateElem:v(0<t?1:-1);void 0===i?D._input.focus():n?function(e,t){for(var n=-1===e.className.indexOf("Month")?e.dateObj.getMonth():D.currentMonth,i=0<t?D.config.showMonths:-1,o=0<t?1:-1,r=n-D.currentMonth;r!=i;r+=o)for(var s=D.daysContainer.children[r],a=n-D.currentMonth===r?e.$i+t:t<0?s.children.length-1:0,l=s.children.length,c=a;0<=c&&c<l&&c!=(0<t?l:-1);c+=o){var u=s.children[c];if(-1===u.className.indexOf("hidden")&&A(u.dateObj)&&Math.abs(e.$i-c)>=Math.abs(t))return g(u)}D.changeMonth(o),y(v(o),0)}(i,t):g(i)}function a(e,t){for(var n=(new Date(e,t,1).getDay()-D.l10n.firstDayOfWeek+7)%7,i=D.utils.getDaysInMonth((t-1+12)%12,e),o=D.utils.getDaysInMonth(t,e),r=window.document.createDocumentFragment(),s=1<D.config.showMonths,a=s?"prevMonthDay hidden":"prevMonthDay",l=s?"nextMonthDay hidden":"nextMonthDay",c=i+1-n,u=0;c<=i;c++,u++)r.appendChild(m(a,new Date(e,t-1,c),c,u));for(c=1;c<=o;c++,u++)r.appendChild(m("",new Date(e,t,c),c,u));for(var h=o+1;h<=42-n&&(1===D.config.showMonths||u%7!=0);h++,u++)r.appendChild(m(l,new Date(e,t+1,h%o),h,u));var d=ue("div","dayContainer");return d.appendChild(r),d}function b(){if(void 0!==D.daysContainer){he(D.daysContainer),D.weekNumbers&&he(D.weekNumbers);for(var e=document.createDocumentFragment(),t=0;t<D.config.showMonths;t++){var n=new Date(D.currentYear,D.currentMonth,1);n.setMonth(D.currentMonth+t),e.appendChild(a(n.getFullYear(),n.getMonth()))}D.daysContainer.appendChild(e),D.days=D.daysContainer.firstChild,"range"===D.config.mode&&1===D.selectedDates.length&&F()}}function w(){if(!(1<D.config.showMonths||"dropdown"!==D.config.monthSelectorType)){var e;D.monthsDropdownContainer.tabIndex=-1,D.monthsDropdownContainer.innerHTML="";for(var t=0;t<12;t++)if(e=t,!(void 0!==D.config.minDate&&D.currentYear===D.config.minDate.getFullYear()&&e<D.config.minDate.getMonth()||void 0!==D.config.maxDate&&D.currentYear===D.config.maxDate.getFullYear()&&e>D.config.maxDate.getMonth())){var n=ue("option","flatpickr-monthDropdown-month");n.value=new Date(D.currentYear,t).getMonth().toString(),n.textContent=pe(t,D.config.shorthandCurrentMonth,D.l10n),n.tabIndex=-1,D.currentMonth===t&&(n.selected=!0),D.monthsDropdownContainer.appendChild(n)}}}function C(){var e,t=ue("div","flatpickr-month"),n=window.document.createDocumentFragment();e=1<D.config.showMonths||"static"===D.config.monthSelectorType?ue("span","cur-month"):(D.monthsDropdownContainer=ue("select","flatpickr-monthDropdown-months"),D.monthsDropdownContainer.setAttribute("aria-label",D.l10n.monthAriaLabel),s(D.monthsDropdownContainer,"change",function(e){var t=fe(e),n=parseInt(t.value,10);D.changeMonth(n-D.currentMonth),K("onMonthChange")}),w(),D.monthsDropdownContainer);var i=de("cur-year",{tabindex:"-1"}),o=i.getElementsByTagName("input")[0];o.setAttribute("aria-label",D.l10n.yearAriaLabel),D.config.minDate&&o.setAttribute("min",D.config.minDate.getFullYear().toString()),D.config.maxDate&&(o.setAttribute("max",D.config.maxDate.getFullYear().toString()),o.disabled=!!D.config.minDate&&D.config.minDate.getFullYear()===D.config.maxDate.getFullYear());var r=ue("div","flatpickr-current-month");return r.appendChild(e),r.appendChild(i),n.appendChild(r),t.appendChild(n),{container:t,yearElement:o,monthElement:e}}function x(){he(D.monthNav),D.monthNav.appendChild(D.prevMonthNav),D.config.showMonths&&(D.yearElements=[],D.monthElements=[]);for(var e=D.config.showMonths;e--;){var t=C();D.yearElements.push(t.yearElement),D.monthElements.push(t.monthElement),D.monthNav.appendChild(t.container)}D.monthNav.appendChild(D.nextMonthNav)}function M(){D.weekdayContainer?he(D.weekdayContainer):D.weekdayContainer=ue("div","flatpickr-weekdays");for(var e=D.config.showMonths;e--;){var t=ue("div","flatpickr-weekdaycontainer");D.weekdayContainer.appendChild(t)}return k(),D.weekdayContainer}function k(){if(D.weekdayContainer){var e=D.l10n.firstDayOfWeek,t=te(D.l10n.weekdays.shorthand);0<e&&e<t.length&&(t=te(t.splice(e,t.length),t.splice(0,e)));for(var n=D.config.showMonths;n--;)D.weekdayContainer.children[n].innerHTML="\n <span class='flatpickr-weekday'>\n "+t.join("</span><span class='flatpickr-weekday'>")+"\n </span>\n "}}function E(e,t){void 0===t&&(t=!0);var n=t?e:e-D.currentMonth;n<0&&!0===D._hidePrevMonthArrow||0<n&&!0===D._hideNextMonthArrow||(D.currentMonth+=n,(D.currentMonth<0||11<D.currentMonth)&&(D.currentYear+=11<D.currentMonth?1:-1,D.currentMonth=(D.currentMonth+12)%12,K("onYearChange"),w()),b(),K("onMonthChange"),V())}function T(e){return!(!D.config.appendTo||!D.config.appendTo.contains(e))||D.calendarContainer.contains(e)}function O(e){if(D.isOpen&&!D.config.inline){var t=fe(e),n=T(t),i=t===D.input||t===D.altInput||D.element.contains(t)||e.path&&e.path.indexOf&&(~e.path.indexOf(D.input)||~e.path.indexOf(D.altInput)),o="blur"===e.type?i&&e.relatedTarget&&!T(e.relatedTarget):!i&&!n&&!T(e.relatedTarget),r=!D.config.ignoredFocusElements.some(function(e){return e.contains(t)});o&&r&&(void 0!==D.timeContainer&&void 0!==D.minuteElement&&void 0!==D.hourElement&&""!==D.input.value&&void 0!==D.input.value&&f(),D.close(),D.config&&"range"===D.config.mode&&1===D.selectedDates.length&&(D.clear(!1),D.redraw()))}}function S(e){if(!(!e||D.config.minDate&&e<D.config.minDate.getFullYear()||D.config.maxDate&&e>D.config.maxDate.getFullYear())){var t=e,n=D.currentYear!==t;D.currentYear=t||D.currentYear,D.config.maxDate&&D.currentYear===D.config.maxDate.getFullYear()?D.currentMonth=Math.min(D.config.maxDate.getMonth(),D.currentMonth):D.config.minDate&&D.currentYear===D.config.minDate.getFullYear()&&(D.currentMonth=Math.max(D.config.minDate.getMonth(),D.currentMonth)),n&&(D.redraw(),K("onYearChange"),w())}}function A(e,t){var n;void 0===t&&(t=!0);var i=D.parseDate(e,void 0,t);if(D.config.minDate&&i&&ve(i,D.config.minDate,void 0!==t?t:!D.minDateHasTime)<0||D.config.maxDate&&i&&0<ve(i,D.config.maxDate,void 0!==t?t:!D.maxDateHasTime))return!1;if(!D.config.enable&&0===D.config.disable.length)return!0;if(void 0===i)return!1;for(var o=!!D.config.enable,r=null!==(n=D.config.enable)&&void 0!==n?n:D.config.disable,s=0,a=void 0;s<r.length;s++){if("function"==typeof(a=r[s])&&a(i))return o;if(a instanceof Date&&void 0!==i&&a.getTime()===i.getTime())return o;if("string"==typeof a){var l=D.parseDate(a,void 0,!0);return l&&l.getTime()===i.getTime()?o:!o}if("object"==typeof a&&void 0!==i&&a.from&&a.to&&i.getTime()>=a.from.getTime()&&i.getTime()<=a.to.getTime())return o}return!o}function I(e){return void 0!==D.daysContainer&&(-1===e.className.indexOf("hidden")&&-1===e.className.indexOf("flatpickr-disabled")&&D.daysContainer.contains(e))}function N(e){!(e.target===D._input)||!(0<D.selectedDates.length||0<D._input.value.length)||e.relatedTarget&&T(e.relatedTarget)||D.setDate(D._input.value,!0,e.target===D.altInput?D.config.altFormat:D.config.dateFormat)}function j(e){var t=fe(e),n=D.config.wrap?d.contains(t):t===D._input,i=D.config.allowInput,o=D.isOpen&&(!i||!n),r=D.config.inline&&n&&!i;if(13===e.keyCode&&n){if(i)return D.setDate(D._input.value,!0,t===D.altInput?D.config.altFormat:D.config.dateFormat),t.blur();D.open()}else if(T(t)||o||r){var s=!!D.timeContainer&&D.timeContainer.contains(t);switch(e.keyCode){case 13:s?(e.preventDefault(),f(),W()):B(e);break;case 27:e.preventDefault(),W();break;case 8:case 46:n&&!D.config.allowInput&&(e.preventDefault(),D.clear());break;case 37:case 39:if(s||n)D.hourElement&&D.hourElement.focus();else if(e.preventDefault(),void 0!==D.daysContainer&&(!1===i||document.activeElement&&I(document.activeElement))){var a=39===e.keyCode?1:-1;e.ctrlKey?(e.stopPropagation(),E(a),y(v(1),0)):y(void 0,a)}break;case 38:case 40:e.preventDefault();var l=40===e.keyCode?1:-1;D.daysContainer&&void 0!==t.$i||t===D.input||t===D.altInput?e.ctrlKey?(e.stopPropagation(),S(D.currentYear-l),y(v(1),0)):s||y(void 0,7*l):t===D.currentYearElement?S(D.currentYear-l):D.config.enableTime&&(!s&&D.hourElement&&D.hourElement.focus(),f(e),D._debouncedChange());break;case 9:if(s){var c=[D.hourElement,D.minuteElement,D.secondElement,D.amPM].concat(D.pluginElements).filter(function(e){return e}),u=c.indexOf(t);if(-1!==u){var h=c[u+(e.shiftKey?-1:1)];e.preventDefault(),(h||D._input).focus()}}else!D.config.noCalendar&&D.daysContainer&&D.daysContainer.contains(t)&&e.shiftKey&&(e.preventDefault(),D._input.focus())}}if(void 0!==D.amPM&&t===D.amPM)switch(e.key){case D.l10n.amPM[0].charAt(0):case D.l10n.amPM[0].charAt(0).toLowerCase():D.amPM.textContent=D.l10n.amPM[0],p(),X();break;case D.l10n.amPM[1].charAt(0):case D.l10n.amPM[1].charAt(0).toLowerCase():D.amPM.textContent=D.l10n.amPM[1],p(),X()}(n||T(t))&&K("onKeyDown",e)}function F(r){if(1===D.selectedDates.length&&(!r||r.classList.contains("flatpickr-day")&&!r.classList.contains("flatpickr-disabled"))){for(var s=r?r.dateObj.getTime():D.days.firstElementChild.dateObj.getTime(),a=D.parseDate(D.selectedDates[0],void 0,!0).getTime(),e=Math.min(s,D.selectedDates[0].getTime()),t=Math.max(s,D.selectedDates[0].getTime()),l=!1,c=0,u=0,n=e;n<t;n+=be.DAY)A(new Date(n),!0)||(l=l||e<n&&n<t,n<a&&(!c||c<n)?c=n:a<n&&(!u||n<u)&&(u=n));for(var i=0;i<D.config.showMonths;i++)for(var h=D.daysContainer.children[i],o=function(e,t){var n=h.children[e],i=n.dateObj.getTime(),o=0<c&&i<c||0<u&&u<i;return o?(n.classList.add("notAllowed"),["inRange","startRange","endRange"].forEach(function(e){n.classList.remove(e)}),"continue"):l&&!o?"continue":(["startRange","inRange","endRange","notAllowed"].forEach(function(e){n.classList.remove(e)}),void(void 0!==r&&(r.classList.add(s<=D.selectedDates[0].getTime()?"startRange":"endRange"),a<s&&i===a?n.classList.add("startRange"):s<a&&i===a&&n.classList.add("endRange"),c<=i&&(0===u||i<=u)&&ye(i,a,s)&&n.classList.add("inRange"))))},d=0,f=h.children.length;d<f;d++)o(d)}}function P(){!D.isOpen||D.config.static||D.config.inline||R()}function Y(i){return function(e){var t=D.config["_"+i+"Date"]=D.parseDate(e,D.config.dateFormat),n=D.config["_"+("min"===i?"max":"min")+"Date"];void 0!==t&&(D["min"===i?"minDateHasTime":"maxDateHasTime"]=0<t.getHours()||0<t.getMinutes()||0<t.getSeconds()),D.selectedDates&&(D.selectedDates=D.selectedDates.filter(function(e){return A(e)}),D.selectedDates.length||"min"!==i||o(t),X()),D.daysContainer&&(q(),void 0!==t?D.currentYearElement[i]=t.getFullYear().toString():D.currentYearElement.removeAttribute(i),D.currentYearElement.disabled=!!n&&void 0!==t&&n.getFullYear()===t.getFullYear())}}function H(){return D.config.wrap?d.querySelector("[data-input]"):d}function L(){"object"!=typeof D.config.locale&&void 0===Ce.l10ns[D.config.locale]&&D.config.errorHandler(new Error("flatpickr: invalid locale "+D.config.locale)),D.l10n=ee(ee({},Ce.l10ns.default),"object"==typeof D.config.locale?D.config.locale:"default"!==D.config.locale?Ce.l10ns[D.config.locale]:void 0),_e.K="("+D.l10n.amPM[0]+"|"+D.l10n.amPM[1]+"|"+D.l10n.amPM[0].toLowerCase()+"|"+D.l10n.amPM[1].toLowerCase()+")",void 0===ee(ee({},u),JSON.parse(JSON.stringify(d.dataset||{}))).time_24hr&&void 0===Ce.defaultConfig.time_24hr&&(D.config.time_24hr=D.l10n.time_24hr),D.formatDate=me(D),D.parseDate=ge({config:D.config,l10n:D.l10n})}function R(e){if("function"!=typeof D.config.position){if(void 0!==D.calendarContainer){K("onPreCalendarPosition");var t=e||D._positionElement,n=Array.prototype.reduce.call(D.calendarContainer.children,function(e,t){return e+t.offsetHeight},0),i=D.calendarContainer.offsetWidth,o=D.config.position.split(" "),r=o[0],s=1<o.length?o[1]:null,a=t.getBoundingClientRect(),l=window.innerHeight-a.bottom,c="above"===r||"below"!==r&&l<n&&a.top>n,u=window.pageYOffset+a.top+(c?-n-2:t.offsetHeight+2);if(ce(D.calendarContainer,"arrowTop",!c),ce(D.calendarContainer,"arrowBottom",c),!D.config.inline){var h=window.pageXOffset+a.left,d=!1,f=!1;"center"===s?(h-=(i-a.width)/2,d=!0):"right"===s&&(h-=i-a.width,f=!0),ce(D.calendarContainer,"arrowLeft",!d&&!f),ce(D.calendarContainer,"arrowCenter",d),ce(D.calendarContainer,"arrowRight",f);var p=window.document.body.offsetWidth-(window.pageXOffset+a.right),_=h+i>window.document.body.offsetWidth,m=p+i>window.document.body.offsetWidth;if(ce(D.calendarContainer,"rightMost",_),!D.config.static)if(D.calendarContainer.style.top=u+"px",_)if(m){var g=function(){for(var e=null,t=0;t<document.styleSheets.length;t++){var n=document.styleSheets[t];try{n.cssRules}catch(e){continue}e=n;break}return null!=e?e:(i=document.createElement("style"),document.head.appendChild(i),i.sheet);var i}();if(void 0===g)return;var v=window.document.body.offsetWidth,y=Math.max(0,v/2-i/2),b=g.cssRules.length,w="{left:"+a.left+"px;right:auto;}";ce(D.calendarContainer,"rightMost",!1),ce(D.calendarContainer,"centerMost",!0),g.insertRule(".flatpickr-calendar.centerMost:before,.flatpickr-calendar.centerMost:after"+w,b),D.calendarContainer.style.left=y+"px",D.calendarContainer.style.right="auto"}else D.calendarContainer.style.left="auto",D.calendarContainer.style.right=p+"px";else D.calendarContainer.style.left=h+"px",D.calendarContainer.style.right="auto"}}}else D.config.position(D,e)}function q(){D.config.noCalendar||D.isMobile||(w(),V(),b())}function W(){D._input.focus(),-1!==window.navigator.userAgent.indexOf("MSIE")||void 0!==navigator.msMaxTouchPoints?setTimeout(D.close,0):D.close()}function B(e){e.preventDefault(),e.stopPropagation();var t=function e(t,n){return n(t)?t:t.parentNode?e(t.parentNode,n):void 0}(fe(e),function(e){return e.classList&&e.classList.contains("flatpickr-day")&&!e.classList.contains("flatpickr-disabled")&&!e.classList.contains("notAllowed")});if(void 0!==t){var n=t,i=D.latestSelectedDateObj=new Date(n.dateObj.getTime()),o=(i.getMonth()<D.currentMonth||i.getMonth()>D.currentMonth+D.config.showMonths-1)&&"range"!==D.config.mode;if(D.selectedDateElem=n,"single"===D.config.mode)D.selectedDates=[i];else if("multiple"===D.config.mode){var r=Q(i);r?D.selectedDates.splice(parseInt(r),1):D.selectedDates.push(i)}else"range"===D.config.mode&&(2===D.selectedDates.length&&D.clear(!1,!1),D.latestSelectedDateObj=i,D.selectedDates.push(i),0!==ve(i,D.selectedDates[0],!0)&&D.selectedDates.sort(function(e,t){return e.getTime()-t.getTime()}));if(p(),o){var s=D.currentYear!==i.getFullYear();D.currentYear=i.getFullYear(),D.currentMonth=i.getMonth(),s&&(K("onYearChange"),w()),K("onMonthChange")}if(V(),b(),X(),o||"range"===D.config.mode||1!==D.config.showMonths?void 0!==D.selectedDateElem&&void 0===D.hourElement&&D.selectedDateElem&&D.selectedDateElem.focus():g(n),void 0!==D.hourElement&&void 0!==D.hourElement&&D.hourElement.focus(),D.config.closeOnSelect){var a="single"===D.config.mode&&!D.config.enableTime,l="range"===D.config.mode&&2===D.selectedDates.length&&!D.config.enableTime;(a||l)&&W()}c()}}D.parseDate=ge({config:D.config,l10n:D.l10n}),D._handlers=[],D.pluginElements=[],D.loadedPlugins=[],D._bind=s,D._setHoursFromDate=o,D._positionCalendar=R,D.changeMonth=E,D.changeYear=S,D.clear=function(e,t){void 0===e&&(e=!0);void 0===t&&(t=!0);D.input.value="",void 0!==D.altInput&&(D.altInput.value="");void 0!==D.mobileInput&&(D.mobileInput.value="");D.selectedDates=[],!(D.latestSelectedDateObj=void 0)===t&&(D.currentYear=D._initialDate.getFullYear(),D.currentMonth=D._initialDate.getMonth());if(!0===D.config.enableTime){var n=we(D.config),i=n.hours,o=n.minutes,r=n.seconds;l(i,o,r)}D.redraw(),e&&K("onChange")},D.close=function(){D.isOpen=!1,D.isMobile||(void 0!==D.calendarContainer&&D.calendarContainer.classList.remove("open"),void 0!==D._input&&D._input.classList.remove("active"));K("onClose")},D._createElement=ue,D.destroy=function(){void 0!==D.config&&K("onDestroy");for(var e=D._handlers.length;e--;)D._handlers[e].remove();if(D._handlers=[],D.mobileInput)D.mobileInput.parentNode&&D.mobileInput.parentNode.removeChild(D.mobileInput),D.mobileInput=void 0;else if(D.calendarContainer&&D.calendarContainer.parentNode)if(D.config.static&&D.calendarContainer.parentNode){var t=D.calendarContainer.parentNode;if(t.lastChild&&t.removeChild(t.lastChild),t.parentNode){for(;t.firstChild;)t.parentNode.insertBefore(t.firstChild,t);t.parentNode.removeChild(t)}}else D.calendarContainer.parentNode.removeChild(D.calendarContainer);D.altInput&&(D.input.type="text",D.altInput.parentNode&&D.altInput.parentNode.removeChild(D.altInput),delete D.altInput);D.input&&(D.input.type=D.input._type,D.input.classList.remove("flatpickr-input"),D.input.removeAttribute("readonly"));["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach(function(e){try{delete D[e]}catch(e){}})},D.isEnabled=A,D.jumpToDate=i,D.open=function(e,t){void 0===t&&(t=D._positionElement);{if(!0===D.isMobile){if(e){e.preventDefault();var n=fe(e);n&&n.blur()}return void 0!==D.mobileInput&&(D.mobileInput.focus(),D.mobileInput.click()),void K("onOpen")}if(D._input.disabled||D.config.inline)return}var i=D.isOpen;D.isOpen=!0,i||(D.calendarContainer.classList.add("open"),D._input.classList.add("active"),K("onOpen"),R(t));!0===D.config.enableTime&&!0===D.config.noCalendar&&(!1!==D.config.allowInput||void 0!==e&&D.timeContainer.contains(e.relatedTarget)||setTimeout(function(){return D.hourElement.select()},50))},D.redraw=q,D.set=function(e,t){if(null!==e&&"object"==typeof e)for(var n in Object.assign(D.config,e),e)void 0!==z[n]&&z[n].forEach(function(e){return e()});else D.config[e]=t,void 0!==z[e]?z[e].forEach(function(e){return e()}):-1<ne.indexOf(e)&&(D.config[e]=le(t));D.redraw(),X(!0)},D.setDate=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=D.config.dateFormat);if(0!==e&&!e||e instanceof Array&&0===e.length)return D.clear(t);U(e,n),D.latestSelectedDateObj=D.selectedDates[D.selectedDates.length-1],D.redraw(),i(void 0,t),o(),0===D.selectedDates.length&&D.clear(!1);X(t),t&&K("onChange")},D.toggle=function(e){if(!0===D.isOpen)return D.close();D.open(e)};var z={locale:[L,k],showMonths:[x,t,M],minDate:[i],maxDate:[i],clickOpens:[function(){!0===D.config.clickOpens?(s(D._input,"focus",D.open),s(D._input,"click",D.open)):(D._input.removeEventListener("focus",D.open),D._input.removeEventListener("click",D.open))}]};function U(e,t){var n=[];if(e instanceof Array)n=e.map(function(e){return D.parseDate(e,t)});else if(e instanceof Date||"number"==typeof e)n=[D.parseDate(e,t)];else if("string"==typeof e)switch(D.config.mode){case"single":case"time":n=[D.parseDate(e,t)];break;case"multiple":n=e.split(D.config.conjunction).map(function(e){return D.parseDate(e,t)});break;case"range":n=e.split(D.l10n.rangeSeparator).map(function(e){return D.parseDate(e,t)})}else D.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(e)));D.selectedDates=D.config.allowInvalidPreload?n:n.filter(function(e){return e instanceof Date&&A(e,!1)}),"range"===D.config.mode&&D.selectedDates.sort(function(e,t){return e.getTime()-t.getTime()})}function J(e){return e.slice().map(function(e){return"string"==typeof e||"number"==typeof e||e instanceof Date?D.parseDate(e,void 0,!0):e&&"object"==typeof e&&e.from&&e.to?{from:D.parseDate(e.from,void 0),to:D.parseDate(e.to,void 0)}:e}).filter(function(e){return e})}function K(e,t){if(void 0!==D.config){var n=D.config[e];if(void 0!==n&&0<n.length)for(var i=0;n[i]&&i<n.length;i++)n[i](D.selectedDates,D.input.value,D,t);"onChange"===e&&(D.input.dispatchEvent($("change")),D.input.dispatchEvent($("input")))}}function $(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t}function Q(e){for(var t=0;t<D.selectedDates.length;t++)if(0===ve(D.selectedDates[t],e))return""+t;return!1}function V(){D.config.noCalendar||D.isMobile||!D.monthNav||(D.yearElements.forEach(function(e,t){var n=new Date(D.currentYear,D.currentMonth,1);n.setMonth(D.currentMonth+t),1<D.config.showMonths||"static"===D.config.monthSelectorType?D.monthElements[t].textContent=pe(n.getMonth(),D.config.shorthandCurrentMonth,D.l10n)+" ":D.monthsDropdownContainer.value=n.getMonth().toString(),e.value=n.getFullYear().toString()}),D._hidePrevMonthArrow=void 0!==D.config.minDate&&(D.currentYear===D.config.minDate.getFullYear()?D.currentMonth<=D.config.minDate.getMonth():D.currentYear<D.config.minDate.getFullYear()),D._hideNextMonthArrow=void 0!==D.config.maxDate&&(D.currentYear===D.config.maxDate.getFullYear()?D.currentMonth+1>D.config.maxDate.getMonth():D.currentYear>D.config.maxDate.getFullYear()))}function G(t){return D.selectedDates.map(function(e){return D.formatDate(e,t)}).filter(function(e,t,n){return"range"!==D.config.mode||D.config.enableTime||n.indexOf(e)===t}).join("range"!==D.config.mode?D.config.conjunction:D.l10n.rangeSeparator)}function X(e){void 0===e&&(e=!0),void 0!==D.mobileInput&&D.mobileFormatStr&&(D.mobileInput.value=void 0!==D.latestSelectedDateObj?D.formatDate(D.latestSelectedDateObj,D.mobileFormatStr):""),D.input.value=G(D.config.dateFormat),void 0!==D.altInput&&(D.altInput.value=G(D.config.altFormat)),!1!==e&&K("onValueUpdate")}function Z(e){var t=fe(e),n=D.prevMonthNav.contains(t),i=D.nextMonthNav.contains(t);n||i?E(n?-1:1):0<=D.yearElements.indexOf(t)?t.select():t.classList.contains("arrowUp")?D.changeYear(D.currentYear+1):t.classList.contains("arrowDown")&&D.changeYear(D.currentYear-1)}return function(){D.element=D.input=d,D.isOpen=!1,function(){var e=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],t=ee(ee({},JSON.parse(JSON.stringify(d.dataset||{}))),u),n={};D.config.parseDate=t.parseDate,D.config.formatDate=t.formatDate,Object.defineProperty(D.config,"enable",{get:function(){return D.config._enable},set:function(e){D.config._enable=J(e)}}),Object.defineProperty(D.config,"disable",{get:function(){return D.config._disable},set:function(e){D.config._disable=J(e)}});var i="time"===t.mode;if(!t.dateFormat&&(t.enableTime||i)){var o=Ce.defaultConfig.dateFormat||ie.dateFormat;n.dateFormat=t.noCalendar||i?"H:i"+(t.enableSeconds?":S":""):o+" H:i"+(t.enableSeconds?":S":"")}if(t.altInput&&(t.enableTime||i)&&!t.altFormat){var r=Ce.defaultConfig.altFormat||ie.altFormat;n.altFormat=t.noCalendar||i?"h:i"+(t.enableSeconds?":S K":" K"):r+" h:i"+(t.enableSeconds?":S":"")+" K"}Object.defineProperty(D.config,"minDate",{get:function(){return D.config._minDate},set:Y("min")}),Object.defineProperty(D.config,"maxDate",{get:function(){return D.config._maxDate},set:Y("max")});var s=function(t){return function(e){D.config["min"===t?"_minTime":"_maxTime"]=D.parseDate(e,"H:i:S")}};Object.defineProperty(D.config,"minTime",{get:function(){return D.config._minTime},set:s("min")}),Object.defineProperty(D.config,"maxTime",{get:function(){return D.config._maxTime},set:s("max")}),"time"===t.mode&&(D.config.noCalendar=!0,D.config.enableTime=!0),Object.assign(D.config,n,t);for(var a=0;a<e.length;a++)D.config[e[a]]=!0===D.config[e[a]]||"true"===D.config[e[a]];ne.filter(function(e){return void 0!==D.config[e]}).forEach(function(e){D.config[e]=le(D.config[e]||[]).map(h)}),D.isMobile=!D.config.disableMobile&&!D.config.inline&&"single"===D.config.mode&&!D.config.disable.length&&!D.config.enable&&!D.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);for(var a=0;a<D.config.plugins.length;a++){var l=D.config.plugins[a](D)||{};for(var c in l)-1<ne.indexOf(c)?D.config[c]=le(l[c]).map(h).concat(D.config[c]):void 0===t[c]&&(D.config[c]=l[c])}t.altInputClass||(D.config.altInputClass=H().className+" "+D.config.altInputClass),K("onParseConfig")}(),L(),function(){if(D.input=H(),!D.input)return D.config.errorHandler(new Error("Invalid input element specified"));D.input._type=D.input.type,D.input.type="text",D.input.classList.add("flatpickr-input"),D._input=D.input,D.config.altInput&&(D.altInput=ue(D.input.nodeName,D.config.altInputClass),D._input=D.altInput,D.altInput.placeholder=D.input.placeholder,D.altInput.disabled=D.input.disabled,D.altInput.required=D.input.required,D.altInput.tabIndex=D.input.tabIndex,D.altInput.type="text",D.input.setAttribute("type","hidden"),!D.config.static&&D.input.parentNode&&D.input.parentNode.insertBefore(D.altInput,D.input.nextSibling)),D.config.allowInput||D._input.setAttribute("readonly","readonly"),D._positionElement=D.config.positionElement||D._input}(),function(){D.selectedDates=[],D.now=D.parseDate(D.config.now)||new Date;var e=D.config.defaultDate||("INPUT"!==D.input.nodeName&&"TEXTAREA"!==D.input.nodeName||!D.input.placeholder||D.input.value!==D.input.placeholder?D.input.value:null);e&&U(e,D.config.dateFormat),D._initialDate=0<D.selectedDates.length?D.selectedDates[0]:D.config.minDate&&D.config.minDate.getTime()>D.now.getTime()?D.config.minDate:D.config.maxDate&&D.config.maxDate.getTime()<D.now.getTime()?D.config.maxDate:D.now,D.currentYear=D._initialDate.getFullYear(),D.currentMonth=D._initialDate.getMonth(),0<D.selectedDates.length&&(D.latestSelectedDateObj=D.selectedDates[0]),void 0!==D.config.minTime&&(D.config.minTime=D.parseDate(D.config.minTime,"H:i")),void 0!==D.config.maxTime&&(D.config.maxTime=D.parseDate(D.config.maxTime,"H:i")),D.minDateHasTime=!!D.config.minDate&&(0<D.config.minDate.getHours()||0<D.config.minDate.getMinutes()||0<D.config.minDate.getSeconds()),D.maxDateHasTime=!!D.config.maxDate&&(0<D.config.maxDate.getHours()||0<D.config.maxDate.getMinutes()||0<D.config.maxDate.getSeconds())}(),D.utils={getDaysInMonth:function(e,t){return void 0===e&&(e=D.currentMonth),void 0===t&&(t=D.currentYear),1===e&&(t%4==0&&t%100!=0||t%400==0)?29:D.l10n.daysInMonth[e]}},D.isMobile||function(){var e=window.document.createDocumentFragment();if(D.calendarContainer=ue("div","flatpickr-calendar"),D.calendarContainer.tabIndex=-1,!D.config.noCalendar){if(e.appendChild((D.monthNav=ue("div","flatpickr-months"),D.yearElements=[],D.monthElements=[],D.prevMonthNav=ue("span","flatpickr-prev-month"),D.prevMonthNav.innerHTML=D.config.prevArrow,D.nextMonthNav=ue("span","flatpickr-next-month"),D.nextMonthNav.innerHTML=D.config.nextArrow,x(),Object.defineProperty(D,"_hidePrevMonthArrow",{get:function(){return D.__hidePrevMonthArrow},set:function(e){D.__hidePrevMonthArrow!==e&&(ce(D.prevMonthNav,"flatpickr-disabled",e),D.__hidePrevMonthArrow=e)}}),Object.defineProperty(D,"_hideNextMonthArrow",{get:function(){return D.__hideNextMonthArrow},set:function(e){D.__hideNextMonthArrow!==e&&(ce(D.nextMonthNav,"flatpickr-disabled",e),D.__hideNextMonthArrow=e)}}),D.currentYearElement=D.yearElements[0],V(),D.monthNav)),D.innerContainer=ue("div","flatpickr-innerContainer"),D.config.weekNumbers){var t=function(){D.calendarContainer.classList.add("hasWeeks");var e=ue("div","flatpickr-weekwrapper");e.appendChild(ue("span","flatpickr-weekday",D.l10n.weekAbbreviation));var t=ue("div","flatpickr-weeks");return e.appendChild(t),{weekWrapper:e,weekNumbers:t}}(),n=t.weekWrapper,i=t.weekNumbers;D.innerContainer.appendChild(n),D.weekNumbers=i,D.weekWrapper=n}D.rContainer=ue("div","flatpickr-rContainer"),D.rContainer.appendChild(M()),D.daysContainer||(D.daysContainer=ue("div","flatpickr-days"),D.daysContainer.tabIndex=-1),b(),D.rContainer.appendChild(D.daysContainer),D.innerContainer.appendChild(D.rContainer),e.appendChild(D.innerContainer)}D.config.enableTime&&e.appendChild(function(){D.calendarContainer.classList.add("hasTime"),D.config.noCalendar&&D.calendarContainer.classList.add("noCalendar");var e=we(D.config);D.timeContainer=ue("div","flatpickr-time"),D.timeContainer.tabIndex=-1;var t=ue("span","flatpickr-time-separator",":"),n=de("flatpickr-hour",{"aria-label":D.l10n.hourAriaLabel});D.hourElement=n.getElementsByTagName("input")[0];var i=de("flatpickr-minute",{"aria-label":D.l10n.minuteAriaLabel});if(D.minuteElement=i.getElementsByTagName("input")[0],D.hourElement.tabIndex=D.minuteElement.tabIndex=-1,D.hourElement.value=re(D.latestSelectedDateObj?D.latestSelectedDateObj.getHours():D.config.time_24hr?e.hours:function(e){switch(e%24){case 0:case 12:return 12;default:return e%12}}(e.hours)),D.minuteElement.value=re(D.latestSelectedDateObj?D.latestSelectedDateObj.getMinutes():e.minutes),D.hourElement.setAttribute("step",D.config.hourIncrement.toString()),D.minuteElement.setAttribute("step",D.config.minuteIncrement.toString()),D.hourElement.setAttribute("min",D.config.time_24hr?"0":"1"),D.hourElement.setAttribute("max",D.config.time_24hr?"23":"12"),D.hourElement.setAttribute("maxlength","2"),D.minuteElement.setAttribute("min","0"),D.minuteElement.setAttribute("max","59"),D.minuteElement.setAttribute("maxlength","2"),D.timeContainer.appendChild(n),D.timeContainer.appendChild(t),D.timeContainer.appendChild(i),D.config.time_24hr&&D.timeContainer.classList.add("time24hr"),D.config.enableSeconds){D.timeContainer.classList.add("hasSeconds");var o=de("flatpickr-second");D.secondElement=o.getElementsByTagName("input")[0],D.secondElement.value=re(D.latestSelectedDateObj?D.latestSelectedDateObj.getSeconds():e.seconds),D.secondElement.setAttribute("step",D.minuteElement.getAttribute("step")),D.secondElement.setAttribute("min","0"),D.secondElement.setAttribute("max","59"),D.secondElement.setAttribute("maxlength","2"),D.timeContainer.appendChild(ue("span","flatpickr-time-separator",":")),D.timeContainer.appendChild(o)}return D.config.time_24hr||(D.amPM=ue("span","flatpickr-am-pm",D.l10n.amPM[se(11<(D.latestSelectedDateObj?D.hourElement.value:D.config.defaultHour))]),D.amPM.title=D.l10n.toggleTitle,D.amPM.tabIndex=-1,D.timeContainer.appendChild(D.amPM)),D.timeContainer}()),ce(D.calendarContainer,"rangeMode","range"===D.config.mode),ce(D.calendarContainer,"animate",!0===D.config.animate),ce(D.calendarContainer,"multiMonth",1<D.config.showMonths),D.calendarContainer.appendChild(e);var o=void 0!==D.config.appendTo&&void 0!==D.config.appendTo.nodeType;if((D.config.inline||D.config.static)&&(D.calendarContainer.classList.add(D.config.inline?"inline":"static"),D.config.inline&&(!o&&D.element.parentNode?D.element.parentNode.insertBefore(D.calendarContainer,D._input.nextSibling):void 0!==D.config.appendTo&&D.config.appendTo.appendChild(D.calendarContainer)),D.config.static)){var r=ue("div","flatpickr-wrapper");D.element.parentNode&&D.element.parentNode.insertBefore(r,D.element),r.appendChild(D.element),D.altInput&&r.appendChild(D.altInput),r.appendChild(D.calendarContainer)}D.config.static||D.config.inline||(void 0!==D.config.appendTo?D.config.appendTo:window.document.body).appendChild(D.calendarContainer)}(),function(){if(D.config.wrap&&["open","close","toggle","clear"].forEach(function(t){Array.prototype.forEach.call(D.element.querySelectorAll("[data-"+t+"]"),function(e){return s(e,"click",D[t])})}),D.isMobile)return function(){var e=D.config.enableTime?D.config.noCalendar?"time":"datetime-local":"date";D.mobileInput=ue("input",D.input.className+" flatpickr-mobile"),D.mobileInput.tabIndex=1,D.mobileInput.type=e,D.mobileInput.disabled=D.input.disabled,D.mobileInput.required=D.input.required,D.mobileInput.placeholder=D.input.placeholder,D.mobileFormatStr="datetime-local"===e?"Y-m-d\\TH:i:S":"date"===e?"Y-m-d":"H:i:S",0<D.selectedDates.length&&(D.mobileInput.defaultValue=D.mobileInput.value=D.formatDate(D.selectedDates[0],D.mobileFormatStr)),D.config.minDate&&(D.mobileInput.min=D.formatDate(D.config.minDate,"Y-m-d")),D.config.maxDate&&(D.mobileInput.max=D.formatDate(D.config.maxDate,"Y-m-d")),D.input.getAttribute("step")&&(D.mobileInput.step=String(D.input.getAttribute("step"))),D.input.type="hidden",void 0!==D.altInput&&(D.altInput.type="hidden");try{D.input.parentNode&&D.input.parentNode.insertBefore(D.mobileInput,D.input.nextSibling)}catch(e){}s(D.mobileInput,"change",function(e){D.setDate(fe(e).value,!1,D.mobileFormatStr),K("onChange"),K("onClose")})}();var e=ae(P,50);D._debouncedChange=ae(c,De),D.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&s(D.daysContainer,"mouseover",function(e){"range"===D.config.mode&&F(fe(e))}),s(window.document.body,"keydown",j),D.config.inline||D.config.static||s(window,"resize",e),void 0!==window.ontouchstart?s(window.document,"touchstart",O):s(window.document,"mousedown",O),s(window.document,"focus",O,{capture:!0}),!0===D.config.clickOpens&&(s(D._input,"focus",D.open),s(D._input,"click",D.open)),void 0!==D.daysContainer&&(s(D.monthNav,"click",Z),s(D.monthNav,["keyup","increment"],n),s(D.daysContainer,"click",B)),void 0!==D.timeContainer&&void 0!==D.minuteElement&&void 0!==D.hourElement&&(s(D.timeContainer,["increment"],f),s(D.timeContainer,"blur",f,{capture:!0}),s(D.timeContainer,"click",r),s([D.hourElement,D.minuteElement],["focus","click"],function(e){return fe(e).select()}),void 0!==D.secondElement&&s(D.secondElement,"focus",function(){return D.secondElement&&D.secondElement.select()}),void 0!==D.amPM&&s(D.amPM,"click",function(e){f(e),c()})),D.config.allowInput&&s(D._input,"blur",N)}(),(D.selectedDates.length||D.config.noCalendar)&&(D.config.enableTime&&o(D.config.noCalendar?D.latestSelectedDateObj:void 0),X(!1)),t();var e=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!D.isMobile&&e&&R(),K("onReady")}(),D}function n(e,t){for(var n=Array.prototype.slice.call(e).filter(function(e){return e instanceof HTMLElement}),i=[],o=0;o<n.length;o++){var r=n[o];try{if(null!==r.getAttribute("data-fp-omit"))continue;void 0!==r._flatpickr&&(r._flatpickr.destroy(),r._flatpickr=void 0),r._flatpickr=s(r,t||{}),i.push(r._flatpickr)}catch(e){console.error(e)}}return 1===i.length?i[0]:i}"undefined"!=typeof HTMLElement&&"undefined"!=typeof HTMLCollection&&"undefined"!=typeof NodeList&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(e){return n(this,e)},HTMLElement.prototype.flatpickr=function(e){return n([this],e)});var Ce=function(e,t){return"string"==typeof e?n(window.document.querySelectorAll(e),t):e instanceof Node?n([e],t):n(e,t)};return Ce.defaultConfig={},Ce.l10ns={en:ee({},oe),default:ee({},oe)},Ce.localize=function(e){Ce.l10ns.default=ee(ee({},Ce.l10ns.default),e)},Ce.setDefaults=function(e){Ce.defaultConfig=ee(ee({},Ce.defaultConfig),e)},Ce.parseDate=ge({}),Ce.formatDate=me({}),Ce.compareDates=ve,"undefined"!=typeof jQuery&&void 0!==jQuery.fn&&(jQuery.fn.flatpickr=function(e){return n(this,e)}),Date.prototype.fp_incr=function(e){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+("string"==typeof e?parseInt(e,10):e))},"undefined"!=typeof window&&(window.flatpickr=Ce),Ce}),function(s){function t(e,t){this.element=s(e),this.options=t,this.init()}t.prototype.init=function(){this.element.chosen(this.options),this.container=this.element.next(".chosen-container"),this.search_field=this.container.find(".chosen-search-input"),this.is_multiple=this.container.hasClass("chosen-container-multi"),this.is_typing=!1,this.chosenXhr=null,this.events()},t.prototype.events=function(){var e=this;this.search_field.on("compositionstart",function(){e.is_typing=!0}),this.search_field.on("compositionend",function(){e.is_typing=!1,e.update_list()}),this.search_field.on("keyup",function(){e.update_list()}),this.search_field.on("focus",function(){e.search_field_focused()})},t.prototype.search_field_focused=function(){this.search_welcome_message(),0===this.options.min_length&&0===this.search_field.val().length&&this.update_list()},t.prototype.search_welcome_message=function(){var e=s.trim(this.search_field.val()),t=this.container.find(".chosen-results");0===t.children().length&&0===e.length&&t.html('<li class="no-results">'+this.options.typing_text.replace("%s",this.options.min_length-e.length)+"</li>")},t.prototype.update_list=function(){var t=this;if(this.search_welcome_message(),!this.is_typing){var e=s.trim(this.search_field.val()),n=e.length<this.options.min_length?this.options.typing_text.replace("%s",this.options.min_length-e.length):this.options.searching_text;this.container.find(".no-results").text(n),e!==this.search_field.data("prevVal")&&(this.search_field.data("prevVal",e),this.timer&&clearTimeout(this.timer),e.length<this.options.min_length||(this.timer=setTimeout(function(){t.chosenXhr&&t.chosenXhr.abort(),t.options.data.term=e,t.chosenXhr=window.wp.ajax.post("ulf-chosen",t.options.data).done(function(e){t.show_results(e)}).fail(function(e){t.container.find(".no-results").text(e.error)})},this.options.type_delay)))}},t.prototype.show_results=function(e){var n=this;if(!this.is_typing&&null!==e){if(0===e.length)return this.element.data().chosen.no_results_clear(),void this.element.data().chosen.no_results(this.search_field.val());var i=[];this.element.find("option").each(function(){s(this).is(":selected")?i.push(s(this).val()+"-"+s(this).text()):s(this).attr("value").length&&s(this).remove()}),s.each(e,function(e,t){-1===s.inArray(t.value+"-"+t.text,i)&&s("<option />").attr("value",t.value).html(t.text).appendTo(n.element)});var t=this.search_field.val(),o=this.search_field.innerWidth();if(this.element.trigger("chosen:updated"),this.is_multiple){var r=this.element.parent().find(".ulf-hide-select").val()||[];this.element.ULFChosenOrder(r,!0),this.search_field.css("width",o)}this.search_field.val(t),null!==this.chosenXhr.done&&this.chosenXhr.done(e)}},s.fn.ULFAjaxChosen=function(e){return this.each(function(){new t(this,e)})}}(jQuery),function(){var n,i,s=[].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1},o={}.hasOwnProperty;i=function(){function e(){}return e.insertAt=function(e,t,n){return n.insertBefore(e,n.children[t].nextSibling)},e.getFlattenedOptionsAndGroups=function(e){var t,n,i,o,r,s,a,l,c;for(t=[],s=0,l=(i=Array.prototype.filter.call(e.childNodes,function(e){var t;return"OPTION"===(t=e.nodeName.toUpperCase())||"OPTGROUP"===t})).length;s<l;s++)if(n=i[s],t.push(n),"OPTGROUP"===n.nodeName.toUpperCase())for(a=0,c=(r=Array.prototype.filter.call(n.childNodes,function(e){return"OPTION"===e.nodeName.toUpperCase()})).length;a<c;a++)o=r[a],t.push(o);return t},e.isValidMultipleSelectElement=function(e){return null!=e&&"SELECT"===e.nodeName&&e.multiple},e.getChosenUIContainer=function(e){return""!==e.id?document.getElementById(e.id.replace(/-/g,"_")+"_chosen"):this.searchChosenUIContainer(e)},e.isChosenified=function(e){return null!=this.getChosenUIContainer(e)},e.forceSelection=function(e,t){var n,i,o,r;for(o=this.getFlattenedOptionsAndGroups(e),n=0;n<o.length;)r=(i=o[n]).getAttribute("value"),0<=s.call(t,r)?(i.selected=!0,i.setAttribute("selected","")):(i.selected=!1,i.removeAttribute("selected")),n++;return this.triggerEvent(e,"chosen:updated")},e.ULFChosenOrder=function(e,t,n){var i,o,r,s,a,l,c,u,h,d,f,p,_,m;if(null!=this.getDOMElement&&(e=this.getDOMElement(e)),this.isValidMultipleSelectElement(e)&&null!=(o=this.getChosenUIContainer(e))&&t instanceof Array){for(t=t.map(Function.prototype.call,String.prototype.trim),c=this.getFlattenedOptionsAndGroups(e),null!=n&&!0===n&&this.forceSelection(e,t),m=[],r=d=0,p=t.length;d<p;r=++d){for(a=t[r],u=null,s=f=0,_=c.length;f<_;s=++f)c[s].value===a&&(u=s);i=o.querySelectorAll(".search-choice"),h=this.relAttributeName,null!=(l=Array.prototype.filter.call(i,function(e){return null!=e.querySelector("a.search-choice-close["+h+'="'+u+'"]')})[0])&&(o.querySelector("ul.chosen-choices"),m.push(this.insertAt(l,r,o.querySelector("ul.chosen-choices"))))}return m}},e}(),(n=jQuery).fn.extend({ULFChosenOrder:function(e,t){return _ULFChosenOrder.ULFChosenOrder(this,e,t)}}),this._ULFChosenOrder=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return function(e,t){for(var n in t)o.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype}(t,i),t.relAttributeName="data-option-array-index",t.isjQueryObject=function(e){return"undefined"!=typeof jQuery&&null!==jQuery&&e instanceof jQuery},t.getDOMElement=function(e){return this.isjQueryObject(e)?e.get(0):e},t.searchChosenUIContainer=function(e){return null!=n(e).data("chosen")?n(e).data("chosen").container[0]:n(e).next(".chosen-container.chosen-container-multi").get(0)},t.triggerEvent=function(e,t){return n(e).trigger(t)},t}()}.call(this),function(){var a,n,o,s,r={}.hasOwnProperty;(s=function(){function e(){this.options_index=0,this.parsed=[]}return e.prototype.add_node=function(e){return"OPTGROUP"===e.nodeName.toUpperCase()?this.add_group(e):this.add_option(e)},e.prototype.add_group=function(e){var t,n,i,o,r,s;for(t=this.parsed.length,this.parsed.push({array_index:t,group:!0,label:e.label,title:e.title?e.title:void 0,children:0,disabled:e.disabled,classes:e.className}),s=[],n=0,i=(r=e.childNodes).length;n<i;n++)o=r[n],s.push(this.add_option(o,t,e.disabled));return s},e.prototype.add_option=function(e,t,n){if("OPTION"===e.nodeName.toUpperCase())return""!==e.text?(null!=t&&(this.parsed[t].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:e.value,text:e.text,html:e.innerHTML,title:e.title?e.title:void 0,selected:e.selected,disabled:!0===n?n:e.disabled,group_array_index:t,group_label:null!=t?this.parsed[t].label:null,classes:e.className,style:e.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1},e}()).select_to_array=function(e){var t,n,i,o,r;for(o=new s,n=0,i=(r=e.childNodes).length;n<i;n++)t=r[n],o.add_node(t);return o.parsed},n=function(){function o(e,t){var n,i;this.form_field=e,this.options=null!=t?t:{},this.label_click_handler=(n=this.label_click_handler,i=this,function(){return n.apply(i,arguments)}),o.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers(),this.on_ready())}return o.prototype.set_default_values=function(){var t,n;return this.click_test_action=(t=this,function(e){return t.test_active_click(e)}),this.activate_action=(n=this,function(e){return n.activate_field(e)}),this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.is_rtl=this.options.rtl||/\bchosen-rtl\b/.test(this.form_field.className),this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text&&this.options.allow_single_deselect,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null==this.options.enable_split_word_search||this.options.enable_split_word_search,this.group_search=null==this.options.group_search||this.options.group_search,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null==this.options.single_backstroke_delete||this.options.single_backstroke_delete,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_selected_options=null==this.options.display_selected_options||this.options.display_selected_options,this.display_disabled_options=null==this.options.display_disabled_options||this.options.display_disabled_options,this.include_group_label_in_selected=this.options.include_group_label_in_selected||!1,this.max_shown_results=this.options.max_shown_results||Number.POSITIVE_INFINITY,this.case_sensitive_search=this.options.case_sensitive_search||!1,this.hide_results_on_select=null==this.options.hide_results_on_select||this.options.hide_results_on_select},o.prototype.set_default_text=function(){return this.form_field.getAttribute("data-placeholder")?this.default_text=this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.default_text=this.options.placeholder_text_multiple||this.options.placeholder_text||o.default_multiple_text:this.default_text=this.options.placeholder_text_single||this.options.placeholder_text||o.default_single_text,this.default_text=this.escape_html(this.default_text),this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||o.default_no_result_text},o.prototype.choice_label=function(e){return this.include_group_label_in_selected&&null!=e.group_label?"<b class='group-name'>"+this.escape_html(e.group_label)+"</b>"+e.html:e.html},o.prototype.mouse_enter=function(){return this.mouse_on_container=!0},o.prototype.mouse_leave=function(){return this.mouse_on_container=!1},o.prototype.input_focus=function(e){if(this.is_multiple){if(!this.active_field)return setTimeout((t=this,function(){return t.container_mousedown()}),50)}else if(!this.active_field)return this.activate_field();var t},o.prototype.input_blur=function(e){if(!this.mouse_on_container)return this.active_field=!1,setTimeout((t=this,function(){return t.blur_test()}),100);var t},o.prototype.label_click_handler=function(e){return this.is_multiple?this.container_mousedown(e):this.activate_field()},o.prototype.results_option_build=function(e){var t,n,i,o,r,s,a;for(t="",o=a=0,r=(s=this.results_data).length;o<r&&((i="")!==(i=(n=s[o]).group?this.result_add_group(n):this.result_add_option(n))&&(a++,t+=i),(null!=e?e.first:void 0)&&(n.selected&&this.is_multiple?this.choice_build(n):n.selected&&!this.is_multiple&&this.single_set_selected_text(this.choice_label(n))),!(a>=this.max_shown_results));o++);return t},o.prototype.result_add_option=function(e){var t,n;return e.search_match&&this.include_option_in_results(e)?(t=[],e.disabled||e.selected&&this.is_multiple||t.push("active-result"),!e.disabled||e.selected&&this.is_multiple||t.push("disabled-result"),e.selected&&t.push("result-selected"),null!=e.group_array_index&&t.push("group-option"),""!==e.classes&&t.push(e.classes),(n=document.createElement("li")).className=t.join(" "),e.style&&(n.style.cssText=e.style),n.setAttribute("data-option-array-index",e.array_index),n.innerHTML=e.highlighted_html||e.html,e.title&&(n.title=e.title),this.outerHTML(n)):""},o.prototype.result_add_group=function(e){var t,n;return(e.search_match||e.group_match)&&0<e.active_options?((t=[]).push("group-result"),e.classes&&t.push(e.classes),(n=document.createElement("li")).className=t.join(" "),n.innerHTML=e.highlighted_html||this.escape_html(e.label),e.title&&(n.title=e.title),this.outerHTML(n)):""},o.prototype.results_update_field=function(){if(this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing)return this.winnow_results()},o.prototype.reset_single_select_options=function(){var e,t,n,i,o;for(o=[],e=0,t=(n=this.results_data).length;e<t;e++)(i=n[e]).selected?o.push(i.selected=!1):o.push(void 0);return o},o.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},o.prototype.results_search=function(e){return this.results_showing?this.winnow_results():this.results_show()},o.prototype.winnow_results=function(e){var t,n,i,o,r,s,a,l,c,u,h,d,f,p,_;for(this.no_results_clear(),u=0,t=(a=this.get_search_text()).replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),c=this.get_search_regex(t),i=0,o=(l=this.results_data).length;i<o;i++)(r=l[i]).search_match=!1,d=h=null,r.highlighted_html="",this.include_option_in_results(r)&&(r.group&&(r.group_match=!1,r.active_options=0),null!=r.group_array_index&&this.results_data[r.group_array_index]&&(0===(h=this.results_data[r.group_array_index]).active_options&&h.search_match&&(u+=1),h.active_options+=1),_=r.group?r.label:r.text,r.group&&!this.group_search||(d=this.search_string_match(_,c),r.search_match=null!=d,r.search_match&&!r.group&&(u+=1),r.search_match?(a.length&&(f=d.index,s=_.slice(0,f),n=_.slice(f,f+a.length),p=_.slice(f+a.length),r.highlighted_html=this.escape_html(s)+"<em>"+this.escape_html(n)+"</em>"+this.escape_html(p)),null!=h&&(h.group_match=!0)):null!=r.group_array_index&&this.results_data[r.group_array_index].search_match&&(r.search_match=!0)));return this.result_clear_highlight(),u<1&&a.length?(this.update_results_content(""),this.no_results(a)):(this.update_results_content(this.results_option_build()),(null!=e?e.skip_highlight:void 0)?void 0:this.winnow_results_set_highlight())},o.prototype.get_search_regex=function(e){var t,n;return n=this.search_contains?e:"(^|\\s|\\b)"+e+"[^\\s]*",this.enable_split_word_search||this.search_contains||(n="^"+n),t=this.case_sensitive_search?"":"i",new RegExp(n,t)},o.prototype.search_string_match=function(e,t){var n;return n=t.exec(e),!this.search_contains&&(null!=n?n[1]:void 0)&&(n.index+=1),n},o.prototype.choices_count=function(){var e,t,n;if(null!=this.selected_option_count)return this.selected_option_count;for(e=this.selected_option_count=0,t=(n=this.form_field.options).length;e<t;e++)n[e].selected&&(this.selected_option_count+=1);return this.selected_option_count},o.prototype.choices_click=function(e){if(e.preventDefault(),this.activate_field(),!this.results_showing&&!this.is_disabled)return this.results_show()},o.prototype.keydown_checker=function(e){var t,n;switch(n=null!=(t=e.which)?t:e.keyCode,this.search_field_scale(),8!==n&&this.pending_backstroke&&this.clear_backstroke(),n){case 8:this.backstroke_length=this.get_search_field_value().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(e),this.mouse_on_container=!1;break;case 13:case 27:this.results_showing&&e.preventDefault();break;case 32:this.disable_search&&e.preventDefault();break;case 38:e.preventDefault(),this.keyup_arrow();break;case 40:e.preventDefault(),this.keydown_arrow()}},o.prototype.keyup_checker=function(e){var t,n;switch(n=null!=(t=e.which)?t:e.keyCode,this.search_field_scale(),n){case 8:this.is_multiple&&this.backstroke_length<1&&0<this.choices_count()?this.keydown_backstroke():this.pending_backstroke||(this.result_clear_highlight(),this.results_search());break;case 13:e.preventDefault(),this.results_showing&&this.result_select(e);break;case 27:this.results_showing&&this.results_hide();break;case 9:case 16:case 17:case 18:case 38:case 40:case 91:break;default:this.results_search()}},o.prototype.clipboard_event_checker=function(e){var t;if(!this.is_disabled)return setTimeout((t=this,function(){return t.results_search()}),50)},o.prototype.container_width=function(){return null!=this.options.width?this.options.width:this.form_field.offsetWidth+"px"},o.prototype.include_option_in_results=function(e){return!(this.is_multiple&&!this.display_selected_options&&e.selected)&&(!(!this.display_disabled_options&&e.disabled)&&!e.empty)},o.prototype.search_results_touchstart=function(e){return this.touch_started=!0,this.search_results_mouseover(e)},o.prototype.search_results_touchmove=function(e){return this.touch_started=!1,this.search_results_mouseout(e)},o.prototype.search_results_touchend=function(e){if(this.touch_started)return this.search_results_mouseup(e)},o.prototype.outerHTML=function(e){var t;return e.outerHTML?e.outerHTML:((t=document.createElement("div")).appendChild(e),t.innerHTML)},o.prototype.get_single_html=function(){return'<a class="chosen-single chosen-default">\n <span>'+this.default_text+'</span>\n <div><b></b></div>\n</a>\n<div class="chosen-drop">\n <div class="chosen-search">\n <input class="chosen-search-input" type="text" autocomplete="off" />\n </div>\n <ul class="chosen-results"></ul>\n</div>'},o.prototype.get_multi_html=function(){return'<ul class="chosen-choices">\n <li class="search-field">\n <input class="chosen-search-input" type="text" autocomplete="off" value="'+this.default_text+'" />\n </li>\n</ul>\n<div class="chosen-drop">\n <ul class="chosen-results"></ul>\n</div>'},o.prototype.get_no_results_html=function(e){return'<li class="no-results">\n '+this.results_none_found+" <span>"+this.escape_html(e)+"</span>\n</li>"},o.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?8<=document.documentMode:!(/iP(od|hone)/i.test(window.navigator.userAgent)||/IEMobile/i.test(window.navigator.userAgent)||/Windows Phone/i.test(window.navigator.userAgent)||/BlackBerry/i.test(window.navigator.userAgent)||/BB10/i.test(window.navigator.userAgent)||/Android.*Mobile/i.test(window.navigator.userAgent))},o.default_multiple_text="Select Some Options",o.default_single_text="Select an Option",o.default_no_result_text="No results match",o}(),(a=jQuery).fn.extend({chosen:function(i){return n.browser_is_supported()?this.each(function(e){var t,n;n=(t=a(this)).data("chosen"),"destroy"!==i?n instanceof o||t.data("chosen",new o(this,i)):n instanceof o&&n.destroy()}):this}}),o=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype}(t,n),t.prototype.setup=function(){return this.form_field_jq=a(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex},t.prototype.set_up_html=function(){var e,t;return(e=["chosen-container"]).push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&e.push(this.form_field.className),this.is_rtl&&e.push("chosen-rtl"),t={class:e.join(" "),title:this.form_field.title},this.form_field.id.length&&(t.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=a("<div />",t),this.container.width(this.container_width()),this.is_multiple?this.container.html(this.get_multi_html()):this.container.html(this.get_single_html()),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior()},t.prototype.on_ready=function(){return this.form_field_jq.trigger("chosen:ready",{chosen:this})},t.prototype.register_observers=function(){var t,n,i,o,r,s,a,l,c,u,h,d,f,p,_,m,g,v,y,b,w,D,C,x;return this.container.on("touchstart.chosen",(t=this,function(e){t.container_mousedown(e)})),this.container.on("touchend.chosen",(n=this,function(e){n.container_mouseup(e)})),this.container.on("mousedown.chosen",(i=this,function(e){i.container_mousedown(e)})),this.container.on("mouseup.chosen",(o=this,function(e){o.container_mouseup(e)})),this.container.on("mouseenter.chosen",(r=this,function(e){r.mouse_enter(e)})),this.container.on("mouseleave.chosen",(s=this,function(e){s.mouse_leave(e)})),this.search_results.on("mouseup.chosen",(a=this,function(e){a.search_results_mouseup(e)})),this.search_results.on("mouseover.chosen",(l=this,function(e){l.search_results_mouseover(e)})),this.search_results.on("mouseout.chosen",(c=this,function(e){c.search_results_mouseout(e)})),this.search_results.on("mousewheel.chosen DOMMouseScroll.chosen",(u=this,function(e){u.search_results_mousewheel(e)})),this.search_results.on("touchstart.chosen",(h=this,function(e){h.search_results_touchstart(e)})),this.search_results.on("touchmove.chosen",(d=this,function(e){d.search_results_touchmove(e)})),this.search_results.on("touchend.chosen",(f=this,function(e){f.search_results_touchend(e)})),this.form_field_jq.on("chosen:updated.chosen",(p=this,function(e){p.results_update_field(e)})),this.form_field_jq.on("chosen:activate.chosen",(_=this,function(e){_.activate_field(e)})),this.form_field_jq.on("chosen:open.chosen",(m=this,function(e){m.container_mousedown(e)})),this.form_field_jq.on("chosen:close.chosen",(g=this,function(e){g.close_field(e)})),this.search_field.on("blur.chosen",(v=this,function(e){v.input_blur(e)})),this.search_field.on("keyup.chosen",(y=this,function(e){y.keyup_checker(e)})),this.search_field.on("keydown.chosen",(b=this,function(e){b.keydown_checker(e)})),this.search_field.on("focus.chosen",(w=this,function(e){w.input_focus(e)})),this.search_field.on("cut.chosen",(D=this,function(e){D.clipboard_event_checker(e)})),this.search_field.on("paste.chosen",(C=this,function(e){C.clipboard_event_checker(e)})),this.is_multiple?this.search_choices.on("click.chosen",(x=this,function(e){x.choices_click(e)})):this.container.on("click.chosen",function(e){e.preventDefault()})},t.prototype.destroy=function(){return a(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),0<this.form_field_label.length&&this.form_field_label.off("click.chosen"),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},t.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field.disabled||this.form_field_jq.parents("fieldset").is(":disabled"),this.container.toggleClass("chosen-disabled",this.is_disabled),this.search_field[0].disabled=this.is_disabled,this.is_multiple||this.selected_item.off("focus.chosen",this.activate_field),this.is_disabled?this.close_field():this.is_multiple?void 0:this.selected_item.on("focus.chosen",this.activate_field)},t.prototype.container_mousedown=function(e){var t;if(!this.is_disabled)return!e||"mousedown"!==(t=e.type)&&"touchstart"!==t||this.results_showing||e.preventDefault(),null!=e&&a(e.target).hasClass("search-choice-close")?void 0:(this.active_field?this.is_multiple||!e||a(e.target)[0]!==this.selected_item[0]&&!a(e.target).parents("a.chosen-single").length||(e.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),a(this.container[0].ownerDocument).on("click.chosen",this.click_test_action),this.results_show()),this.activate_field())},t.prototype.container_mouseup=function(e){if("ABBR"===e.target.nodeName&&!this.is_disabled)return this.results_reset(e)},t.prototype.search_results_mousewheel=function(e){var t;if(e.originalEvent&&(t=e.originalEvent.deltaY||-e.originalEvent.wheelDelta||e.originalEvent.detail),null!=t)return e.preventDefault(),"DOMMouseScroll"===e.type&&(t*=40),this.search_results.scrollTop(t+this.search_results.scrollTop())},t.prototype.blur_test=function(e){if(!this.active_field&&this.container.hasClass("chosen-container-active"))return this.close_field()},t.prototype.close_field=function(){return a(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale(),this.search_field.blur()},t.prototype.activate_field=function(){if(!this.is_disabled)return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},t.prototype.test_active_click=function(e){var t;return(t=a(e.target).closest(".chosen-container")).length&&this.container[0]===t[0]?this.active_field=!0:this.close_field()},t.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=s.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},t.prototype.result_do_highlight=function(e){var t,n,i,o;if(e.length){if(this.result_clear_highlight(),this.result_highlight=e,this.result_highlight.addClass("highlighted"),(i=parseInt(this.search_results.css("maxHeight"),10))+(o=this.search_results.scrollTop())<=(t=(n=this.result_highlight.position().top+this.search_results.scrollTop())+this.result_highlight.outerHeight()))return this.search_results.scrollTop(0<t-i?t-i:0);if(n<o)return this.search_results.scrollTop(n)}},t.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},t.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.container.addClass("chosen-with-drop"),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.get_search_field_value()),this.winnow_results(),this.form_field_jq.trigger("chosen:showing_dropdown",{chosen:this}))},t.prototype.update_results_content=function(e){return this.search_results.html(e)},t.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:hiding_dropdown",{chosen:this})),this.results_showing=!1},t.prototype.set_tab_index=function(e){var t;if(this.form_field.tabIndex)return t=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=t},t.prototype.set_label_behavior=function(){if(this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=a("label[for='"+this.form_field.id+"']")),0<this.form_field_label.length)return this.form_field_label.on("click.chosen",this.label_click_handler)},t.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},t.prototype.search_results_mouseup=function(e){var t;if((t=a(e.target).hasClass("active-result")?a(e.target):a(e.target).parents(".active-result").first()).length)return this.result_highlight=t,this.result_select(e),this.search_field.focus()},t.prototype.search_results_mouseover=function(e){var t;if(t=a(e.target).hasClass("active-result")?a(e.target):a(e.target).parents(".active-result").first())return this.result_do_highlight(t)},t.prototype.search_results_mouseout=function(e){if(a(e.target).hasClass("active-result")||a(e.target).parents(".active-result").first())return this.result_clear_highlight()},t.prototype.choice_build=function(e){var t,n,i;return t=a("<li />",{class:"search-choice"}).html("<span>"+this.choice_label(e)+"</span>"),e.disabled?t.addClass("search-choice-disabled"):((n=a("<a />",{class:"search-choice-close","data-option-array-index":e.array_index})).on("click.chosen",(i=this,function(e){return i.choice_destroy_link_click(e)})),t.append(n)),this.search_container.before(t)},t.prototype.choice_destroy_link_click=function(e){if(e.preventDefault(),e.stopPropagation(),!this.is_disabled)return this.choice_destroy(a(e.target))},t.prototype.choice_destroy=function(e){if(this.result_deselect(e[0].getAttribute("data-option-array-index")))return this.active_field?this.search_field.focus():this.show_search_field_default(),this.is_multiple&&0<this.choices_count()&&this.get_search_field_value().length<1&&this.results_hide(),e.parents("li").first().remove(),this.search_field_scale()},t.prototype.results_reset=function(){if(this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.trigger_form_field_change(),this.active_field)return this.results_hide()},t.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},t.prototype.result_select=function(e){var t,n;if(this.result_highlight)return t=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?t.removeClass("active-result"):this.reset_single_select_options(),t.addClass("result-selected"),(n=this.results_data[t[0].getAttribute("data-option-array-index")]).selected=!0,this.form_field.options[n.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(n):this.single_set_selected_text(this.choice_label(n)),this.is_multiple&&(!this.hide_results_on_select||e.metaKey||e.ctrlKey)?e.metaKey||e.ctrlKey?this.winnow_results({skip_highlight:!0}):(this.search_field.val(""),this.winnow_results()):(this.results_hide(),this.show_search_field_default()),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.trigger_form_field_change({selected:this.form_field.options[n.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,e.preventDefault(),this.search_field_scale())},t.prototype.single_set_selected_text=function(e){return null==e&&(e=this.default_text),e===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").html(e)},t.prototype.result_deselect=function(e){var t;return t=this.results_data[e],!this.form_field.options[t.options_index].disabled&&(t.selected=!1,this.form_field.options[t.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.trigger_form_field_change({deselected:this.form_field.options[t.options_index].value}),this.search_field_scale(),!0)},t.prototype.single_deselect_control_build=function(){if(this.allow_single_deselect)return this.selected_item.find("abbr").length||this.selected_item.find("span").first().after('<abbr class="search-choice-close"></abbr>'),this.selected_item.addClass("chosen-single-with-deselect")},t.prototype.get_search_field_value=function(){return this.search_field.val()},t.prototype.get_search_text=function(){return a.trim(this.get_search_field_value())},t.prototype.escape_html=function(e){return a("<div/>").text(e).html()},t.prototype.winnow_results_set_highlight=function(){var e,t;if(null!=(e=(t=this.is_multiple?[]:this.search_results.find(".result-selected.active-result")).length?t.first():this.search_results.find(".active-result").first()))return this.result_do_highlight(e)},t.prototype.no_results=function(e){var t;return t=this.get_no_results_html(e),this.search_results.append(t),this.form_field_jq.trigger("chosen:no_results",{chosen:this})},t.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},t.prototype.keydown_arrow=function(){var e;return this.results_showing&&this.result_highlight?(e=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(e):void 0:this.results_show()},t.prototype.keyup_arrow=function(){var e;return this.results_showing||this.is_multiple?this.result_highlight?(e=this.result_highlight.prevAll("li.active-result")).length?this.result_do_highlight(e.first()):(0<this.choices_count()&&this.results_hide(),this.result_clear_highlight()):void 0:this.results_show()},t.prototype.keydown_backstroke=function(){var e;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(e=this.search_container.siblings("li.search-choice").last()).length&&!e.hasClass("search-choice-disabled")?(this.pending_backstroke=e,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0},t.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},t.prototype.search_field_scale=function(){var e,t,n,i,o,r,s;if(this.is_multiple){for(o={position:"absolute",left:"-1000px",top:"-1000px",display:"none",whiteSpace:"pre"},t=0,n=(r=["fontSize","fontStyle","fontWeight","fontFamily","lineHeight","textTransform","letterSpacing"]).length;t<n;t++)o[i=r[t]]=this.search_field.css(i);return(e=a("<div />").css(o)).text(this.get_search_field_value()),a("body").append(e),s=e.width()+25,e.remove(),this.container.is(":visible")&&(s=Math.min(this.container.outerWidth()-10,s)),this.search_field.width(s)}},t.prototype.trigger_form_field_change=function(e){return this.form_field_jq.trigger("input",e),this.form_field_jq.trigger("change",e)},t}()}.call(this),function(s){"use strict";function o(e,t,n){this.init(e,t,n)}function e(){this.rules=[]}s.extend(o.prototype,{init:function(e,t,n){this.controller=e,this.condition=t,this.value=n,this.rules=[],this.controls=[]},evalCondition:function(e,t,n,i,o){if("=="==n)return this.checkBoolean(i)==this.checkBoolean(o);if("!="==n)return this.checkBoolean(i)!=this.checkBoolean(o);if(">="==n)return Number(o)>=Number(i);if("<="==n)return Number(o)<=Number(i);if(">"==n)return Number(o)>Number(i);if("<"==n)return Number(o)<Number(i);if("()"==n)return window[i](e,t,o);if("any"==n){if(s.isArray(o)){for(var r=o.length-1;0<=r;r--)if(-1!==s.inArray(o[r],i.split(",")))return!0}else if(-1!==s.inArray(o,i.split(",")))return!0}else if("not-any"==n)if(s.isArray(o)){for(r=o.length-1;0<=r;r--)if(-1==s.inArray(o[r],i.split(",")))return!0}else if(-1==s.inArray(o,i.split(",")))return!0;return!1},checkBoolean:function(e){switch(e){case!0:case"true":case 1:case"1":e=!0;break;case null:case!1:case"false":case 0:case"0":e=!1}return e},checkCondition:function(e){if(!this.condition)return!0;var t=e.find(this.controller),n=this.getControlValue(e,t);return void 0!==n&&(n=this.normalizeValue(t,this.value,n),this.evalCondition(e,t,this.condition,this.value,n))},normalizeValue:function(e,t,n){return"number"==typeof t?parseFloat(n):n},getControlValue:function(e,t){return 1<t.length&&("radio"==t.attr("type")||"checkbox"==t.attr("type"))?t.filter(":checked").map(function(){return this.value}).get():"checkbox"==t.attr("type")||"radio"==t.attr("type")?t.is(":checked"):t.val()},createRule:function(e,t,n){var i=new o(e,t,n);return this.rules.push(i),i},include:function(e){this.controls.push(e)},applyRule:function(n,e){var t;t=void 0===e?this.checkCondition(n):e;var i=s.map(this.controls,function(e,t){return n.find(e)});t?(s(i).each(function(){s(this).removeClass("ulf-depend-on")}),s(this.rules).each(function(){this.applyRule(n)})):(s(i).each(function(){s(this).addClass("ulf-depend-on")}),s(this.rules).each(function(){this.applyRule(n,!1)}))}}),s.extend(e.prototype,{createRule:function(e,t,n){var i=new o(e,t,n);return this.rules.push(i),i},applyRules:function(e){s(this.rules).each(function(){this.applyRule(e)})}}),s.ulf_deps={createRuleset:function(){return new e},enable:function(n,i,o){return n.on("change keyup",function(e){var t=e.target.getAttribute("data-depend-id")||e.target.getAttribute("data-sub-depend-id");-1!==o.indexOf(t)&&i.applyRules(n)}),i.applyRules(n),!0}}}(jQuery),function(e,n){if("function"==typeof define&&define.amd)define(["exports","jquery"],function(e,t){return n(e,t)});else if("undefined"!=typeof exports){var t=require("jquery");n(exports,t)}else n(e,e.jQuery||e.Zepto||e.ender||e.$)}(this,function(e,t){var a={validate:/^(?!(_nonce|_pseudo))[a-zA-Z0-9_-]*(?:\[(?:\d*|(?!(_nonce|_pseudo))[a-zA-Z0-9_-]+)\])*$/i,key:/[a-zA-Z0-9_-]+|(?=\[\])/g,named:/^[a-zA-Z0-9_-]+$/,push:/^$/,fixed:/^\d+$/};function n(i,e){var n={},r={};function s(e,t,n){return e[t]=n,e}function t(){return n}this.addPair=function(e){if(!a.validate.test(e.name))return this;var t=function(e,t){for(var n,i=e.match(a.key);void 0!==(n=i.pop());)a.push.test(n)?t=s([],(o=e.replace(/\[\]$/,""),void 0===r[o]&&(r[o]=0),r[o]++),t):a.fixed.test(n)?t=s([],n,t):a.named.test(n)&&(t=s({},n,t));var o;return t}(e.name,e.value);return n=i.extend(!0,n,t),this},this.addPairs=function(e){if(!i.isArray(e))throw new Error("formSerializer.addPairs expects an Array");for(var t=0,n=e.length;t<n;t++)this.addPair(e[t]);return this},this.serialize=t,this.serializeJSON=function(){return JSON.stringify(t())}}return n.patterns=a,n.serializeObject=function(){return new n(t,this).addPairs(this.serializeArray()).serialize()},n.serializeJSON=function(){return new n(t,this).addPairs(this.serializeArray()).serializeJSON()},void 0!==t.fn&&(t.fn.serializeObjectULF=n.serializeObject,t.fn.serializeJSONULF=n.serializeJSON),e.FormSerializer=n});
|
admin/settings/assets/scss/partials/_fields.scss
CHANGED
@@ -806,12 +806,9 @@
|
|
806 |
*/
|
807 |
.csf-field-icon{
|
808 |
|
809 |
-
.button{
|
810 |
-
margin-right: 5px;
|
811 |
-
}
|
812 |
-
|
813 |
.csf-icon-select{
|
814 |
display: flex;
|
|
|
815 |
}
|
816 |
|
817 |
.csf-icon-preview:not(.hidden){
|
@@ -826,7 +823,6 @@
|
|
826 |
align-items: center;
|
827 |
width: 30px;
|
828 |
font-size: 14px;
|
829 |
-
margin-right: 5px;
|
830 |
text-align: center;
|
831 |
vertical-align: top;
|
832 |
color: #555;
|
806 |
*/
|
807 |
.csf-field-icon{
|
808 |
|
|
|
|
|
|
|
|
|
809 |
.csf-icon-select{
|
810 |
display: flex;
|
811 |
+
grid-gap: 5px;
|
812 |
}
|
813 |
|
814 |
.csf-icon-preview:not(.hidden){
|
823 |
align-items: center;
|
824 |
width: 30px;
|
825 |
font-size: 14px;
|
|
|
826 |
text-align: center;
|
827 |
vertical-align: top;
|
828 |
color: #555;
|
admin/settings/assets/scss/partials/_navmenu.scss
CHANGED
@@ -7,14 +7,12 @@
|
|
7 |
width: 100%;
|
8 |
|
9 |
> .csf-fields{
|
10 |
-
margin
|
11 |
-
margin-top: 10px;
|
12 |
-
margin-bottom: 10px;
|
13 |
border-top: 1px solid #eee;
|
14 |
border-bottom: 1px solid #eee;
|
15 |
|
16 |
> .csf-field{
|
17 |
-
padding: 12px
|
18 |
|
19 |
.csf-title{
|
20 |
float: none;
|
@@ -39,7 +37,7 @@
|
|
39 |
}
|
40 |
|
41 |
.csf-nav-menu-title{
|
42 |
-
padding: 12px
|
43 |
background-color: #f5f5f5;
|
44 |
border-top: 1px solid #eee;
|
45 |
border-bottom: 1px solid #eee;
|
7 |
width: 100%;
|
8 |
|
9 |
> .csf-fields{
|
10 |
+
margin: 10px -10px;
|
|
|
|
|
11 |
border-top: 1px solid #eee;
|
12 |
border-bottom: 1px solid #eee;
|
13 |
|
14 |
> .csf-field{
|
15 |
+
padding: 12px;
|
16 |
|
17 |
.csf-title{
|
18 |
float: none;
|
37 |
}
|
38 |
|
39 |
.csf-nav-menu-title{
|
40 |
+
padding: 12px;
|
41 |
background-color: #f5f5f5;
|
42 |
border-top: 1px solid #eee;
|
43 |
border-bottom: 1px solid #eee;
|
admin/settings/classes/admin-options.class.php
CHANGED
@@ -59,7 +59,7 @@ if ( ! class_exists( 'ULF_Options' ) ) {
|
|
59 |
'admin_bar_menu_priority' => 50,
|
60 |
|
61 |
// footer
|
62 |
-
'footer_text' => '',
|
63 |
'footer_after' => '',
|
64 |
'footer_credit' => '',
|
65 |
|
@@ -489,13 +489,14 @@ if ( ! class_exists( 'ULF_Options' ) ) {
|
|
489 |
|
490 |
}
|
491 |
|
492 |
-
|
|
|
|
|
493 |
|
494 |
}
|
495 |
|
496 |
public function add_admin_footer_text() {
|
497 |
-
|
498 |
-
echo ( ! empty( $this->args['footer_credit'] ) ) ? $this->args['footer_credit'] : $default;
|
499 |
}
|
500 |
|
501 |
public function error_check( $sections, $err = '' ) {
|
59 |
'admin_bar_menu_priority' => 50,
|
60 |
|
61 |
// footer
|
62 |
+
'footer_text' => 'Thank you for creating with Codestar Framework',
|
63 |
'footer_after' => '',
|
64 |
'footer_credit' => '',
|
65 |
|
489 |
|
490 |
}
|
491 |
|
492 |
+
if ( ! empty( $this->args['footer_credit'] ) ) {
|
493 |
+
add_filter( 'admin_footer_text', array( $this, 'add_admin_footer_text' ) );
|
494 |
+
}
|
495 |
|
496 |
}
|
497 |
|
498 |
public function add_admin_footer_text() {
|
499 |
+
echo wp_kses_post( $this->args['footer_credit'] );
|
|
|
500 |
}
|
501 |
|
502 |
public function error_check( $sections, $err = '' ) {
|
admin/settings/classes/customize-options.class.php
CHANGED
@@ -240,7 +240,7 @@ if ( ! class_exists( 'ULF_Customize_Options' ) ) {
|
|
240 |
$field_sanitize = ( isset( $field['sanitize'] ) ) ? $field['sanitize'] : '';
|
241 |
$field_validate = ( isset( $field['validate'] ) ) ? $field['validate'] : '';
|
242 |
$field_default = ( isset( $field['default'] ) ) ? $field['default'] : '';
|
243 |
-
$field_customize = ( isset( $field['
|
244 |
$has_selective = ( isset( $field['selective_refresh'] ) && isset( $wp_customize->selective_refresh ) ) ? true : false;
|
245 |
|
246 |
$setting_id = $this->unique .'['. $field_id .']';
|
240 |
$field_sanitize = ( isset( $field['sanitize'] ) ) ? $field['sanitize'] : '';
|
241 |
$field_validate = ( isset( $field['validate'] ) ) ? $field['validate'] : '';
|
242 |
$field_default = ( isset( $field['default'] ) ) ? $field['default'] : '';
|
243 |
+
$field_customize = ( ( isset( $field['selectors'] ) || isset( $field['selector'] ) ) && ! isset( $field['transport'] ) ) ? true : false;
|
244 |
$has_selective = ( isset( $field['selective_refresh'] ) && isset( $wp_customize->selective_refresh ) ) ? true : false;
|
245 |
|
246 |
$setting_id = $this->unique .'['. $field_id .']';
|
admin/settings/classes/setup.class.php
CHANGED
@@ -12,7 +12,7 @@ if ( ! class_exists( 'ULF' ) ) {
|
|
12 |
|
13 |
// Default constants
|
14 |
public static $premium = true;
|
15 |
-
public static $version = '2.2.
|
16 |
public static $dir = '';
|
17 |
public static $url = '';
|
18 |
public static $css = '';
|
@@ -748,10 +748,6 @@ if ( ! class_exists( 'ULF' ) ) {
|
|
748 |
|
749 |
if ( ! empty( $field_type ) ) {
|
750 |
|
751 |
-
if ( ! empty( $field['fancy_title'] ) ) {
|
752 |
-
echo '<div class="ulf-fancy-title">' . $field['fancy_title'] .'</div>';
|
753 |
-
}
|
754 |
-
|
755 |
if ( ! empty( $field['title'] ) ) {
|
756 |
echo '<div class="ulf-title">';
|
757 |
echo '<h4>'. $field['title'] .'</h4>';
|
@@ -759,7 +755,7 @@ if ( ! class_exists( 'ULF' ) ) {
|
|
759 |
echo '</div>';
|
760 |
}
|
761 |
|
762 |
-
echo ( ! empty( $field['title'] )
|
763 |
|
764 |
$value = ( ! isset( $value ) && isset( $field['default'] ) ) ? $field['default'] : $value;
|
765 |
$value = ( isset( $field['value'] ) ) ? $field['value'] : $value;
|
@@ -777,7 +773,7 @@ if ( ! class_exists( 'ULF' ) ) {
|
|
777 |
echo '<p>'. esc_html__( 'Field not found!', 'ulf' ) .'</p>';
|
778 |
}
|
779 |
|
780 |
-
echo ( ! empty( $field['title'] )
|
781 |
echo '<div class="clear"></div>';
|
782 |
echo '</div>';
|
783 |
|
12 |
|
13 |
// Default constants
|
14 |
public static $premium = true;
|
15 |
+
public static $version = '2.2.7';
|
16 |
public static $dir = '';
|
17 |
public static $url = '';
|
18 |
public static $css = '';
|
748 |
|
749 |
if ( ! empty( $field_type ) ) {
|
750 |
|
|
|
|
|
|
|
|
|
751 |
if ( ! empty( $field['title'] ) ) {
|
752 |
echo '<div class="ulf-title">';
|
753 |
echo '<h4>'. $field['title'] .'</h4>';
|
755 |
echo '</div>';
|
756 |
}
|
757 |
|
758 |
+
echo ( ! empty( $field['title'] ) ) ? '<div class="ulf-fieldset">' : '';
|
759 |
|
760 |
$value = ( ! isset( $value ) && isset( $field['default'] ) ) ? $field['default'] : $value;
|
761 |
$value = ( isset( $field['value'] ) ) ? $field['value'] : $value;
|
773 |
echo '<p>'. esc_html__( 'Field not found!', 'ulf' ) .'</p>';
|
774 |
}
|
775 |
|
776 |
+
echo ( ! empty( $field['title'] ) ) ? '</div>' : '';
|
777 |
echo '<div class="clear"></div>';
|
778 |
echo '</div>';
|
779 |
|
admin/settings/fields/code_editor/code_editor.php
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
if ( ! class_exists( 'ULF_Field_code_editor' ) ) {
|
11 |
class ULF_Field_code_editor extends ULF_Fields {
|
12 |
|
13 |
-
public $version = '5.
|
14 |
public $cdn_url = 'https://cdn.jsdelivr.net/npm/codemirror@';
|
15 |
|
16 |
public function __construct( $field, $value = '', $unique = '', $where = '', $parent = '' ) {
|
10 |
if ( ! class_exists( 'ULF_Field_code_editor' ) ) {
|
11 |
class ULF_Field_code_editor extends ULF_Fields {
|
12 |
|
13 |
+
public $version = '5.65.2';
|
14 |
public $cdn_url = 'https://cdn.jsdelivr.net/npm/codemirror@';
|
15 |
|
16 |
public function __construct( $field, $value = '', $unique = '', $where = '', $parent = '' ) {
|
admin/settings/fields/group/group.php
CHANGED
@@ -17,18 +17,24 @@ if ( ! class_exists( 'ULF_Field_group' ) ) {
|
|
17 |
public function render() {
|
18 |
|
19 |
$args = wp_parse_args( $this->field, array(
|
20 |
-
'max'
|
21 |
-
'min'
|
22 |
-
'fields'
|
23 |
-
'button_title'
|
24 |
-
'accordion_title_prefix'
|
25 |
-
'accordion_title_number'
|
26 |
-
'accordion_title_auto'
|
|
|
|
|
27 |
) );
|
28 |
|
29 |
-
$title_prefix
|
30 |
-
$title_number
|
31 |
-
$title_auto
|
|
|
|
|
|
|
|
|
32 |
|
33 |
if ( preg_match( '/'. preg_quote( '['. $this->field['id'] .']' ) .'/', $this->unique ) ) {
|
34 |
|
@@ -67,7 +73,7 @@ if ( ! class_exists( 'ULF_Field_group' ) ) {
|
|
67 |
|
68 |
echo '</div>';
|
69 |
|
70 |
-
echo '<div class="ulf-cloneable-wrapper ulf-data-wrapper" data-title-number="'. esc_attr( $title_number ) .'" data-field-id="['. esc_attr( $this->field['id'] ) .']" data-max="'. esc_attr( $args['max'] ) .'" data-min="'. esc_attr( $args['min'] ) .'">';
|
71 |
|
72 |
if ( ! empty( $this->value ) ) {
|
73 |
|
@@ -75,9 +81,23 @@ if ( ! class_exists( 'ULF_Field_group' ) ) {
|
|
75 |
|
76 |
foreach ( $this->value as $value ) {
|
77 |
|
78 |
-
$
|
79 |
-
|
80 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
|
82 |
echo '<div class="ulf-cloneable-item">';
|
83 |
|
@@ -91,7 +111,7 @@ if ( ! class_exists( 'ULF_Field_group' ) ) {
|
|
91 |
echo '<span class="ulf-cloneable-text">';
|
92 |
echo ( $title_number ) ? '<span class="ulf-cloneable-title-number">'. esc_attr( $num+1 ) .'.</span>' : '';
|
93 |
echo ( $title_prefix ) ? '<span class="ulf-cloneable-title-prefix">'. esc_attr( $title_prefix ) .'</span>' : '';
|
94 |
-
echo ( $title_auto ) ? '<span class="ulf-cloneable-value">' . esc_attr( $
|
95 |
echo '</span>';
|
96 |
echo '</h4>';
|
97 |
|
17 |
public function render() {
|
18 |
|
19 |
$args = wp_parse_args( $this->field, array(
|
20 |
+
'max' => 0,
|
21 |
+
'min' => 0,
|
22 |
+
'fields' => array(),
|
23 |
+
'button_title' => esc_html__( 'Add New', 'ulf' ),
|
24 |
+
'accordion_title_prefix' => '',
|
25 |
+
'accordion_title_number' => false,
|
26 |
+
'accordion_title_auto' => true,
|
27 |
+
'accordion_title_by' => array(),
|
28 |
+
'accordion_title_by_prefix' => ' ',
|
29 |
) );
|
30 |
|
31 |
+
$title_prefix = ( ! empty( $args['accordion_title_prefix'] ) ) ? $args['accordion_title_prefix'] : '';
|
32 |
+
$title_number = ( ! empty( $args['accordion_title_number'] ) ) ? true : false;
|
33 |
+
$title_auto = ( ! empty( $args['accordion_title_auto'] ) ) ? true : false;
|
34 |
+
$title_first = ( isset( $this->field['fields'][0]['id'] ) ) ? $this->field['fields'][0]['id'] : $this->field['fields'][1]['id'];
|
35 |
+
$title_by = ( is_array( $args['accordion_title_by'] ) ) ? $args['accordion_title_by'] : (array) $args['accordion_title_by'];
|
36 |
+
$title_by = ( empty( $title_by ) ) ? array( $title_first ) : $title_by;
|
37 |
+
$title_by_prefix = ( ! empty( $args['accordion_title_by_prefix'] ) ) ? $args['accordion_title_by_prefix'] : '';
|
38 |
|
39 |
if ( preg_match( '/'. preg_quote( '['. $this->field['id'] .']' ) .'/', $this->unique ) ) {
|
40 |
|
73 |
|
74 |
echo '</div>';
|
75 |
|
76 |
+
echo '<div class="ulf-cloneable-wrapper ulf-data-wrapper" data-title-by="'. esc_attr( json_encode( $title_by ) ) .'" data-title-by-prefix="'. esc_attr( $title_by_prefix ) .'" data-title-number="'. esc_attr( $title_number ) .'" data-field-id="['. esc_attr( $this->field['id'] ) .']" data-max="'. esc_attr( $args['max'] ) .'" data-min="'. esc_attr( $args['min'] ) .'">';
|
77 |
|
78 |
if ( ! empty( $this->value ) ) {
|
79 |
|
81 |
|
82 |
foreach ( $this->value as $value ) {
|
83 |
|
84 |
+
$title = '';
|
85 |
+
|
86 |
+
if ( ! empty( $title_by ) ) {
|
87 |
+
|
88 |
+
$titles = array();
|
89 |
+
|
90 |
+
foreach ( $title_by as $title_key ) {
|
91 |
+
if ( isset( $value[ $title_key ] ) ) {
|
92 |
+
$titles[] = $value[ $title_key ];
|
93 |
+
}
|
94 |
+
}
|
95 |
+
|
96 |
+
$title = join( $title_by_prefix, $titles );
|
97 |
+
|
98 |
+
}
|
99 |
+
|
100 |
+
$title = ( is_array( $title ) ) ? reset( $title ) : $title;
|
101 |
|
102 |
echo '<div class="ulf-cloneable-item">';
|
103 |
|
111 |
echo '<span class="ulf-cloneable-text">';
|
112 |
echo ( $title_number ) ? '<span class="ulf-cloneable-title-number">'. esc_attr( $num+1 ) .'.</span>' : '';
|
113 |
echo ( $title_prefix ) ? '<span class="ulf-cloneable-title-prefix">'. esc_attr( $title_prefix ) .'</span>' : '';
|
114 |
+
echo ( $title_auto ) ? '<span class="ulf-cloneable-value">' . esc_attr( $title ) .'</span>' : '';
|
115 |
echo '</span>';
|
116 |
echo '</h4>';
|
117 |
|
admin/settings/fields/number/number.php
CHANGED
@@ -17,12 +17,15 @@ if ( ! class_exists( 'ULF_Field_number' ) ) {
|
|
17 |
public function render() {
|
18 |
|
19 |
$args = wp_parse_args( $this->field, array(
|
|
|
|
|
|
|
20 |
'unit' => '',
|
21 |
) );
|
22 |
|
23 |
echo $this->field_before();
|
24 |
echo '<div class="ulf--wrap">';
|
25 |
-
echo '<input type="number" name="'. esc_attr( $this->field_name() ) .'" value="'. esc_attr( $this->value ) .'"'. $this->field_attributes(
|
26 |
echo ( ! empty( $args['unit'] ) ) ? '<span class="ulf--unit">'. esc_attr( $args['unit'] ) .'</span>' : '';
|
27 |
echo '</div>';
|
28 |
echo $this->field_after();
|
17 |
public function render() {
|
18 |
|
19 |
$args = wp_parse_args( $this->field, array(
|
20 |
+
'min' => 'any',
|
21 |
+
'max' => 'any',
|
22 |
+
'step' => 'any',
|
23 |
'unit' => '',
|
24 |
) );
|
25 |
|
26 |
echo $this->field_before();
|
27 |
echo '<div class="ulf--wrap">';
|
28 |
+
echo '<input type="number" name="'. esc_attr( $this->field_name() ) .'" value="'. esc_attr( $this->value ) .'"'. $this->field_attributes() .' min="'. esc_attr( $args['min'] ) .'" max="'. esc_attr( $args['max'] ) .'" step="'. esc_attr( $args['step'] ) .'"/>';
|
29 |
echo ( ! empty( $args['unit'] ) ) ? '<span class="ulf--unit">'. esc_attr( $args['unit'] ) .'</span>' : '';
|
30 |
echo '</div>';
|
31 |
echo $this->field_after();
|
admin/settings/fields/typography/google-fonts.php
CHANGED
@@ -104,7 +104,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
|
|
104 |
'Bahiana'=>[['normal'],['latin','latin-ext']],
|
105 |
'Bahianita'=>[['normal'],['latin','latin-ext','vietnamese']],
|
106 |
'Bai Jamjuree'=>[['200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['latin','latin-ext','thai','vietnamese']],
|
107 |
-
'Bakbak One'=>[['normal'],['latin','latin-ext']],
|
108 |
'Ballet'=>[['normal'],['latin','latin-ext','vietnamese']],
|
109 |
'Baloo 2'=>[['normal','500','600','700','800'],['devanagari','latin','latin-ext','vietnamese']],
|
110 |
'Baloo Bhai 2'=>[['normal','500','600','700','800'],['gujarati','latin','latin-ext','vietnamese']],
|
@@ -143,6 +143,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
|
|
143 |
'Besley'=>[['normal','500','600','700','800','900','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext']],
|
144 |
'Beth Ellen'=>[['normal'],['latin']],
|
145 |
'Bevan'=>[['normal','italic'],['latin','latin-ext','vietnamese']],
|
|
|
146 |
'Big Shoulders Display'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
|
147 |
'Big Shoulders Inline Display'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
|
148 |
'Big Shoulders Inline Text'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
|
@@ -171,7 +172,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
|
|
171 |
'Boogaloo'=>[['normal'],['latin']],
|
172 |
'Bowlby One'=>[['normal'],['latin']],
|
173 |
'Bowlby One SC'=>[['normal'],['latin','latin-ext']],
|
174 |
-
'Brawler'=>[['normal'],['latin']],
|
175 |
'Bree Serif'=>[['normal'],['latin','latin-ext']],
|
176 |
'Brygada 1918'=>[['normal','500','600','700','italic','500italic','600italic','700italic'],['cyrillic','cyrillic-ext','greek','latin','latin-ext','vietnamese']],
|
177 |
'Bubblegum Sans'=>[['normal'],['latin','latin-ext']],
|
@@ -382,6 +383,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
|
|
382 |
'Fraunces'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext','vietnamese']],
|
383 |
'Freckle Face'=>[['normal'],['latin','latin-ext']],
|
384 |
'Fredericka the Great'=>[['normal'],['latin','latin-ext']],
|
|
|
385 |
'Fredoka One'=>[['normal'],['latin']],
|
386 |
'Freehand'=>[['normal'],['khmer','latin']],
|
387 |
'Fresca'=>[['normal'],['latin','latin-ext']],
|
@@ -471,6 +473,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
|
|
471 |
'Holtwood One SC'=>[['normal'],['latin']],
|
472 |
'Homemade Apple'=>[['normal'],['latin']],
|
473 |
'Homenaje'=>[['normal'],['latin']],
|
|
|
474 |
'Hurricane'=>[['normal'],['latin','latin-ext','vietnamese']],
|
475 |
'IBM Plex Mono'=>[['100','100italic','200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
|
476 |
'IBM Plex Sans'=>[['100','100italic','200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['cyrillic','cyrillic-ext','greek','latin','latin-ext','vietnamese']],
|
@@ -592,7 +595,9 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
|
|
592 |
'Langar'=>[['normal'],['gurmukhi','latin','latin-ext']],
|
593 |
'Lateef'=>[['normal'],['arabic','latin']],
|
594 |
'Lato'=>[['100','100italic','300','300italic','normal','italic','700','700italic','900','900italic'],['latin','latin-ext']],
|
|
|
595 |
'League Script'=>[['normal'],['latin']],
|
|
|
596 |
'Leckerli One'=>[['normal'],['latin']],
|
597 |
'Ledger'=>[['normal'],['cyrillic','latin','latin-ext']],
|
598 |
'Lekton'=>[['normal','italic','700'],['latin','latin-ext']],
|
@@ -721,7 +726,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
|
|
721 |
'Montagu Slab'=>[['100','200','300','normal','500','600','700'],['latin','latin-ext','vietnamese']],
|
722 |
'MonteCarlo'=>[['normal'],['latin','latin-ext','vietnamese']],
|
723 |
'Montez'=>[['normal'],['latin']],
|
724 |
-
'Montserrat'=>[['100','
|
725 |
'Montserrat Alternates'=>[['100','100italic','200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic','800','800italic','900','900italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
|
726 |
'Montserrat Subrayada'=>[['normal','700'],['latin']],
|
727 |
'Moo Lah Lah'=>[['normal'],['latin','latin-ext','vietnamese']],
|
@@ -749,6 +754,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
|
|
749 |
'Nanum Gothic Coding'=>[['normal','700'],['korean','latin']],
|
750 |
'Nanum Myeongjo'=>[['normal','700','800'],['korean','latin']],
|
751 |
'Nanum Pen Script'=>[['normal'],['korean','latin']],
|
|
|
752 |
'Nerko One'=>[['normal'],['latin','latin-ext']],
|
753 |
'Neucha'=>[['normal'],['cyrillic','latin']],
|
754 |
'Neuton'=>[['200','300','normal','italic','700','800'],['latin','latin-ext']],
|
@@ -971,7 +977,6 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
|
|
971 |
'Oleo Script Swash Caps'=>[['normal','700'],['latin','latin-ext']],
|
972 |
'Oooh Baby'=>[['normal'],['latin','latin-ext','vietnamese']],
|
973 |
'Open Sans'=>[['300','normal','500','600','700','800','300italic','italic','500italic','600italic','700italic','800italic'],['cyrillic','cyrillic-ext','greek','greek-ext','hebrew','latin','latin-ext','vietnamese']],
|
974 |
-
'Open Sans Condensed'=>[['300','300italic','700'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext','vietnamese']],
|
975 |
'Oranienbaum'=>[['normal'],['cyrillic','cyrillic-ext','latin','latin-ext']],
|
976 |
'Orbitron'=>[['normal','500','600','700','800','900'],['latin']],
|
977 |
'Oregano'=>[['normal','italic'],['latin','latin-ext']],
|
@@ -1056,7 +1061,6 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
|
|
1056 |
'Puppies Play'=>[['normal'],['latin','latin-ext','vietnamese']],
|
1057 |
'Puritan'=>[['normal','italic','700','700italic'],['latin']],
|
1058 |
'Purple Purse'=>[['normal'],['latin','latin-ext']],
|
1059 |
-
'Pushster'=>[['normal'],['latin','latin-ext']],
|
1060 |
'Qahiri'=>[['normal'],['arabic','latin']],
|
1061 |
'Quando'=>[['normal'],['latin','latin-ext']],
|
1062 |
'Quantico'=>[['normal','italic','700','700italic'],['latin']],
|
@@ -1106,6 +1110,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
|
|
1106 |
'Roboto'=>[['100','100italic','300','300italic','normal','italic','500','500italic','700','700italic','900','900italic'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext','vietnamese']],
|
1107 |
'Roboto Condensed'=>[['300','300italic','normal','italic','700','700italic'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext','vietnamese']],
|
1108 |
'Roboto Mono'=>[['100','200','300','normal','500','600','700','100italic','200italic','300italic','italic','500italic','600italic','700italic'],['cyrillic','cyrillic-ext','greek','latin','latin-ext','vietnamese']],
|
|
|
1109 |
'Roboto Slab'=>[['100','200','300','normal','500','600','700','800','900'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext','vietnamese']],
|
1110 |
'Rochester'=>[['normal'],['latin']],
|
1111 |
'Rock 3D'=>[['normal'],['japanese','latin']],
|
@@ -1194,6 +1199,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
|
|
1194 |
'Slackey'=>[['normal'],['latin']],
|
1195 |
'Smokum'=>[['normal'],['latin']],
|
1196 |
'Smooch'=>[['normal'],['latin','latin-ext','vietnamese']],
|
|
|
1197 |
'Smythe'=>[['normal'],['latin']],
|
1198 |
'Sniglet'=>[['normal','800'],['latin','latin-ext']],
|
1199 |
'Snippet'=>[['normal'],['latin']],
|
104 |
'Bahiana'=>[['normal'],['latin','latin-ext']],
|
105 |
'Bahianita'=>[['normal'],['latin','latin-ext','vietnamese']],
|
106 |
'Bai Jamjuree'=>[['200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['latin','latin-ext','thai','vietnamese']],
|
107 |
+
'Bakbak One'=>[['normal'],['devanagari','latin','latin-ext']],
|
108 |
'Ballet'=>[['normal'],['latin','latin-ext','vietnamese']],
|
109 |
'Baloo 2'=>[['normal','500','600','700','800'],['devanagari','latin','latin-ext','vietnamese']],
|
110 |
'Baloo Bhai 2'=>[['normal','500','600','700','800'],['gujarati','latin','latin-ext','vietnamese']],
|
143 |
'Besley'=>[['normal','500','600','700','800','900','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext']],
|
144 |
'Beth Ellen'=>[['normal'],['latin']],
|
145 |
'Bevan'=>[['normal','italic'],['latin','latin-ext','vietnamese']],
|
146 |
+
'BhuTuka Expanded One'=>[['normal'],['gurmukhi','latin','latin-ext']],
|
147 |
'Big Shoulders Display'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
|
148 |
'Big Shoulders Inline Display'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
|
149 |
'Big Shoulders Inline Text'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
|
172 |
'Boogaloo'=>[['normal'],['latin']],
|
173 |
'Bowlby One'=>[['normal'],['latin']],
|
174 |
'Bowlby One SC'=>[['normal'],['latin','latin-ext']],
|
175 |
+
'Brawler'=>[['normal','700'],['latin']],
|
176 |
'Bree Serif'=>[['normal'],['latin','latin-ext']],
|
177 |
'Brygada 1918'=>[['normal','500','600','700','italic','500italic','600italic','700italic'],['cyrillic','cyrillic-ext','greek','latin','latin-ext','vietnamese']],
|
178 |
'Bubblegum Sans'=>[['normal'],['latin','latin-ext']],
|
383 |
'Fraunces'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext','vietnamese']],
|
384 |
'Freckle Face'=>[['normal'],['latin','latin-ext']],
|
385 |
'Fredericka the Great'=>[['normal'],['latin','latin-ext']],
|
386 |
+
'Fredoka'=>[['300','normal','500','600','700'],['hebrew','latin','latin-ext']],
|
387 |
'Fredoka One'=>[['normal'],['latin']],
|
388 |
'Freehand'=>[['normal'],['khmer','latin']],
|
389 |
'Fresca'=>[['normal'],['latin','latin-ext']],
|
473 |
'Holtwood One SC'=>[['normal'],['latin']],
|
474 |
'Homemade Apple'=>[['normal'],['latin']],
|
475 |
'Homenaje'=>[['normal'],['latin']],
|
476 |
+
'Hubballi'=>[['normal'],['kannada','latin','latin-ext']],
|
477 |
'Hurricane'=>[['normal'],['latin','latin-ext','vietnamese']],
|
478 |
'IBM Plex Mono'=>[['100','100italic','200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
|
479 |
'IBM Plex Sans'=>[['100','100italic','200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['cyrillic','cyrillic-ext','greek','latin','latin-ext','vietnamese']],
|
595 |
'Langar'=>[['normal'],['gurmukhi','latin','latin-ext']],
|
596 |
'Lateef'=>[['normal'],['arabic','latin']],
|
597 |
'Lato'=>[['100','100italic','300','300italic','normal','italic','700','700italic','900','900italic'],['latin','latin-ext']],
|
598 |
+
'League Gothic'=>[['normal'],['latin','latin-ext','vietnamese']],
|
599 |
'League Script'=>[['normal'],['latin']],
|
600 |
+
'League Spartan'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
|
601 |
'Leckerli One'=>[['normal'],['latin']],
|
602 |
'Ledger'=>[['normal'],['cyrillic','latin','latin-ext']],
|
603 |
'Lekton'=>[['normal','italic','700'],['latin','latin-ext']],
|
726 |
'Montagu Slab'=>[['100','200','300','normal','500','600','700'],['latin','latin-ext','vietnamese']],
|
727 |
'MonteCarlo'=>[['normal'],['latin','latin-ext','vietnamese']],
|
728 |
'Montez'=>[['normal'],['latin']],
|
729 |
+
'Montserrat'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
|
730 |
'Montserrat Alternates'=>[['100','100italic','200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic','800','800italic','900','900italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
|
731 |
'Montserrat Subrayada'=>[['normal','700'],['latin']],
|
732 |
'Moo Lah Lah'=>[['normal'],['latin','latin-ext','vietnamese']],
|
754 |
'Nanum Gothic Coding'=>[['normal','700'],['korean','latin']],
|
755 |
'Nanum Myeongjo'=>[['normal','700','800'],['korean','latin']],
|
756 |
'Nanum Pen Script'=>[['normal'],['korean','latin']],
|
757 |
+
'Neonderthaw'=>[['normal'],['latin','latin-ext','vietnamese']],
|
758 |
'Nerko One'=>[['normal'],['latin','latin-ext']],
|
759 |
'Neucha'=>[['normal'],['cyrillic','latin']],
|
760 |
'Neuton'=>[['200','300','normal','italic','700','800'],['latin','latin-ext']],
|
977 |
'Oleo Script Swash Caps'=>[['normal','700'],['latin','latin-ext']],
|
978 |
'Oooh Baby'=>[['normal'],['latin','latin-ext','vietnamese']],
|
979 |
'Open Sans'=>[['300','normal','500','600','700','800','300italic','italic','500italic','600italic','700italic','800italic'],['cyrillic','cyrillic-ext','greek','greek-ext','hebrew','latin','latin-ext','vietnamese']],
|
|
|
980 |
'Oranienbaum'=>[['normal'],['cyrillic','cyrillic-ext','latin','latin-ext']],
|
981 |
'Orbitron'=>[['normal','500','600','700','800','900'],['latin']],
|
982 |
'Oregano'=>[['normal','italic'],['latin','latin-ext']],
|
1061 |
'Puppies Play'=>[['normal'],['latin','latin-ext','vietnamese']],
|
1062 |
'Puritan'=>[['normal','italic','700','700italic'],['latin']],
|
1063 |
'Purple Purse'=>[['normal'],['latin','latin-ext']],
|
|
|
1064 |
'Qahiri'=>[['normal'],['arabic','latin']],
|
1065 |
'Quando'=>[['normal'],['latin','latin-ext']],
|
1066 |
'Quantico'=>[['normal','italic','700','700italic'],['latin']],
|
1110 |
'Roboto'=>[['100','100italic','300','300italic','normal','italic','500','500italic','700','700italic','900','900italic'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext','vietnamese']],
|
1111 |
'Roboto Condensed'=>[['300','300italic','normal','italic','700','700italic'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext','vietnamese']],
|
1112 |
'Roboto Mono'=>[['100','200','300','normal','500','600','700','100italic','200italic','300italic','italic','500italic','600italic','700italic'],['cyrillic','cyrillic-ext','greek','latin','latin-ext','vietnamese']],
|
1113 |
+
'Roboto Serif'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext','vietnamese']],
|
1114 |
'Roboto Slab'=>[['100','200','300','normal','500','600','700','800','900'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext','vietnamese']],
|
1115 |
'Rochester'=>[['normal'],['latin']],
|
1116 |
'Rock 3D'=>[['normal'],['japanese','latin']],
|
1199 |
'Slackey'=>[['normal'],['latin']],
|
1200 |
'Smokum'=>[['normal'],['latin']],
|
1201 |
'Smooch'=>[['normal'],['latin','latin-ext','vietnamese']],
|
1202 |
+
'Smooch Sans'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
|
1203 |
'Smythe'=>[['normal'],['latin']],
|
1204 |
'Sniglet'=>[['normal','800'],['latin','latin-ext']],
|
1205 |
'Snippet'=>[['normal'],['latin']],
|
assets/css/wp-ulike.css
CHANGED
@@ -559,8 +559,9 @@
|
|
559 |
color: #FFFFFF;
|
560 |
animation: wpUlikeNotifitcationsAnimation 200ms backwards;
|
561 |
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.08);
|
562 |
-
font-size:
|
563 |
font-weight: 500;
|
|
|
564 |
}
|
565 |
.wpulike-notification .wpulike-message:hover {
|
566 |
opacity: 0.9;
|
559 |
color: #FFFFFF;
|
560 |
animation: wpUlikeNotifitcationsAnimation 200ms backwards;
|
561 |
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.08);
|
562 |
+
font-size: 0.9rem;
|
563 |
font-weight: 500;
|
564 |
+
line-height: normal;
|
565 |
}
|
566 |
.wpulike-notification .wpulike-message:hover {
|
567 |
opacity: 0.9;
|
assets/css/wp-ulike.min.css
CHANGED
@@ -3,4 +3,4 @@
|
|
3 |
* WP ULike
|
4 |
* @author Alimir [https://wordpress.org/plugins/wp-ulike/]
|
5 |
===============================================================
|
6 |
-
*/.wpulike{display:block;position:relative;line-height:normal;margin:0;padding:10px 0}.wpulike .wp_ulike_btn{margin:0;position:relative;display:inline-block;vertical-align:middle;border-radius:.25em;box-shadow:none;padding:15px 25px;border:none;text-align:center;transition-property:none;cursor:pointer}.wpulike .wp_ulike_btn:active,.wpulike .wp_ulike_btn:focus,.wpulike .wp_ulike_btn:hover{outline:0}.wpulike .wp_ulike_btn::-moz-focus-inner{border:0}.wpulike .wp_ulike_btn:disabled:active,.wpulike .wp_ulike_btn:disabled:focus,.wpulike .wp_ulike_btn:disabled:hover,.wpulike .wp_ulike_btn[disabled=disabled]:active,.wpulike .wp_ulike_btn[disabled=disabled]:focus,.wpulike .wp_ulike_btn[disabled=disabled]:hover{outline:0;background-color:initial}.wpulike .wp_ulike_put_text{font-size:14px;font-weight:600;line-height:28px;padding:0 10px;min-width:50px}.wpulike .wp_ulike_general_class{display:inline-flex;align-items:center}.wpulike .wp_ulike_is_loading .wp_ulike_btn{background-image:url(../img/svg/loader.svg);background-repeat:no-repeat;background-position:center center}.wpulike .wp_ulike_is_loading .wp_ulike_btn span{visibility:hidden}.wpulike .wp_ulike_is_loading .wp_ulike_btn.wp_ulike_put_image:after{content:none}.wpulike.wpulike-hide-counter .count-box{display:none}.wpulike .count-box:empty{display:none}.wp_ulike_click_is_disabled{pointer-events:none;cursor:default}.wp_ulike_hide_me{visibility:hidden}.wpulike-default .wp_ulike_btn{color:#616161;background-color:#e0e0e0;min-height:30px;min-width:50px}.wpulike-default .wp_ulike_btn:focus,.wpulike-default .wp_ulike_btn:hover{color:#616161;background-color:#e0e0e0;text-decoration:none}.wpulike-default .wp_ulike_btn:disabled:active,.wpulike-default .wp_ulike_btn:disabled:focus,.wpulike-default .wp_ulike_btn:disabled:hover,.wpulike-default .wp_ulike_btn[disabled=disabled]:active,.wpulike-default .wp_ulike_btn[disabled=disabled]:focus,.wpulike-default .wp_ulike_btn[disabled=disabled]:hover{background-color:#e0e0e0}.wpulike-default .wp_ulike_is_liked .wp_ulike_btn{color:#757575}.wpulike-default .wp_ulike_put_image:after{content:'';display:block;background:url(../img/svg/like.svg) no-repeat;background-size:contain;width:16px;height:16px;position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(-50%)}.wpulike-default .wp_ulike_put_image.wp_ulike_btn_is_active:after{filter:invert(44%) sepia(40%) saturate(3852%) hue-rotate(329deg) brightness(100%) contrast(111%)}.wpulike-default .count-box{position:relative;border-radius:.25em;font-size:12px;text-decoration:none;background-color:#fff;margin-left:8px;line-height:28px;display:inline-block;padding:0 10px;box-shadow:0 0 0 1px #bdbdbd inset;color:#616161;vertical-align:middle;text-align:center}.wpulike-default .count-box:before{content:'';position:absolute;border:1px solid transparent;background:#fff;border-bottom-color:#bdbdbd;left:-5px;top:50%;border-left-color:#bdbdbd;transform:rotate(45deg) translatey(-50%);width:5px;height:5px;margin:0}#buddypress #activity-stream .activity-comments .wpulike,#buddypress #activity-stream .activity-meta .wpulike{display:flex;align-items:center;padding:0}#buddypress #activity-stream .activity-comments .wpulike-default .wp_ulike_btn,#buddypress #activity-stream .activity-meta .wpulike-default .wp_ulike_btn{border-radius:0;background-color:#fff;box-shadow:0 0 0 1px #bdbdbd inset;font-size:initial;padding:initial}#buddypress #activity-stream .wp_ulike_likers_wrapper .wp-ulike-liker,#buddypress #activity-stream .wp_ulike_likers_wrapper li{border:none;padding:0}#buddypress #activity-stream .wp_ulike_likers_wrapper .wp-ulike-liker a,#buddypress #activity-stream .wp_ulike_likers_wrapper .wp-ulike-liker img,#buddypress #activity-stream .wp_ulike_likers_wrapper li a,#buddypress #activity-stream .wp_ulike_likers_wrapper li img{float:none;padding:0;margin:0}.wpulike-heart .wp_ulike_general_class{box-shadow:0 0 0 1px #bdbdbd inset;border-radius:.25em;padding:5px}.wpulike-heart .wp_ulike_put_text{padding:0 5px;text-transform:uppercase;font-weight:600;color:#757575}.wpulike-heart .wp_ulike_btn{background:0 0}.wpulike-heart .wp_ulike_btn:focus,.wpulike-heart .wp_ulike_btn:hover{color:#757575;background-color:transparent;text-decoration:none}.wpulike-heart .wp_ulike_put_image{background:0 0;padding:15px}.wpulike-heart .wp_ulike_put_image:disabled:active,.wpulike-heart .wp_ulike_put_image:disabled:focus,.wpulike-heart .wp_ulike_put_image:disabled:hover,.wpulike-heart .wp_ulike_put_image[disabled=disabled]:active,.wpulike-heart .wp_ulike_put_image[disabled=disabled]:focus,.wpulike-heart .wp_ulike_put_image[disabled=disabled]:hover{padding:15px}.wpulike-heart .wp_ulike_put_image:after{content:'';display:block;background:url(../img/svg/love.svg) no-repeat;background-size:contain;width:20px;height:20px;position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(-50%)}.wpulike-heart .wp_ulike_put_image.wp_ulike_btn_is_active:after{filter:invert(44%) sepia(40%) saturate(3852%) hue-rotate(329deg) brightness(100%) contrast(111%)}.wpulike-heart .count-box{font-size:14px;text-decoration:none;line-height:28px;display:inline-block;color:#616161;text-align:center;font-weight:600;vertical-align:middle;padding:0 5px}#buddypress #activity-stream .wpulike-heart .wp_ulike_btn{background:0 0;border:0;font-size:initial;padding:initial}#buddypress #activity-stream .wpulike-heart .wp_ulike_put_image{padding:10px 15px}#buddypress #activity-stream .wpulike-heart .wp_ulike_general_class{border-radius:0;padding:.2em .5em;margin-bottom:0}#buddypress #activity-stream .acomment-options,#buddypress #activity-stream .activity-meta{display:flex;align-items:center}.wpulike-robeen .count-box{font-weight:600;padding:0 14px;font-size:16px}.wpulike-robeen .wp_ulike_is_loading .wp_ulike_btn{background-image:initial;padding:0}.wpulike-robeen .wp_ulike_is_loading .wp_ulike_btn.wp_ulike_put_image:after{content:''}.wpulike-robeen .wp_ulike_btn{width:30px;height:30px;overflow:hidden;padding:0;border:0;background:0 0}.wpulike-robeen .wp_ulike_btn:focus,.wpulike-robeen .wp_ulike_btn:hover{background-color:transparent}.wpulike-robeen .wp_ulike_btn:after{content:'';background:url(../img/icons/twitter-heart.png) no-repeat;background-position:0 0;transition:background-position 1s steps(28);transition-duration:0s;width:100px;height:100px;position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(-50%)}.wpulike-robeen .wp_ulike_btn.wp_ulike_btn_is_active{overflow:visible}.wpulike-robeen .wp_ulike_btn.wp_ulike_btn_is_active:after{transition-duration:1s;background-position:-2800px 0}#buddypress #activity-stream .activity-comments .wpulike-robeen .wp_ulike_btn,#buddypress #activity-stream .activity-inner .wpulike-robeen .wp_ulike_btn,#buddypress #activity-stream .activity-meta .wpulike-robeen .wp_ulike_btn{background:0 0;border:0;width:30px;height:30px;border:0;padding:0}.wpulike-animated-heart .wp_ulike_is_loading .wp_ulike_btn{background-image:none}.wpulike-animated-heart .wp_ulike_btn{position:relative;border-radius:50em;background-color:#fff;padding:0;box-shadow:0 5px 30px rgba(255,111,99,.4);border:0;width:50px;height:50px}.wpulike-animated-heart .wp_ulike_btn:focus,.wpulike-animated-heart .wp_ulike_btn:hover{background-color:#fff;background-image:none}.wpulike-animated-heart .wp_ulike_btn:disabled:active,.wpulike-animated-heart .wp_ulike_btn:disabled:focus,.wpulike-animated-heart .wp_ulike_btn:disabled:hover,.wpulike-animated-heart .wp_ulike_btn[disabled=disabled]:active,.wpulike-animated-heart .wp_ulike_btn[disabled=disabled]:focus,.wpulike-animated-heart .wp_ulike_btn[disabled=disabled]:hover{background-color:#fff}.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active{background-color:#ff6f63}.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active:disabled:active,.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active:disabled:focus,.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active:disabled:hover,.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active[disabled=disabled]:active,.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active[disabled=disabled]:focus,.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active[disabled=disabled]:hover{background-color:#ff6f63}.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active .wpulike-svg-heart{fill:#ffffff}.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active .wpulike-svg-heart-pop{animation-direction:normal}.wpulike-animated-heart .wp_ulike_btn:active{box-shadow:0 0 4px 0 rgba(0,0,0,.25)}.wpulike-animated-heart .wpulike-svg-heart{width:20px;fill:#ff6f63;transition:fill .5s,transform .5s;pointer-events:none;position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(-50%)}.wpulike-animated-heart .wpulike-svg-heart-pop{position:absolute;width:30%;fill:#ff6f63;opacity:0;left:0;animation:popHearts 1s ease forwards reverse}.wpulike-animated-heart .wpulike-svg-heart-pop.one{left:1%;transform:rotate(-10deg);animation-delay:.45s}.wpulike-animated-heart .wpulike-svg-heart-pop.two{left:15%;transform:rotate(8deg);animation-delay:.25s}.wpulike-animated-heart .wpulike-svg-heart-pop.three{left:30%;transform:rotate(-5deg);animation-delay:0s}.wpulike-animated-heart .wpulike-svg-heart-pop.four{left:50%;transform:rotate(-8deg);animation-delay:.3s}.wpulike-animated-heart .wpulike-svg-heart-pop.five{left:60%;transform:rotate(-10deg);animation-delay:.9s}.wpulike-animated-heart .wpulike-svg-heart-pop.six{left:70%;transform:rotate(-8deg);animation-delay:.2s}.wpulike-animated-heart .wpulike-svg-heart-pop.seven{left:85%;transform:rotate(6deg);animation-delay:.35s}.wpulike-animated-heart .wpulike-svg-heart-pop.eight{left:90%;transform:rotate(-4deg);animation-delay:.5s}.wpulike-animated-heart .wpulike-svg-heart-pop.nine{left:95%;transform:rotate(8deg);animation-delay:.2s}.wpulike-animated-heart .count-box{margin:0 15px;color:#ff6f63;display:inline-block;vertical-align:middle}#buddypress #activity-stream .wpulike-animated-heart .wp_ulike_btn{background:inherit;border:0;width:40px;height:40px}#buddypress #activity-stream .wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active{background-color:#ff6f63}@keyframes popHearts{0%{left:calc(50% - 7px);top:10px}20%{opacity:1}80%{top:-20px}100%{opacity:0}}.wp_ulike_likers_wrapper{margin:10px 0;flex:0 0 100%}.wp_ulike_likers_wrapper:empty{display:none}.wp_ulike_likers_wrapper .tiles,.wp_ulike_likers_wrapper .wp-ulike-likers-list{display:flex;align-items:center;flex-wrap:wrap;margin:0;padding:0}.wp_ulike_likers_wrapper .tiles .wp-ulike-liker,.wp_ulike_likers_wrapper .tiles li,.wp_ulike_likers_wrapper .wp-ulike-likers-list .wp-ulike-liker,.wp_ulike_likers_wrapper .wp-ulike-likers-list li{padding:3px;margin:0;list-style:none;display:block}.wp_ulike_likers_wrapper .tiles .wp-ulike-liker a>img,.wp_ulike_likers_wrapper .tiles li a>img,.wp_ulike_likers_wrapper .wp-ulike-likers-list .wp-ulike-liker a>img,.wp_ulike_likers_wrapper .wp-ulike-likers-list li a>img{border-radius:5px;display:block;border:0;box-shadow:none;position:relative}.ulf-tooltip .wp_ulike_likers_wrapper{margin:0}.most_liked_users{list-style-type:none!important;position:relative!important;margin:10px 0!important;padding:0!important}.most_liked_users li{display:inline-table!important;cursor:pointer!important;margin:0 2px!important}.most_liked_users li img{display:block!important;float:none!important}.most_liked_users li.inactive{visibility:hidden!important;opacity:0!important}.commentlist .tiles .avatar,.commentlist .wp-ulike-liker .avatar{left:0!important}.wp_ulike_thumbnail{vertical-align:middle;margin:0 10px 0 0}.most_liked_comment .avatar{vertical-align:middle;margin:0 10px 0 0}.wp_ulike_style_simple .wp_counter_span:before{content:"("}.wp_ulike_style_simple .wp_counter_span:after{content:")"}.wp_ulike_style_love .wp_counter_span{float:right;display:inline-block;background:#f1f1f1 url(../img/icons/heart.png) 5px center no-repeat;color:#333;font-size:9px;line-height:17px;font-weight:400;margin:2px 0 0 2px;vertical-align:middle;border-radius:10px;padding:0 5px 0 23px;z-index:26}.wpulike-notification{position:fixed;z-index:999999;pointer-events:none;right:20px;bottom:20px}.wpulike-notification *{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.wpulike-notification .wpulike-message{position:relative;pointer-events:auto;word-wrap:break-word;overflow:hidden;margin:0 0 6px;padding:14px 15px 14px 65px;width:290px;border-radius:3px;background-color:#007bc3;color:#fff;animation:wpUlikeNotifitcationsAnimation .2s backwards;box-shadow:0 3px 5px rgba(0,0,0,.08);font-size:14px;font-weight:500}.wpulike-notification .wpulike-message:hover{opacity:.9;cursor:pointer}.wpulike-notification .wpulike-message:before{content:"";background-position:center center;background-repeat:no-repeat;background-image:url(../img/svg/info.svg);background-size:25px;position:absolute;left:0;width:50px;top:0;height:100%;background-color:rgba(0,0,0,.06)}.wpulike-notification .wpulike-message.wpulike-success{background-color:#20a779}.wpulike-notification .wpulike-message.wpulike-success:before{background-image:url(../img/svg/success.svg)}.wpulike-notification .wpulike-message.wpulike-error{background-color:#ec4d2c}.wpulike-notification .wpulike-message.wpulike-error:before{background-image:url(../img/svg/error.svg)}.wpulike-notification .wpulike-message.wpulike-warning{background-color:#f0a82f}.wpulike-notification .wpulike-message.wpulike-warning:before{background-image:url(../img/svg/warning.svg)}@keyframes wpUlikeNotifitcationsAnimation{from{opacity:0;transform:translateY(100%)}to{opacity:.8;transform:translateY(0)}}@media screen and (max-width:768px){.wpulike-notification .wpulike-message{padding:11px 11px 11px 55px;font-size:13px}.wpulike-notification .wpulike-message:before{background-size:25px;width:45px}}@media screen and (max-width:320px){.wpulike-notification{left:10px;right:10px}.wpulike-notification .wpulike-message{padding:9px 9px 9px 45px;font-size:12px;width:100%}.wpulike-notification .wpulike-message:before{background-size:15px;width:35px}}.ulf-tooltip{max-width:360px;position:absolute;z-index:999999;background:#444;border-radius:5px;padding:10px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;top:0;left:0}.ulf-centered{position:fixed;top:50%;left:50%}.ulf-content{margin:5px 20px 5px 10px;font-size:1em;line-height:1.6em;text-align:center;color:#fff;font-weight:800}.ulf-arrow{border:15px solid rgba(232,232,232,0);content:" ";height:0;width:0;position:absolute;pointer-events:none;margin-left:-15px}.ulf-arrow-top{border-bottom-color:#444;bottom:100%;left:50%;top:auto;right:auto}.ulf-arrow-bottom{border-top-color:#444;top:100%;left:50%;bottom:auto;right:auto}.ulf-arrow-left{border-right-color:#444;border-width:15px;left:-14px;right:auto;bottom:auto;top:50%;margin-top:-15px}.ulf-arrow-right{border-left-color:#444;right:-29px;left:auto;bottom:auto;border-width:15px;top:50%;margin-top:-15px}.ulf-arrow-hug-left{left:30px;right:auto}.ulf-arrow-hug-right{right:30px;left:auto}.ulf-arrow-hug-left.ulf-arrow-super-hug{left:15px;right:auto}.ulf-arrow-hug-right.ulf-arrow-super-hug{right:1px;left:auto}.ulf-arrow-top.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-arrow-top.ulf-arrow-hug-right.ulf-arrow-super-hug{top:-30px}.ulf-arrow-bottom.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-arrow-bottom.ulf-arrow-hug-right.ulf-arrow-super-hug{top:auto;bottom:-30px}.ulf-tiny .ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-tiny .ulf-arrow-hug-right.ulf-arrow-super-hug{bottom:-21px}.ulf-black-theme .ulf-arrow-top.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-black-theme .ulf-arrow-top.ulf-arrow-hug-right.ulf-arrow-super-hug{top:-27px}.ulf-black-theme .ulf-arrow-bottom.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-black-theme .ulf-arrow-bottom.ulf-arrow-hug-right.ulf-arrow-super-hug{bottom:-28px}.ulf-white-theme{background:#fff;border:2px solid #e4e4e4}.ulf-white-theme .ulf-content{color:#333}.ulf-white-theme .ulf-arrow-top{border-bottom-color:#e4e4e4}.ulf-white-theme .ulf-arrow-bottom{border-top-color:#e4e4e4}.ulf-white-theme .ulf-arrow-left{border-right-color:#e4e4e4}.ulf-white-theme .ulf-arrow-right{border-left-color:#e4e4e4}.ulf-large{font-size:18px}.ulf-medium{font-size:14px}.ulf-small{font-size:12px;padding:5px}.ulf-small .ulf-content{margin:2px 8px;line-height:1.9em}.ulf-tiny{padding:2px 5px;font-size:10px}.ulf-tiny .ulf-content{margin:3px}.ulf-tiny .ulf-button{margin:0 3px}.ulf-tiny .ulf-arrow{border-width:10px;margin-left:-10px}.ulf-tiny .ulf-arrow-left{left:-10px;margin-top:-10px}.ulf-tiny .ulf-arrow-right{right:-20px;margin-top:-10px}.ulf-tiny .ulf-arrow-bottom.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-tiny .ulf-arrow-top.ulf-arrow-hug-left.ulf-arrow-super-hug{left:11px}.ulf-tiny .ulf-arrow-bottom.ulf-arrow-hug-right.ulf-arrow-super-hug,.ulf-tiny .ulf-arrow-top.ulf-arrow-hug-right.ulf-arrow-super-hug{right:1px}.ulf-tiny.ulf-white-theme .ulf-arrow-top.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-tiny.ulf-white-theme .ulf-arrow-top.ulf-arrow-hug-right.ulf-arrow-super-hug{top:-18px}.ulf-tiny.ulf-white-theme .ulf-arrow-bottom.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-tiny.ulf-white-theme .ulf-arrow-bottom.ulf-arrow-hug-right.ulf-arrow-super-hug{bottom:-21px}.ulf-tiny.ulf-black-theme .ulf-arrow-bottom.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-tiny.ulf-black-theme .ulf-arrow-bottom.ulf-arrow-hug-right.ulf-arrow-super-hug{bottom:-18px}/*!>>>>>>>>>>>>>>>>>>>>>>> #RTL <<<<<<<<<<<<<<<<<<<<<<<<<<< */.rtl .wpulike-default .count-box{margin-right:8px;margin-left:inherit}.rtl .wpulike-default .count-box:before{right:-1px;left:auto;border-color:#bdbdbd #bdbdbd transparent transparent}.rtl .commentlist .tiles .avatar{left:inherit!important;right:0!important}.rtl .wp_ulike_thumbnail{margin:0 0 0 10px}.rtl .most_liked_comment .avatar{margin:0 0 0 10px}.rtl .wp_ulike_style_love .wp_counter_span{float:left;background:#f1f1f1 url(../img/icons/heart.png) no-repeat scroll 85% center;margin:2px 2px 0 0;padding:0 23px 0 5px}.rtl .wpulike-notification{left:20px;right:inherit}.rtl .wpulike-notification .wpulike-message{padding:14px 65px 14px 15px}.rtl .wpulike-notification .wpulike-message:before{left:auto;right:0}@media screen and (max-width:768px){.rtl .wpulike-notification .wpulike-message{padding:11px 55px 11px 11px}}@media screen and (max-width:320px){.rtl .wpulike-notification{left:10px;right:10px}.rtl .wpulike-notification .wpulike-message{padding:9px 45px 9px 9px}}
|
3 |
* WP ULike
|
4 |
* @author Alimir [https://wordpress.org/plugins/wp-ulike/]
|
5 |
===============================================================
|
6 |
+
*/.wpulike{display:block;position:relative;line-height:normal;margin:0;padding:10px 0}.wpulike .wp_ulike_btn{margin:0;position:relative;display:inline-block;vertical-align:middle;border-radius:.25em;box-shadow:none;padding:15px 25px;border:none;text-align:center;transition-property:none;cursor:pointer}.wpulike .wp_ulike_btn:active,.wpulike .wp_ulike_btn:focus,.wpulike .wp_ulike_btn:hover{outline:0}.wpulike .wp_ulike_btn::-moz-focus-inner{border:0}.wpulike .wp_ulike_btn:disabled:active,.wpulike .wp_ulike_btn:disabled:focus,.wpulike .wp_ulike_btn:disabled:hover,.wpulike .wp_ulike_btn[disabled=disabled]:active,.wpulike .wp_ulike_btn[disabled=disabled]:focus,.wpulike .wp_ulike_btn[disabled=disabled]:hover{outline:0;background-color:initial}.wpulike .wp_ulike_put_text{font-size:14px;font-weight:600;line-height:28px;padding:0 10px;min-width:50px}.wpulike .wp_ulike_general_class{display:inline-flex;align-items:center}.wpulike .wp_ulike_is_loading .wp_ulike_btn{background-image:url(../img/svg/loader.svg);background-repeat:no-repeat;background-position:center center}.wpulike .wp_ulike_is_loading .wp_ulike_btn span{visibility:hidden}.wpulike .wp_ulike_is_loading .wp_ulike_btn.wp_ulike_put_image:after{content:none}.wpulike.wpulike-hide-counter .count-box{display:none}.wpulike .count-box:empty{display:none}.wp_ulike_click_is_disabled{pointer-events:none;cursor:default}.wp_ulike_hide_me{visibility:hidden}.wpulike-default .wp_ulike_btn{color:#616161;background-color:#e0e0e0;min-height:30px;min-width:50px}.wpulike-default .wp_ulike_btn:focus,.wpulike-default .wp_ulike_btn:hover{color:#616161;background-color:#e0e0e0;text-decoration:none}.wpulike-default .wp_ulike_btn:disabled:active,.wpulike-default .wp_ulike_btn:disabled:focus,.wpulike-default .wp_ulike_btn:disabled:hover,.wpulike-default .wp_ulike_btn[disabled=disabled]:active,.wpulike-default .wp_ulike_btn[disabled=disabled]:focus,.wpulike-default .wp_ulike_btn[disabled=disabled]:hover{background-color:#e0e0e0}.wpulike-default .wp_ulike_is_liked .wp_ulike_btn{color:#757575}.wpulike-default .wp_ulike_put_image:after{content:'';display:block;background:url(../img/svg/like.svg) no-repeat;background-size:contain;width:16px;height:16px;position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(-50%)}.wpulike-default .wp_ulike_put_image.wp_ulike_btn_is_active:after{filter:invert(44%) sepia(40%) saturate(3852%) hue-rotate(329deg) brightness(100%) contrast(111%)}.wpulike-default .count-box{position:relative;border-radius:.25em;font-size:12px;text-decoration:none;background-color:#fff;margin-left:8px;line-height:28px;display:inline-block;padding:0 10px;box-shadow:0 0 0 1px #bdbdbd inset;color:#616161;vertical-align:middle;text-align:center}.wpulike-default .count-box:before{content:'';position:absolute;border:1px solid transparent;background:#fff;border-bottom-color:#bdbdbd;left:-5px;top:50%;border-left-color:#bdbdbd;transform:rotate(45deg) translatey(-50%);width:5px;height:5px;margin:0}#buddypress #activity-stream .activity-comments .wpulike,#buddypress #activity-stream .activity-meta .wpulike{display:flex;align-items:center;padding:0}#buddypress #activity-stream .activity-comments .wpulike-default .wp_ulike_btn,#buddypress #activity-stream .activity-meta .wpulike-default .wp_ulike_btn{border-radius:0;background-color:#fff;box-shadow:0 0 0 1px #bdbdbd inset;font-size:initial;padding:initial}#buddypress #activity-stream .wp_ulike_likers_wrapper .wp-ulike-liker,#buddypress #activity-stream .wp_ulike_likers_wrapper li{border:none;padding:0}#buddypress #activity-stream .wp_ulike_likers_wrapper .wp-ulike-liker a,#buddypress #activity-stream .wp_ulike_likers_wrapper .wp-ulike-liker img,#buddypress #activity-stream .wp_ulike_likers_wrapper li a,#buddypress #activity-stream .wp_ulike_likers_wrapper li img{float:none;padding:0;margin:0}.wpulike-heart .wp_ulike_general_class{box-shadow:0 0 0 1px #bdbdbd inset;border-radius:.25em;padding:5px}.wpulike-heart .wp_ulike_put_text{padding:0 5px;text-transform:uppercase;font-weight:600;color:#757575}.wpulike-heart .wp_ulike_btn{background:0 0}.wpulike-heart .wp_ulike_btn:focus,.wpulike-heart .wp_ulike_btn:hover{color:#757575;background-color:transparent;text-decoration:none}.wpulike-heart .wp_ulike_put_image{background:0 0;padding:15px}.wpulike-heart .wp_ulike_put_image:disabled:active,.wpulike-heart .wp_ulike_put_image:disabled:focus,.wpulike-heart .wp_ulike_put_image:disabled:hover,.wpulike-heart .wp_ulike_put_image[disabled=disabled]:active,.wpulike-heart .wp_ulike_put_image[disabled=disabled]:focus,.wpulike-heart .wp_ulike_put_image[disabled=disabled]:hover{padding:15px}.wpulike-heart .wp_ulike_put_image:after{content:'';display:block;background:url(../img/svg/love.svg) no-repeat;background-size:contain;width:20px;height:20px;position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(-50%)}.wpulike-heart .wp_ulike_put_image.wp_ulike_btn_is_active:after{filter:invert(44%) sepia(40%) saturate(3852%) hue-rotate(329deg) brightness(100%) contrast(111%)}.wpulike-heart .count-box{font-size:14px;text-decoration:none;line-height:28px;display:inline-block;color:#616161;text-align:center;font-weight:600;vertical-align:middle;padding:0 5px}#buddypress #activity-stream .wpulike-heart .wp_ulike_btn{background:0 0;border:0;font-size:initial;padding:initial}#buddypress #activity-stream .wpulike-heart .wp_ulike_put_image{padding:10px 15px}#buddypress #activity-stream .wpulike-heart .wp_ulike_general_class{border-radius:0;padding:.2em .5em;margin-bottom:0}#buddypress #activity-stream .acomment-options,#buddypress #activity-stream .activity-meta{display:flex;align-items:center}.wpulike-robeen .count-box{font-weight:600;padding:0 14px;font-size:16px}.wpulike-robeen .wp_ulike_is_loading .wp_ulike_btn{background-image:initial;padding:0}.wpulike-robeen .wp_ulike_is_loading .wp_ulike_btn.wp_ulike_put_image:after{content:''}.wpulike-robeen .wp_ulike_btn{width:30px;height:30px;overflow:hidden;padding:0;border:0;background:0 0}.wpulike-robeen .wp_ulike_btn:focus,.wpulike-robeen .wp_ulike_btn:hover{background-color:transparent}.wpulike-robeen .wp_ulike_btn:after{content:'';background:url(../img/icons/twitter-heart.png) no-repeat;background-position:0 0;transition:background-position 1s steps(28);transition-duration:0s;width:100px;height:100px;position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(-50%)}.wpulike-robeen .wp_ulike_btn.wp_ulike_btn_is_active{overflow:visible}.wpulike-robeen .wp_ulike_btn.wp_ulike_btn_is_active:after{transition-duration:1s;background-position:-2800px 0}#buddypress #activity-stream .activity-comments .wpulike-robeen .wp_ulike_btn,#buddypress #activity-stream .activity-inner .wpulike-robeen .wp_ulike_btn,#buddypress #activity-stream .activity-meta .wpulike-robeen .wp_ulike_btn{background:0 0;border:0;width:30px;height:30px;border:0;padding:0}.wpulike-animated-heart .wp_ulike_is_loading .wp_ulike_btn{background-image:none}.wpulike-animated-heart .wp_ulike_btn{position:relative;border-radius:50em;background-color:#fff;padding:0;box-shadow:0 5px 30px rgba(255,111,99,.4);border:0;width:50px;height:50px}.wpulike-animated-heart .wp_ulike_btn:focus,.wpulike-animated-heart .wp_ulike_btn:hover{background-color:#fff;background-image:none}.wpulike-animated-heart .wp_ulike_btn:disabled:active,.wpulike-animated-heart .wp_ulike_btn:disabled:focus,.wpulike-animated-heart .wp_ulike_btn:disabled:hover,.wpulike-animated-heart .wp_ulike_btn[disabled=disabled]:active,.wpulike-animated-heart .wp_ulike_btn[disabled=disabled]:focus,.wpulike-animated-heart .wp_ulike_btn[disabled=disabled]:hover{background-color:#fff}.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active{background-color:#ff6f63}.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active:disabled:active,.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active:disabled:focus,.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active:disabled:hover,.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active[disabled=disabled]:active,.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active[disabled=disabled]:focus,.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active[disabled=disabled]:hover{background-color:#ff6f63}.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active .wpulike-svg-heart{fill:#ffffff}.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active .wpulike-svg-heart-pop{animation-direction:normal}.wpulike-animated-heart .wp_ulike_btn:active{box-shadow:0 0 4px 0 rgba(0,0,0,.25)}.wpulike-animated-heart .wpulike-svg-heart{width:20px;fill:#ff6f63;transition:fill .5s,transform .5s;pointer-events:none;position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(-50%)}.wpulike-animated-heart .wpulike-svg-heart-pop{position:absolute;width:30%;fill:#ff6f63;opacity:0;left:0;animation:popHearts 1s ease forwards reverse}.wpulike-animated-heart .wpulike-svg-heart-pop.one{left:1%;transform:rotate(-10deg);animation-delay:.45s}.wpulike-animated-heart .wpulike-svg-heart-pop.two{left:15%;transform:rotate(8deg);animation-delay:.25s}.wpulike-animated-heart .wpulike-svg-heart-pop.three{left:30%;transform:rotate(-5deg);animation-delay:0s}.wpulike-animated-heart .wpulike-svg-heart-pop.four{left:50%;transform:rotate(-8deg);animation-delay:.3s}.wpulike-animated-heart .wpulike-svg-heart-pop.five{left:60%;transform:rotate(-10deg);animation-delay:.9s}.wpulike-animated-heart .wpulike-svg-heart-pop.six{left:70%;transform:rotate(-8deg);animation-delay:.2s}.wpulike-animated-heart .wpulike-svg-heart-pop.seven{left:85%;transform:rotate(6deg);animation-delay:.35s}.wpulike-animated-heart .wpulike-svg-heart-pop.eight{left:90%;transform:rotate(-4deg);animation-delay:.5s}.wpulike-animated-heart .wpulike-svg-heart-pop.nine{left:95%;transform:rotate(8deg);animation-delay:.2s}.wpulike-animated-heart .count-box{margin:0 15px;color:#ff6f63;display:inline-block;vertical-align:middle}#buddypress #activity-stream .wpulike-animated-heart .wp_ulike_btn{background:inherit;border:0;width:40px;height:40px}#buddypress #activity-stream .wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active{background-color:#ff6f63}@keyframes popHearts{0%{left:calc(50% - 7px);top:10px}20%{opacity:1}80%{top:-20px}100%{opacity:0}}.wp_ulike_likers_wrapper{margin:10px 0;flex:0 0 100%}.wp_ulike_likers_wrapper:empty{display:none}.wp_ulike_likers_wrapper .tiles,.wp_ulike_likers_wrapper .wp-ulike-likers-list{display:flex;align-items:center;flex-wrap:wrap;margin:0;padding:0}.wp_ulike_likers_wrapper .tiles .wp-ulike-liker,.wp_ulike_likers_wrapper .tiles li,.wp_ulike_likers_wrapper .wp-ulike-likers-list .wp-ulike-liker,.wp_ulike_likers_wrapper .wp-ulike-likers-list li{padding:3px;margin:0;list-style:none;display:block}.wp_ulike_likers_wrapper .tiles .wp-ulike-liker a>img,.wp_ulike_likers_wrapper .tiles li a>img,.wp_ulike_likers_wrapper .wp-ulike-likers-list .wp-ulike-liker a>img,.wp_ulike_likers_wrapper .wp-ulike-likers-list li a>img{border-radius:5px;display:block;border:0;box-shadow:none;position:relative}.ulf-tooltip .wp_ulike_likers_wrapper{margin:0}.most_liked_users{list-style-type:none!important;position:relative!important;margin:10px 0!important;padding:0!important}.most_liked_users li{display:inline-table!important;cursor:pointer!important;margin:0 2px!important}.most_liked_users li img{display:block!important;float:none!important}.most_liked_users li.inactive{visibility:hidden!important;opacity:0!important}.commentlist .tiles .avatar,.commentlist .wp-ulike-liker .avatar{left:0!important}.wp_ulike_thumbnail{vertical-align:middle;margin:0 10px 0 0}.most_liked_comment .avatar{vertical-align:middle;margin:0 10px 0 0}.wp_ulike_style_simple .wp_counter_span:before{content:"("}.wp_ulike_style_simple .wp_counter_span:after{content:")"}.wp_ulike_style_love .wp_counter_span{float:right;display:inline-block;background:#f1f1f1 url(../img/icons/heart.png) 5px center no-repeat;color:#333;font-size:9px;line-height:17px;font-weight:400;margin:2px 0 0 2px;vertical-align:middle;border-radius:10px;padding:0 5px 0 23px;z-index:26}.wpulike-notification{position:fixed;z-index:999999;pointer-events:none;right:20px;bottom:20px}.wpulike-notification *{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.wpulike-notification .wpulike-message{position:relative;pointer-events:auto;word-wrap:break-word;overflow:hidden;margin:0 0 6px;padding:14px 15px 14px 65px;width:290px;border-radius:3px;background-color:#007bc3;color:#fff;animation:wpUlikeNotifitcationsAnimation .2s backwards;box-shadow:0 3px 5px rgba(0,0,0,.08);font-size:.9rem;font-weight:500;line-height:normal}.wpulike-notification .wpulike-message:hover{opacity:.9;cursor:pointer}.wpulike-notification .wpulike-message:before{content:"";background-position:center center;background-repeat:no-repeat;background-image:url(../img/svg/info.svg);background-size:25px;position:absolute;left:0;width:50px;top:0;height:100%;background-color:rgba(0,0,0,.06)}.wpulike-notification .wpulike-message.wpulike-success{background-color:#20a779}.wpulike-notification .wpulike-message.wpulike-success:before{background-image:url(../img/svg/success.svg)}.wpulike-notification .wpulike-message.wpulike-error{background-color:#ec4d2c}.wpulike-notification .wpulike-message.wpulike-error:before{background-image:url(../img/svg/error.svg)}.wpulike-notification .wpulike-message.wpulike-warning{background-color:#f0a82f}.wpulike-notification .wpulike-message.wpulike-warning:before{background-image:url(../img/svg/warning.svg)}@keyframes wpUlikeNotifitcationsAnimation{from{opacity:0;transform:translateY(100%)}to{opacity:.8;transform:translateY(0)}}@media screen and (max-width:768px){.wpulike-notification .wpulike-message{padding:11px 11px 11px 55px;font-size:13px}.wpulike-notification .wpulike-message:before{background-size:25px;width:45px}}@media screen and (max-width:320px){.wpulike-notification{left:10px;right:10px}.wpulike-notification .wpulike-message{padding:9px 9px 9px 45px;font-size:12px;width:100%}.wpulike-notification .wpulike-message:before{background-size:15px;width:35px}}.ulf-tooltip{max-width:360px;position:absolute;z-index:999999;background:#444;border-radius:5px;padding:10px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;top:0;left:0}.ulf-centered{position:fixed;top:50%;left:50%}.ulf-content{margin:5px 20px 5px 10px;font-size:1em;line-height:1.6em;text-align:center;color:#fff;font-weight:800}.ulf-arrow{border:15px solid rgba(232,232,232,0);content:" ";height:0;width:0;position:absolute;pointer-events:none;margin-left:-15px}.ulf-arrow-top{border-bottom-color:#444;bottom:100%;left:50%;top:auto;right:auto}.ulf-arrow-bottom{border-top-color:#444;top:100%;left:50%;bottom:auto;right:auto}.ulf-arrow-left{border-right-color:#444;border-width:15px;left:-14px;right:auto;bottom:auto;top:50%;margin-top:-15px}.ulf-arrow-right{border-left-color:#444;right:-29px;left:auto;bottom:auto;border-width:15px;top:50%;margin-top:-15px}.ulf-arrow-hug-left{left:30px;right:auto}.ulf-arrow-hug-right{right:30px;left:auto}.ulf-arrow-hug-left.ulf-arrow-super-hug{left:15px;right:auto}.ulf-arrow-hug-right.ulf-arrow-super-hug{right:1px;left:auto}.ulf-arrow-top.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-arrow-top.ulf-arrow-hug-right.ulf-arrow-super-hug{top:-30px}.ulf-arrow-bottom.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-arrow-bottom.ulf-arrow-hug-right.ulf-arrow-super-hug{top:auto;bottom:-30px}.ulf-tiny .ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-tiny .ulf-arrow-hug-right.ulf-arrow-super-hug{bottom:-21px}.ulf-black-theme .ulf-arrow-top.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-black-theme .ulf-arrow-top.ulf-arrow-hug-right.ulf-arrow-super-hug{top:-27px}.ulf-black-theme .ulf-arrow-bottom.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-black-theme .ulf-arrow-bottom.ulf-arrow-hug-right.ulf-arrow-super-hug{bottom:-28px}.ulf-white-theme{background:#fff;border:2px solid #e4e4e4}.ulf-white-theme .ulf-content{color:#333}.ulf-white-theme .ulf-arrow-top{border-bottom-color:#e4e4e4}.ulf-white-theme .ulf-arrow-bottom{border-top-color:#e4e4e4}.ulf-white-theme .ulf-arrow-left{border-right-color:#e4e4e4}.ulf-white-theme .ulf-arrow-right{border-left-color:#e4e4e4}.ulf-large{font-size:18px}.ulf-medium{font-size:14px}.ulf-small{font-size:12px;padding:5px}.ulf-small .ulf-content{margin:2px 8px;line-height:1.9em}.ulf-tiny{padding:2px 5px;font-size:10px}.ulf-tiny .ulf-content{margin:3px}.ulf-tiny .ulf-button{margin:0 3px}.ulf-tiny .ulf-arrow{border-width:10px;margin-left:-10px}.ulf-tiny .ulf-arrow-left{left:-10px;margin-top:-10px}.ulf-tiny .ulf-arrow-right{right:-20px;margin-top:-10px}.ulf-tiny .ulf-arrow-bottom.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-tiny .ulf-arrow-top.ulf-arrow-hug-left.ulf-arrow-super-hug{left:11px}.ulf-tiny .ulf-arrow-bottom.ulf-arrow-hug-right.ulf-arrow-super-hug,.ulf-tiny .ulf-arrow-top.ulf-arrow-hug-right.ulf-arrow-super-hug{right:1px}.ulf-tiny.ulf-white-theme .ulf-arrow-top.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-tiny.ulf-white-theme .ulf-arrow-top.ulf-arrow-hug-right.ulf-arrow-super-hug{top:-18px}.ulf-tiny.ulf-white-theme .ulf-arrow-bottom.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-tiny.ulf-white-theme .ulf-arrow-bottom.ulf-arrow-hug-right.ulf-arrow-super-hug{bottom:-21px}.ulf-tiny.ulf-black-theme .ulf-arrow-bottom.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-tiny.ulf-black-theme .ulf-arrow-bottom.ulf-arrow-hug-right.ulf-arrow-super-hug{bottom:-18px}/*!>>>>>>>>>>>>>>>>>>>>>>> #RTL <<<<<<<<<<<<<<<<<<<<<<<<<<< */.rtl .wpulike-default .count-box{margin-right:8px;margin-left:inherit}.rtl .wpulike-default .count-box:before{right:-1px;left:auto;border-color:#bdbdbd #bdbdbd transparent transparent}.rtl .commentlist .tiles .avatar{left:inherit!important;right:0!important}.rtl .wp_ulike_thumbnail{margin:0 0 0 10px}.rtl .most_liked_comment .avatar{margin:0 0 0 10px}.rtl .wp_ulike_style_love .wp_counter_span{float:left;background:#f1f1f1 url(../img/icons/heart.png) no-repeat scroll 85% center;margin:2px 2px 0 0;padding:0 23px 0 5px}.rtl .wpulike-notification{left:20px;right:inherit}.rtl .wpulike-notification .wpulike-message{padding:14px 65px 14px 15px}.rtl .wpulike-notification .wpulike-message:before{left:auto;right:0}@media screen and (max-width:768px){.rtl .wpulike-notification .wpulike-message{padding:11px 55px 11px 11px}}@media screen and (max-width:320px){.rtl .wpulike-notification{left:10px;right:10px}.rtl .wpulike-notification .wpulike-message{padding:9px 45px 9px 9px}}
|
assets/js/wp-ulike.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! WP ULike - v4.
|
2 |
* https://wpulike.com
|
3 |
* TechnoWich 2022;
|
4 |
*/
|
1 |
+
/*! WP ULike - v4.6.0
|
2 |
* https://wpulike.com
|
3 |
* TechnoWich 2022;
|
4 |
*/
|
assets/js/wp-ulike.min.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! WP ULike - v4.
|
2 |
* https://wpulike.com
|
3 |
* TechnoWich 2022;
|
4 |
*/
|
1 |
+
/*! WP ULike - v4.6.0
|
2 |
* https://wpulike.com
|
3 |
* TechnoWich 2022;
|
4 |
*/
|
includes/classes/class-wp-ulike-entities-process.php
CHANGED
@@ -276,7 +276,7 @@ if ( ! class_exists( 'wp_ulike_entities_process' ) ) {
|
|
276 |
}
|
277 |
}
|
278 |
}
|
279 |
-
|
280 |
}
|
281 |
}
|
282 |
|
276 |
}
|
277 |
}
|
278 |
}
|
279 |
+
wp_ulike_setcookie( $cookie_key, json_encode( $cookie_data ), 2147483647 );
|
280 |
}
|
281 |
}
|
282 |
|
includes/functions/utilities.php
CHANGED
@@ -342,4 +342,105 @@ if( ! function_exists('wp_ulike_get_cloudflare_ips') ){
|
|
342 |
}
|
343 |
return $ipAddresses;
|
344 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
345 |
}
|
342 |
}
|
343 |
return $ipAddresses;
|
344 |
}
|
345 |
+
}
|
346 |
+
|
347 |
+
if( ! function_exists('wp_ulike_site_is_https') ){
|
348 |
+
/**
|
349 |
+
* Check if the home URL is https. If it is, we don't need to do things such as 'force ssl'.
|
350 |
+
*
|
351 |
+
* @return bool
|
352 |
+
*/
|
353 |
+
function wp_ulike_site_is_https() {
|
354 |
+
return false !== strstr( get_option( 'home' ), 'https:' );
|
355 |
+
}
|
356 |
+
}
|
357 |
+
|
358 |
+
if( ! function_exists('wp_ulike_setcookie') ){
|
359 |
+
/**
|
360 |
+
* Set a cookie - wrapper for setcookie using WP constants.
|
361 |
+
*
|
362 |
+
* @param string $name Name of the cookie being set.
|
363 |
+
* @param string $value Value of the cookie.
|
364 |
+
* @param integer $expire Expiry of the cookie.
|
365 |
+
* @param bool $secure Whether the cookie should be served only over https.
|
366 |
+
* @param bool $httponly Whether the cookie is only accessible over HTTP, not scripting languages like JavaScript. @since 3.6.0.
|
367 |
+
*/
|
368 |
+
function wp_ulike_setcookie( $name, $value, $expire = 0, $secure = false, $httponly = false ) {
|
369 |
+
if ( ! apply_filters( 'wp_ulike_set_cookie_enabled', true, $name ,$value, $expire, $secure ) ) {
|
370 |
+
return;
|
371 |
+
}
|
372 |
+
if ( ! headers_sent() ) {
|
373 |
+
setcookie( $name, $value, $expire, COOKIEPATH ? COOKIEPATH : '/', COOKIE_DOMAIN, $secure, apply_filters( 'wp_ulike_cookie_httponly', $httponly, $name, $value, $expire, $secure ) );
|
374 |
+
} elseif ( defined('WP_DEBUG') && WP_DEBUG ) {
|
375 |
+
headers_sent( $file, $line );
|
376 |
+
trigger_error( "{$name} cookie cannot be set - headers already sent by {$file} on line {$line}", E_USER_NOTICE ); // @codingStandardsIgnoreLine
|
377 |
+
}
|
378 |
+
}
|
379 |
+
}
|
380 |
+
|
381 |
+
if( ! function_exists('wp_ulike_maybe_define_constant') ){
|
382 |
+
/**
|
383 |
+
* Define a constant if it is not already defined.
|
384 |
+
*
|
385 |
+
* @since 3.0.0
|
386 |
+
* @param string $name Constant name.
|
387 |
+
* @param mixed $value Value.
|
388 |
+
*/
|
389 |
+
function wp_ulike_maybe_define_constant( $name, $value ) {
|
390 |
+
if ( ! defined( $name ) ) {
|
391 |
+
define( $name, $value );
|
392 |
+
}
|
393 |
+
}
|
394 |
+
}
|
395 |
+
|
396 |
+
if( ! function_exists('wp_ulike_string_util_starts_with') ){
|
397 |
+
/**
|
398 |
+
* Checks to see whether or not a string starts with another.
|
399 |
+
*
|
400 |
+
* @param string $string The string we want to check.
|
401 |
+
* @param string $starts_with The string we're looking for at the start of $string.
|
402 |
+
* @param bool $case_sensitive Indicates whether the comparison should be case-sensitive.
|
403 |
+
*
|
404 |
+
* @return bool True if the $string starts with $starts_with, false otherwise.
|
405 |
+
*/
|
406 |
+
function wp_ulike_string_util_starts_with( string $string, string $starts_with, bool $case_sensitive = true ): bool {
|
407 |
+
$len = strlen( $starts_with );
|
408 |
+
if ( $len > strlen( $string ) ) {
|
409 |
+
return false;
|
410 |
+
}
|
411 |
+
|
412 |
+
$string = substr( $string, 0, $len );
|
413 |
+
|
414 |
+
if ( $case_sensitive ) {
|
415 |
+
return strcmp( $string, $starts_with ) === 0;
|
416 |
+
}
|
417 |
+
|
418 |
+
return strcasecmp( $string, $starts_with ) === 0;
|
419 |
+
}
|
420 |
+
}
|
421 |
+
|
422 |
+
if( ! function_exists('wp_ulike_string_util_ends_with') ){
|
423 |
+
/**
|
424 |
+
* Checks to see whether or not a string ends with another.
|
425 |
+
*
|
426 |
+
* @param string $string The string we want to check.
|
427 |
+
* @param string $ends_with The string we're looking for at the end of $string.
|
428 |
+
* @param bool $case_sensitive Indicates whether the comparison should be case-sensitive.
|
429 |
+
*
|
430 |
+
* @return bool True if the $string ends with $ends_with, false otherwise.
|
431 |
+
*/
|
432 |
+
function wp_ulike_string_util_ends_with( string $string, string $ends_with, bool $case_sensitive = true ): bool {
|
433 |
+
$len = strlen( $ends_with );
|
434 |
+
if ( $len > strlen( $string ) ) {
|
435 |
+
return false;
|
436 |
+
}
|
437 |
+
|
438 |
+
$string = substr( $string, -$len );
|
439 |
+
|
440 |
+
if ( $case_sensitive ) {
|
441 |
+
return strcmp( $string, $ends_with ) === 0;
|
442 |
+
}
|
443 |
+
|
444 |
+
return strcasecmp( $string, $ends_with ) === 0;
|
445 |
+
}
|
446 |
}
|
includes/plugin.php
CHANGED
@@ -31,7 +31,7 @@ class WpUlikeInit {
|
|
31 |
*/
|
32 |
private function __construct() {
|
33 |
// init plugin
|
34 |
-
$this->
|
35 |
|
36 |
// This hook is called once any activated plugins have been loaded.
|
37 |
add_action( 'plugins_loaded', array( $this, 'plugins_loaded' ) );
|
@@ -39,10 +39,20 @@ class WpUlikeInit {
|
|
39 |
// Activate plugin when new blog is added
|
40 |
add_action( 'activated_plugin', array( $this, 'after_activation' ) );
|
41 |
|
|
|
|
|
|
|
42 |
$prefix = is_network_admin() ? 'network_admin_' : '';
|
43 |
add_filter( "{$prefix}plugin_action_links", array( $this, 'add_links' ), 10, 5 );
|
44 |
}
|
45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
/**
|
47 |
* Plugins loaded hook
|
48 |
*
|
@@ -76,7 +86,7 @@ class WpUlikeInit {
|
|
76 |
*
|
77 |
* @return void
|
78 |
*/
|
79 |
-
public function
|
80 |
// Define constant values
|
81 |
$this->define_constants();
|
82 |
|
31 |
*/
|
32 |
private function __construct() {
|
33 |
// init plugin
|
34 |
+
$this->plugin();
|
35 |
|
36 |
// This hook is called once any activated plugins have been loaded.
|
37 |
add_action( 'plugins_loaded', array( $this, 'plugins_loaded' ) );
|
39 |
// Activate plugin when new blog is added
|
40 |
add_action( 'activated_plugin', array( $this, 'after_activation' ) );
|
41 |
|
42 |
+
// init action
|
43 |
+
add_action( 'init', array( $this, 'init' ) );
|
44 |
+
|
45 |
$prefix = is_network_admin() ? 'network_admin_' : '';
|
46 |
add_filter( "{$prefix}plugin_action_links", array( $this, 'add_links' ), 10, 5 );
|
47 |
}
|
48 |
|
49 |
+
/**
|
50 |
+
* init method
|
51 |
+
*
|
52 |
+
* @return void
|
53 |
+
*/
|
54 |
+
public function init(){}
|
55 |
+
|
56 |
/**
|
57 |
* Plugins loaded hook
|
58 |
*
|
86 |
*
|
87 |
* @return void
|
88 |
*/
|
89 |
+
public function plugin(){
|
90 |
// Define constant values
|
91 |
$this->define_constants();
|
92 |
|
languages/wp-ulike-ar.po
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
|
6 |
"Report-Msgid-Bugs-To: https://wpulike.com\n"
|
7 |
-
"POT-Creation-Date: 2022-
|
8 |
"PO-Revision-Date: 2017-01-20 23:26:42+0000\n"
|
9 |
"Language: ar\n"
|
10 |
"MIME-Version: 1.0\n"
|
@@ -163,13 +163,13 @@ msgid "Topics Likes Logs"
|
|
163 |
msgstr "سجلات مواضيع الإعجاب"
|
164 |
|
165 |
#: admin/classes/class-wp-ulike-admin-pages.php:59
|
166 |
-
#: admin/includes/templates/statistics.php:124 includes/plugin.php:
|
167 |
msgid "Statistics"
|
168 |
msgstr "إحصائيات"
|
169 |
|
170 |
#: admin/classes/class-wp-ulike-admin-pages.php:67
|
171 |
#: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
|
172 |
-
#: includes/plugin.php:
|
173 |
msgid "About"
|
174 |
msgstr ""
|
175 |
|
@@ -185,7 +185,7 @@ msgstr ""
|
|
185 |
msgid "Logs"
|
186 |
msgstr "السجلات"
|
187 |
|
188 |
-
#: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:
|
189 |
msgid "Settings"
|
190 |
msgstr "الإعدادات"
|
191 |
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
|
6 |
"Report-Msgid-Bugs-To: https://wpulike.com\n"
|
7 |
+
"POT-Creation-Date: 2022-04-08 09:45:06+00:00\n"
|
8 |
"PO-Revision-Date: 2017-01-20 23:26:42+0000\n"
|
9 |
"Language: ar\n"
|
10 |
"MIME-Version: 1.0\n"
|
163 |
msgstr "سجلات مواضيع الإعجاب"
|
164 |
|
165 |
#: admin/classes/class-wp-ulike-admin-pages.php:59
|
166 |
+
#: admin/includes/templates/statistics.php:124 includes/plugin.php:119
|
167 |
msgid "Statistics"
|
168 |
msgstr "إحصائيات"
|
169 |
|
170 |
#: admin/classes/class-wp-ulike-admin-pages.php:67
|
171 |
#: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
|
172 |
+
#: includes/plugin.php:120
|
173 |
msgid "About"
|
174 |
msgstr ""
|
175 |
|
185 |
msgid "Logs"
|
186 |
msgstr "السجلات"
|
187 |
|
188 |
+
#: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:118
|
189 |
msgid "Settings"
|
190 |
msgstr "الإعدادات"
|
191 |
|
languages/wp-ulike-de.po
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
|
6 |
"Report-Msgid-Bugs-To: https://wpulike.com\n"
|
7 |
-
"POT-Creation-Date: 2022-
|
8 |
"PO-Revision-Date: 2019-06-19 16:23:52+0000\n"
|
9 |
"Language: de\n"
|
10 |
"MIME-Version: 1.0\n"
|
@@ -155,13 +155,13 @@ msgid "Topics Likes Logs"
|
|
155 |
msgstr ""
|
156 |
|
157 |
#: admin/classes/class-wp-ulike-admin-pages.php:59
|
158 |
-
#: admin/includes/templates/statistics.php:124 includes/plugin.php:
|
159 |
msgid "Statistics"
|
160 |
msgstr ""
|
161 |
|
162 |
#: admin/classes/class-wp-ulike-admin-pages.php:67
|
163 |
#: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
|
164 |
-
#: includes/plugin.php:
|
165 |
msgid "About"
|
166 |
msgstr ""
|
167 |
|
@@ -177,7 +177,7 @@ msgstr ""
|
|
177 |
msgid "Logs"
|
178 |
msgstr "Logdateien"
|
179 |
|
180 |
-
#: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:
|
181 |
msgid "Settings"
|
182 |
msgstr ""
|
183 |
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
|
6 |
"Report-Msgid-Bugs-To: https://wpulike.com\n"
|
7 |
+
"POT-Creation-Date: 2022-04-08 09:45:06+00:00\n"
|
8 |
"PO-Revision-Date: 2019-06-19 16:23:52+0000\n"
|
9 |
"Language: de\n"
|
10 |
"MIME-Version: 1.0\n"
|
155 |
msgstr ""
|
156 |
|
157 |
#: admin/classes/class-wp-ulike-admin-pages.php:59
|
158 |
+
#: admin/includes/templates/statistics.php:124 includes/plugin.php:119
|
159 |
msgid "Statistics"
|
160 |
msgstr ""
|
161 |
|
162 |
#: admin/classes/class-wp-ulike-admin-pages.php:67
|
163 |
#: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
|
164 |
+
#: includes/plugin.php:120
|
165 |
msgid "About"
|
166 |
msgstr ""
|
167 |
|
177 |
msgid "Logs"
|
178 |
msgstr "Logdateien"
|
179 |
|
180 |
+
#: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:118
|
181 |
msgid "Settings"
|
182 |
msgstr ""
|
183 |
|
languages/wp-ulike-es-co.po
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
|
6 |
"Report-Msgid-Bugs-To: https://wpulike.com\n"
|
7 |
-
"POT-Creation-Date: 2022-
|
8 |
"PO-Revision-Date: +0000\n"
|
9 |
"Language: es_CO\n"
|
10 |
"MIME-Version: 1.0\n"
|
@@ -155,13 +155,13 @@ msgid "Topics Likes Logs"
|
|
155 |
msgstr ""
|
156 |
|
157 |
#: admin/classes/class-wp-ulike-admin-pages.php:59
|
158 |
-
#: admin/includes/templates/statistics.php:124 includes/plugin.php:
|
159 |
msgid "Statistics"
|
160 |
msgstr ""
|
161 |
|
162 |
#: admin/classes/class-wp-ulike-admin-pages.php:67
|
163 |
#: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
|
164 |
-
#: includes/plugin.php:
|
165 |
msgid "About"
|
166 |
msgstr ""
|
167 |
|
@@ -177,7 +177,7 @@ msgstr ""
|
|
177 |
msgid "Logs"
|
178 |
msgstr ""
|
179 |
|
180 |
-
#: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:
|
181 |
msgid "Settings"
|
182 |
msgstr ""
|
183 |
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
|
6 |
"Report-Msgid-Bugs-To: https://wpulike.com\n"
|
7 |
+
"POT-Creation-Date: 2022-04-08 09:45:06+00:00\n"
|
8 |
"PO-Revision-Date: +0000\n"
|
9 |
"Language: es_CO\n"
|
10 |
"MIME-Version: 1.0\n"
|
155 |
msgstr ""
|
156 |
|
157 |
#: admin/classes/class-wp-ulike-admin-pages.php:59
|
158 |
+
#: admin/includes/templates/statistics.php:124 includes/plugin.php:119
|
159 |
msgid "Statistics"
|
160 |
msgstr ""
|
161 |
|
162 |
#: admin/classes/class-wp-ulike-admin-pages.php:67
|
163 |
#: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
|
164 |
+
#: includes/plugin.php:120
|
165 |
msgid "About"
|
166 |
msgstr ""
|
167 |
|
177 |
msgid "Logs"
|
178 |
msgstr ""
|
179 |
|
180 |
+
#: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:118
|
181 |
msgid "Settings"
|
182 |
msgstr ""
|
183 |
|
languages/wp-ulike-fa_IR.po
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
|
6 |
"Report-Msgid-Bugs-To: https://wpulike.com\n"
|
7 |
-
"POT-Creation-Date: 2022-
|
8 |
"PO-Revision-Date: 2021-01-09 02:03+0330\n"
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: \n"
|
@@ -157,13 +157,13 @@ msgid "Topics Likes Logs"
|
|
157 |
msgstr "وقایع لایک در تاپیک ها"
|
158 |
|
159 |
#: admin/classes/class-wp-ulike-admin-pages.php:59
|
160 |
-
#: admin/includes/templates/statistics.php:124 includes/plugin.php:
|
161 |
msgid "Statistics"
|
162 |
msgstr "آماره"
|
163 |
|
164 |
#: admin/classes/class-wp-ulike-admin-pages.php:67
|
165 |
#: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
|
166 |
-
#: includes/plugin.php:
|
167 |
msgid "About"
|
168 |
msgstr "درباره"
|
169 |
|
@@ -179,7 +179,7 @@ msgstr "درباره"
|
|
179 |
msgid "Logs"
|
180 |
msgstr "وقایع"
|
181 |
|
182 |
-
#: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:
|
183 |
msgid "Settings"
|
184 |
msgstr "تنظیمات"
|
185 |
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
|
6 |
"Report-Msgid-Bugs-To: https://wpulike.com\n"
|
7 |
+
"POT-Creation-Date: 2022-04-08 09:45:06+00:00\n"
|
8 |
"PO-Revision-Date: 2021-01-09 02:03+0330\n"
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: \n"
|
157 |
msgstr "وقایع لایک در تاپیک ها"
|
158 |
|
159 |
#: admin/classes/class-wp-ulike-admin-pages.php:59
|
160 |
+
#: admin/includes/templates/statistics.php:124 includes/plugin.php:119
|
161 |
msgid "Statistics"
|
162 |
msgstr "آماره"
|
163 |
|
164 |
#: admin/classes/class-wp-ulike-admin-pages.php:67
|
165 |
#: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
|
166 |
+
#: includes/plugin.php:120
|
167 |
msgid "About"
|
168 |
msgstr "درباره"
|
169 |
|
179 |
msgid "Logs"
|
180 |
msgstr "وقایع"
|
181 |
|
182 |
+
#: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:118
|
183 |
msgid "Settings"
|
184 |
msgstr "تنظیمات"
|
185 |
|
languages/wp-ulike-fr.po
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
|
6 |
"Report-Msgid-Bugs-To: https://wpulike.com\n"
|
7 |
-
"POT-Creation-Date: 2022-
|
8 |
"PO-Revision-Date: 2017-01-20 23:27:07+0000\n"
|
9 |
"Language: fr\n"
|
10 |
"MIME-Version: 1.0\n"
|
@@ -155,13 +155,13 @@ msgid "Topics Likes Logs"
|
|
155 |
msgstr "Historiques des sujets likés"
|
156 |
|
157 |
#: admin/classes/class-wp-ulike-admin-pages.php:59
|
158 |
-
#: admin/includes/templates/statistics.php:124 includes/plugin.php:
|
159 |
msgid "Statistics"
|
160 |
msgstr "Statistiques"
|
161 |
|
162 |
#: admin/classes/class-wp-ulike-admin-pages.php:67
|
163 |
#: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
|
164 |
-
#: includes/plugin.php:
|
165 |
msgid "About"
|
166 |
msgstr "À propos"
|
167 |
|
@@ -177,7 +177,7 @@ msgstr "À propos"
|
|
177 |
msgid "Logs"
|
178 |
msgstr "Fichiers journaux"
|
179 |
|
180 |
-
#: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:
|
181 |
msgid "Settings"
|
182 |
msgstr "Réglages"
|
183 |
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
|
6 |
"Report-Msgid-Bugs-To: https://wpulike.com\n"
|
7 |
+
"POT-Creation-Date: 2022-04-08 09:45:06+00:00\n"
|
8 |
"PO-Revision-Date: 2017-01-20 23:27:07+0000\n"
|
9 |
"Language: fr\n"
|
10 |
"MIME-Version: 1.0\n"
|
155 |
msgstr "Historiques des sujets likés"
|
156 |
|
157 |
#: admin/classes/class-wp-ulike-admin-pages.php:59
|
158 |
+
#: admin/includes/templates/statistics.php:124 includes/plugin.php:119
|
159 |
msgid "Statistics"
|
160 |
msgstr "Statistiques"
|
161 |
|
162 |
#: admin/classes/class-wp-ulike-admin-pages.php:67
|
163 |
#: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
|
164 |
+
#: includes/plugin.php:120
|
165 |
msgid "About"
|
166 |
msgstr "À propos"
|
167 |
|
177 |
msgid "Logs"
|
178 |
msgstr "Fichiers journaux"
|
179 |
|
180 |
+
#: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:118
|
181 |
msgid "Settings"
|
182 |
msgstr "Réglages"
|
183 |
|
languages/wp-ulike-ja.po
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
|
6 |
"Report-Msgid-Bugs-To: https://wpulike.com\n"
|
7 |
-
"POT-Creation-Date: 2022-
|
8 |
"PO-Revision-Date: 2019-07-03 14:50:28+0000\n"
|
9 |
"Language: ja_JP\n"
|
10 |
"MIME-Version: 1.0\n"
|
@@ -158,13 +158,13 @@ msgid "Topics Likes Logs"
|
|
158 |
msgstr "トピックのいいねログ"
|
159 |
|
160 |
#: admin/classes/class-wp-ulike-admin-pages.php:59
|
161 |
-
#: admin/includes/templates/statistics.php:124 includes/plugin.php:
|
162 |
msgid "Statistics"
|
163 |
msgstr "統計"
|
164 |
|
165 |
#: admin/classes/class-wp-ulike-admin-pages.php:67
|
166 |
#: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
|
167 |
-
#: includes/plugin.php:
|
168 |
msgid "About"
|
169 |
msgstr "プラグインについて"
|
170 |
|
@@ -180,7 +180,7 @@ msgstr "プラグインについて"
|
|
180 |
msgid "Logs"
|
181 |
msgstr "ログ"
|
182 |
|
183 |
-
#: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:
|
184 |
msgid "Settings"
|
185 |
msgstr "設定"
|
186 |
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
|
6 |
"Report-Msgid-Bugs-To: https://wpulike.com\n"
|
7 |
+
"POT-Creation-Date: 2022-04-08 09:45:06+00:00\n"
|
8 |
"PO-Revision-Date: 2019-07-03 14:50:28+0000\n"
|
9 |
"Language: ja_JP\n"
|
10 |
"MIME-Version: 1.0\n"
|
158 |
msgstr "トピックのいいねログ"
|
159 |
|
160 |
#: admin/classes/class-wp-ulike-admin-pages.php:59
|
161 |
+
#: admin/includes/templates/statistics.php:124 includes/plugin.php:119
|
162 |
msgid "Statistics"
|
163 |
msgstr "統計"
|
164 |
|
165 |
#: admin/classes/class-wp-ulike-admin-pages.php:67
|
166 |
#: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
|
167 |
+
#: includes/plugin.php:120
|
168 |
msgid "About"
|
169 |
msgstr "プラグインについて"
|
170 |
|
180 |
msgid "Logs"
|
181 |
msgstr "ログ"
|
182 |
|
183 |
+
#: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:118
|
184 |
msgid "Settings"
|
185 |
msgstr "設定"
|
186 |
|
languages/wp-ulike-nl.po
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
|
6 |
"Report-Msgid-Bugs-To: https://wpulike.com\n"
|
7 |
-
"POT-Creation-Date: 2022-
|
8 |
"PO-Revision-Date: 2020-02-23 18:53:56+0000\n"
|
9 |
"Language: nl\n"
|
10 |
"MIME-Version: 1.0\n"
|
@@ -155,13 +155,13 @@ msgid "Topics Likes Logs"
|
|
155 |
msgstr ""
|
156 |
|
157 |
#: admin/classes/class-wp-ulike-admin-pages.php:59
|
158 |
-
#: admin/includes/templates/statistics.php:124 includes/plugin.php:
|
159 |
msgid "Statistics"
|
160 |
msgstr "Statistieken"
|
161 |
|
162 |
#: admin/classes/class-wp-ulike-admin-pages.php:67
|
163 |
#: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
|
164 |
-
#: includes/plugin.php:
|
165 |
msgid "About"
|
166 |
msgstr "Over"
|
167 |
|
@@ -177,7 +177,7 @@ msgstr "Over"
|
|
177 |
msgid "Logs"
|
178 |
msgstr "Logboeken"
|
179 |
|
180 |
-
#: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:
|
181 |
msgid "Settings"
|
182 |
msgstr "Settings"
|
183 |
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
|
6 |
"Report-Msgid-Bugs-To: https://wpulike.com\n"
|
7 |
+
"POT-Creation-Date: 2022-04-08 09:45:06+00:00\n"
|
8 |
"PO-Revision-Date: 2020-02-23 18:53:56+0000\n"
|
9 |
"Language: nl\n"
|
10 |
"MIME-Version: 1.0\n"
|
155 |
msgstr ""
|
156 |
|
157 |
#: admin/classes/class-wp-ulike-admin-pages.php:59
|
158 |
+
#: admin/includes/templates/statistics.php:124 includes/plugin.php:119
|
159 |
msgid "Statistics"
|
160 |
msgstr "Statistieken"
|
161 |
|
162 |
#: admin/classes/class-wp-ulike-admin-pages.php:67
|
163 |
#: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
|
164 |
+
#: includes/plugin.php:120
|
165 |
msgid "About"
|
166 |
msgstr "Over"
|
167 |
|
177 |
msgid "Logs"
|
178 |
msgstr "Logboeken"
|
179 |
|
180 |
+
#: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:118
|
181 |
msgid "Settings"
|
182 |
msgstr "Settings"
|
183 |
|
languages/wp-ulike-ru.po
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
|
6 |
"Report-Msgid-Bugs-To: https://wpulike.com\n"
|
7 |
-
"POT-Creation-Date: 2022-
|
8 |
"PO-Revision-Date: 2017-01-20 23:27:25+0000\n"
|
9 |
"Language: ru\n"
|
10 |
"MIME-Version: 1.0\n"
|
@@ -156,13 +156,13 @@ msgid "Topics Likes Logs"
|
|
156 |
msgstr ""
|
157 |
|
158 |
#: admin/classes/class-wp-ulike-admin-pages.php:59
|
159 |
-
#: admin/includes/templates/statistics.php:124 includes/plugin.php:
|
160 |
msgid "Statistics"
|
161 |
msgstr ""
|
162 |
|
163 |
#: admin/classes/class-wp-ulike-admin-pages.php:67
|
164 |
#: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
|
165 |
-
#: includes/plugin.php:
|
166 |
msgid "About"
|
167 |
msgstr ""
|
168 |
|
@@ -178,7 +178,7 @@ msgstr ""
|
|
178 |
msgid "Logs"
|
179 |
msgstr ""
|
180 |
|
181 |
-
#: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:
|
182 |
msgid "Settings"
|
183 |
msgstr ""
|
184 |
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
|
6 |
"Report-Msgid-Bugs-To: https://wpulike.com\n"
|
7 |
+
"POT-Creation-Date: 2022-04-08 09:45:06+00:00\n"
|
8 |
"PO-Revision-Date: 2017-01-20 23:27:25+0000\n"
|
9 |
"Language: ru\n"
|
10 |
"MIME-Version: 1.0\n"
|
156 |
msgstr ""
|
157 |
|
158 |
#: admin/classes/class-wp-ulike-admin-pages.php:59
|
159 |
+
#: admin/includes/templates/statistics.php:124 includes/plugin.php:119
|
160 |
msgid "Statistics"
|
161 |
msgstr ""
|
162 |
|
163 |
#: admin/classes/class-wp-ulike-admin-pages.php:67
|
164 |
#: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
|
165 |
+
#: includes/plugin.php:120
|
166 |
msgid "About"
|
167 |
msgstr ""
|
168 |
|
178 |
msgid "Logs"
|
179 |
msgstr ""
|
180 |
|
181 |
+
#: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:118
|
182 |
msgid "Settings"
|
183 |
msgstr ""
|
184 |
|
languages/wp-ulike-sv.po
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
|
6 |
"Report-Msgid-Bugs-To: https://wpulike.com\n"
|
7 |
-
"POT-Creation-Date: 2022-
|
8 |
"PO-Revision-Date: 2020-02-26 22:14:02+0000\n"
|
9 |
"Language: sv_SE\n"
|
10 |
"MIME-Version: 1.0\n"
|
@@ -155,13 +155,13 @@ msgid "Topics Likes Logs"
|
|
155 |
msgstr ""
|
156 |
|
157 |
#: admin/classes/class-wp-ulike-admin-pages.php:59
|
158 |
-
#: admin/includes/templates/statistics.php:124 includes/plugin.php:
|
159 |
msgid "Statistics"
|
160 |
msgstr "Statistik"
|
161 |
|
162 |
#: admin/classes/class-wp-ulike-admin-pages.php:67
|
163 |
#: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
|
164 |
-
#: includes/plugin.php:
|
165 |
msgid "About"
|
166 |
msgstr "Om"
|
167 |
|
@@ -177,7 +177,7 @@ msgstr "Om"
|
|
177 |
msgid "Logs"
|
178 |
msgstr "Loggar"
|
179 |
|
180 |
-
#: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:
|
181 |
msgid "Settings"
|
182 |
msgstr "Inställningar"
|
183 |
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
|
6 |
"Report-Msgid-Bugs-To: https://wpulike.com\n"
|
7 |
+
"POT-Creation-Date: 2022-04-08 09:45:06+00:00\n"
|
8 |
"PO-Revision-Date: 2020-02-26 22:14:02+0000\n"
|
9 |
"Language: sv_SE\n"
|
10 |
"MIME-Version: 1.0\n"
|
155 |
msgstr ""
|
156 |
|
157 |
#: admin/classes/class-wp-ulike-admin-pages.php:59
|
158 |
+
#: admin/includes/templates/statistics.php:124 includes/plugin.php:119
|
159 |
msgid "Statistics"
|
160 |
msgstr "Statistik"
|
161 |
|
162 |
#: admin/classes/class-wp-ulike-admin-pages.php:67
|
163 |
#: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
|
164 |
+
#: includes/plugin.php:120
|
165 |
msgid "About"
|
166 |
msgstr "Om"
|
167 |
|
177 |
msgid "Logs"
|
178 |
msgstr "Loggar"
|
179 |
|
180 |
+
#: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:118
|
181 |
msgid "Settings"
|
182 |
msgstr "Inställningar"
|
183 |
|
languages/wp-ulike-zh-cn.po
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
|
6 |
"Report-Msgid-Bugs-To: https://wpulike.com\n"
|
7 |
-
"POT-Creation-Date: 2022-
|
8 |
"PO-Revision-Date: 2018-05-27 09:01:52+0000\n"
|
9 |
"Language: zh_CN\n"
|
10 |
"MIME-Version: 1.0\n"
|
@@ -155,13 +155,13 @@ msgid "Topics Likes Logs"
|
|
155 |
msgstr ""
|
156 |
|
157 |
#: admin/classes/class-wp-ulike-admin-pages.php:59
|
158 |
-
#: admin/includes/templates/statistics.php:124 includes/plugin.php:
|
159 |
msgid "Statistics"
|
160 |
msgstr "统计"
|
161 |
|
162 |
#: admin/classes/class-wp-ulike-admin-pages.php:67
|
163 |
#: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
|
164 |
-
#: includes/plugin.php:
|
165 |
msgid "About"
|
166 |
msgstr "关于"
|
167 |
|
@@ -177,7 +177,7 @@ msgstr "关于"
|
|
177 |
msgid "Logs"
|
178 |
msgstr "日志"
|
179 |
|
180 |
-
#: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:
|
181 |
msgid "Settings"
|
182 |
msgstr "设置"
|
183 |
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
|
6 |
"Report-Msgid-Bugs-To: https://wpulike.com\n"
|
7 |
+
"POT-Creation-Date: 2022-04-08 09:45:06+00:00\n"
|
8 |
"PO-Revision-Date: 2018-05-27 09:01:52+0000\n"
|
9 |
"Language: zh_CN\n"
|
10 |
"MIME-Version: 1.0\n"
|
155 |
msgstr ""
|
156 |
|
157 |
#: admin/classes/class-wp-ulike-admin-pages.php:59
|
158 |
+
#: admin/includes/templates/statistics.php:124 includes/plugin.php:119
|
159 |
msgid "Statistics"
|
160 |
msgstr "统计"
|
161 |
|
162 |
#: admin/classes/class-wp-ulike-admin-pages.php:67
|
163 |
#: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
|
164 |
+
#: includes/plugin.php:120
|
165 |
msgid "About"
|
166 |
msgstr "关于"
|
167 |
|
177 |
msgid "Logs"
|
178 |
msgstr "日志"
|
179 |
|
180 |
+
#: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:118
|
181 |
msgid "Settings"
|
182 |
msgstr "设置"
|
183 |
|
languages/wp-ulike.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the WP ULike package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: WP ULike 4.
|
6 |
"Report-Msgid-Bugs-To: https://wpulike.com\n"
|
7 |
-
"POT-Creation-Date: 2022-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -156,13 +156,13 @@ msgid "Topics Likes Logs"
|
|
156 |
msgstr ""
|
157 |
|
158 |
#: admin/classes/class-wp-ulike-admin-pages.php:59
|
159 |
-
#: admin/includes/templates/statistics.php:124 includes/plugin.php:
|
160 |
msgid "Statistics"
|
161 |
msgstr ""
|
162 |
|
163 |
#: admin/classes/class-wp-ulike-admin-pages.php:67
|
164 |
#: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
|
165 |
-
#: includes/plugin.php:
|
166 |
msgid "About"
|
167 |
msgstr ""
|
168 |
|
@@ -178,7 +178,7 @@ msgstr ""
|
|
178 |
msgid "Logs"
|
179 |
msgstr ""
|
180 |
|
181 |
-
#: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:
|
182 |
msgid "Settings"
|
183 |
msgstr ""
|
184 |
|
2 |
# This file is distributed under the same license as the WP ULike package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: WP ULike 4.6.0\n"
|
6 |
"Report-Msgid-Bugs-To: https://wpulike.com\n"
|
7 |
+
"POT-Creation-Date: 2022-04-08 09:45:06+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
156 |
msgstr ""
|
157 |
|
158 |
#: admin/classes/class-wp-ulike-admin-pages.php:59
|
159 |
+
#: admin/includes/templates/statistics.php:124 includes/plugin.php:119
|
160 |
msgid "Statistics"
|
161 |
msgstr ""
|
162 |
|
163 |
#: admin/classes/class-wp-ulike-admin-pages.php:67
|
164 |
#: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
|
165 |
+
#: includes/plugin.php:120
|
166 |
msgid "About"
|
167 |
msgstr ""
|
168 |
|
178 |
msgid "Logs"
|
179 |
msgstr ""
|
180 |
|
181 |
+
#: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:118
|
182 |
msgid "Settings"
|
183 |
msgstr ""
|
184 |
|
readme.txt
CHANGED
@@ -5,8 +5,8 @@ Author: TechnoWich
|
|
5 |
Tags: like, marketing, elementor, user profile, rating, favorite, statistics, button, dislike, gamification, bookmark, member
|
6 |
Requires PHP: 5.6
|
7 |
Requires at least: 5.0
|
8 |
-
Tested up to: 5.
|
9 |
-
Stable tag: 4.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -140,6 +140,12 @@ Yes, WP ULike is compatible with Apache, Nginx, Microsoft IIS et LiteSpeed web s
|
|
140 |
|
141 |
== Changelog ==
|
142 |
|
|
|
|
|
|
|
|
|
|
|
|
|
143 |
= 4.5.9 =
|
144 |
* Improved: Compatibility with WordPress 5.9 applied.
|
145 |
* Updated: Options panel framework.
|
5 |
Tags: like, marketing, elementor, user profile, rating, favorite, statistics, button, dislike, gamification, bookmark, member
|
6 |
Requires PHP: 5.6
|
7 |
Requires at least: 5.0
|
8 |
+
Tested up to: 5.9.3
|
9 |
+
Stable tag: 4.6.0
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
140 |
|
141 |
== Changelog ==
|
142 |
|
143 |
+
= 4.6.0 =
|
144 |
+
* Added: Increase security for user accounts by using 2-factor authentication steps. [PRO]
|
145 |
+
* Added: Animated Smiley Switch Template. [PRO]
|
146 |
+
* Updated: Options panel framework.
|
147 |
+
* Fixed: Minor bug fixes.
|
148 |
+
|
149 |
= 4.5.9 =
|
150 |
* Improved: Compatibility with WordPress 5.9 applied.
|
151 |
* Updated: Options panel framework.
|
wp-ulike.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: WP ULike
|
4 |
* Plugin URI: https://wpulike.com/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash
|
5 |
* Description: Receiving feedback is crucial as a content creator, but unfortunately, the pieces of content you can collect it on are limited by default. However, with the help of the WP ULike plugin, it is possible to cast voting to any type of content you may have on your website. With outstanding and eye-catching widgets, you can have Like and Dislike Button on all of your content would it be a post, comment, BuddyPress activity, bbPress topics, WooCommerce products, you name it. Now you can feel your users Love for each part of your work.
|
6 |
-
* Version: 4.
|
7 |
* Author: TechnoWich
|
8 |
* Author URI: https://technowich.com/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash
|
9 |
* Text Domain: wp-ulike
|
@@ -27,7 +27,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
27 |
|
28 |
// Do not change these values
|
29 |
define( 'WP_ULIKE_PLUGIN_URI' , 'https://wpulike.com/' );
|
30 |
-
define( 'WP_ULIKE_VERSION' , '4.
|
31 |
define( 'WP_ULIKE_DB_VERSION' , '2.3' );
|
32 |
define( 'WP_ULIKE_SLUG' , 'wp-ulike' );
|
33 |
define( 'WP_ULIKE_NAME' , __( 'WP ULike', WP_ULIKE_SLUG ) );
|
3 |
* Plugin Name: WP ULike
|
4 |
* Plugin URI: https://wpulike.com/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash
|
5 |
* Description: Receiving feedback is crucial as a content creator, but unfortunately, the pieces of content you can collect it on are limited by default. However, with the help of the WP ULike plugin, it is possible to cast voting to any type of content you may have on your website. With outstanding and eye-catching widgets, you can have Like and Dislike Button on all of your content would it be a post, comment, BuddyPress activity, bbPress topics, WooCommerce products, you name it. Now you can feel your users Love for each part of your work.
|
6 |
+
* Version: 4.6.0
|
7 |
* Author: TechnoWich
|
8 |
* Author URI: https://technowich.com/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash
|
9 |
* Text Domain: wp-ulike
|
27 |
|
28 |
// Do not change these values
|
29 |
define( 'WP_ULIKE_PLUGIN_URI' , 'https://wpulike.com/' );
|
30 |
+
define( 'WP_ULIKE_VERSION' , '4.6.0' );
|
31 |
define( 'WP_ULIKE_DB_VERSION' , '2.3' );
|
32 |
define( 'WP_ULIKE_SLUG' , 'wp-ulike' );
|
33 |
define( 'WP_ULIKE_NAME' , __( 'WP ULike', WP_ULIKE_SLUG ) );
|