Version Description
ACF Extended Pro 0.8.8.10:
- Field: File - Improved default values implementation
- Field: File - Fixed Preview Style "Select2" setting render styling
- Field: WYSIWYG - Fixed "Custom Toolbar" setting not working correctly in ACF 6.0 UI
- Field Settings: Min/Max - Added settings as default values in related fields
- Module: Scripts - Improved validation process to only trigger inside page wrapper
- General: Fixed ACF 6.0 CSS on ACF "Updates" page
ACF Extended Basic 0.8.8.10:
- Field: Image/File - Fixed undefined index notice when ACFE Form forced specific uploader type
- Field: Flexible Content - Clear fields storage in Field Group UI to avoid third party plugins messing with it
- Module: Forms - Reverted logic for the Image/File/Gallery media modal
- Field Groups: Fixed Advanced Settings/Validation settings not working correctly in ACF 6.0 UI
- General: Added several ACF 6.0 Field Groups CSS fixes
- General: Hooks - Added
acf_add_filter_variations()
to general hooks - General: Enhanced
acfe_is_admin_screen()
helper - General: Enhanced
ftype
js logic to avoid overriding prototype - General: Enhanced
acfe.fieldExtend
js logic & added dependencies - General: Enhanced js helpers
Download this release
Release Info
Developer | hwk-fr |
Plugin | Advanced Custom Fields: Extended |
Version | 0.8.8.10 |
Comparing to | |
See all releases |
Code changes from version 0.8.8.9 to 0.8.8.10
- acf-extended.php +2 -2
- assets/css/acfe-admin.css +50 -61
- assets/css/acfe-admin.min.css +1 -1
- assets/css/acfe-field-group.css +168 -90
- assets/css/acfe-field-group.min.css +1 -1
- assets/css/acfe-input.css +4 -0
- assets/css/acfe-input.min.css +1 -1
- assets/js/acfe-field-group.js +37 -0
- assets/js/acfe-field-group.min.js +1 -1
- assets/js/acfe-input.js +289 -71
- assets/js/acfe-input.min.js +1 -1
- assets/js/acfe.js +303 -28
- assets/js/acfe.min.js +1 -1
- includes/acfe-screen-functions.php +26 -20
- includes/fields/field-file.php +2 -2
- includes/fields/field-flexible-content.php +13 -0
- includes/fields/field-image.php +2 -2
- includes/hooks.php +159 -153
- readme.txt +27 -3
acf-extended.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Plugin Name: Advanced Custom Fields: Extended
|
4 |
* Description: All-in-one enhancement suite that improves WordPress & Advanced Custom Fields.
|
5 |
-
* Version: 0.8.8.
|
6 |
* Author: ACF Extended
|
7 |
* Plugin URI: https://www.acf-extended.com
|
8 |
* Author URI: https://www.acf-extended.com
|
@@ -19,7 +19,7 @@ if(!class_exists('ACFE')):
|
|
19 |
class ACFE{
|
20 |
|
21 |
// vars
|
22 |
-
var $version = '0.8.8.
|
23 |
|
24 |
/**
|
25 |
* construct
|
2 |
/**
|
3 |
* Plugin Name: Advanced Custom Fields: Extended
|
4 |
* Description: All-in-one enhancement suite that improves WordPress & Advanced Custom Fields.
|
5 |
+
* Version: 0.8.8.10
|
6 |
* Author: ACF Extended
|
7 |
* Plugin URI: https://www.acf-extended.com
|
8 |
* Author URI: https://www.acf-extended.com
|
19 |
class ACFE{
|
20 |
|
21 |
// vars
|
22 |
+
var $version = '0.8.8.10';
|
23 |
|
24 |
/**
|
25 |
* construct
|
assets/css/acfe-admin.css
CHANGED
@@ -63,27 +63,16 @@
|
|
63 |
overflow: hidden
|
64 |
}
|
65 |
|
66 |
-
body:not(.acf-admin-single-field-group) .acf-fields>.acf-tab-wrap .acf-tab-group li a {
|
67 |
-
background: #f1f1f1;
|
68 |
-
border-color: #ccd0d4
|
69 |
-
}
|
70 |
-
|
71 |
-
body:not(.acf-admin-single-field-group) .acf-fields>.acf-tab-wrap .acf-tab-group li a:hover {
|
72 |
-
background: #fff
|
73 |
-
}
|
74 |
-
|
75 |
-
body:not(.acf-admin-single-field-group) .acf-fields>.acf-tab-wrap .acf-tab-group li.active a {
|
76 |
-
background: #fff
|
77 |
-
}
|
78 |
-
|
79 |
-
body:not(.acf-admin-single-field-group) .acf-fields>.acf-tab-wrap:first-child .acf-tab-group {
|
80 |
-
border-top: none
|
81 |
-
}
|
82 |
-
|
83 |
body:not(.acf-admin-single-field-group) .acf-tooltip {
|
84 |
font-size: 13px
|
85 |
}
|
86 |
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
code,
|
88 |
kbd,
|
89 |
pre,
|
@@ -1021,47 +1010,47 @@ body.is-dragging-metaboxes #acf_after_title-sortables {
|
|
1021 |
border-bottom: 0
|
1022 |
}
|
1023 |
|
1024 |
-
.acf-field .select2-container.-acf .select2-selection--single {
|
1025 |
border-radius: 3px;
|
1026 |
height: 30px;
|
1027 |
outline: 0
|
1028 |
}
|
1029 |
|
1030 |
-
.acf-field .select2-container.-acf .select2-selection--single .select2-selection__rendered {
|
1031 |
font-size: 14px;
|
1032 |
height: 28px;
|
1033 |
line-height: 27px;
|
1034 |
padding-right: 23px
|
1035 |
}
|
1036 |
|
1037 |
-
.acf-field .select2-container.-acf .select2-selection--single .select2-selection__clear {
|
1038 |
line-height: 26px;
|
1039 |
height: 28px;
|
1040 |
font-size: 16px;
|
1041 |
margin-right: 0
|
1042 |
}
|
1043 |
|
1044 |
-
.acf-field .select2-container.-acf .select2-selection--single button.select2-selection__clear {
|
1045 |
position: absolute;
|
1046 |
right: 24px;
|
1047 |
padding: 0
|
1048 |
}
|
1049 |
|
1050 |
-
.acf-field .select2-container.-acf .select2-selection--single button.select2-selection__clear span {
|
1051 |
line-height: 26px;
|
1052 |
height: 28px;
|
1053 |
display: inline-block
|
1054 |
}
|
1055 |
|
1056 |
-
.acf-field .select2-container.-acf .select2-selection--single .select2-selection__placeholder {
|
1057 |
color: #444
|
1058 |
}
|
1059 |
|
1060 |
-
.acf-field .select2-container.-acf .select2-selection--single .select2-selection__arrow {
|
1061 |
height: 28px
|
1062 |
}
|
1063 |
|
1064 |
-
.acf-field .select2-container.-acf .select2-selection--single .select2-selection__arrow b {
|
1065 |
background: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat;
|
1066 |
background-size: 16px 16px;
|
1067 |
border: 0;
|
@@ -1071,20 +1060,20 @@ body.is-dragging-metaboxes #acf_after_title-sortables {
|
|
1071 |
margin-top: -7px
|
1072 |
}
|
1073 |
|
1074 |
-
.acf-field .select2-container.-acf.select2-container--open .select2-selection--single,
|
1075 |
-
.acf-field .select2-container.-acf:focus .select2-selection--single {
|
1076 |
border-color: #007cba;
|
1077 |
color: #016087;
|
1078 |
-webkit-box-shadow: 0 0 0 1px #007cba;
|
1079 |
box-shadow: 0 0 0 1px #007cba
|
1080 |
}
|
1081 |
|
1082 |
-
.select2-container .select2-dropdown {
|
1083 |
margin-top: 0;
|
1084 |
border-color: #aaa !important
|
1085 |
}
|
1086 |
|
1087 |
-
.select2-container .select2-dropdown .select2-search--dropdown .select2-search__field {
|
1088 |
min-height: 30px;
|
1089 |
border: 0;
|
1090 |
-webkit-box-shadow: none;
|
@@ -1092,44 +1081,44 @@ body.is-dragging-metaboxes #acf_after_title-sortables {
|
|
1092 |
padding: 0 2px
|
1093 |
}
|
1094 |
|
1095 |
-
.select2-container .select2-dropdown .select2-search--dropdown .select2-search__field::-webkit-input-placeholder {
|
1096 |
color: #777
|
1097 |
}
|
1098 |
|
1099 |
-
.select2-container .select2-dropdown .select2-search--dropdown .select2-search__field::-moz-placeholder {
|
1100 |
color: #777
|
1101 |
}
|
1102 |
|
1103 |
-
.select2-container .select2-dropdown .select2-search--dropdown .select2-search__field:-ms-input-placeholder {
|
1104 |
color: #777
|
1105 |
}
|
1106 |
|
1107 |
-
.select2-container .select2-dropdown .select2-search--dropdown .select2-search__field::-ms-input-placeholder {
|
1108 |
color: #777
|
1109 |
}
|
1110 |
|
1111 |
-
.select2-container .select2-dropdown .select2-search--dropdown .select2-search__field::placeholder {
|
1112 |
color: #777
|
1113 |
}
|
1114 |
|
1115 |
-
.select2-container .select2-dropdown .select2-results__option {
|
1116 |
margin-bottom: 0
|
1117 |
}
|
1118 |
|
1119 |
-
.acf-field .select2-container.-acf .select2-selection--multiple {
|
1120 |
min-height: 30px;
|
1121 |
line-height: 1;
|
1122 |
border-radius: 3px;
|
1123 |
padding: 0
|
1124 |
}
|
1125 |
|
1126 |
-
.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__rendered {
|
1127 |
padding: 0 2px;
|
1128 |
display: inline-block;
|
1129 |
margin: 0
|
1130 |
}
|
1131 |
|
1132 |
-
.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__choice {
|
1133 |
margin-right: 2px;
|
1134 |
margin-top: 2px;
|
1135 |
line-height: 1.6;
|
@@ -1141,11 +1130,11 @@ body.is-dragging-metaboxes #acf_after_title-sortables {
|
|
1141 |
padding: 0 5px
|
1142 |
}
|
1143 |
|
1144 |
-
.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__choice .select2-selection__choice__display {
|
1145 |
padding: 0
|
1146 |
}
|
1147 |
|
1148 |
-
.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
|
1149 |
float: right;
|
1150 |
margin-left: 3px;
|
1151 |
margin-right: 0;
|
@@ -1158,11 +1147,11 @@ body.is-dragging-metaboxes #acf_after_title-sortables {
|
|
1158 |
margin-top: 0
|
1159 |
}
|
1160 |
|
1161 |
-
.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove:hover {
|
1162 |
background: 0 0
|
1163 |
}
|
1164 |
|
1165 |
-
.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__clear {
|
1166 |
margin-top: 0;
|
1167 |
margin-right: 6px;
|
1168 |
font-size: 16px;
|
@@ -1172,53 +1161,53 @@ body.is-dragging-metaboxes #acf_after_title-sortables {
|
|
1172 |
position: relative
|
1173 |
}
|
1174 |
|
1175 |
-
.acf-field .select2-container.-acf .select2-selection--multiple button.select2-selection__clear {
|
1176 |
float: right
|
1177 |
}
|
1178 |
|
1179 |
-
.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline {
|
1180 |
float: left;
|
1181 |
width: auto
|
1182 |
}
|
1183 |
|
1184 |
-
.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field {
|
1185 |
margin-top: 4px;
|
1186 |
font-size: 14px;
|
1187 |
padding-left: 2px;
|
1188 |
margin-left: 0
|
1189 |
}
|
1190 |
|
1191 |
-
.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field::-webkit-input-placeholder {
|
1192 |
color: #444
|
1193 |
}
|
1194 |
|
1195 |
-
.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field::-moz-placeholder {
|
1196 |
color: #444
|
1197 |
}
|
1198 |
|
1199 |
-
.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field:-ms-input-placeholder {
|
1200 |
color: #444
|
1201 |
}
|
1202 |
|
1203 |
-
.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field::-ms-input-placeholder {
|
1204 |
color: #444
|
1205 |
}
|
1206 |
|
1207 |
-
.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field::placeholder {
|
1208 |
color: #444
|
1209 |
}
|
1210 |
|
1211 |
-
.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline:first-child:last-child .select2-search__field {
|
1212 |
padding-left: 6px
|
1213 |
}
|
1214 |
|
1215 |
-
.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__rendered+.select2-search--inline {
|
1216 |
float: none;
|
1217 |
display: inline-block;
|
1218 |
vertical-align: top
|
1219 |
}
|
1220 |
|
1221 |
-
.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__rendered+.select2-search--inline .select2-search__field {
|
1222 |
height: 22px;
|
1223 |
line-height: 1.4;
|
1224 |
padding-left: 0;
|
@@ -1227,32 +1216,32 @@ body.is-dragging-metaboxes #acf_after_title-sortables {
|
|
1227 |
margin-top: 4px !important
|
1228 |
}
|
1229 |
|
1230 |
-
.acf-field .select2-container.-acf.select2-container--focus .select2-selection--multiple,
|
1231 |
-
.acf-field .select2-container.-acf.select2-container--open .select2-selection--multiple {
|
1232 |
border-color: #7e8993
|
1233 |
}
|
1234 |
|
1235 |
-
.select2-selection__choice>code,
|
1236 |
-
.select2-selection__rendered>code {
|
1237 |
font-size: 12px;
|
1238 |
padding: 3px;
|
1239 |
vertical-align: 1px;
|
1240 |
line-height: 12px
|
1241 |
}
|
1242 |
|
1243 |
-
.select2-results__option>code {
|
1244 |
font-size: 12px
|
1245 |
}
|
1246 |
|
1247 |
-
.acf-input-wrap .acf-is-prepended+.select2>.selection>.select2-selection {
|
1248 |
border-radius: 0 3px 3px 0 !important
|
1249 |
}
|
1250 |
|
1251 |
-
.acf-input-wrap .acf-is-appended+.select2>.selection>.select2-selection {
|
1252 |
border-radius: 3px 0 0 3px !important
|
1253 |
}
|
1254 |
|
1255 |
-
.acf-input-wrap .acf-is-prepended.acf-is-appended+.select2>.selection>.select2-selection {
|
1256 |
border-radius: 0 !important
|
1257 |
}
|
1258 |
|
63 |
overflow: hidden
|
64 |
}
|
65 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
body:not(.acf-admin-single-field-group) .acf-tooltip {
|
67 |
font-size: 13px
|
68 |
}
|
69 |
|
70 |
+
@media only screen and (max-width:1300px) {
|
71 |
+
.acf-admin-toolbar i.acf-icon {
|
72 |
+
display: none !important
|
73 |
+
}
|
74 |
+
}
|
75 |
+
|
76 |
code,
|
77 |
kbd,
|
78 |
pre,
|
1010 |
border-bottom: 0
|
1011 |
}
|
1012 |
|
1013 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--single {
|
1014 |
border-radius: 3px;
|
1015 |
height: 30px;
|
1016 |
outline: 0
|
1017 |
}
|
1018 |
|
1019 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--single .select2-selection__rendered {
|
1020 |
font-size: 14px;
|
1021 |
height: 28px;
|
1022 |
line-height: 27px;
|
1023 |
padding-right: 23px
|
1024 |
}
|
1025 |
|
1026 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--single .select2-selection__clear {
|
1027 |
line-height: 26px;
|
1028 |
height: 28px;
|
1029 |
font-size: 16px;
|
1030 |
margin-right: 0
|
1031 |
}
|
1032 |
|
1033 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--single button.select2-selection__clear {
|
1034 |
position: absolute;
|
1035 |
right: 24px;
|
1036 |
padding: 0
|
1037 |
}
|
1038 |
|
1039 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--single button.select2-selection__clear span {
|
1040 |
line-height: 26px;
|
1041 |
height: 28px;
|
1042 |
display: inline-block
|
1043 |
}
|
1044 |
|
1045 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--single .select2-selection__placeholder {
|
1046 |
color: #444
|
1047 |
}
|
1048 |
|
1049 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--single .select2-selection__arrow {
|
1050 |
height: 28px
|
1051 |
}
|
1052 |
|
1053 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--single .select2-selection__arrow b {
|
1054 |
background: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat;
|
1055 |
background-size: 16px 16px;
|
1056 |
border: 0;
|
1060 |
margin-top: -7px
|
1061 |
}
|
1062 |
|
1063 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf.select2-container--open .select2-selection--single,
|
1064 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf:focus .select2-selection--single {
|
1065 |
border-color: #007cba;
|
1066 |
color: #016087;
|
1067 |
-webkit-box-shadow: 0 0 0 1px #007cba;
|
1068 |
box-shadow: 0 0 0 1px #007cba
|
1069 |
}
|
1070 |
|
1071 |
+
body:not(.acf-admin-6) .select2-container .select2-dropdown {
|
1072 |
margin-top: 0;
|
1073 |
border-color: #aaa !important
|
1074 |
}
|
1075 |
|
1076 |
+
body:not(.acf-admin-6) .select2-container .select2-dropdown .select2-search--dropdown .select2-search__field {
|
1077 |
min-height: 30px;
|
1078 |
border: 0;
|
1079 |
-webkit-box-shadow: none;
|
1081 |
padding: 0 2px
|
1082 |
}
|
1083 |
|
1084 |
+
body:not(.acf-admin-6) .select2-container .select2-dropdown .select2-search--dropdown .select2-search__field::-webkit-input-placeholder {
|
1085 |
color: #777
|
1086 |
}
|
1087 |
|
1088 |
+
body:not(.acf-admin-6) .select2-container .select2-dropdown .select2-search--dropdown .select2-search__field::-moz-placeholder {
|
1089 |
color: #777
|
1090 |
}
|
1091 |
|
1092 |
+
body:not(.acf-admin-6) .select2-container .select2-dropdown .select2-search--dropdown .select2-search__field:-ms-input-placeholder {
|
1093 |
color: #777
|
1094 |
}
|
1095 |
|
1096 |
+
body:not(.acf-admin-6) .select2-container .select2-dropdown .select2-search--dropdown .select2-search__field::-ms-input-placeholder {
|
1097 |
color: #777
|
1098 |
}
|
1099 |
|
1100 |
+
body:not(.acf-admin-6) .select2-container .select2-dropdown .select2-search--dropdown .select2-search__field::placeholder {
|
1101 |
color: #777
|
1102 |
}
|
1103 |
|
1104 |
+
body:not(.acf-admin-6) .select2-container .select2-dropdown .select2-results__option {
|
1105 |
margin-bottom: 0
|
1106 |
}
|
1107 |
|
1108 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple {
|
1109 |
min-height: 30px;
|
1110 |
line-height: 1;
|
1111 |
border-radius: 3px;
|
1112 |
padding: 0
|
1113 |
}
|
1114 |
|
1115 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__rendered {
|
1116 |
padding: 0 2px;
|
1117 |
display: inline-block;
|
1118 |
margin: 0
|
1119 |
}
|
1120 |
|
1121 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__choice {
|
1122 |
margin-right: 2px;
|
1123 |
margin-top: 2px;
|
1124 |
line-height: 1.6;
|
1130 |
padding: 0 5px
|
1131 |
}
|
1132 |
|
1133 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__choice .select2-selection__choice__display {
|
1134 |
padding: 0
|
1135 |
}
|
1136 |
|
1137 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
|
1138 |
float: right;
|
1139 |
margin-left: 3px;
|
1140 |
margin-right: 0;
|
1147 |
margin-top: 0
|
1148 |
}
|
1149 |
|
1150 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove:hover {
|
1151 |
background: 0 0
|
1152 |
}
|
1153 |
|
1154 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__clear {
|
1155 |
margin-top: 0;
|
1156 |
margin-right: 6px;
|
1157 |
font-size: 16px;
|
1161 |
position: relative
|
1162 |
}
|
1163 |
|
1164 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple button.select2-selection__clear {
|
1165 |
float: right
|
1166 |
}
|
1167 |
|
1168 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline {
|
1169 |
float: left;
|
1170 |
width: auto
|
1171 |
}
|
1172 |
|
1173 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field {
|
1174 |
margin-top: 4px;
|
1175 |
font-size: 14px;
|
1176 |
padding-left: 2px;
|
1177 |
margin-left: 0
|
1178 |
}
|
1179 |
|
1180 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field::-webkit-input-placeholder {
|
1181 |
color: #444
|
1182 |
}
|
1183 |
|
1184 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field::-moz-placeholder {
|
1185 |
color: #444
|
1186 |
}
|
1187 |
|
1188 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field:-ms-input-placeholder {
|
1189 |
color: #444
|
1190 |
}
|
1191 |
|
1192 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field::-ms-input-placeholder {
|
1193 |
color: #444
|
1194 |
}
|
1195 |
|
1196 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field::placeholder {
|
1197 |
color: #444
|
1198 |
}
|
1199 |
|
1200 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline:first-child:last-child .select2-search__field {
|
1201 |
padding-left: 6px
|
1202 |
}
|
1203 |
|
1204 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__rendered+.select2-search--inline {
|
1205 |
float: none;
|
1206 |
display: inline-block;
|
1207 |
vertical-align: top
|
1208 |
}
|
1209 |
|
1210 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__rendered+.select2-search--inline .select2-search__field {
|
1211 |
height: 22px;
|
1212 |
line-height: 1.4;
|
1213 |
padding-left: 0;
|
1216 |
margin-top: 4px !important
|
1217 |
}
|
1218 |
|
1219 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf.select2-container--focus .select2-selection--multiple,
|
1220 |
+
body:not(.acf-admin-6) .acf-field .select2-container.-acf.select2-container--open .select2-selection--multiple {
|
1221 |
border-color: #7e8993
|
1222 |
}
|
1223 |
|
1224 |
+
body:not(.acf-admin-6) .select2-selection__choice>code,
|
1225 |
+
body:not(.acf-admin-6) .select2-selection__rendered>code {
|
1226 |
font-size: 12px;
|
1227 |
padding: 3px;
|
1228 |
vertical-align: 1px;
|
1229 |
line-height: 12px
|
1230 |
}
|
1231 |
|
1232 |
+
body:not(.acf-admin-6) .select2-results__option>code {
|
1233 |
font-size: 12px
|
1234 |
}
|
1235 |
|
1236 |
+
body:not(.acf-admin-6) .acf-input-wrap .acf-is-prepended+.select2>.selection>.select2-selection {
|
1237 |
border-radius: 0 3px 3px 0 !important
|
1238 |
}
|
1239 |
|
1240 |
+
body:not(.acf-admin-6) .acf-input-wrap .acf-is-appended+.select2>.selection>.select2-selection {
|
1241 |
border-radius: 3px 0 0 3px !important
|
1242 |
}
|
1243 |
|
1244 |
+
body:not(.acf-admin-6) .acf-input-wrap .acf-is-prepended.acf-is-appended+.select2>.selection>.select2-selection {
|
1245 |
border-radius: 0 !important
|
1246 |
}
|
1247 |
|
assets/css/acfe-admin.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.widget.open{z-index:inherit!important}.menu-item-settings{position:initial}.acf-meta-box-wrap.-grid #acf-admin-tool-acfe-fg-local{display:none}.acf-tab-group li a .acfe-tab-badge{border-radius:100px;background:#ddd;width:18px;height:18px;font-size:12px;display:inline-block;vertical-align:text-bottom;padding:0;text-align:center;margin-left:5px;line-height:18px}.acf-tab-group li a:hover .acfe-tab-badge,.acf-tab-group li.active a .acfe-tab-badge{background:#f1f1f1}.acf-field>.acf-input>.acf-input-wrap{overflow:initial}.acf-field>.acf-input>.acf-input-append+.acf-input-wrap,.acf-field>.acf-input>.acf-input-prepend+.acf-input-wrap{overflow:hidden}.post-type-attachment #post-body-content #acf_after_title-sortables{margin:20px 0 0}.acf-admin-toolbar i.acf-icon,.acf-btn i.acf-icon{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:20px;height:20px;background-color:currentColor;border:none;border-radius:0;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;text-indent:500%;white-space:nowrap;overflow:hidden}body:not(.acf-admin-single-field-group) .acf-fields>.acf-tab-wrap .acf-tab-group li a{background:#f1f1f1;border-color:#ccd0d4}body:not(.acf-admin-single-field-group) .acf-fields>.acf-tab-wrap .acf-tab-group li a:hover,body:not(.acf-admin-single-field-group) .acf-fields>.acf-tab-wrap .acf-tab-group li.active a{background:#fff}body:not(.acf-admin-single-field-group) .acf-fields>.acf-tab-wrap:first-child .acf-tab-group{border-top:none}body:not(.acf-admin-single-field-group) .acf-tooltip{font-size:13px}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:1em}pre{display:block;padding:9.5px;margin:0;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f9f9f9;border:1px solid #ccc;border-radius:1px;white-space:pre-wrap;overflow:auto}pre>code{-webkit-user-select:inherit;-moz-user-select:inherit;-ms-user-select:inherit;user-select:inherit;padding:0;margin:0;background:0 0;font-size:1em;display:block}code{-webkit-user-select:all;-moz-user-select:all;user-select:all}code[contenteditable=true]{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.code-codemirror>.CodeMirror,.pre-codemirror>.CodeMirror{border:1px solid #ccc;height:auto;width:auto;background:#f9f9f9;padding:9px 6px}.code-codemirror>.CodeMirror .CodeMirror-selected,.pre-codemirror>.CodeMirror .CodeMirror-selected{background:#ddd!important}.code-codemirror>.CodeMirror .CodeMirror-lines,.pre-codemirror>.CodeMirror .CodeMirror-lines{padding:0}.code-codemirror{display:inline;vertical-align:middle}.code-codemirror>.CodeMirror{display:inline-block;padding:0}.acfe-pre-highlight{display:block;padding:9.5px;margin:0;line-height:1.42857143;color:#333;background-color:#f9f9f9;border:1px solid #ccc;border-radius:1px;overflow:auto;font-family:Menlo,Monaco,Consolas,Courier New,monospace;font-size:1em;white-space:nowrap}.acf-columns-2{margin-right:300px;clear:both}.acf-columns-2:after{display:block;clear:both;content:""}.acf-columns-2 .acf-column-1{float:left;width:100%}.acf-columns-2 .acf-column-2{float:right;margin-right:-300px;width:280px}html[dir=rtl] .acf-columns-2{margin-right:0;margin-left:300px}html[dir=rtl] .acf-columns-2 .acf-column-1{float:right}html[dir=rtl] .acf-columns-2 .acf-column-2{float:left;margin-right:0;margin-left:-300px}@media only screen and (max-width:850px){.acf-columns-2{margin-right:0}.acf-columns-2 .acf-column-1,.acf-columns-2 .acf-column-2{float:none;width:auto;margin:0}}.misc-pub-acfe-object-category::before,.misc-pub-acfe-object-data::before,.misc-pub-acfe-object-id::before,.misc-pub-acfe-object-meta::before,.misc-pub-acfe-object-role::before,.misc-pub-acfe-object-single-meta::before,.misc-pub-acfe-object-type::before{font:19px/1 dashicons;speak:never;display:inline-block;margin-left:-1px;padding-right:3px;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#8c8f94;content:"\f173";margin-right:1px}.misc-pub-acfe-object-id::before{content:"\f464"}.misc-pub-acfe-object-type::before{content:"\f109"}.misc-pub-acfe-object-role::before{content:"\f338"}.misc-pub-acfe-object-category::before{content:"\f318"}.misc-pub-acfe-object-data::before{content:"\f206"}.misc-pub-acfe-object-meta::before{content:"\f17e"}.misc-pub-acfe-object-single-meta::before{content:"\f106"}.acfe-list-postboxes .postbox>.postbox-header>h2.hndle{cursor:initial}.acfe-list-postboxes .postbox>.postbox-header>.handle-actions>.acf-hndle-cog{width:2.2rem}.acfe-list-postboxes .postbox>.postbox-header>.handle-actions>button,.acfe-list-postboxes .postbox>.postbox-header>.handle-actions>span{display:none}.acfe-list-postboxes .postbox>.acf-fields>#acf-form-data+.acf-field{border-top:none;margin-top:0}.acfe-list-postboxes.-side{min-width:auto!important}#acfe-clean-meta>.inside{margin:0!important;padding:15px 12px!important}.postbox#acfe-acf-custom-fields>.inside,.postbox#acfe-wp-custom-fields>.inside{padding:0;margin:0}.postbox#acfe-acf-custom-fields>.inside .wp-list-table,.postbox#acfe-wp-custom-fields>.inside .wp-list-table{border:0}.postbox#acfe-acf-custom-fields>.inside .wp-list-table .col-name,.postbox#acfe-wp-custom-fields>.inside .wp-list-table .col-name{width:30%}.postbox#acfe-acf-custom-fields>.inside .wp-list-table .col-value,.postbox#acfe-wp-custom-fields>.inside .wp-list-table .col-value{width:auto}.postbox#acfe-acf-custom-fields>.inside .wp-list-table .col-field-type,.postbox#acfe-wp-custom-fields>.inside .wp-list-table .col-field-type{width:100px}.postbox#acfe-acf-custom-fields>.inside .wp-list-table .col-field-group,.postbox#acfe-wp-custom-fields>.inside .wp-list-table .col-field-group{width:120px}.postbox#acfe-acf-custom-fields>.inside .wp-list-table .col-autoload,.postbox#acfe-wp-custom-fields>.inside .wp-list-table .col-autoload{width:65px}.postbox#acfe-acf-custom-fields+.acfe-dev-bulk,.postbox#acfe-wp-custom-fields+.acfe-dev-bulk{padding-top:0;margin-top:-8px;margin-bottom:20px}.postbox#acfe-acf-custom-fields+.acfe-dev-bulk:last-child,.postbox#acfe-wp-custom-fields+.acfe-dev-bulk:last-child{margin-bottom:0}.postbox#acfe-acf-custom-fields em,.postbox#acfe-wp-custom-fields em{color:#aaa}.postbox#acfe-acf-custom-fields .acfe-dev-meta-count,.postbox#acfe-wp-custom-fields .acfe-dev-meta-count{background:#72777c;padding:1px 5px;border-radius:4px;color:#fff;margin-left:7px;font-size:12px;margin-right:auto}.postbox#acfe-acf-custom-fields pre,.postbox#acfe-wp-custom-fields pre{max-height:200px;overflow:auto;white-space:pre}.postbox#acfe-acf-custom-fields pre.raw,.postbox#acfe-wp-custom-fields pre.raw{white-space:unset;margin-top:10px;max-width:100%}@media only screen and (max-width:1100px){.postbox#acfe-acf-custom-fields thead,.postbox#acfe-wp-custom-fields thead{display:none}.postbox#acfe-acf-custom-fields tbody tr,.postbox#acfe-wp-custom-fields tbody tr{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.postbox#acfe-acf-custom-fields tbody td,.postbox#acfe-acf-custom-fields tbody th,.postbox#acfe-wp-custom-fields tbody td,.postbox#acfe-wp-custom-fields tbody th{display:block}.postbox#acfe-acf-custom-fields tbody td:first-of-type,.postbox#acfe-wp-custom-fields tbody td:first-of-type{-webkit-box-flex:1;-ms-flex:1;flex:1}.postbox#acfe-acf-custom-fields tbody td:first-of-type strong,.postbox#acfe-wp-custom-fields tbody td:first-of-type strong{display:inline-block;word-break:break-all}.postbox#acfe-acf-custom-fields tbody td:first-of-type .row-actions,.postbox#acfe-wp-custom-fields tbody td:first-of-type .row-actions{display:inline-block;padding:0;float:right}@media only screen and (max-width:850px){.postbox#acfe-acf-custom-fields tbody td:first-of-type,.postbox#acfe-wp-custom-fields tbody td:first-of-type{line-height:2.2}.postbox#acfe-acf-custom-fields tbody td:first-of-type .row-actions,.postbox#acfe-wp-custom-fields tbody td:first-of-type .row-actions{left:auto}}.postbox#acfe-acf-custom-fields tbody td:first-of-type .row-actions .delete,.postbox#acfe-acf-custom-fields tbody td:first-of-type .row-actions a,.postbox#acfe-wp-custom-fields tbody td:first-of-type .row-actions .delete,.postbox#acfe-wp-custom-fields tbody td:first-of-type .row-actions a{padding:0}.postbox#acfe-acf-custom-fields tbody td:nth-child(3),.postbox#acfe-wp-custom-fields tbody td:nth-child(3){-webkit-box-flex:1;-ms-flex:1 1 100%;flex:1 1 100%}}.acf-settings-wrap .acf-box{margin:16px 0}.acf-box .title{padding:8px 12px}.acf-box .title h3{line-height:1.48}.acfe-module.acfe-module-post #minor-publishing-actions,.acfe-module.acfe-module-post #misc-publishing-actions #visibility,.acfe-module.acfe-module-post #misc-publishing-actions .edit-post-status,.acfe-module.acfe-module-post #misc-publishing-actions .edit-timestamp{display:none!important}.acfe-module.acfe-module-post .acfe-misc-export{padding-top:2px}.acfe-module.acfe-module-post .acfe-misc-export span.dashicons{font-size:18px;color:#82878c;line-height:1.2;width:18px;margin-right:4px}.acfe-module.acfe-module-post.post-new-php .acfe-misc-export{display:none}.acfe-module.acfe-module-posts .status-acf-disabled .column-title a,.acfe-module.acfe-module-posts .status-acf-disabled .column-title code{color:#555!important}.acfe-module.acfe-module-posts .status-acf-disabled .column-title strong{color:#a0a5aa}.acfe-module.acfe-module-posts .column-acfe-autoload,.acfe-module.acfe-module-posts .column-acfe-position,.acfe-module.acfe-module-posts .column-acfe-posts,.acfe-module.acfe-module-posts .column-acfe-terms{width:120px}.acfe-module.acfe-module-posts .column-acfe-post-id{width:200px}ul.acfe-module-export-choices{-webkit-column-width:200px;-moz-column-width:200px;column-width:200px}.wrap .acfe-edit-module-button{display:inline-block;padding-left:4px;padding-right:4px}.wrap .acfe-edit-module-button:active{padding-left:4px;padding-right:4px}.wrap .acfe-edit-module-button span{font-size:16px;vertical-align:text-top;height:15px;width:19px;line-height:19px}#acfe-author>.inside{margin:0;padding:0}#acfe-author>.inside>.acf-field{margin:0;padding:15px 12px}.wp-list-table .column-acfe-load{width:70px}.wp-list-table .column-acfe-source{width:150px}.wp-list-table .column-acfe-autosync-json,.wp-list-table .column-acfe-autosync-php{width:90px;text-align:center!important}.wp-list-table .column-acfe-autosync-json .secondary,.wp-list-table .column-acfe-autosync-php .secondary{color:#ccc}.wp-list-table .column-acfe-autosync-json .dashicons-warning,.wp-list-table .column-acfe-autosync-php .dashicons-warning{font-size:15px;vertical-align:middle}.wp-list-table .column-acfe-autosync-json .dashicons-update,.wp-list-table .column-acfe-autosync-php .dashicons-update{font-size:18px}.wp-list-table .column-acfe-autosync-json .dashicons+.dashicons-warning,.wp-list-table .column-acfe-autosync-php .dashicons+.dashicons-warning{margin-left:-3px}.wp-list-table .column-acfe-autosync-json a:focus,.wp-list-table .column-acfe-autosync-php a:focus{-webkit-box-shadow:none;box-shadow:none}.acf-field[data-name=acfe_autosync] .dashicons-warning{color:#ccc;font-size:15px;height:15px;vertical-align:text-bottom}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-type=acfe_dynamic_render][data-key*="_doc"]{padding:0!important;border:0!important;position:absolute!important;top:12px;right:11px;z-index:3}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-type=acfe_dynamic_render][data-key*="_doc"]::before{background:0 0!important;border:0!important}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-type=acfe_dynamic_render][data-key*="_doc"]>.acf-label{min-height:0!important}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-type=acfe_dynamic_render][data-key*="_doc"]>.acf-input{float:none!important;width:auto!important;padding:0!important}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-type=acfe_dynamic_render][data-key*="_doc"]+.acf-field,.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-type=acfe_dynamic_render][data-key*="_doc"]+.acf-tab-wrap>.acf-tab-group{border-top:0}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=load_acf_fields],.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_acf_fields]{padding:0}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=load_acf_fields]>.acf-label,.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_acf_fields]>.acf-label{padding:15px 12px}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=load_acf_fields]>.acf-input,.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_acf_fields]>.acf-input{padding:0}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=load_acf_fields] ul li label,.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_acf_fields] ul li label{display:block;padding:8px 12px;border-bottom:1px solid #e1e1e1}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=load_acf_fields] ul li:last-child label,.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_acf_fields] ul li:last-child label{border-bottom:0}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=load_acf_fields] ul li input,.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_acf_fields] ul li input{margin-right:7px}.acfe-module.acfe-module-form.acfe-module-post .acf-field>.acf-input.acfe-display-related-message>:not(.related-message):not(.append-terms){display:none}.acfe-module.acfe-module-form.acfe-module-post .acf-field>.acf-input.acfe-display-related-message .related-message{font-size:14px}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_post_terms]>.acf-input{display:-webkit-box;display:-ms-flexbox;display:flex}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_post_terms]>.acf-input .select2.select2-container{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0;width:83%!important}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_post_terms]>.acf-input .related-message{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_post_terms]>.acf-input .acf-input.append-terms{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2;margin-top:3px;width:17%;padding-left:15px}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_post_terms]>.acf-input.acfe-display-related-message .acf-input.append-terms{margin-top:0}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_post_terms]>.acf-input.acfe-display-related-message .related-message{width:83%}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=files]>.acf-input .acf-actions,.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=files_static]>.acf-input .acf-actions{text-align:left}.acfe-module.acfe-module-form.acfe-module-post .select2-results__options .loading-results,.acfe-module.acfe-module-form.acfe-module-post .select2-results__options .select2-results__message{display:none}.settings_page_acfe-options .column-option_id{width:65px}.settings_page_acfe-options .column-option_name{width:435px}.settings_page_acfe-options .column-autoload{width:100px;text-align:center}#acfe-admin-settings .inside>.acf-field{display:-webkit-box;display:-ms-flexbox;display:flex;padding:0}#acfe-admin-settings .inside>.acf-field>.acf-label{padding-top:15px;padding-bottom:15px;float:none;display:block}#acfe-admin-settings .inside>.acf-field>.acf-input{display:-webkit-box;display:-ms-flexbox;display:flex;float:none;padding:0}#acfe-admin-settings .inside>.acf-field>.acf-input>div{-webkit-box-flex:1;-ms-flex:1 1 50%;flex:1 1 50%;max-width:50%;padding:8px;min-width:0}#acfe-admin-settings .inside>.acf-field>.acf-input>div:nth-child(2){border-left:1px solid #eee}#acfe-admin-settings .inside>.acf-field>.acf-input .acfe-settings-text{overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:inline-block}#acfe-admin-settings .inside>.acf-field>.acf-input .acfe-settings-text>code{font-size:12px}#acfe-admin-settings .inside>.acf-field>.acf-input .dashicons-saved{font-size:21px;display:inline}#acfe-admin-settings .inside>.acf-field>.acf-input .dashicons-no-alt{color:#ccc;font-size:21px;display:inline}#acfe-admin-settings .inside>.acf-field.acfe-settings-thead>.acf-input{padding:0;border-bottom:1px solid #eee}#acfe-admin-settings .inside>.acf-field.acfe-settings-thead+.acf-field{border-top:0}.acf-postbox.seamless>.inside>.acf-field{padding:15px 12px}.acf-flexible-content .layout.ui-sortable-helper:first-child{margin-top:20px}.acf-flexible-content .layout.ui-sortable-helper:first-child+.layout.ui-sortable-placeholder{margin-top:0}.acf-fields.-top>.acf-field-flexible-content>.acf-input>.acf-flexible-content>.values>.layout.ui-sortable-helper:first-child{margin-top:10px}.acfe-postbox.acfe-postbox-no-handle h2.hndle{cursor:initial}.acfe-postbox.acfe-postbox-no-handle .handlediv{display:none}.acfe-postbox-top>.inside{position:relative}.acfe-postbox-top>.inside.-border{border:1px solid #ccd0d4;background:#fff}.acfe-postbox-top>.inside>.acf-field{position:relative;margin:0;padding:15px 12px;border-top:1px solid #eee}.acfe-postbox-top>.inside>.acf-field:first-child{border-top:none;margin-top:0}.acfe-postbox-left>.inside{position:relative}.acfe-postbox-left>.inside.-border{border:1px solid #ccd0d4;background:#fff}.acfe-postbox-left>.inside:after{display:block;clear:both;content:""}.acfe-postbox-left>.inside>.acf-field{position:relative;margin:0;border-top:1px solid #eee;padding:15px 0}.acfe-postbox-left>.inside>.acf-field:first-child{border-top:none;margin-top:0}.acfe-postbox-left>.inside>.acf-field:after{display:block;clear:both;content:""}.acfe-postbox-left>.inside>.acf-field:before{content:"";display:block;position:absolute;z-index:0;background:#f9f9f9;border-color:#e1e1e1;border-style:solid;border-width:0 1px 0 0;top:0;bottom:0;left:0;width:20%}.acfe-postbox-left>.inside>.acf-field[data-width]{float:none;width:auto!important;border-left-width:0!important;border-right-width:0!important}.acfe-postbox-left>.inside>.acf-field>.acf-label{float:left;width:20%;margin:0;padding:0 12px}.acfe-postbox-left>.inside>.acf-field>.acf-input{float:left;width:80%;margin:0;padding:0 12px}.acfe-postbox-left>.inside.-clear>.acf-field{border:none;padding:0;margin:15px 0}html[dir=rtl] .acfe-postbox-left>.inside>.acf-field:before{border-width:0 0 0 1px;left:auto;right:0}html[dir=rtl] .acfe-postbox-left>.inside>.acf-field>.acf-input,html[dir=rtl] .acfe-postbox-left>.inside>.acf-field>.acf-label{float:right}#side-sortables .acfe-postbox-left>.inside>.acf-field:before{display:none}#side-sortables .acfe-postbox-left>.inside>.acf-field>.acf-label{width:100%;margin-bottom:10px}#side-sortables .acfe-postbox-left>.inside>.acf-field>.acf-input{width:100%}@media screen and (max-width:640px){.acfe-postbox-left>.inside>.acf-field:before{display:none}.acfe-postbox-left>.inside>.acf-field>.acf-label{width:100%;margin-bottom:10px}.acfe-postbox-left>.inside>.acf-field>.acf-input{width:100%}}@media screen and (min-width:783px){.postbox .handle-order-higher,.postbox .handle-order-lower{visibility:hidden}.postbox:hover .handle-order-higher,.postbox:hover .handle-order-lower{visibility:visible}}.postbox .handlediv{width:1.62rem}.postbox .handlediv .toggle-indicator::before{text-indent:-7px;top:.1rem}.postbox .handle-order-higher,.postbox .handle-order-lower{vertical-align:bottom;width:1.42rem}.postbox .handle-order-higher .order-higher-indicator::before,.postbox .handle-order-higher .order-lower-indicator::before,.postbox .handle-order-lower .order-higher-indicator::before,.postbox .handle-order-lower .order-lower-indicator::before{font-size:15px;top:.23rem}#poststuff .stuffbox>h3,#poststuff h2,#poststuff h3.hndle{line-height:1.48}body.is-dragging-metaboxes #acf_after_title-sortables{outline:#646970 dashed 3px;display:flow-root;min-height:60px;margin-bottom:3px!important}.edit-post-layout__metaboxes:not(:empty){background:#f3f4f5;padding:10px 10px 0!important}.edit-post-layout__metaboxes .edit-post-meta-boxes-area .postbox{margin-bottom:10px;border:1px solid #e1e1e1}.edit-post-layout__metaboxes .edit-post-meta-boxes-area .postbox>.postbox-header{border-top:0;border-bottom:1px solid #ddd}.edit-post-layout__metaboxes .edit-post-meta-boxes-area .postbox.closed>.postbox-header,.edit-post-layout__metaboxes .edit-post-meta-boxes-area .postbox>.inside{border-bottom:0}.acf-field .select2-container.-acf .select2-selection--single{border-radius:3px;height:30px;outline:0}.acf-field .select2-container.-acf .select2-selection--single .select2-selection__rendered{font-size:14px;height:28px;line-height:27px;padding-right:23px}.acf-field .select2-container.-acf .select2-selection--single .select2-selection__clear{line-height:26px;height:28px;font-size:16px;margin-right:0}.acf-field .select2-container.-acf .select2-selection--single button.select2-selection__clear{position:absolute;right:24px;padding:0}.acf-field .select2-container.-acf .select2-selection--single button.select2-selection__clear span{line-height:26px;height:28px;display:inline-block}.acf-field .select2-container.-acf .select2-selection--single .select2-selection__placeholder{color:#444}.acf-field .select2-container.-acf .select2-selection--single .select2-selection__arrow{height:28px}.acf-field .select2-container.-acf .select2-selection--single .select2-selection__arrow b{background:url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') 0 0/16px 16px no-repeat;border:0;width:16px;height:16px;margin-left:-11px;margin-top:-7px}.acf-field .select2-container.-acf.select2-container--open .select2-selection--single,.acf-field .select2-container.-acf:focus .select2-selection--single{border-color:#007cba;color:#016087;-webkit-box-shadow:0 0 0 1px #007cba;box-shadow:0 0 0 1px #007cba}.select2-container .select2-dropdown{margin-top:0;border-color:#aaa!important}.select2-container .select2-dropdown .select2-search--dropdown .select2-search__field{min-height:30px;border:0;-webkit-box-shadow:none;box-shadow:none;padding:0 2px}.select2-container .select2-dropdown .select2-search--dropdown .select2-search__field::-webkit-input-placeholder{color:#777}.select2-container .select2-dropdown .select2-search--dropdown .select2-search__field::-moz-placeholder{color:#777}.select2-container .select2-dropdown .select2-search--dropdown .select2-search__field:-ms-input-placeholder{color:#777}.select2-container .select2-dropdown .select2-search--dropdown .select2-search__field::-ms-input-placeholder{color:#777}.select2-container .select2-dropdown .select2-search--dropdown .select2-search__field::placeholder{color:#777}.select2-container .select2-dropdown .select2-results__option{margin-bottom:0}.acf-field .select2-container.-acf .select2-selection--multiple{min-height:30px;line-height:1;border-radius:3px;padding:0}.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__rendered{padding:0 2px;display:inline-block;margin:0}.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__choice{margin-right:2px;margin-top:2px;line-height:1.6;border-radius:3px;font-size:14px;margin-left:0;display:inline-block;vertical-align:unset;padding:0 5px}.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__choice .select2-selection__choice__display{padding:0}.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove{float:right;margin-left:3px;margin-right:0;line-height:23px;font-size:15px;vertical-align:text-top;position:static;padding:0;border:0;margin-top:0}.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove:hover{background:0 0}.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__clear{margin-top:0;margin-right:6px;font-size:16px;padding:0;line-height:26px;height:27px;position:relative}.acf-field .select2-container.-acf .select2-selection--multiple button.select2-selection__clear{float:right}.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline{float:left;width:auto}.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field{margin-top:4px;font-size:14px;padding-left:2px;margin-left:0}.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field::-webkit-input-placeholder{color:#444}.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field::-moz-placeholder{color:#444}.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field:-ms-input-placeholder{color:#444}.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field::-ms-input-placeholder{color:#444}.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field::placeholder{color:#444}.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline:first-child:last-child .select2-search__field{padding-left:6px}.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__rendered+.select2-search--inline{float:none;display:inline-block;vertical-align:top}.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__rendered+.select2-search--inline .select2-search__field{height:22px;line-height:1.4;padding-left:0;font-family:inherit;border-radius:0;margin-top:4px!important}.acf-field .select2-container.-acf.select2-container--focus .select2-selection--multiple,.acf-field .select2-container.-acf.select2-container--open .select2-selection--multiple{border-color:#7e8993}.select2-selection__choice>code,.select2-selection__rendered>code{font-size:12px;padding:3px;vertical-align:1px;line-height:12px}.select2-results__option>code{font-size:12px}.acf-input-wrap .acf-is-prepended+.select2>.selection>.select2-selection{border-radius:0 3px 3px 0!important}.acf-input-wrap .acf-is-appended+.select2>.selection>.select2-selection{border-radius:3px 0 0 3px!important}.acf-input-wrap .acf-is-prepended.acf-is-appended+.select2>.selection>.select2-selection{border-radius:0!important}body:not(.acf-admin-5-3) .acf-field .select2-container .select2-selection,body:not(.acf-admin-5-3) .acf-field .select2-container .select2-selection__choice{border-color:#dfdfdf!important;border-radius:0!important}body:not(.acf-admin-5-3) .acf-field .select2-container .select2-search--inline .select2-search__field{margin-top:0!important}body:not(.acf-admin-5-3) .acf-field .select2-dropdown{border-color:#dfdfdf!important;border-radius:0!important}
|
1 |
+
.widget.open{z-index:inherit!important}.menu-item-settings{position:initial}.acf-meta-box-wrap.-grid #acf-admin-tool-acfe-fg-local{display:none}.acf-tab-group li a .acfe-tab-badge{border-radius:100px;background:#ddd;width:18px;height:18px;font-size:12px;display:inline-block;vertical-align:text-bottom;padding:0;text-align:center;margin-left:5px;line-height:18px}.acf-tab-group li a:hover .acfe-tab-badge,.acf-tab-group li.active a .acfe-tab-badge{background:#f1f1f1}.acf-field>.acf-input>.acf-input-wrap{overflow:initial}.acf-field>.acf-input>.acf-input-append+.acf-input-wrap,.acf-field>.acf-input>.acf-input-prepend+.acf-input-wrap{overflow:hidden}.post-type-attachment #post-body-content #acf_after_title-sortables{margin:20px 0 0}.acf-admin-toolbar i.acf-icon,.acf-btn i.acf-icon{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:20px;height:20px;background-color:currentColor;border:none;border-radius:0;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;text-indent:500%;white-space:nowrap;overflow:hidden}body:not(.acf-admin-single-field-group) .acf-tooltip{font-size:13px}@media only screen and (max-width:1300px){.acf-admin-toolbar i.acf-icon{display:none!important}}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:1em}pre{display:block;padding:9.5px;margin:0;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f9f9f9;border:1px solid #ccc;border-radius:1px;white-space:pre-wrap;overflow:auto}pre>code{-webkit-user-select:inherit;-moz-user-select:inherit;-ms-user-select:inherit;user-select:inherit;padding:0;margin:0;background:0 0;font-size:1em;display:block}code{-webkit-user-select:all;-moz-user-select:all;user-select:all}code[contenteditable=true]{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.code-codemirror>.CodeMirror,.pre-codemirror>.CodeMirror{border:1px solid #ccc;height:auto;width:auto;background:#f9f9f9;padding:9px 6px}.code-codemirror>.CodeMirror .CodeMirror-selected,.pre-codemirror>.CodeMirror .CodeMirror-selected{background:#ddd!important}.code-codemirror>.CodeMirror .CodeMirror-lines,.pre-codemirror>.CodeMirror .CodeMirror-lines{padding:0}.code-codemirror{display:inline;vertical-align:middle}.code-codemirror>.CodeMirror{display:inline-block;padding:0}.acfe-pre-highlight{display:block;padding:9.5px;margin:0;line-height:1.42857143;color:#333;background-color:#f9f9f9;border:1px solid #ccc;border-radius:1px;overflow:auto;font-family:Menlo,Monaco,Consolas,Courier New,monospace;font-size:1em;white-space:nowrap}.acf-columns-2{margin-right:300px;clear:both}.acf-columns-2:after{display:block;clear:both;content:""}.acf-columns-2 .acf-column-1{float:left;width:100%}.acf-columns-2 .acf-column-2{float:right;margin-right:-300px;width:280px}html[dir=rtl] .acf-columns-2{margin-right:0;margin-left:300px}html[dir=rtl] .acf-columns-2 .acf-column-1{float:right}html[dir=rtl] .acf-columns-2 .acf-column-2{float:left;margin-right:0;margin-left:-300px}@media only screen and (max-width:850px){.acf-columns-2{margin-right:0}.acf-columns-2 .acf-column-1,.acf-columns-2 .acf-column-2{float:none;width:auto;margin:0}}.misc-pub-acfe-object-category::before,.misc-pub-acfe-object-data::before,.misc-pub-acfe-object-id::before,.misc-pub-acfe-object-meta::before,.misc-pub-acfe-object-role::before,.misc-pub-acfe-object-single-meta::before,.misc-pub-acfe-object-type::before{font:19px/1 dashicons;speak:never;display:inline-block;margin-left:-1px;padding-right:3px;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#8c8f94;content:"\f173";margin-right:1px}.misc-pub-acfe-object-id::before{content:"\f464"}.misc-pub-acfe-object-type::before{content:"\f109"}.misc-pub-acfe-object-role::before{content:"\f338"}.misc-pub-acfe-object-category::before{content:"\f318"}.misc-pub-acfe-object-data::before{content:"\f206"}.misc-pub-acfe-object-meta::before{content:"\f17e"}.misc-pub-acfe-object-single-meta::before{content:"\f106"}.acfe-list-postboxes .postbox>.postbox-header>h2.hndle{cursor:initial}.acfe-list-postboxes .postbox>.postbox-header>.handle-actions>.acf-hndle-cog{width:2.2rem}.acfe-list-postboxes .postbox>.postbox-header>.handle-actions>button,.acfe-list-postboxes .postbox>.postbox-header>.handle-actions>span{display:none}.acfe-list-postboxes .postbox>.acf-fields>#acf-form-data+.acf-field{border-top:none;margin-top:0}.acfe-list-postboxes.-side{min-width:auto!important}#acfe-clean-meta>.inside{margin:0!important;padding:15px 12px!important}.postbox#acfe-acf-custom-fields>.inside,.postbox#acfe-wp-custom-fields>.inside{padding:0;margin:0}.postbox#acfe-acf-custom-fields>.inside .wp-list-table,.postbox#acfe-wp-custom-fields>.inside .wp-list-table{border:0}.postbox#acfe-acf-custom-fields>.inside .wp-list-table .col-name,.postbox#acfe-wp-custom-fields>.inside .wp-list-table .col-name{width:30%}.postbox#acfe-acf-custom-fields>.inside .wp-list-table .col-value,.postbox#acfe-wp-custom-fields>.inside .wp-list-table .col-value{width:auto}.postbox#acfe-acf-custom-fields>.inside .wp-list-table .col-field-type,.postbox#acfe-wp-custom-fields>.inside .wp-list-table .col-field-type{width:100px}.postbox#acfe-acf-custom-fields>.inside .wp-list-table .col-field-group,.postbox#acfe-wp-custom-fields>.inside .wp-list-table .col-field-group{width:120px}.postbox#acfe-acf-custom-fields>.inside .wp-list-table .col-autoload,.postbox#acfe-wp-custom-fields>.inside .wp-list-table .col-autoload{width:65px}.postbox#acfe-acf-custom-fields+.acfe-dev-bulk,.postbox#acfe-wp-custom-fields+.acfe-dev-bulk{padding-top:0;margin-top:-8px;margin-bottom:20px}.postbox#acfe-acf-custom-fields+.acfe-dev-bulk:last-child,.postbox#acfe-wp-custom-fields+.acfe-dev-bulk:last-child{margin-bottom:0}.postbox#acfe-acf-custom-fields em,.postbox#acfe-wp-custom-fields em{color:#aaa}.postbox#acfe-acf-custom-fields .acfe-dev-meta-count,.postbox#acfe-wp-custom-fields .acfe-dev-meta-count{background:#72777c;padding:1px 5px;border-radius:4px;color:#fff;margin-left:7px;font-size:12px;margin-right:auto}.postbox#acfe-acf-custom-fields pre,.postbox#acfe-wp-custom-fields pre{max-height:200px;overflow:auto;white-space:pre}.postbox#acfe-acf-custom-fields pre.raw,.postbox#acfe-wp-custom-fields pre.raw{white-space:unset;margin-top:10px;max-width:100%}@media only screen and (max-width:1100px){.postbox#acfe-acf-custom-fields thead,.postbox#acfe-wp-custom-fields thead{display:none}.postbox#acfe-acf-custom-fields tbody tr,.postbox#acfe-wp-custom-fields tbody tr{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.postbox#acfe-acf-custom-fields tbody td,.postbox#acfe-acf-custom-fields tbody th,.postbox#acfe-wp-custom-fields tbody td,.postbox#acfe-wp-custom-fields tbody th{display:block}.postbox#acfe-acf-custom-fields tbody td:first-of-type,.postbox#acfe-wp-custom-fields tbody td:first-of-type{-webkit-box-flex:1;-ms-flex:1;flex:1}.postbox#acfe-acf-custom-fields tbody td:first-of-type strong,.postbox#acfe-wp-custom-fields tbody td:first-of-type strong{display:inline-block;word-break:break-all}.postbox#acfe-acf-custom-fields tbody td:first-of-type .row-actions,.postbox#acfe-wp-custom-fields tbody td:first-of-type .row-actions{display:inline-block;padding:0;float:right}@media only screen and (max-width:850px){.postbox#acfe-acf-custom-fields tbody td:first-of-type,.postbox#acfe-wp-custom-fields tbody td:first-of-type{line-height:2.2}.postbox#acfe-acf-custom-fields tbody td:first-of-type .row-actions,.postbox#acfe-wp-custom-fields tbody td:first-of-type .row-actions{left:auto}}.postbox#acfe-acf-custom-fields tbody td:first-of-type .row-actions .delete,.postbox#acfe-acf-custom-fields tbody td:first-of-type .row-actions a,.postbox#acfe-wp-custom-fields tbody td:first-of-type .row-actions .delete,.postbox#acfe-wp-custom-fields tbody td:first-of-type .row-actions a{padding:0}.postbox#acfe-acf-custom-fields tbody td:nth-child(3),.postbox#acfe-wp-custom-fields tbody td:nth-child(3){-webkit-box-flex:1;-ms-flex:1 1 100%;flex:1 1 100%}}.acf-settings-wrap .acf-box{margin:16px 0}.acf-box .title{padding:8px 12px}.acf-box .title h3{line-height:1.48}.acfe-module.acfe-module-post #minor-publishing-actions,.acfe-module.acfe-module-post #misc-publishing-actions #visibility,.acfe-module.acfe-module-post #misc-publishing-actions .edit-post-status,.acfe-module.acfe-module-post #misc-publishing-actions .edit-timestamp{display:none!important}.acfe-module.acfe-module-post .acfe-misc-export{padding-top:2px}.acfe-module.acfe-module-post .acfe-misc-export span.dashicons{font-size:18px;color:#82878c;line-height:1.2;width:18px;margin-right:4px}.acfe-module.acfe-module-post.post-new-php .acfe-misc-export{display:none}.acfe-module.acfe-module-posts .status-acf-disabled .column-title a,.acfe-module.acfe-module-posts .status-acf-disabled .column-title code{color:#555!important}.acfe-module.acfe-module-posts .status-acf-disabled .column-title strong{color:#a0a5aa}.acfe-module.acfe-module-posts .column-acfe-autoload,.acfe-module.acfe-module-posts .column-acfe-position,.acfe-module.acfe-module-posts .column-acfe-posts,.acfe-module.acfe-module-posts .column-acfe-terms{width:120px}.acfe-module.acfe-module-posts .column-acfe-post-id{width:200px}ul.acfe-module-export-choices{-webkit-column-width:200px;-moz-column-width:200px;column-width:200px}.wrap .acfe-edit-module-button{display:inline-block;padding-left:4px;padding-right:4px}.wrap .acfe-edit-module-button:active{padding-left:4px;padding-right:4px}.wrap .acfe-edit-module-button span{font-size:16px;vertical-align:text-top;height:15px;width:19px;line-height:19px}#acfe-author>.inside{margin:0;padding:0}#acfe-author>.inside>.acf-field{margin:0;padding:15px 12px}.wp-list-table .column-acfe-load{width:70px}.wp-list-table .column-acfe-source{width:150px}.wp-list-table .column-acfe-autosync-json,.wp-list-table .column-acfe-autosync-php{width:90px;text-align:center!important}.wp-list-table .column-acfe-autosync-json .secondary,.wp-list-table .column-acfe-autosync-php .secondary{color:#ccc}.wp-list-table .column-acfe-autosync-json .dashicons-warning,.wp-list-table .column-acfe-autosync-php .dashicons-warning{font-size:15px;vertical-align:middle}.wp-list-table .column-acfe-autosync-json .dashicons-update,.wp-list-table .column-acfe-autosync-php .dashicons-update{font-size:18px}.wp-list-table .column-acfe-autosync-json .dashicons+.dashicons-warning,.wp-list-table .column-acfe-autosync-php .dashicons+.dashicons-warning{margin-left:-3px}.wp-list-table .column-acfe-autosync-json a:focus,.wp-list-table .column-acfe-autosync-php a:focus{-webkit-box-shadow:none;box-shadow:none}.acf-field[data-name=acfe_autosync] .dashicons-warning{color:#ccc;font-size:15px;height:15px;vertical-align:text-bottom}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-type=acfe_dynamic_render][data-key*="_doc"]{padding:0!important;border:0!important;position:absolute!important;top:12px;right:11px;z-index:3}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-type=acfe_dynamic_render][data-key*="_doc"]::before{background:0 0!important;border:0!important}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-type=acfe_dynamic_render][data-key*="_doc"]>.acf-label{min-height:0!important}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-type=acfe_dynamic_render][data-key*="_doc"]>.acf-input{float:none!important;width:auto!important;padding:0!important}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-type=acfe_dynamic_render][data-key*="_doc"]+.acf-field,.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-type=acfe_dynamic_render][data-key*="_doc"]+.acf-tab-wrap>.acf-tab-group{border-top:0}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=load_acf_fields],.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_acf_fields]{padding:0}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=load_acf_fields]>.acf-label,.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_acf_fields]>.acf-label{padding:15px 12px}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=load_acf_fields]>.acf-input,.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_acf_fields]>.acf-input{padding:0}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=load_acf_fields] ul li label,.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_acf_fields] ul li label{display:block;padding:8px 12px;border-bottom:1px solid #e1e1e1}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=load_acf_fields] ul li:last-child label,.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_acf_fields] ul li:last-child label{border-bottom:0}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=load_acf_fields] ul li input,.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_acf_fields] ul li input{margin-right:7px}.acfe-module.acfe-module-form.acfe-module-post .acf-field>.acf-input.acfe-display-related-message>:not(.related-message):not(.append-terms){display:none}.acfe-module.acfe-module-form.acfe-module-post .acf-field>.acf-input.acfe-display-related-message .related-message{font-size:14px}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_post_terms]>.acf-input{display:-webkit-box;display:-ms-flexbox;display:flex}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_post_terms]>.acf-input .select2.select2-container{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0;width:83%!important}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_post_terms]>.acf-input .related-message{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_post_terms]>.acf-input .acf-input.append-terms{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2;margin-top:3px;width:17%;padding-left:15px}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_post_terms]>.acf-input.acfe-display-related-message .acf-input.append-terms{margin-top:0}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_post_terms]>.acf-input.acfe-display-related-message .related-message{width:83%}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=files]>.acf-input .acf-actions,.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=files_static]>.acf-input .acf-actions{text-align:left}.acfe-module.acfe-module-form.acfe-module-post .select2-results__options .loading-results,.acfe-module.acfe-module-form.acfe-module-post .select2-results__options .select2-results__message{display:none}.settings_page_acfe-options .column-option_id{width:65px}.settings_page_acfe-options .column-option_name{width:435px}.settings_page_acfe-options .column-autoload{width:100px;text-align:center}#acfe-admin-settings .inside>.acf-field{display:-webkit-box;display:-ms-flexbox;display:flex;padding:0}#acfe-admin-settings .inside>.acf-field>.acf-label{padding-top:15px;padding-bottom:15px;float:none;display:block}#acfe-admin-settings .inside>.acf-field>.acf-input{display:-webkit-box;display:-ms-flexbox;display:flex;float:none;padding:0}#acfe-admin-settings .inside>.acf-field>.acf-input>div{-webkit-box-flex:1;-ms-flex:1 1 50%;flex:1 1 50%;max-width:50%;padding:8px;min-width:0}#acfe-admin-settings .inside>.acf-field>.acf-input>div:nth-child(2){border-left:1px solid #eee}#acfe-admin-settings .inside>.acf-field>.acf-input .acfe-settings-text{overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:inline-block}#acfe-admin-settings .inside>.acf-field>.acf-input .acfe-settings-text>code{font-size:12px}#acfe-admin-settings .inside>.acf-field>.acf-input .dashicons-saved{font-size:21px;display:inline}#acfe-admin-settings .inside>.acf-field>.acf-input .dashicons-no-alt{color:#ccc;font-size:21px;display:inline}#acfe-admin-settings .inside>.acf-field.acfe-settings-thead>.acf-input{padding:0;border-bottom:1px solid #eee}#acfe-admin-settings .inside>.acf-field.acfe-settings-thead+.acf-field{border-top:0}.acf-postbox.seamless>.inside>.acf-field{padding:15px 12px}.acf-flexible-content .layout.ui-sortable-helper:first-child{margin-top:20px}.acf-flexible-content .layout.ui-sortable-helper:first-child+.layout.ui-sortable-placeholder{margin-top:0}.acf-fields.-top>.acf-field-flexible-content>.acf-input>.acf-flexible-content>.values>.layout.ui-sortable-helper:first-child{margin-top:10px}.acfe-postbox.acfe-postbox-no-handle h2.hndle{cursor:initial}.acfe-postbox.acfe-postbox-no-handle .handlediv{display:none}.acfe-postbox-top>.inside{position:relative}.acfe-postbox-top>.inside.-border{border:1px solid #ccd0d4;background:#fff}.acfe-postbox-top>.inside>.acf-field{position:relative;margin:0;padding:15px 12px;border-top:1px solid #eee}.acfe-postbox-top>.inside>.acf-field:first-child{border-top:none;margin-top:0}.acfe-postbox-left>.inside{position:relative}.acfe-postbox-left>.inside.-border{border:1px solid #ccd0d4;background:#fff}.acfe-postbox-left>.inside:after{display:block;clear:both;content:""}.acfe-postbox-left>.inside>.acf-field{position:relative;margin:0;border-top:1px solid #eee;padding:15px 0}.acfe-postbox-left>.inside>.acf-field:first-child{border-top:none;margin-top:0}.acfe-postbox-left>.inside>.acf-field:after{display:block;clear:both;content:""}.acfe-postbox-left>.inside>.acf-field:before{content:"";display:block;position:absolute;z-index:0;background:#f9f9f9;border-color:#e1e1e1;border-style:solid;border-width:0 1px 0 0;top:0;bottom:0;left:0;width:20%}.acfe-postbox-left>.inside>.acf-field[data-width]{float:none;width:auto!important;border-left-width:0!important;border-right-width:0!important}.acfe-postbox-left>.inside>.acf-field>.acf-label{float:left;width:20%;margin:0;padding:0 12px}.acfe-postbox-left>.inside>.acf-field>.acf-input{float:left;width:80%;margin:0;padding:0 12px}.acfe-postbox-left>.inside.-clear>.acf-field{border:none;padding:0;margin:15px 0}html[dir=rtl] .acfe-postbox-left>.inside>.acf-field:before{border-width:0 0 0 1px;left:auto;right:0}html[dir=rtl] .acfe-postbox-left>.inside>.acf-field>.acf-input,html[dir=rtl] .acfe-postbox-left>.inside>.acf-field>.acf-label{float:right}#side-sortables .acfe-postbox-left>.inside>.acf-field:before{display:none}#side-sortables .acfe-postbox-left>.inside>.acf-field>.acf-label{width:100%;margin-bottom:10px}#side-sortables .acfe-postbox-left>.inside>.acf-field>.acf-input{width:100%}@media screen and (max-width:640px){.acfe-postbox-left>.inside>.acf-field:before{display:none}.acfe-postbox-left>.inside>.acf-field>.acf-label{width:100%;margin-bottom:10px}.acfe-postbox-left>.inside>.acf-field>.acf-input{width:100%}}@media screen and (min-width:783px){.postbox .handle-order-higher,.postbox .handle-order-lower{visibility:hidden}.postbox:hover .handle-order-higher,.postbox:hover .handle-order-lower{visibility:visible}}.postbox .handlediv{width:1.62rem}.postbox .handlediv .toggle-indicator::before{text-indent:-7px;top:.1rem}.postbox .handle-order-higher,.postbox .handle-order-lower{vertical-align:bottom;width:1.42rem}.postbox .handle-order-higher .order-higher-indicator::before,.postbox .handle-order-higher .order-lower-indicator::before,.postbox .handle-order-lower .order-higher-indicator::before,.postbox .handle-order-lower .order-lower-indicator::before{font-size:15px;top:.23rem}#poststuff .stuffbox>h3,#poststuff h2,#poststuff h3.hndle{line-height:1.48}body.is-dragging-metaboxes #acf_after_title-sortables{outline:#646970 dashed 3px;display:flow-root;min-height:60px;margin-bottom:3px!important}.edit-post-layout__metaboxes:not(:empty){background:#f3f4f5;padding:10px 10px 0!important}.edit-post-layout__metaboxes .edit-post-meta-boxes-area .postbox{margin-bottom:10px;border:1px solid #e1e1e1}.edit-post-layout__metaboxes .edit-post-meta-boxes-area .postbox>.postbox-header{border-top:0;border-bottom:1px solid #ddd}.edit-post-layout__metaboxes .edit-post-meta-boxes-area .postbox.closed>.postbox-header,.edit-post-layout__metaboxes .edit-post-meta-boxes-area .postbox>.inside{border-bottom:0}body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--single{border-radius:3px;height:30px;outline:0}body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--single .select2-selection__rendered{font-size:14px;height:28px;line-height:27px;padding-right:23px}body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--single .select2-selection__clear{line-height:26px;height:28px;font-size:16px;margin-right:0}body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--single button.select2-selection__clear{position:absolute;right:24px;padding:0}body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--single button.select2-selection__clear span{line-height:26px;height:28px;display:inline-block}body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--single .select2-selection__placeholder{color:#444}body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--single .select2-selection__arrow{height:28px}body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--single .select2-selection__arrow b{background:url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') 0 0/16px 16px no-repeat;border:0;width:16px;height:16px;margin-left:-11px;margin-top:-7px}body:not(.acf-admin-6) .acf-field .select2-container.-acf.select2-container--open .select2-selection--single,body:not(.acf-admin-6) .acf-field .select2-container.-acf:focus .select2-selection--single{border-color:#007cba;color:#016087;-webkit-box-shadow:0 0 0 1px #007cba;box-shadow:0 0 0 1px #007cba}body:not(.acf-admin-6) .select2-container .select2-dropdown{margin-top:0;border-color:#aaa!important}body:not(.acf-admin-6) .select2-container .select2-dropdown .select2-search--dropdown .select2-search__field{min-height:30px;border:0;-webkit-box-shadow:none;box-shadow:none;padding:0 2px}body:not(.acf-admin-6) .select2-container .select2-dropdown .select2-search--dropdown .select2-search__field::-webkit-input-placeholder{color:#777}body:not(.acf-admin-6) .select2-container .select2-dropdown .select2-search--dropdown .select2-search__field::-moz-placeholder{color:#777}body:not(.acf-admin-6) .select2-container .select2-dropdown .select2-search--dropdown .select2-search__field:-ms-input-placeholder{color:#777}body:not(.acf-admin-6) .select2-container .select2-dropdown .select2-search--dropdown .select2-search__field::-ms-input-placeholder{color:#777}body:not(.acf-admin-6) .select2-container .select2-dropdown .select2-search--dropdown .select2-search__field::placeholder{color:#777}body:not(.acf-admin-6) .select2-container .select2-dropdown .select2-results__option{margin-bottom:0}body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple{min-height:30px;line-height:1;border-radius:3px;padding:0}body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__rendered{padding:0 2px;display:inline-block;margin:0}body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__choice{margin-right:2px;margin-top:2px;line-height:1.6;border-radius:3px;font-size:14px;margin-left:0;display:inline-block;vertical-align:unset;padding:0 5px}body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__choice .select2-selection__choice__display{padding:0}body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove{float:right;margin-left:3px;margin-right:0;line-height:23px;font-size:15px;vertical-align:text-top;position:static;padding:0;border:0;margin-top:0}body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove:hover{background:0 0}body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__clear{margin-top:0;margin-right:6px;font-size:16px;padding:0;line-height:26px;height:27px;position:relative}body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple button.select2-selection__clear{float:right}body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline{float:left;width:auto}body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field{margin-top:4px;font-size:14px;padding-left:2px;margin-left:0}body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field::-webkit-input-placeholder{color:#444}body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field::-moz-placeholder{color:#444}body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field:-ms-input-placeholder{color:#444}body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field::-ms-input-placeholder{color:#444}body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field::placeholder{color:#444}body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline:first-child:last-child .select2-search__field{padding-left:6px}body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__rendered+.select2-search--inline{float:none;display:inline-block;vertical-align:top}body:not(.acf-admin-6) .acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__rendered+.select2-search--inline .select2-search__field{height:22px;line-height:1.4;padding-left:0;font-family:inherit;border-radius:0;margin-top:4px!important}body:not(.acf-admin-6) .acf-field .select2-container.-acf.select2-container--focus .select2-selection--multiple,body:not(.acf-admin-6) .acf-field .select2-container.-acf.select2-container--open .select2-selection--multiple{border-color:#7e8993}body:not(.acf-admin-6) .select2-selection__choice>code,body:not(.acf-admin-6) .select2-selection__rendered>code{font-size:12px;padding:3px;vertical-align:1px;line-height:12px}body:not(.acf-admin-6) .select2-results__option>code{font-size:12px}body:not(.acf-admin-6) .acf-input-wrap .acf-is-prepended+.select2>.selection>.select2-selection{border-radius:0 3px 3px 0!important}body:not(.acf-admin-6) .acf-input-wrap .acf-is-appended+.select2>.selection>.select2-selection{border-radius:3px 0 0 3px!important}body:not(.acf-admin-6) .acf-input-wrap .acf-is-prepended.acf-is-appended+.select2>.selection>.select2-selection{border-radius:0!important}body:not(.acf-admin-5-3) .acf-field .select2-container .select2-selection,body:not(.acf-admin-5-3) .acf-field .select2-container .select2-selection__choice{border-color:#dfdfdf!important;border-radius:0!important}body:not(.acf-admin-5-3) .acf-field .select2-container .select2-search--inline .select2-search__field{margin-top:0!important}body:not(.acf-admin-5-3) .acf-field .select2-dropdown{border-color:#dfdfdf!important;border-radius:0!important}
|
assets/css/acfe-field-group.css
CHANGED
@@ -365,169 +365,247 @@ body.acf-admin-5-3 .acf-field-setting-fc_layout .acf-input-wrap.select select {
|
|
365 |
width: 16.667%
|
366 |
}
|
367 |
|
368 |
-
.acf-admin-6.
|
369 |
-
.acf-admin-6.
|
370 |
-
|
|
|
371 |
}
|
372 |
|
373 |
-
.acf-admin-6.
|
374 |
-
|
|
|
|
|
|
|
|
|
375 |
}
|
376 |
|
377 |
-
.acf-admin-6.
|
378 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
379 |
}
|
380 |
|
381 |
-
.acf-admin-6.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
382 |
display: none !important
|
383 |
}
|
384 |
|
385 |
-
.acf-admin-6.
|
386 |
height: 32px
|
387 |
}
|
388 |
|
389 |
-
.acf-admin-6.
|
390 |
-
|
391 |
}
|
392 |
|
393 |
-
.acf-admin-6.
|
394 |
-
.acf-admin-6.
|
395 |
-
.acf-admin-6.
|
396 |
-
.acf-admin-6.
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
.acf-admin-6.
|
401 |
-
.acf-admin-6.
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
.acf-admin-6.
|
407 |
-
.acf-admin-6.
|
408 |
-
.acf-admin-6.
|
|
|
|
|
|
|
409 |
max-width: 930px
|
410 |
}
|
411 |
|
412 |
-
.acf-admin-6.
|
413 |
-
|
414 |
-
flex-wrap: wrap
|
415 |
}
|
416 |
|
417 |
-
.acf-admin-6.
|
418 |
-
|
|
|
419 |
}
|
420 |
|
421 |
-
.acf-admin-6.
|
422 |
-
|
423 |
-
margin-top: 10px
|
424 |
}
|
425 |
|
426 |
-
.acf-admin-6.
|
427 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
428 |
}
|
429 |
|
430 |
-
.acf-admin-6.
|
431 |
-
.acf-admin-6.
|
432 |
-
|
433 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
434 |
max-width: 930px
|
435 |
}
|
436 |
|
437 |
-
.acf-admin-6.
|
438 |
-
|
439 |
-
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings .acf-field-acfe-validate-rules-and,
|
440 |
-
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-settings-location,
|
441 |
-
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-validate-location,
|
442 |
-
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-validate-rules-and {
|
443 |
-
margin: 0
|
444 |
}
|
445 |
|
446 |
-
.acf-admin-6.
|
447 |
-
|
448 |
-
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-settings-settings .acf-repeater td.acf-field,
|
449 |
-
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-validate-rules-and .acf-repeater td.acf-field {
|
450 |
-
width: 33.33%
|
451 |
}
|
452 |
|
453 |
-
.acf-admin-6.
|
454 |
-
|
455 |
-
|
456 |
-
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-validate-rules-and .acf-repeater .acf-field {
|
457 |
-
padding: 10px
|
458 |
}
|
459 |
|
460 |
-
.acf-admin-6.
|
461 |
-
|
462 |
-
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-settings-settings .acf-repeater .acf-field select,
|
463 |
-
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-validate-rules-and .acf-repeater .acf-field select {
|
464 |
-
max-width: 100%;
|
465 |
-
min-width: 80px
|
466 |
}
|
467 |
|
468 |
-
.acf-admin-6.
|
469 |
-
|
470 |
}
|
471 |
|
472 |
-
.acf-admin-6.
|
473 |
-
|
474 |
-
|
|
|
|
|
|
|
|
|
475 |
}
|
476 |
|
477 |
-
.acf-admin-6.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
478 |
width: 25% !important
|
479 |
}
|
480 |
|
481 |
-
.acf-admin-6.
|
482 |
min-width: 50px
|
483 |
}
|
484 |
|
485 |
-
.acf-admin-6.
|
486 |
padding-left: 0;
|
487 |
padding-right: 0
|
488 |
}
|
489 |
|
490 |
-
.acf-admin-6.
|
491 |
padding-left: 0;
|
492 |
padding-right: 0
|
493 |
}
|
494 |
|
495 |
-
.acf-admin-6.
|
496 |
min-width: 50px
|
497 |
}
|
498 |
|
499 |
-
.acf-admin-6.
|
500 |
border-radius: 0 6px 6px 0
|
501 |
}
|
502 |
|
503 |
-
.acf-admin-6.
|
504 |
-
height: 38px;
|
505 |
-
margin-top: 0;
|
506 |
border-radius: 0 6px 6px 0
|
507 |
}
|
508 |
|
509 |
-
.acf-admin-6.
|
510 |
-
|
511 |
-
margin-right: 0;
|
512 |
-
height: 15px
|
513 |
}
|
514 |
|
515 |
-
.acf-admin-6.
|
516 |
padding-left: 0;
|
517 |
padding-right: 0
|
518 |
}
|
519 |
|
520 |
-
.acf-admin-6.
|
521 |
-
|
522 |
-
padding-left: 0;
|
523 |
-
padding-right: 0
|
524 |
}
|
525 |
|
526 |
-
.acf-admin-6.
|
527 |
-
|
|
|
|
|
528 |
}
|
529 |
|
530 |
-
.acf-admin-6.
|
531 |
padding-right: 72px;
|
532 |
padding-left: 72px;
|
533 |
margin-top: 32px
|
365 |
width: 16.667%
|
366 |
}
|
367 |
|
368 |
+
.acf-admin-6.acf-admin-field-groups .wp-list-table td.check-column,
|
369 |
+
.acf-admin-6.acf-admin-field-groups .wp-list-table th.check-column {
|
370 |
+
padding-right: 25px;
|
371 |
+
padding-left: 15px
|
372 |
}
|
373 |
|
374 |
+
.acf-admin-6.acf-admin-field-groups .wp-list-table tfoot td,
|
375 |
+
.acf-admin-6.acf-admin-field-groups .wp-list-table tfoot th,
|
376 |
+
.acf-admin-6.acf-admin-field-groups .wp-list-table thead td,
|
377 |
+
.acf-admin-6.acf-admin-field-groups .wp-list-table thead th {
|
378 |
+
padding-right: 10px;
|
379 |
+
padding-left: 10px
|
380 |
}
|
381 |
|
382 |
+
.acf-admin-6.acf-admin-field-groups .wp-list-table tbody td,
|
383 |
+
.acf-admin-6.acf-admin-field-groups .wp-list-table tbody th {
|
384 |
+
padding-right: 10px;
|
385 |
+
padding-left: 10px
|
386 |
+
}
|
387 |
+
|
388 |
+
.acf-admin-6.acf-admin-field-groups .wp-list-table .column-acf-count {
|
389 |
+
width: 70px
|
390 |
+
}
|
391 |
+
|
392 |
+
.acf-admin-6.acf-admin-field-groups .wp-list-table .column-acf-location {
|
393 |
+
width: 200px
|
394 |
+
}
|
395 |
+
|
396 |
+
.acf-admin-6.acf-admin-field-groups .wp-list-table .column-acfe-load {
|
397 |
+
width: 70px
|
398 |
+
}
|
399 |
+
|
400 |
+
.acf-admin-6.acf-admin-field-groups .wp-list-table .column-acfe-autosync-json,
|
401 |
+
.acf-admin-6.acf-admin-field-groups .wp-list-table .column-acfe-autosync-php {
|
402 |
+
width: 70px
|
403 |
+
}
|
404 |
+
|
405 |
+
.acf-admin-6.acf-admin-field-groups .wp-list-table a.row-title {
|
406 |
+
font-size: 14px !important
|
407 |
+
}
|
408 |
+
|
409 |
+
.acf-admin-6.acf-admin-field-groups .wp-list-table .row-actions {
|
410 |
+
margin-top: 4px
|
411 |
+
}
|
412 |
+
|
413 |
+
.acf-admin-6.acf-admin-single-field-group .wrap>#message.updated {
|
414 |
+
margin-bottom: 15px !important
|
415 |
}
|
416 |
|
417 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-object .handle li.li-field-label::before {
|
418 |
+
width: 16px
|
419 |
+
}
|
420 |
+
|
421 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-object .handle li.li-field-label>strong a {
|
422 |
+
font-size: 14px
|
423 |
+
}
|
424 |
+
|
425 |
+
.acf-admin-6.acf-admin-single-field-group .acf-fields .acf-field-tab {
|
426 |
display: none !important
|
427 |
}
|
428 |
|
429 |
+
.acf-admin-6.acf-admin-single-field-group #submitdiv .button {
|
430 |
height: 32px
|
431 |
}
|
432 |
|
433 |
+
.acf-admin-6.acf-admin-single-field-group .acf-repeater .acf-actions .acf-button {
|
434 |
+
float: left
|
435 |
}
|
436 |
|
437 |
+
.acf-admin-6.acf-admin-single-field-group #acf-field-group-options .acf-field .acf-table>tbody>tr>td,
|
438 |
+
.acf-admin-6.acf-admin-single-field-group #acf-field-group-options .acf-field .acf-table>tbody>tr>th,
|
439 |
+
.acf-admin-6.acf-admin-single-field-group #acf-field-group-options .acf-field .acf-table>thead>tr>td,
|
440 |
+
.acf-admin-6.acf-admin-single-field-group #acf-field-group-options .acf-field .acf-table>thead>tr>th {
|
441 |
+
padding: 8px
|
442 |
+
}
|
443 |
+
|
444 |
+
.acf-admin-6.acf-admin-single-field-group #acf-field-group-options .acf-field .acf-table td.acf-field,
|
445 |
+
.acf-admin-6.acf-admin-single-field-group #acf-field-group-options .acf-field .acf-table tr.acf-field {
|
446 |
+
margin: 0;
|
447 |
+
width: auto
|
448 |
+
}
|
449 |
+
|
450 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field[data-setting].acf-field-flexible-content>.acf-input,
|
451 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field[data-setting].acf-field-flexible-content>.acf-label,
|
452 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field[data-setting].acf-field-group>.acf-input,
|
453 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field[data-setting].acf-field-group>.acf-label,
|
454 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field[data-setting].acf-field-repeater>.acf-input,
|
455 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field[data-setting].acf-field-repeater>.acf-label {
|
456 |
max-width: 930px
|
457 |
}
|
458 |
|
459 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field .acf-fields.-left>.acf-field {
|
460 |
+
padding: 15px 0
|
|
|
461 |
}
|
462 |
|
463 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field .acf-fields>.acf-field {
|
464 |
+
margin: 0;
|
465 |
+
padding: 15px 12px
|
466 |
}
|
467 |
|
468 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field .acf-fields>.acf-field>.acf-label {
|
469 |
+
display: block
|
|
|
470 |
}
|
471 |
|
472 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field .acf-fields>.acf-field>.acf-input {
|
473 |
+
max-width: initial
|
474 |
+
}
|
475 |
+
|
476 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field .acf-table>tbody>tr>td,
|
477 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field .acf-table>tbody>tr>th,
|
478 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field .acf-table>thead>tr>td,
|
479 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field .acf-table>thead>tr>th {
|
480 |
+
padding: 8px
|
481 |
}
|
482 |
|
483 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field .acf-table td.acf-field,
|
484 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field .acf-table tr.acf-field {
|
485 |
+
margin: 0;
|
486 |
+
width: auto
|
487 |
+
}
|
488 |
+
|
489 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field .CodeMirror-wrap.cm-s-default {
|
490 |
+
width: 100%
|
491 |
+
}
|
492 |
+
|
493 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-add-actions>.acf-input,
|
494 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-add-actions>.acf-label,
|
495 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-async>.acf-input,
|
496 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-async>.acf-label,
|
497 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-grid-container>.acf-input,
|
498 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-grid-container>.acf-label,
|
499 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-grid>.acf-input,
|
500 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-grid>.acf-label,
|
501 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-layouts-state>.acf-input,
|
502 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-layouts-state>.acf-label,
|
503 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-modal-edit>.acf-input,
|
504 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-modal-edit>.acf-label,
|
505 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-modal>.acf-input,
|
506 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-modal>.acf-label,
|
507 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-remove-button>.acf-input,
|
508 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-remove-button>.acf-label {
|
509 |
max-width: 930px
|
510 |
}
|
511 |
|
512 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .select2-container.-acf .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .acf-selection {
|
513 |
+
line-height: 1.5
|
|
|
|
|
|
|
|
|
|
|
514 |
}
|
515 |
|
516 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .select2-container.-acf .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove {
|
517 |
+
margin-top: 2px
|
|
|
|
|
|
|
518 |
}
|
519 |
|
520 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field-setting-allow_terms input[type=number] {
|
521 |
+
width: 56px;
|
522 |
+
height: 43px
|
|
|
|
|
523 |
}
|
524 |
|
525 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field-setting-min>.acf-input input[type=number] {
|
526 |
+
max-width: 98%
|
|
|
|
|
|
|
|
|
527 |
}
|
528 |
|
529 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields>.acf-field {
|
530 |
+
padding: 0
|
531 |
}
|
532 |
|
533 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields>.acf-field+.acf-field {
|
534 |
+
border-left: 0
|
535 |
+
}
|
536 |
+
|
537 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field-setting-hide_field>.acf-input ul {
|
538 |
+
-ms-flex-wrap: wrap;
|
539 |
+
flex-wrap: wrap
|
540 |
}
|
541 |
|
542 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field-setting-hide_field>.acf-input ul li {
|
543 |
+
width: 50%
|
544 |
+
}
|
545 |
+
|
546 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field-setting-hide_field>.acf-input ul li:nth-child(3),
|
547 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field-setting-hide_field>.acf-input ul li:nth-child(4) {
|
548 |
+
margin-top: 10px
|
549 |
+
}
|
550 |
+
|
551 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field-setting-hide_field>.acf-input ul li select {
|
552 |
+
min-width: 50px
|
553 |
+
}
|
554 |
+
|
555 |
+
.acf-admin-6.acf-admin-single-field-group .acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field {
|
556 |
+
padding: 0 5px 0 0
|
557 |
+
}
|
558 |
+
|
559 |
+
.acf-admin-6.acf-admin-single-field-group .acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field.acf-field-acfe-flexible-modal-col {
|
560 |
width: 25% !important
|
561 |
}
|
562 |
|
563 |
+
.acf-admin-6.acf-admin-single-field-group .acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field select {
|
564 |
min-width: 50px
|
565 |
}
|
566 |
|
567 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting {
|
568 |
padding-left: 0;
|
569 |
padding-right: 0
|
570 |
}
|
571 |
|
572 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li>ul {
|
573 |
padding-left: 0;
|
574 |
padding-right: 0
|
575 |
}
|
576 |
|
577 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta select {
|
578 |
min-width: 50px
|
579 |
}
|
580 |
|
581 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .select2-container.-acf {
|
582 |
border-radius: 0 6px 6px 0
|
583 |
}
|
584 |
|
585 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .select2-container.-acf .select2-selection__rendered {
|
|
|
|
|
586 |
border-radius: 0 6px 6px 0
|
587 |
}
|
588 |
|
589 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .select2-container.-acf .select2-selection__rendered .select2-search input {
|
590 |
+
height: 38px
|
|
|
|
|
591 |
}
|
592 |
|
593 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acfe-flexible-layout-location-rules {
|
594 |
padding-left: 0;
|
595 |
padding-right: 0
|
596 |
}
|
597 |
|
598 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acfe-flexible-layout-location-rules td:first-of-type {
|
599 |
+
padding-left: 0
|
|
|
|
|
600 |
}
|
601 |
|
602 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_category],
|
603 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_settings_label] {
|
604 |
+
padding-left: 0;
|
605 |
+
padding-right: 0
|
606 |
}
|
607 |
|
608 |
+
.acf-admin-6.acf-admin-single-field-group .acf-field-setting-acfe_field_group_condition {
|
609 |
padding-right: 72px;
|
610 |
padding-left: 72px;
|
611 |
margin-top: 32px
|
assets/css/acfe-field-group.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.submitbox .misc-pub-acfe-field-group-key{padding-top:2px}.submitbox .misc-pub-acfe-field-group-key span{font-size:16px;color:#82878c;width:20px;margin-right:2px}.submitbox .misc-pub-acfe-field-group-key code{font-size:12px}.submitbox .misc-pub-acfe-field-group-export{padding-top:2px}.submitbox .misc-pub-acfe-field-group-export span{font-size:17px;color:#82878c;line-height:1.3;width:20px;margin-right:2px}.acf-fields .acf-field-tab{display:block!important;height:0;overflow:hidden;padding:0!important;border:0!important}.acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields,.acf-field-setting-acfe_hide>.acf-input>.acf-fields,.acf-field-setting-acfe_permissions>.acf-input>.acf-fields,.acf-field-setting-acfe_settings>.acf-input>.acf-fields,.acf-field-setting-acfe_settings>.acf-input>.acf-fields>.acf-field.acf-field-acfe-settings-rules-or,.acf-field-setting-acfe_update>.acf-input>.acf-fields,.acf-field-setting-acfe_update>.acf-input>.acf-fields>.acf-field.acf-field-acfe-update-functions,.acf-field-setting-acfe_validate>.acf-input>.acf-fields,.acf-field-setting-acfe_validate>.acf-input>.acf-fields>.acf-field.acf-field-acfe-validate-rules-or{border:0}.acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_hide>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_permissions>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_settings>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_update>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_validate>.acf-input>.acf-fields>.acf-field{padding:0}.acf-field-setting-acfe_field_data{display:none}.acf-field-hide-front.acfe_width_auto{margin-right:30px}.acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields>.acf-field.acf-field-acfe-bidirectional-enabled>.acf-label,.acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields>.acf-field.acf-field-acfe-bidirectional-related>.acf-label,.acf-field-setting-acfe_settings>.acf-input>.acf-fields>.acf-field.acf-field-acfe-settings-activate>.acf-label,.acf-field-setting-acfe_update>.acf-input>.acf-fields>.acf-field.acf-field-acfe-update-activate>.acf-label,.acf-field-setting-acfe_validate>.acf-input>.acf-fields>.acf-field.acf-field-acfe-validate-activate>.acf-label{display:none}.acf-field-acfe-meta>.acf-input .acf-repeater.-empty.-table>table,.acf-field-setting-acfe_settings>.acf-input .acf-repeater.-empty.-table>table,.acf-field-setting-acfe_update>.acf-input .acf-repeater.-empty.-table>table,.acf-field-setting-acfe_validate>.acf-input .acf-repeater.-empty.-table>table{border:0;display:none}.acf-field-acfe-meta>.acf-input .acf-repeater.-empty.-table>table>thead,.acf-field-setting-acfe_settings>.acf-input .acf-repeater.-empty.-table>table>thead,.acf-field-setting-acfe_update>.acf-input .acf-repeater.-empty.-table>table>thead,.acf-field-setting-acfe_validate>.acf-input .acf-repeater.-empty.-table>table>thead{display:none}.acf-field-acfe-meta>.acf-input>.acf-repeater .acf-actions,.acf-field-setting-acfe_settings>.acf-input>.acf-repeater .acf-actions,.acf-field-setting-acfe_update>.acf-input>.acf-repeater .acf-actions,.acf-field-setting-acfe_validate>.acf-input>.acf-repeater .acf-actions{text-align:left}.acf-repeater.-block>table,.acf-repeater.-row>table{border-collapse:separate;border-spacing:0 15px;background:0 0;border:0;margin-top:-15px;margin-bottom:-7px}.acf-repeater.-block>table>*,.acf-repeater.-row>table>*{border-collapse:collapse;border-spacing:0}.acf-repeater.-block>table>tbody>tr>td,.acf-repeater.-row>table>tbody>tr>td{border-top:1px solid #ccd0d4!important;border-bottom:1px solid #ccd0d4!important}.acf-repeater.-block>table>tbody>tr>td:first-of-type,.acf-repeater.-row>table>tbody>tr>td:first-of-type{border-left:1px solid #ccd0d4!important}.acf-repeater.-block>table>tbody>tr>td:last-of-type,.acf-repeater.-row>table>tbody>tr>td:last-of-type{border-right:1px solid #ccd0d4!important}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td{border-top:1px solid #e1e1e1;border-bottom:1px solid #e1e1e1}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td:first-of-type,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td:first-of-type{border-left:1px solid #e1e1e1}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td:last-of-type,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td:last-of-type{border-right:1px solid #e1e1e1}.acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields>.acf-field.acf-field-acfe-bidirectional-related{margin-left:10px}.acfe_width_auto{width:auto!important}.status-acf-disabled .column-title a,.status-acf-disabled .column-title code{color:#555!important}.status-acf-disabled .column-title strong{color:#a0a5aa}.column-acf-field-group-category{width:125px}td.acf-field-group-category a{word-wrap:break-word;padding:2px 5px;margin:0 1px;border-radius:2px;background:rgba(0,0,0,.06);color:#23282d}.column-acfe-location{width:100px}.column-acf-description,.column-acf-location{width:230px}#acf-field-group-wrap .wp-list-table .column-acf-fg-status{width:70px}#acf-field-group-wrap .wp-list-table .column-acf-fg-count,.post-type-acf-field-group .wp-list-table .column-acf-count{width:80px}.post-type-acf-field-group .wp-list-table .column-title .post-state{color:#a0a5aa}.column-title .acfe-key{color:#555;font-size:12px}.acf-field-image[data-name=acfe_flexible_thumbnail]>.acf-input>.acf-image-uploader.has-value>.show-if-value.image-wrap{max-width:85px!important}.acf-diff-content table.diff tbody tr td:nth-child(2){width:auto}body.acf-admin-5-3 .acf-field-setting-fc_layout .acf-input-wrap.select{border-color:#7e8993}body.acf-admin-5-3 .acf-field-setting-fc_layout .acf-input-wrap.select select{min-height:28px}.acfe-field-setting-flex>.acf-input>.acf-fields{display:-webkit-box;display:-ms-flexbox;display:flex;border:0}.acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child{padding:0;margin-right:10px}.acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child .acf-label{display:none}.acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child~.acf-field{padding-top:0;padding-bottom:0;padding-left:0;border-top:0;border-left:0!important}.acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child~.acf-field[data-type=true_false]{padding-top:2px}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_category],.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_settings_label],.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_thumbnail],.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta>.acf-fc-meta-label:first-of-type{margin:0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting{margin:15px 0 0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting>.acf-input,.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting>.acf-input label,.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting>.acf-label,.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting>.acf-label label{margin:0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin-bottom:0;margin-top:10px}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li>ul{margin:0;width:50%}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li>ul:first-child+ul{border-left:0;margin-left:10px}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li>ul>.acf-input{margin-bottom:0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting.acfe-flexible-field-setting-row+li{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting.acfe-flexible-field-setting-row+li>ul{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:10px 0 0;width:100%}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting.acfe-flexible-field-setting-row+li>ul:first-child{margin-top:0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting.acfe-flexible-field-setting-row+li>ul:first-child+ul{margin-left:0}.acf-field-setting-fc_layout .select2-container--default .select2-selection--multiple li{margin-bottom:0}.acf-field-object-acfe-column .acf-field-setting-instructions,.acf-field-object-acfe-column .acf-field-setting-label,.acf-field-object-acfe-column .acf-field-setting-name,.acf-field-object-acfe-column .acf-field-setting-required,.acf-field-object-acfe-column .acf-field-setting-warning,.acf-field-object-acfe-column .acf-field-setting-wrapper{display:none}.acf-field-object-acfe-column .li-field-name{visibility:hidden}.acf-field-object-acfe-column.open>.handle a span{color:#fff}.acf-field-object+.acf-field-object-acfe-column:before{display:block;content:"";height:5px;width:100%;background:#f9f9f9;border-bottom:1px solid #f0f0f0}.acf-field-setting-allow_terms>.acf-input>ul>li:first-of-type{width:calc(100% - 125px)}.acf-field-setting-allow_terms>.acf-input>ul>li:last-of-type{width:125px}#acf-field-group-locations .rule-groups>.rule-group>table>tbody>tr>td.value>.acf-field{margin:0}.acf-hl[data-cols="5"]>li{width:20%}.acf-hl[data-cols="6"]>li{width:16.667%}.acf-admin-6.edit-php .wp-list-table tbody td,.acf-admin-6.edit-php .wp-list-table tbody th{height:57px}.acf-admin-6.edit-php .wp-list-table .column-acf-count{width:90px}.acf-admin-6.edit-php .wp-list-table .column-acfe-load{width:80px}.acf-admin-6.post-php .acf-fields .acf-field-tab{display:none!important}.acf-admin-6.post-php #submitdiv .button{height:32px}.acf-admin-6.post-php .acf-field-settings .acf-field .CodeMirror-wrap.cm-s-default{width:100%}.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-add-actions .acf-input,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-add-actions .acf-label,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-async .acf-input,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-async .acf-label,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-grid .acf-input,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-grid .acf-label,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-grid-container .acf-input,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-grid-container .acf-label,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-layouts-state .acf-input,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-layouts-state .acf-label,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-modal .acf-input,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-modal .acf-label,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-modal-edit .acf-input,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-modal-edit .acf-label,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-remove-button .acf-input,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-remove-button .acf-label{max-width:930px}.acf-admin-6.post-php .acf-field-settings .acf-field-setting-hide_field>.acf-input ul{-ms-flex-wrap:wrap;flex-wrap:wrap}.acf-admin-6.post-php .acf-field-settings .acf-field-setting-hide_field>.acf-input ul li{width:50%}.acf-admin-6.post-php .acf-field-settings .acf-field-setting-hide_field>.acf-input ul li:nth-child(3),.acf-admin-6.post-php .acf-field-settings .acf-field-setting-hide_field>.acf-input ul li:nth-child(4){margin-top:10px}.acf-admin-6.post-php .acf-field-settings .acf-field-setting-hide_field>.acf-input ul li select{min-width:50px}.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings>.acf-input,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings>.acf-label,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate>.acf-input,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate>.acf-label{max-width:930px}.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings .acf-field-acfe-settings-location,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings .acf-field-acfe-validate-location,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings .acf-field-acfe-validate-rules-and,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-settings-location,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-validate-location,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-validate-rules-and{margin:0}.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings .acf-field-acfe-settings-settings .acf-repeater td.acf-field,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings .acf-field-acfe-validate-rules-and .acf-repeater td.acf-field,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-settings-settings .acf-repeater td.acf-field,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-validate-rules-and .acf-repeater td.acf-field{width:33.33%}.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings .acf-field-acfe-settings-settings .acf-repeater .acf-field,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings .acf-field-acfe-validate-rules-and .acf-repeater .acf-field,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-settings-settings .acf-repeater .acf-field,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-validate-rules-and .acf-repeater .acf-field{padding:10px}.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings .acf-field-acfe-settings-settings .acf-repeater .acf-field select,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings .acf-field-acfe-validate-rules-and .acf-repeater .acf-field select,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-settings-settings .acf-repeater .acf-field select,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-validate-rules-and .acf-repeater .acf-field select{max-width:100%;min-width:80px}.acf-admin-6.post-php .acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child{margin-bottom:0}.acf-admin-6.post-php .acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child~.acf-field{padding-right:5px;margin-bottom:0}.acf-admin-6.post-php .acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child~.acf-field.acf-field-acfe-flexible-modal-col{width:25%!important}.acf-admin-6.post-php .acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child~.acf-field select{min-width:50px}.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting,.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li>ul{padding-left:0;padding-right:0}.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta select{min-width:50px}.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .select2-selection__rendered{border-radius:0 6px 6px 0}.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .select2-selection__rendered .select2-search input{height:38px;margin-top:0;border-radius:0 6px 6px 0}.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .select2-selection__rendered .select2-selection__clear{margin-top:12px;margin-right:0;height:15px}.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_category],.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_settings_label],.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acfe-flexible-layout-location-rules{padding-left:0;padding-right:0}.acf-admin-6.post-php .acf-fields.-left>.acf-field>.acf-label{display:block}.acf-admin-6.post-php .acf-field-setting-acfe_field_group_condition{padding-right:72px;padding-left:72px;margin-top:32px}
|
1 |
+
.submitbox .misc-pub-acfe-field-group-key{padding-top:2px}.submitbox .misc-pub-acfe-field-group-key span{font-size:16px;color:#82878c;width:20px;margin-right:2px}.submitbox .misc-pub-acfe-field-group-key code{font-size:12px}.submitbox .misc-pub-acfe-field-group-export{padding-top:2px}.submitbox .misc-pub-acfe-field-group-export span{font-size:17px;color:#82878c;line-height:1.3;width:20px;margin-right:2px}.acf-fields .acf-field-tab{display:block!important;height:0;overflow:hidden;padding:0!important;border:0!important}.acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields,.acf-field-setting-acfe_hide>.acf-input>.acf-fields,.acf-field-setting-acfe_permissions>.acf-input>.acf-fields,.acf-field-setting-acfe_settings>.acf-input>.acf-fields,.acf-field-setting-acfe_settings>.acf-input>.acf-fields>.acf-field.acf-field-acfe-settings-rules-or,.acf-field-setting-acfe_update>.acf-input>.acf-fields,.acf-field-setting-acfe_update>.acf-input>.acf-fields>.acf-field.acf-field-acfe-update-functions,.acf-field-setting-acfe_validate>.acf-input>.acf-fields,.acf-field-setting-acfe_validate>.acf-input>.acf-fields>.acf-field.acf-field-acfe-validate-rules-or{border:0}.acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_hide>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_permissions>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_settings>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_update>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_validate>.acf-input>.acf-fields>.acf-field{padding:0}.acf-field-setting-acfe_field_data{display:none}.acf-field-hide-front.acfe_width_auto{margin-right:30px}.acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields>.acf-field.acf-field-acfe-bidirectional-enabled>.acf-label,.acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields>.acf-field.acf-field-acfe-bidirectional-related>.acf-label,.acf-field-setting-acfe_settings>.acf-input>.acf-fields>.acf-field.acf-field-acfe-settings-activate>.acf-label,.acf-field-setting-acfe_update>.acf-input>.acf-fields>.acf-field.acf-field-acfe-update-activate>.acf-label,.acf-field-setting-acfe_validate>.acf-input>.acf-fields>.acf-field.acf-field-acfe-validate-activate>.acf-label{display:none}.acf-field-acfe-meta>.acf-input .acf-repeater.-empty.-table>table,.acf-field-setting-acfe_settings>.acf-input .acf-repeater.-empty.-table>table,.acf-field-setting-acfe_update>.acf-input .acf-repeater.-empty.-table>table,.acf-field-setting-acfe_validate>.acf-input .acf-repeater.-empty.-table>table{border:0;display:none}.acf-field-acfe-meta>.acf-input .acf-repeater.-empty.-table>table>thead,.acf-field-setting-acfe_settings>.acf-input .acf-repeater.-empty.-table>table>thead,.acf-field-setting-acfe_update>.acf-input .acf-repeater.-empty.-table>table>thead,.acf-field-setting-acfe_validate>.acf-input .acf-repeater.-empty.-table>table>thead{display:none}.acf-field-acfe-meta>.acf-input>.acf-repeater .acf-actions,.acf-field-setting-acfe_settings>.acf-input>.acf-repeater .acf-actions,.acf-field-setting-acfe_update>.acf-input>.acf-repeater .acf-actions,.acf-field-setting-acfe_validate>.acf-input>.acf-repeater .acf-actions{text-align:left}.acf-repeater.-block>table,.acf-repeater.-row>table{border-collapse:separate;border-spacing:0 15px;background:0 0;border:0;margin-top:-15px;margin-bottom:-7px}.acf-repeater.-block>table>*,.acf-repeater.-row>table>*{border-collapse:collapse;border-spacing:0}.acf-repeater.-block>table>tbody>tr>td,.acf-repeater.-row>table>tbody>tr>td{border-top:1px solid #ccd0d4!important;border-bottom:1px solid #ccd0d4!important}.acf-repeater.-block>table>tbody>tr>td:first-of-type,.acf-repeater.-row>table>tbody>tr>td:first-of-type{border-left:1px solid #ccd0d4!important}.acf-repeater.-block>table>tbody>tr>td:last-of-type,.acf-repeater.-row>table>tbody>tr>td:last-of-type{border-right:1px solid #ccd0d4!important}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td{border-top:1px solid #e1e1e1;border-bottom:1px solid #e1e1e1}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td:first-of-type,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td:first-of-type{border-left:1px solid #e1e1e1}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td:last-of-type,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td:last-of-type{border-right:1px solid #e1e1e1}.acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields>.acf-field.acf-field-acfe-bidirectional-related{margin-left:10px}.acfe_width_auto{width:auto!important}.status-acf-disabled .column-title a,.status-acf-disabled .column-title code{color:#555!important}.status-acf-disabled .column-title strong{color:#a0a5aa}.column-acf-field-group-category{width:125px}td.acf-field-group-category a{word-wrap:break-word;padding:2px 5px;margin:0 1px;border-radius:2px;background:rgba(0,0,0,.06);color:#23282d}.column-acfe-location{width:100px}.column-acf-description,.column-acf-location{width:230px}#acf-field-group-wrap .wp-list-table .column-acf-fg-status{width:70px}#acf-field-group-wrap .wp-list-table .column-acf-fg-count,.post-type-acf-field-group .wp-list-table .column-acf-count{width:80px}.post-type-acf-field-group .wp-list-table .column-title .post-state{color:#a0a5aa}.column-title .acfe-key{color:#555;font-size:12px}.acf-field-image[data-name=acfe_flexible_thumbnail]>.acf-input>.acf-image-uploader.has-value>.show-if-value.image-wrap{max-width:85px!important}.acf-diff-content table.diff tbody tr td:nth-child(2){width:auto}body.acf-admin-5-3 .acf-field-setting-fc_layout .acf-input-wrap.select{border-color:#7e8993}body.acf-admin-5-3 .acf-field-setting-fc_layout .acf-input-wrap.select select{min-height:28px}.acfe-field-setting-flex>.acf-input>.acf-fields{display:-webkit-box;display:-ms-flexbox;display:flex;border:0}.acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child{padding:0;margin-right:10px}.acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child .acf-label{display:none}.acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child~.acf-field{padding-top:0;padding-bottom:0;padding-left:0;border-top:0;border-left:0!important}.acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child~.acf-field[data-type=true_false]{padding-top:2px}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_category],.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_settings_label],.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_thumbnail],.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta>.acf-fc-meta-label:first-of-type{margin:0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting{margin:15px 0 0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting>.acf-input,.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting>.acf-input label,.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting>.acf-label,.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting>.acf-label label{margin:0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin-bottom:0;margin-top:10px}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li>ul{margin:0;width:50%}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li>ul:first-child+ul{border-left:0;margin-left:10px}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li>ul>.acf-input{margin-bottom:0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting.acfe-flexible-field-setting-row+li{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting.acfe-flexible-field-setting-row+li>ul{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:10px 0 0;width:100%}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting.acfe-flexible-field-setting-row+li>ul:first-child{margin-top:0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting.acfe-flexible-field-setting-row+li>ul:first-child+ul{margin-left:0}.acf-field-setting-fc_layout .select2-container--default .select2-selection--multiple li{margin-bottom:0}.acf-field-object-acfe-column .acf-field-setting-instructions,.acf-field-object-acfe-column .acf-field-setting-label,.acf-field-object-acfe-column .acf-field-setting-name,.acf-field-object-acfe-column .acf-field-setting-required,.acf-field-object-acfe-column .acf-field-setting-warning,.acf-field-object-acfe-column .acf-field-setting-wrapper{display:none}.acf-field-object-acfe-column .li-field-name{visibility:hidden}.acf-field-object-acfe-column.open>.handle a span{color:#fff}.acf-field-object+.acf-field-object-acfe-column:before{display:block;content:"";height:5px;width:100%;background:#f9f9f9;border-bottom:1px solid #f0f0f0}.acf-field-setting-allow_terms>.acf-input>ul>li:first-of-type{width:calc(100% - 125px)}.acf-field-setting-allow_terms>.acf-input>ul>li:last-of-type{width:125px}#acf-field-group-locations .rule-groups>.rule-group>table>tbody>tr>td.value>.acf-field{margin:0}.acf-hl[data-cols="5"]>li{width:20%}.acf-hl[data-cols="6"]>li{width:16.667%}.acf-admin-6.acf-admin-field-groups .wp-list-table td.check-column,.acf-admin-6.acf-admin-field-groups .wp-list-table th.check-column{padding-right:25px;padding-left:15px}.acf-admin-6.acf-admin-field-groups .wp-list-table tbody td,.acf-admin-6.acf-admin-field-groups .wp-list-table tbody th,.acf-admin-6.acf-admin-field-groups .wp-list-table tfoot td,.acf-admin-6.acf-admin-field-groups .wp-list-table tfoot th,.acf-admin-6.acf-admin-field-groups .wp-list-table thead td,.acf-admin-6.acf-admin-field-groups .wp-list-table thead th{padding-right:10px;padding-left:10px}.acf-admin-6.acf-admin-field-groups .wp-list-table .column-acf-count{width:70px}.acf-admin-6.acf-admin-field-groups .wp-list-table .column-acf-location{width:200px}.acf-admin-6.acf-admin-field-groups .wp-list-table .column-acfe-autosync-json,.acf-admin-6.acf-admin-field-groups .wp-list-table .column-acfe-autosync-php,.acf-admin-6.acf-admin-field-groups .wp-list-table .column-acfe-load{width:70px}.acf-admin-6.acf-admin-field-groups .wp-list-table a.row-title{font-size:14px!important}.acf-admin-6.acf-admin-field-groups .wp-list-table .row-actions{margin-top:4px}.acf-admin-6.acf-admin-single-field-group .wrap>#message.updated{margin-bottom:15px!important}.acf-admin-6.acf-admin-single-field-group .acf-field-object .handle li.li-field-label::before{width:16px}.acf-admin-6.acf-admin-single-field-group .acf-field-object .handle li.li-field-label>strong a{font-size:14px}.acf-admin-6.acf-admin-single-field-group .acf-fields .acf-field-tab{display:none!important}.acf-admin-6.acf-admin-single-field-group #submitdiv .button{height:32px}.acf-admin-6.acf-admin-single-field-group .acf-repeater .acf-actions .acf-button{float:left}.acf-admin-6.acf-admin-single-field-group #acf-field-group-options .acf-field .acf-table>tbody>tr>td,.acf-admin-6.acf-admin-single-field-group #acf-field-group-options .acf-field .acf-table>tbody>tr>th,.acf-admin-6.acf-admin-single-field-group #acf-field-group-options .acf-field .acf-table>thead>tr>td,.acf-admin-6.acf-admin-single-field-group #acf-field-group-options .acf-field .acf-table>thead>tr>th{padding:8px}.acf-admin-6.acf-admin-single-field-group #acf-field-group-options .acf-field .acf-table td.acf-field,.acf-admin-6.acf-admin-single-field-group #acf-field-group-options .acf-field .acf-table tr.acf-field{margin:0;width:auto}.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field[data-setting].acf-field-flexible-content>.acf-input,.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field[data-setting].acf-field-flexible-content>.acf-label,.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field[data-setting].acf-field-group>.acf-input,.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field[data-setting].acf-field-group>.acf-label,.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field[data-setting].acf-field-repeater>.acf-input,.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field[data-setting].acf-field-repeater>.acf-label{max-width:930px}.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field .acf-fields.-left>.acf-field{padding:15px 0}.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field .acf-fields>.acf-field{margin:0;padding:15px 12px}.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field .acf-fields>.acf-field>.acf-label{display:block}.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field .acf-fields>.acf-field>.acf-input{max-width:initial}.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field .acf-table>tbody>tr>td,.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field .acf-table>tbody>tr>th,.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field .acf-table>thead>tr>td,.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field .acf-table>thead>tr>th{padding:8px}.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field .acf-table td.acf-field,.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field .acf-table tr.acf-field{margin:0;width:auto}.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field .CodeMirror-wrap.cm-s-default{width:100%}.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-add-actions>.acf-input,.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-add-actions>.acf-label,.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-async>.acf-input,.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-async>.acf-label,.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-grid-container>.acf-input,.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-grid-container>.acf-label,.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-grid>.acf-input,.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-grid>.acf-label,.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-layouts-state>.acf-input,.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-layouts-state>.acf-label,.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-modal-edit>.acf-input,.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-modal-edit>.acf-label,.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-modal>.acf-input,.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-modal>.acf-label,.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-remove-button>.acf-input,.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field.acf-field-acfe-flexible-remove-button>.acf-label{max-width:930px}.acf-admin-6.acf-admin-single-field-group .acf-field-settings .select2-container.-acf .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .acf-selection{line-height:1.5}.acf-admin-6.acf-admin-single-field-group .acf-field-settings .select2-container.-acf .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove{margin-top:2px}.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field-setting-allow_terms input[type=number]{width:56px;height:43px}.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field-setting-min>.acf-input input[type=number]{max-width:98%}.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields>.acf-field{padding:0}.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields>.acf-field+.acf-field{border-left:0}.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field-setting-hide_field>.acf-input ul{-ms-flex-wrap:wrap;flex-wrap:wrap}.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field-setting-hide_field>.acf-input ul li{width:50%}.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field-setting-hide_field>.acf-input ul li:nth-child(3),.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field-setting-hide_field>.acf-input ul li:nth-child(4){margin-top:10px}.acf-admin-6.acf-admin-single-field-group .acf-field-settings .acf-field-setting-hide_field>.acf-input ul li select{min-width:50px}.acf-admin-6.acf-admin-single-field-group .acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field{padding:0 5px 0 0}.acf-admin-6.acf-admin-single-field-group .acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field.acf-field-acfe-flexible-modal-col{width:25%!important}.acf-admin-6.acf-admin-single-field-group .acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field select{min-width:50px}.acf-admin-6.acf-admin-single-field-group .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting,.acf-admin-6.acf-admin-single-field-group .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li>ul{padding-left:0;padding-right:0}.acf-admin-6.acf-admin-single-field-group .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta select{min-width:50px}.acf-admin-6.acf-admin-single-field-group .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .select2-container.-acf,.acf-admin-6.acf-admin-single-field-group .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .select2-container.-acf .select2-selection__rendered{border-radius:0 6px 6px 0}.acf-admin-6.acf-admin-single-field-group .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .select2-container.-acf .select2-selection__rendered .select2-search input{height:38px}.acf-admin-6.acf-admin-single-field-group .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acfe-flexible-layout-location-rules{padding-left:0;padding-right:0}.acf-admin-6.acf-admin-single-field-group .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acfe-flexible-layout-location-rules td:first-of-type{padding-left:0}.acf-admin-6.acf-admin-single-field-group .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_category],.acf-admin-6.acf-admin-single-field-group .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_settings_label]{padding-left:0;padding-right:0}.acf-admin-6.acf-admin-single-field-group .acf-field-setting-acfe_field_group_condition{padding-right:72px;padding-left:72px;margin-top:32px}
|
assets/css/acfe-input.css
CHANGED
@@ -6,6 +6,10 @@
|
|
6 |
word-break: break-word
|
7 |
}
|
8 |
|
|
|
|
|
|
|
|
|
9 |
.acf-panel .acf-panel-title {
|
10 |
font-weight: 600
|
11 |
}
|
6 |
word-break: break-word
|
7 |
}
|
8 |
|
9 |
+
.acf-fields>.acf-field {
|
10 |
+
padding: 15px 12px
|
11 |
+
}
|
12 |
+
|
13 |
.acf-panel .acf-panel-title {
|
14 |
font-weight: 600
|
15 |
}
|
assets/css/acfe-input.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.acf-field .acf-label label{font-weight:600}.acf-field p.description{word-break:break-word}.acf-panel .acf-panel-title{font-weight:600}.acf-fields.-left>.acf-field>.acf-label,.acfe-postbox-left>.inside>.acf-field>.acf-label{min-height:1px}#side-sortables .acf-fields>.acf-field.acfe-no-label>.acf-label,.acf-field.acfe-no-label>.acf-label{margin:0}#side-sortables .acf-fields>.acf-field.acfe-no-label>.acf-label>label,.acf-field.acfe-no-label>.acf-label>label{display:none}#side-sortables .acf-fields>.acf-field.acfe-no-label>.acf-label>p.description,.acf-field.acfe-no-label>.acf-label>p.description{margin-bottom:10px}body .medium-editor-toolbar{z-index:999999!important}.acf-accordion{z-index:initial}.acf-link.-value .acfe-modal .button{display:inline-block}.acf-field-checkbox .acf-input .acf-checkbox-list.acf-bl li+li>strong{margin-top:15px;display:inline-block}.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input,.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input{margin-left:-12px;margin-right:-12px;margin-bottom:-15px}.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-no-label.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input,.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-no-label.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input{margin-top:-15px}.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style.acfe-no-label:not([data-acfe-clone-modal="1"])>.acf-label>p.description,.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style.acfe-no-label:not([data-acfe-clone-modal="1"])>.acf-label>p.description{margin-bottom:15px}.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-no-label.acfe-seamless-style>.acf-input>.acf-fields{border-width:0}.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input>.acf-fields{border-left-width:0;border-right-width:0;border-bottom-width:0}.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input>.acf-fields{border-width:0}.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input{margin:0}.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input>.acf-fields{border-width:1px}.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input,.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input{padding:0 0 0 1px;margin:-15px 0}.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input>.acf-fields,.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style>.acf-input>.acf-table,.acf-fields>.acf-field-clone[data-acfe-clone-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields,.acf-fields>.acf-field-clone[data-acfe-clone-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-table{border-width:0}.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style>.acf-table{margin:0}.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input>.acf-fields,.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input>.acf-fields,.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style>.acf-input>.acf-table{border-width:1px}.acf-postbox.seamless>.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style>.acf-input{padding:0 12px}tr.acf-field.acf-field-clone.acfe-seamless-style>td.acf-input>.acf-fields{border:0;margin:-15px -10px}tr.acf-field.acf-field-clone.acfe-seamless-style.acfe-field-clone-layout-table>td.acf-input{padding:0;margin:-15px 0}tr.acf-field.acf-field-clone.acfe-seamless-style.acfe-field-clone-layout-table>td.acf-input>.acf-table,tr.acf-field.acf-field-clone[data-acfe-clone-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields,tr.acf-field.acf-field-clone[data-acfe-clone-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-table{border-width:0}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap{height:auto}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default{border:1px solid #7e8993;border-radius:4px}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default .CodeMirror-gutters{border-right:1px solid #7e8993;background:#f9f9f9}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default .CodeMirror-activeline-background{background:#f9f9f9}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default .CodeMirror-selected{background:#f0f0f0!important}.acf-field-acfe-code-editor>td.acf-input{max-width:1px}#acf-admin-tool-export>.CodeMirror-wrap{height:auto}#acf-admin-tool-export>.CodeMirror-wrap.cm-s-default{border:1px solid #7e8993;border-radius:4px}#acf-admin-tool-export>.CodeMirror-wrap.cm-s-default .CodeMirror-gutters{border-right:1px solid #7e8993;background:#f9f9f9}#acf-admin-tool-export>.CodeMirror-wrap.cm-s-default .CodeMirror-activeline-background{background:#f9f9f9}#acf-admin-tool-export>.CodeMirror-wrap.cm-s-default .CodeMirror-selected{background:#f0f0f0!important}body .CodeMirror-wrap pre{word-break:break-all}body:not(.acf-admin-5-3) .acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default{border-color:#dfdfdf}.acfe-modal-content .acf-color-picker .wp-picker-holder{position:relative}.acf-fields.acfe-column-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;align-content:flex-start}.acf-fields.acfe-column-wrapper>.acf-field,.acf-fields.acfe-column-wrapper>.acf-tab-wrap{width:100%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0;border-top-width:0}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-endpoint="1"]{width:100%;border-top:1px solid #eee}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-endpoint="1"]+.acf-field:not(.acf-field-acfe-column),.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-endpoint="1"]:last-child{border-top:none}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="1/12"]{width:8.333333%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="2/12"]{width:16.66666%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="3/12"]{width:25%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="4/12"]{width:33.33333%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="5/12"]{width:41.66667%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="6/12"]{width:50%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="7/12"]{width:58.33333%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="8/12"]{width:66.66666%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="9/12"]{width:75%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="10/12"]{width:83.33333%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="11/12"]{width:91.66667%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="12/12"]{width:100%;border-right:0}@media only screen and (max-width:1024px){.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="1/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="10/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="11/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="2/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="3/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="4/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="5/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="7/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="8/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="9/12"]{width:50%}}@media only screen and (max-width:640px){.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="1/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="10/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="11/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="12/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="2/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="3/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="4/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="5/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="6/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="7/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="8/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="9/12"]{width:100%}}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column>.acf-input>.acf-fields>.acf-field{border-top-width:0}.acf-fields.acfe-column-wrapper.-left>.acf-field.acf-field-acfe-column>.acf-input{float:none;width:auto;margin:0;padding:0}.acf-fields.acfe-column-wrapper>.acfe-flexible-opened-actions{width:100%}.acf-repeater .acf-row.-collapsed>.acf-fields.acfe-column-wrapper{display:table-cell}.acf-repeater .acf-row.-collapsed>.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column.-collapsed-target{width:100%}.acf-postbox.seamless>.inside.acfe-column-wrapper{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.acf-ui-datepicker .ui-datepicker{padding:0;border-color:#7e8993!important;border-radius:4px;-webkit-box-sizing:border-box;box-sizing:border-box;background:#fff}.acf-ui-datepicker select{font-size:14px;cursor:pointer;vertical-align:middle;line-height:2;color:#32373c;border-color:#7e8993;-webkit-box-shadow:none;box-shadow:none;border-radius:3px;padding:0 24px 0 8px;min-height:30px;max-width:25rem;-webkit-appearance:none;background:url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') right 5px top 55%/16px 16px no-repeat #fff}.acf-ui-datepicker .ui-datepicker table{font-size:13px;margin:0 0 7px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-header{border:none;background:#f9f9f9;color:#222;font-weight:400;border-radius:4px 4px 0}.acf-ui-datepicker .ui-datepicker .ui-datepicker-header .ui-state-hover{background:#f9f9f9;cursor:pointer;border-radius:0;border:0}.acf-ui-datepicker .ui-datepicker thead{background:#f9f9f9;color:#222}.acf-ui-datepicker .ui-datepicker .ui-datepicker-title{margin-top:.4em;margin-bottom:.3em;color:#222;font-size:14px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next,.acf-ui-datepicker .ui-datepicker .ui-datepicker-next-hover,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev-hover{height:20px;width:20px;border:none;overflow:hidden;margin-top:15px;top:0}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next-hover,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev-hover{background:0 0!important;color:#007cba!important}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next{right:7px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev{left:7px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next span,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev span{height:20px;width:20px;background:0 0;position:relative;margin:0;left:unset;top:unset;font-size:1px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next span:before,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev span:before{display:block;font-family:dashicons;line-height:1;font-weight:400;text-indent:0;font-style:normal;speak:none;text-decoration:inherit;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:20px;height:20px;font-size:16px;vertical-align:top;text-align:center}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next span:before{content:"\f345"}.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev span:before{content:"\f341"}.acf-ui-datepicker .ui-datepicker .ui-datepicker-title select{margin:0 3px}.acf-ui-datepicker .ui-datepicker th{padding:.75em 0;color:#222;font-weight:400;border:none;border-bottom:1px solid #e1e1e1;background:#f9f9f9}.acf-ui-datepicker .ui-datepicker td{background:#fff;border:none;padding:0}.acf-ui-datepicker .ui-datepicker td .ui-state-default{background:0 0;border:none;text-align:center;padding:.5em;margin:0;font-weight:400;color:#333}.acf-ui-datepicker .ui-datepicker td .ui-state-active,.acf-ui-datepicker .ui-datepicker td .ui-state-hover{background:#007cba;color:#fff;-webkit-box-shadow:none;box-shadow:none}.acf-ui-datepicker .ui-datepicker td.ui-state-disabled,.acf-ui-datepicker .ui-datepicker td.ui-state-disabled .ui-state-default{opacity:1;color:#999}.acf-ui-datepicker .ui-datepicker-today .ui-state-highlight{border:none!important;background:#eee!important;font-weight:400!important;color:#222!important}.acf-ui-datepicker .ui-state-highlight.ui-state-active,.acf-ui-datepicker .ui-state-highlight.ui-state-hover{border:none!important;background:#007cba!important;font-weight:400!important;color:#fff!important}.acf-ui-datepicker .ui-state-highlight.ui-state-hover.ui-state-active{background:#007cba!important}.acf-ui-datepicker .ui-timepicker-div{padding:10px 7px!important}.acf-ui-datepicker .ui-timepicker-div .ui-widget-header{background:0 0!important;border:0!important;display:none!important}.acf-ui-datepicker .ui-timepicker-div .ui-widget-header .ui-datepicker-title{font-size:13px!important;font-weight:600!important}.acf-ui-datepicker .ui-timepicker-div dl{margin:0;text-align:center!important}.acf-ui-datepicker .ui-timepicker-div .ui_tpicker_time_label{display:none!important}.acf-ui-datepicker .ui-timepicker-div select{background:url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') right 5px top 55%/16px 16px no-repeat #fff!important;color:#32373c!important;border-color:#7e8993!important}.acf-ui-datepicker .ui-datepicker-buttonpane{border:0!important;padding:7px!important;margin:0!important;background:#f9f9f9!important;border-top:1px solid #e1e1e1!important;border-radius:0 0 4px 4px!important}.acf-ui-datepicker .ui-datepicker-buttonpane:after{content:'';display:block;clear:both}.acf-ui-datepicker .ui-datepicker-buttonpane button{display:inline-block;text-decoration:none;font-size:13px!important;line-height:2.15384615;min-height:30px;margin:0!important;padding:0 10px!important;cursor:pointer!important;-webkit-appearance:none;border-radius:3px;font-weight:400!important;white-space:nowrap;-webkit-box-sizing:border-box;box-sizing:border-box;color:#0071a1!important;background:#f3f5f6!important;vertical-align:top;-webkit-box-shadow:none!important;box-shadow:none!important;outline:0!important;opacity:unset!important;-webkit-filter:unset!important;filter:unset!important;border:1px solid #0071a1!important}.acf-ui-datepicker .ui-datepicker-buttonpane button:hover{background:#f1f1f1!important;border-color:#016087!important;color:#016087!important}body.-loading *{cursor:wait!important}.acf-flexible-content>.values>.ui-sortable-placeholder{border-width:2px;border-color:#ccc}.acf-flexible-content .layout .acf-fc-layout-handle{color:#444;font-weight:600}.layout.acfe-flexible-modal-edit-error>.acf-fc-layout-handle{color:#f33b28}.layout.acfe-flexible-modal-edit-error>.acf-fc-layout-handle>.acf-fc-layout-order{background:#f33b28;color:#fff}.acf-field-flexible-content[data-acfe-flexible-modal-edition="1"]:not([data-acfe-flexible-placeholder="1"]):not([data-acfe-flexible-preview="1"])>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-handle{border-bottom-width:0}.acf-field-flexible-content[data-acfe-flexible-placeholder="1"]>.acf-input>.acf-flexible-content>.values>.layout.-collapsed>.acf-fc-layout-handle,.acf-field-flexible-content[data-acfe-flexible-preview="1"]>.acf-input>.acf-flexible-content>.values>.layout.-collapsed>.acf-fc-layout-handle{border-bottom-width:1px}.acf-field-flexible-content[data-acfe-flexible-lock="1"]>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-handle{cursor:pointer}.acf-fc-popup.top.acfe-fc-popup-grey:before{border-top-color:#e1e1e1}.acf-tooltip.bottom.acfe-fc-popup-grey:before{border-bottom-color:#e1e1e1}.acf-fc-popup.acfe-fc-popup-grey{background:#fcfcfc;border-radius:3px;color:#444;border:1px solid #e1e1e1;font-size:13px}.acf-tooltip.top.acfe-fc-popup-grey{margin-top:-16px}.acf-tooltip.bottom.acfe-fc-popup-grey{margin-bottom:-16px}.acf-fc-popup.acfe-fc-popup-grey a{color:#444}.acf-fc-popup.acfe-fc-popup-grey a:hover{color:#fff}.layout>.acfe-fc-placeholder{text-align:center;background:#f9f9f9;display:block;text-decoration:none;position:relative;cursor:pointer}.layout>.acfe-fc-placeholder:focus{border-color:#ccc;-webkit-box-shadow:none;box-shadow:none}.layout>.acfe-fc-placeholder>.acfe-flexible-placeholder{height:110px;overflow:hidden;text-align:initial}.layout>.acfe-fc-placeholder>a{z-index:2;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);border-color:#ccd0d4;color:#23282d;border-radius:100px;-webkit-box-shadow:none;box-shadow:none;background:#fff;width:30px;min-height:30px;height:30px;padding:0;display:block}body:not(.acf-admin-5-3) .layout>.acfe-fc-placeholder>a{border-color:#999}.acfe-modal.-open.acfe-modal-sub>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-flexible-content>.acf-input>.acf-flexible-content>.values>.layout>.acfe-fc-placeholder>a{z-index:0}.layout>.acfe-fc-placeholder>a:active{-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.layout>.acfe-fc-placeholder>a:focus{border-color:#ccc;-webkit-box-shadow:none;box-shadow:none}.layout>.acfe-fc-placeholder>a span{width:29px;height:30px;vertical-align:top;line-height:28px;font-size:18px}body:not(.acf-admin-5-3) .layout>.acfe-fc-placeholder>a span{width:30px;height:30px}.layout>.acfe-fc-placeholder.acfe-fc-preview{background:0 0}.layout>.acfe-fc-placeholder.acfe-fc-preview>.acfe-flexible-placeholder{min-height:55px;height:auto}.layout>.acfe-fc-placeholder.acfe-fc-preview>a{display:none}.layout>.acfe-fc-placeholder.acfe-fc-preview:hover>a{display:block}.layout>.acfe-fc-placeholder.acfe-fc-preview.-loading{background:#f9f9f9;min-height:110px}.layout>.acfe-fc-placeholder.acfe-fc-preview.-loading>.acfe-flexible-placeholder>.spinner{visibility:visible;float:none;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);margin:0;z-index:10000}.layout>.acfe-fc-placeholder .acfe-fc-overlay{position:absolute;width:100%;height:100%;padding:0;background-color:rgba(255,255,255,0);-webkit-transition:background-color .2s linear;-o-transition:background-color .2s linear;transition:background-color .2s linear}.layout>.acfe-fc-placeholder .acfe-fc-overlay.-hover,.layout>.acfe-fc-placeholder:hover .acfe-fc-overlay{background-color:rgba(255,255,255,.7);z-index:1}.layout>.acfe-fc-placeholder.acfe-fc-preview.-loading>a span{visibility:hidden}.layout>.acf-fields>.acfe-flexible-opened-actions,.layout>.acf-table>.acfe-flexible-opened-actions{background:#f9f9f9;border-top:1px solid #e1e1e1;padding:12px;text-align:right;clear:both}.acfe-flexible-layout-thumbnail{display:block;width:100%;height:9.8vw;background-color:#eee;background-size:cover;background-repeat:no-repeat;background-position:center;position:relative;margin-bottom:15px}.acfe-flexible-layout-thumbnail.acfe-flexible-layout-thumbnail-not-found:after{content:"\f180";font-family:dashicons;display:inline-block;line-height:1;font-weight:400;font-style:normal;speak:none;text-decoration:inherit;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top;text-align:center;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#ccc;font-size:110px}.acfe-col-2 .acfe-flexible-layout-thumbnail{height:20.5vw}.acfe-col-3 .acfe-flexible-layout-thumbnail{height:13.3vw}.acfe-col-5 .acfe-flexible-layout-thumbnail{height:7.65vw}.acfe-col-6 .acfe-flexible-layout-thumbnail{height:6.2vw}@media only screen and (max-width:960px){.acfe-flex-container .acfe-flexible-layout-thumbnail,.acfe-flexible-layout-thumbnail{height:18.4vw}}@media only screen and (max-width:720px){.acfe-flex-container .acfe-flexible-layout-thumbnail,.acfe-flexible-layout-thumbnail{height:37.2vw}}.acfe-flexible-layout-thumbnail.acfe-flexible-layout-thumbnail-no-modal{display:block;width:230px;height:103px;background-color:#1f2329}.acfe-flexible-layout-thumbnail.acfe-flexible-layout-thumbnail-no-modal.acfe-flexible-layout-thumbnail-not-found:after{color:#2f353e}.acf-field.acf-field-flexible-content[data-acfe-flexible-stylised-button="1"]>.acf-input>.acf-flexible-content:not(.empty)>.values{margin-bottom:15px}.acf-field.acf-field-flexible-content>.acf-input>.acf-flexible-content>.acfe-flexible-stylised-button{padding:40px 20px;border:2px dashed #ccc;text-align:center}.acf-field.acf-field-flexible-content>.acf-input>.acf-flexible-content>.acfe-flexible-stylised-button>.acf-actions{text-align:center}.acf-field.acf-field-flexible-content>.acf-input>.acf-flexible-content .acf-actions .acf-button .dashicons{width:auto;height:auto;vertical-align:text-top}.acf-field.acf-field-flexible-content[data-acfe-flexible-hide-empty-message="1"]>.acf-input>.acf-flexible-content>.no-value-message{display:none}.acf-field.acf-field-flexible-content[data-acfe-flexible-hide-empty-message="1"]>.acf-input>.acf-flexible-content.-empty>.values{margin-bottom:0}.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons:before{font-family:dashicons}.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons{visibility:hidden}.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons.dashicons-admin-generic,.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.acfe-flexible-icon.dashicons{visibility:visible}.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons.dashicons-admin-generic:before{margin-left:1px;line-height:.9}.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-duplicate,.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-minus,.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-plus,.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-duplicate,.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-minus,.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-plus{visibility:hidden}.acf-flexible-content .layout.-hover>.acf-fc-layout-controls .acf-icon.-duplicate,.acf-flexible-content .layout.-hover>.acf-fc-layout-controls .acf-icon.-minus,.acf-flexible-content .layout.-hover>.acf-fc-layout-controls .acf-icon.-plus,.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.-duplicate,.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.-minus,.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.-plus{visibility:visible}.acf-flexible-content .layout>.acf-fc-layout-controls .acf-icon.disabled{color:#ccc;cursor:initial}.acf-flexible-content .layout>.acf-fc-layout-controls .acf-icon.disabled:hover{color:#ccc;background:#f5f5f5}.acf-field-acfe-flexible-layout-title{display:none}input.acfe-flexible-control-title{border:none;-webkit-box-shadow:none!important;box-shadow:none!important;outline:0!important;border-radius:0;border-bottom:1px solid transparent!important;font-weight:600;width:auto!important;padding:0!important;display:none;min-height:20px;vertical-align:unset;background:0 0}.acf-field-flexible-content[data-acfe-flexible-title-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout:not(.acfe-flexible-title-edition)>.acf-fc-layout-handle .acfe-layout-title:hover{background:#f4f4f4}.acf-field-flexible-content[data-acfe-flexible-title-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout.acfe-flexible-title-edition>.acf-fc-layout-handle .acfe-layout-title input.acfe-flexible-control-title{display:inline-block;border-bottom:1px solid #ddd!important}.acf-field-flexible-content[data-acfe-flexible-title-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout.acfe-flexible-title-edition>.acf-fc-layout-handle .acfe-layout-title .acfe-layout-title-text{display:none}.acf-field-flexible-content[data-acfe-flexible-title-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-handle .acfe-layout-title{cursor:text;position:relative}.layout.acfe-flexible-layout-hidden>.acf-fc-layout-controls,.layout.acfe-flexible-layout-hidden>.acf-fc-layout-handle,.layout.acfe-flexible-layout-hidden>.acf-fields,.layout.acfe-flexible-layout-hidden>.acfe-fc-placeholder{opacity:.5}.acf-field-flexible-content[data-acfe-flexible-modal-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-controls>a.-collapse{display:none}.acf-range-wrap input[type=number]{min-width:3.5em}.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style:not([data-acfe-group-modal="1"])>.acf-input,.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style:not([data-acfe-group-modal="1"])>.acf-input{margin-left:-12px;margin-right:-12px;margin-bottom:-15px}.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style.acfe-no-label:not([data-acfe-group-modal="1"])>.acf-input,.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style.acfe-no-label:not([data-acfe-group-modal="1"])>.acf-input{margin-top:-15px}.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style.acfe-no-label:not([data-acfe-group-modal="1"])>.acf-label>p.description,.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style.acfe-no-label:not([data-acfe-group-modal="1"])>.acf-label>p.description{margin-bottom:15px}.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style.acfe-no-label>.acf-input>.acf-fields{border-width:0}.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input>.acf-fields{border-left-width:0;border-right-width:0;border-bottom-width:0}.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input>.acf-fields,.acf-fields>.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields,.acf-fields>.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-table{border-width:0}.acf-fields>.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acf-fields,.acf-fields>.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acf-table{display:none}.acf-fields.-left>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input{margin:0}.acf-fields.-left>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input>.acf-fields{border-width:1px}.acf-fields.-left>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style:not([data-acfe-group-modal="1"])>.acf-input,.acf-fields.-left>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style:not([data-acfe-group-modal="1"])>.acf-input{padding:0 0 0 1px;margin:-15px 0}.acf-fields.-left>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input>.acf-fields,.acf-fields.-left>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input>.acf-table,.acf-fields.-left>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input>.acf-fields,.acf-fields.-left>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input>.acf-table{border-width:0}.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-table,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-table,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-table{margin:0}.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input>.acf-fields,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input>.acf-table,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input>.acf-fields,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input>.acf-table,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input>.acf-fields,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input>.acf-table{border-width:1px}.acf-postbox.seamless>.acf-fields.-left>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields.-left>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields.-left>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input{padding:0 12px}tr.acf-field.acf-field-group.acfe-seamless-style>td.acf-input>.acf-fields{border:0;margin:-15px -10px}tr.acf-field.acf-field-group.acfe-seamless-style.acfe-field-group-layout-table>td.acf-input{padding:0;margin:-15px 0}tr.acf-field.acf-field-group.acfe-seamless-style.acfe-field-group-layout-table>td.acf-input>.acf-table,tr.acf-field.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields,tr.acf-field.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-table{border-width:0}.acf-field-acfe-hidden{display:none}.acf-field-radio .acf-input .acf-radio-list.acf-bl li>strong,.acf-field-radio[data-acfe-labels] .acf-input .acf-radio-list.acf-hl li>strong{display:block}.acf-field-radio .acf-input .acf-radio-list.acf-bl li+li>strong{margin-top:15px}.acf-field-repeater[data-acfe-repeater-lock="1"]>.acf-input>.acf-repeater>.acf-table>tbody>.acf-row>.acf-row-handle{cursor:initial}.acf-repeater.-block>table,.acf-repeater.-row>table{border-collapse:separate;border-spacing:0 15px;background:0 0;border:0;margin-top:-15px;margin-bottom:-7px}.acf-repeater.-block>table>*,.acf-repeater.-row>table>*{border-collapse:collapse;border-spacing:0}.acf-repeater.-block>table>tbody>tr>td,.acf-repeater.-row>table>tbody>tr>td{border-top:1px solid #ccd0d4!important;border-bottom:1px solid #ccd0d4!important}.acf-repeater.-block>table>tbody>tr>td:first-of-type,.acf-repeater.-row>table>tbody>tr>td:first-of-type{border-left:1px solid #ccd0d4!important}.acf-repeater.-block>table>tbody>tr>td:last-of-type,.acf-repeater.-row>table>tbody>tr>td:last-of-type{border-right:1px solid #ccd0d4!important}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td{border-top:1px solid #e1e1e1;border-bottom:1px solid #e1e1e1}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td:first-of-type,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td:first-of-type{border-left:1px solid #e1e1e1}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td:last-of-type,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td:last-of-type{border-right:1px solid #e1e1e1}.acf-repeater.-table.-empty>.acf-table{display:none}.acf-field-repeater>.acf-input>.acf-repeater>.acfe-repeater-stylised-button{padding:40px 20px;border:2px dashed #ccc;text-align:center}.acf-field-repeater>.acf-input>.acf-repeater>.acfe-repeater-stylised-button>.acf-actions{text-align:center;position:relative}.acf-field-repeater>.acf-input>.acf-repeater>.acfe-repeater-stylised-button>.acf-actions .acf-button{float:none}.acf-field-repeater>.acf-input>.acf-repeater>.acfe-repeater-stylised-button>.acf-actions .acf-tablenav{float:none;position:absolute;top:0;right:0}.acf-field-flexible-content>.acf-input>.acf-repeater .acf-actions .acf-button .dashicons{width:auto;height:auto;vertical-align:text-top}.acf-field-textarea[data-acfe-textarea-code="1"]>.acf-input>textarea{font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:1em}.acf-editor-wrap iframe{min-height:60px}.acf-editor-wrap .mce-top-part::before{-webkit-box-shadow:none;box-shadow:none}.acf-editor-wrap div.mce-statusbar{border:0}.acf-editor-wrap .mce-divider,.acf-editor-wrap .mce-path-item{color:#aaa}form.acfe-form.is-invalid[data-hide-error="1"]>.acf-error-message.-dismiss,form.acfe-form.is-valid[data-hide-revalidation="1"]>.acf-notice.-success{display:none}form.acfe-form.is-invalid[data-errors-position=below] .acf-field .acf-notice{margin:15px 0 0}.acf-media-modal .screen-reader-text,.acf-media-modal .screen-reader-text span,.acf-media-modal .ui-helper-hidden-accessible{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.acfe-field-tooltip{float:right;font-size:15px;color:#999;height:16px;line-height:1.35}.acf-field[data-instruction-tooltip]:not([data-instruction-placement])>.acf-input>p.description,.acf-field[data-instruction-tooltip]:not([data-instruction-placement])>.acf-label>p.description{display:none}.acf-field .acf-input>p.description:first-child{margin-top:0;margin-bottom:5px}.acf-field p.description>.more,.acf-field[data-instruction-above-field]:not([data-instruction-placement])>.acf-label>p.description{display:none}.mce-toolbar .mce-btn-group:not(:first-child){margin-left:6px;padding-left:6px}
|
1 |
+
.acf-field .acf-label label{font-weight:600}.acf-field p.description{word-break:break-word}.acf-fields>.acf-field{padding:15px 12px}.acf-panel .acf-panel-title{font-weight:600}.acf-fields.-left>.acf-field>.acf-label,.acfe-postbox-left>.inside>.acf-field>.acf-label{min-height:1px}#side-sortables .acf-fields>.acf-field.acfe-no-label>.acf-label,.acf-field.acfe-no-label>.acf-label{margin:0}#side-sortables .acf-fields>.acf-field.acfe-no-label>.acf-label>label,.acf-field.acfe-no-label>.acf-label>label{display:none}#side-sortables .acf-fields>.acf-field.acfe-no-label>.acf-label>p.description,.acf-field.acfe-no-label>.acf-label>p.description{margin-bottom:10px}body .medium-editor-toolbar{z-index:999999!important}.acf-accordion{z-index:initial}.acf-link.-value .acfe-modal .button{display:inline-block}.acf-field-checkbox .acf-input .acf-checkbox-list.acf-bl li+li>strong{margin-top:15px;display:inline-block}.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input,.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input{margin-left:-12px;margin-right:-12px;margin-bottom:-15px}.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-no-label.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input,.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-no-label.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input{margin-top:-15px}.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style.acfe-no-label:not([data-acfe-clone-modal="1"])>.acf-label>p.description,.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style.acfe-no-label:not([data-acfe-clone-modal="1"])>.acf-label>p.description{margin-bottom:15px}.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-no-label.acfe-seamless-style>.acf-input>.acf-fields{border-width:0}.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input>.acf-fields{border-left-width:0;border-right-width:0;border-bottom-width:0}.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input>.acf-fields{border-width:0}.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input{margin:0}.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input>.acf-fields{border-width:1px}.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input,.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input{padding:0 0 0 1px;margin:-15px 0}.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input>.acf-fields,.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style>.acf-input>.acf-table,.acf-fields>.acf-field-clone[data-acfe-clone-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields,.acf-fields>.acf-field-clone[data-acfe-clone-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-table{border-width:0}.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style>.acf-table{margin:0}.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input>.acf-fields,.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input>.acf-fields,.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style>.acf-input>.acf-table{border-width:1px}.acf-postbox.seamless>.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style>.acf-input{padding:0 12px}tr.acf-field.acf-field-clone.acfe-seamless-style>td.acf-input>.acf-fields{border:0;margin:-15px -10px}tr.acf-field.acf-field-clone.acfe-seamless-style.acfe-field-clone-layout-table>td.acf-input{padding:0;margin:-15px 0}tr.acf-field.acf-field-clone.acfe-seamless-style.acfe-field-clone-layout-table>td.acf-input>.acf-table,tr.acf-field.acf-field-clone[data-acfe-clone-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields,tr.acf-field.acf-field-clone[data-acfe-clone-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-table{border-width:0}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap{height:auto}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default{border:1px solid #7e8993;border-radius:4px}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default .CodeMirror-gutters{border-right:1px solid #7e8993;background:#f9f9f9}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default .CodeMirror-activeline-background{background:#f9f9f9}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default .CodeMirror-selected{background:#f0f0f0!important}.acf-field-acfe-code-editor>td.acf-input{max-width:1px}#acf-admin-tool-export>.CodeMirror-wrap{height:auto}#acf-admin-tool-export>.CodeMirror-wrap.cm-s-default{border:1px solid #7e8993;border-radius:4px}#acf-admin-tool-export>.CodeMirror-wrap.cm-s-default .CodeMirror-gutters{border-right:1px solid #7e8993;background:#f9f9f9}#acf-admin-tool-export>.CodeMirror-wrap.cm-s-default .CodeMirror-activeline-background{background:#f9f9f9}#acf-admin-tool-export>.CodeMirror-wrap.cm-s-default .CodeMirror-selected{background:#f0f0f0!important}body .CodeMirror-wrap pre{word-break:break-all}body:not(.acf-admin-5-3) .acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default{border-color:#dfdfdf}.acfe-modal-content .acf-color-picker .wp-picker-holder{position:relative}.acf-fields.acfe-column-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;align-content:flex-start}.acf-fields.acfe-column-wrapper>.acf-field,.acf-fields.acfe-column-wrapper>.acf-tab-wrap{width:100%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0;border-top-width:0}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-endpoint="1"]{width:100%;border-top:1px solid #eee}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-endpoint="1"]+.acf-field:not(.acf-field-acfe-column),.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-endpoint="1"]:last-child{border-top:none}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="1/12"]{width:8.333333%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="2/12"]{width:16.66666%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="3/12"]{width:25%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="4/12"]{width:33.33333%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="5/12"]{width:41.66667%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="6/12"]{width:50%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="7/12"]{width:58.33333%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="8/12"]{width:66.66666%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="9/12"]{width:75%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="10/12"]{width:83.33333%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="11/12"]{width:91.66667%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="12/12"]{width:100%;border-right:0}@media only screen and (max-width:1024px){.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="1/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="10/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="11/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="2/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="3/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="4/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="5/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="7/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="8/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="9/12"]{width:50%}}@media only screen and (max-width:640px){.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="1/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="10/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="11/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="12/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="2/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="3/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="4/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="5/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="6/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="7/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="8/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="9/12"]{width:100%}}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column>.acf-input>.acf-fields>.acf-field{border-top-width:0}.acf-fields.acfe-column-wrapper.-left>.acf-field.acf-field-acfe-column>.acf-input{float:none;width:auto;margin:0;padding:0}.acf-fields.acfe-column-wrapper>.acfe-flexible-opened-actions{width:100%}.acf-repeater .acf-row.-collapsed>.acf-fields.acfe-column-wrapper{display:table-cell}.acf-repeater .acf-row.-collapsed>.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column.-collapsed-target{width:100%}.acf-postbox.seamless>.inside.acfe-column-wrapper{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.acf-ui-datepicker .ui-datepicker{padding:0;border-color:#7e8993!important;border-radius:4px;-webkit-box-sizing:border-box;box-sizing:border-box;background:#fff}.acf-ui-datepicker select{font-size:14px;cursor:pointer;vertical-align:middle;line-height:2;color:#32373c;border-color:#7e8993;-webkit-box-shadow:none;box-shadow:none;border-radius:3px;padding:0 24px 0 8px;min-height:30px;max-width:25rem;-webkit-appearance:none;background:url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') right 5px top 55%/16px 16px no-repeat #fff}.acf-ui-datepicker .ui-datepicker table{font-size:13px;margin:0 0 7px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-header{border:none;background:#f9f9f9;color:#222;font-weight:400;border-radius:4px 4px 0}.acf-ui-datepicker .ui-datepicker .ui-datepicker-header .ui-state-hover{background:#f9f9f9;cursor:pointer;border-radius:0;border:0}.acf-ui-datepicker .ui-datepicker thead{background:#f9f9f9;color:#222}.acf-ui-datepicker .ui-datepicker .ui-datepicker-title{margin-top:.4em;margin-bottom:.3em;color:#222;font-size:14px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next,.acf-ui-datepicker .ui-datepicker .ui-datepicker-next-hover,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev-hover{height:20px;width:20px;border:none;overflow:hidden;margin-top:15px;top:0}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next-hover,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev-hover{background:0 0!important;color:#007cba!important}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next{right:7px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev{left:7px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next span,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev span{height:20px;width:20px;background:0 0;position:relative;margin:0;left:unset;top:unset;font-size:1px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next span:before,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev span:before{display:block;font-family:dashicons;line-height:1;font-weight:400;text-indent:0;font-style:normal;speak:none;text-decoration:inherit;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:20px;height:20px;font-size:16px;vertical-align:top;text-align:center}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next span:before{content:"\f345"}.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev span:before{content:"\f341"}.acf-ui-datepicker .ui-datepicker .ui-datepicker-title select{margin:0 3px}.acf-ui-datepicker .ui-datepicker th{padding:.75em 0;color:#222;font-weight:400;border:none;border-bottom:1px solid #e1e1e1;background:#f9f9f9}.acf-ui-datepicker .ui-datepicker td{background:#fff;border:none;padding:0}.acf-ui-datepicker .ui-datepicker td .ui-state-default{background:0 0;border:none;text-align:center;padding:.5em;margin:0;font-weight:400;color:#333}.acf-ui-datepicker .ui-datepicker td .ui-state-active,.acf-ui-datepicker .ui-datepicker td .ui-state-hover{background:#007cba;color:#fff;-webkit-box-shadow:none;box-shadow:none}.acf-ui-datepicker .ui-datepicker td.ui-state-disabled,.acf-ui-datepicker .ui-datepicker td.ui-state-disabled .ui-state-default{opacity:1;color:#999}.acf-ui-datepicker .ui-datepicker-today .ui-state-highlight{border:none!important;background:#eee!important;font-weight:400!important;color:#222!important}.acf-ui-datepicker .ui-state-highlight.ui-state-active,.acf-ui-datepicker .ui-state-highlight.ui-state-hover{border:none!important;background:#007cba!important;font-weight:400!important;color:#fff!important}.acf-ui-datepicker .ui-state-highlight.ui-state-hover.ui-state-active{background:#007cba!important}.acf-ui-datepicker .ui-timepicker-div{padding:10px 7px!important}.acf-ui-datepicker .ui-timepicker-div .ui-widget-header{background:0 0!important;border:0!important;display:none!important}.acf-ui-datepicker .ui-timepicker-div .ui-widget-header .ui-datepicker-title{font-size:13px!important;font-weight:600!important}.acf-ui-datepicker .ui-timepicker-div dl{margin:0;text-align:center!important}.acf-ui-datepicker .ui-timepicker-div .ui_tpicker_time_label{display:none!important}.acf-ui-datepicker .ui-timepicker-div select{background:url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') right 5px top 55%/16px 16px no-repeat #fff!important;color:#32373c!important;border-color:#7e8993!important}.acf-ui-datepicker .ui-datepicker-buttonpane{border:0!important;padding:7px!important;margin:0!important;background:#f9f9f9!important;border-top:1px solid #e1e1e1!important;border-radius:0 0 4px 4px!important}.acf-ui-datepicker .ui-datepicker-buttonpane:after{content:'';display:block;clear:both}.acf-ui-datepicker .ui-datepicker-buttonpane button{display:inline-block;text-decoration:none;font-size:13px!important;line-height:2.15384615;min-height:30px;margin:0!important;padding:0 10px!important;cursor:pointer!important;-webkit-appearance:none;border-radius:3px;font-weight:400!important;white-space:nowrap;-webkit-box-sizing:border-box;box-sizing:border-box;color:#0071a1!important;background:#f3f5f6!important;vertical-align:top;-webkit-box-shadow:none!important;box-shadow:none!important;outline:0!important;opacity:unset!important;-webkit-filter:unset!important;filter:unset!important;border:1px solid #0071a1!important}.acf-ui-datepicker .ui-datepicker-buttonpane button:hover{background:#f1f1f1!important;border-color:#016087!important;color:#016087!important}body.-loading *{cursor:wait!important}.acf-flexible-content>.values>.ui-sortable-placeholder{border-width:2px;border-color:#ccc}.acf-flexible-content .layout .acf-fc-layout-handle{color:#444;font-weight:600}.layout.acfe-flexible-modal-edit-error>.acf-fc-layout-handle{color:#f33b28}.layout.acfe-flexible-modal-edit-error>.acf-fc-layout-handle>.acf-fc-layout-order{background:#f33b28;color:#fff}.acf-field-flexible-content[data-acfe-flexible-modal-edition="1"]:not([data-acfe-flexible-placeholder="1"]):not([data-acfe-flexible-preview="1"])>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-handle{border-bottom-width:0}.acf-field-flexible-content[data-acfe-flexible-placeholder="1"]>.acf-input>.acf-flexible-content>.values>.layout.-collapsed>.acf-fc-layout-handle,.acf-field-flexible-content[data-acfe-flexible-preview="1"]>.acf-input>.acf-flexible-content>.values>.layout.-collapsed>.acf-fc-layout-handle{border-bottom-width:1px}.acf-field-flexible-content[data-acfe-flexible-lock="1"]>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-handle{cursor:pointer}.acf-fc-popup.top.acfe-fc-popup-grey:before{border-top-color:#e1e1e1}.acf-tooltip.bottom.acfe-fc-popup-grey:before{border-bottom-color:#e1e1e1}.acf-fc-popup.acfe-fc-popup-grey{background:#fcfcfc;border-radius:3px;color:#444;border:1px solid #e1e1e1;font-size:13px}.acf-tooltip.top.acfe-fc-popup-grey{margin-top:-16px}.acf-tooltip.bottom.acfe-fc-popup-grey{margin-bottom:-16px}.acf-fc-popup.acfe-fc-popup-grey a{color:#444}.acf-fc-popup.acfe-fc-popup-grey a:hover{color:#fff}.layout>.acfe-fc-placeholder{text-align:center;background:#f9f9f9;display:block;text-decoration:none;position:relative;cursor:pointer}.layout>.acfe-fc-placeholder:focus{border-color:#ccc;-webkit-box-shadow:none;box-shadow:none}.layout>.acfe-fc-placeholder>.acfe-flexible-placeholder{height:110px;overflow:hidden;text-align:initial}.layout>.acfe-fc-placeholder>a{z-index:2;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);border-color:#ccd0d4;color:#23282d;border-radius:100px;-webkit-box-shadow:none;box-shadow:none;background:#fff;width:30px;min-height:30px;height:30px;padding:0;display:block}body:not(.acf-admin-5-3) .layout>.acfe-fc-placeholder>a{border-color:#999}.acfe-modal.-open.acfe-modal-sub>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-flexible-content>.acf-input>.acf-flexible-content>.values>.layout>.acfe-fc-placeholder>a{z-index:0}.layout>.acfe-fc-placeholder>a:active{-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.layout>.acfe-fc-placeholder>a:focus{border-color:#ccc;-webkit-box-shadow:none;box-shadow:none}.layout>.acfe-fc-placeholder>a span{width:29px;height:30px;vertical-align:top;line-height:28px;font-size:18px}body:not(.acf-admin-5-3) .layout>.acfe-fc-placeholder>a span{width:30px;height:30px}.layout>.acfe-fc-placeholder.acfe-fc-preview{background:0 0}.layout>.acfe-fc-placeholder.acfe-fc-preview>.acfe-flexible-placeholder{min-height:55px;height:auto}.layout>.acfe-fc-placeholder.acfe-fc-preview>a{display:none}.layout>.acfe-fc-placeholder.acfe-fc-preview:hover>a{display:block}.layout>.acfe-fc-placeholder.acfe-fc-preview.-loading{background:#f9f9f9;min-height:110px}.layout>.acfe-fc-placeholder.acfe-fc-preview.-loading>.acfe-flexible-placeholder>.spinner{visibility:visible;float:none;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);margin:0;z-index:10000}.layout>.acfe-fc-placeholder .acfe-fc-overlay{position:absolute;width:100%;height:100%;padding:0;background-color:rgba(255,255,255,0);-webkit-transition:background-color .2s linear;-o-transition:background-color .2s linear;transition:background-color .2s linear}.layout>.acfe-fc-placeholder .acfe-fc-overlay.-hover,.layout>.acfe-fc-placeholder:hover .acfe-fc-overlay{background-color:rgba(255,255,255,.7);z-index:1}.layout>.acfe-fc-placeholder.acfe-fc-preview.-loading>a span{visibility:hidden}.layout>.acf-fields>.acfe-flexible-opened-actions,.layout>.acf-table>.acfe-flexible-opened-actions{background:#f9f9f9;border-top:1px solid #e1e1e1;padding:12px;text-align:right;clear:both}.acfe-flexible-layout-thumbnail{display:block;width:100%;height:9.8vw;background-color:#eee;background-size:cover;background-repeat:no-repeat;background-position:center;position:relative;margin-bottom:15px}.acfe-flexible-layout-thumbnail.acfe-flexible-layout-thumbnail-not-found:after{content:"\f180";font-family:dashicons;display:inline-block;line-height:1;font-weight:400;font-style:normal;speak:none;text-decoration:inherit;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top;text-align:center;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#ccc;font-size:110px}.acfe-col-2 .acfe-flexible-layout-thumbnail{height:20.5vw}.acfe-col-3 .acfe-flexible-layout-thumbnail{height:13.3vw}.acfe-col-5 .acfe-flexible-layout-thumbnail{height:7.65vw}.acfe-col-6 .acfe-flexible-layout-thumbnail{height:6.2vw}@media only screen and (max-width:960px){.acfe-flex-container .acfe-flexible-layout-thumbnail,.acfe-flexible-layout-thumbnail{height:18.4vw}}@media only screen and (max-width:720px){.acfe-flex-container .acfe-flexible-layout-thumbnail,.acfe-flexible-layout-thumbnail{height:37.2vw}}.acfe-flexible-layout-thumbnail.acfe-flexible-layout-thumbnail-no-modal{display:block;width:230px;height:103px;background-color:#1f2329}.acfe-flexible-layout-thumbnail.acfe-flexible-layout-thumbnail-no-modal.acfe-flexible-layout-thumbnail-not-found:after{color:#2f353e}.acf-field.acf-field-flexible-content[data-acfe-flexible-stylised-button="1"]>.acf-input>.acf-flexible-content:not(.empty)>.values{margin-bottom:15px}.acf-field.acf-field-flexible-content>.acf-input>.acf-flexible-content>.acfe-flexible-stylised-button{padding:40px 20px;border:2px dashed #ccc;text-align:center}.acf-field.acf-field-flexible-content>.acf-input>.acf-flexible-content>.acfe-flexible-stylised-button>.acf-actions{text-align:center}.acf-field.acf-field-flexible-content>.acf-input>.acf-flexible-content .acf-actions .acf-button .dashicons{width:auto;height:auto;vertical-align:text-top}.acf-field.acf-field-flexible-content[data-acfe-flexible-hide-empty-message="1"]>.acf-input>.acf-flexible-content>.no-value-message{display:none}.acf-field.acf-field-flexible-content[data-acfe-flexible-hide-empty-message="1"]>.acf-input>.acf-flexible-content.-empty>.values{margin-bottom:0}.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons:before{font-family:dashicons}.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons{visibility:hidden}.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons.dashicons-admin-generic,.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.acfe-flexible-icon.dashicons{visibility:visible}.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons.dashicons-admin-generic:before{margin-left:1px;line-height:.9}.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-duplicate,.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-minus,.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-plus,.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-duplicate,.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-minus,.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-plus{visibility:hidden}.acf-flexible-content .layout.-hover>.acf-fc-layout-controls .acf-icon.-duplicate,.acf-flexible-content .layout.-hover>.acf-fc-layout-controls .acf-icon.-minus,.acf-flexible-content .layout.-hover>.acf-fc-layout-controls .acf-icon.-plus,.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.-duplicate,.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.-minus,.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.-plus{visibility:visible}.acf-flexible-content .layout>.acf-fc-layout-controls .acf-icon.disabled{color:#ccc;cursor:initial}.acf-flexible-content .layout>.acf-fc-layout-controls .acf-icon.disabled:hover{color:#ccc;background:#f5f5f5}.acf-field-acfe-flexible-layout-title{display:none}input.acfe-flexible-control-title{border:none;-webkit-box-shadow:none!important;box-shadow:none!important;outline:0!important;border-radius:0;border-bottom:1px solid transparent!important;font-weight:600;width:auto!important;padding:0!important;display:none;min-height:20px;vertical-align:unset;background:0 0}.acf-field-flexible-content[data-acfe-flexible-title-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout:not(.acfe-flexible-title-edition)>.acf-fc-layout-handle .acfe-layout-title:hover{background:#f4f4f4}.acf-field-flexible-content[data-acfe-flexible-title-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout.acfe-flexible-title-edition>.acf-fc-layout-handle .acfe-layout-title input.acfe-flexible-control-title{display:inline-block;border-bottom:1px solid #ddd!important}.acf-field-flexible-content[data-acfe-flexible-title-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout.acfe-flexible-title-edition>.acf-fc-layout-handle .acfe-layout-title .acfe-layout-title-text{display:none}.acf-field-flexible-content[data-acfe-flexible-title-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-handle .acfe-layout-title{cursor:text;position:relative}.layout.acfe-flexible-layout-hidden>.acf-fc-layout-controls,.layout.acfe-flexible-layout-hidden>.acf-fc-layout-handle,.layout.acfe-flexible-layout-hidden>.acf-fields,.layout.acfe-flexible-layout-hidden>.acfe-fc-placeholder{opacity:.5}.acf-field-flexible-content[data-acfe-flexible-modal-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-controls>a.-collapse{display:none}.acf-range-wrap input[type=number]{min-width:3.5em}.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style:not([data-acfe-group-modal="1"])>.acf-input,.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style:not([data-acfe-group-modal="1"])>.acf-input{margin-left:-12px;margin-right:-12px;margin-bottom:-15px}.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style.acfe-no-label:not([data-acfe-group-modal="1"])>.acf-input,.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style.acfe-no-label:not([data-acfe-group-modal="1"])>.acf-input{margin-top:-15px}.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style.acfe-no-label:not([data-acfe-group-modal="1"])>.acf-label>p.description,.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style.acfe-no-label:not([data-acfe-group-modal="1"])>.acf-label>p.description{margin-bottom:15px}.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style.acfe-no-label>.acf-input>.acf-fields{border-width:0}.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input>.acf-fields{border-left-width:0;border-right-width:0;border-bottom-width:0}.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input>.acf-fields,.acf-fields>.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields,.acf-fields>.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-table{border-width:0}.acf-fields>.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acf-fields,.acf-fields>.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acf-table{display:none}.acf-fields.-left>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input{margin:0}.acf-fields.-left>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input>.acf-fields{border-width:1px}.acf-fields.-left>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style:not([data-acfe-group-modal="1"])>.acf-input,.acf-fields.-left>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style:not([data-acfe-group-modal="1"])>.acf-input{padding:0 0 0 1px;margin:-15px 0}.acf-fields.-left>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input>.acf-fields,.acf-fields.-left>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input>.acf-table,.acf-fields.-left>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input>.acf-fields,.acf-fields.-left>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input>.acf-table{border-width:0}.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-table,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-table,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-table{margin:0}.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input>.acf-fields,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input>.acf-table,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input>.acf-fields,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input>.acf-table,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input>.acf-fields,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input>.acf-table{border-width:1px}.acf-postbox.seamless>.acf-fields.-left>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields.-left>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields.-left>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input{padding:0 12px}tr.acf-field.acf-field-group.acfe-seamless-style>td.acf-input>.acf-fields{border:0;margin:-15px -10px}tr.acf-field.acf-field-group.acfe-seamless-style.acfe-field-group-layout-table>td.acf-input{padding:0;margin:-15px 0}tr.acf-field.acf-field-group.acfe-seamless-style.acfe-field-group-layout-table>td.acf-input>.acf-table,tr.acf-field.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields,tr.acf-field.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-table{border-width:0}.acf-field-acfe-hidden{display:none}.acf-field-radio .acf-input .acf-radio-list.acf-bl li>strong,.acf-field-radio[data-acfe-labels] .acf-input .acf-radio-list.acf-hl li>strong{display:block}.acf-field-radio .acf-input .acf-radio-list.acf-bl li+li>strong{margin-top:15px}.acf-field-repeater[data-acfe-repeater-lock="1"]>.acf-input>.acf-repeater>.acf-table>tbody>.acf-row>.acf-row-handle{cursor:initial}.acf-repeater.-block>table,.acf-repeater.-row>table{border-collapse:separate;border-spacing:0 15px;background:0 0;border:0;margin-top:-15px;margin-bottom:-7px}.acf-repeater.-block>table>*,.acf-repeater.-row>table>*{border-collapse:collapse;border-spacing:0}.acf-repeater.-block>table>tbody>tr>td,.acf-repeater.-row>table>tbody>tr>td{border-top:1px solid #ccd0d4!important;border-bottom:1px solid #ccd0d4!important}.acf-repeater.-block>table>tbody>tr>td:first-of-type,.acf-repeater.-row>table>tbody>tr>td:first-of-type{border-left:1px solid #ccd0d4!important}.acf-repeater.-block>table>tbody>tr>td:last-of-type,.acf-repeater.-row>table>tbody>tr>td:last-of-type{border-right:1px solid #ccd0d4!important}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td{border-top:1px solid #e1e1e1;border-bottom:1px solid #e1e1e1}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td:first-of-type,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td:first-of-type{border-left:1px solid #e1e1e1}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td:last-of-type,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td:last-of-type{border-right:1px solid #e1e1e1}.acf-repeater.-table.-empty>.acf-table{display:none}.acf-field-repeater>.acf-input>.acf-repeater>.acfe-repeater-stylised-button{padding:40px 20px;border:2px dashed #ccc;text-align:center}.acf-field-repeater>.acf-input>.acf-repeater>.acfe-repeater-stylised-button>.acf-actions{text-align:center;position:relative}.acf-field-repeater>.acf-input>.acf-repeater>.acfe-repeater-stylised-button>.acf-actions .acf-button{float:none}.acf-field-repeater>.acf-input>.acf-repeater>.acfe-repeater-stylised-button>.acf-actions .acf-tablenav{float:none;position:absolute;top:0;right:0}.acf-field-flexible-content>.acf-input>.acf-repeater .acf-actions .acf-button .dashicons{width:auto;height:auto;vertical-align:text-top}.acf-field-textarea[data-acfe-textarea-code="1"]>.acf-input>textarea{font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:1em}.acf-editor-wrap iframe{min-height:60px}.acf-editor-wrap .mce-top-part::before{-webkit-box-shadow:none;box-shadow:none}.acf-editor-wrap div.mce-statusbar{border:0}.acf-editor-wrap .mce-divider,.acf-editor-wrap .mce-path-item{color:#aaa}form.acfe-form.is-invalid[data-hide-error="1"]>.acf-error-message.-dismiss,form.acfe-form.is-valid[data-hide-revalidation="1"]>.acf-notice.-success{display:none}form.acfe-form.is-invalid[data-errors-position=below] .acf-field .acf-notice{margin:15px 0 0}.acf-media-modal .screen-reader-text,.acf-media-modal .screen-reader-text span,.acf-media-modal .ui-helper-hidden-accessible{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.acfe-field-tooltip{float:right;font-size:15px;color:#999;height:16px;line-height:1.35}.acf-field[data-instruction-tooltip]:not([data-instruction-placement])>.acf-input>p.description,.acf-field[data-instruction-tooltip]:not([data-instruction-placement])>.acf-label>p.description{display:none}.acf-field .acf-input>p.description:first-child{margin-top:0;margin-bottom:5px}.acf-field p.description>.more,.acf-field[data-instruction-above-field]:not([data-instruction-placement])>.acf-label>p.description{display:none}.mce-toolbar .mce-btn-group:not(:first-child){margin-left:6px;padding-left:6px}
|
assets/js/acfe-field-group.js
CHANGED
@@ -359,4 +359,41 @@
|
|
359 |
|
360 |
});
|
361 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
362 |
})(jQuery);
|
359 |
|
360 |
});
|
361 |
|
362 |
+
})(jQuery);
|
363 |
+
(function($) {
|
364 |
+
|
365 |
+
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
366 |
+
return;
|
367 |
+
}
|
368 |
+
|
369 |
+
/**
|
370 |
+
* Field: Repeater
|
371 |
+
*
|
372 |
+
* Fix ACF 6.0 repeater settings such as Advanced Settings/Validation not working correctly
|
373 |
+
*/
|
374 |
+
new acf.Model({
|
375 |
+
|
376 |
+
actions: {
|
377 |
+
'duplicate': 'onAppend',
|
378 |
+
},
|
379 |
+
|
380 |
+
onAppend: function($el, $el2) {
|
381 |
+
|
382 |
+
if (acfe.versionCompare(acf.get('acf_version'), '>=', '6.0')) {
|
383 |
+
|
384 |
+
var field = acf.getClosestField($el2);
|
385 |
+
|
386 |
+
// field.render() should have been in the repeater "add" method, at the end of acf.duplicate()
|
387 |
+
// but it was removed in acf 6.0
|
388 |
+
if (field.get('type') === 'repeater') {
|
389 |
+
field.render();
|
390 |
+
}
|
391 |
+
|
392 |
+
}
|
393 |
+
|
394 |
+
}
|
395 |
+
|
396 |
+
|
397 |
+
});
|
398 |
+
|
399 |
})(jQuery);
|
assets/js/acfe-field-group.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(
|
1 |
+
!function(o){var i;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(new acf.Model({actions:{append_field_object:"appendCodeEditor"},appendCodeEditor:function(e){var t;"acfe_code_editor"===e.get("type")&&(1<(t=e.$setting("default_value").find("> .acf-input > .acf-input-wrap > .CodeMirror")).length&&t.last().remove(),1<(e=e.$setting("placeholder").find("> .acf-input > .acf-input-wrap > .CodeMirror")).length&&e.last().remove())}}),new acf.Model({actions:{"change_field_label/type=acfe_column":"renderTitle","change_field_type/type=acfe_column":"renderTitle","render_field_settings/type=acfe_column":"renderField"},ucFirst:function(e){return e.charAt(0).toUpperCase()+e.slice(1)},renderTitle:function(e){var t=acf.getInstance(e),a=t.$setting("columns"),e=acf.getInstance(a).getValue(),a=t.$setting("endpoint"),a=acf.getInstance(a).getValue();t.set("label","(Column "+this.ucFirst(e=a?"Endpoint":e)+")")},renderField:function(e){var t=acf.getFieldObject(e),e=function(){t.set("label",!0)};t.on("change",".acfe-field-columns",e),t.on("change",".acfe-field-columns-endpoint",e)}}),new acf.Model({filters:{"select2_ajax_data/action=acfe/fields/taxonomy_terms/allow_query":"taxonomyTermsAjax"},taxonomyTermsAjax:function(e,t,a,n,i){var f=a.closest(".acf-field-settings").find("> .acf-field-setting-taxonomy > .acf-input > select > option:selected"),l=[];f.each(function(){l.push(o(this).val())}),e.taxonomies=l;a=a.closest(".acf-field-settings").find('> .acf-field-setting-allow_terms > .acf-input input[type="number"]');return e.level=a.val(),e}}),new acf.Model({wait:"prepare",initialize:function(){o(".button.edit-field").each(function(){var e=o(this),t=e.closest("tbody, .acf-field-settings");o(t).find(".acfe-data-button:first").insertAfter(e),o(t).find(".acfe-modal:first").appendTo(o("body")),o(t).find(".acf-field-setting-acfe_field_data:first").remove()})}}),new acf.Model({actions:{new_field:"onNewField"},onNewField:function(e){var t,a,n;(e.has("before")||e.has("after"))&&"tab"!==e.get("type")&&(t=e.has("before")?"before":"after",(n=e.$el.closest(".acf-field-object")).length&&(a=acf.getFieldObject(n).get("key")),!(n=!(n=e.$el.closest(".acf-fields")).length?e.$el.closest(".acf-table"):n).length||(n=(a?n.find('[data-name="'+e.get(t)+'"]').not('.acf-input-sub .acf-field-object[data-key!="'+a+'"] [data-name="'+e.get(t)+'"]'):n.find('[data-name="'+e.get(t)+'"]')).first()).length&&n[t](e.$el))}}),i=acf.models.TabField,acf.models.TabField=i.extend({initialize:function(){var e,t,a,n;(this.has("before")||this.has("after"))&&(e=this.has("before")?"before":"after",n=this.$el.closest(".acf-fields"),(t=this.$el.closest(".acf-field-object")).length&&(a=acf.getFieldObject(t).get("key")),!(n=!n.length?this.$el.closest(".acf-table"):n).length||(n=(a?n.find('[data-name="'+this.get(e)+'"]').not('.acf-input-sub .acf-field-object[data-key!="'+a+'"] [data-name="'+this.get(e)+'"]'):n.find('[data-name="'+this.get(e)+'"]')).first()).length&&n[e](this.$el)),i.prototype.initialize.apply(this,arguments)}}),new acf.Model({wait:"ready",actions:{append:"onAppend","acfe/field_group/rule_refresh":"refreshFields"},initialize:function(){this.$el=o("#acf-field-group-locations, .field-group-locations")},onAppend:function(e){(e.is(".rule-group")||e.parent().parent().parent().is(".rule-group"))&&this.refreshFields()},refreshFields:function(){acf.getFields({parent:this.$("td.value")}).map(function(e){acfe.inArray(e.get("type"),["date_picker","date_time_picker","time_picker"])&&(e.$inputText().removeClass("hasDatepicker").removeAttr("id"),e.initialize())})}}),new acf.Model({actions:{"new_field/name=acfe_meta":"renderClass","new_field/name=acfe_settings":"renderClass","new_field/name=acfe_validate":"renderClass"},renderClass:function(e){e.$(".acf-button").removeClass("button-primary")}}),new acf.Model({events:{"keyup #post_name":"onInput"},onInput:function(e,t){var a=t.val();a.startsWith("group_")||t.val(a="group_"+a),o('[name="acf_field_group[key]"]').val(a),o(".misc-pub-acfe-field-group-key code").html(a)}}))}(jQuery),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({actions:{duplicate:"onAppend"},onAppend:function(e,t){!acfe.versionCompare(acf.get("acf_version"),">=","6.0")||"repeater"===(t=acf.getClosestField(t)).get("type")&&t.render()}});
|
assets/js/acfe-input.js
CHANGED
@@ -342,123 +342,330 @@
|
|
342 |
}
|
343 |
|
344 |
/**
|
345 |
-
*
|
|
|
|
|
346 |
*/
|
347 |
-
var
|
|
|
|
|
|
|
|
|
348 |
|
349 |
acfe.registerFieldExtend = function(model) {
|
350 |
-
|
|
|
351 |
};
|
352 |
|
353 |
-
acfe.getFieldsExtend = function() {
|
354 |
-
return storage;
|
355 |
-
}
|
356 |
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
361 |
|
362 |
-
|
363 |
|
364 |
-
var
|
365 |
-
acf.addAction('new_field/type=' + proto.type, function(field) {
|
366 |
|
367 |
-
|
368 |
-
if (
|
369 |
-
|
|
|
370 |
}
|
|
|
371 |
|
372 |
-
|
|
|
|
|
373 |
|
374 |
-
}
|
|
|
375 |
|
376 |
-
}
|
377 |
-
|
|
|
|
|
|
|
|
|
|
|
378 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
379 |
acfe.FieldExtend = acf.Model.extend({
|
380 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
381 |
type: '',
|
382 |
|
383 |
-
|
|
|
|
|
|
|
|
|
|
|
384 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
385 |
conditions: function() {
|
386 |
return true;
|
387 |
},
|
388 |
|
389 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
390 |
|
391 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
392 |
|
393 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
394 |
|
395 |
-
|
|
|
|
|
|
|
396 |
|
397 |
-
|
398 |
-
this.
|
399 |
|
400 |
-
|
|
|
401 |
|
402 |
-
|
|
|
|
|
|
|
403 |
|
404 |
-
|
405 |
-
// we must unset the function because the fieldExtend.initialize will be executed anyway
|
406 |
-
if (func === 'initialize') {
|
407 |
-
this.field[func] = function() {};
|
408 |
|
409 |
-
|
410 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
411 |
|
412 |
-
|
413 |
-
|
414 |
|
415 |
-
|
416 |
-
|
|
|
417 |
|
418 |
-
|
419 |
-
|
420 |
|
421 |
-
|
422 |
-
|
|
|
|
|
|
|
423 |
|
424 |
-
|
425 |
-
var event = {};
|
426 |
-
event[ev] = evFunc;
|
427 |
|
428 |
-
|
429 |
-
|
430 |
|
431 |
-
|
432 |
|
433 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
434 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
435 |
}
|
436 |
|
437 |
}
|
438 |
|
439 |
-
}
|
440 |
|
441 |
},
|
442 |
|
443 |
-
|
444 |
-
return acf.getFieldType(this.get('type')).prototype;
|
445 |
-
},
|
446 |
|
447 |
-
|
|
|
448 |
|
449 |
-
|
450 |
-
|
451 |
|
452 |
-
|
453 |
-
|
454 |
-
args = array.shift();
|
455 |
|
456 |
-
|
|
|
|
|
|
|
457 |
|
458 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
459 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
460 |
});
|
461 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
462 |
})(jQuery);
|
463 |
(function($) {
|
464 |
|
@@ -471,15 +678,21 @@
|
|
471 |
'new_field': 'newField'
|
472 |
},
|
473 |
priority: 1,
|
474 |
-
|
475 |
|
476 |
-
// check data
|
477 |
if (!field.has('ftype')) {
|
478 |
-
return;
|
479 |
}
|
480 |
|
481 |
-
//
|
482 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
483 |
return;
|
484 |
}
|
485 |
|
@@ -2670,12 +2883,10 @@
|
|
2670 |
return this.has('acfeFlexibleModal') && this.$clones().length > 1;
|
2671 |
},
|
2672 |
|
2673 |
-
replace: ['onClickAdd'],
|
2674 |
-
|
2675 |
onClickAdd: function(e, $el) {
|
2676 |
|
2677 |
// get flexible
|
2678 |
-
var flexible = this
|
2679 |
|
2680 |
// validate
|
2681 |
if (!flexible.validateAdd()) {
|
@@ -2798,7 +3009,7 @@
|
|
2798 |
getLayoutsCategories: function() {
|
2799 |
|
2800 |
// get layouts selection html
|
2801 |
-
var $layouts = $(this.
|
2802 |
|
2803 |
// categories vars
|
2804 |
var categoriesHtml = '';
|
@@ -3765,6 +3976,13 @@
|
|
3765 |
|
3766 |
initialize: function() {
|
3767 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3768 |
this.setupUnload();
|
3769 |
this.setupSuccess();
|
3770 |
|
342 |
}
|
343 |
|
344 |
/**
|
345 |
+
* acfe.registerFieldExtend
|
346 |
+
*
|
347 |
+
* @type {*[]}
|
348 |
*/
|
349 |
+
var models = {};
|
350 |
+
|
351 |
+
var modelId = function(model) {
|
352 |
+
return !acfe.isEmpty(model.prototype.id) ? model.prototype.id : acf.uniqueId('Extend');
|
353 |
+
};
|
354 |
|
355 |
acfe.registerFieldExtend = function(model) {
|
356 |
+
var mid = modelId(model);
|
357 |
+
models[mid] = model;
|
358 |
};
|
359 |
|
|
|
|
|
|
|
360 |
|
361 |
+
/**
|
362 |
+
* acfe.getExtendModels
|
363 |
+
*
|
364 |
+
* todo: Added sorted by priority too
|
365 |
+
*
|
366 |
+
* @returns {*[]}
|
367 |
+
*/
|
368 |
+
acfe.getExtendModels = function() {
|
369 |
+
|
370 |
+
var midsNoDeps = [];
|
371 |
+
|
372 |
+
for (var [mid, model] of acfe.getEntries(models)) {
|
373 |
|
374 |
+
if (acfe.isEmpty(model.prototype.dependencies)) {
|
375 |
|
376 |
+
var found = false;
|
|
|
377 |
|
378 |
+
for (var [cmid, cmodel] of acfe.getEntries(models)) {
|
379 |
+
if (acfe.inArray(mid, cmodel.prototype.dependencies)) {
|
380 |
+
found = true;
|
381 |
+
break;
|
382 |
}
|
383 |
+
}
|
384 |
|
385 |
+
if (!found) {
|
386 |
+
midsNoDeps.push(mid);
|
387 |
+
}
|
388 |
|
389 |
+
}
|
390 |
+
}
|
391 |
|
392 |
+
var sortRules = {};
|
393 |
+
|
394 |
+
for (var [mid, model] of acfe.getEntries(models)) {
|
395 |
+
if (!acfe.inArray(mid, midsNoDeps)) {
|
396 |
+
sortRules[mid] = model.prototype.dependencies;
|
397 |
+
}
|
398 |
+
}
|
399 |
|
400 |
+
|
401 |
+
var sortedArr = sortbyDeps(sortRules).concat(midsNoDeps);
|
402 |
+
var final = {};
|
403 |
+
|
404 |
+
for (var mid of sortedArr) {
|
405 |
+
final[mid] = models[mid];
|
406 |
+
}
|
407 |
+
|
408 |
+
return final;
|
409 |
+
}
|
410 |
+
|
411 |
+
|
412 |
+
/**
|
413 |
+
* Field Extend
|
414 |
+
*/
|
415 |
acfe.FieldExtend = acf.Model.extend({
|
416 |
|
417 |
+
/**
|
418 |
+
* id
|
419 |
+
*
|
420 |
+
* define specific id allowing query and dependencies
|
421 |
+
* cid will be used for storage if not set
|
422 |
+
*/
|
423 |
+
id: '',
|
424 |
+
|
425 |
+
/**
|
426 |
+
* type
|
427 |
+
*
|
428 |
+
* relationship : single field type
|
429 |
+
* [relationship, post_object...] : multiple field types
|
430 |
+
*/
|
431 |
type: '',
|
432 |
|
433 |
+
/**
|
434 |
+
* dependencies
|
435 |
+
*
|
436 |
+
* define dependent extenders before hooking
|
437 |
+
*/
|
438 |
+
dependencies: [],
|
439 |
|
440 |
+
/**
|
441 |
+
* conditions
|
442 |
+
*
|
443 |
+
* validate specific conditions before hooking
|
444 |
+
*
|
445 |
+
* @returns {boolean}
|
446 |
+
*/
|
447 |
conditions: function() {
|
448 |
return true;
|
449 |
},
|
450 |
|
451 |
+
/**
|
452 |
+
* methods
|
453 |
+
*
|
454 |
+
* append methods to the targeted field
|
455 |
+
*
|
456 |
+
* false : no append
|
457 |
+
* [] : append all (default)
|
458 |
+
* [method1, method2...] : append specific methods
|
459 |
+
*/
|
460 |
+
methods: [],
|
461 |
|
462 |
+
/**
|
463 |
+
* replace
|
464 |
+
*
|
465 |
+
* select the replacement type for objects (events, data...)
|
466 |
+
*
|
467 |
+
* append : append if doesn't exist
|
468 |
+
* replace : append & replace if exists (default)
|
469 |
+
* rewrite : rewrite completely
|
470 |
+
* {object: 'append', object2: 'replace'...} : specific rule by object key
|
471 |
+
*/
|
472 |
+
replace: 'replace',
|
473 |
|
474 |
+
/**
|
475 |
+
* getMethods
|
476 |
+
*
|
477 |
+
* retrieve available methods for internal use
|
478 |
+
*
|
479 |
+
* @returns {*[]}
|
480 |
+
*/
|
481 |
+
getMethods: function() {
|
482 |
|
483 |
+
// bail early
|
484 |
+
if (this.methods === false) {
|
485 |
+
return [];
|
486 |
+
}
|
487 |
|
488 |
+
// get methods
|
489 |
+
var methods = acfe.isEmpty(this.methods) ? Object.keys(this) : this.methods;
|
490 |
|
491 |
+
// get reserved methods
|
492 |
+
var internalMethods = ['constructor', 'id', 'type', 'dependencies', 'conditions', 'methods', 'replace', 'getMethods', 'getObjReplace'];
|
493 |
|
494 |
+
// remove reserved methods & check method exists
|
495 |
+
return methods.filter(function(method) {
|
496 |
+
return !acfe.inArray(method, internalMethods) && this.hasOwnProperty(method);
|
497 |
+
}, this);
|
498 |
|
499 |
+
},
|
|
|
|
|
|
|
500 |
|
501 |
+
/**
|
502 |
+
* getObjReplace
|
503 |
+
*
|
504 |
+
* retrieve replacement type for objects. Internal use
|
505 |
+
*
|
506 |
+
* @param method
|
507 |
+
* @returns {string|*}
|
508 |
+
*/
|
509 |
+
getObjReplace: function(method = false) {
|
510 |
|
511 |
+
// awllowed replacements
|
512 |
+
var allowed = ['append', 'replace', 'rewrite'];
|
513 |
|
514 |
+
// string
|
515 |
+
if (acfe.isString(this.replace) && acfe.inArray(this.replace, allowed)) {
|
516 |
+
return this.replace;
|
517 |
|
518 |
+
// object
|
519 |
+
} else if (acfe.isObject(this.replace)) {
|
520 |
|
521 |
+
for (var [objName, replace] of acfe.getEntries(this.replace)) {
|
522 |
+
if (objName === method && acfe.inArray(replace, allowed)) {
|
523 |
+
return replace;
|
524 |
+
}
|
525 |
+
}
|
526 |
|
527 |
+
}
|
|
|
|
|
528 |
|
529 |
+
// default
|
530 |
+
return 'replace';
|
531 |
|
532 |
+
}
|
533 |
|
534 |
+
});
|
535 |
+
|
536 |
+
/**
|
537 |
+
* extendManager
|
538 |
+
*
|
539 |
+
* @type {acf.Model}
|
540 |
+
*/
|
541 |
+
var extendManager = new acf.Model({
|
542 |
+
wait: 'prepare',
|
543 |
+
priority: 5,
|
544 |
+
|
545 |
+
initialize: function() {
|
546 |
|
547 |
+
// loop extends
|
548 |
+
for (var [key, extend] of acfe.getEntries(acfe.getExtendModels())) {
|
549 |
+
|
550 |
+
// vars
|
551 |
+
var extendProto = extend.prototype;
|
552 |
+
var types = acfe.getArray(extendProto.type);
|
553 |
+
|
554 |
+
|
555 |
+
// loop types
|
556 |
+
for (var type of types) {
|
557 |
+
|
558 |
+
var model = acf.getFieldType(type);
|
559 |
+
|
560 |
+
if (model) {
|
561 |
+
this.extendModel(model, extendProto);
|
562 |
}
|
563 |
|
564 |
}
|
565 |
|
566 |
+
}
|
567 |
|
568 |
},
|
569 |
|
570 |
+
extendModel: function(model, extendProto) {
|
|
|
|
|
571 |
|
572 |
+
// backup setup
|
573 |
+
var setup = model.prototype.setup;
|
574 |
|
575 |
+
// extend setup
|
576 |
+
model.prototype.setup = function($field) {
|
577 |
|
578 |
+
// parent setup
|
579 |
+
setup.apply(this, arguments);
|
|
|
580 |
|
581 |
+
// validate conditions
|
582 |
+
if (!extendProto.conditions.apply(this)) {
|
583 |
+
return;
|
584 |
+
}
|
585 |
|
586 |
+
// loop methods
|
587 |
+
for (var method of extendProto.getMethods()) {
|
588 |
+
|
589 |
+
// setup
|
590 |
+
if (method === 'setup') {
|
591 |
+
extendProto[method].apply(this, arguments);
|
592 |
+
|
593 |
+
// object (events, data...)
|
594 |
+
} else if (acfe.isObject(extendProto[method])) {
|
595 |
+
|
596 |
+
// check replacement type
|
597 |
+
switch (extendProto.getObjReplace(method)) {
|
598 |
+
|
599 |
+
// append if doesn't exist
|
600 |
+
case 'append': {
|
601 |
+
this[method] = $.extend(true, extendProto[method], this[method]);
|
602 |
+
break;
|
603 |
+
}
|
604 |
+
|
605 |
+
// append & replace if exists (default)
|
606 |
+
case 'replace': {
|
607 |
+
this[method] = $.extend(true, {}, this[method], extendProto[method]);
|
608 |
+
break;
|
609 |
+
}
|
610 |
+
|
611 |
+
// rewrite completely the object
|
612 |
+
case 'rewrite': {
|
613 |
+
this[method] = $.extend(true, {}, extendProto[method]);
|
614 |
+
break;
|
615 |
+
}
|
616 |
+
|
617 |
+
}
|
618 |
+
|
619 |
+
// functions, strings...
|
620 |
+
} else {
|
621 |
+
this[method] = extendProto[method];
|
622 |
|
623 |
+
}
|
624 |
+
|
625 |
+
}
|
626 |
+
|
627 |
+
};
|
628 |
+
|
629 |
+
}
|
630 |
});
|
631 |
|
632 |
+
/**
|
633 |
+
* sortByDeps
|
634 |
+
*
|
635 |
+
* https://stackoverflow.com/a/54347328
|
636 |
+
*
|
637 |
+
* @param names
|
638 |
+
* @param obj
|
639 |
+
* @param start
|
640 |
+
* @param depth
|
641 |
+
* @returns {*|*[]}
|
642 |
+
*/
|
643 |
+
var sortbyDeps = function(names, obj = names, start = [], depth = 0) {
|
644 |
+
|
645 |
+
if (typeof names === 'object' && !Array.isArray(names)) {
|
646 |
+
names = Object.keys(names)
|
647 |
+
}
|
648 |
+
|
649 |
+
const processed = names.reduce(function(a, b, i) {
|
650 |
+
|
651 |
+
if (obj[b].every(Array.prototype.includes, a)) {
|
652 |
+
a.push(b)
|
653 |
+
}
|
654 |
+
|
655 |
+
return a;
|
656 |
+
|
657 |
+
}, start);
|
658 |
+
|
659 |
+
const nextNames = names.filter(function(n) {
|
660 |
+
return !processed.includes(n)
|
661 |
+
});
|
662 |
+
|
663 |
+
const goAgain = nextNames.length && depth <= names.length;
|
664 |
+
|
665 |
+
return goAgain ? sortbyDeps(nextNames, obj, processed, depth + 1) : processed;
|
666 |
+
|
667 |
+
}
|
668 |
+
|
669 |
})(jQuery);
|
670 |
(function($) {
|
671 |
|
678 |
'new_field': 'newField'
|
679 |
},
|
680 |
priority: 1,
|
681 |
+
validateField: function(field) {
|
682 |
|
683 |
+
// check data correctly set
|
684 |
if (!field.has('ftype')) {
|
685 |
+
return false;
|
686 |
}
|
687 |
|
688 |
+
// check if prototype already doesn't have a ftype (taxonomy field)
|
689 |
+
return !acf.getFieldType(field.get('type')).prototype.get('ftype');
|
690 |
+
|
691 |
+
},
|
692 |
+
newField: function(field) {
|
693 |
+
|
694 |
+
// validate
|
695 |
+
if (!this.validateField(field)) {
|
696 |
return;
|
697 |
}
|
698 |
|
2883 |
return this.has('acfeFlexibleModal') && this.$clones().length > 1;
|
2884 |
},
|
2885 |
|
|
|
|
|
2886 |
onClickAdd: function(e, $el) {
|
2887 |
|
2888 |
// get flexible
|
2889 |
+
var flexible = this;
|
2890 |
|
2891 |
// validate
|
2892 |
if (!flexible.validateAdd()) {
|
3009 |
getLayoutsCategories: function() {
|
3010 |
|
3011 |
// get layouts selection html
|
3012 |
+
var $layouts = $(this.getPopupHTML());
|
3013 |
|
3014 |
// categories vars
|
3015 |
var categoriesHtml = '';
|
3976 |
|
3977 |
initialize: function() {
|
3978 |
|
3979 |
+
// fix image/file/gallery media upload
|
3980 |
+
// avoid acf to use current post to determine if the user can upload a file
|
3981 |
+
// todo: enhance the logic
|
3982 |
+
if (acf.isset(window, 'wp', 'media', 'view', 'settings', 'post')) {
|
3983 |
+
wp.media.view.settings.post = false;
|
3984 |
+
}
|
3985 |
+
|
3986 |
this.setupUnload();
|
3987 |
this.setupSuccess();
|
3988 |
|
assets/js/acfe-input.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acf.registerConditionForFieldType("contains","checkbox"),acf.registerConditionForFieldType("contains","radio"),acf.registerConditionForFieldType("equalTo","acfe_code_editor"),acf.registerConditionForFieldType("notEqualTo","acfe_code_editor"),acf.registerConditionForFieldType("patternMatch","acfe_code_editor"),acf.registerConditionForFieldType("contains","acfe_code_editor"),acf.registerConditionForFieldType("hasValue","acfe_code_editor"),acf.registerConditionForFieldType("hasNoValue","acfe_code_editor"),acf.registerConditionForFieldType("equalTo","date_picker"),acf.registerConditionForFieldType("notEqualTo","date_picker"),acf.registerConditionForFieldType("patternMatch","date_picker"),acf.registerConditionForFieldType("contains","date_picker"),acf.registerConditionForFieldType("greaterThan","date_picker"),acf.registerConditionForFieldType("lessThan","date_picker"),acf.registerConditionForFieldType("equalTo","date_time_picker"),acf.registerConditionForFieldType("notEqualTo","date_time_picker"),acf.registerConditionForFieldType("patternMatch","date_time_picker"),acf.registerConditionForFieldType("contains","date_time_picker"),acf.registerConditionForFieldType("equalTo","acfe_forms"),acf.registerConditionForFieldType("notEqualTo","acfe_forms"),acf.registerConditionForFieldType("patternMatch","acfe_forms"),acf.registerConditionForFieldType("contains","acfe_forms"),acf.registerConditionForFieldType("hasValue","acfe_forms"),acf.registerConditionForFieldType("hasNoValue","acfe_forms"),acf.registerConditionForFieldType("equalTo","acfe_hidden"),acf.registerConditionForFieldType("notEqualTo","acfe_hidden"),acf.registerConditionForFieldType("patternMatch","acfe_hidden"),acf.registerConditionForFieldType("contains","acfe_hidden"),acf.registerConditionForFieldType("hasValue","acfe_hidden"),acf.registerConditionForFieldType("hasNoValue","acfe_hidden"),acf.registerConditionForFieldType("equalTo","acfe_post_statuses"),acf.registerConditionForFieldType("notEqualTo","acfe_post_statuses"),acf.registerConditionForFieldType("patternMatch","acfe_post_statuses"),acf.registerConditionForFieldType("contains","acfe_post_statuses"),acf.registerConditionForFieldType("hasValue","acfe_post_statuses"),acf.registerConditionForFieldType("hasNoValue","acfe_post_statuses"),acf.registerConditionForFieldType("equalTo","acfe_post_types"),acf.registerConditionForFieldType("notEqualTo","acfe_post_types"),acf.registerConditionForFieldType("patternMatch","acfe_post_types"),acf.registerConditionForFieldType("contains","acfe_post_types"),acf.registerConditionForFieldType("hasValue","acfe_post_types"),acf.registerConditionForFieldType("hasNoValue","acfe_post_types"),acf.registerConditionForFieldType("equalTo","acfe_slug"),acf.registerConditionForFieldType("notEqualTo","acfe_slug"),acf.registerConditionForFieldType("patternMatch","acfe_slug"),acf.registerConditionForFieldType("contains","acfe_slug"),acf.registerConditionForFieldType("hasValue","acfe_slug"),acf.registerConditionForFieldType("hasNoValue","acfe_slug"),acf.registerConditionForFieldType("equalTo","acfe_taxonomies"),acf.registerConditionForFieldType("notEqualTo","acfe_taxonomies"),acf.registerConditionForFieldType("patternMatch","acfe_taxonomies"),acf.registerConditionForFieldType("contains","acfe_taxonomies"),acf.registerConditionForFieldType("hasValue","acfe_taxonomies"),acf.registerConditionForFieldType("hasNoValue","acfe_taxonomies"),acf.registerConditionForFieldType("equalTo","taxonomy"),acf.registerConditionForFieldType("notEqualTo","taxonomy"),acf.registerConditionForFieldType("patternMatch","taxonomy"),acf.registerConditionForFieldType("contains","taxonomy"),acf.registerConditionForFieldType("hasValue","taxonomy"),acf.registerConditionForFieldType("hasNoValue","taxonomy"),acf.registerConditionForFieldType("equalTo","acfe_taxonomy_terms"),acf.registerConditionForFieldType("notEqualTo","acfe_taxonomy_terms"),acf.registerConditionForFieldType("patternMatch","acfe_taxonomy_terms"),acf.registerConditionForFieldType("contains","acfe_taxonomy_terms"),acf.registerConditionForFieldType("hasValue","acfe_taxonomy_terms"),acf.registerConditionForFieldType("hasNoValue","acfe_taxonomy_terms"),acf.registerConditionForFieldType("equalTo","time_picker"),acf.registerConditionForFieldType("notEqualTo","time_picker"),acf.registerConditionForFieldType("patternMatch","time_picker"),acf.registerConditionForFieldType("contains","time_picker"),acf.registerConditionForFieldType("equalTo","acfe_user_roles"),acf.registerConditionForFieldType("notEqualTo","acfe_user_roles"),acf.registerConditionForFieldType("patternMatch","acfe_user_roles"),acf.registerConditionForFieldType("contains","acfe_user_roles"),acf.registerConditionForFieldType("hasValue","acfe_user_roles"),acf.registerConditionForFieldType("hasNoValue","acfe_user_roles")),function(c){var i;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(i=[],acfe.registerEventForFieldType=function(e,t,a){i.push({fieldType:e,events:t="string"==typeof t?[t]:t,callback:a||!1})},acfe.getEvents=function(t){t=acf.parseArgs(t,{fieldType:""});var a=[];return i.map(function(e){t.fieldType&&-1===e.fieldType.indexOf(t.fieldType)||a.push(e)}),a},new acf.Model({actions:{new_field:"newField"},priority:20,data:{},parseEvent:function(e){return e.match(/^(\S+)\s*(.*)$/)},newField:function(o){this.set(o.cid,o.val()),acfe.getEvents({fieldType:o.get("type")}).map(function(n){n.events.map(function(e){e=this.parseEvent(e);o.on(e[1],e[2],this.proxy(function(e){var t=o.val(),a=this.get(o.cid),i=c(e.currentTarget);(n.callback||this.proxy(function(e,t,a,i,n){var o=e,c=t;"object"==typeof o&&(o=JSON.stringify(o)),(c="object"==typeof c?JSON.stringify(c):c)!==o&&(this.set(a.cid,e),acf.doAction("acfe/change_field",e,t,a,i,n),acf.doAction("acfe/change_field/type="+a.get("type"),e,t,a,i,n),acf.doAction("acfe/change_field/name="+a.get("name"),e,t,a,i,n),acf.doAction("acfe/change_field/key="+a.get("key"),e,t,a,i,n))}))(t,a,o,e,i)}))},this)},this)}}),acfe.registerEventForFieldType("button_group","change"),acfe.registerEventForFieldType("checkbox","change"),acfe.registerEventForFieldType("color_picker","change"),acfe.registerEventForFieldType("date_picker","change"),acfe.registerEventForFieldType("date_time_picker","change"),acfe.registerEventForFieldType("email",["input","change"]),acfe.registerEventForFieldType("file","change"),acfe.registerEventForFieldType("flexible_content","change"),acfe.registerEventForFieldType("gallery","change"),acfe.registerEventForFieldType("google_map","change"),acfe.registerEventForFieldType("image","change"),acfe.registerEventForFieldType("link","change"),acfe.registerEventForFieldType("number",["input","change"]),acfe.registerEventForFieldType("oembed","change"),acfe.registerEventForFieldType("page_link","change"),acfe.registerEventForFieldType("post_object","change"),acfe.registerEventForFieldType("relationship","change"),acfe.registerEventForFieldType("password",["input","change"]),acfe.registerEventForFieldType("radio","change"),acfe.registerEventForFieldType("range",["input","change"]),acfe.registerEventForFieldType("repeater","change"),acfe.registerEventForFieldType("select","change"),acfe.registerEventForFieldType("taxonomy","change"),acfe.registerEventForFieldType("text",["input","change"]),acfe.registerEventForFieldType("textarea",["input","change"]),acfe.registerEventForFieldType("time_picker","change"),acfe.registerEventForFieldType("true_false","change"),acfe.registerEventForFieldType("url",["input","change"]),acfe.registerEventForFieldType("user","change"),acfe.registerEventForFieldType("wysiwyg","change"),acfe.registerEventForFieldType("acfe_advanced_link","change"),acfe.registerEventForFieldType("acfe_block_types","change"),acfe.registerEventForFieldType("acfe_countries","change"),acfe.registerEventForFieldType("acfe_currencies","change"),acfe.registerEventForFieldType("acfe_code_editor","change"),acfe.registerEventForFieldType("acfe_date_range_picker","change"),acfe.registerEventForFieldType("acfe_field_groups","change"),acfe.registerEventForFieldType("acfe_field_types","change"),acfe.registerEventForFieldType("acfe_fields","change"),acfe.registerEventForFieldType("acfe_forms","change"),acfe.registerEventForFieldType("acfe_hidden","change"),acfe.registerEventForFieldType("acfe_image_selector","change"),acfe.registerEventForFieldType("acfe_image_sizes","change"),acfe.registerEventForFieldType("acfe_languages","change"),acfe.registerEventForFieldType("acfe_menu_locations","change"),acfe.registerEventForFieldType("acfe_options_pages","change"),acfe.registerEventForFieldType("acfe_payment","change"),acfe.registerEventForFieldType("acfe_payment_cart","change"),acfe.registerEventForFieldType("acfe_payment_selector","change"),acfe.registerEventForFieldType("acfe_phone_number","change"),acfe.registerEventForFieldType("acfe_post_formats","change"),acfe.registerEventForFieldType("acfe_post_statuses","change"),acfe.registerEventForFieldType("acfe_post_types","change"),acfe.registerEventForFieldType("acfe_recaptcha","change"),acfe.registerEventForFieldType("acfe_taxonomies","change"),acfe.registerEventForFieldType("acfe_taxonomy_terms","change"),acfe.registerEventForFieldType("acfe_templates","change"),acfe.registerEventForFieldType("acfe_user_roles","change"),acfe.registerEventForFieldType("acfe_slug",["input","change"]))}(jQuery),function(t){var a;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(a=[],acfe.registerFieldExtend=function(e){a.push(e)},acfe.getFieldsExtend=function(){return a},new acf.Model({wait:"prepare",priority:1,initialize:function(){a.map(function(t){var a=t.prototype;acf.addAction("new_field/type="+a.type,function(e){a.conditions.apply(e)&&new t(e)},9)})}}),acfe.FieldExtend=acf.Model.extend({type:"",field:!1,conditions:function(){return!0},eventScope:".acf-field",replace:[],setup:function(e){t.extend(this.data,e.data),this.$el=e.$el,this.field=e,this.replace.map(function(e){if("function"==typeof this[e])if("initialize"===e)this.field[e]=function(){};else for(var t in this.field[e]=this.proxy(this[e]),this.field.events){var a,i=this.field.events[t];i===e&&((a={})[t]=i,this.field.removeEvents(a),this.addEvents(a))}},this)},getParentPrototype:function(){return acf.getFieldType(this.get("type")).prototype},apply:function(){var e=acf.arrayArgs(arguments),t=e.shift(),e=e.shift();return this.getParentPrototype()[t].apply(this.field,e)}}))}(jQuery),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({actions:{new_field:"newField"},priority:1,newField:function(e){e.has("ftype")&&"taxonomy"!==e.get("type")&&(e.set("rtype",e.get("type"),!0),e.set("type",e.get("ftype"),!0),e.$el.attr("data-type",e.get("ftype")),e.$el.removeAttr("data-ftype"),delete e.data.ftype)}}),function(i){"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({field:!1,placement:!1,actions:{new_field:"newField"},newField:function(e){(this.field=e).has("instructionTooltip")&&this.setTooltip(),e.has("instructionAboveField")&&this.setAboveField(),e.has("instructionPlacement")&&this.overridePlacement(e.get("instructionPlacement"))},setTooltip:function(){var e=acfe.versionCompare(acf.get("wp_version"),">=","5.5")?"dashicons-info-outline":"dashicons-info";this.field.$labelWrap().prepend('<span class="acfe-field-tooltip acf-js-tooltip dashicons '+e+'" title="'+_.escape(this.field.get("instructionTooltip"))+'"></span>'),this.field.$labelWrap().find(".description").remove()},setAboveField:function(){this.field.$inputWrap().prepend('<p class="description">'+this.field.get("instructionAboveField")+"</p>"),this.field.$labelWrap().find(".description").remove()},overridePlacement:function(e){var t=this.getPlacement();t&&t!==e&&this.setPlacement(e)},getPlacement:function(){var e=!1;return this.field.$labelWrap().find(">.description").length?e="label":this.field.$inputWrap().find(">.description:first-child").length?e="above_field":this.field.$inputWrap().find(">.description:last-child").length?e="field":this.field.$labelWrap().find(">.acfe-field-tooltip").length&&(e="tooltip"),this.placement=e,this.placement},$getInstruction:function(){var e=this.getPlacement();return"label"===e?this.field.$labelWrap().find(">.description"):"above_field"===e?this.field.$inputWrap().find(">.description:first-child"):"field"===e?this.field.$inputWrap().find(">.description:last-child"):"tooltip"===e&&this.field.$labelWrap().find(">.acfe-field-tooltip")},setPlacement:function(e){var t,a=this.$getInstruction();"tooltip"===this.placement&&(t=a.attr("title"),a.remove(),a=i('<p class="description">'+t+"</p>")),"label"===e?this.field.$labelWrap().append(a):"above_field"===e?this.field.$inputWrap().prepend(a):"field"===e?this.field.$inputWrap().append(a):"tooltip"===e&&(e=acfe.versionCompare(acf.get("wp_version"),">=","5.5")?"dashicons-info-outline":"dashicons-info",this.field.$labelWrap().prepend(i('<span class="acfe-field-tooltip acf-js-tooltip dashicons '+e+'" title="'+_.escape(a.html())+'"></span>')),a.remove())}})}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({type:"acfe_advanced_link",events:{'click a[data-name="add"]':"onClickEdit",'click a[data-name="edit"]':"onClickEdit",'click a[data-name="remove"]':"onClickRemove"},$control:function(){return this.$(".acf-link")},initialize:function(){},getValue:function(){var e={type:this.$(".input-type :checked").val(),title:this.$(".input-title").val(),url:this.$(".input-url").val(),post:this.$(".input-post :selected").text(),term:this.$(".input-term :selected").text(),target:this.$(".input-target").is(":checked")};return"post"===e.type?e.url=e.post:"term"===e.type&&(e.url=e.term),e},setValue:function(e){e=acf.parseArgs(e,{remove:!1,title:"",url:"",target:!1});var t=this.$control();t.removeClass("-value -external"),(e.url||e.title)&&t.addClass("-value"),e.target&&t.addClass("-external"),this.$(".link-title").html(e.title),this.$(".link-url").attr("href",e.url).html(e.url),e.remove&&(this.$(".input-type :checked").prop("checked",!1),this.$('.input-type [value="url"]').prop("checked",!0).trigger("change"),this.$(".input-title").val(""),this.$(".input-target").prop("checked",!1),this.$(".input-url").val("").trigger("change"),this.$(".input-post").val("").trigger("change"),this.$(".input-term").val("").trigger("change"))},onClickEdit:function(e,t){var a=t.closest(".acf-input").find(".acfe-modal"),t=a.attr("data-modal-title"),i=this;new acfe.Popup(a,{title:t,size:"medium",footer:acf.__("Close"),onClose:function(){i.onChange()}})},onClickRemove:function(e,t){this.setValue({remove:!0})},onChange:function(e,t){var a=this.getValue();this.setValue(a)}}),acf.registerFieldType(e),new acf.Model({actions:{invalid_field:"invalidField"},filters:{"select2_ajax_data/type=post_object":"ajaxField"},invalidField:function(e){var t=e.$el.closest(".acf-field-acfe-advanced-link").not(".acf-error");t.length&&acf.getInstance(t).showError(e.notice.get("text"))},ajaxField:function(e,t,a,i,n){if("post"!==i.get("key"))return e;a=acf.getInstance(a.closest(".acf-field-acfe-advanced-link"));return a&&(e.field_key=a.get("key")),e}}))}(jQuery),function(i){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({type:"acfe_button",events:{"click input":"onClick","click button":"onClick"},$input:function(){return this.$("input").length?this.$("input"):this.$("button").length?this.$("button"):void 0},initialize:function(){var e=this.$input();this.inherit(e)},onClick:function(e,t){var a;this.get("ajax")&&(e.preventDefault(),a={action:"acfe/fields/button",field_key:this.get("key"),acf:acf.serialize(this.$el.closest("form"),"acf")},a=acf.applyFilters("acfe/fields/button/data",a,this.$el),a=acf.applyFilters("acfe/fields/button/data/name="+this.get("name"),a,this.$el),a=acf.applyFilters("acfe/fields/button/data/key="+this.get("key"),a,this.$el),acf.doAction("acfe/fields/button/before_ajax",this.$el,a),acf.doAction("acfe/fields/button/before",this.$el,a),acf.doAction("acfe/fields/button/before/name="+this.get("name"),this.$el,a),acf.doAction("acfe/fields/button/before/key="+this.get("key"),this.$el,a),i.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(a),type:"post",dataType:"json",context:this,success:function(e){acf.doAction("acfe/fields/button/ajax_success",e,this.$el,a),acf.doAction("acfe/fields/button/success",e,this.$el,a),acf.doAction("acfe/fields/button/success/name="+this.get("name"),e,this.$el,a),acf.doAction("acfe/fields/button/success/key="+this.get("key"),e,this.$el,a)},complete:function(e){e=e.responseText;acf.doAction("acfe/fields/button/complete",e,this.$el,a),acf.doAction("acfe/fields/button/complete/name="+this.get("name"),e,this.$el,a),acf.doAction("acfe/fields/button/complete/key="+this.get("key"),e,this.$el,a)}}))}}),acf.registerFieldType(e))}(jQuery),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({actions:{new_field:"newField"},validateField:function(e){return!!e.has("acfeLabels")&&"checkbox"===e.get("rtype",e.get("type"))},newField:function(e){if(this.validateField(e)){var t,a,i=e.get("acfeLabels");for(t in i)a=i[t],e.$control().find('input[type=checkbox][value="'+a+'"]').closest("ul").before("<strong>"+t+"</strong>")}}}),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({wait:!1,type:"clone",events:{'click [data-name="edit"]':"onClick",duplicateField:"onDuplicate"},initialize:function(){var e;this.has("acfeCloneModal")&&(e=this.get("acfeCloneModalButton"),this.$el.find("> .acf-input > .acf-fields, > .acf-input > .acf-table").wrapAll('<div class="acfe-modal"><div class="acfe-modal-wrapper"><div class="acfe-modal-content"></div></div></div>'),this.$el.find("> .acf-input").append('<a data-name="edit" class="acf-button button" href="#">'+e+"</a>"))},onClick:function(e,t){var a=this.$labelWrap().find("label").text().trim();this.$el.is("td")&&(a=this.get("acfeGroupModalButton"),(o=this.$el.closest("table").find(' > thead th[data-key="'+this.get("key")+'"]')).length&&(a=acfe.getTextNode(o)));var i=this.$el.find("> .acf-input > .acfe-modal").addClass("acfe-modal-edit-"+this.get("name")+" acfe-modal-edit-"+this.get("key"));a.length||(a=this.get("acfeCloneModalButton"));var n=!1;this.has("acfeCloneModalClose")&&(n=acf.__("Close"));var o="large";this.has("acfeCloneModalSize")&&(o=this.get("acfeCloneModalSize")),new acfe.Popup(i,{title:a,size:o,footer:n})},onDuplicate:function(e,t,a){a.find('a[data-name="edit"]').remove()}}),acf.registerFieldType(e))}(jQuery),function(t){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({wait:!1,type:"acfe_code_editor",editor:{},events:{showField:"onShow",duplicateField:"onDuplicate"},$control:function(){return this.$("> .acf-input > .acf-input-wrap")},$input:function(){return this.$control().find("> textarea")},initialize:function(){var e;acf.isset(wp,"codeEditor")&&(e={lineNumbers:this.get("lines"),lineWrapping:!0,styleActiveLine:!1,continueComments:!0,indentUnit:this.get("indentUnit"),tabSize:1,indentWithTabs:!1,autoRefresh:!0,mode:this.get("mode"),extraKeys:{Tab:function(e){e.execCommand("indentMore")},"Shift-Tab":function(e){e.execCommand("indentLess")}}},e=acf.applyFilters("acfe/fields/code_editor/args",e,this),e=acf.applyFilters("acfe/fields/code_editor/args/name="+this.get("name"),e,this),e=acf.applyFilters("acfe/fields/code_editor/args/key="+this.get("key"),e,this),this.editor=wp.codeEditor.initialize(this.$input().get(0),{codemirror:t.extend(wp.codeEditor.defaultSettings.codemirror,e)}),this.get("rows")&&(this.editor.codemirror.getScrollerElement().style.minHeight=18.5*this.get("rows")+"px"),this.get("maxRows")&&(this.editor.codemirror.getScrollerElement().style.maxHeight=18.5*this.get("maxRows")+"px"),this.editor.codemirror.on("change",this.proxy(this.onEditorChange)),acf.doAction("acfe/fields/code_editor/init",this.editor,this),acf.doAction("acfe/fields/code_editor/init/name="+this.get("name"),this.editor,this),acf.doAction("acfe/fields/code_editor/init/key="+this.get("key"),this.editor,this))},onEditorChange:function(e,t){this.editor.codemirror.save(),this.$input().change()},onShow:function(){this.editor.codemirror&&this.editor.codemirror.refresh()},onDuplicate:function(e,t,a){a.find(".CodeMirror:last").remove()}}),acf.registerFieldType(e))}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({wait:"new_field",type:"acfe_column",$control:function(){return this.$(".acf-fields:first")},initialize:function(){if(this.$el.is("td")&&(this.$el.closest(".acf-table").find('th[data-type="acfe_column"]').remove(),this.remove()),this.get("endpoint"))return this.$el.find("> .acf-label").remove(),void this.$el.find("> .acf-input").remove();var e=this.$el,t=this.$el.find("> .acf-label"),a=(this.$inputWrap(),this.$control());t.remove();t=e.parent();t.addClass("acfe-column-wrapper"),a.addClass(t.hasClass("-left")?"-left":""),a.addClass(t.hasClass("-clear")?"-clear":""),a.append(e.nextUntil(".acf-field-acfe-column",".acf-field"))}}),acf.registerFieldType(e))}(jQuery),function(f){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.models.FlexibleContentField,acf.models.FlexibleContentField=e.extend({addSortable:function(a){1!=this.get("max")&&this.$layoutsWrap().sortable({items:" > .layout",handle:"> .acf-fc-layout-handle",forceHelperSize:!1,forcePlaceholderSize:!0,revert:50,tolerance:"pointer",scroll:!0,stop:function(e,t){a.render()},update:function(e,t){a.$input().trigger("change")}})},acfeOneClick:function(e,t){var a=this.$clones(),i=f(a[0]).data("layout"),a=null;t.hasClass("acf-icon")&&(a=t.closest(".layout")),this.add({layout:i,before:a});a=f(".acf-fc-popup");a.length&&a.hide()},acfeLayoutInit:function(t){var e,a,i=this.get("key"),n=this.get("name"),o=this.$el,c=t.data("layout"),l=t.index(),r=t.find("> .acfe-fc-placeholder");r.removeClass("acf-hidden"),this.has("acfeFlexibleModalEdition")||this.isLayoutClosed(t)||r.addClass("acf-hidden"),this.isLayoutClosed(t)&&this.has("acfeFlexiblePreview")&&!r.hasClass("-loading")&&(r.addClass("acfe-fc-preview -loading").find("> .acfe-flexible-placeholder").prepend('<span class="spinner"></span>'),r.find("> .acfe-fc-overlay").addClass("-hover"),e=t.children("input").attr("name").replace("[acf_fc_layout]",""),a={action:"acfe/flexible/layout_preview",field_key:i,i:l,layout:c,value:acf.serialize(t,e)},acf.doAction("acfe/fields/flexible_content/before_preview",o,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/name="+n,o,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/key="+i,o,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/name="+n+"&layout="+c,o,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/key="+i+"&layout="+c,o,t,a),f.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(a),dataType:"html",type:"post",success:function(e){e?r.find("> .acfe-flexible-placeholder").html(e):r.removeClass("acfe-fc-preview"),acf.doAction("acfe/fields/flexible_content/preview",e,o,t,a),acf.doAction("acfe/fields/flexible_content/preview/name="+n,e,o,t,a),acf.doAction("acfe/fields/flexible_content/preview/key="+i,e,o,t,a),acf.doAction("acfe/fields/flexible_content/preview/name="+n+"&layout="+c,e,o,t,a),acf.doAction("acfe/fields/flexible_content/preview/key="+i+"&layout="+c,e,o,t,a)},complete:function(){r.find("> .acfe-fc-overlay").removeClass("-hover"),r.removeClass("-loading").find("> .acfe-flexible-placeholder > .spinner").remove()}}))}}),new acf.Model({actions:{"new_field/type=flexible_content":"newField","acfe/flexible/layouts":"newLayouts",show:"onShow",hide:"onHide",append:"onAppend",invalid_field:"onInvalidField",valid_field:"onValidField"},newField:function(a){var e=a.$clones();a.$layouts().each(function(){var e=f(this),t=e.data("layout");acf.doAction("acfe/flexible/layouts",e,a),acf.doAction("acfe/flexible/layout/name="+t,e,a)}),1===e.length&&(a.removeEvents({'click [data-name="add-layout"]':"onClickAdd"}),a.addEvents({'click [data-name="add-layout"]':"acfeOneClick"})),a.addEvents({"click .acfe-fc-placeholder":"onClickCollapse"}),a.addEvents({"click .acfe-flexible-opened-actions > a":"onClickCollapse"}),a.has("acfeFlexibleAjax")&&(a.add=function(n){var o=this;if(n=acf.parseArgs(n,{layout:"",before:!1}),!this.allowAdd())return!1;f.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax({action:"acfe/flexible/models",field_key:this.get("key"),layout:n.layout}),dataType:"html",type:"post",beforeSend:function(){f("body").addClass("-loading")},success:function(e){if(e){var t=f(e),a=acf.uniqid(),i="acf["+o.get("key")+"][acfcloneindex]",e=o.$control().find("> input[type=hidden]").attr("name")+"["+a+"]",e=acf.duplicate({target:t,search:i,replace:e,append:o.proxy(function(e,t){n.before?n.before.before(t):o.$layoutsWrap().append(t),acf.enable(t,o.cid),o.render()})});return e.attr("data-id",a),o.$input().trigger("change"),e}},complete:function(){f("body").removeClass("-loading")}})})},newLayouts:function(e,t){t.isLayoutClosed(e)&&(e.find("> .acfe-fc-placeholder").removeClass("acf-hidden"),t.has("acfeFlexibleOpen")&&(acfe.enableFilter("acfeFlexibleOpen"),t.openLayout(e),acfe.disableFilter("acfeFlexibleOpen")))},onShow:function(e,t){"collapse"===t&&e.is(".layout")&&(acf.getInstance(e.closest(".acf-field-flexible-content")).has("acfeFlexibleModalEdition")||e.find("> .acfe-fc-placeholder").addClass("acf-hidden"))},onHide:function(e,t){"collapse"===t&&e.is(".layout")&&!e.is(".acf-clone")&&((t=acf.getInstance(e.closest(".acf-field-flexible-content"))).has("acfeFlexibleRemoveAjaxTitle")&&(t.renderLayout=function(e){}),t.acfeLayoutInit(e))},onAppend:function(e){var t;e.is(".layout")&&(t=acf.getInstance(e.closest(".acf-field-flexible-content")),e.is(".acfe-layout-duplicated")||(t.has("acfeFlexibleModalEdition")?e.find('> [data-action="acfe-flexible-modal-edit"]:first').trigger("click"):t.openLayout(e)),t.acfeLayoutInit(e),(t=t.$el.closest(".acfe-modal.-open")).length?t.find("> .acfe-modal-wrapper > .acfe-modal-content").animate({scrollTop:parseInt(e.offset().top)-200},200):!acfe.versionCompare(acf.get("acf_version"),"<","5.9")&&e.hasClass("-focused")||f("html, body").animate({scrollTop:parseInt(e.offset().top)-200},200))},onInvalidField:function(e){e.$el.parents(".layout").addClass("acfe-flexible-modal-edit-error")},onValidField:function(e){e.$el.parents(".layout").each(function(){var e=f(this);e.find(".acf-error").length||e.removeClass("acfe-flexible-modal-edit-error")})}}))}(jQuery),function(r){var n;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&((n=acf.getFieldType("flexible_content").prototype).events["click .acf-fc-layout-handle"]="acfeEditLayoutTitleToggleHandle",n.acfeEditLayoutTitleToggleHandle=function(e,t){!this.has("acfeFlexibleTitleEdition")||(t=t.closest(".layout")).hasClass("acfe-flexible-title-edition")&&t.find("> .acf-fc-layout-handle > .acfe-layout-title > input.acfe-flexible-control-title").trigger("blur")},n.events["click .acfe-layout-title-text"]="acfeEditLayoutTitle",n.acfeEditLayoutTitle=function(e,t){this.has("acfeFlexibleTitleEdition")&&(e.stopPropagation(),this.acfeEditLayoutTitleToggle(e,t))},n.events["blur input.acfe-flexible-control-title"]="acfeEditLayoutTitleToggle",n.acfeEditLayoutTitleToggle=function(e,t){var a,i=t.closest(".layout"),n=i.find("> .acf-fc-layout-handle"),t=n.find(".acfe-layout-title");i.hasClass("acfe-flexible-title-edition")?(""===(a=t.find("> input[data-acfe-flexible-control-title-input]")).val()&&a.val(a.attr("placeholder")).trigger("input"),i.removeClass("acfe-flexible-title-edition"),a.insertAfter(n)):(a=(a=i.find("> input[data-acfe-flexible-control-title-input]")).appendTo(t),i.addClass("acfe-flexible-title-edition"),a.focus().attr("size",a.val().length))},n.events["click input.acfe-flexible-control-title"]="acfeEditLayoutTitlePropagation",n.acfeEditLayoutTitlePropagation=function(e,t){e.stopPropagation()},n.events["input [data-acfe-flexible-control-title-input]"]="acfeEditLayoutTitleInput",n.acfeEditLayoutTitleInput=function(e,t){var a=t.closest(".layout").find("> .acf-fc-layout-handle .acfe-layout-title .acfe-layout-title-text"),i=t.val();t.attr("size",i.length),a.html(i)},n.events["keypress [data-acfe-flexible-control-title-input]"]="acfeEditLayoutTitleInputEnter",n.acfeEditLayoutTitleInputEnter=function(e,t){13===e.keyCode&&(e.preventDefault(),t.blur())},n.events["click [data-acfe-flexible-settings]"]="acfeLayoutSettings",n.acfeLayoutSettings=function(e,t){var a=this,i=t.closest(".layout"),n=i.find("> .acfe-modal.-settings"),o=i.find("> .acf-fc-layout-handle"),t=o.find("> .acf-fc-layout-order").outerHTML(),o=o.find(".acfe-layout-title-text").text();new acfe.Popup(n,{title:t+" "+o,footer:acf.__("Close"),onClose:function(){a.has("acfeFlexiblePreview")&&a.closeLayout(i)}})},n.events["click [data-acfe-flexible-control-toggle]"]="acfeLayoutToggle",n.acfeLayoutToggle=function(e,t){var a=t.closest(".layout"),t=a.find("> .acfe-flexible-layout-toggle");t.length&&("1"===t.val()?(a.removeClass("acfe-flexible-layout-hidden"),t.val("")):(a.addClass("acfe-flexible-layout-hidden"),t.val("1")))},acf.addAction("acfe/flexible/layouts",function(e,t){!t.has("acfeFlexibleToggle")||(t=e.find("> .acfe-flexible-layout-toggle")).length&&("1"===t.val()?e.addClass("acfe-flexible-layout-hidden"):e.removeClass("acfe-flexible-layout-hidden"))}),n.events["click [data-acfe-flexible-control-clone]"]="acfeCloneLayout",n.acfeCloneLayout=function(e,t){var a,i=this,n=t.closest(".layout"),o=n.data("layout"),c=r(i.$popup().html()),l=i.$layouts(),c=c.find('[data-layout="'+o+'"]'),c=(c.data("min"),c.data("max")||0),o=(a=o,l.filter(function(){return r(this).data("layout")===a}).length);if(c&&c<=o)return t.addClass("disabled"),!1;t.removeClass("disabled"),i.acfeFixInputs(n);o=n.clone();i.acfeCleanLayouts(o);t=t.closest(".acf-flexible-content").find("> input[type=hidden]").attr("name"),i.acfeDuplicate({layout:o,before:n,parent:t})},n.events["click [data-acfe-flexible-control-copy]"]="acfeCopyLayout",n.acfeCopyLayout=function(e,t){var a=t.closest(".layout").clone(),t=this.$control().find("> input[type=hidden]").attr("name");this.acfeFixInputs(a),this.acfeCleanLayouts(a);t=JSON.stringify({source:t,layouts:a[0].outerHTML}),a=r('<input type="text" style="clip:rect(0,0,0,0);clip-path:none;position:absolute;" value="" />').appendTo(r("body"));a.attr("value",t).select(),document.execCommand("copy")?alert("Layout has been transferred to your clipboard"):prompt("Copy the following layout data to your clipboard",t),a.remove()},n.acfeCopyLayouts=function(){var e=this,t=e.$layoutsWrap().clone(),a=e.$control().find("> input[type=hidden]").attr("name");e.acfeFixInputs(t),e.acfeCleanLayouts(t);t=JSON.stringify({source:a,layouts:t.html()}),e=r('<input type="text" style="clip:rect(0,0,0,0);clip-path:none;position:absolute;" value="" />').appendTo(e.$el);e.attr("value",t).select(),document.execCommand("copy")?alert("Layouts have been transferred to your clipboard"):prompt("Copy the following layouts data to your clipboard",t),e.remove()},n.acfePasteLayouts=function(){var n=this,e=prompt("Paste layouts data in the following field");if(null!=e&&""!==e)try{var t=JSON.parse(e),i=t.source,a=r(t.layouts).closest("[data-layout]");if(!a.length)return alert("No layouts data available");var o=r(n.$popup().html()),c=n.$layouts(),l=[];if(a.each(function(){var e,t=r(this),a=t.data("layout"),i=o.find('[data-layout="'+a+'"]'),i=(i.data("min"),i.data("max")||0),a=(e=a,c.filter(function(){return r(this).data("layout")===e}).length);i&&i<=a||n.$clone(t.attr("data-layout")).length&&l.push(t)}),!l.length)return alert("No layouts could be pasted");r.each(l,function(){var e=r(this),t=i+"["+e.attr("data-id")+"]",a=n.$control().find("> input[type=hidden]").attr("name");n.acfeDuplicate({layout:e,before:!1,search:t,parent:a})})}catch(e){console.log(e),alert("Invalid data")}},n.events['click [data-name="acfe-flexible-control-button"]']="acfeControl",n.acfeControl=function(e,t){var a=this,i=t.next(".tmpl-acfe-flexible-control-popup").html();new(acf.models.TooltipConfirm.extend({render:function(){this.html(this.get("text")),this.$el.addClass("acf-fc-popup")}}))({target:t,targetConfirm:!1,text:i,context:a,confirm:function(e,t){"paste"===t.attr("data-acfe-flexible-control-action")?a.acfePasteLayouts():"copy"===t.attr("data-acfe-flexible-control-action")&&a.acfeCopyLayouts()}}).on("click","a","onConfirm")},n.acfeDuplicate=function(a){if(a=acf.parseArgs(a,{layout:"",before:!1,parent:!1,search:"",replace:""}),!this.allowAdd())return!1;var i=acf.uniqid();a.parent&&(a.search||(a.search=a.parent+"["+a.layout.attr("data-id")+"]"),a.replace=a.parent+"["+i+"]");var e,t={target:a.layout,search:a.search,replace:a.replace,append:this.proxy(function(e,t){t.addClass("acfe-layout-duplicated"),t.attr("data-id",i),a.before?a.before.after(t):this.$layoutsWrap().append(t),acf.enable(t,this.cid),this.render()})};e=acfe.versionCompare(acf.get("acf_version"),"<","5.9")?acf.duplicate(t):n.acfeNewAcfDuplicate(t),this.$input().trigger("change");t=acf.getFields({type:"tab",parent:e});return t.length&&r.each(t,function(){this.$el.hasClass("acf-hidden")&&this.tab.$el.addClass("acf-hidden")}),e},n.acfeNewAcfDuplicate=function(e){e instanceof jQuery&&(e={target:e}),(e=acf.parseArgs(e,{target:!1,search:"",replace:"",rename:!0,before:function(e){},after:function(e,t){},append:function(e,t){e.after(t)}})).target=e.target||e.$el;var t=e.target;e.search=e.search||t.attr("data-id"),e.replace=e.replace||acf.uniqid(),e.before(t),acf.doAction("before_duplicate",t);var a=t.clone();return e.rename&&acf.rename({target:a,search:e.search,replace:e.replace,replacer:"function"==typeof e.rename?e.rename:null}),a.removeClass("acf-clone"),a.find(".ui-sortable").removeClass("ui-sortable"),e.after(t,a),acf.doAction("after_duplicate",t,a),e.append(t,a),acf.doAction("append",a),a},n.acfeFixInputs=function(e){e.find("input").each(function(){r(this).attr("value",this.value)}),e.find("textarea").each(function(){r(this).html(this.value)}),e.find("input:radio,input:checkbox").each(function(){this.checked?r(this).attr("checked","checked"):r(this).attr("checked",!1)}),e.find("option").each(function(){this.selected?r(this).attr("selected","selected"):r(this).attr("selected",!1)})},n.acfeCleanLayouts=function(e){e.find(".acf-editor-wrap").each(function(){var e=r(this);e.find(".wp-editor-container div").remove(),e.find(".wp-editor-container textarea").css("display","")}),e.find(".acf-date-picker").each(function(){r(this).find("input.input").removeClass("hasDatepicker").removeAttr("id")}),e.find(".acf-time-picker").each(function(){r(this).find("input.input").removeClass("hasDatepicker").removeAttr("id")}),e.find(".acf-date-time-picker").each(function(){r(this).find("input.input").removeClass("hasDatepicker").removeAttr("id")}),e.find(".acfe-field-code-editor").each(function(){r(this).find(".CodeMirror").remove()}),e.find(".acf-color-picker").each(function(){var e=r(this),t=e.find("> input"),a=e.find(".wp-picker-container input.wp-color-picker").clone();t.after(a),e.find(".wp-picker-container").remove()}),e.find(".acf-field-post-object").each(function(){var e=r(this);e.find("> .acf-input span").remove(),e.find("> .acf-input select").removeAttr("tabindex aria-hidden").removeClass()}),e.find(".acf-field-page-link").each(function(){var e=r(this);e.find("> .acf-input span").remove(),e.find("> .acf-input select").removeAttr("tabindex aria-hidden").removeClass()}),e.find(".acf-field-select").each(function(){var e=r(this);e.find("> .acf-input span").remove(),e.find("> .acf-input select").removeAttr("tabindex aria-hidden").removeClass()}),e.find(".acf-field-font-awesome").each(function(){var e=r(this);e.find("> .acf-input span").remove(),e.find("> .acf-input select").removeAttr("tabindex aria-hidden")}),e.find(".acf-tab-wrap").each(function(){var e=r(this),t=e.closest(".acf-fields"),a=[];r.each(e.find("li a"),function(){a.push(r(this))}),t.find("> .acf-field-tab").each(function(){$current_tab=r(this),r.each(a,function(){var e=r(this);e.attr("data-key")===$current_tab.attr("data-key")&&$current_tab.find("> .acf-input").append(e)})}),e.remove()}),e.find(".acf-field-accordion").each(function(){var e=r(this);e.find("> .acf-accordion-title > .acf-accordion-icon").remove(),e.after('<div class="acf-field acf-field-accordion" data-type="accordion"><div class="acf-input"><div class="acf-fields" data-endpoint="1"></div></div></div>')})},acf.addAction("new_field/type=flexible_content",function(e){e.has("acfeFlexibleLock")&&e.removeEvents({mouseover:"onHover"})}))}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&((e=acf.getFieldType("flexible_content").prototype).events['click [data-action="acfe-flexible-modal-edit"]']="acfeModalEdit",e.acfeModalEdit=function(e,t){var a=this,i=t.closest(".layout"),n=i.find("> .acfe-modal.-fields"),o=i.find("> .acf-fc-layout-handle"),c=o.find("> .acf-fc-layout-order").outerHTML(),t=acfe.getTextNode(o.find(".acfe-layout-title")),o=!!a.has("acfeFlexibleCloseButton")&&acf.__("Close");new acfe.Popup(n,{title:c+" "+t,class:"acfe-modal-edit-"+a.get("name")+" acfe-modal-edit-"+a.get("key")+" acfe-modal-edit-"+i.data("layout"),footer:o,onOpen:function(){a.openLayout(i)},onClose:function(){a.closeLayout(i)}})},acf.addAction("new_field/type=flexible_content",function(e){e.has("acfeFlexibleModalEdition")&&(e.has("acfeFlexiblePlaceholder")||e.has("acfeFlexiblePreview"))&&(e.removeEvents({'click [data-name="collapse-layout"]':"onClickCollapse"}),e.removeEvents({"click .acfe-fc-placeholder":"onClickCollapse"}))}))}(jQuery),function(o){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acfe.FieldExtend.extend({type:"flexible_content",conditions:function(){return this.has("acfeFlexibleModal")&&1<this.$clones().length},replace:["onClickAdd"],onClickAdd:function(e,t){var a=this.field;if(!a.validateAdd())return!1;var i=this.getLayoutsCategories(),n=t.hasClass("acf-icon")?t.closest(".layout"):null;new acfe.Popup({title:a.get("acfeFlexibleModalTitle",acf.__("Add Row")),class:"acfe-modal-select-"+a.get("name")+" acfe-modal-select-"+a.get("key"),size:a.get("acfeFlexibleModalSize"),destroy:!0,events:{"click .acfe-flexible-categories a":"onClickCategory","click a[data-layout]":"onClickLayout"},content:function(){return'<div class="acfe-flex-container">'+a.getPopupHTML()+"</div>"},onOpen:function(){i&&this.$content().prepend(i),a.has("acfeFlexibleModalCol")&&this.$(".acfe-modal-content .acfe-flex-container").addClass("acfe-col-"+a.get("acfeFlexibleModalCol")),a.has("acfeFlexibleThumbnails")&&this.$(".acfe-modal-content .acfe-flex-container").addClass("acfe-flex-thumbnails");var e=acfe.versionCompare(acf.get("wp_version"),">=","5.5")?"dashicons-info-outline":"dashicons-info";this.$("li a span.badge").addClass("acf-js-tooltip dashicons "+e),this.$("li:first-of-type a").blur()},onClickCategory:function(e,t){e.preventDefault();var t=t,i=t.data("acfe-flexible-category");t.closest(".acfe-flexible-categories").find("a").removeClass("nav-tab-active"),t.addClass("nav-tab-active"),this.$("a[data-layout] span[data-acfe-flexible-category]").closest("li").show(),"acfe-all"!==i&&this.$("a[data-layout] span[data-acfe-flexible-category]").each(function(){var e,t=o(this),a=t.data("acfe-flexible-category");t.closest("li").hide();for(e of a)if(acfe.slugify(i)===acfe.slugify(e)){t.closest("li").show();break}})},onClickLayout:function(e,t){e.preventDefault(),this.close(),a.add({layout:t.data("layout"),before:n})}})},getLayoutsCategories:function(){var e=o(this.field.getPopupHTML()),t="",i=[];return e.find("li a span[data-acfe-flexible-category]").exists()&&(e.find("li a span[data-acfe-flexible-category]").each(function(){o(this).data("acfe-flexible-category").map(function(e){var t=acfe.slugify(e),a=i.filter(function(e){return e.slug===t});acfe.isEmpty(a)&&i.push({slug:t,label:e})})}),i.length&&(t+='<h2 class="acfe-flexible-categories nav-tab-wrapper">',t+='<a href="#" data-acfe-flexible-category="acfe-all" class="nav-tab nav-tab-active"><span class="dashicons dashicons-menu"></span></a>',i.sort().map(function(e){t+='<a href="#" data-acfe-flexible-category="'+e.label+'" class="nav-tab">'+e.label+"</a>"}),t+="</h2>")),t}}),acfe.registerFieldExtend(e))}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({wait:!1,type:"group",events:{'click [data-name="edit"]':"onClick",duplicateField:"onDuplicate"},initialize:function(){var e;this.has("acfeGroupModal")&&(e=this.get("acfeGroupModalButton"),this.$el.find("> .acf-input > .acf-fields, > .acf-input > .acf-table").wrapAll('<div class="acfe-modal"><div class="acfe-modal-wrapper"><div class="acfe-modal-content"></div></div></div>'),this.$el.find("> .acf-input").append('<a data-name="edit" class="acf-button button" href="#">'+e+"</a>"))},onClick:function(e,t){var a=this.$labelWrap().find("label").text().trim();this.$el.is("td")&&(a=this.get("acfeGroupModalButton"),(o=this.$el.closest("table").find(' > thead th[data-key="'+this.get("key")+'"]')).length&&(a=acfe.getTextNode(o)));var i=this.$el.find("> .acf-input > .acfe-modal").addClass("acfe-modal-edit-"+this.get("name")+" acfe-modal-edit-"+this.get("key"));a.length||(a=this.get("acfeGroupModalButton"));var n=!1;this.has("acfeGroupModalClose")&&(n=acf.__("Close"));var o="large";this.has("acfeGroupModalSize")&&(o=this.get("acfeGroupModalSize")),new acfe.Popup(i,{title:a,size:o,footer:n})},onDuplicate:function(e,t,a){a.find('a[data-name="edit"]').remove()}}),acf.registerFieldType(e))}(jQuery),function(n){"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({actions:{new_field:"newField"},validateField:function(e){return!!e.has("acfeLabels")&&"radio"===(e.has("rtype")?e.get("rtype"):e.get("type"))},newField:function(e){if(this.validateField(e)){var t,a,i=e.get("acfeLabels");for(t in i)a=i[t],e.$control().find('input[type=radio][value="'+a+'"]').closest("li").addClass("parent").prepend("<strong>"+t+"</strong>");e.$control().hasClass("acf-hl")&&e.$control().find("li.parent").each(function(){n(this).nextUntil("li.parent").addBack().wrapAll("<li><ul></ul></li>")})}}})}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({type:"acfe_recaptcha",wait:"load",actions:{validation_failure:"validationFailure"},$control:function(){return this.$(".acfe-field-recaptcha")},$input:function(){return this.$('input[type="hidden"]')},$selector:function(){return this.$control().find("> div")},selector:function(){return this.$selector()[0]},initialize:function(){"v2"===this.get("version")?this.renderV2(this):"v3"===this.get("version")&&this.renderV3()},renderV2:function(t){var e=this.selector(),a=this.$input(),i=this.get("siteKey"),n=this.get("theme"),o=this.get("size");this.recaptcha=grecaptcha.render(e,{sitekey:i,theme:n,size:o,callback:function(e){acf.val(a,e,!0),t.removeError()},"error-callback":function(){acf.val(a,"",!0),t.showError("An error has occured")},"expired-callback":function(){acf.val(a,"",!0),t.showError("reCaptcha has expired")}})},renderV3:function(){var t=this.$input(),e=this.get("siteKey");grecaptcha.ready(function(){grecaptcha.execute(e,{action:"homepage"}).then(function(e){acf.val(t,e,!0)})})},validationFailure:function(e){"v2"===this.get("version")&&grecaptcha.reset(this.recaptcha)}}),acf.registerFieldType(e))}(jQuery),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acf.getFieldType("repeater").prototype.acfeOnHover=function(){this.off("mouseover")},acf.addAction("new_field/type=repeater",function(e){e.has("acfeRepeaterLock")&&(e.removeEvents({mouseover:"onHover"}),e.addEvents({mouseover:"acfeOnHover"})),e.has("acfeRepeaterRemoveActions")&&(e.$actions().remove(),e.$el.find("thead:first > tr > th.acf-row-handle:last").remove(),e.$rows().find("> .acf-row-handle:last").remove(),e.$control().find("> .acfe-repeater-stylised-button").remove()),e.has("acfeRepeaterStylisedButton")&&(e.$button().removeClass("button-primary"),e.$actions().wrap('<div class="acfe-repeater-stylised-button" />'))})),function(l){"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(new acf.Model({actions:{select2_init:"init"},filters:{select2_args:"args",select2_ajax_data:"ajax"},init:function(e,t,a,i,n){acf.doAction("select2_init/type="+i.get("type"),e,t,a,i,n),acf.doAction("select2_init/name="+i.get("name"),e,t,a,i,n),acf.doAction("select2_init/key="+i.get("key"),e,t,a,i,n)},args:function(e,i,n,o,c){return e=acf.applyFilters("select2_args/type="+o.get("type"),e,i,n,o,c),e=acf.applyFilters("select2_args/name="+o.get("name"),e,i,n,o,c),e=acf.applyFilters("select2_args/key="+o.get("key"),e,i,n,o,c),acf.isset(window,"jQuery","fn","selectWoo")||(e.templateSelection=function(e){var t=e.text,t=acf.applyFilters("select2_template_selection",t,e,i,n,o,c);t=acf.applyFilters("select2_template_selection/type="+o.get("type"),t,e,i,n,o,c),t=acf.applyFilters("select2_template_selection/name="+o.get("name"),t,e,i,n,o,c),t=acf.applyFilters("select2_template_selection/key="+o.get("key"),t,e,i,n,o,c);var a=l('<span class="acf-selection"></span>');return a.html(acf.escHtml(t)),a.data("element",e.element),a},e.templateResult=function(e){var t=e.text,t=acf.applyFilters("select2_template_result",t,e,i,n,o,c);t=acf.applyFilters("select2_template_result/type="+o.get("type"),t,e,i,n,o,c),t=acf.applyFilters("select2_template_result/name="+o.get("name"),t,e,i,n,o,c),t=acf.applyFilters("select2_template_result/key="+o.get("key"),t,e,i,n,o,c);var a=l('<span class="acf-selection"></span>');return a.html(acf.escHtml(t)),a.data("element",e.element),a}),e},ajax:function(e,t,a,i,n){return e=acf.applyFilters("select2_ajax_data/type="+i.get("type"),e,t,a,i,n),e=acf.applyFilters("select2_ajax_data/name="+i.get("name"),e,t,a,i,n),e=(e=acf.applyFilters("select2_ajax_data/key="+i.get("key"),e,t,a,i,n)).action?acf.applyFilters("select2_ajax_data/action="+e.action,e,t,a,i,n):e}}),new acf.Model({wait:"load",priority:20,actions:{"append_field/type=select":"closeOnClear"},initialize:function(){acf.getFields({type:"select"}).map(this.proxy(this.closeOnClear))},closeOnClear:function(e){e.select2&&e.select2.on("select2:clear",function(e){l(this).on("select2:opening.cancelOpen",function(e){e.preventDefault(),l(this).off("select2:opening.cancelOpen")})})}}),new acf.Model({actions:{"new_field/type=select":"newField",select2_init:"init"},filters:{select2_args:"args"},newField:function(e){e.inherit(e.$input()),!e.get("ui")&&e.get("allow_null")&&e.$input().find("option").each(function(e,t){t.value||t.text.startsWith("- ")&&t.text.endsWith(" -")&&(t.text=t.text.substring(2),t.text=t.text.substring(0,t.text.length-2))}),(e.has("acfePrepend")||e.has("acfeAppend"))&&(e.$input().parent(".acf-input-wrap").length||(e.$input().wrapAll('<div class="acf-input-wrap"></div>'),e.get("ui")&&e.$(".acf-input-wrap:first").append(e.$(".select2")),e.has("acfePrepend")&&(e.$(".acf-input-wrap:first").before('<div class="acf-input-prepend">'+e.get("acfePrepend")+"</div>"),e.$input().addClass("acf-is-prepended")),e.has("acfeAppend")&&(e.$(".acf-input-wrap:first").before('<div class="acf-input-append">'+e.get("acfeAppend")+"</div>"),e.$input().addClass("acf-is-appended"))))},init:function(e,t,a,i,n){e.data("select2")&&e.data("select2").$dropdown.addClass("select2-dropdown-acf").addClass("select2-dropdown-acf-field-"+i.get("name")).addClass("select2-dropdown-acf-field-"+i.get("key")),i.get("multiple")||i.get("acfeSearchPlaceholder")&&e.on("select2:open",function(e){l(".select2-search.select2-search--dropdown > .select2-search__field").attr("placeholder",i.get("acfeSearchPlaceholder"))})},args:function(e,t,a,i,n){return i.get("acfeAllowCustom")&&(e.tags=!0,e.createTag=function(e){var t,a=l.trim(e.term);if(""===a)return null;var i=acf.isget(this,"_request","responseJSON","results");if(i){e:for(var n of i)if(n.children)for(var o of n.children)if("string"==typeof o.id&&o.id.toLowerCase()===a.toLowerCase()){t=!0;break e}}else for(var c of this.$element.find("option"))if(c.value.toLowerCase()===a.toLowerCase()){t=!0;break}return t?null:{id:a,text:a}},e.insertTag=function(e,t){var a,i;for(i of e)if(l.trim(t.text).toUpperCase()===l.trim(i.text).toUpperCase()){a=!0;break}a||e.unshift(t)}),e}}))}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({type:"acfe_slug",events:{"input input":"onInput","focusout input":"onFocusOut"},onInput:function(e,t){t.val(t.val().toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/\_\_+/g,"_").replace(/^-+/,""))},onFocusOut:function(e,t){t.val(t.val().toLowerCase().replace(/-+$/,"").replace(/_+$/,""))}}),acf.registerFieldType(e))}(jQuery),function(a){"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({actions:{"prepare_field/type=tab":"prepareField"},prepareField:function(e){var t,i,n;e.has("noPreference")&&(t=e.findTabs(),t=acf.getInstances(t),i=e.get("key"),!t.length||(n=acf.getPreference("this.tabs"))&&(a.each(t,function(e,t){var a=t.get("index");t.data.key===i&&(n[a]=0)}),acf.setPreference("this.tabs",n)))}})}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({type:"textarea",events:{"keydown textarea":"onInput"},onInput:function(e,t){var a,i;this.has("acfeTextareaCode")&&9===e.keyCode&&(e.preventDefault(),a=this.$el.find("textarea")[0],i=a.selectionStart,this.$el.find("textarea").val(function(e,t){return t.substring(0,i)+" "+t.substring(a.selectionEnd)}),a.selectionEnd=i+4)}}),acf.registerFieldType(e))}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.models.WysiwygField,acf.models.WysiwygField=e.extend({initialize:function(){this.has("id")||this.$control().hasClass("delay")||this.initializeEditor()}}),new acf.Model({actions:{"show_field/type=wysiwyg":"showField","ready_field/type=wysiwyg":"showField"},showField:function(e){e.has("acfeWysiwygAutoInit")&&e.$el.is(":visible")&&!e.has("id")&&!acfe.isFilterEnabled("acfeFlexibleOpen")&&this.initializeEditor(e)},initializeEditor:function(e){var t=e.$control();t.hasClass("delay")&&(t.removeClass("delay"),t.find(".acf-editor-toolbar").remove(),e.initializeEditor())}}))}(jQuery),function(o){var e,a;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(new acf.Model({wait:"prepare",priority:1,initialize:function(){acfe.get("is_admin")||new e}}),e=acf.Model.extend({actions:{"new_field/type=date_picker":"datePicker","new_field/type=date_time_picker":"datePicker","new_field/type=time_picker":"datePicker","new_field/type=google_map":"googleMap",invalid_field:"invalidField",validation_begin:"validationBegin"},events:{"click .acf-form .button":"onClickSubmit",'click .acf-form [type="submit"]':"onClickSubmit","click .acfe-form .button":"onClickSubmit",'click .acfe-form [type="submit"]':"onClickSubmit"},$getForm:function(e=!1){var t=o(".acfe-form");return!!(t=e?e.$el.closest(".acfe-form"):t).length&&t},getFormFieldClass:function(e){e=this.$getForm(e);return e&&e.data("fields-class")||!1},initialize:function(){this.setupUnload(),this.setupSuccess()},setupUnload:function(){o('.acfe-form[data-hide-unload="1"]').length&&acf.unload.disable()},setupSuccess:function(){acfe.get("acfe_form_success")&&(window.history.replaceState&&window.history.replaceState(null,null,window.location.href),acfe.get("acfe_form_success").map(function(e){acf.doAction("acfe/form/success"),acf.doAction("acfe/form/success/id="+e.id),acf.doAction("acfe/form/success/name="+e.name),acf.doAction("acfe/form/submit/success"),acf.doAction("acfe/form/submit/success/id="+e.id),acf.doAction("acfe/form/submit/success/name="+e.name)}))},onClickSubmit:function(e,t){t.hasClass("disabled")&&e.preventDefault()},datePicker:function(e){var t=this.getFormFieldClass(e);t&&e.$inputText().addClass(t)},googleMap:function(e){var t=this.getFormFieldClass(e);t&&e.$search().addClass(t)},invalidField:function(e){var t,a,i,n=this.$getForm(e);n&&((t=n.data("errors-class"))&&e.$el.find(".acf-notice.-error").addClass(t),"hide"===(i=n.data("errors-position"))?e.$el.find(".acf-notice.-error").remove():"below"===i?(e.$control().length?e.$el.find(".acf-notice.-error").insertAfter(e.$control()):e.$input().length&&e.$el.find(".acf-notice.-error").insertAfter(e.$input()),a=!1,e.$control().length?a=e.$control():e.$input().length&&(a=e.$input()),a&&e.$el.find(".acf-notice.-error").insertAfter(a)):"group"===i&&(t=e.$el.find(".acf-label label").text().trim(),a=e.$el.find('.acf-input-wrap [placeholder!=""]').attr("placeholder"),i=e.$el.find(".acf-notice.-error").text().trim(),e.$el.find(".acf-notice.-error").remove(),i=t&&t.length&&"*"!==t?(t=t.replace(/ \*$/,""))+": "+i:a&&a.length&&""!==a?a+": "+i:e.get("name")+": "+i,(e=!(e=n.find("> .acfe-form-error")).length?o('<div class="acf-notice -error acf-error-message acfe-form-error" />').prependTo(n):e).append("<p>"+i+"</p>")))},validationBegin:function(e){void 0!==e&&e.find(".acf-error-message").remove()}}),a=function(e){var t=o(".acf-field input"),e=e.closest("form");(t=e.length?e.find(".acf-field input"):t).each(function(){this.checkValidity()||function(e){e=e.parents(".acf-postbox");!e.length||(e=acf.getPostbox(e))&&(e.$el.hasClass("hide-if-js")||"none"==e.$el.css("display"))&&(e.$el.removeClass("hide-if-js"),e.$el.css("display",""))}(o(this))})},acf.validation.onClickSubmit=function(e,t){a(t),this.set("originalEvent",e)},acf.newCondition=function(e,t){var a=t.get("field"),i=a.getField(e.field);if(a&&!i&&(i=acf.getField(e.field)),!a||!i)return!1;t={rule:e,target:a,conditions:t,field:i},i=i.get("type"),e=e.operator;return new(acf.getConditionTypes({fieldType:i,operator:e})[0]||acf.Condition)(t)})}(jQuery);
|
1 |
+
jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acf.registerConditionForFieldType("contains","checkbox"),acf.registerConditionForFieldType("contains","radio"),acf.registerConditionForFieldType("equalTo","acfe_code_editor"),acf.registerConditionForFieldType("notEqualTo","acfe_code_editor"),acf.registerConditionForFieldType("patternMatch","acfe_code_editor"),acf.registerConditionForFieldType("contains","acfe_code_editor"),acf.registerConditionForFieldType("hasValue","acfe_code_editor"),acf.registerConditionForFieldType("hasNoValue","acfe_code_editor"),acf.registerConditionForFieldType("equalTo","date_picker"),acf.registerConditionForFieldType("notEqualTo","date_picker"),acf.registerConditionForFieldType("patternMatch","date_picker"),acf.registerConditionForFieldType("contains","date_picker"),acf.registerConditionForFieldType("greaterThan","date_picker"),acf.registerConditionForFieldType("lessThan","date_picker"),acf.registerConditionForFieldType("equalTo","date_time_picker"),acf.registerConditionForFieldType("notEqualTo","date_time_picker"),acf.registerConditionForFieldType("patternMatch","date_time_picker"),acf.registerConditionForFieldType("contains","date_time_picker"),acf.registerConditionForFieldType("equalTo","acfe_forms"),acf.registerConditionForFieldType("notEqualTo","acfe_forms"),acf.registerConditionForFieldType("patternMatch","acfe_forms"),acf.registerConditionForFieldType("contains","acfe_forms"),acf.registerConditionForFieldType("hasValue","acfe_forms"),acf.registerConditionForFieldType("hasNoValue","acfe_forms"),acf.registerConditionForFieldType("equalTo","acfe_hidden"),acf.registerConditionForFieldType("notEqualTo","acfe_hidden"),acf.registerConditionForFieldType("patternMatch","acfe_hidden"),acf.registerConditionForFieldType("contains","acfe_hidden"),acf.registerConditionForFieldType("hasValue","acfe_hidden"),acf.registerConditionForFieldType("hasNoValue","acfe_hidden"),acf.registerConditionForFieldType("equalTo","acfe_post_statuses"),acf.registerConditionForFieldType("notEqualTo","acfe_post_statuses"),acf.registerConditionForFieldType("patternMatch","acfe_post_statuses"),acf.registerConditionForFieldType("contains","acfe_post_statuses"),acf.registerConditionForFieldType("hasValue","acfe_post_statuses"),acf.registerConditionForFieldType("hasNoValue","acfe_post_statuses"),acf.registerConditionForFieldType("equalTo","acfe_post_types"),acf.registerConditionForFieldType("notEqualTo","acfe_post_types"),acf.registerConditionForFieldType("patternMatch","acfe_post_types"),acf.registerConditionForFieldType("contains","acfe_post_types"),acf.registerConditionForFieldType("hasValue","acfe_post_types"),acf.registerConditionForFieldType("hasNoValue","acfe_post_types"),acf.registerConditionForFieldType("equalTo","acfe_slug"),acf.registerConditionForFieldType("notEqualTo","acfe_slug"),acf.registerConditionForFieldType("patternMatch","acfe_slug"),acf.registerConditionForFieldType("contains","acfe_slug"),acf.registerConditionForFieldType("hasValue","acfe_slug"),acf.registerConditionForFieldType("hasNoValue","acfe_slug"),acf.registerConditionForFieldType("equalTo","acfe_taxonomies"),acf.registerConditionForFieldType("notEqualTo","acfe_taxonomies"),acf.registerConditionForFieldType("patternMatch","acfe_taxonomies"),acf.registerConditionForFieldType("contains","acfe_taxonomies"),acf.registerConditionForFieldType("hasValue","acfe_taxonomies"),acf.registerConditionForFieldType("hasNoValue","acfe_taxonomies"),acf.registerConditionForFieldType("equalTo","taxonomy"),acf.registerConditionForFieldType("notEqualTo","taxonomy"),acf.registerConditionForFieldType("patternMatch","taxonomy"),acf.registerConditionForFieldType("contains","taxonomy"),acf.registerConditionForFieldType("hasValue","taxonomy"),acf.registerConditionForFieldType("hasNoValue","taxonomy"),acf.registerConditionForFieldType("equalTo","acfe_taxonomy_terms"),acf.registerConditionForFieldType("notEqualTo","acfe_taxonomy_terms"),acf.registerConditionForFieldType("patternMatch","acfe_taxonomy_terms"),acf.registerConditionForFieldType("contains","acfe_taxonomy_terms"),acf.registerConditionForFieldType("hasValue","acfe_taxonomy_terms"),acf.registerConditionForFieldType("hasNoValue","acfe_taxonomy_terms"),acf.registerConditionForFieldType("equalTo","time_picker"),acf.registerConditionForFieldType("notEqualTo","time_picker"),acf.registerConditionForFieldType("patternMatch","time_picker"),acf.registerConditionForFieldType("contains","time_picker"),acf.registerConditionForFieldType("equalTo","acfe_user_roles"),acf.registerConditionForFieldType("notEqualTo","acfe_user_roles"),acf.registerConditionForFieldType("patternMatch","acfe_user_roles"),acf.registerConditionForFieldType("contains","acfe_user_roles"),acf.registerConditionForFieldType("hasValue","acfe_user_roles"),acf.registerConditionForFieldType("hasNoValue","acfe_user_roles")),function(c){var i;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(i=[],acfe.registerEventForFieldType=function(e,t,a){i.push({fieldType:e,events:t="string"==typeof t?[t]:t,callback:a||!1})},acfe.getEvents=function(t){t=acf.parseArgs(t,{fieldType:""});var a=[];return i.map(function(e){t.fieldType&&-1===e.fieldType.indexOf(t.fieldType)||a.push(e)}),a},new acf.Model({actions:{new_field:"newField"},priority:20,data:{},parseEvent:function(e){return e.match(/^(\S+)\s*(.*)$/)},newField:function(o){this.set(o.cid,o.val()),acfe.getEvents({fieldType:o.get("type")}).map(function(n){n.events.map(function(e){e=this.parseEvent(e);o.on(e[1],e[2],this.proxy(function(e){var t=o.val(),a=this.get(o.cid),i=c(e.currentTarget);(n.callback||this.proxy(function(e,t,a,i,n){var o=e,c=t;"object"==typeof o&&(o=JSON.stringify(o)),(c="object"==typeof c?JSON.stringify(c):c)!==o&&(this.set(a.cid,e),acf.doAction("acfe/change_field",e,t,a,i,n),acf.doAction("acfe/change_field/type="+a.get("type"),e,t,a,i,n),acf.doAction("acfe/change_field/name="+a.get("name"),e,t,a,i,n),acf.doAction("acfe/change_field/key="+a.get("key"),e,t,a,i,n))}))(t,a,o,e,i)}))},this)},this)}}),acfe.registerEventForFieldType("button_group","change"),acfe.registerEventForFieldType("checkbox","change"),acfe.registerEventForFieldType("color_picker","change"),acfe.registerEventForFieldType("date_picker","change"),acfe.registerEventForFieldType("date_time_picker","change"),acfe.registerEventForFieldType("email",["input","change"]),acfe.registerEventForFieldType("file","change"),acfe.registerEventForFieldType("flexible_content","change"),acfe.registerEventForFieldType("gallery","change"),acfe.registerEventForFieldType("google_map","change"),acfe.registerEventForFieldType("image","change"),acfe.registerEventForFieldType("link","change"),acfe.registerEventForFieldType("number",["input","change"]),acfe.registerEventForFieldType("oembed","change"),acfe.registerEventForFieldType("page_link","change"),acfe.registerEventForFieldType("post_object","change"),acfe.registerEventForFieldType("relationship","change"),acfe.registerEventForFieldType("password",["input","change"]),acfe.registerEventForFieldType("radio","change"),acfe.registerEventForFieldType("range",["input","change"]),acfe.registerEventForFieldType("repeater","change"),acfe.registerEventForFieldType("select","change"),acfe.registerEventForFieldType("taxonomy","change"),acfe.registerEventForFieldType("text",["input","change"]),acfe.registerEventForFieldType("textarea",["input","change"]),acfe.registerEventForFieldType("time_picker","change"),acfe.registerEventForFieldType("true_false","change"),acfe.registerEventForFieldType("url",["input","change"]),acfe.registerEventForFieldType("user","change"),acfe.registerEventForFieldType("wysiwyg","change"),acfe.registerEventForFieldType("acfe_advanced_link","change"),acfe.registerEventForFieldType("acfe_block_types","change"),acfe.registerEventForFieldType("acfe_countries","change"),acfe.registerEventForFieldType("acfe_currencies","change"),acfe.registerEventForFieldType("acfe_code_editor","change"),acfe.registerEventForFieldType("acfe_date_range_picker","change"),acfe.registerEventForFieldType("acfe_field_groups","change"),acfe.registerEventForFieldType("acfe_field_types","change"),acfe.registerEventForFieldType("acfe_fields","change"),acfe.registerEventForFieldType("acfe_forms","change"),acfe.registerEventForFieldType("acfe_hidden","change"),acfe.registerEventForFieldType("acfe_image_selector","change"),acfe.registerEventForFieldType("acfe_image_sizes","change"),acfe.registerEventForFieldType("acfe_languages","change"),acfe.registerEventForFieldType("acfe_menu_locations","change"),acfe.registerEventForFieldType("acfe_options_pages","change"),acfe.registerEventForFieldType("acfe_payment","change"),acfe.registerEventForFieldType("acfe_payment_cart","change"),acfe.registerEventForFieldType("acfe_payment_selector","change"),acfe.registerEventForFieldType("acfe_phone_number","change"),acfe.registerEventForFieldType("acfe_post_formats","change"),acfe.registerEventForFieldType("acfe_post_statuses","change"),acfe.registerEventForFieldType("acfe_post_types","change"),acfe.registerEventForFieldType("acfe_recaptcha","change"),acfe.registerEventForFieldType("acfe_taxonomies","change"),acfe.registerEventForFieldType("acfe_taxonomy_terms","change"),acfe.registerEventForFieldType("acfe_templates","change"),acfe.registerEventForFieldType("acfe_user_roles","change"),acfe.registerEventForFieldType("acfe_slug",["input","change"]))}(jQuery),function(n){var r,f;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(r={},acfe.registerFieldExtend=function(e){var t,t=(t=e,acfe.isEmpty(t.prototype.id)?acf.uniqueId("Extend"):t.prototype.id);r[t]=e},acfe.getExtendModels=function(){var e=[];for([c,n]of acfe.getEntries(r))if(acfe.isEmpty(n.prototype.dependencies)){var t,a,i=!1;for([t,a]of acfe.getEntries(r))if(acfe.inArray(c,a.prototype.dependencies)){i=!0;break}i||e.push(c)}var n,o={};for([c,n]of acfe.getEntries(r))acfe.inArray(c,e)||(o[c]=n.prototype.dependencies);var c,l={};for(c of f(o).concat(e))l[c]=r[c];return l},acfe.FieldExtend=acf.Model.extend({id:"",type:"",dependencies:[],conditions:function(){return!0},methods:[],replace:"replace",getMethods:function(){if(!1===this.methods)return[];var e=acfe.isEmpty(this.methods)?Object.keys(this):this.methods,t=["constructor","id","type","dependencies","conditions","methods","replace","getMethods","getObjReplace"];return e.filter(function(e){return!acfe.inArray(e,t)&&this.hasOwnProperty(e)},this)},getObjReplace:function(e=!1){var t=["append","replace","rewrite"];if(acfe.isString(this.replace)&&acfe.inArray(this.replace,t))return this.replace;if(acfe.isObject(this.replace))for(var[a,i]of acfe.getEntries(this.replace))if(a===e&&acfe.inArray(i,t))return i;return"replace"}}),new acf.Model({wait:"prepare",priority:5,initialize:function(){for(var[e,t]of acfe.getEntries(acfe.getExtendModels())){var a,i=t.prototype;for(a of acfe.getArray(i.type)){var n=acf.getFieldType(a);n&&this.extendModel(n,i)}}},extendModel:function(e,a){var i=e.prototype.setup;e.prototype.setup=function(e){if(i.apply(this,arguments),a.conditions.apply(this))for(var t of a.getMethods())if("setup"===t)a[t].apply(this,arguments);else if(acfe.isObject(a[t]))switch(a.getObjReplace(t)){case"append":this[t]=n.extend(!0,a[t],this[t]);break;case"replace":this[t]=n.extend(!0,{},this[t],a[t]);break;case"rewrite":this[t]=n.extend(!0,{},a[t])}else this[t]=a[t]}}}),f=function(e,i=e,t=[],a=0){const n=(e="object"==typeof e&&!Array.isArray(e)?Object.keys(e):e).reduce(function(e,t,a){return i[t].every(Array.prototype.includes,e)&&e.push(t),e},t);t=e.filter(function(e){return!n.includes(e)});return t.length&&a<=e.length?f(t,i,n,a+1):n})}(jQuery),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({actions:{new_field:"newField"},priority:1,validateField:function(e){return!!e.has("ftype")&&!acf.getFieldType(e.get("type")).prototype.get("ftype")},newField:function(e){this.validateField(e)&&(e.set("rtype",e.get("type"),!0),e.set("type",e.get("ftype"),!0),e.$el.attr("data-type",e.get("ftype")),e.$el.removeAttr("data-ftype"),delete e.data.ftype)}}),function(i){"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({field:!1,placement:!1,actions:{new_field:"newField"},newField:function(e){(this.field=e).has("instructionTooltip")&&this.setTooltip(),e.has("instructionAboveField")&&this.setAboveField(),e.has("instructionPlacement")&&this.overridePlacement(e.get("instructionPlacement"))},setTooltip:function(){var e=acfe.versionCompare(acf.get("wp_version"),">=","5.5")?"dashicons-info-outline":"dashicons-info";this.field.$labelWrap().prepend('<span class="acfe-field-tooltip acf-js-tooltip dashicons '+e+'" title="'+_.escape(this.field.get("instructionTooltip"))+'"></span>'),this.field.$labelWrap().find(".description").remove()},setAboveField:function(){this.field.$inputWrap().prepend('<p class="description">'+this.field.get("instructionAboveField")+"</p>"),this.field.$labelWrap().find(".description").remove()},overridePlacement:function(e){var t=this.getPlacement();t&&t!==e&&this.setPlacement(e)},getPlacement:function(){var e=!1;return this.field.$labelWrap().find(">.description").length?e="label":this.field.$inputWrap().find(">.description:first-child").length?e="above_field":this.field.$inputWrap().find(">.description:last-child").length?e="field":this.field.$labelWrap().find(">.acfe-field-tooltip").length&&(e="tooltip"),this.placement=e,this.placement},$getInstruction:function(){var e=this.getPlacement();return"label"===e?this.field.$labelWrap().find(">.description"):"above_field"===e?this.field.$inputWrap().find(">.description:first-child"):"field"===e?this.field.$inputWrap().find(">.description:last-child"):"tooltip"===e&&this.field.$labelWrap().find(">.acfe-field-tooltip")},setPlacement:function(e){var t,a=this.$getInstruction();"tooltip"===this.placement&&(t=a.attr("title"),a.remove(),a=i('<p class="description">'+t+"</p>")),"label"===e?this.field.$labelWrap().append(a):"above_field"===e?this.field.$inputWrap().prepend(a):"field"===e?this.field.$inputWrap().append(a):"tooltip"===e&&(e=acfe.versionCompare(acf.get("wp_version"),">=","5.5")?"dashicons-info-outline":"dashicons-info",this.field.$labelWrap().prepend(i('<span class="acfe-field-tooltip acf-js-tooltip dashicons '+e+'" title="'+_.escape(a.html())+'"></span>')),a.remove())}})}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({type:"acfe_advanced_link",events:{'click a[data-name="add"]':"onClickEdit",'click a[data-name="edit"]':"onClickEdit",'click a[data-name="remove"]':"onClickRemove"},$control:function(){return this.$(".acf-link")},initialize:function(){},getValue:function(){var e={type:this.$(".input-type :checked").val(),title:this.$(".input-title").val(),url:this.$(".input-url").val(),post:this.$(".input-post :selected").text(),term:this.$(".input-term :selected").text(),target:this.$(".input-target").is(":checked")};return"post"===e.type?e.url=e.post:"term"===e.type&&(e.url=e.term),e},setValue:function(e){e=acf.parseArgs(e,{remove:!1,title:"",url:"",target:!1});var t=this.$control();t.removeClass("-value -external"),(e.url||e.title)&&t.addClass("-value"),e.target&&t.addClass("-external"),this.$(".link-title").html(e.title),this.$(".link-url").attr("href",e.url).html(e.url),e.remove&&(this.$(".input-type :checked").prop("checked",!1),this.$('.input-type [value="url"]').prop("checked",!0).trigger("change"),this.$(".input-title").val(""),this.$(".input-target").prop("checked",!1),this.$(".input-url").val("").trigger("change"),this.$(".input-post").val("").trigger("change"),this.$(".input-term").val("").trigger("change"))},onClickEdit:function(e,t){var a=t.closest(".acf-input").find(".acfe-modal"),t=a.attr("data-modal-title"),i=this;new acfe.Popup(a,{title:t,size:"medium",footer:acf.__("Close"),onClose:function(){i.onChange()}})},onClickRemove:function(e,t){this.setValue({remove:!0})},onChange:function(e,t){var a=this.getValue();this.setValue(a)}}),acf.registerFieldType(e),new acf.Model({actions:{invalid_field:"invalidField"},filters:{"select2_ajax_data/type=post_object":"ajaxField"},invalidField:function(e){var t=e.$el.closest(".acf-field-acfe-advanced-link").not(".acf-error");t.length&&acf.getInstance(t).showError(e.notice.get("text"))},ajaxField:function(e,t,a,i,n){if("post"!==i.get("key"))return e;a=acf.getInstance(a.closest(".acf-field-acfe-advanced-link"));return a&&(e.field_key=a.get("key")),e}}))}(jQuery),function(i){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({type:"acfe_button",events:{"click input":"onClick","click button":"onClick"},$input:function(){return this.$("input").length?this.$("input"):this.$("button").length?this.$("button"):void 0},initialize:function(){var e=this.$input();this.inherit(e)},onClick:function(e,t){var a;this.get("ajax")&&(e.preventDefault(),a={action:"acfe/fields/button",field_key:this.get("key"),acf:acf.serialize(this.$el.closest("form"),"acf")},a=acf.applyFilters("acfe/fields/button/data",a,this.$el),a=acf.applyFilters("acfe/fields/button/data/name="+this.get("name"),a,this.$el),a=acf.applyFilters("acfe/fields/button/data/key="+this.get("key"),a,this.$el),acf.doAction("acfe/fields/button/before_ajax",this.$el,a),acf.doAction("acfe/fields/button/before",this.$el,a),acf.doAction("acfe/fields/button/before/name="+this.get("name"),this.$el,a),acf.doAction("acfe/fields/button/before/key="+this.get("key"),this.$el,a),i.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(a),type:"post",dataType:"json",context:this,success:function(e){acf.doAction("acfe/fields/button/ajax_success",e,this.$el,a),acf.doAction("acfe/fields/button/success",e,this.$el,a),acf.doAction("acfe/fields/button/success/name="+this.get("name"),e,this.$el,a),acf.doAction("acfe/fields/button/success/key="+this.get("key"),e,this.$el,a)},complete:function(e){e=e.responseText;acf.doAction("acfe/fields/button/complete",e,this.$el,a),acf.doAction("acfe/fields/button/complete/name="+this.get("name"),e,this.$el,a),acf.doAction("acfe/fields/button/complete/key="+this.get("key"),e,this.$el,a)}}))}}),acf.registerFieldType(e))}(jQuery),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({actions:{new_field:"newField"},validateField:function(e){return!!e.has("acfeLabels")&&"checkbox"===e.get("rtype",e.get("type"))},newField:function(e){if(this.validateField(e)){var t,a,i=e.get("acfeLabels");for(t in i)a=i[t],e.$control().find('input[type=checkbox][value="'+a+'"]').closest("ul").before("<strong>"+t+"</strong>")}}}),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({wait:!1,type:"clone",events:{'click [data-name="edit"]':"onClick",duplicateField:"onDuplicate"},initialize:function(){var e;this.has("acfeCloneModal")&&(e=this.get("acfeCloneModalButton"),this.$el.find("> .acf-input > .acf-fields, > .acf-input > .acf-table").wrapAll('<div class="acfe-modal"><div class="acfe-modal-wrapper"><div class="acfe-modal-content"></div></div></div>'),this.$el.find("> .acf-input").append('<a data-name="edit" class="acf-button button" href="#">'+e+"</a>"))},onClick:function(e,t){var a=this.$labelWrap().find("label").text().trim();this.$el.is("td")&&(a=this.get("acfeGroupModalButton"),(o=this.$el.closest("table").find(' > thead th[data-key="'+this.get("key")+'"]')).length&&(a=acfe.getTextNode(o)));var i=this.$el.find("> .acf-input > .acfe-modal").addClass("acfe-modal-edit-"+this.get("name")+" acfe-modal-edit-"+this.get("key"));a.length||(a=this.get("acfeCloneModalButton"));var n=!1;this.has("acfeCloneModalClose")&&(n=acf.__("Close"));var o="large";this.has("acfeCloneModalSize")&&(o=this.get("acfeCloneModalSize")),new acfe.Popup(i,{title:a,size:o,footer:n})},onDuplicate:function(e,t,a){a.find('a[data-name="edit"]').remove()}}),acf.registerFieldType(e))}(jQuery),function(t){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({wait:!1,type:"acfe_code_editor",editor:{},events:{showField:"onShow",duplicateField:"onDuplicate"},$control:function(){return this.$("> .acf-input > .acf-input-wrap")},$input:function(){return this.$control().find("> textarea")},initialize:function(){var e;acf.isset(wp,"codeEditor")&&(e={lineNumbers:this.get("lines"),lineWrapping:!0,styleActiveLine:!1,continueComments:!0,indentUnit:this.get("indentUnit"),tabSize:1,indentWithTabs:!1,autoRefresh:!0,mode:this.get("mode"),extraKeys:{Tab:function(e){e.execCommand("indentMore")},"Shift-Tab":function(e){e.execCommand("indentLess")}}},e=acf.applyFilters("acfe/fields/code_editor/args",e,this),e=acf.applyFilters("acfe/fields/code_editor/args/name="+this.get("name"),e,this),e=acf.applyFilters("acfe/fields/code_editor/args/key="+this.get("key"),e,this),this.editor=wp.codeEditor.initialize(this.$input().get(0),{codemirror:t.extend(wp.codeEditor.defaultSettings.codemirror,e)}),this.get("rows")&&(this.editor.codemirror.getScrollerElement().style.minHeight=18.5*this.get("rows")+"px"),this.get("maxRows")&&(this.editor.codemirror.getScrollerElement().style.maxHeight=18.5*this.get("maxRows")+"px"),this.editor.codemirror.on("change",this.proxy(this.onEditorChange)),acf.doAction("acfe/fields/code_editor/init",this.editor,this),acf.doAction("acfe/fields/code_editor/init/name="+this.get("name"),this.editor,this),acf.doAction("acfe/fields/code_editor/init/key="+this.get("key"),this.editor,this))},onEditorChange:function(e,t){this.editor.codemirror.save(),this.$input().change()},onShow:function(){this.editor.codemirror&&this.editor.codemirror.refresh()},onDuplicate:function(e,t,a){a.find(".CodeMirror:last").remove()}}),acf.registerFieldType(e))}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({wait:"new_field",type:"acfe_column",$control:function(){return this.$(".acf-fields:first")},initialize:function(){if(this.$el.is("td")&&(this.$el.closest(".acf-table").find('th[data-type="acfe_column"]').remove(),this.remove()),this.get("endpoint"))return this.$el.find("> .acf-label").remove(),void this.$el.find("> .acf-input").remove();var e=this.$el,t=this.$el.find("> .acf-label"),a=(this.$inputWrap(),this.$control());t.remove();t=e.parent();t.addClass("acfe-column-wrapper"),a.addClass(t.hasClass("-left")?"-left":""),a.addClass(t.hasClass("-clear")?"-clear":""),a.append(e.nextUntil(".acf-field-acfe-column",".acf-field"))}}),acf.registerFieldType(e))}(jQuery),function(f){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.models.FlexibleContentField,acf.models.FlexibleContentField=e.extend({addSortable:function(a){1!=this.get("max")&&this.$layoutsWrap().sortable({items:" > .layout",handle:"> .acf-fc-layout-handle",forceHelperSize:!1,forcePlaceholderSize:!0,revert:50,tolerance:"pointer",scroll:!0,stop:function(e,t){a.render()},update:function(e,t){a.$input().trigger("change")}})},acfeOneClick:function(e,t){var a=this.$clones(),i=f(a[0]).data("layout"),a=null;t.hasClass("acf-icon")&&(a=t.closest(".layout")),this.add({layout:i,before:a});a=f(".acf-fc-popup");a.length&&a.hide()},acfeLayoutInit:function(t){var e,a,i=this.get("key"),n=this.get("name"),o=this.$el,c=t.data("layout"),l=t.index(),r=t.find("> .acfe-fc-placeholder");r.removeClass("acf-hidden"),this.has("acfeFlexibleModalEdition")||this.isLayoutClosed(t)||r.addClass("acf-hidden"),this.isLayoutClosed(t)&&this.has("acfeFlexiblePreview")&&!r.hasClass("-loading")&&(r.addClass("acfe-fc-preview -loading").find("> .acfe-flexible-placeholder").prepend('<span class="spinner"></span>'),r.find("> .acfe-fc-overlay").addClass("-hover"),e=t.children("input").attr("name").replace("[acf_fc_layout]",""),a={action:"acfe/flexible/layout_preview",field_key:i,i:l,layout:c,value:acf.serialize(t,e)},acf.doAction("acfe/fields/flexible_content/before_preview",o,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/name="+n,o,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/key="+i,o,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/name="+n+"&layout="+c,o,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/key="+i+"&layout="+c,o,t,a),f.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(a),dataType:"html",type:"post",success:function(e){e?r.find("> .acfe-flexible-placeholder").html(e):r.removeClass("acfe-fc-preview"),acf.doAction("acfe/fields/flexible_content/preview",e,o,t,a),acf.doAction("acfe/fields/flexible_content/preview/name="+n,e,o,t,a),acf.doAction("acfe/fields/flexible_content/preview/key="+i,e,o,t,a),acf.doAction("acfe/fields/flexible_content/preview/name="+n+"&layout="+c,e,o,t,a),acf.doAction("acfe/fields/flexible_content/preview/key="+i+"&layout="+c,e,o,t,a)},complete:function(){r.find("> .acfe-fc-overlay").removeClass("-hover"),r.removeClass("-loading").find("> .acfe-flexible-placeholder > .spinner").remove()}}))}}),new acf.Model({actions:{"new_field/type=flexible_content":"newField","acfe/flexible/layouts":"newLayouts",show:"onShow",hide:"onHide",append:"onAppend",invalid_field:"onInvalidField",valid_field:"onValidField"},newField:function(a){var e=a.$clones();a.$layouts().each(function(){var e=f(this),t=e.data("layout");acf.doAction("acfe/flexible/layouts",e,a),acf.doAction("acfe/flexible/layout/name="+t,e,a)}),1===e.length&&(a.removeEvents({'click [data-name="add-layout"]':"onClickAdd"}),a.addEvents({'click [data-name="add-layout"]':"acfeOneClick"})),a.addEvents({"click .acfe-fc-placeholder":"onClickCollapse"}),a.addEvents({"click .acfe-flexible-opened-actions > a":"onClickCollapse"}),a.has("acfeFlexibleAjax")&&(a.add=function(n){var o=this;if(n=acf.parseArgs(n,{layout:"",before:!1}),!this.allowAdd())return!1;f.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax({action:"acfe/flexible/models",field_key:this.get("key"),layout:n.layout}),dataType:"html",type:"post",beforeSend:function(){f("body").addClass("-loading")},success:function(e){if(e){var t=f(e),a=acf.uniqid(),i="acf["+o.get("key")+"][acfcloneindex]",e=o.$control().find("> input[type=hidden]").attr("name")+"["+a+"]",e=acf.duplicate({target:t,search:i,replace:e,append:o.proxy(function(e,t){n.before?n.before.before(t):o.$layoutsWrap().append(t),acf.enable(t,o.cid),o.render()})});return e.attr("data-id",a),o.$input().trigger("change"),e}},complete:function(){f("body").removeClass("-loading")}})})},newLayouts:function(e,t){t.isLayoutClosed(e)&&(e.find("> .acfe-fc-placeholder").removeClass("acf-hidden"),t.has("acfeFlexibleOpen")&&(acfe.enableFilter("acfeFlexibleOpen"),t.openLayout(e),acfe.disableFilter("acfeFlexibleOpen")))},onShow:function(e,t){"collapse"===t&&e.is(".layout")&&(acf.getInstance(e.closest(".acf-field-flexible-content")).has("acfeFlexibleModalEdition")||e.find("> .acfe-fc-placeholder").addClass("acf-hidden"))},onHide:function(e,t){"collapse"===t&&e.is(".layout")&&!e.is(".acf-clone")&&((t=acf.getInstance(e.closest(".acf-field-flexible-content"))).has("acfeFlexibleRemoveAjaxTitle")&&(t.renderLayout=function(e){}),t.acfeLayoutInit(e))},onAppend:function(e){var t;e.is(".layout")&&(t=acf.getInstance(e.closest(".acf-field-flexible-content")),e.is(".acfe-layout-duplicated")||(t.has("acfeFlexibleModalEdition")?e.find('> [data-action="acfe-flexible-modal-edit"]:first').trigger("click"):t.openLayout(e)),t.acfeLayoutInit(e),(t=t.$el.closest(".acfe-modal.-open")).length?t.find("> .acfe-modal-wrapper > .acfe-modal-content").animate({scrollTop:parseInt(e.offset().top)-200},200):!acfe.versionCompare(acf.get("acf_version"),"<","5.9")&&e.hasClass("-focused")||f("html, body").animate({scrollTop:parseInt(e.offset().top)-200},200))},onInvalidField:function(e){e.$el.parents(".layout").addClass("acfe-flexible-modal-edit-error")},onValidField:function(e){e.$el.parents(".layout").each(function(){var e=f(this);e.find(".acf-error").length||e.removeClass("acfe-flexible-modal-edit-error")})}}))}(jQuery),function(r){var n;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&((n=acf.getFieldType("flexible_content").prototype).events["click .acf-fc-layout-handle"]="acfeEditLayoutTitleToggleHandle",n.acfeEditLayoutTitleToggleHandle=function(e,t){!this.has("acfeFlexibleTitleEdition")||(t=t.closest(".layout")).hasClass("acfe-flexible-title-edition")&&t.find("> .acf-fc-layout-handle > .acfe-layout-title > input.acfe-flexible-control-title").trigger("blur")},n.events["click .acfe-layout-title-text"]="acfeEditLayoutTitle",n.acfeEditLayoutTitle=function(e,t){this.has("acfeFlexibleTitleEdition")&&(e.stopPropagation(),this.acfeEditLayoutTitleToggle(e,t))},n.events["blur input.acfe-flexible-control-title"]="acfeEditLayoutTitleToggle",n.acfeEditLayoutTitleToggle=function(e,t){var a,i=t.closest(".layout"),n=i.find("> .acf-fc-layout-handle"),t=n.find(".acfe-layout-title");i.hasClass("acfe-flexible-title-edition")?(""===(a=t.find("> input[data-acfe-flexible-control-title-input]")).val()&&a.val(a.attr("placeholder")).trigger("input"),i.removeClass("acfe-flexible-title-edition"),a.insertAfter(n)):(a=(a=i.find("> input[data-acfe-flexible-control-title-input]")).appendTo(t),i.addClass("acfe-flexible-title-edition"),a.focus().attr("size",a.val().length))},n.events["click input.acfe-flexible-control-title"]="acfeEditLayoutTitlePropagation",n.acfeEditLayoutTitlePropagation=function(e,t){e.stopPropagation()},n.events["input [data-acfe-flexible-control-title-input]"]="acfeEditLayoutTitleInput",n.acfeEditLayoutTitleInput=function(e,t){var a=t.closest(".layout").find("> .acf-fc-layout-handle .acfe-layout-title .acfe-layout-title-text"),i=t.val();t.attr("size",i.length),a.html(i)},n.events["keypress [data-acfe-flexible-control-title-input]"]="acfeEditLayoutTitleInputEnter",n.acfeEditLayoutTitleInputEnter=function(e,t){13===e.keyCode&&(e.preventDefault(),t.blur())},n.events["click [data-acfe-flexible-settings]"]="acfeLayoutSettings",n.acfeLayoutSettings=function(e,t){var a=this,i=t.closest(".layout"),n=i.find("> .acfe-modal.-settings"),o=i.find("> .acf-fc-layout-handle"),t=o.find("> .acf-fc-layout-order").outerHTML(),o=o.find(".acfe-layout-title-text").text();new acfe.Popup(n,{title:t+" "+o,footer:acf.__("Close"),onClose:function(){a.has("acfeFlexiblePreview")&&a.closeLayout(i)}})},n.events["click [data-acfe-flexible-control-toggle]"]="acfeLayoutToggle",n.acfeLayoutToggle=function(e,t){var a=t.closest(".layout"),t=a.find("> .acfe-flexible-layout-toggle");t.length&&("1"===t.val()?(a.removeClass("acfe-flexible-layout-hidden"),t.val("")):(a.addClass("acfe-flexible-layout-hidden"),t.val("1")))},acf.addAction("acfe/flexible/layouts",function(e,t){!t.has("acfeFlexibleToggle")||(t=e.find("> .acfe-flexible-layout-toggle")).length&&("1"===t.val()?e.addClass("acfe-flexible-layout-hidden"):e.removeClass("acfe-flexible-layout-hidden"))}),n.events["click [data-acfe-flexible-control-clone]"]="acfeCloneLayout",n.acfeCloneLayout=function(e,t){var a,i=this,n=t.closest(".layout"),o=n.data("layout"),c=r(i.$popup().html()),l=i.$layouts(),c=c.find('[data-layout="'+o+'"]'),c=(c.data("min"),c.data("max")||0),o=(a=o,l.filter(function(){return r(this).data("layout")===a}).length);if(c&&c<=o)return t.addClass("disabled"),!1;t.removeClass("disabled"),i.acfeFixInputs(n);o=n.clone();i.acfeCleanLayouts(o);t=t.closest(".acf-flexible-content").find("> input[type=hidden]").attr("name"),i.acfeDuplicate({layout:o,before:n,parent:t})},n.events["click [data-acfe-flexible-control-copy]"]="acfeCopyLayout",n.acfeCopyLayout=function(e,t){var a=t.closest(".layout").clone(),t=this.$control().find("> input[type=hidden]").attr("name");this.acfeFixInputs(a),this.acfeCleanLayouts(a);t=JSON.stringify({source:t,layouts:a[0].outerHTML}),a=r('<input type="text" style="clip:rect(0,0,0,0);clip-path:none;position:absolute;" value="" />').appendTo(r("body"));a.attr("value",t).select(),document.execCommand("copy")?alert("Layout has been transferred to your clipboard"):prompt("Copy the following layout data to your clipboard",t),a.remove()},n.acfeCopyLayouts=function(){var e=this,t=e.$layoutsWrap().clone(),a=e.$control().find("> input[type=hidden]").attr("name");e.acfeFixInputs(t),e.acfeCleanLayouts(t);t=JSON.stringify({source:a,layouts:t.html()}),e=r('<input type="text" style="clip:rect(0,0,0,0);clip-path:none;position:absolute;" value="" />').appendTo(e.$el);e.attr("value",t).select(),document.execCommand("copy")?alert("Layouts have been transferred to your clipboard"):prompt("Copy the following layouts data to your clipboard",t),e.remove()},n.acfePasteLayouts=function(){var n=this,e=prompt("Paste layouts data in the following field");if(null!=e&&""!==e)try{var t=JSON.parse(e),i=t.source,a=r(t.layouts).closest("[data-layout]");if(!a.length)return alert("No layouts data available");var o=r(n.$popup().html()),c=n.$layouts(),l=[];if(a.each(function(){var e,t=r(this),a=t.data("layout"),i=o.find('[data-layout="'+a+'"]'),i=(i.data("min"),i.data("max")||0),a=(e=a,c.filter(function(){return r(this).data("layout")===e}).length);i&&i<=a||n.$clone(t.attr("data-layout")).length&&l.push(t)}),!l.length)return alert("No layouts could be pasted");r.each(l,function(){var e=r(this),t=i+"["+e.attr("data-id")+"]",a=n.$control().find("> input[type=hidden]").attr("name");n.acfeDuplicate({layout:e,before:!1,search:t,parent:a})})}catch(e){console.log(e),alert("Invalid data")}},n.events['click [data-name="acfe-flexible-control-button"]']="acfeControl",n.acfeControl=function(e,t){var a=this,i=t.next(".tmpl-acfe-flexible-control-popup").html();new(acf.models.TooltipConfirm.extend({render:function(){this.html(this.get("text")),this.$el.addClass("acf-fc-popup")}}))({target:t,targetConfirm:!1,text:i,context:a,confirm:function(e,t){"paste"===t.attr("data-acfe-flexible-control-action")?a.acfePasteLayouts():"copy"===t.attr("data-acfe-flexible-control-action")&&a.acfeCopyLayouts()}}).on("click","a","onConfirm")},n.acfeDuplicate=function(a){if(a=acf.parseArgs(a,{layout:"",before:!1,parent:!1,search:"",replace:""}),!this.allowAdd())return!1;var i=acf.uniqid();a.parent&&(a.search||(a.search=a.parent+"["+a.layout.attr("data-id")+"]"),a.replace=a.parent+"["+i+"]");var e,t={target:a.layout,search:a.search,replace:a.replace,append:this.proxy(function(e,t){t.addClass("acfe-layout-duplicated"),t.attr("data-id",i),a.before?a.before.after(t):this.$layoutsWrap().append(t),acf.enable(t,this.cid),this.render()})};e=acfe.versionCompare(acf.get("acf_version"),"<","5.9")?acf.duplicate(t):n.acfeNewAcfDuplicate(t),this.$input().trigger("change");t=acf.getFields({type:"tab",parent:e});return t.length&&r.each(t,function(){this.$el.hasClass("acf-hidden")&&this.tab.$el.addClass("acf-hidden")}),e},n.acfeNewAcfDuplicate=function(e){e instanceof jQuery&&(e={target:e}),(e=acf.parseArgs(e,{target:!1,search:"",replace:"",rename:!0,before:function(e){},after:function(e,t){},append:function(e,t){e.after(t)}})).target=e.target||e.$el;var t=e.target;e.search=e.search||t.attr("data-id"),e.replace=e.replace||acf.uniqid(),e.before(t),acf.doAction("before_duplicate",t);var a=t.clone();return e.rename&&acf.rename({target:a,search:e.search,replace:e.replace,replacer:"function"==typeof e.rename?e.rename:null}),a.removeClass("acf-clone"),a.find(".ui-sortable").removeClass("ui-sortable"),e.after(t,a),acf.doAction("after_duplicate",t,a),e.append(t,a),acf.doAction("append",a),a},n.acfeFixInputs=function(e){e.find("input").each(function(){r(this).attr("value",this.value)}),e.find("textarea").each(function(){r(this).html(this.value)}),e.find("input:radio,input:checkbox").each(function(){this.checked?r(this).attr("checked","checked"):r(this).attr("checked",!1)}),e.find("option").each(function(){this.selected?r(this).attr("selected","selected"):r(this).attr("selected",!1)})},n.acfeCleanLayouts=function(e){e.find(".acf-editor-wrap").each(function(){var e=r(this);e.find(".wp-editor-container div").remove(),e.find(".wp-editor-container textarea").css("display","")}),e.find(".acf-date-picker").each(function(){r(this).find("input.input").removeClass("hasDatepicker").removeAttr("id")}),e.find(".acf-time-picker").each(function(){r(this).find("input.input").removeClass("hasDatepicker").removeAttr("id")}),e.find(".acf-date-time-picker").each(function(){r(this).find("input.input").removeClass("hasDatepicker").removeAttr("id")}),e.find(".acfe-field-code-editor").each(function(){r(this).find(".CodeMirror").remove()}),e.find(".acf-color-picker").each(function(){var e=r(this),t=e.find("> input"),a=e.find(".wp-picker-container input.wp-color-picker").clone();t.after(a),e.find(".wp-picker-container").remove()}),e.find(".acf-field-post-object").each(function(){var e=r(this);e.find("> .acf-input span").remove(),e.find("> .acf-input select").removeAttr("tabindex aria-hidden").removeClass()}),e.find(".acf-field-page-link").each(function(){var e=r(this);e.find("> .acf-input span").remove(),e.find("> .acf-input select").removeAttr("tabindex aria-hidden").removeClass()}),e.find(".acf-field-select").each(function(){var e=r(this);e.find("> .acf-input span").remove(),e.find("> .acf-input select").removeAttr("tabindex aria-hidden").removeClass()}),e.find(".acf-field-font-awesome").each(function(){var e=r(this);e.find("> .acf-input span").remove(),e.find("> .acf-input select").removeAttr("tabindex aria-hidden")}),e.find(".acf-tab-wrap").each(function(){var e=r(this),t=e.closest(".acf-fields"),a=[];r.each(e.find("li a"),function(){a.push(r(this))}),t.find("> .acf-field-tab").each(function(){$current_tab=r(this),r.each(a,function(){var e=r(this);e.attr("data-key")===$current_tab.attr("data-key")&&$current_tab.find("> .acf-input").append(e)})}),e.remove()}),e.find(".acf-field-accordion").each(function(){var e=r(this);e.find("> .acf-accordion-title > .acf-accordion-icon").remove(),e.after('<div class="acf-field acf-field-accordion" data-type="accordion"><div class="acf-input"><div class="acf-fields" data-endpoint="1"></div></div></div>')})},acf.addAction("new_field/type=flexible_content",function(e){e.has("acfeFlexibleLock")&&e.removeEvents({mouseover:"onHover"})}))}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&((e=acf.getFieldType("flexible_content").prototype).events['click [data-action="acfe-flexible-modal-edit"]']="acfeModalEdit",e.acfeModalEdit=function(e,t){var a=this,i=t.closest(".layout"),n=i.find("> .acfe-modal.-fields"),o=i.find("> .acf-fc-layout-handle"),c=o.find("> .acf-fc-layout-order").outerHTML(),t=acfe.getTextNode(o.find(".acfe-layout-title")),o=!!a.has("acfeFlexibleCloseButton")&&acf.__("Close");new acfe.Popup(n,{title:c+" "+t,class:"acfe-modal-edit-"+a.get("name")+" acfe-modal-edit-"+a.get("key")+" acfe-modal-edit-"+i.data("layout"),footer:o,onOpen:function(){a.openLayout(i)},onClose:function(){a.closeLayout(i)}})},acf.addAction("new_field/type=flexible_content",function(e){e.has("acfeFlexibleModalEdition")&&(e.has("acfeFlexiblePlaceholder")||e.has("acfeFlexiblePreview"))&&(e.removeEvents({'click [data-name="collapse-layout"]':"onClickCollapse"}),e.removeEvents({"click .acfe-fc-placeholder":"onClickCollapse"}))}))}(jQuery),function(o){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acfe.FieldExtend.extend({type:"flexible_content",conditions:function(){return this.has("acfeFlexibleModal")&&1<this.$clones().length},onClickAdd:function(e,t){var a=this;if(!a.validateAdd())return!1;var i=this.getLayoutsCategories(),n=t.hasClass("acf-icon")?t.closest(".layout"):null;new acfe.Popup({title:a.get("acfeFlexibleModalTitle",acf.__("Add Row")),class:"acfe-modal-select-"+a.get("name")+" acfe-modal-select-"+a.get("key"),size:a.get("acfeFlexibleModalSize"),destroy:!0,events:{"click .acfe-flexible-categories a":"onClickCategory","click a[data-layout]":"onClickLayout"},content:function(){return'<div class="acfe-flex-container">'+a.getPopupHTML()+"</div>"},onOpen:function(){i&&this.$content().prepend(i),a.has("acfeFlexibleModalCol")&&this.$(".acfe-modal-content .acfe-flex-container").addClass("acfe-col-"+a.get("acfeFlexibleModalCol")),a.has("acfeFlexibleThumbnails")&&this.$(".acfe-modal-content .acfe-flex-container").addClass("acfe-flex-thumbnails");var e=acfe.versionCompare(acf.get("wp_version"),">=","5.5")?"dashicons-info-outline":"dashicons-info";this.$("li a span.badge").addClass("acf-js-tooltip dashicons "+e),this.$("li:first-of-type a").blur()},onClickCategory:function(e,t){e.preventDefault();var t=t,i=t.data("acfe-flexible-category");t.closest(".acfe-flexible-categories").find("a").removeClass("nav-tab-active"),t.addClass("nav-tab-active"),this.$("a[data-layout] span[data-acfe-flexible-category]").closest("li").show(),"acfe-all"!==i&&this.$("a[data-layout] span[data-acfe-flexible-category]").each(function(){var e,t=o(this),a=t.data("acfe-flexible-category");t.closest("li").hide();for(e of a)if(acfe.slugify(i)===acfe.slugify(e)){t.closest("li").show();break}})},onClickLayout:function(e,t){e.preventDefault(),this.close(),a.add({layout:t.data("layout"),before:n})}})},getLayoutsCategories:function(){var e=o(this.getPopupHTML()),t="",i=[];return e.find("li a span[data-acfe-flexible-category]").exists()&&(e.find("li a span[data-acfe-flexible-category]").each(function(){o(this).data("acfe-flexible-category").map(function(e){var t=acfe.slugify(e),a=i.filter(function(e){return e.slug===t});acfe.isEmpty(a)&&i.push({slug:t,label:e})})}),i.length&&(t+='<h2 class="acfe-flexible-categories nav-tab-wrapper">',t+='<a href="#" data-acfe-flexible-category="acfe-all" class="nav-tab nav-tab-active"><span class="dashicons dashicons-menu"></span></a>',i.sort().map(function(e){t+='<a href="#" data-acfe-flexible-category="'+e.label+'" class="nav-tab">'+e.label+"</a>"}),t+="</h2>")),t}}),acfe.registerFieldExtend(e))}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({wait:!1,type:"group",events:{'click [data-name="edit"]':"onClick",duplicateField:"onDuplicate"},initialize:function(){var e;this.has("acfeGroupModal")&&(e=this.get("acfeGroupModalButton"),this.$el.find("> .acf-input > .acf-fields, > .acf-input > .acf-table").wrapAll('<div class="acfe-modal"><div class="acfe-modal-wrapper"><div class="acfe-modal-content"></div></div></div>'),this.$el.find("> .acf-input").append('<a data-name="edit" class="acf-button button" href="#">'+e+"</a>"))},onClick:function(e,t){var a=this.$labelWrap().find("label").text().trim();this.$el.is("td")&&(a=this.get("acfeGroupModalButton"),(o=this.$el.closest("table").find(' > thead th[data-key="'+this.get("key")+'"]')).length&&(a=acfe.getTextNode(o)));var i=this.$el.find("> .acf-input > .acfe-modal").addClass("acfe-modal-edit-"+this.get("name")+" acfe-modal-edit-"+this.get("key"));a.length||(a=this.get("acfeGroupModalButton"));var n=!1;this.has("acfeGroupModalClose")&&(n=acf.__("Close"));var o="large";this.has("acfeGroupModalSize")&&(o=this.get("acfeGroupModalSize")),new acfe.Popup(i,{title:a,size:o,footer:n})},onDuplicate:function(e,t,a){a.find('a[data-name="edit"]').remove()}}),acf.registerFieldType(e))}(jQuery),function(n){"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({actions:{new_field:"newField"},validateField:function(e){return!!e.has("acfeLabels")&&"radio"===(e.has("rtype")?e.get("rtype"):e.get("type"))},newField:function(e){if(this.validateField(e)){var t,a,i=e.get("acfeLabels");for(t in i)a=i[t],e.$control().find('input[type=radio][value="'+a+'"]').closest("li").addClass("parent").prepend("<strong>"+t+"</strong>");e.$control().hasClass("acf-hl")&&e.$control().find("li.parent").each(function(){n(this).nextUntil("li.parent").addBack().wrapAll("<li><ul></ul></li>")})}}})}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({type:"acfe_recaptcha",wait:"load",actions:{validation_failure:"validationFailure"},$control:function(){return this.$(".acfe-field-recaptcha")},$input:function(){return this.$('input[type="hidden"]')},$selector:function(){return this.$control().find("> div")},selector:function(){return this.$selector()[0]},initialize:function(){"v2"===this.get("version")?this.renderV2(this):"v3"===this.get("version")&&this.renderV3()},renderV2:function(t){var e=this.selector(),a=this.$input(),i=this.get("siteKey"),n=this.get("theme"),o=this.get("size");this.recaptcha=grecaptcha.render(e,{sitekey:i,theme:n,size:o,callback:function(e){acf.val(a,e,!0),t.removeError()},"error-callback":function(){acf.val(a,"",!0),t.showError("An error has occured")},"expired-callback":function(){acf.val(a,"",!0),t.showError("reCaptcha has expired")}})},renderV3:function(){var t=this.$input(),e=this.get("siteKey");grecaptcha.ready(function(){grecaptcha.execute(e,{action:"homepage"}).then(function(e){acf.val(t,e,!0)})})},validationFailure:function(e){"v2"===this.get("version")&&grecaptcha.reset(this.recaptcha)}}),acf.registerFieldType(e))}(jQuery),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acf.getFieldType("repeater").prototype.acfeOnHover=function(){this.off("mouseover")},acf.addAction("new_field/type=repeater",function(e){e.has("acfeRepeaterLock")&&(e.removeEvents({mouseover:"onHover"}),e.addEvents({mouseover:"acfeOnHover"})),e.has("acfeRepeaterRemoveActions")&&(e.$actions().remove(),e.$el.find("thead:first > tr > th.acf-row-handle:last").remove(),e.$rows().find("> .acf-row-handle:last").remove(),e.$control().find("> .acfe-repeater-stylised-button").remove()),e.has("acfeRepeaterStylisedButton")&&(e.$button().removeClass("button-primary"),e.$actions().wrap('<div class="acfe-repeater-stylised-button" />'))})),function(l){"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(new acf.Model({actions:{select2_init:"init"},filters:{select2_args:"args",select2_ajax_data:"ajax"},init:function(e,t,a,i,n){acf.doAction("select2_init/type="+i.get("type"),e,t,a,i,n),acf.doAction("select2_init/name="+i.get("name"),e,t,a,i,n),acf.doAction("select2_init/key="+i.get("key"),e,t,a,i,n)},args:function(e,i,n,o,c){return e=acf.applyFilters("select2_args/type="+o.get("type"),e,i,n,o,c),e=acf.applyFilters("select2_args/name="+o.get("name"),e,i,n,o,c),e=acf.applyFilters("select2_args/key="+o.get("key"),e,i,n,o,c),acf.isset(window,"jQuery","fn","selectWoo")||(e.templateSelection=function(e){var t=e.text,t=acf.applyFilters("select2_template_selection",t,e,i,n,o,c);t=acf.applyFilters("select2_template_selection/type="+o.get("type"),t,e,i,n,o,c),t=acf.applyFilters("select2_template_selection/name="+o.get("name"),t,e,i,n,o,c),t=acf.applyFilters("select2_template_selection/key="+o.get("key"),t,e,i,n,o,c);var a=l('<span class="acf-selection"></span>');return a.html(acf.escHtml(t)),a.data("element",e.element),a},e.templateResult=function(e){var t=e.text,t=acf.applyFilters("select2_template_result",t,e,i,n,o,c);t=acf.applyFilters("select2_template_result/type="+o.get("type"),t,e,i,n,o,c),t=acf.applyFilters("select2_template_result/name="+o.get("name"),t,e,i,n,o,c),t=acf.applyFilters("select2_template_result/key="+o.get("key"),t,e,i,n,o,c);var a=l('<span class="acf-selection"></span>');return a.html(acf.escHtml(t)),a.data("element",e.element),a}),e},ajax:function(e,t,a,i,n){return e=acf.applyFilters("select2_ajax_data/type="+i.get("type"),e,t,a,i,n),e=acf.applyFilters("select2_ajax_data/name="+i.get("name"),e,t,a,i,n),e=(e=acf.applyFilters("select2_ajax_data/key="+i.get("key"),e,t,a,i,n)).action?acf.applyFilters("select2_ajax_data/action="+e.action,e,t,a,i,n):e}}),new acf.Model({wait:"load",priority:20,actions:{"append_field/type=select":"closeOnClear"},initialize:function(){acf.getFields({type:"select"}).map(this.proxy(this.closeOnClear))},closeOnClear:function(e){e.select2&&e.select2.on("select2:clear",function(e){l(this).on("select2:opening.cancelOpen",function(e){e.preventDefault(),l(this).off("select2:opening.cancelOpen")})})}}),new acf.Model({actions:{"new_field/type=select":"newField",select2_init:"init"},filters:{select2_args:"args"},newField:function(e){e.inherit(e.$input()),!e.get("ui")&&e.get("allow_null")&&e.$input().find("option").each(function(e,t){t.value||t.text.startsWith("- ")&&t.text.endsWith(" -")&&(t.text=t.text.substring(2),t.text=t.text.substring(0,t.text.length-2))}),(e.has("acfePrepend")||e.has("acfeAppend"))&&(e.$input().parent(".acf-input-wrap").length||(e.$input().wrapAll('<div class="acf-input-wrap"></div>'),e.get("ui")&&e.$(".acf-input-wrap:first").append(e.$(".select2")),e.has("acfePrepend")&&(e.$(".acf-input-wrap:first").before('<div class="acf-input-prepend">'+e.get("acfePrepend")+"</div>"),e.$input().addClass("acf-is-prepended")),e.has("acfeAppend")&&(e.$(".acf-input-wrap:first").before('<div class="acf-input-append">'+e.get("acfeAppend")+"</div>"),e.$input().addClass("acf-is-appended"))))},init:function(e,t,a,i,n){e.data("select2")&&e.data("select2").$dropdown.addClass("select2-dropdown-acf").addClass("select2-dropdown-acf-field-"+i.get("name")).addClass("select2-dropdown-acf-field-"+i.get("key")),i.get("multiple")||i.get("acfeSearchPlaceholder")&&e.on("select2:open",function(e){l(".select2-search.select2-search--dropdown > .select2-search__field").attr("placeholder",i.get("acfeSearchPlaceholder"))})},args:function(e,t,a,i,n){return i.get("acfeAllowCustom")&&(e.tags=!0,e.createTag=function(e){var t,a=l.trim(e.term);if(""===a)return null;var i=acf.isget(this,"_request","responseJSON","results");if(i){e:for(var n of i)if(n.children)for(var o of n.children)if("string"==typeof o.id&&o.id.toLowerCase()===a.toLowerCase()){t=!0;break e}}else for(var c of this.$element.find("option"))if(c.value.toLowerCase()===a.toLowerCase()){t=!0;break}return t?null:{id:a,text:a}},e.insertTag=function(e,t){var a,i;for(i of e)if(l.trim(t.text).toUpperCase()===l.trim(i.text).toUpperCase()){a=!0;break}a||e.unshift(t)}),e}}))}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({type:"acfe_slug",events:{"input input":"onInput","focusout input":"onFocusOut"},onInput:function(e,t){t.val(t.val().toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/\_\_+/g,"_").replace(/^-+/,""))},onFocusOut:function(e,t){t.val(t.val().toLowerCase().replace(/-+$/,"").replace(/_+$/,""))}}),acf.registerFieldType(e))}(jQuery),function(a){"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({actions:{"prepare_field/type=tab":"prepareField"},prepareField:function(e){var t,i,n;e.has("noPreference")&&(t=e.findTabs(),t=acf.getInstances(t),i=e.get("key"),!t.length||(n=acf.getPreference("this.tabs"))&&(a.each(t,function(e,t){var a=t.get("index");t.data.key===i&&(n[a]=0)}),acf.setPreference("this.tabs",n)))}})}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({type:"textarea",events:{"keydown textarea":"onInput"},onInput:function(e,t){var a,i;this.has("acfeTextareaCode")&&9===e.keyCode&&(e.preventDefault(),a=this.$el.find("textarea")[0],i=a.selectionStart,this.$el.find("textarea").val(function(e,t){return t.substring(0,i)+" "+t.substring(a.selectionEnd)}),a.selectionEnd=i+4)}}),acf.registerFieldType(e))}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.models.WysiwygField,acf.models.WysiwygField=e.extend({initialize:function(){this.has("id")||this.$control().hasClass("delay")||this.initializeEditor()}}),new acf.Model({actions:{"show_field/type=wysiwyg":"showField","ready_field/type=wysiwyg":"showField"},showField:function(e){e.has("acfeWysiwygAutoInit")&&e.$el.is(":visible")&&!e.has("id")&&!acfe.isFilterEnabled("acfeFlexibleOpen")&&this.initializeEditor(e)},initializeEditor:function(e){var t=e.$control();t.hasClass("delay")&&(t.removeClass("delay"),t.find(".acf-editor-toolbar").remove(),e.initializeEditor())}}))}(jQuery),function(o){var e,a;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(new acf.Model({wait:"prepare",priority:1,initialize:function(){acfe.get("is_admin")||new e}}),e=acf.Model.extend({actions:{"new_field/type=date_picker":"datePicker","new_field/type=date_time_picker":"datePicker","new_field/type=time_picker":"datePicker","new_field/type=google_map":"googleMap",invalid_field:"invalidField",validation_begin:"validationBegin"},events:{"click .acf-form .button":"onClickSubmit",'click .acf-form [type="submit"]':"onClickSubmit","click .acfe-form .button":"onClickSubmit",'click .acfe-form [type="submit"]':"onClickSubmit"},$getForm:function(e=!1){var t=o(".acfe-form");return!!(t=e?e.$el.closest(".acfe-form"):t).length&&t},getFormFieldClass:function(e){e=this.$getForm(e);return e&&e.data("fields-class")||!1},initialize:function(){acf.isset(window,"wp","media","view","settings","post")&&(wp.media.view.settings.post=!1),this.setupUnload(),this.setupSuccess()},setupUnload:function(){o('.acfe-form[data-hide-unload="1"]').length&&acf.unload.disable()},setupSuccess:function(){acfe.get("acfe_form_success")&&(window.history.replaceState&&window.history.replaceState(null,null,window.location.href),acfe.get("acfe_form_success").map(function(e){acf.doAction("acfe/form/success"),acf.doAction("acfe/form/success/id="+e.id),acf.doAction("acfe/form/success/name="+e.name),acf.doAction("acfe/form/submit/success"),acf.doAction("acfe/form/submit/success/id="+e.id),acf.doAction("acfe/form/submit/success/name="+e.name)}))},onClickSubmit:function(e,t){t.hasClass("disabled")&&e.preventDefault()},datePicker:function(e){var t=this.getFormFieldClass(e);t&&e.$inputText().addClass(t)},googleMap:function(e){var t=this.getFormFieldClass(e);t&&e.$search().addClass(t)},invalidField:function(e){var t,a,i,n=this.$getForm(e);n&&((t=n.data("errors-class"))&&e.$el.find(".acf-notice.-error").addClass(t),"hide"===(i=n.data("errors-position"))?e.$el.find(".acf-notice.-error").remove():"below"===i?(e.$control().length?e.$el.find(".acf-notice.-error").insertAfter(e.$control()):e.$input().length&&e.$el.find(".acf-notice.-error").insertAfter(e.$input()),a=!1,e.$control().length?a=e.$control():e.$input().length&&(a=e.$input()),a&&e.$el.find(".acf-notice.-error").insertAfter(a)):"group"===i&&(t=e.$el.find(".acf-label label").text().trim(),a=e.$el.find('.acf-input-wrap [placeholder!=""]').attr("placeholder"),i=e.$el.find(".acf-notice.-error").text().trim(),e.$el.find(".acf-notice.-error").remove(),i=t&&t.length&&"*"!==t?(t=t.replace(/ \*$/,""))+": "+i:a&&a.length&&""!==a?a+": "+i:e.get("name")+": "+i,(e=!(e=n.find("> .acfe-form-error")).length?o('<div class="acf-notice -error acf-error-message acfe-form-error" />').prependTo(n):e).append("<p>"+i+"</p>")))},validationBegin:function(e){void 0!==e&&e.find(".acf-error-message").remove()}}),a=function(e){var t=o(".acf-field input"),e=e.closest("form");(t=e.length?e.find(".acf-field input"):t).each(function(){this.checkValidity()||function(e){e=e.parents(".acf-postbox");!e.length||(e=acf.getPostbox(e))&&(e.$el.hasClass("hide-if-js")||"none"==e.$el.css("display"))&&(e.$el.removeClass("hide-if-js"),e.$el.css("display",""))}(o(this))})},acf.validation.onClickSubmit=function(e,t){a(t),this.set("originalEvent",e)},acf.newCondition=function(e,t){var a=t.get("field"),i=a.getField(e.field);if(a&&!i&&(i=acf.getField(e.field)),!a||!i)return!1;t={rule:e,target:a,conditions:t,field:i},i=i.get("type"),e=e.operator;return new(acf.getConditionTypes({fieldType:i,operator:e})[0]||acf.Condition)(t)})}(jQuery);
|
assets/js/acfe.js
CHANGED
@@ -18,14 +18,6 @@
|
|
18 |
return;
|
19 |
}
|
20 |
|
21 |
-
/**
|
22 |
-
* acf helpers
|
23 |
-
*
|
24 |
-
* acf.isget()
|
25 |
-
* acf.acf.isset()
|
26 |
-
*/
|
27 |
-
|
28 |
-
|
29 |
/**
|
30 |
* acfe.getArray
|
31 |
*
|
@@ -35,11 +27,24 @@
|
|
35 |
* @returns {*[]}
|
36 |
*/
|
37 |
acfe.getArray = function(val) {
|
38 |
-
val = val
|
39 |
return [].concat(val || []);
|
40 |
};
|
41 |
|
42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
/**
|
44 |
* acfe.inArray
|
45 |
*
|
@@ -75,31 +80,265 @@
|
|
75 |
*
|
76 |
* Get array/object value using dot notation
|
77 |
*
|
|
|
|
|
78 |
* @param obj
|
79 |
* @param path
|
80 |
* @param def
|
81 |
* @returns {null|*}
|
82 |
*/
|
83 |
-
acfe.arrayGet = function(obj, path
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
|
85 |
-
//
|
86 |
-
|
|
|
87 |
|
88 |
-
|
89 |
-
path = Number.isInteger(path) ? acfe.getArray(path) : path.split('.');
|
90 |
|
91 |
-
|
|
|
92 |
|
93 |
-
if
|
|
|
94 |
return def;
|
95 |
}
|
96 |
|
97 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
}
|
99 |
|
|
|
|
|
|
|
|
|
100 |
return obj;
|
101 |
|
102 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
|
104 |
})(jQuery);
|
105 |
(function($) {
|
@@ -194,6 +433,8 @@
|
|
194 |
/**
|
195 |
* acfe.getField
|
196 |
*
|
|
|
|
|
197 |
* @param name
|
198 |
* @returns {[]|*}
|
199 |
*/
|
@@ -209,7 +450,7 @@
|
|
209 |
}).shift();
|
210 |
|
211 |
// arguments
|
212 |
-
} else if (
|
213 |
|
214 |
name = acf.parseArgs(name, {
|
215 |
limit: 1,
|
@@ -235,7 +476,7 @@
|
|
235 |
|
236 |
// args.types
|
237 |
// allow types array
|
238 |
-
if (args.types && args.types.length &&
|
239 |
|
240 |
// vars
|
241 |
var array = [];
|
@@ -903,6 +1144,8 @@
|
|
903 |
/**
|
904 |
* acf.Model.get()
|
905 |
*
|
|
|
|
|
906 |
* @param name
|
907 |
* @param def
|
908 |
* @returns {*|null}
|
@@ -914,6 +1157,8 @@
|
|
914 |
/**
|
915 |
* acf.get()
|
916 |
*
|
|
|
|
|
917 |
* @param name
|
918 |
* @param def
|
919 |
* @returns {*|null}
|
@@ -951,7 +1196,7 @@
|
|
951 |
*/
|
952 |
acfe.getString = function(val) {
|
953 |
|
954 |
-
if (
|
955 |
return JSON.stringify(val);
|
956 |
}
|
957 |
|
@@ -1068,12 +1313,42 @@
|
|
1068 |
}
|
1069 |
|
1070 |
/**
|
1071 |
-
*
|
|
|
|
|
1072 |
*
|
1073 |
-
*
|
1074 |
-
*
|
1075 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1076 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1077 |
|
1078 |
|
1079 |
/**
|
@@ -1153,11 +1428,11 @@
|
|
1153 |
acfe.isEmpty = function(val) {
|
1154 |
|
1155 |
// array
|
1156 |
-
if (
|
1157 |
return !val.length;
|
1158 |
|
1159 |
// object
|
1160 |
-
} else if (
|
1161 |
return val && Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype
|
1162 |
|
1163 |
// string
|
@@ -1167,7 +1442,7 @@
|
|
1167 |
}
|
1168 |
|
1169 |
// integer 0
|
1170 |
-
return !val && !
|
1171 |
|
1172 |
};
|
1173 |
|
18 |
return;
|
19 |
}
|
20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
/**
|
22 |
* acfe.getArray
|
23 |
*
|
27 |
* @returns {*[]}
|
28 |
*/
|
29 |
acfe.getArray = function(val) {
|
30 |
+
val = val === 0 ? '0' : val;
|
31 |
return [].concat(val || []);
|
32 |
};
|
33 |
|
34 |
|
35 |
+
/**
|
36 |
+
* acfe.getEntries
|
37 |
+
*
|
38 |
+
* Get object entries to use in for(var [x, y] of obj){}
|
39 |
+
*
|
40 |
+
* @param obj
|
41 |
+
* @returns {[string, unknown][]}
|
42 |
+
*/
|
43 |
+
acfe.getEntries = function(obj) {
|
44 |
+
return Object.entries(obj);
|
45 |
+
}
|
46 |
+
|
47 |
+
|
48 |
/**
|
49 |
* acfe.inArray
|
50 |
*
|
80 |
*
|
81 |
* Get array/object value using dot notation
|
82 |
*
|
83 |
+
* https://github.com/callmecavs/dotnot/blob/master/src/dotnot.js
|
84 |
+
*
|
85 |
* @param obj
|
86 |
* @param path
|
87 |
* @param def
|
88 |
* @returns {null|*}
|
89 |
*/
|
90 |
+
acfe.arrayGet = function(obj, path, def = null) {
|
91 |
+
|
92 |
+
// get path array
|
93 |
+
path = acfe.normalizePath(path);
|
94 |
+
|
95 |
+
// length of path array
|
96 |
+
var len = path.length;
|
97 |
|
98 |
+
// loop through path updating the reference to child objects
|
99 |
+
var current = obj;
|
100 |
+
var name;
|
101 |
|
102 |
+
for (var index = 0; index < len; index++) {
|
|
|
103 |
|
104 |
+
// current key name
|
105 |
+
name = path[index];
|
106 |
|
107 |
+
// stop searching if a child object is missing
|
108 |
+
if (acfe.isUndefined(current[name])) {
|
109 |
return def;
|
110 |
}
|
111 |
|
112 |
+
current = current[name];
|
113 |
+
}
|
114 |
+
|
115 |
+
return current;
|
116 |
+
|
117 |
+
}
|
118 |
+
|
119 |
+
|
120 |
+
/**
|
121 |
+
* acfe.arrayHas
|
122 |
+
*
|
123 |
+
* Check array/object has key using dot notation
|
124 |
+
* '!!default!!' is workaround allowing 'null' to be considered as set
|
125 |
+
*
|
126 |
+
* @param obj
|
127 |
+
* @param path
|
128 |
+
* @returns {*}
|
129 |
+
*/
|
130 |
+
acfe.arrayHas = function(obj, path) {
|
131 |
+
return acfe.arrayGet(obj, path, '!!default!!') !== '!!default!!';
|
132 |
+
}
|
133 |
+
|
134 |
+
|
135 |
+
/**
|
136 |
+
* acfe.arraySet
|
137 |
+
*
|
138 |
+
* Set array/object value using dot notation
|
139 |
+
*
|
140 |
+
* https://github.com/callmecavs/dotnot/blob/master/src/dotnot.js
|
141 |
+
*
|
142 |
+
* @param obj
|
143 |
+
* @param path
|
144 |
+
* @param val
|
145 |
+
*/
|
146 |
+
acfe.arraySet = function(obj, path, val) {
|
147 |
+
|
148 |
+
// get path array
|
149 |
+
path = acfe.normalizePath(path);
|
150 |
+
|
151 |
+
// length of path array
|
152 |
+
var len = path.length;
|
153 |
+
|
154 |
+
// loop through path updating the reference to child objects
|
155 |
+
var current = obj;
|
156 |
+
var name;
|
157 |
+
|
158 |
+
for (var index = 0; index < len; index++) {
|
159 |
+
|
160 |
+
// current key name
|
161 |
+
name = path[index];
|
162 |
+
|
163 |
+
// set value on last key
|
164 |
+
if (index === len - 1) {
|
165 |
+
current[name] = val;
|
166 |
+
|
167 |
+
} else if (current[name]) {
|
168 |
+
|
169 |
+
if (!acfe.isObject(current[name])) {
|
170 |
+
current[name] = {};
|
171 |
+
}
|
172 |
+
|
173 |
+
current = current[name];
|
174 |
+
|
175 |
+
} else {
|
176 |
+
current[name] = {};
|
177 |
+
current = current[name];
|
178 |
+
|
179 |
+
}
|
180 |
+
|
181 |
}
|
182 |
|
183 |
+
// re-index array
|
184 |
+
obj = acfe.arrayReindex(obj);
|
185 |
+
|
186 |
+
// return
|
187 |
return obj;
|
188 |
|
189 |
+
}
|
190 |
+
|
191 |
+
|
192 |
+
/**
|
193 |
+
* acfe.arrayDelete
|
194 |
+
*
|
195 |
+
* Delete array/object key via dot notation
|
196 |
+
*
|
197 |
+
* https://github.com/callmecavs/dotnot/blob/master/src/dotnot.js
|
198 |
+
*
|
199 |
+
* @param obj
|
200 |
+
* @param path
|
201 |
+
* @returns {*}
|
202 |
+
*/
|
203 |
+
acfe.arrayDelete = function(obj, path) {
|
204 |
+
|
205 |
+
// get path array
|
206 |
+
path = acfe.normalizePath(path);
|
207 |
+
|
208 |
+
// length of path array
|
209 |
+
var len = path.length;
|
210 |
+
|
211 |
+
// loop through path updating the reference to child objects
|
212 |
+
var current = obj;
|
213 |
+
var name;
|
214 |
+
|
215 |
+
for (var index = 0; index < len; index++) {
|
216 |
+
|
217 |
+
// current key name
|
218 |
+
name = path[index];
|
219 |
+
|
220 |
+
// set value on last key
|
221 |
+
if (index === len - 1) {
|
222 |
+
delete current[name];
|
223 |
+
} else {
|
224 |
+
current = current[name] || {};
|
225 |
+
}
|
226 |
+
|
227 |
+
}
|
228 |
+
|
229 |
+
// re-index array
|
230 |
+
obj = acfe.arrayReindex(obj);
|
231 |
+
|
232 |
+
// return
|
233 |
+
return obj;
|
234 |
+
|
235 |
+
}
|
236 |
+
|
237 |
+
|
238 |
+
/**
|
239 |
+
* acfe.arrayPluck
|
240 |
+
*
|
241 |
+
* '!!default!!' is workaround allowing 'null' to be considered as set
|
242 |
+
*
|
243 |
+
* @param obj
|
244 |
+
* @param path
|
245 |
+
* @param id
|
246 |
+
* @returns {*[]}
|
247 |
+
*/
|
248 |
+
acfe.arrayPluck = function(obj, path, id = false) {
|
249 |
+
|
250 |
+
// vars
|
251 |
+
var idPath;
|
252 |
+
var idObj = {};
|
253 |
+
var collect = [];
|
254 |
+
|
255 |
+
// prepare id
|
256 |
+
if (id) {
|
257 |
+
|
258 |
+
idPath = path.split('.');
|
259 |
+
idPath.pop();
|
260 |
+
idPath.push(id);
|
261 |
+
idPath = idPath.join('.');
|
262 |
+
|
263 |
+
}
|
264 |
+
|
265 |
+
// loop
|
266 |
+
for (var row of obj) {
|
267 |
+
|
268 |
+
var result = acfe.arrayGet(row, path, '!!default!!');
|
269 |
+
|
270 |
+
// bail early
|
271 |
+
if (result === '!!default!!') {
|
272 |
+
continue;
|
273 |
+
}
|
274 |
+
|
275 |
+
// push to collection
|
276 |
+
collect.push(result);
|
277 |
+
|
278 |
+
if (id) {
|
279 |
+
var key = acfe.arrayGet(row, idPath, '!!default!!');
|
280 |
+
|
281 |
+
if (key !== '!!default!!') {
|
282 |
+
idObj[key] = result;
|
283 |
+
}
|
284 |
+
}
|
285 |
+
|
286 |
+
}
|
287 |
+
|
288 |
+
// collect id
|
289 |
+
if (id) {
|
290 |
+
collect = idObj;
|
291 |
+
}
|
292 |
+
|
293 |
+
// return
|
294 |
+
return collect;
|
295 |
+
|
296 |
+
}
|
297 |
+
|
298 |
+
|
299 |
+
/**
|
300 |
+
* acfe.normalizePath
|
301 |
+
*
|
302 |
+
* Converts a dot notation path as array
|
303 |
+
*
|
304 |
+
* @param path
|
305 |
+
* @returns {*[]|string[]}
|
306 |
+
*/
|
307 |
+
acfe.normalizePath = function(path) {
|
308 |
+
|
309 |
+
// convert to string
|
310 |
+
path = acfe.getString(path);
|
311 |
+
|
312 |
+
// split dot notation
|
313 |
+
path = path.split('.');
|
314 |
+
|
315 |
+
// return
|
316 |
+
return path;
|
317 |
+
|
318 |
+
}
|
319 |
+
|
320 |
+
|
321 |
+
/**
|
322 |
+
* acfe.arrayReindex
|
323 |
+
*
|
324 |
+
* Re-index array after delete usage
|
325 |
+
*
|
326 |
+
* @param obj
|
327 |
+
* @returns {*}
|
328 |
+
*/
|
329 |
+
acfe.arrayReindex = function(obj) {
|
330 |
+
|
331 |
+
// filter
|
332 |
+
if (acfe.isArray(obj)) {
|
333 |
+
obj = obj.filter(function(val) {
|
334 |
+
return !acfe.isUndefined(val);
|
335 |
+
});
|
336 |
+
}
|
337 |
+
|
338 |
+
// return
|
339 |
+
return obj;
|
340 |
+
|
341 |
+
}
|
342 |
|
343 |
})(jQuery);
|
344 |
(function($) {
|
433 |
/**
|
434 |
* acfe.getField
|
435 |
*
|
436 |
+
* Allow to query a single field with name, or arguments
|
437 |
+
*
|
438 |
* @param name
|
439 |
* @returns {[]|*}
|
440 |
*/
|
450 |
}).shift();
|
451 |
|
452 |
// arguments
|
453 |
+
} else if (acfe.isObject(name)) {
|
454 |
|
455 |
name = acf.parseArgs(name, {
|
456 |
limit: 1,
|
476 |
|
477 |
// args.types
|
478 |
// allow types array
|
479 |
+
if (args.types && args.types.length && acfe.isArray(args.types)) {
|
480 |
|
481 |
// vars
|
482 |
var array = [];
|
1144 |
/**
|
1145 |
* acf.Model.get()
|
1146 |
*
|
1147 |
+
* Extends acf.Model.get() to allow default value
|
1148 |
+
*
|
1149 |
* @param name
|
1150 |
* @param def
|
1151 |
* @returns {*|null}
|
1157 |
/**
|
1158 |
* acf.get()
|
1159 |
*
|
1160 |
+
* Extends acf.get() to allow default value
|
1161 |
+
*
|
1162 |
* @param name
|
1163 |
* @param def
|
1164 |
* @returns {*|null}
|
1196 |
*/
|
1197 |
acfe.getString = function(val) {
|
1198 |
|
1199 |
+
if (acfe.isObject(val)) {
|
1200 |
return JSON.stringify(val);
|
1201 |
}
|
1202 |
|
1313 |
}
|
1314 |
|
1315 |
/**
|
1316 |
+
* acfe.isArray
|
1317 |
+
*
|
1318 |
+
* Copy acf.isArray
|
1319 |
*
|
1320 |
+
* @param a
|
1321 |
+
* @returns {*}
|
1322 |
+
*/
|
1323 |
+
acfe.isArray = function(a) {
|
1324 |
+
return Array.isArray(a);
|
1325 |
+
}
|
1326 |
+
|
1327 |
+
|
1328 |
+
/**
|
1329 |
+
* acfe.isObject
|
1330 |
+
*
|
1331 |
+
* Copy acf.isObject enhanced
|
1332 |
+
*
|
1333 |
+
* @param a
|
1334 |
+
* @returns {*}
|
1335 |
*/
|
1336 |
+
acfe.isObject = function(a) {
|
1337 |
+
return typeof a === 'object' && !acfe.isArray(a);
|
1338 |
+
}
|
1339 |
+
|
1340 |
+
|
1341 |
+
/**
|
1342 |
+
* acfe.isNumeric
|
1343 |
+
*
|
1344 |
+
* Copy acf.isNumeric
|
1345 |
+
*
|
1346 |
+
* @param a
|
1347 |
+
* @returns {*}
|
1348 |
+
*/
|
1349 |
+
acfe.isNumeric = function(a) {
|
1350 |
+
return !isNaN(parseFloat(a)) && isFinite(a);
|
1351 |
+
}
|
1352 |
|
1353 |
|
1354 |
/**
|
1428 |
acfe.isEmpty = function(val) {
|
1429 |
|
1430 |
// array
|
1431 |
+
if (acfe.isArray(val)) {
|
1432 |
return !val.length;
|
1433 |
|
1434 |
// object
|
1435 |
+
} else if (acfe.isObject(val)) {
|
1436 |
return val && Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype
|
1437 |
|
1438 |
// string
|
1442 |
}
|
1443 |
|
1444 |
// integer 0
|
1445 |
+
return !val && !acfe.isNumeric(val);
|
1446 |
|
1447 |
};
|
1448 |
|
assets/js/acfe.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery,"undefined"!=typeof acf&&(window.acfe={}),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acfe.getArray=function(e){return[].concat((e=0!==e?e:"0")||[])},acfe.inArray=function(e,t,n=!1){n||(e=acfe.getString(e),t=t.map(function(e){return acfe.getString(e)}));for(var i=0;i<t.length;i++)if(t[i]===e)return!0;return!1},acfe.arrayGet=function(e,t="",n=null){t=acfe.isEmpty(t)?"":t,t=Number.isInteger(t)?acfe.getArray(t):t.split(".");for(var i=0;i<t.length;i++){if(!e||!e.hasOwnProperty(t[i]))return n;e=e[t[i]]}return e}),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acf.data.acfe={},acfe.get=function(e,t=null){return acf.data.acfe[e]||t},acfe.has=function(e){return null!=this.get(e)},acfe.set=function(e,t){return acf.data.acfe[e]=t,this}),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acfe.isFieldKey=function(e){return acfe.isString(e)&&e.startsWith("field_")},acfe.isFieldName=function(e){return acfe.isString(e)&&!acfe.isFieldKey(e)},acfe.isGroupKey=function(e){return acfe.isString(e)&&e.startsWith("group_")},acfe.getField=function(e){return acfe.isFieldName(e)?acf.getFields({name:e,limit:1,suppressFilters:!0}).shift():acf.isObject(e)?(e=acf.parseArgs(e,{limit:1,suppressFilters:!0}),acf.getFields(e).shift()):acf.getField(e)},acf.addFilter("find_fields_selector",function(e,t){if(t.types&&t.types.length&&acf.isArray(t.types)){var n,i=[];for(n of t.types)i.push(e+'[data-type="'+n+'"]');e=i.join(",")}return e})),function(){var n;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(n=[],acfe.disableFilters=function(){n=[]},acfe.getFilters=function(){return n},acfe.isFilterEnabled=function(e){return-1<n.indexOf(e)},acfe.enableFilter=function(e){-1===n.indexOf(e)&&n.push(e)},acfe.disableFilter=function(e){for(var t=n.length;t--;)n[t]===e&&n.splice(t,1)})}(jQuery),function(n){"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acfe.findSubmitWrap=function(e){var t;return(t=(e=e||n("form")).find("#submitdiv")).length||(t=e.find("#submitpost")).length||(t=e.find("p.submit").last()).length||(t=e.find(".acf-form-submit")).length?t:e},acfe.findSubmit=function(e){return e=e||n("form"),this.findSubmitWrap(e).find('.button, [type="submit"]')},acfe.findSpinner=function(e){return e=e||n("form"),this.findSubmitWrap(e).find(".spinner, .acf-spinner")})}(jQuery),function(o){var n;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acfe.getPopup=function(e){return acf.getInstance(e)},acfe.getPopups=function(){return acf.getInstances(o(".acfe-modal"))},acfe.newPopup=function(e,t){return new acfe.Popup(e,t)},acfe.Popup=acf.Model.extend({data:{title:"",content:"",footer:"",class:"",size:"",autoOpen:!0,destroy:!1,events:{},onOpen:function(){},onClose:function(){}},events:{"click >.acfe-modal-wrapper>.acfe-modal-title>.close":"onClickClose","click >.acfe-modal-wrapper>.acfe-modal-footer>.close":"onClickClose"},setup:function(e,t){t?(e instanceof jQuery||(e=o(e)),this.$el=e):(t=e,this.$el=o('<div class="acfe-modal"><div class="acfe-modal-wrapper"><div class="acfe-modal-content"></div></div></div>').appendTo("body")),o.extend(this.data,t),this.render()},initialize:function(){this.addUnscopedEvents(),this.get("autoOpen")&&this.open()},addUnscopedEvents:function(){if(this.get("events")){var e,t=this.get("events"),n=/^(\S+)\s*(.*)$/;for(e in t){var i,a=e.match(n),o=(i=a[2]?(s=a[1],a[2]):(s=a[1],""),t[e]),s=s+"."+this.cid;o=this.proxyEvent(this.get(o)),(a=this.$el).on.apply(a,i?[s,i,o]:[s,o])}}},$wrapper:function(){return this.$("> .acfe-modal-wrapper")},$title:function(e){return void 0!==e?this.$wrapper().find("> .acfe-modal-title > .title").html(e):this.$wrapper().find("> .acfe-modal-title")},$content:function(e){return void 0!==e?this.$(".acfe-modal-content").html(e):this.$wrapper().find("> .acfe-modal-content")},$footer:function(e){return void 0!==e?this.$wrapper().find("> .acfe-modal-footer").html(e):this.$wrapper().find("> .acfe-modal-footer")},$overlay:function(){return this.$wrapper().find("> .acfe-modal-wrapper-overlay")},setupClass:function(){this.get("size")&&this.$el.addClass("-"+this.get("size")),this.get("class")&&this.$el.addClass(this.get("class"))},setupWrapper:function(){this.$wrapper().length||this.$el.wrapInner('<div class="acfe-modal-wrapper" />')},setupTitle:function(){this.get("title")&&(this.$title().length||this.$wrapper().prepend('<div class="acfe-modal-title"><span class="title"></span><button class="close"></button></div>'),"function"==typeof this.get("title")?this.$title(this.get("title").apply(this)):this.$title(this.get("title")))},setupContent:function(){this.$content().length||this.$wrapper().wrapInner('<div class="acfe-modal-content" />'),this.get("content")&&("function"==typeof this.get("content")?this.$content(this.get("content").apply(this)):this.$content(this.get("content")))},setupFooter:function(){this.get("footer")&&(this.$footer().length||this.$wrapper().append('<div class="acfe-modal-footer" />'),"function"==typeof this.get("footer")?this.$footer(this.get("footer").apply(this)):this.$footer('<button class="button button-primary close">'+this.get("footer")+"</button>"))},setupOverlay:function(){this.$overlay().length||this.$wrapper().prepend('<div class="acfe-modal-wrapper-overlay" />')},setupTinymce:function(){"undefined"!=typeof tinymce&&acf.isset(tinymce,"ui","FloatPanel")&&this.$content().off("scroll.tinymcePanel").on("scroll.tinymcePanel",function(e){tinymce.ui.FloatPanel.hideAll()})},setupFields:function(){acf.getFields({parent:this.$el,visible:!0}).map(function(e){acf.doAction("show_field",e,"group")},this)},render:function(){this.setupClass(),this.setupWrapper(),this.setupContent(),this.setupTitle(),this.setupFooter(),this.setupOverlay(),this.setupTinymce()},open:function(){this.$el.addClass("-open"),n.addPopup(this),acf.doAction("acfe/modal/open",this),this.get("onOpen").apply(this),this.trigger("open"),this.setupFields()},close:function(){this.$el.removeAttr("style"),this.$el.removeClass("-open"),n.removePopup(this),acf.doAction("acfe/modal/close",this),this.get("onClose").apply(this),this.trigger("close"),this.get("destroy")&&this.remove()},onClickClose:function(e,t){e.preventDefault(),this.close()}}),acfe.closePopup=function(e){if(void 0===e)return n.closeLastPopup();var t;e instanceof jQuery?(t=acfe.getPopup(e))&&t.close():"string"==typeof e?(e=o(e),(t=acfe.getPopup(e))&&t.close()):"function"==typeof e.close&&e.close()},n=new acf.Model({popups:[],events:{"click .acfe-modal-overlay":"onClick",keydown:"onKeydown"},onClick:function(e){e.preventDefault(),this.closeLastPopup()},onKeydown:function(e){27===e.keyCode&&o("body").hasClass("acfe-modal-opened")&&(e.preventDefault(),this.closeLastPopup())},addPopup:function(e){this.popups.push(e),this.syncPopups(),o("body").hasClass("acfe-modal-opened")||o("body").addClass("acfe-modal-opened").append(o('<div class="acfe-modal-overlay" />'))},removePopup:function(t){this.popups=this.popups.filter(function(e){return e.cid!==t.cid},this),this.syncPopups(),this.popups.length||(o(".acfe-modal-overlay").remove(),o("body").removeClass("acfe-modal-opened"))},closeLastPopup:function(){this.popups.length&&this.popups[this.popups.length-1].close()},syncPopups:function(){this.popups.map(function(e,t){return t===this.popups.length-1?e.$el.removeClass("acfe-modal-sub").css("margin-left",""):void e.$el.addClass("acfe-modal-sub").css("margin-left",-500/(t+1))},this)}}),new acf.Model({events:{"click a[data-acfe-modal]":"onClick","click button[data-acfe-modal]":"onClick","click input[data-acfe-modal]":"onClick"},onClick:function(e,t){e.preventDefault();var n=t.attr("data-acfe-modal")||!1,i=t.attr("data-acfe-modal-size")||"medium",a=t.attr("data-acfe-modal-title")||"",e=t.attr("data-acfe-modal-footer")||"";(n=!((n=n||t.parent().find(".acfe-modal").first())instanceof jQuery)?o(".acfe-modal[data-acfe-modal="+n+"]"):n).length&&new acfe.Popup(n,{size:i,title:a,footer:e})}}))}(jQuery),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acf.Model.prototype.get=function(e,t=null){return this.data[e]||t},acf.get=function(e,t=null){return this.data[e]||t}),function(n){"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acfe.getString=function(e){return acf.isObject(e)?JSON.stringify(e):acfe.isEmpty(e)?"":""+e},acfe.getTextNode=function(e){if(e.exists())for(row of e.contents()){var t=n.trim(n(row).text());if(t)return t}return""},acfe.ucFirst=function(e){return e.charAt(0).toUpperCase()+e.slice(1)})}(jQuery),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({tooltips:{},events:{"click .acfe-field-tooltip":"clickTooltip"},clickTooltip:function(e,t){var n,i=t.attr("title");!i||(n=acf.getClosestField(t))&&(t.attr("title",""),this.tooltips[n.cid]?(this.tooltips[n.cid].hide(),t.attr("title",this.tooltips[n.cid].get("text")),this.tooltips[n.cid]=!1,acfe.versionCompare(acf.get("wp_version"),">=","5.5")&&t.removeClass("dashicons-remove").addClass("dashicons-info-outline")):(this.tooltips[n.cid]=acf.newTooltip({text:i,target:t}),acfe.versionCompare(acf.get("wp_version"),">=","5.5")&&t.removeClass("dashicons-info-outline").addClass("dashicons-remove")))}}),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acfe.isString=function(e){return"string"==typeof e},acfe.isUndefined=function(e){return void 0===e},acfe.isFunction=function(e){return"function"==typeof e},acfe.isBool=function(e){return"boolean"==typeof e},acfe.isInt=function(e){return Number.isInteger(e)},acfe.isJquery=function(e){return e instanceof jQuery},acfe.isEmpty=function(e){return acf.isArray(e)?!e.length:acf.isObject(e)?e&&0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype:acfe.isString(e)?!e.length:!e&&!acf.isNumeric(e)}),function(){var a,t,o;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acfe.slugify=function(e){return e.replace(/[\s\./]+/g,"-").replace(/[^\p{L}\p{N}_-]+/gu,"").replace(/-+$/,"").toLowerCase()},acfe.addQueryArgs=function(){let e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t=1<arguments.length?arguments[1]:void 0;if(!t||!Object.keys(t).length)return e;let n=e;var i=e.indexOf("?");return-1!==i&&(t=Object.assign(acfe.getQueryArgs(e),t),n=n.substr(0,i)),n+"?"+a(t)},acfe.getQueryArgs=function(e){return(t(e)||"").replace(/\+/g,"%20").split("&").reduce((e,t)=>{const[n,i=""]=t.split("=").filter(Boolean).map(decodeURIComponent);return n&&(t=n.replace(/\]/g,"").split("["),o(e,t,i)),e},Object.create(null))},acfe.getFragment=function(e){e=/^\S+?(#[^\s\?]*)/.exec(e);return e?e[1]:""},acfe.getCurrentUrl=function(){return self.location.href},acfe.getCurrentPath=function(){return self.location.pathname},acfe.getCurrentFilename=function(){return acfe.getFilename(acfe.getCurrentPath())},acfe.getFilename=function(e){return e.split("/").pop()},a=function(e){let n="";const i=Object.entries(e);for(;s=i.shift();){let[e,t]=s;var a,o,s=Array.isArray(t)||t&&t.constructor===Object;if(s)for([a,o]of Object.entries(t).reverse())i.unshift([`${e}[${a}]`,o]);else void 0!==t&&(null===t&&(t=""),n+="&"+[e,t].map(encodeURIComponent).join("="))}return n.substr(1)},t=function(e){let t;try{t=new URL(e,"http://example.com").search.substring(1)}catch(e){}if(t)return t},o=function(n,i,a){var e=i.length,o=e-1;for(let t=0;t<e;t++){let e=i[t];!e&&Array.isArray(n)&&(e=n.length.toString()),e=["__proto__","constructor","prototype"].includes(e)?e.toUpperCase():e;var s=!isNaN(Number(i[t+1]));n[e]=t===o?a:n[e]||(s?[]:{}),Array.isArray(n[e])&&!s&&(n[e]={...n[e]}),n=n[e]}})}(jQuery),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acfe.versionCompare=function(e,t,n){let i;var a;let o=0;const s={dev:-6,alpha:-5,a:-5,beta:-4,b:-4,RC:-3,rc:-3,"#":-2,p:1,pl:1};function c(e){return(e=(e=(""+e).replace(/[_\-+]/g,".")).replace(/([^.\d]+)/g,".$1.").replace(/\.{2,}/g,".")).length?e.split("."):[-8]}function r(e){return e?isNaN(e)?s[e]||-7:parseInt(e,10):0}for(e=c(e),n=c(n),a=Math.max(e.length,n.length),i=0;i<a;i++)if(e[i]!==n[i]){if(e[i]=r(e[i]),n[i]=r(n[i]),e[i]<n[i]){o=-1;break}if(e[i]>n[i]){o=1;break}}if(!t)return o;switch(t){case">":case"gt":return 0<o;case">=":case"ge":return 0<=o;case"<=":case"le":return o<=0;case"===":case"=":case"eq":return 0===o;case"<>":case"!==":case"ne":return 0!==o;case"":case"<":case"lt":return o<0;default:return null}});
|
1 |
+
jQuery,"undefined"!=typeof acf&&(window.acfe={}),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acfe.getArray=function(e){return[].concat((e=0===e?"0":e)||[])},acfe.getEntries=function(e){return Object.entries(e)},acfe.inArray=function(e,t,n=!1){n||(e=acfe.getString(e),t=t.map(function(e){return acfe.getString(e)}));for(var i=0;i<t.length;i++)if(t[i]===e)return!0;return!1},acfe.arrayGet=function(e,t,n=null){for(var i,a=(t=acfe.normalizePath(t)).length,o=e,r=0;r<a;r++){if(i=t[r],acfe.isUndefined(o[i]))return n;o=o[i]}return o},acfe.arrayHas=function(e,t){return"!!default!!"!==acfe.arrayGet(e,t,"!!default!!")},acfe.arraySet=function(e,t,n){for(var i,a=(t=acfe.normalizePath(t)).length,o=e,r=0;r<a;r++)i=t[r],r===a-1?o[i]=n:o=(o[i]&&acfe.isObject(o[i])||(o[i]={}),o[i]);return e=acfe.arrayReindex(e)},acfe.arrayDelete=function(e,t){for(var n,i=(t=acfe.normalizePath(t)).length,a=e,o=0;o<i;o++)n=t[o],o===i-1?delete a[n]:a=a[n]||{};return e=acfe.arrayReindex(e)},acfe.arrayPluck=function(e,t,n=!1){var i,a,o={},r=[];n&&((i=t.split(".")).pop(),i.push(n),i=i.join("."));for(a of e){var c,f=acfe.arrayGet(a,t,"!!default!!");"!!default!!"!==f&&(r.push(f),!n||"!!default!!"!==(c=acfe.arrayGet(a,i,"!!default!!"))&&(o[c]=f))}return r=n?o:r},acfe.normalizePath=function(e){return e=(e=acfe.getString(e)).split(".")},acfe.arrayReindex=function(e){return e=acfe.isArray(e)?e.filter(function(e){return!acfe.isUndefined(e)}):e}),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acf.data.acfe={},acfe.get=function(e,t=null){return acf.data.acfe[e]||t},acfe.has=function(e){return null!=this.get(e)},acfe.set=function(e,t){return acf.data.acfe[e]=t,this}),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acfe.isFieldKey=function(e){return acfe.isString(e)&&e.startsWith("field_")},acfe.isFieldName=function(e){return acfe.isString(e)&&!acfe.isFieldKey(e)},acfe.isGroupKey=function(e){return acfe.isString(e)&&e.startsWith("group_")},acfe.getField=function(e){return acfe.isFieldName(e)?acf.getFields({name:e,limit:1,suppressFilters:!0}).shift():acfe.isObject(e)?(e=acf.parseArgs(e,{limit:1,suppressFilters:!0}),acf.getFields(e).shift()):acf.getField(e)},acf.addFilter("find_fields_selector",function(e,t){if(t.types&&t.types.length&&acfe.isArray(t.types)){var n,i=[];for(n of t.types)i.push(e+'[data-type="'+n+'"]');e=i.join(",")}return e})),function(){var n;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(n=[],acfe.disableFilters=function(){n=[]},acfe.getFilters=function(){return n},acfe.isFilterEnabled=function(e){return-1<n.indexOf(e)},acfe.enableFilter=function(e){-1===n.indexOf(e)&&n.push(e)},acfe.disableFilter=function(e){for(var t=n.length;t--;)n[t]===e&&n.splice(t,1)})}(jQuery),function(n){"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acfe.findSubmitWrap=function(e){var t;return(t=(e=e||n("form")).find("#submitdiv")).length||(t=e.find("#submitpost")).length||(t=e.find("p.submit").last()).length||(t=e.find(".acf-form-submit")).length?t:e},acfe.findSubmit=function(e){return e=e||n("form"),this.findSubmitWrap(e).find('.button, [type="submit"]')},acfe.findSpinner=function(e){return e=e||n("form"),this.findSubmitWrap(e).find(".spinner, .acf-spinner")})}(jQuery),function(o){var n;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acfe.getPopup=function(e){return acf.getInstance(e)},acfe.getPopups=function(){return acf.getInstances(o(".acfe-modal"))},acfe.newPopup=function(e,t){return new acfe.Popup(e,t)},acfe.Popup=acf.Model.extend({data:{title:"",content:"",footer:"",class:"",size:"",autoOpen:!0,destroy:!1,events:{},onOpen:function(){},onClose:function(){}},events:{"click >.acfe-modal-wrapper>.acfe-modal-title>.close":"onClickClose","click >.acfe-modal-wrapper>.acfe-modal-footer>.close":"onClickClose"},setup:function(e,t){t?(e instanceof jQuery||(e=o(e)),this.$el=e):(t=e,this.$el=o('<div class="acfe-modal"><div class="acfe-modal-wrapper"><div class="acfe-modal-content"></div></div></div>').appendTo("body")),o.extend(this.data,t),this.render()},initialize:function(){this.addUnscopedEvents(),this.get("autoOpen")&&this.open()},addUnscopedEvents:function(){if(this.get("events")){var e,t=this.get("events"),n=/^(\S+)\s*(.*)$/;for(e in t){var i,a=e.match(n),o=(i=a[2]?(r=a[1],a[2]):(r=a[1],""),t[e]),r=r+"."+this.cid;o=this.proxyEvent(this.get(o)),(a=this.$el).on.apply(a,i?[r,i,o]:[r,o])}}},$wrapper:function(){return this.$("> .acfe-modal-wrapper")},$title:function(e){return void 0!==e?this.$wrapper().find("> .acfe-modal-title > .title").html(e):this.$wrapper().find("> .acfe-modal-title")},$content:function(e){return void 0!==e?this.$(".acfe-modal-content").html(e):this.$wrapper().find("> .acfe-modal-content")},$footer:function(e){return void 0!==e?this.$wrapper().find("> .acfe-modal-footer").html(e):this.$wrapper().find("> .acfe-modal-footer")},$overlay:function(){return this.$wrapper().find("> .acfe-modal-wrapper-overlay")},setupClass:function(){this.get("size")&&this.$el.addClass("-"+this.get("size")),this.get("class")&&this.$el.addClass(this.get("class"))},setupWrapper:function(){this.$wrapper().length||this.$el.wrapInner('<div class="acfe-modal-wrapper" />')},setupTitle:function(){this.get("title")&&(this.$title().length||this.$wrapper().prepend('<div class="acfe-modal-title"><span class="title"></span><button class="close"></button></div>'),"function"==typeof this.get("title")?this.$title(this.get("title").apply(this)):this.$title(this.get("title")))},setupContent:function(){this.$content().length||this.$wrapper().wrapInner('<div class="acfe-modal-content" />'),this.get("content")&&("function"==typeof this.get("content")?this.$content(this.get("content").apply(this)):this.$content(this.get("content")))},setupFooter:function(){this.get("footer")&&(this.$footer().length||this.$wrapper().append('<div class="acfe-modal-footer" />'),"function"==typeof this.get("footer")?this.$footer(this.get("footer").apply(this)):this.$footer('<button class="button button-primary close">'+this.get("footer")+"</button>"))},setupOverlay:function(){this.$overlay().length||this.$wrapper().prepend('<div class="acfe-modal-wrapper-overlay" />')},setupTinymce:function(){"undefined"!=typeof tinymce&&acf.isset(tinymce,"ui","FloatPanel")&&this.$content().off("scroll.tinymcePanel").on("scroll.tinymcePanel",function(e){tinymce.ui.FloatPanel.hideAll()})},setupFields:function(){acf.getFields({parent:this.$el,visible:!0}).map(function(e){acf.doAction("show_field",e,"group")},this)},render:function(){this.setupClass(),this.setupWrapper(),this.setupContent(),this.setupTitle(),this.setupFooter(),this.setupOverlay(),this.setupTinymce()},open:function(){this.$el.addClass("-open"),n.addPopup(this),acf.doAction("acfe/modal/open",this),this.get("onOpen").apply(this),this.trigger("open"),this.setupFields()},close:function(){this.$el.removeAttr("style"),this.$el.removeClass("-open"),n.removePopup(this),acf.doAction("acfe/modal/close",this),this.get("onClose").apply(this),this.trigger("close"),this.get("destroy")&&this.remove()},onClickClose:function(e,t){e.preventDefault(),this.close()}}),acfe.closePopup=function(e){if(void 0===e)return n.closeLastPopup();var t;e instanceof jQuery?(t=acfe.getPopup(e))&&t.close():"string"==typeof e?(e=o(e),(t=acfe.getPopup(e))&&t.close()):"function"==typeof e.close&&e.close()},n=new acf.Model({popups:[],events:{"click .acfe-modal-overlay":"onClick",keydown:"onKeydown"},onClick:function(e){e.preventDefault(),this.closeLastPopup()},onKeydown:function(e){27===e.keyCode&&o("body").hasClass("acfe-modal-opened")&&(e.preventDefault(),this.closeLastPopup())},addPopup:function(e){this.popups.push(e),this.syncPopups(),o("body").hasClass("acfe-modal-opened")||o("body").addClass("acfe-modal-opened").append(o('<div class="acfe-modal-overlay" />'))},removePopup:function(t){this.popups=this.popups.filter(function(e){return e.cid!==t.cid},this),this.syncPopups(),this.popups.length||(o(".acfe-modal-overlay").remove(),o("body").removeClass("acfe-modal-opened"))},closeLastPopup:function(){this.popups.length&&this.popups[this.popups.length-1].close()},syncPopups:function(){this.popups.map(function(e,t){return t===this.popups.length-1?e.$el.removeClass("acfe-modal-sub").css("margin-left",""):void e.$el.addClass("acfe-modal-sub").css("margin-left",-500/(t+1))},this)}}),new acf.Model({events:{"click a[data-acfe-modal]":"onClick","click button[data-acfe-modal]":"onClick","click input[data-acfe-modal]":"onClick"},onClick:function(e,t){e.preventDefault();var n=t.attr("data-acfe-modal")||!1,i=t.attr("data-acfe-modal-size")||"medium",a=t.attr("data-acfe-modal-title")||"",e=t.attr("data-acfe-modal-footer")||"";(n=!((n=n||t.parent().find(".acfe-modal").first())instanceof jQuery)?o(".acfe-modal[data-acfe-modal="+n+"]"):n).length&&new acfe.Popup(n,{size:i,title:a,footer:e})}}))}(jQuery),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acf.Model.prototype.get=function(e,t=null){return this.data[e]||t},acf.get=function(e,t=null){return this.data[e]||t}),function(n){"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acfe.getString=function(e){return acfe.isObject(e)?JSON.stringify(e):acfe.isEmpty(e)?"":""+e},acfe.getTextNode=function(e){if(e.exists())for(row of e.contents()){var t=n.trim(n(row).text());if(t)return t}return""},acfe.ucFirst=function(e){return e.charAt(0).toUpperCase()+e.slice(1)})}(jQuery),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({tooltips:{},events:{"click .acfe-field-tooltip":"clickTooltip"},clickTooltip:function(e,t){var n,i=t.attr("title");!i||(n=acf.getClosestField(t))&&(t.attr("title",""),this.tooltips[n.cid]?(this.tooltips[n.cid].hide(),t.attr("title",this.tooltips[n.cid].get("text")),this.tooltips[n.cid]=!1,acfe.versionCompare(acf.get("wp_version"),">=","5.5")&&t.removeClass("dashicons-remove").addClass("dashicons-info-outline")):(this.tooltips[n.cid]=acf.newTooltip({text:i,target:t}),acfe.versionCompare(acf.get("wp_version"),">=","5.5")&&t.removeClass("dashicons-info-outline").addClass("dashicons-remove")))}}),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acfe.isArray=function(e){return Array.isArray(e)},acfe.isObject=function(e){return"object"==typeof e&&!acfe.isArray(e)},acfe.isNumeric=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},acfe.isString=function(e){return"string"==typeof e},acfe.isUndefined=function(e){return void 0===e},acfe.isFunction=function(e){return"function"==typeof e},acfe.isBool=function(e){return"boolean"==typeof e},acfe.isInt=function(e){return Number.isInteger(e)},acfe.isJquery=function(e){return e instanceof jQuery},acfe.isEmpty=function(e){return acfe.isArray(e)?!e.length:acfe.isObject(e)?e&&0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype:acfe.isString(e)?!e.length:!e&&!acfe.isNumeric(e)}),function(){var a,t,o;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acfe.slugify=function(e){return e.replace(/[\s\./]+/g,"-").replace(/[^\p{L}\p{N}_-]+/gu,"").replace(/-+$/,"").toLowerCase()},acfe.addQueryArgs=function(){let e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t=1<arguments.length?arguments[1]:void 0;if(!t||!Object.keys(t).length)return e;let n=e;var i=e.indexOf("?");return-1!==i&&(t=Object.assign(acfe.getQueryArgs(e),t),n=n.substr(0,i)),n+"?"+a(t)},acfe.getQueryArgs=function(e){return(t(e)||"").replace(/\+/g,"%20").split("&").reduce((e,t)=>{const[n,i=""]=t.split("=").filter(Boolean).map(decodeURIComponent);return n&&(t=n.replace(/\]/g,"").split("["),o(e,t,i)),e},Object.create(null))},acfe.getFragment=function(e){e=/^\S+?(#[^\s\?]*)/.exec(e);return e?e[1]:""},acfe.getCurrentUrl=function(){return self.location.href},acfe.getCurrentPath=function(){return self.location.pathname},acfe.getCurrentFilename=function(){return acfe.getFilename(acfe.getCurrentPath())},acfe.getFilename=function(e){return e.split("/").pop()},a=function(e){let n="";const i=Object.entries(e);for(;r=i.shift();){let[e,t]=r;var a,o,r=Array.isArray(t)||t&&t.constructor===Object;if(r)for([a,o]of Object.entries(t).reverse())i.unshift([`${e}[${a}]`,o]);else void 0!==t&&(null===t&&(t=""),n+="&"+[e,t].map(encodeURIComponent).join("="))}return n.substr(1)},t=function(e){let t;try{t=new URL(e,"http://example.com").search.substring(1)}catch(e){}if(t)return t},o=function(n,i,a){var e=i.length,o=e-1;for(let t=0;t<e;t++){let e=i[t];!e&&Array.isArray(n)&&(e=n.length.toString()),e=["__proto__","constructor","prototype"].includes(e)?e.toUpperCase():e;var r=!isNaN(Number(i[t+1]));n[e]=t===o?a:n[e]||(r?[]:{}),Array.isArray(n[e])&&!r&&(n[e]={...n[e]}),n=n[e]}})}(jQuery),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acfe.versionCompare=function(e,t,n){let i;var a;let o=0;const r={dev:-6,alpha:-5,a:-5,beta:-4,b:-4,RC:-3,rc:-3,"#":-2,p:1,pl:1};function c(e){return(e=(e=(""+e).replace(/[_\-+]/g,".")).replace(/([^.\d]+)/g,".$1.").replace(/\.{2,}/g,".")).length?e.split("."):[-8]}function f(e){return e?isNaN(e)?r[e]||-7:parseInt(e,10):0}for(e=c(e),n=c(n),a=Math.max(e.length,n.length),i=0;i<a;i++)if(e[i]!==n[i]){if(e[i]=f(e[i]),n[i]=f(n[i]),e[i]<n[i]){o=-1;break}if(e[i]>n[i]){o=1;break}}if(!t)return o;switch(t){case">":case"gt":return 0<o;case">=":case"ge":return 0<=o;case"<=":case"le":return o<=0;case"===":case"=":case"eq":return 0===o;case"<>":case"!==":case"ne":return 0!==o;case"":case"<":case"lt":return o<0;default:return null}});
|
includes/acfe-screen-functions.php
CHANGED
@@ -67,35 +67,41 @@ function acfe_get_acf_screen_id($page = ''){
|
|
67 |
*/
|
68 |
function acfe_is_admin_screen($modules = false){
|
69 |
|
70 |
-
//
|
71 |
-
|
72 |
-
|
|
|
|
|
|
|
73 |
}
|
74 |
|
75 |
-
//
|
76 |
-
|
77 |
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
}
|
82 |
|
83 |
-
|
84 |
-
|
85 |
|
86 |
-
|
87 |
-
|
88 |
|
89 |
-
|
90 |
-
|
91 |
|
92 |
-
|
93 |
-
|
94 |
|
95 |
-
|
96 |
|
97 |
-
|
98 |
-
|
|
|
|
|
|
|
|
|
99 |
}
|
100 |
|
101 |
return false;
|
67 |
*/
|
68 |
function acfe_is_admin_screen($modules = false){
|
69 |
|
70 |
+
// global
|
71 |
+
global $field_group;
|
72 |
+
|
73 |
+
// global field group exists
|
74 |
+
if($field_group !== null){
|
75 |
+
return true;
|
76 |
}
|
77 |
|
78 |
+
// get current_screen
|
79 |
+
if(function_exists('get_current_screen')){
|
80 |
|
81 |
+
$screen = get_current_screen();
|
82 |
+
|
83 |
+
if($screen){
|
|
|
84 |
|
85 |
+
$post_types = array('acf-field-group');
|
86 |
+
$is_category = false;
|
87 |
|
88 |
+
// include acfe modules
|
89 |
+
if($modules){
|
90 |
|
91 |
+
// reserved post types
|
92 |
+
$post_types = array_merge($post_types, acfe_get_setting('reserved_post_types', array()));
|
93 |
|
94 |
+
// field group category
|
95 |
+
$is_category = $screen->post_type === 'post' && $screen->taxonomy === 'acf-field-group-category';
|
96 |
|
97 |
+
}
|
98 |
|
99 |
+
if(in_array($screen->post_type, $post_types) || $is_category){
|
100 |
+
return true;
|
101 |
+
}
|
102 |
+
|
103 |
+
}
|
104 |
+
|
105 |
}
|
106 |
|
107 |
return false;
|
includes/fields/field-file.php
CHANGED
@@ -158,12 +158,12 @@ class acfe_field_file extends acfe_field_extend{
|
|
158 |
|
159 |
// let acfe form force specific uploader
|
160 |
if(acf_is_filter_enabled('acfe/form/uploader')){
|
161 |
-
|
162 |
}
|
163 |
|
164 |
// default uploader in settings
|
165 |
// use global acf uploader
|
166 |
-
if(
|
167 |
$field['uploader'] = acf_get_setting('uploader');
|
168 |
}
|
169 |
|
158 |
|
159 |
// let acfe form force specific uploader
|
160 |
if(acf_is_filter_enabled('acfe/form/uploader')){
|
161 |
+
$field['uploader'] = '';
|
162 |
}
|
163 |
|
164 |
// default uploader in settings
|
165 |
// use global acf uploader
|
166 |
+
if(empty($field['uploader'])){
|
167 |
$field['uploader'] = acf_get_setting('uploader');
|
168 |
}
|
169 |
|
includes/fields/field-flexible-content.php
CHANGED
@@ -28,6 +28,19 @@ class acfe_field_flexible_content extends acfe_field_extend{
|
|
28 |
}
|
29 |
|
30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
/**
|
32 |
* _render_field_settings
|
33 |
*
|
28 |
}
|
29 |
|
30 |
|
31 |
+
/**
|
32 |
+
* field_group_admin_head
|
33 |
+
*/
|
34 |
+
function field_group_admin_head(){
|
35 |
+
|
36 |
+
// clear fields cache
|
37 |
+
// this fix an issue where plugins could query acf fields using acf_get_fields() very early
|
38 |
+
// and push unwanted settings such as "inline title" on the Field Group UI
|
39 |
+
acf_get_store('fields')->reset();
|
40 |
+
|
41 |
+
}
|
42 |
+
|
43 |
+
|
44 |
/**
|
45 |
* _render_field_settings
|
46 |
*
|
includes/fields/field-image.php
CHANGED
@@ -132,12 +132,12 @@ class acfe_field_image extends acfe_field_extend{
|
|
132 |
|
133 |
// let acfe form force specific uploader
|
134 |
if(acf_is_filter_enabled('acfe/form/uploader')){
|
135 |
-
|
136 |
}
|
137 |
|
138 |
// default uploader in settings
|
139 |
// use global acf uploader
|
140 |
-
if(
|
141 |
$field['uploader'] = acf_get_setting('uploader');
|
142 |
}
|
143 |
|
132 |
|
133 |
// let acfe form force specific uploader
|
134 |
if(acf_is_filter_enabled('acfe/form/uploader')){
|
135 |
+
$field['uploader'] = '';
|
136 |
}
|
137 |
|
138 |
// default uploader in settings
|
139 |
// use global acf uploader
|
140 |
+
if(empty($field['uploader'])){
|
141 |
$field['uploader'] = acf_get_setting('uploader');
|
142 |
}
|
143 |
|
includes/hooks.php
CHANGED
@@ -11,35 +11,45 @@ class acfe_hooks{
|
|
11 |
public $field_group;
|
12 |
public $upload_field = false;
|
13 |
|
14 |
-
|
15 |
/**
|
16 |
* construct
|
17 |
*/
|
18 |
function __construct(){
|
19 |
|
20 |
-
//
|
21 |
-
add_action('acf/save_post',
|
22 |
-
add_action('acf/save_post',
|
23 |
-
add_action('acf/validate_save_post',
|
24 |
-
|
25 |
-
//
|
26 |
-
add_filter('acf/load_field_groups',
|
27 |
-
add_filter('acf/pre_render_fields',
|
28 |
-
add_action('acf/render_fields',
|
29 |
-
|
30 |
-
//
|
31 |
-
add_filter('acf/field_wrapper_attributes',
|
32 |
-
add_filter('acf/load_fields',
|
33 |
-
add_filter('acf/load_field',
|
34 |
-
|
35 |
-
//
|
36 |
-
add_filter('acf/location/screen',
|
37 |
-
add_action('acf/input/form_data',
|
38 |
-
add_action('acf/validate_save_post',
|
39 |
-
add_action('acf/save_post',
|
40 |
-
|
41 |
-
//
|
42 |
-
add_filter('acf/upload_prefilter',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
|
44 |
}
|
45 |
|
@@ -230,14 +240,12 @@ class acfe_hooks{
|
|
230 |
*/
|
231 |
function decode_object($post_id){
|
232 |
|
233 |
-
//
|
234 |
-
$id = false;
|
235 |
-
$type = false;
|
236 |
$data = array(
|
237 |
-
'id'
|
238 |
-
'type'
|
239 |
-
'object'
|
240 |
-
'hooks'
|
241 |
);
|
242 |
|
243 |
/*
|
@@ -245,111 +253,133 @@ class acfe_hooks{
|
|
245 |
* @string $id 12 | 46 | 22 | my-option | 89 | widget_56 | 74 | 96 | block_my-block | 55 | 36 | 24
|
246 |
* @string $type post | term | user | option | comment | option | term | post | block | blog | blog | post
|
247 |
*/
|
248 |
-
extract(acf_decode_post_id($post_id));
|
249 |
|
250 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
251 |
if(!$id){
|
252 |
return false;
|
253 |
}
|
254 |
|
|
|
255 |
$data['id'] = $id;
|
256 |
$data['type'] = $type;
|
257 |
|
258 |
-
|
259 |
-
|
|
|
|
|
|
|
|
|
|
|
260 |
|
261 |
-
|
|
|
|
|
|
|
|
|
262 |
|
263 |
-
if($post && !is_wp_error($post)){
|
264 |
-
|
265 |
-
$data['object'] = $post;
|
266 |
-
|
267 |
-
if(isset($post->post_type) && post_type_exists($post->post_type)){
|
268 |
-
$data['hooks'][] = "post_type={$post->post_type}";
|
269 |
}
|
270 |
-
|
|
|
271 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
272 |
|
273 |
-
|
274 |
-
}elseif($type === 'term'){
|
275 |
|
276 |
-
|
|
|
|
|
277 |
|
278 |
-
if($term && !is_wp_error($term)){
|
279 |
-
|
280 |
-
$data['object'] = $term;
|
281 |
-
|
282 |
-
if(isset($term->taxonomy) && taxonomy_exists($term->taxonomy)){
|
283 |
-
$data['hooks'][] = "taxonomy={$term->taxonomy}";
|
284 |
}
|
285 |
-
|
286 |
-
}
|
287 |
|
288 |
-
|
289 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
290 |
|
291 |
-
|
292 |
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
if(isset($user->roles) && !empty($user->roles)){
|
298 |
-
|
299 |
-
foreach($user->roles as $role){
|
300 |
-
$data['hooks'][] = "role={$role}";
|
301 |
}
|
302 |
-
|
303 |
}
|
304 |
-
|
|
|
305 |
}
|
306 |
-
|
307 |
-
// option
|
308 |
-
}elseif($type === 'option'){
|
309 |
-
|
310 |
-
$location = acf_get_form_data('location');
|
311 |
-
$options_page = acf_maybe_get($location, 'options_page');
|
312 |
|
313 |
-
|
|
|
314 |
|
315 |
-
$
|
316 |
-
$
|
317 |
-
|
318 |
-
}
|
319 |
|
320 |
-
|
321 |
-
}elseif($type === 'comment'){
|
322 |
|
323 |
-
|
|
|
324 |
|
325 |
-
|
326 |
-
$data['object'] = $comment;
|
327 |
-
}
|
328 |
|
329 |
-
|
330 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
331 |
|
332 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
333 |
|
334 |
-
|
335 |
-
$data['object'] = $block;
|
336 |
}
|
|
|
|
|
|
|
|
|
|
|
337 |
|
338 |
-
|
339 |
-
|
|
|
|
|
340 |
|
341 |
-
if(function_exists('get_blog_details')){
|
342 |
-
|
343 |
-
$blog = get_blog_details($id);
|
344 |
-
|
345 |
-
if($blog){
|
346 |
-
$data['object'] = $blog;
|
347 |
}
|
348 |
-
|
349 |
-
}
|
350 |
|
|
|
|
|
|
|
351 |
}
|
352 |
|
|
|
353 |
return $data;
|
354 |
|
355 |
}
|
@@ -366,27 +396,27 @@ class acfe_hooks{
|
|
366 |
*/
|
367 |
function load_field_groups($field_groups){
|
368 |
|
369 |
-
//
|
370 |
if(acfe_is_admin_screen()){
|
371 |
return $field_groups;
|
372 |
}
|
373 |
|
374 |
// loop
|
375 |
-
foreach($field_groups as $i
|
376 |
-
|
377 |
-
$field_group = apply_filters("acfe/prepare_field_group", $field_group);
|
378 |
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
$field_group = apply_filters("acfe/prepare_field_group/key={$field_group['key']}", $field_group);
|
385 |
-
}
|
386 |
|
387 |
-
//
|
388 |
if($field_group === false){
|
389 |
-
unset($field_groups[$i]);
|
|
|
|
|
|
|
|
|
390 |
}
|
391 |
|
392 |
}
|
@@ -426,9 +456,8 @@ class acfe_hooks{
|
|
426 |
|
427 |
$this->field_group = $field_group;
|
428 |
|
429 |
-
|
430 |
-
do_action(
|
431 |
-
do_action("acfe/pre_render_field_group/key={$field_group['key']}", $field_group, $fields, $post_id);
|
432 |
|
433 |
return $fields;
|
434 |
|
@@ -451,9 +480,8 @@ class acfe_hooks{
|
|
451 |
|
452 |
$field_group = $this->field_group;
|
453 |
|
454 |
-
|
455 |
-
do_action(
|
456 |
-
do_action("acfe/render_field_group/key={$field_group['key']}", $field_group, $fields, $post_id);
|
457 |
|
458 |
}
|
459 |
|
@@ -469,13 +497,8 @@ class acfe_hooks{
|
|
469 |
* @return mixed|void
|
470 |
*/
|
471 |
function field_wrapper_attributes($wrapper, $field){
|
472 |
-
|
473 |
-
|
474 |
-
$wrapper = apply_filters("acfe/field_wrapper_attributes/type={$field['type']}", $wrapper, $field);
|
475 |
-
$wrapper = apply_filters("acfe/field_wrapper_attributes/name={$field['name']}", $wrapper, $field);
|
476 |
-
$wrapper = apply_filters("acfe/field_wrapper_attributes/key={$field['key']}", $wrapper, $field);
|
477 |
-
|
478 |
-
return $wrapper;
|
479 |
|
480 |
}
|
481 |
|
@@ -492,15 +515,13 @@ class acfe_hooks{
|
|
492 |
*/
|
493 |
function load_fields($fields, $parent){
|
494 |
|
495 |
-
//
|
496 |
-
|
|
|
497 |
return $fields;
|
498 |
}
|
499 |
|
500 |
-
$fields = apply_filters(
|
501 |
-
$fields = apply_filters("acfe/load_fields/type={$parent['type']}", $fields, $parent);
|
502 |
-
$fields = apply_filters("acfe/load_fields/name={$parent['name']}", $fields, $parent);
|
503 |
-
$fields = apply_filters("acfe/load_fields/key={$parent['key']}", $fields, $parent);
|
504 |
|
505 |
return $fields;
|
506 |
|
@@ -518,18 +539,15 @@ class acfe_hooks{
|
|
518 |
*/
|
519 |
function load_field($field){
|
520 |
|
521 |
-
//
|
522 |
if(acfe_is_admin_screen()){
|
523 |
return $field;
|
524 |
}
|
525 |
|
526 |
// hooks
|
527 |
-
$field = apply_filters(
|
528 |
-
$field = apply_filters("acfe/load_field/type={$field['type']}", $field);
|
529 |
-
$field = apply_filters("acfe/load_field/name={$field['name']}", $field);
|
530 |
-
$field = apply_filters("acfe/load_field/key={$field['key']}", $field);
|
531 |
-
|
532 |
|
|
|
533 |
// deprecated: admin
|
534 |
if(acfe_is_admin()){
|
535 |
|
@@ -645,8 +663,8 @@ class acfe_hooks{
|
|
645 |
$this->upload_field = $field;
|
646 |
|
647 |
// filters
|
648 |
-
add_filter('upload_dir',
|
649 |
-
add_filter('wp_handle_upload_prefilter',
|
650 |
|
651 |
// return
|
652 |
return $errors;
|
@@ -668,14 +686,8 @@ class acfe_hooks{
|
|
668 |
// vars
|
669 |
$field = $this->upload_field;
|
670 |
|
671 |
-
// filters
|
672 |
-
$uploads = apply_filters("acfe/upload_dir", $uploads, $field);
|
673 |
-
$uploads = apply_filters("acfe/upload_dir/type={$field['type']}", $uploads, $field);
|
674 |
-
$uploads = apply_filters("acfe/upload_dir/name={$field['name']}", $uploads, $field);
|
675 |
-
$uploads = apply_filters("acfe/upload_dir/key={$field['key']}", $uploads, $field);
|
676 |
-
|
677 |
// return
|
678 |
-
return $uploads;
|
679 |
|
680 |
}
|
681 |
|
@@ -694,14 +706,8 @@ class acfe_hooks{
|
|
694 |
// vars
|
695 |
$field = $this->upload_field;
|
696 |
|
697 |
-
// filters
|
698 |
-
$file = apply_filters("acfe/upload_file", $file, $field);
|
699 |
-
$file = apply_filters("acfe/upload_file/type={$field['type']}", $file, $field);
|
700 |
-
$file = apply_filters("acfe/upload_file/name={$field['name']}", $file, $field);
|
701 |
-
$file = apply_filters("acfe/upload_file/key={$field['key']}", $file, $field);
|
702 |
-
|
703 |
// return
|
704 |
-
return $file;
|
705 |
|
706 |
}
|
707 |
|
11 |
public $field_group;
|
12 |
public $upload_field = false;
|
13 |
|
|
|
14 |
/**
|
15 |
* construct
|
16 |
*/
|
17 |
function __construct(){
|
18 |
|
19 |
+
// save/validate hooks
|
20 |
+
add_action('acf/save_post', array($this, 'pre_save_post'), 9);
|
21 |
+
add_action('acf/save_post', array($this, 'save_post'), 15);
|
22 |
+
add_action('acf/validate_save_post', array($this, 'validate_save_post'), 4); // must be 4 as acf process acf/validate_value on 5
|
23 |
+
|
24 |
+
// field groups
|
25 |
+
add_filter('acf/load_field_groups', array($this, 'load_field_groups'), 100);
|
26 |
+
add_filter('acf/pre_render_fields', array($this, 'pre_render_fields'), 10, 2);
|
27 |
+
add_action('acf/render_fields', array($this, 'render_fields'), 10, 2);
|
28 |
+
|
29 |
+
// fields
|
30 |
+
add_filter('acf/field_wrapper_attributes', array($this, 'field_wrapper_attributes'), 10, 2);
|
31 |
+
add_filter('acf/load_fields', array($this, 'load_fields'), 10, 2);
|
32 |
+
add_filter('acf/load_field', array($this, 'load_field'));
|
33 |
+
|
34 |
+
// form data
|
35 |
+
add_filter('acf/location/screen', array($this, 'acf_location_screen'), 99);
|
36 |
+
add_action('acf/input/form_data', array($this, 'acf_form_data'));
|
37 |
+
add_action('acf/validate_save_post', array($this, 'acf_save_post_form_data'), 0);
|
38 |
+
add_action('acf/save_post', array($this, 'acf_save_post_form_data'), 0);
|
39 |
+
|
40 |
+
// upload
|
41 |
+
add_filter('acf/upload_prefilter', array($this, 'attachment_upload'), 10, 3);
|
42 |
+
|
43 |
+
// hooks variations
|
44 |
+
acf_add_filter_variations('acfe/prepare_field_group', array('ID', 'key'), 0);
|
45 |
+
acf_add_action_variations('acfe/pre_render_field_group', array('ID', 'key'), 0);
|
46 |
+
acf_add_action_variations('acfe/render_field_group', array('ID', 'key'), 0);
|
47 |
+
acf_add_filter_variations('acf/field_wrapper_attributes', array('type', 'name', 'key'), 1);
|
48 |
+
acf_add_filter_variations('acfe/field_wrapper_attributes', array('type', 'name', 'key'), 1);
|
49 |
+
acf_add_filter_variations('acfe/load_fields', array('type', 'name', 'key'), 1);
|
50 |
+
acf_add_filter_variations('acfe/load_field', array('type', 'name', 'key'), 0);
|
51 |
+
acf_add_filter_variations('acfe/upload_dir', array('type', 'name', 'key'), 1);
|
52 |
+
acf_add_filter_variations('acfe/upload_file', array('type', 'name', 'key'), 1);
|
53 |
|
54 |
}
|
55 |
|
240 |
*/
|
241 |
function decode_object($post_id){
|
242 |
|
243 |
+
//data
|
|
|
|
|
244 |
$data = array(
|
245 |
+
'id' => false,
|
246 |
+
'type' => false,
|
247 |
+
'object' => false,
|
248 |
+
'hooks' => array(),
|
249 |
);
|
250 |
|
251 |
/*
|
253 |
* @string $id 12 | 46 | 22 | my-option | 89 | widget_56 | 74 | 96 | block_my-block | 55 | 36 | 24
|
254 |
* @string $type post | term | user | option | comment | option | term | post | block | blog | blog | post
|
255 |
*/
|
|
|
256 |
|
257 |
+
/**
|
258 |
+
* @var $type
|
259 |
+
* @var $id
|
260 |
+
*/
|
261 |
+
extract(acf_decode_post_id($post_id));
|
262 |
+
|
263 |
+
// validate id
|
264 |
if(!$id){
|
265 |
return false;
|
266 |
}
|
267 |
|
268 |
+
// assign default
|
269 |
$data['id'] = $id;
|
270 |
$data['type'] = $type;
|
271 |
|
272 |
+
switch($type){
|
273 |
+
|
274 |
+
// post
|
275 |
+
case 'post': {
|
276 |
+
|
277 |
+
$post = get_post($id);
|
278 |
+
if($post && !is_wp_error($post)){
|
279 |
|
280 |
+
$data['object'] = $post;
|
281 |
+
|
282 |
+
if(isset($post->post_type) && post_type_exists($post->post_type)){
|
283 |
+
$data['hooks'][] = "post_type={$post->post_type}";
|
284 |
+
}
|
285 |
|
|
|
|
|
|
|
|
|
|
|
|
|
286 |
}
|
287 |
+
|
288 |
+
break;
|
289 |
}
|
290 |
+
|
291 |
+
// term
|
292 |
+
case 'term': {
|
293 |
+
|
294 |
+
$term = get_term($id);
|
295 |
+
if($term && !is_wp_error($term)){
|
296 |
|
297 |
+
$data['object'] = $term;
|
|
|
298 |
|
299 |
+
if(isset($term->taxonomy) && taxonomy_exists($term->taxonomy)){
|
300 |
+
$data['hooks'][] = "taxonomy={$term->taxonomy}";
|
301 |
+
}
|
302 |
|
|
|
|
|
|
|
|
|
|
|
|
|
303 |
}
|
|
|
|
|
304 |
|
305 |
+
break;
|
306 |
+
}
|
307 |
+
|
308 |
+
// user
|
309 |
+
case 'user': {
|
310 |
+
|
311 |
+
$user = get_user_by('id', $id);
|
312 |
+
if($user && !is_wp_error($user)){
|
313 |
|
314 |
+
$data['object'] = $user;
|
315 |
|
316 |
+
if(isset($user->roles) && !empty($user->roles)){
|
317 |
+
foreach($user->roles as $role){
|
318 |
+
$data['hooks'][] = "role={$role}";
|
319 |
+
}
|
|
|
|
|
|
|
|
|
320 |
}
|
321 |
+
|
322 |
}
|
323 |
+
|
324 |
+
break;
|
325 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
326 |
|
327 |
+
// option
|
328 |
+
case 'option': {
|
329 |
|
330 |
+
$location = acf_get_form_data('location');
|
331 |
+
$options_page = acf_maybe_get($location, 'options_page');
|
|
|
|
|
332 |
|
333 |
+
if($options_page){
|
|
|
334 |
|
335 |
+
$data['object'] = acf_get_options_page($options_page);
|
336 |
+
$data['hooks'][] = "slug={$options_page}";
|
337 |
|
338 |
+
}
|
|
|
|
|
339 |
|
340 |
+
break;
|
341 |
+
}
|
342 |
+
|
343 |
+
// comment
|
344 |
+
case 'comment': {
|
345 |
+
|
346 |
+
$comment = get_comment($id);
|
347 |
+
if($comment && !is_wp_error($comment)){
|
348 |
+
$data['object'] = $comment;
|
349 |
+
}
|
350 |
|
351 |
+
break;
|
352 |
+
}
|
353 |
+
|
354 |
+
// block
|
355 |
+
case 'block': {
|
356 |
+
|
357 |
+
$block = acf_get_block_type("acf/$id");
|
358 |
+
if($block){
|
359 |
+
$data['object'] = $block;
|
360 |
+
}
|
361 |
|
362 |
+
break;
|
|
|
363 |
}
|
364 |
+
|
365 |
+
// blog
|
366 |
+
case 'blog': {
|
367 |
+
|
368 |
+
if(function_exists('get_blog_details')){
|
369 |
|
370 |
+
$blog = get_blog_details($id);
|
371 |
+
if($blog){
|
372 |
+
$data['object'] = $blog;
|
373 |
+
}
|
374 |
|
|
|
|
|
|
|
|
|
|
|
|
|
375 |
}
|
|
|
|
|
376 |
|
377 |
+
break;
|
378 |
+
}
|
379 |
+
|
380 |
}
|
381 |
|
382 |
+
// return
|
383 |
return $data;
|
384 |
|
385 |
}
|
396 |
*/
|
397 |
function load_field_groups($field_groups){
|
398 |
|
399 |
+
// bail early
|
400 |
if(acfe_is_admin_screen()){
|
401 |
return $field_groups;
|
402 |
}
|
403 |
|
404 |
// loop
|
405 |
+
foreach(array_keys($field_groups) as $i){
|
|
|
|
|
406 |
|
407 |
+
// get field group
|
408 |
+
$field_group = $field_groups[ $i ];
|
409 |
+
|
410 |
+
// apply filters
|
411 |
+
$field_group = apply_filters('acfe/prepare_field_group', $field_group);
|
|
|
|
|
412 |
|
413 |
+
// hide field group
|
414 |
if($field_group === false){
|
415 |
+
unset($field_groups[ $i ]);
|
416 |
+
|
417 |
+
// assign
|
418 |
+
}else{
|
419 |
+
$field_groups[ $i ] = $field_group;
|
420 |
}
|
421 |
|
422 |
}
|
456 |
|
457 |
$this->field_group = $field_group;
|
458 |
|
459 |
+
// action
|
460 |
+
do_action('acfe/pre_render_field_group', $field_group, $fields, $post_id);
|
|
|
461 |
|
462 |
return $fields;
|
463 |
|
480 |
|
481 |
$field_group = $this->field_group;
|
482 |
|
483 |
+
// action
|
484 |
+
do_action('acfe/render_field_group', $field_group, $fields, $post_id);
|
|
|
485 |
|
486 |
}
|
487 |
|
497 |
* @return mixed|void
|
498 |
*/
|
499 |
function field_wrapper_attributes($wrapper, $field){
|
500 |
+
|
501 |
+
return apply_filters('acfe/field_wrapper_attributes', $wrapper, $field);
|
|
|
|
|
|
|
|
|
|
|
502 |
|
503 |
}
|
504 |
|
515 |
*/
|
516 |
function load_fields($fields, $parent){
|
517 |
|
518 |
+
// validate field
|
519 |
+
// this fitler is also applied on field groups
|
520 |
+
if(!isset($parent['type'])){
|
521 |
return $fields;
|
522 |
}
|
523 |
|
524 |
+
$fields = apply_filters('acfe/load_fields', $fields, $parent);
|
|
|
|
|
|
|
525 |
|
526 |
return $fields;
|
527 |
|
539 |
*/
|
540 |
function load_field($field){
|
541 |
|
542 |
+
// bail early
|
543 |
if(acfe_is_admin_screen()){
|
544 |
return $field;
|
545 |
}
|
546 |
|
547 |
// hooks
|
548 |
+
$field = apply_filters('acfe/load_field', $field);
|
|
|
|
|
|
|
|
|
549 |
|
550 |
+
// todo: find a solution to add filter variations with deprecated notice
|
551 |
// deprecated: admin
|
552 |
if(acfe_is_admin()){
|
553 |
|
663 |
$this->upload_field = $field;
|
664 |
|
665 |
// filters
|
666 |
+
add_filter('upload_dir', array($this, 'handle_upload_dir'), 20);
|
667 |
+
add_filter('wp_handle_upload_prefilter', array($this, 'handle_upload_file'), 20);
|
668 |
|
669 |
// return
|
670 |
return $errors;
|
686 |
// vars
|
687 |
$field = $this->upload_field;
|
688 |
|
|
|
|
|
|
|
|
|
|
|
|
|
689 |
// return
|
690 |
+
return apply_filters('acfe/upload_dir', $uploads, $field);
|
691 |
|
692 |
}
|
693 |
|
706 |
// vars
|
707 |
$field = $this->upload_field;
|
708 |
|
|
|
|
|
|
|
|
|
|
|
|
|
709 |
// return
|
710 |
+
return apply_filters('acfe/upload_file', $file, $field);
|
711 |
|
712 |
}
|
713 |
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: acf, custom fields, meta, admin, fields, form, repeater, content
|
|
5 |
Requires at least: 4.9
|
6 |
Tested up to: 6.0
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 0.8.8.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -178,7 +178,7 @@ Enable Global Conditional Logic for a specific field, which can then be used in
|
|
178 |
Override a specific field instruction placement to any position: Below labels, below fields, above fields or tooltip.
|
179 |
|
180 |
**[Instruction Read More](https://www.acf-extended.com/features/field-settings/instruction-read-more)** **(PRO)**
|
181 |
-
Allow to expand instructions text with a
|
182 |
|
183 |
**[Min/Max](https://www.acf-extended.com/features/field-settings/min-max)** **(PRO)**
|
184 |
Minimum & maximum items is a global field setting that let you define a specific number of items that can or should be added by the user.
|
@@ -362,7 +362,7 @@ ACF Extended is bundled with a custom merged version of the Classic Editor & Dis
|
|
362 |
The Developer Mode allow you to view all Posts, Terms, Users & Options custom metadata in a readable format. This feature is very useful to check what is actually saved in any WordPress Object.
|
363 |
|
364 |
**[Forms](https://www.acf-extended.com/features/modules/dynamic-forms)** **(FREE / PRO)**
|
365 |
-
Manage Advanced ACF Forms from the WordPress administration. This module is an enhanced version of the native ACF Form feature. While all native settings can be used, Dynamic Forms adds many new settings and introduce
|
366 |
|
367 |
**[Options Pages UI](https://www.acf-extended.com/features/modules/dynamic-options-pages)**
|
368 |
The Dynamic Options Pages module allows you to register and manage ACF Options Pages from your WordPress admin, in ACF > Options Pages menu. All ACF settings can be set within the UI.
|
@@ -484,6 +484,30 @@ The content of the upcoming patch and work in progress features are all listed o
|
|
484 |
|
485 |
== Changelog ==
|
486 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
487 |
= 0.8.8.9 =
|
488 |
|
489 |
**ACF Extended Pro 0.8.8.9:**
|
5 |
Requires at least: 4.9
|
6 |
Tested up to: 6.0
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 0.8.8.10
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
178 |
Override a specific field instruction placement to any position: Below labels, below fields, above fields or tooltip.
|
179 |
|
180 |
**[Instruction Read More](https://www.acf-extended.com/features/field-settings/instruction-read-more)** **(PRO)**
|
181 |
+
Allow to expand instructions text with a "Read More" link. This feature is useful for lengthy instructions text.
|
182 |
|
183 |
**[Min/Max](https://www.acf-extended.com/features/field-settings/min-max)** **(PRO)**
|
184 |
Minimum & maximum items is a global field setting that let you define a specific number of items that can or should be added by the user.
|
362 |
The Developer Mode allow you to view all Posts, Terms, Users & Options custom metadata in a readable format. This feature is very useful to check what is actually saved in any WordPress Object.
|
363 |
|
364 |
**[Forms](https://www.acf-extended.com/features/modules/dynamic-forms)** **(FREE / PRO)**
|
365 |
+
Manage Advanced ACF Forms from the WordPress administration. This module is an enhanced version of the native ACF Form feature. While all native settings can be used, Dynamic Forms adds many new settings and introduce "Actions" for a complete control over the form behavior.
|
366 |
|
367 |
**[Options Pages UI](https://www.acf-extended.com/features/modules/dynamic-options-pages)**
|
368 |
The Dynamic Options Pages module allows you to register and manage ACF Options Pages from your WordPress admin, in ACF > Options Pages menu. All ACF settings can be set within the UI.
|
484 |
|
485 |
== Changelog ==
|
486 |
|
487 |
+
= 0.8.8.10 =
|
488 |
+
|
489 |
+
**ACF Extended Pro 0.8.8.10:**
|
490 |
+
|
491 |
+
* Field: File - Improved default values implementation
|
492 |
+
* Field: File - Fixed Preview Style "Select2" setting render styling
|
493 |
+
* Field: WYSIWYG - Fixed "Custom Toolbar" setting not working correctly in ACF 6.0 UI
|
494 |
+
* Field Settings: Min/Max - Added settings as default values in related fields
|
495 |
+
* Module: Scripts - Improved validation process to only trigger inside page wrapper
|
496 |
+
* General: Fixed ACF 6.0 CSS on ACF "Updates" page
|
497 |
+
|
498 |
+
**ACF Extended Basic 0.8.8.10:**
|
499 |
+
|
500 |
+
* Field: Image/File - Fixed undefined index notice when ACFE Form forced specific uploader type
|
501 |
+
* Field: Flexible Content - Clear fields storage in Field Group UI to avoid third party plugins messing with it
|
502 |
+
* Module: Forms - Reverted logic for the Image/File/Gallery media modal
|
503 |
+
* Field Groups: Fixed Advanced Settings/Validation settings not working correctly in ACF 6.0 UI
|
504 |
+
* General: Added several ACF 6.0 Field Groups CSS fixes
|
505 |
+
* General: Hooks - Added `acf_add_filter_variations()` to general hooks
|
506 |
+
* General: Enhanced `acfe_is_admin_screen()` helper
|
507 |
+
* General: Enhanced `ftype` js logic to avoid overriding prototype
|
508 |
+
* General: Enhanced `acfe.fieldExtend` js logic & added dependencies
|
509 |
+
* General: Enhanced js helpers
|
510 |
+
|
511 |
= 0.8.8.9 =
|
512 |
|
513 |
**ACF Extended Pro 0.8.8.9:**
|