Version Description
Release Date - 12 November 2019
- New - Updated admin CSS for new WordPress 5.3 styling.
- Fix - Fixed various issues affecting dynamic metaboxes in the block editor (requires WordPress 5.3)
- Fix - Fixed performance issue when checking network sites for upgrades.
- Fix - Fixed Select2 clones appearing after duplicating a Relationship field.
- Tweak - Repeater field "Add row" icons will now hide when maximum rows are reached.
- Tweak - Removed ACF Blocks keyword limit for later versions of Gutenberg.
Download this release
Release Info
Developer | elliotcondon |
Plugin | Advanced Custom Fields |
Version | 5.8.7 |
Comparing to | |
See all releases |
Code changes from version 5.8.6 to 5.8.7
- acf.php +2 -3
- assets/css/acf-field-group.css +1 -1
- assets/css/acf-global.css +1 -1
- assets/css/acf-input.css +1 -2335
- assets/js/acf-input.js +149 -118
- assets/js/acf-input.min.js +4 -4
- includes/admin/admin-upgrade.php +54 -37
- includes/admin/admin.php +115 -63
- includes/admin/settings-info.php +0 -102
- includes/admin/views/settings-addons.php +0 -54
- includes/assets.php +17 -17
- includes/fields/class-acf-field-radio.php +1 -1
- lang/acf-ro_RO.mo +0 -0
- lang/acf-ro_RO.po +7 -6
- lang/acf.pot +325 -314
- readme.txt +11 -1
acf.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Advanced Custom Fields
|
4 |
Plugin URI: https://www.advancedcustomfields.com
|
5 |
Description: Customize WordPress with powerful, professional and intuitive fields.
|
6 |
-
Version: 5.8.
|
7 |
Author: Elliot Condon
|
8 |
Author URI: https://www.advancedcustomfields.com
|
9 |
Text Domain: acf
|
@@ -17,7 +17,7 @@ if( ! class_exists('ACF') ) :
|
|
17 |
class ACF {
|
18 |
|
19 |
/** @var string The plugin version number. */
|
20 |
-
var $version = '5.8.
|
21 |
|
22 |
/** @var array The plugin settings array. */
|
23 |
var $settings = array();
|
@@ -165,7 +165,6 @@ class ACF {
|
|
165 |
acf_include('includes/admin/admin-notices.php');
|
166 |
acf_include('includes/admin/admin-tools.php');
|
167 |
acf_include('includes/admin/admin-upgrade.php');
|
168 |
-
acf_include('includes/admin/settings-info.php');
|
169 |
}
|
170 |
|
171 |
// Include PRO.
|
3 |
Plugin Name: Advanced Custom Fields
|
4 |
Plugin URI: https://www.advancedcustomfields.com
|
5 |
Description: Customize WordPress with powerful, professional and intuitive fields.
|
6 |
+
Version: 5.8.7
|
7 |
Author: Elliot Condon
|
8 |
Author URI: https://www.advancedcustomfields.com
|
9 |
Text Domain: acf
|
17 |
class ACF {
|
18 |
|
19 |
/** @var string The plugin version number. */
|
20 |
+
var $version = '5.8.7';
|
21 |
|
22 |
/** @var array The plugin settings array. */
|
23 |
var $settings = array();
|
165 |
acf_include('includes/admin/admin-notices.php');
|
166 |
acf_include('includes/admin/admin-tools.php');
|
167 |
acf_include('includes/admin/admin-upgrade.php');
|
|
|
168 |
}
|
169 |
|
170 |
// Include PRO.
|
assets/css/acf-field-group.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
#
|
1 |
+
#acf-field-group-fields>.inside,#acf-field-group-locations>.inside,#acf-field-group-options>.inside{padding:0;margin:0}#minor-publishing-actions,#misc-publishing-actions #visibility{display:none}#minor-publishing{border-bottom:0 none}#misc-pub-section{border-bottom:0 none}#misc-publishing-actions .misc-pub-section{border-bottom-color:#F5F5F5}#acf-field-group-fields{border:0 none;box-shadow:none}#acf-field-group-fields>.handlediv,#acf-field-group-fields>.hndle{display:none}#acf-field-group-fields a{text-decoration:none}#acf-field-group-fields a:active,#acf-field-group-fields a:focus{outline:none;box-shadow:none}#acf-field-group-fields .li-field-order{width:20%}#acf-field-group-fields .li-field-label{width:30%}#acf-field-group-fields .li-field-name{width:25%}#acf-field-group-fields .li-field-type{width:25%}#acf-field-group-fields .li-field-key{display:none}#acf-field-group-fields.show-field-keys .li-field-label,#acf-field-group-fields.show-field-keys .li-field-name,#acf-field-group-fields.show-field-keys .li-field-type,#acf-field-group-fields.show-field-keys .li-field-key{width:20%}#acf-field-group-fields.show-field-keys .li-field-key{display:block}#acf-field-group-fields .acf-field-list-wrap{border:#ccd0d4 solid 1px}#acf-field-group-fields .acf-field-list{background:#f5f5f5;margin-top:-1px}#acf-field-group-fields .acf-field-list .no-fields-message{padding:15px 15px;background:#fff;display:none}#acf-field-group-fields .acf-field-list.-empty .no-fields-message{display:block}.acf-admin-3-8 #acf-field-group-fields .acf-field-list-wrap{border-color:#dfdfdf}.acf-field-object{border-top:#eee solid 1px;background:#fff}.acf-field-object.ui-sortable-helper{border-top-color:#fff;box-shadow:0 0 0 1px #DFDFDF,0 1px 4px rgba(0,0,0,0.1)}.acf-field-object.ui-sortable-placeholder{box-shadow:0 -1px 0 0 #DFDFDF;visibility:visible !important;background:#F9F9F9;border-top-color:transparent;min-height:54px}.acf-field-object.ui-sortable-placeholder:after,.acf-field-object.ui-sortable-placeholder:before{visibility:hidden}.acf-field-object>.meta{display:none}.acf-field-object>.handle a{-webkit-transition:none;-moz-transition:none;-o-transition:none;transition:none}.acf-field-object>.handle li{padding-top:10px;padding-bottom:10px;word-wrap:break-word}.acf-field-object>.handle .acf-icon{margin:1px 0 0;cursor:move;background:transparent;float:left;height:28px;line-height:28px;width:28px;font-size:13px;color:#444;position:relative;z-index:1}.acf-field-object>.handle strong{display:block;padding-bottom:6px;font-size:14px;line-height:14px;min-height:14px}.acf-field-object>.handle .row-options{visibility:hidden}.acf-field-object>.handle .row-options a{margin-right:4px}.acf-field-object>.handle .row-options a.delete-field{color:#a00}.acf-field-object>.handle .row-options a.delete-field:hover{color:#f00}.acf-field-object.open+.acf-field-object{border-top-color:#E1E1E1}.acf-field-object.open>.handle{background:#2a9bd9;border:#2696d3 solid 1px;text-shadow:#268FBB 0 1px 0;color:#fff;position:relative;margin:-1px -1px 0 -1px}.acf-field-object.open>.handle a{color:#fff !important}.acf-field-object.open>.handle a:hover{text-decoration:underline !important}.acf-field-object.open>.handle .acf-icon{border-color:#fff;color:#fff}.acf-field-object.open>.handle .acf-required{color:#fff}.acf-field-object:hover>.handle .row-options,.acf-field-object.-hover>.handle .row-options{visibility:visible}.acf-field-object>.settings{display:none;width:100%}.acf-field-object>.settings>.acf-table{border:none}.acf-field-object .rule-groups{margin-top:20px}.rule-groups h4{margin:3px 0}.rule-groups .rule-group{margin:0 0 5px}.rule-groups .rule-group h4{margin:0 0 3px}.rule-groups .rule-group td.param{width:35%}.rule-groups .rule-group td.operator{width:20%}.rule-groups .rule-group td.add{width:40px}.rule-groups .rule-group td.remove{width:28px;vertical-align:middle}.rule-groups .rule-group td.remove a{visibility:hidden}.rule-groups .rule-group tr:hover td.remove a{visibility:visible}.rule-groups .rule-group:first-child tr:first-child td.remove a{visibility:hidden !important}.rule-groups .rule-group select:empty{background:#f8f8f8}#acf-field-group-options tr[data-name="hide_on_screen"] li{float:left;width:33%}@media (max-width: 1100px){#acf-field-group-options tr[data-name="hide_on_screen"] li{width:50%}}table.conditional-logic-rules{background:transparent;border:0 none;border-radius:0}table.conditional-logic-rules tbody td{background:transparent;border:0 none !important;padding:5px 2px !important}.acf-field-object-tab .acf-field-setting-name,.acf-field-object-accordion .acf-field-setting-name,.acf-field-object-tab .acf-field-setting-instructions,.acf-field-object-accordion .acf-field-setting-instructions,.acf-field-object-tab .acf-field-setting-required,.acf-field-object-accordion .acf-field-setting-required,.acf-field-object-tab .acf-field-setting-warning,.acf-field-object-accordion .acf-field-setting-warning,.acf-field-object-tab .acf-field-setting-wrapper,.acf-field-object-accordion .acf-field-setting-wrapper{display:none}.acf-field-object-tab .li-field-name,.acf-field-object-accordion .li-field-name{visibility:hidden}.acf-field-object+.acf-field-object-tab:before,.acf-field-object+.acf-field-object-accordion:before{display:block;content:"";height:5px;width:100%;background:#f5f5f5;border-top:#e1e1e1 solid 1px;border-bottom:#e1e1e1 solid 1px;margin-top:-1px}.acf-admin-3-8 .acf-field-object+.acf-field-object-tab:before,.acf-admin-3-8 .acf-field-object+.acf-field-object-accordion:before{border-color:#E5E5E5}.acf-field-object-tab p:first-child,.acf-field-object-accordion p:first-child{margin:0.5em 0}.acf-field-object-accordion .acf-field-setting-instructions{display:table-row}.acf-field-object-message tr[data-name="name"],.acf-field-object-message tr[data-name="instructions"],.acf-field-object-message tr[data-name="required"]{display:none !important}.acf-field-object-message .li-field-name{visibility:hidden}.acf-field-object-message textarea{height:175px !important}.acf-field-object-separator tr[data-name="name"],.acf-field-object-separator tr[data-name="instructions"],.acf-field-object-separator tr[data-name="required"]{display:none !important}.acf-field-object-date-picker .acf-radio-list li,.acf-field-object-time-picker .acf-radio-list li,.acf-field-object-date-time-picker .acf-radio-list li{line-height:25px}.acf-field-object-date-picker .acf-radio-list span,.acf-field-object-time-picker .acf-radio-list span,.acf-field-object-date-time-picker .acf-radio-list span{display:inline-block;min-width:10em}.acf-field-object-date-picker .acf-radio-list input[type="text"],.acf-field-object-time-picker .acf-radio-list input[type="text"],.acf-field-object-date-time-picker .acf-radio-list input[type="text"]{width:100px}.acf-field-object-date-time-picker .acf-radio-list span{min-width:15em}.acf-field-object-date-time-picker .acf-radio-list input[type="text"]{width:200px}#slugdiv .inside{padding:12px;margin:0}#slugdiv input[type="text"]{width:100%;height:28px;font-size:14px}html[dir="rtl"] .acf-field-object.open>.handle{margin:-1px -1px 0}html[dir="rtl"] .acf-field-object.open>.handle .acf-icon{float:right}html[dir="rtl"] .acf-field-object.open>.handle .li-field-order{padding-left:0 !important;padding-right:15px !important}@media only screen and (max-width: 850px){tr.acf-field,td.acf-label,td.acf-input{display:block !important;width:auto !important;border:0 none !important}tr.acf-field{border-top:#ededed solid 1px !important;margin-bottom:0 !important}td.acf-label{background:transparent !important;padding-bottom:0 !important}}
|
assets/css/acf-global.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.acf-hl{padding:0;margin:0;list-style:none;display:block;position:relative}.acf-hl>li{float:left;display:block;margin:0;padding:0}.acf-hl>li.acf-fr{float:right}.acf-hl:before,.acf-hl:after,.acf-bl:before,.acf-bl:after,.acf-cf:before,.acf-cf:after{content:"";display:block;line-height:0}.acf-hl:after,.acf-bl:after,.acf-cf:after{clear:both}.acf-bl{padding:0;margin:0;list-style:none;display:block;position:relative}.acf-bl>li{display:block;margin:0;padding:0;float:none}.acf-hidden{display:none !important}.acf-empty{display:table-cell !important}.acf-empty *{display:none !important}.acf-fl{float:left}.acf-fr{float:right}.acf-fn{float:none}.acf-al{text-align:left}.acf-ar{text-align:right}.acf-ac{text-align:center}.acf-loading,.acf-spinner{display:inline-block;height:20px;width:20px;vertical-align:text-top;background:transparent url(../images/spinner.gif) no-repeat 50% 50%}.acf-spinner{display:none}.acf-spinner.is-active{display:inline-block}.spinner.is-active{display:inline-block}.acf-required{color:#f00}.acf-soh .acf-soh-target{-webkit-transition:opacity 0.25s 0s ease-in-out, visibility 0s linear 0.25s;-moz-transition:opacity 0.25s 0s ease-in-out, visibility 0s linear 0.25s;-o-transition:opacity 0.25s 0s ease-in-out, visibility 0s linear 0.25s;transition:opacity 0.25s 0s ease-in-out, visibility 0s linear 0.25s;visibility:hidden;opacity:0}.acf-soh:hover .acf-soh-target{-webkit-transition-delay:0s;-moz-transition-delay:0s;-o-transition-delay:0s;transition-delay:0s;visibility:visible;opacity:1}.show-if-value{display:none}.hide-if-value{display:block}.has-value .show-if-value{display:block}.has-value .hide-if-value{display:none}.select2-search-choice-close{-webkit-transition:none;-moz-transition:none;-o-transition:none;transition:none}.acf-tooltip{background:#2F353E;border-radius:5px;color:#fff;padding:5px 10px;position:absolute;font-size:12px;line-height:1.4em;z-index:900000}.acf-tooltip:before{border:solid;border-color:transparent;border-width:6px;content:"";position:absolute}.acf-tooltip.top{margin-top:-8px}.acf-tooltip.top:before{top:100%;left:50%;margin-left:-6px;border-top-color:#2F353E;border-bottom-width:0}.acf-tooltip.right{margin-left:8px}.acf-tooltip.right:before{top:50%;margin-top:-6px;right:100%;border-right-color:#2F353E;border-left-width:0}.acf-tooltip.bottom{margin-top:8px}.acf-tooltip.bottom:before{bottom:100%;left:50%;margin-left:-6px;border-bottom-color:#2F353E;border-top-width:0}.acf-tooltip.left{margin-left:-8px}.acf-tooltip.left:before{top:50%;margin-top:-6px;left:100%;border-left-color:#2F353E;border-right-width:0}.acf-tooltip .acf-overlay{z-index:-1}.acf-tooltip.-confirm{z-index:900001}.acf-tooltip.-confirm a{text-decoration:none;color:#9ea3a8}.acf-tooltip.-confirm a:hover{text-decoration:underline}.acf-tooltip.-confirm a[data-event="confirm"]{color:#F55E4F}.acf-overlay{position:fixed;top:0;bottom:0;left:0;right:0;cursor:default}.acf-tooltip-target{position:relative;z-index:900002}.acf-loading-overlay{position:absolute;top:0;bottom:0;left:0;right:0;cursor:default;z-index:99;background:rgba(249,249,249,0.5)}.acf-loading-overlay i{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.acf-callout{margin:20px 0;padding:20px;background-color:#FCF8F2;border-left:3px solid #F0AD4E}.acf-callout h4{color:#F0AD4E;margin:0 !important}.acf-callout p{margin-bottom:0}.acf-callout.danger{border-color:#D9534F;background-color:#FDF7F7}.acf-callout.danger h4{color:#D9534F}.acf-callout.success{background-color:#f4faf6;border-color:#bcf1c5}.acf-callout.success h4{color:#3aad60}@font-face{font-family:'acf';src:url("../font/acf.eot?57601716");src:url("../font/acf.eot?57601716#iefix") format("embedded-opentype"),url("../font/acf.woff2?57601716") format("woff2"),url("../font/acf.woff?57601716") format("woff"),url("../font/acf.ttf?57601716") format("truetype"),url("../font/acf.svg?57601716#acf") format("svg");font-weight:normal;font-style:normal}.acf-icon:before{font-family:"acf";font-style:normal;font-weight:normal;speak:none;display:inline-block;text-decoration:inherit;width:1em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:relative}.acf-icon.-plus:before{content:'\e800'}.acf-icon.-minus:before{content:'\e801'}.acf-icon.-cancel:before{content:'\e802'}.acf-icon.-pencil:before{content:'\e803';top:-1px}.acf-icon.-location:before{content:'\e804'}.acf-icon.-down:before{content:'\e805';top:1px}.acf-icon.-left:before{content:'\e806';left:-1px}.acf-icon.-right:before{content:'\e807';left:1px}.acf-icon.-up:before{content:'\e808';top:-1px}.acf-icon.-sync:before{content:'\e809'}.acf-icon.-globe:before{content:'\e80a'}.acf-icon.-picture:before{content:'\e80b'}.acf-icon.-check:before{content:'\e80c'}.acf-icon.-dot-3:before{content:'\e80d'}.acf-icon.-arrow-combo:before{content:'\e80e'}.acf-icon.-arrow-up:before{content:'\e810';top:-1px}.acf-icon.-arrow-down:before{content:'\e80f';top:1px}.acf-icon.-search:before{content:'\e811'}.acf-icon.-link-ext:before{content:'\f08e'}.acf-icon.-collapse:before{content:'\e810';top:-1px}.-collapsed .acf-icon.-collapse:before{content:'\e80f';top:1px}.acf-icon{display:inline-block;height:26px;width:26px;border:transparent solid 1px;border-radius:100%;font-size:16px;line-height:26px;text-align:center;text-decoration:none;vertical-align:top;box-sizing:content-box}span.acf-icon{color:#999;border-color:#BBB;background-color:#fff}a.acf-icon{color:#999;border-color:#BBB;background-color:#fff;position:relative;overflow:hidden;transition:none}a.acf-icon.-clear{color:#444;background:transparent;border:none}a.acf-icon.light{border:none;padding:1px;background:#F5F5F5;color:#72777c}a.acf-icon:hover{border-color:transparent;background:#2a9bd9;color:#fff}a.acf-icon:active{color:#fff;background-color:#238cc6}a.acf-icon:active,a.acf-icon:focus{outline:none;box-shadow:none}a.acf-icon.-minus:hover,a.acf-icon.-cancel:hover{background-color:#F55E4F}a.acf-icon.-minus:active,a.acf-icon.-cancel:active{background-color:#f44837}.acf-icon.-pencil{font-size:15px}.acf-icon.-location{font-size:18px}.acf-icon.small,.acf-icon.-small{width:18px;height:18px;line-height:18px;font-size:14px}.acf-icon.dark{border-color:transparent;background:#23282D;color:#eee}a.acf-icon.dark:hover{border-color:transparent;background:#191E23;color:#00b9eb}a.acf-icon.-minus.dark:hover,a.acf-icon.-cancel.dark:hover{color:#D54E21}.acf-icon.grey{border-color:transparent;background:#b4b9be;color:#fff}a.acf-icon.grey:hover{border-color:transparent;background:#00A0D2;color:#fff}a.acf-icon.-minus.grey:hover,a.acf-icon.-cancel.grey:hover{background:#32373C}.acf-icon.red{border-color:transparent;background-color:#F55E4F;color:#fff}.acf-icon.yellow{border-color:transparent;background-color:#FDBC40;color:#fff}.acf-icon.logo{width:150px;height:150px;background:#5EE8BF;border:0 none;position:absolute;right:0;top:0}.acf-box{background:#FFFFFF;border:1px solid #E5E5E5;position:relative;box-shadow:0 1px 1px rgba(0,0,0,0.04)}.acf-box .title{border-bottom:1px solid #EEEEEE;margin:0;padding:15px}.acf-box .title h3{font-size:14px;line-height:1em;margin:0;padding:0}.acf-box .inner{padding:15px}.acf-box h2{color:#333333;font-size:26px;line-height:1.25em;margin:0.25em 0 0.75em;padding:0}.acf-box h3{margin:1.5em 0 0}.acf-box p{margin-top:0.5em}.acf-box a{text-decoration:none}.acf-box i.dashicons-external{margin-top:-1px}.acf-box .footer{border-top:1px solid #eee;padding:12px;font-size:13px;line-height:1.5}.acf-box .footer p{margin:0}.acf-notice{position:relative;display:block;color:#fff;margin:5px 0 15px;padding:3px 12px;background:#2a9bd9;border-left:#2183b9 solid 4px}.acf-notice p{font-size:13px;line-height:1.5;margin:0.5em 0;text-shadow:none;color:inherit}.acf-notice a.acf-notice-dismiss{position:absolute;border-color:transparent;top:9px;right:12px;color:#fff;background:rgba(0,0,0,0.1)}.acf-notice a.acf-notice-dismiss:hover{background:rgba(0,0,0,0.2)}.acf-notice.-dismiss{padding-right:40px}.acf-notice.-error{background:#F55E4F;border-color:#f33b28}.acf-notice.-success{background:#46b450;border-color:#3b9743}.acf-notice.-warning{background:#fd8d3b;border-color:#fd7613}.acf-table{border:#DFDFDF solid 1px;background:#fff;border-spacing:0;border-radius:0;table-layout:auto;padding:0;margin:0;width:100%;clear:both;box-sizing:content-box}.acf-table>tbody>tr>th,.acf-table>tbody>tr>td,.acf-table>thead>tr>th,.acf-table>thead>tr>td{padding:8px;vertical-align:top;background:#fff;text-align:left;border-style:solid;font-weight:normal}.acf-table>tbody>tr>th,.acf-table>thead>tr>th{position:relative;color:#333333}.acf-table>thead>tr>th{border-color:#E1E1E1;border-width:0 0 1px 1px}.acf-table>thead>tr>th:first-child{border-left-width:0}.acf-table>tbody>tr{z-index:1}.acf-table>tbody>tr>td{border-color:#EDEDED;border-width:1px 0 0 1px}.acf-table>tbody>tr>td:first-child{border-left-width:0}.acf-table>tbody>tr:first-child>td{border-top-width:0}.acf-table.-clear{border:0 none}.acf-table.-clear>tbody>tr>td,.acf-table.-clear>tbody>tr>th,.acf-table.-clear>thead>tr>td,.acf-table.-clear>thead>tr>th{border:0 none;padding:4px}.acf-remove-element{-webkit-transition:all 0.25s ease-out;-moz-transition:all 0.25s ease-out;-o-transition:all 0.25s ease-out;transition:all 0.25s ease-out;transform:translate(50px, 0);opacity:0}.acf-fade-up{-webkit-transition:all 0.25s ease-out;-moz-transition:all 0.25s ease-out;-o-transition:all 0.25s ease-out;transition:all 0.25s ease-out;transform:translate(0, -10px);opacity:0}#adminmenu a[href="edit.php?post_type=acf-field-group&page=acf-settings-info"]{display:none}#icon-edit.icon32-posts-acf-field-group{background-position:-11px -5px}#acf-field-group-wrap .tablenav,#acf-field-group-wrap p.search-box{display:none}#acf-field-group-wrap .wp-list-table .column-acf-fg-description,#acf-field-group-wrap .wp-list-table .column-acf-fg-description:before{display:none !important}#acf-field-group-wrap .wp-list-table .column-acf-fg-count{width:10%}#acf-field-group-wrap .wp-list-table .column-acf-fg-status{width:10%}#acf-field-group-wrap .tablenav.bottom{display:block}#acf-field-group-wrap .acf-description{font-weight:normal;font-size:13px;color:#999;margin-left:7px;font-style:italic}#acf-field-group-wrap .subsubsub{margin-bottom:3px}#acf-field-group-wrap .subsubsub ul{margin:0}#acf-field-group-wrap .subsubsub+.subsubsub{margin-top:0}#acf-field-group-wrap .subsubsub a:focus{box-shadow:none}.acf-columns-2{margin-right:300px;clear:both}.acf-columns-2:after{display:block;clear:both;content:""}html[dir="rtl"] .acf-columns-2{margin-right:0;margin-left:300px}.acf-columns-2 .acf-column-1{float:left;width:100%}html[dir="rtl"] .acf-columns-2 .acf-column-1{float:right}.acf-columns-2 .acf-column-2{float:right;margin-right:-300px;width:280px}html[dir="rtl"] .acf-columns-2 .acf-column-2{float:left;margin-right:0;margin-left:-300px}#acf-field-group-wrap .search-box:after{display:block;content:"";height:5px}.acf-clear{clear:both}@media screen and (max-width: 782px){#acf-field-group-wrap #the-list .acf-icon:after{content:attr(title);position:absolute;margin-left:5px;font-size:13px;line-height:18px;font-style:normal;color:#444}}.acf-thead,.acf-tbody,.acf-tfoot{width:100%;padding:0;margin:0}.acf-thead>li,.acf-tbody>li,.acf-tfoot>li{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:8px 15px;font-size:12px;line-height:14px}.acf-thead{border-bottom:#E1E1E1 solid 1px;color:#23282d}.acf-thead>li{font-size:14px;line-height:1.4em;font-family:"Open Sans",sans-serif;font-weight:bold}.acf-tfoot{background:#f5f5f5;border-top:#dddddd solid 1px}.acf-tfoot>li{color:#7A9BBE;font-size:12px;line-height:27px}.acf-settings-wrap #poststuff{padding-top:15px}.acf-settings-wrap .acf-box{margin:20px 0}.acf-settings-wrap table{margin:0}.acf-settings-wrap table .button{vertical-align:middle}.add-ons-list{margin:20px 0 0 -18px;max-width:960px}.add-ons-list .add-on{width:220px;margin:0 0 20px 18px;float:left}.add-ons-list .add-on .inner{min-height:90px}.add-ons-list .add-on-acf-pro{width:940px}.add-ons-list .add-on .thumbnail img{display:block}.add-ons-list .add-on h3 a{color:inherit;text-decoration:none}.add-ons-list .add-on h3{margin:0.5em 0}#acf-popup{position:fixed;z-index:900000;top:0;left:0;right:0;bottom:0;text-align:center}#acf-popup .bg{position:absolute;top:0;left:0;right:0;bottom:0;z-index:0;background:rgba(0,0,0,0.25)}#acf-popup:before{content:'';display:inline-block;height:100%;vertical-align:middle}#acf-popup .acf-popup-box{display:inline-block;vertical-align:middle;z-index:1;min-width:300px;min-height:160px;border-color:#aaaaaa;box-shadow:0 5px 30px -5px rgba(0,0,0,0.25);text-align:left}html[dir="rtl"] #acf-popup .acf-popup-box{text-align:right}#acf-popup .acf-popup-box .title{min-height:15px;line-height:15px}#acf-popup .acf-popup-box .title .acf-icon{position:absolute;top:10px;right:10px}html[dir="rtl"] #acf-popup .acf-popup-box .title .acf-icon{right:auto;left:10px}#acf-popup .acf-popup-box .inner{min-height:50px;padding:0;margin:15px}#acf-popup .acf-popup-box .loading{position:absolute;top:45px;left:0;right:0;bottom:0;z-index:2;background:rgba(0,0,0,0.1);display:none}#acf-popup .acf-popup-box .loading i{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.acf-submit{margin-bottom:0;line-height:28px}.acf-submit span{float:right;color:#999}.acf-submit span.-error{color:#dd4232}.acf-submit .button{margin-right:5px}#acf-upgrade-notice{position:relative;background:#fff;border-left:4px solid #00a0d2;padding:20px}#acf-upgrade-notice:after{display:block;clear:both;content:""}#acf-upgrade-notice .col-content{float:left;width:55%;padding-left:90px}#acf-upgrade-notice .col-actions{float:right;text-align:center;padding:10px}#acf-upgrade-notice img{float:left;width:70px;height:70px;margin:0 0 0 -90px}#acf-upgrade-notice h2{font-size:16px;margin:2px 0 6.5px}#acf-upgrade-notice p{padding:0;margin:0}#acf-upgrade-notice .button:before{margin-top:11px}@media screen and (max-width: 640px){#acf-upgrade-notice .col-content,#acf-upgrade-notice .col-actions{float:none;padding-left:90px;width:auto;text-align:left}}.acf-wrap h1{margin-top:0;padding-top:20px}.acf-wrap .about-text{margin-top:0.5em;min-height:50px}.acf-wrap .about-headline-callout{font-size:2.4em;font-weight:300;line-height:1.3;margin:1.1em 0 0.2em;text-align:center}.acf-wrap .feature-section{padding:40px 0}.acf-wrap .feature-section h2{margin-top:20px}.acf-wrap .changelog{list-style:disc;padding-left:15px}.acf-wrap .changelog li{margin:0 0 0.75em}.acf-wrap .acf-three-col{display:flex;flex-wrap:wrap;justify-content:space-between}.acf-wrap .acf-three-col>div{flex:1;align-self:flex-start;min-width:31%;max-width:31%}@media screen and (max-width: 880px){.acf-wrap .acf-three-col>div{min-width:48%}}@media screen and (max-width: 640px){.acf-wrap .acf-three-col>div{min-width:100%}}.acf-wrap .acf-three-col h3 .badge{display:inline-block;vertical-align:top;border-radius:5px;background:#fc9700;color:#fff;font-weight:normal;font-size:12px;padding:2px 5px}.acf-wrap .acf-three-col img+h3{margin-top:0.5em}.acf-hl[data-cols]{margin-left:-10px;margin-right:-10px}.acf-hl[data-cols]>li{padding:0 10px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.acf-hl[data-cols="2"]>li{width:50%}.acf-hl[data-cols="3"]>li{width:33.333%}.acf-hl[data-cols="4"]>li{width:25%}@media screen and (max-width: 640px){.acf-hl[data-cols]{margin-left:0;margin-right:0;margin-top:-10px}.acf-hl[data-cols]>li{width:100% !important;padding:10px 0 0}}.acf-actions{text-align:right;z-index:1}.acf-actions a{margin-left:4px}.acf-actions.-hover{position:absolute;display:none;top:0;right:0;padding:5px}html[dir="rtl"] .acf-actions a{margin-left:0;margin-right:4px}html[dir="rtl"] .acf-actions.-hover{right:auto;left:0}ul.acf-actions li{float:right;margin-left:4px}.acf-plugin-upgrade-notice{font-weight:normal;color:#fff;background:#d54d21;padding:1em;margin:9px 0}.acf-plugin-upgrade-notice:before{content:"\f348";display:inline-block;font:400 18px/1 dashicons;speak:none;margin:0 8px 0 -2px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top}.acf-plugin-upgrade-notice h4{display:none}.acf-plugin-upgrade-notice ul,.acf-plugin-upgrade-notice li{display:inline;color:inherit;list-style:none}.acf-plugin-upgrade-notice li:after{content:'. ';display:inline}html[dir="rtl"] .acf-fl{float:right}html[dir="rtl"] .acf-fr{float:left}html[dir="rtl"] .acf-hl>li{float:right}html[dir="rtl"] .acf-hl>li.acf-fr{float:left}html[dir="rtl"] .acf-icon.logo{left:0;right:auto}html[dir="rtl"] .acf-table thead th{text-align:right;border-right-width:1px;border-left-width:0px}html[dir="rtl"] .acf-table>tbody>tr>td{text-align:right;border-right-width:1px;border-left-width:0px}html[dir="rtl"] .acf-table>thead>tr>th:first-child,html[dir="rtl"] .acf-table>tbody>tr>td:first-child{border-right-width:0}html[dir="rtl"] .acf-table>tbody>tr>td.order+td{border-right-color:#e1e1e1}.acf-postbox-columns{position:relative;margin-top:-11px;margin-bottom:-11px;margin-left:-12px;margin-right:268px}.acf-postbox-columns:after{display:block;clear:both;content:""}.acf-postbox-columns .acf-postbox-main,.acf-postbox-columns .acf-postbox-side{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0 12px 12px}.acf-postbox-columns .acf-postbox-main{float:left;width:100%}.acf-postbox-columns .acf-postbox-side{float:right;width:280px;margin-right:-280px}.acf-postbox-columns .acf-postbox-side:before{content:"";display:block;position:absolute;width:1px;height:100%;top:0;right:0;background:#ebebeb}@media only screen and (max-width: 850px){.acf-postbox-columns{margin:0}.acf-postbox-columns .acf-postbox-main,.acf-postbox-columns .acf-postbox-side{float:none;width:auto;margin:0;padding:0}.acf-postbox-columns .acf-postbox-side{margin-top:1em}.acf-postbox-columns .acf-postbox-side:before{display:none}}.acf-panel{margin-top:-1px;border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7}.acf-panel .acf-panel-title{margin:0;padding:12px;font-weight:bold;cursor:pointer;font-size:inherit}.acf-panel .acf-panel-title i{float:right}.acf-panel .acf-panel-inside{margin:0;padding:0 12px 12px;display:none}.acf-panel.-open .acf-panel-inside{display:block}.postbox .acf-panel{margin-left:-12px;margin-right:-12px}.acf-panel .acf-field{margin:20px 0 0}.acf-panel .acf-field .acf-label label{color:#555d66;font-weight:normal}.acf-panel .acf-field:first-child{margin-top:0}#acf-admin-tools .notice{margin-top:10px}.acf-meta-box-wrap{margin-top:10px}.acf-meta-box-wrap .postbox{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.acf-meta-box-wrap .postbox .inside{margin-bottom:0}.acf-meta-box-wrap .postbox .hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}.acf-meta-box-wrap .postbox .handlediv{display:none}.acf-meta-box-wrap .acf-fields{border:#ebebeb solid 1px;background:#fafafa;border-radius:3px}.acf-meta-box-wrap.-grid{margin-left:8px;margin-right:8px}.acf-meta-box-wrap.-grid .postbox{float:left;clear:left;width:50%;margin:0 0 16px}.acf-meta-box-wrap.-grid .postbox:nth-child(odd){margin-left:-8px}.acf-meta-box-wrap.-grid .postbox:nth-child(even){float:right;clear:right;margin-right:-8px}@media only screen and (max-width: 850px){.acf-meta-box-wrap.-grid{margin-left:0;margin-right:0}.acf-meta-box-wrap.-grid .postbox{margin-left:0 !important;margin-right:0 !important;width:100%}}#acf-admin-tool-export p{max-width:800px}#acf-admin-tool-export ul{column-width:200px}#acf-admin-tool-export .acf-postbox-side .button{margin:0;width:100%}#acf-admin-tool-export textarea{display:block;width:100%;min-height:500px;background:#fafafa;box-shadow:none;padding:7px;border-radius:3px}#acf-admin-tool-export .acf-panel-selection .acf-label{display:none}@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx){.acf-loading,.acf-spinner{background-image:url(../images/spinner@2x.gif);background-size:20px 20px}}@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}}
|
1 |
+
.acf-hl{padding:0;margin:0;list-style:none;display:block;position:relative}.acf-hl>li{float:left;display:block;margin:0;padding:0}.acf-hl>li.acf-fr{float:right}.acf-hl:before,.acf-hl:after,.acf-bl:before,.acf-bl:after,.acf-cf:before,.acf-cf:after{content:"";display:block;line-height:0}.acf-hl:after,.acf-bl:after,.acf-cf:after{clear:both}.acf-bl{padding:0;margin:0;list-style:none;display:block;position:relative}.acf-bl>li{display:block;margin:0;padding:0;float:none}.acf-hidden{display:none !important}.acf-empty{display:table-cell !important}.acf-empty *{display:none !important}.acf-fl{float:left}.acf-fr{float:right}.acf-fn{float:none}.acf-al{text-align:left}.acf-ar{text-align:right}.acf-ac{text-align:center}.acf-loading,.acf-spinner{display:inline-block;height:20px;width:20px;vertical-align:text-top;background:transparent url(../images/spinner.gif) no-repeat 50% 50%}.acf-spinner{display:none}.acf-spinner.is-active{display:inline-block}.spinner.is-active{display:inline-block}.acf-required{color:#f00}.acf-soh .acf-soh-target{-webkit-transition:opacity 0.25s 0s ease-in-out, visibility 0s linear 0.25s;-moz-transition:opacity 0.25s 0s ease-in-out, visibility 0s linear 0.25s;-o-transition:opacity 0.25s 0s ease-in-out, visibility 0s linear 0.25s;transition:opacity 0.25s 0s ease-in-out, visibility 0s linear 0.25s;visibility:hidden;opacity:0}.acf-soh:hover .acf-soh-target{-webkit-transition-delay:0s;-moz-transition-delay:0s;-o-transition-delay:0s;transition-delay:0s;visibility:visible;opacity:1}.show-if-value{display:none}.hide-if-value{display:block}.has-value .show-if-value{display:block}.has-value .hide-if-value{display:none}.select2-search-choice-close{-webkit-transition:none;-moz-transition:none;-o-transition:none;transition:none}.acf-tooltip{background:#2F353E;border-radius:5px;color:#fff;padding:5px 10px;position:absolute;font-size:12px;line-height:1.4em;z-index:900000}.acf-tooltip:before{border:solid;border-color:transparent;border-width:6px;content:"";position:absolute}.acf-tooltip.top{margin-top:-8px}.acf-tooltip.top:before{top:100%;left:50%;margin-left:-6px;border-top-color:#2F353E;border-bottom-width:0}.acf-tooltip.right{margin-left:8px}.acf-tooltip.right:before{top:50%;margin-top:-6px;right:100%;border-right-color:#2F353E;border-left-width:0}.acf-tooltip.bottom{margin-top:8px}.acf-tooltip.bottom:before{bottom:100%;left:50%;margin-left:-6px;border-bottom-color:#2F353E;border-top-width:0}.acf-tooltip.left{margin-left:-8px}.acf-tooltip.left:before{top:50%;margin-top:-6px;left:100%;border-left-color:#2F353E;border-right-width:0}.acf-tooltip .acf-overlay{z-index:-1}.acf-tooltip.-confirm{z-index:900001}.acf-tooltip.-confirm a{text-decoration:none;color:#9ea3a8}.acf-tooltip.-confirm a:hover{text-decoration:underline}.acf-tooltip.-confirm a[data-event="confirm"]{color:#F55E4F}.acf-overlay{position:fixed;top:0;bottom:0;left:0;right:0;cursor:default}.acf-tooltip-target{position:relative;z-index:900002}.acf-loading-overlay{position:absolute;top:0;bottom:0;left:0;right:0;cursor:default;z-index:99;background:rgba(249,249,249,0.5)}.acf-loading-overlay i{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@font-face{font-family:'acf';src:url("../font/acf.eot?57601716");src:url("../font/acf.eot?57601716#iefix") format("embedded-opentype"),url("../font/acf.woff2?57601716") format("woff2"),url("../font/acf.woff?57601716") format("woff"),url("../font/acf.ttf?57601716") format("truetype"),url("../font/acf.svg?57601716#acf") format("svg");font-weight:normal;font-style:normal}.acf-icon:before{font-family:"acf";font-style:normal;font-weight:normal;speak:none;display:inline-block;text-decoration:inherit;width:1em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:relative}.acf-icon.-plus:before{content:'\e800'}.acf-icon.-minus:before{content:'\e801'}.acf-icon.-cancel:before{content:'\e802'}.acf-icon.-pencil:before{content:'\e803';top:-1px}.acf-icon.-location:before{content:'\e804'}.acf-icon.-down:before{content:'\e805';top:1px}.acf-icon.-left:before{content:'\e806';left:-1px}.acf-icon.-right:before{content:'\e807';left:1px}.acf-icon.-up:before{content:'\e808';top:-1px}.acf-icon.-sync:before{content:'\e809'}.acf-icon.-globe:before{content:'\e80a'}.acf-icon.-picture:before{content:'\e80b'}.acf-icon.-check:before{content:'\e80c'}.acf-icon.-dot-3:before{content:'\e80d'}.acf-icon.-arrow-combo:before{content:'\e80e'}.acf-icon.-arrow-up:before{content:'\e810';top:-1px}.acf-icon.-arrow-down:before{content:'\e80f';top:1px}.acf-icon.-search:before{content:'\e811'}.acf-icon.-link-ext:before{content:'\f08e'}.acf-icon.-collapse:before{content:'\e810';top:-1px}.-collapsed .acf-icon.-collapse:before{content:'\e80f';top:1px}.acf-icon{display:inline-block;height:26px;width:26px;border:transparent solid 1px;border-radius:100%;font-size:16px;line-height:26px;text-align:center;text-decoration:none;vertical-align:top;box-sizing:content-box}span.acf-icon{color:#999;border-color:#BBB;background-color:#fff}a.acf-icon{color:#555d66;border-color:#b5bcc2;background-color:#fff;position:relative;overflow:hidden;transition:none}a.acf-icon.-clear{color:#444;background:transparent;border:none}a.acf-icon.light{border:none;padding:1px;background:#F5F5F5;color:#23282d}a.acf-icon:hover{border-color:transparent;background:#2a9bd9;color:#fff}a.acf-icon:active{color:#fff;background-color:#238cc6}a.acf-icon:active,a.acf-icon:focus{outline:none;box-shadow:none}a.acf-icon.-minus:hover,a.acf-icon.-cancel:hover{background-color:#F55E4F}a.acf-icon.-minus:active,a.acf-icon.-cancel:active{background-color:#f44837}.acf-icon.-pencil{font-size:15px}.acf-icon.-location{font-size:18px}.acf-icon.small,.acf-icon.-small{width:18px;height:18px;line-height:18px;font-size:14px}.acf-icon.dark{border-color:transparent;background:#23282D;color:#eee}a.acf-icon.dark:hover{border-color:transparent;background:#191E23;color:#00b9eb}a.acf-icon.-minus.dark:hover,a.acf-icon.-cancel.dark:hover{color:#D54E21}.acf-icon.grey{border-color:transparent;background:#b4b9be;color:#fff}a.acf-icon.grey:hover{border-color:transparent;background:#00A0D2;color:#fff}a.acf-icon.-minus.grey:hover,a.acf-icon.-cancel.grey:hover{background:#32373C}.acf-icon.red{border-color:transparent;background-color:#F55E4F;color:#fff}.acf-icon.yellow{border-color:transparent;background-color:#FDBC40;color:#fff}.acf-icon.logo{width:150px;height:150px;background:#5EE8BF;border:0 none;position:absolute;right:0;top:0}.acf-box{background:#FFFFFF;border:1px solid #ccd0d4;position:relative;box-shadow:0 1px 1px rgba(0,0,0,0.04)}.acf-box .title{border-bottom:1px solid #ccd0d4;margin:0;padding:15px}.acf-box .title h3{font-size:14px;line-height:1em;margin:0;padding:0}.acf-box .inner{padding:15px}.acf-box h2{color:#333333;font-size:26px;line-height:1.25em;margin:0.25em 0 0.75em;padding:0}.acf-box h3{margin:1.5em 0 0}.acf-box p{margin-top:0.5em}.acf-box a{text-decoration:none}.acf-box i.dashicons-external{margin-top:-1px}.acf-box .footer{border-top:1px solid #ccd0d4;padding:12px;font-size:13px;line-height:1.5}.acf-box .footer p{margin:0}.acf-admin-3-8 .acf-box{border-color:#E5E5E5}.acf-admin-3-8 .acf-box .title,.acf-admin-3-8 .acf-box .footer{border-color:#E5E5E5}.acf-notice{position:relative;display:block;color:#fff;margin:5px 0 15px;padding:3px 12px;background:#2a9bd9;border-left:#2183b9 solid 4px}.acf-notice p{font-size:13px;line-height:1.5;margin:0.5em 0;text-shadow:none;color:inherit}.acf-notice a.acf-notice-dismiss{position:absolute;border-color:transparent;top:9px;right:12px;color:#fff;background:rgba(0,0,0,0.1)}.acf-notice a.acf-notice-dismiss:hover{background:rgba(0,0,0,0.2)}.acf-notice.-dismiss{padding-right:40px}.acf-notice.-error{background:#F55E4F;border-color:#f33b28}.acf-notice.-success{background:#46b450;border-color:#3b9743}.acf-notice.-warning{background:#fd8d3b;border-color:#fd7613}.acf-table{border:#ccd0d4 solid 1px;background:#fff;border-spacing:0;border-radius:0;table-layout:auto;padding:0;margin:0;width:100%;clear:both;box-sizing:content-box}.acf-table>tbody>tr>th,.acf-table>tbody>tr>td,.acf-table>thead>tr>th,.acf-table>thead>tr>td{padding:8px;vertical-align:top;background:#fff;text-align:left;border-style:solid;font-weight:normal}.acf-table>tbody>tr>th,.acf-table>thead>tr>th{position:relative;color:#333333}.acf-table>thead>tr>th{border-color:#d5d9dd;border-width:0 0 1px 1px}.acf-table>thead>tr>th:first-child{border-left-width:0}.acf-table>tbody>tr{z-index:1}.acf-table>tbody>tr>td{border-color:#eee;border-width:1px 0 0 1px}.acf-table>tbody>tr>td:first-child{border-left-width:0}.acf-table>tbody>tr:first-child>td{border-top-width:0}.acf-table.-clear{border:0 none}.acf-table.-clear>tbody>tr>td,.acf-table.-clear>tbody>tr>th,.acf-table.-clear>thead>tr>td,.acf-table.-clear>thead>tr>th{border:0 none;padding:4px}.acf-remove-element{-webkit-transition:all 0.25s ease-out;-moz-transition:all 0.25s ease-out;-o-transition:all 0.25s ease-out;transition:all 0.25s ease-out;transform:translate(50px, 0);opacity:0}.acf-fade-up{-webkit-transition:all 0.25s ease-out;-moz-transition:all 0.25s ease-out;-o-transition:all 0.25s ease-out;transition:all 0.25s ease-out;transform:translate(0, -10px);opacity:0}#acf-field-group-wrap .tablenav,#acf-field-group-wrap p.search-box{display:none}#acf-field-group-wrap .wp-list-table .column-acf-fg-description,#acf-field-group-wrap .wp-list-table .column-acf-fg-description:before{display:none !important}#acf-field-group-wrap .wp-list-table .column-acf-fg-count{width:10%}#acf-field-group-wrap .wp-list-table .column-acf-fg-status{width:10%}#acf-field-group-wrap .tablenav.bottom{display:block}#acf-field-group-wrap .acf-description{font-weight:normal;font-size:13px;color:#999;margin-left:7px;font-style:italic}#acf-field-group-wrap .subsubsub{margin-bottom:3px}#acf-field-group-wrap .subsubsub ul{margin:0}#acf-field-group-wrap .subsubsub+.subsubsub{margin-top:0}#acf-field-group-wrap .subsubsub a:focus{box-shadow:none}.acf-columns-2{margin-right:300px;clear:both}.acf-columns-2:after{display:block;clear:both;content:""}html[dir="rtl"] .acf-columns-2{margin-right:0;margin-left:300px}.acf-columns-2 .acf-column-1{float:left;width:100%}html[dir="rtl"] .acf-columns-2 .acf-column-1{float:right}.acf-columns-2 .acf-column-2{float:right;margin-right:-300px;width:280px}html[dir="rtl"] .acf-columns-2 .acf-column-2{float:left;margin-right:0;margin-left:-300px}#acf-field-group-wrap .search-box:after{display:block;content:"";height:5px}.acf-clear{clear:both}@media screen and (max-width: 782px){#acf-field-group-wrap #the-list .acf-icon:after{content:attr(title);position:absolute;margin-left:5px;font-size:13px;line-height:18px;font-style:normal;color:#444}}.acf-thead,.acf-tbody,.acf-tfoot{width:100%;padding:0;margin:0}.acf-thead>li,.acf-tbody>li,.acf-tfoot>li{box-sizing:border-box;padding:8px 12px;font-size:12px;line-height:14px}.acf-thead{border-bottom:#ccd0d4 solid 1px;color:#23282d}.acf-thead>li{font-size:14px;line-height:1.4;font-weight:bold}.acf-admin-3-8 .acf-thead{border-color:#dfdfdf}.acf-tfoot{background:#f5f5f5;border-top:#d5d9dd solid 1px}.acf-settings-wrap #poststuff{padding-top:15px}.acf-settings-wrap .acf-box{margin:20px 0}.acf-settings-wrap table{margin:0}.acf-settings-wrap table .button{vertical-align:middle}#acf-popup{position:fixed;z-index:900000;top:0;left:0;right:0;bottom:0;text-align:center}#acf-popup .bg{position:absolute;top:0;left:0;right:0;bottom:0;z-index:0;background:rgba(0,0,0,0.25)}#acf-popup:before{content:'';display:inline-block;height:100%;vertical-align:middle}#acf-popup .acf-popup-box{display:inline-block;vertical-align:middle;z-index:1;min-width:300px;min-height:160px;border-color:#aaaaaa;box-shadow:0 5px 30px -5px rgba(0,0,0,0.25);text-align:left}html[dir="rtl"] #acf-popup .acf-popup-box{text-align:right}#acf-popup .acf-popup-box .title{min-height:15px;line-height:15px}#acf-popup .acf-popup-box .title .acf-icon{position:absolute;top:10px;right:10px}html[dir="rtl"] #acf-popup .acf-popup-box .title .acf-icon{right:auto;left:10px}#acf-popup .acf-popup-box .inner{min-height:50px;padding:0;margin:15px}#acf-popup .acf-popup-box .loading{position:absolute;top:45px;left:0;right:0;bottom:0;z-index:2;background:rgba(0,0,0,0.1);display:none}#acf-popup .acf-popup-box .loading i{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.acf-submit{margin-bottom:0;line-height:28px}.acf-submit span{float:right;color:#999}.acf-submit span.-error{color:#dd4232}.acf-submit .button{margin-right:5px}#acf-upgrade-notice{position:relative;background:#fff;border-left:4px solid #00a0d2;padding:20px}#acf-upgrade-notice:after{display:block;clear:both;content:""}#acf-upgrade-notice .col-content{float:left;width:55%;padding-left:90px}#acf-upgrade-notice .col-actions{float:right;text-align:center;padding:10px}#acf-upgrade-notice img{float:left;width:70px;height:70px;margin:0 0 0 -90px}#acf-upgrade-notice h2{font-size:16px;margin:2px 0 6.5px}#acf-upgrade-notice p{padding:0;margin:0}#acf-upgrade-notice .button:before{margin-top:11px}@media screen and (max-width: 640px){#acf-upgrade-notice .col-content,#acf-upgrade-notice .col-actions{float:none;padding-left:90px;width:auto;text-align:left}}.acf-wrap h1{margin-top:0;padding-top:20px}.acf-wrap .about-text{margin-top:0.5em;min-height:50px}.acf-wrap .about-headline-callout{font-size:2.4em;font-weight:300;line-height:1.3;margin:1.1em 0 0.2em;text-align:center}.acf-wrap .feature-section{padding:40px 0}.acf-wrap .feature-section h2{margin-top:20px}.acf-wrap .changelog{list-style:disc;padding-left:15px}.acf-wrap .changelog li{margin:0 0 0.75em}.acf-wrap .acf-three-col{display:flex;flex-wrap:wrap;justify-content:space-between}.acf-wrap .acf-three-col>div{flex:1;align-self:flex-start;min-width:31%;max-width:31%}@media screen and (max-width: 880px){.acf-wrap .acf-three-col>div{min-width:48%}}@media screen and (max-width: 640px){.acf-wrap .acf-three-col>div{min-width:100%}}.acf-wrap .acf-three-col h3 .badge{display:inline-block;vertical-align:top;border-radius:5px;background:#fc9700;color:#fff;font-weight:normal;font-size:12px;padding:2px 5px}.acf-wrap .acf-three-col img+h3{margin-top:0.5em}.acf-hl[data-cols]{margin-left:-10px;margin-right:-10px}.acf-hl[data-cols]>li{padding:0 10px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.acf-hl[data-cols="2"]>li{width:50%}.acf-hl[data-cols="3"]>li{width:33.333%}.acf-hl[data-cols="4"]>li{width:25%}@media screen and (max-width: 640px){.acf-hl[data-cols]{margin-left:0;margin-right:0;margin-top:-10px}.acf-hl[data-cols]>li{width:100% !important;padding:10px 0 0}}.acf-actions{text-align:right;z-index:1}.acf-actions a{margin-left:4px}.acf-actions.-hover{position:absolute;display:none;top:0;right:0;padding:5px}html[dir="rtl"] .acf-actions a{margin-left:0;margin-right:4px}html[dir="rtl"] .acf-actions.-hover{right:auto;left:0}ul.acf-actions li{float:right;margin-left:4px}.acf-plugin-upgrade-notice{font-weight:normal;color:#fff;background:#d54d21;padding:1em;margin:9px 0}.acf-plugin-upgrade-notice:before{content:"\f348";display:inline-block;font:400 18px/1 dashicons;speak:none;margin:0 8px 0 -2px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top}.acf-plugin-upgrade-notice h4{display:none}.acf-plugin-upgrade-notice ul,.acf-plugin-upgrade-notice li{display:inline;color:inherit;list-style:none}.acf-plugin-upgrade-notice li:after{content:'. ';display:inline}html[dir="rtl"] .acf-fl{float:right}html[dir="rtl"] .acf-fr{float:left}html[dir="rtl"] .acf-hl>li{float:right}html[dir="rtl"] .acf-hl>li.acf-fr{float:left}html[dir="rtl"] .acf-icon.logo{left:0;right:auto}html[dir="rtl"] .acf-table thead th{text-align:right;border-right-width:1px;border-left-width:0px}html[dir="rtl"] .acf-table>tbody>tr>td{text-align:right;border-right-width:1px;border-left-width:0px}html[dir="rtl"] .acf-table>thead>tr>th:first-child,html[dir="rtl"] .acf-table>tbody>tr>td:first-child{border-right-width:0}html[dir="rtl"] .acf-table>tbody>tr>td.order+td{border-right-color:#e1e1e1}.acf-postbox-columns{position:relative;margin-top:-11px;margin-bottom:-12px;margin-left:-12px;margin-right:268px}.acf-postbox-columns:after{display:block;clear:both;content:""}.acf-postbox-columns .acf-postbox-main,.acf-postbox-columns .acf-postbox-side{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0 12px 12px}.acf-postbox-columns .acf-postbox-main{float:left;width:100%}.acf-postbox-columns .acf-postbox-side{float:right;width:280px;margin-right:-280px}.acf-postbox-columns .acf-postbox-side:before{content:"";display:block;position:absolute;width:1px;height:100%;top:0;right:0;background:#d5d9dd}.acf-admin-3-8 .acf-postbox-columns .acf-postbox-side:before{background:#dfdfdf}@media only screen and (max-width: 850px){.acf-postbox-columns{margin:0}.acf-postbox-columns .acf-postbox-main,.acf-postbox-columns .acf-postbox-side{float:none;width:auto;margin:0;padding:0}.acf-postbox-columns .acf-postbox-side{margin-top:1em}.acf-postbox-columns .acf-postbox-side:before{display:none}}.acf-panel{margin-top:-1px;border-top:1px solid #d5d9dd;border-bottom:1px solid #d5d9dd}.acf-panel .acf-panel-title{margin:0;padding:12px;font-weight:bold;cursor:pointer;font-size:inherit}.acf-panel .acf-panel-title i{float:right}.acf-panel .acf-panel-inside{margin:0;padding:0 12px 12px;display:none}.acf-panel.-open .acf-panel-inside{display:block}.postbox .acf-panel{margin-left:-12px;margin-right:-12px}.acf-panel .acf-field{margin:20px 0 0}.acf-panel .acf-field .acf-label label{color:#555d66;font-weight:normal}.acf-panel .acf-field:first-child{margin-top:0}.acf-admin-3-8 .acf-panel{border-color:#dfdfdf}#acf-admin-tools .notice{margin-top:10px}.acf-meta-box-wrap{margin-top:10px}.acf-meta-box-wrap .postbox{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.acf-meta-box-wrap .postbox .inside{margin-bottom:0}.acf-meta-box-wrap .postbox .hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4;position:relative;z-index:1}.acf-meta-box-wrap .postbox .handlediv{display:none}.acf-meta-box-wrap .acf-fields{border:#ebebeb solid 1px;background:#fafafa;border-radius:3px}.acf-meta-box-wrap.-grid{margin-left:8px;margin-right:8px}.acf-meta-box-wrap.-grid .postbox{float:left;clear:left;width:50%;margin:0 0 16px}.acf-meta-box-wrap.-grid .postbox:nth-child(odd){margin-left:-8px}.acf-meta-box-wrap.-grid .postbox:nth-child(even){float:right;clear:right;margin-right:-8px}@media only screen and (max-width: 850px){.acf-meta-box-wrap.-grid{margin-left:0;margin-right:0}.acf-meta-box-wrap.-grid .postbox{margin-left:0 !important;margin-right:0 !important;width:100%}}#acf-admin-tool-export p{max-width:800px}#acf-admin-tool-export ul{column-width:200px}#acf-admin-tool-export .acf-postbox-side .button{margin:0;width:100%}#acf-admin-tool-export textarea{display:block;width:100%;min-height:500px;background:#fafafa;box-shadow:none;padding:7px;border-radius:3px}#acf-admin-tool-export .acf-panel-selection .acf-label{display:none}@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx){.acf-loading,.acf-spinner{background-image:url(../images/spinner@2x.gif);background-size:20px 20px}}@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}}
|
assets/css/acf-input.css
CHANGED
@@ -1,2335 +1 @@
|
|
1 |
-
/*--------------------------------------------------------------------------------------------
|
2 |
-
*
|
3 |
-
* Vars
|
4 |
-
*
|
5 |
-
*--------------------------------------------------------------------------------------------*/
|
6 |
-
/* colors */
|
7 |
-
/* acf-field */
|
8 |
-
/* responsive */
|
9 |
-
/*--------------------------------------------------------------------------------------------
|
10 |
-
*
|
11 |
-
* Mixins
|
12 |
-
*
|
13 |
-
*--------------------------------------------------------------------------------------------*/
|
14 |
-
/*--------------------------------------------------------------------------------------------
|
15 |
-
*
|
16 |
-
* acf-field
|
17 |
-
*
|
18 |
-
*--------------------------------------------------------------------------------------------*/
|
19 |
-
.acf-field,
|
20 |
-
.acf-field .acf-label,
|
21 |
-
.acf-field .acf-input {
|
22 |
-
-webkit-box-sizing: border-box;
|
23 |
-
-moz-box-sizing: border-box;
|
24 |
-
box-sizing: border-box;
|
25 |
-
position: relative; }
|
26 |
-
|
27 |
-
.acf-field {
|
28 |
-
margin: 15px 0;
|
29 |
-
clear: both; }
|
30 |
-
.acf-field p.description {
|
31 |
-
display: block;
|
32 |
-
margin: 0;
|
33 |
-
padding: 0; }
|
34 |
-
.acf-field .acf-label {
|
35 |
-
vertical-align: top;
|
36 |
-
margin: 0 0 10px; }
|
37 |
-
.acf-field .acf-label label {
|
38 |
-
display: block;
|
39 |
-
font-weight: bold;
|
40 |
-
margin: 0 0 3px;
|
41 |
-
padding: 0; }
|
42 |
-
.acf-field .acf-label:empty {
|
43 |
-
margin-bottom: 0; }
|
44 |
-
.acf-field .acf-input {
|
45 |
-
vertical-align: top; }
|
46 |
-
.acf-field .acf-input > p.description {
|
47 |
-
margin-top: 5px; }
|
48 |
-
.acf-field .acf-notice {
|
49 |
-
margin: 0 0 15px;
|
50 |
-
background: #edf2ff;
|
51 |
-
color: #2183b9;
|
52 |
-
border: none; }
|
53 |
-
.acf-field .acf-notice .acf-notice-dismiss {
|
54 |
-
background: transparent;
|
55 |
-
color: inherit; }
|
56 |
-
.acf-field .acf-notice .acf-notice-dismiss:hover {
|
57 |
-
background: #fff; }
|
58 |
-
.acf-field .acf-notice.-dismiss {
|
59 |
-
padding-right: 40px; }
|
60 |
-
.acf-field .acf-notice.-error {
|
61 |
-
background: #ffe6e6;
|
62 |
-
color: #d12626; }
|
63 |
-
.acf-field .acf-notice.-success {
|
64 |
-
background: #eefbe8;
|
65 |
-
color: #32a23b; }
|
66 |
-
.acf-field .acf-notice.-warning {
|
67 |
-
background: #fff3e6;
|
68 |
-
color: #d16226; }
|
69 |
-
td.acf-field, tr.acf-field {
|
70 |
-
margin: 0; }
|
71 |
-
|
72 |
-
.acf-field[data-width] {
|
73 |
-
float: left;
|
74 |
-
clear: none;
|
75 |
-
/*
|
76 |
-
@media screen and (max-width: $sm) {
|
77 |
-
float: none;
|
78 |
-
width: auto;
|
79 |
-
border-left-width: 0;
|
80 |
-
border-right-width: 0;
|
81 |
-
}
|
82 |
-
*/ }
|
83 |
-
.acf-field[data-width] + .acf-field[data-width] {
|
84 |
-
border-left: 1px solid #eeeeee; }
|
85 |
-
html[dir="rtl"] .acf-field[data-width] {
|
86 |
-
float: right; }
|
87 |
-
html[dir="rtl"] .acf-field[data-width] + .acf-field[data-width] {
|
88 |
-
border-left: none;
|
89 |
-
border-right: 1px solid #eeeeee; }
|
90 |
-
td.acf-field[data-width], tr.acf-field[data-width] {
|
91 |
-
float: none; }
|
92 |
-
|
93 |
-
.acf-field.-c0 {
|
94 |
-
clear: both;
|
95 |
-
border-left-width: 0 !important; }
|
96 |
-
html[dir="rtl"] .acf-field.-c0 {
|
97 |
-
border-left-width: 1px !important;
|
98 |
-
border-right-width: 0 !important; }
|
99 |
-
|
100 |
-
.acf-field.-r0 {
|
101 |
-
border-top-width: 0 !important; }
|
102 |
-
|
103 |
-
/*--------------------------------------------------------------------------------------------
|
104 |
-
*
|
105 |
-
* acf-fields
|
106 |
-
*
|
107 |
-
*--------------------------------------------------------------------------------------------*/
|
108 |
-
.acf-fields {
|
109 |
-
position: relative; }
|
110 |
-
.acf-fields:after {
|
111 |
-
display: block;
|
112 |
-
clear: both;
|
113 |
-
content: ""; }
|
114 |
-
.acf-fields.-border {
|
115 |
-
border: #dfdfdf solid 1px;
|
116 |
-
background: #fff; }
|
117 |
-
.acf-fields > .acf-field {
|
118 |
-
position: relative;
|
119 |
-
margin: 0;
|
120 |
-
padding: 15px 12px;
|
121 |
-
border-top: #EEEEEE solid 1px; }
|
122 |
-
.acf-fields > .acf-field:first-child {
|
123 |
-
border-top-width: 0; }
|
124 |
-
td.acf-fields {
|
125 |
-
padding: 0 !important; }
|
126 |
-
|
127 |
-
/*--------------------------------------------------------------------------------------------
|
128 |
-
*
|
129 |
-
* acf-fields (clear)
|
130 |
-
*
|
131 |
-
*--------------------------------------------------------------------------------------------*/
|
132 |
-
.acf-fields.-clear > .acf-field {
|
133 |
-
border: none;
|
134 |
-
padding: 0;
|
135 |
-
margin: 15px 0; }
|
136 |
-
.acf-fields.-clear > .acf-field[data-width] {
|
137 |
-
border: none !important; }
|
138 |
-
.acf-fields.-clear > .acf-field > .acf-label {
|
139 |
-
padding: 0; }
|
140 |
-
.acf-fields.-clear > .acf-field > .acf-input {
|
141 |
-
padding: 0; }
|
142 |
-
|
143 |
-
/*--------------------------------------------------------------------------------------------
|
144 |
-
*
|
145 |
-
* acf-fields (left)
|
146 |
-
*
|
147 |
-
*--------------------------------------------------------------------------------------------*/
|
148 |
-
.acf-fields.-left > .acf-field {
|
149 |
-
padding: 15px 0; }
|
150 |
-
.acf-fields.-left > .acf-field:after {
|
151 |
-
display: block;
|
152 |
-
clear: both;
|
153 |
-
content: ""; }
|
154 |
-
.acf-fields.-left > .acf-field:before {
|
155 |
-
content: "";
|
156 |
-
display: block;
|
157 |
-
position: absolute;
|
158 |
-
z-index: 0;
|
159 |
-
background: #F9F9F9;
|
160 |
-
border-color: #E1E1E1;
|
161 |
-
border-style: solid;
|
162 |
-
border-width: 0 1px 0 0;
|
163 |
-
top: 0;
|
164 |
-
bottom: 0;
|
165 |
-
left: 0;
|
166 |
-
width: 20%; }
|
167 |
-
.acf-fields.-left > .acf-field[data-width] {
|
168 |
-
float: none;
|
169 |
-
width: auto !important;
|
170 |
-
border-left-width: 0 !important;
|
171 |
-
border-right-width: 0 !important; }
|
172 |
-
.acf-fields.-left > .acf-field > .acf-label {
|
173 |
-
float: left;
|
174 |
-
width: 20%;
|
175 |
-
margin: 0;
|
176 |
-
padding: 0 12px; }
|
177 |
-
.acf-fields.-left > .acf-field > .acf-input {
|
178 |
-
float: left;
|
179 |
-
width: 80%;
|
180 |
-
margin: 0;
|
181 |
-
padding: 0 12px; }
|
182 |
-
html[dir="rtl"] .acf-fields.-left > .acf-field:before {
|
183 |
-
border-width: 0 0 0 1px;
|
184 |
-
left: auto;
|
185 |
-
right: 0; }
|
186 |
-
html[dir="rtl"] .acf-fields.-left > .acf-field > .acf-label {
|
187 |
-
float: right; }
|
188 |
-
html[dir="rtl"] .acf-fields.-left > .acf-field > .acf-input {
|
189 |
-
float: right; }
|
190 |
-
@media screen and (max-width: 640px) {
|
191 |
-
.acf-fields.-left > .acf-field:before {
|
192 |
-
display: none; }
|
193 |
-
.acf-fields.-left > .acf-field > .acf-label {
|
194 |
-
width: 100%;
|
195 |
-
margin-bottom: 10px; }
|
196 |
-
.acf-fields.-left > .acf-field > .acf-input {
|
197 |
-
width: 100%; } }
|
198 |
-
|
199 |
-
/* clear + left */
|
200 |
-
.acf-fields.-clear.-left > .acf-field {
|
201 |
-
padding: 0;
|
202 |
-
border: none; }
|
203 |
-
.acf-fields.-clear.-left > .acf-field:before {
|
204 |
-
display: none; }
|
205 |
-
.acf-fields.-clear.-left > .acf-field > .acf-label {
|
206 |
-
padding: 0; }
|
207 |
-
.acf-fields.-clear.-left > .acf-field > .acf-input {
|
208 |
-
padding: 0; }
|
209 |
-
|
210 |
-
/*--------------------------------------------------------------------------------------------
|
211 |
-
*
|
212 |
-
* acf-table
|
213 |
-
*
|
214 |
-
*--------------------------------------------------------------------------------------------*/
|
215 |
-
.acf-table tr.acf-field > td.acf-label {
|
216 |
-
padding: 15px 12px;
|
217 |
-
margin: 0;
|
218 |
-
background: #F9F9F9;
|
219 |
-
width: 20%; }
|
220 |
-
|
221 |
-
.acf-table tr.acf-field > td.acf-input {
|
222 |
-
padding: 15px 12px;
|
223 |
-
margin: 0;
|
224 |
-
border-left-color: #E1E1E1; }
|
225 |
-
|
226 |
-
.acf-sortable-tr-helper {
|
227 |
-
position: relative !important;
|
228 |
-
display: table-row !important; }
|
229 |
-
|
230 |
-
/*--------------------------------------------------------------------------------------------
|
231 |
-
*
|
232 |
-
* acf-postbox
|
233 |
-
*
|
234 |
-
*--------------------------------------------------------------------------------------------*/
|
235 |
-
.acf-postbox {
|
236 |
-
position: relative; }
|
237 |
-
.acf-postbox > .inside {
|
238 |
-
margin: 0 !important;
|
239 |
-
/* override WP style - do not delete - you have tried this before */
|
240 |
-
padding: 0 !important;
|
241 |
-
/* override WP style - do not delete - you have tried this before */ }
|
242 |
-
.acf-postbox > .hndle {
|
243 |
-
/* edit field group */ }
|
244 |
-
.acf-postbox > .hndle .acf-hndle-cog {
|
245 |
-
color: #AAAAAA;
|
246 |
-
font-size: 16px;
|
247 |
-
line-height: 20px;
|
248 |
-
padding: 0 2px;
|
249 |
-
float: right;
|
250 |
-
position: relative;
|
251 |
-
display: none; }
|
252 |
-
.acf-postbox > .hndle .acf-hndle-cog:hover {
|
253 |
-
color: #777777; }
|
254 |
-
.acf-postbox:hover > .hndle .acf-hndle-cog {
|
255 |
-
display: block; }
|
256 |
-
.acf-postbox .acf-replace-with-fields {
|
257 |
-
padding: 15px;
|
258 |
-
text-align: center; }
|
259 |
-
|
260 |
-
#post-body-content #acf_after_title-sortables {
|
261 |
-
margin: 20px 0 -20px; }
|
262 |
-
|
263 |
-
/* seamless */
|
264 |
-
.acf-postbox.seamless {
|
265 |
-
border: 0 none;
|
266 |
-
background: transparent;
|
267 |
-
box-shadow: none;
|
268 |
-
/* hide hndle */
|
269 |
-
/* inside */ }
|
270 |
-
.acf-postbox.seamless > .hndle,
|
271 |
-
.acf-postbox.seamless > .handlediv {
|
272 |
-
display: none !important; }
|
273 |
-
.acf-postbox.seamless > .inside {
|
274 |
-
display: block !important;
|
275 |
-
/* stop metabox from hiding when closed */
|
276 |
-
margin-left: -12px !important;
|
277 |
-
margin-right: -12px !important; }
|
278 |
-
.acf-postbox.seamless > .inside > .acf-field {
|
279 |
-
border-color: transparent; }
|
280 |
-
|
281 |
-
/* seamless (left) */
|
282 |
-
.acf-postbox.seamless > .acf-fields.-left {
|
283 |
-
/* hide sidebar bg */
|
284 |
-
/* mobile */ }
|
285 |
-
.acf-postbox.seamless > .acf-fields.-left > .acf-field:before {
|
286 |
-
display: none; }
|
287 |
-
@media screen and (max-width: 782px) {
|
288 |
-
.acf-postbox.seamless > .acf-fields.-left {
|
289 |
-
/* remove padding */ }
|
290 |
-
.acf-postbox.seamless > .acf-fields.-left > .acf-field > .acf-label,
|
291 |
-
.acf-postbox.seamless > .acf-fields.-left > .acf-field > .acf-input {
|
292 |
-
padding: 0; } }
|
293 |
-
|
294 |
-
/*---------------------------------------------------------------------------------------------
|
295 |
-
*
|
296 |
-
* Inputs
|
297 |
-
*
|
298 |
-
*---------------------------------------------------------------------------------------------*/
|
299 |
-
.acf-field input[type="text"],
|
300 |
-
.acf-field input[type="password"],
|
301 |
-
.acf-field input[type="number"],
|
302 |
-
.acf-field input[type="search"],
|
303 |
-
.acf-field input[type="email"],
|
304 |
-
.acf-field input[type="url"],
|
305 |
-
.acf-field textarea,
|
306 |
-
.acf-field select {
|
307 |
-
width: 100%;
|
308 |
-
padding: 3px 5px;
|
309 |
-
resize: none;
|
310 |
-
margin: 0;
|
311 |
-
-webkit-box-sizing: border-box;
|
312 |
-
-moz-box-sizing: border-box;
|
313 |
-
box-sizing: border-box;
|
314 |
-
font-size: 14px;
|
315 |
-
line-height: 1.4; }
|
316 |
-
.acf-field input[type="text"]:disabled,
|
317 |
-
.acf-field input[type="password"]:disabled,
|
318 |
-
.acf-field input[type="number"]:disabled,
|
319 |
-
.acf-field input[type="search"]:disabled,
|
320 |
-
.acf-field input[type="email"]:disabled,
|
321 |
-
.acf-field input[type="url"]:disabled,
|
322 |
-
.acf-field textarea:disabled,
|
323 |
-
.acf-field select:disabled {
|
324 |
-
background: #f8f8f8; }
|
325 |
-
.acf-field input[type="text"][readonly],
|
326 |
-
.acf-field input[type="password"][readonly],
|
327 |
-
.acf-field input[type="number"][readonly],
|
328 |
-
.acf-field input[type="search"][readonly],
|
329 |
-
.acf-field input[type="email"][readonly],
|
330 |
-
.acf-field input[type="url"][readonly],
|
331 |
-
.acf-field textarea[readonly],
|
332 |
-
.acf-field select[readonly] {
|
333 |
-
background: #f8f8f8; }
|
334 |
-
|
335 |
-
.acf-field textarea {
|
336 |
-
resize: vertical; }
|
337 |
-
|
338 |
-
/*---------------------------------------------------------------------------------------------
|
339 |
-
*
|
340 |
-
* Text
|
341 |
-
*
|
342 |
-
*---------------------------------------------------------------------------------------------*/
|
343 |
-
.acf-input-prepend,
|
344 |
-
.acf-input-append,
|
345 |
-
.acf-input-wrap {
|
346 |
-
box-sizing: border-box; }
|
347 |
-
|
348 |
-
.acf-input-prepend,
|
349 |
-
.acf-input-append {
|
350 |
-
font-size: 13px;
|
351 |
-
line-height: 20px;
|
352 |
-
padding: 3px 7px;
|
353 |
-
background: #F4F4F4;
|
354 |
-
border: #DFDFDF solid 1px; }
|
355 |
-
|
356 |
-
.acf-input-prepend {
|
357 |
-
float: left;
|
358 |
-
border-right-width: 0;
|
359 |
-
border-radius: 3px 0 0 3px; }
|
360 |
-
|
361 |
-
.acf-input-append {
|
362 |
-
float: right;
|
363 |
-
border-left-width: 0;
|
364 |
-
border-radius: 0 3px 3px 0; }
|
365 |
-
|
366 |
-
.acf-input-wrap {
|
367 |
-
position: relative;
|
368 |
-
overflow: hidden; }
|
369 |
-
.acf-input-wrap input {
|
370 |
-
height: 28px;
|
371 |
-
margin: 0; }
|
372 |
-
|
373 |
-
input.acf-is-prepended {
|
374 |
-
border-radius: 0 3px 3px 0 !important; }
|
375 |
-
|
376 |
-
input.acf-is-appended {
|
377 |
-
border-radius: 3px 0 0 3px !important; }
|
378 |
-
|
379 |
-
input.acf-is-prepended.acf-is-appended {
|
380 |
-
border-radius: 0 !important; }
|
381 |
-
|
382 |
-
/* rtl */
|
383 |
-
html[dir="rtl"] .acf-input-prepend {
|
384 |
-
border-left-width: 0;
|
385 |
-
border-right-width: 1px;
|
386 |
-
border-radius: 0 3px 3px 0;
|
387 |
-
float: right; }
|
388 |
-
|
389 |
-
html[dir="rtl"] .acf-input-append {
|
390 |
-
border-left-width: 1px;
|
391 |
-
border-right-width: 0;
|
392 |
-
border-radius: 3px 0 0 3px;
|
393 |
-
float: left; }
|
394 |
-
|
395 |
-
html[dir="rtl"] input.acf-is-prepended {
|
396 |
-
border-radius: 3px 0 0 3px !important; }
|
397 |
-
|
398 |
-
html[dir="rtl"] input.acf-is-appended {
|
399 |
-
border-radius: 0 3px 3px 0 !important; }
|
400 |
-
|
401 |
-
html[dir="rtl"] input.acf-is-prepended.acf-is-appended {
|
402 |
-
border-radius: 0 !important; }
|
403 |
-
|
404 |
-
/*---------------------------------------------------------------------------------------------
|
405 |
-
*
|
406 |
-
* Color Picker
|
407 |
-
*
|
408 |
-
*---------------------------------------------------------------------------------------------*/
|
409 |
-
.acf-color-picker .wp-picker-active {
|
410 |
-
position: relative;
|
411 |
-
z-index: 1; }
|
412 |
-
|
413 |
-
/*---------------------------------------------------------------------------------------------
|
414 |
-
*
|
415 |
-
* Url
|
416 |
-
*
|
417 |
-
*---------------------------------------------------------------------------------------------*/
|
418 |
-
.acf-url i {
|
419 |
-
position: absolute;
|
420 |
-
top: 4px;
|
421 |
-
left: 4px;
|
422 |
-
opacity: 0.5;
|
423 |
-
color: #A9A9A9; }
|
424 |
-
|
425 |
-
.acf-url input[type="url"] {
|
426 |
-
padding-left: 25px; }
|
427 |
-
|
428 |
-
.acf-url.-valid i {
|
429 |
-
opacity: 1; }
|
430 |
-
|
431 |
-
/*---------------------------------------------------------------------------------------------
|
432 |
-
*
|
433 |
-
* Select
|
434 |
-
*
|
435 |
-
*---------------------------------------------------------------------------------------------*/
|
436 |
-
.acf-field select {
|
437 |
-
padding: 2px; }
|
438 |
-
|
439 |
-
.acf-field select optgroup {
|
440 |
-
padding: 5px;
|
441 |
-
background: #fff; }
|
442 |
-
|
443 |
-
.acf-field select option {
|
444 |
-
padding: 3px; }
|
445 |
-
|
446 |
-
.acf-field select optgroup option {
|
447 |
-
padding-left: 5px; }
|
448 |
-
|
449 |
-
.acf-field select optgroup:nth-child(2n) {
|
450 |
-
background: #F9F9F9; }
|
451 |
-
|
452 |
-
.acf-field .select2-input {
|
453 |
-
max-width: 200px; }
|
454 |
-
|
455 |
-
/*---------------------------------------------------------------------------------------------
|
456 |
-
*
|
457 |
-
* Select2 (v3)
|
458 |
-
*
|
459 |
-
*---------------------------------------------------------------------------------------------*/
|
460 |
-
.select2-container.-acf {
|
461 |
-
/* open */
|
462 |
-
/* single open */ }
|
463 |
-
.select2-container.-acf .select2-choices {
|
464 |
-
background: #fff;
|
465 |
-
border-color: #ddd;
|
466 |
-
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07) inset;
|
467 |
-
min-height: 31px; }
|
468 |
-
.select2-container.-acf .select2-choices .select2-search-choice {
|
469 |
-
margin: 5px 0 5px 5px;
|
470 |
-
padding: 3px 5px 3px 18px;
|
471 |
-
border-color: #bbb;
|
472 |
-
background: #f9f9f9;
|
473 |
-
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset;
|
474 |
-
/* sortable item*/
|
475 |
-
/* sortable shadow */ }
|
476 |
-
.select2-container.-acf .select2-choices .select2-search-choice.ui-sortable-helper {
|
477 |
-
background: #5897fb;
|
478 |
-
border-color: #3f87fa;
|
479 |
-
color: #fff;
|
480 |
-
box-shadow: 0 0 3px rgba(0, 0, 0, 0.1); }
|
481 |
-
.select2-container.-acf .select2-choices .select2-search-choice.ui-sortable-helper a {
|
482 |
-
visibility: hidden; }
|
483 |
-
.select2-container.-acf .select2-choices .select2-search-choice.ui-sortable-placeholder {
|
484 |
-
background-color: #f7f7f7;
|
485 |
-
border-color: #f7f7f7;
|
486 |
-
visibility: visible !important; }
|
487 |
-
.select2-container.-acf .select2-choices .select2-search-choice-focus {
|
488 |
-
border-color: #999; }
|
489 |
-
.select2-container.-acf .select2-choices .select2-search-field input {
|
490 |
-
height: 31px;
|
491 |
-
line-height: 22px;
|
492 |
-
margin: 0;
|
493 |
-
padding: 5px 5px 5px 7px; }
|
494 |
-
.select2-container.-acf .select2-choice {
|
495 |
-
border-color: #BBBBBB; }
|
496 |
-
.select2-container.-acf .select2-choice .select2-arrow {
|
497 |
-
background: transparent;
|
498 |
-
border-left-color: #DFDFDF;
|
499 |
-
padding-left: 1px; }
|
500 |
-
.select2-container.-acf .select2-choice .select2-result-description {
|
501 |
-
display: none; }
|
502 |
-
.select2-container.-acf.select2-container-active .select2-choices,
|
503 |
-
.select2-container.-acf.select2-dropdown-open .select2-choices {
|
504 |
-
border-color: #5B9DD9;
|
505 |
-
border-radius: 3px 3px 0 0; }
|
506 |
-
.select2-container.-acf.select2-dropdown-open .select2-choice {
|
507 |
-
background: #fff;
|
508 |
-
border-color: #5B9DD9; }
|
509 |
-
|
510 |
-
/* rtl */
|
511 |
-
html[dir="rtl"] .select2-container.-acf .select2-search-choice-close {
|
512 |
-
left: 24px; }
|
513 |
-
|
514 |
-
html[dir="rtl"] .select2-container.-acf .select2-choice > .select2-chosen {
|
515 |
-
margin-left: 42px; }
|
516 |
-
|
517 |
-
html[dir="rtl"] .select2-container.-acf .select2-choice .select2-arrow {
|
518 |
-
padding-left: 0;
|
519 |
-
padding-right: 1px; }
|
520 |
-
|
521 |
-
/* description */
|
522 |
-
.select2-drop {
|
523 |
-
/* search*/
|
524 |
-
/* result */ }
|
525 |
-
.select2-drop .select2-search {
|
526 |
-
padding: 4px 4px 0; }
|
527 |
-
.select2-drop .select2-result {
|
528 |
-
/* hover*/ }
|
529 |
-
.select2-drop .select2-result .select2-result-description {
|
530 |
-
color: #999;
|
531 |
-
font-size: 12px;
|
532 |
-
margin-left: 5px; }
|
533 |
-
.select2-drop .select2-result.select2-highlighted .select2-result-description {
|
534 |
-
color: #fff;
|
535 |
-
opacity: 0.75; }
|
536 |
-
|
537 |
-
/*---------------------------------------------------------------------------------------------
|
538 |
-
*
|
539 |
-
* Select2 (v4)
|
540 |
-
*
|
541 |
-
*---------------------------------------------------------------------------------------------*/
|
542 |
-
.select2-container.-acf li {
|
543 |
-
margin-bottom: 0; }
|
544 |
-
|
545 |
-
.select2-container.-acf .select2-selection--multiple .select2-search--inline:first-child {
|
546 |
-
float: none; }
|
547 |
-
.select2-container.-acf .select2-selection--multiple .select2-search--inline:first-child input {
|
548 |
-
width: 100% !important; }
|
549 |
-
|
550 |
-
.select2-container.-acf .select2-selection--multiple .select2-selection__rendered {
|
551 |
-
padding-right: 0; }
|
552 |
-
|
553 |
-
.select2-container.-acf .select2-selection--multiple .select2-selection__choice {
|
554 |
-
background-color: #f7f7f7;
|
555 |
-
border-color: #cccccc;
|
556 |
-
max-width: 100%;
|
557 |
-
overflow: hidden;
|
558 |
-
word-wrap: normal !important;
|
559 |
-
white-space: normal; }
|
560 |
-
.select2-container.-acf .select2-selection--multiple .select2-selection__choice.ui-sortable-helper {
|
561 |
-
background: #5897fb;
|
562 |
-
border-color: #3f87fa;
|
563 |
-
color: #fff;
|
564 |
-
box-shadow: 0 0 3px rgba(0, 0, 0, 0.1); }
|
565 |
-
.select2-container.-acf .select2-selection--multiple .select2-selection__choice.ui-sortable-helper span {
|
566 |
-
visibility: hidden; }
|
567 |
-
.select2-container.-acf .select2-selection--multiple .select2-selection__choice.ui-sortable-placeholder {
|
568 |
-
background-color: #f7f7f7;
|
569 |
-
border-color: #f7f7f7;
|
570 |
-
visibility: visible !important; }
|
571 |
-
|
572 |
-
.select2-container.-acf .select2-selection--multiple .select2-search__field {
|
573 |
-
box-shadow: none !important; }
|
574 |
-
|
575 |
-
.acf-row .select2-container.-acf .select2-selection--single {
|
576 |
-
overflow: hidden; }
|
577 |
-
.acf-row .select2-container.-acf .select2-selection--single .select2-selection__rendered {
|
578 |
-
white-space: normal; }
|
579 |
-
|
580 |
-
.select2-container .select2-dropdown {
|
581 |
-
z-index: 900000; }
|
582 |
-
|
583 |
-
/*---------------------------------------------------------------------------------------------
|
584 |
-
*
|
585 |
-
* Link
|
586 |
-
*
|
587 |
-
*---------------------------------------------------------------------------------------------*/
|
588 |
-
.link-wrap {
|
589 |
-
border: #dddddd solid 1px;
|
590 |
-
border-radius: 3px;
|
591 |
-
padding: 5px;
|
592 |
-
line-height: 26px;
|
593 |
-
background: #fff;
|
594 |
-
word-wrap: break-word;
|
595 |
-
word-break: break-all; }
|
596 |
-
.link-wrap .link-title {
|
597 |
-
padding: 0 5px; }
|
598 |
-
|
599 |
-
.acf-link {
|
600 |
-
/* value */
|
601 |
-
/* external */ }
|
602 |
-
.acf-link .link-wrap,
|
603 |
-
.acf-link .acf-icon.-link-ext {
|
604 |
-
display: none; }
|
605 |
-
.acf-link.-value .button {
|
606 |
-
display: none; }
|
607 |
-
.acf-link.-value .link-wrap {
|
608 |
-
display: inline-block; }
|
609 |
-
.acf-link.-external .acf-icon.-link-ext {
|
610 |
-
display: inline-block; }
|
611 |
-
|
612 |
-
#wp-link-backdrop {
|
613 |
-
z-index: 900000 !important; }
|
614 |
-
|
615 |
-
#wp-link-wrap {
|
616 |
-
z-index: 900001 !important; }
|
617 |
-
|
618 |
-
/*---------------------------------------------------------------------------------------------
|
619 |
-
*
|
620 |
-
* Radio
|
621 |
-
*
|
622 |
-
*---------------------------------------------------------------------------------------------*/
|
623 |
-
ul.acf-radio-list,
|
624 |
-
ul.acf-checkbox-list {
|
625 |
-
background: transparent;
|
626 |
-
position: relative;
|
627 |
-
padding: 1px;
|
628 |
-
margin: 0;
|
629 |
-
/* hl */
|
630 |
-
/* rtl */ }
|
631 |
-
ul.acf-radio-list li,
|
632 |
-
ul.acf-checkbox-list li {
|
633 |
-
font-size: 13px;
|
634 |
-
line-height: 22px;
|
635 |
-
margin: 0;
|
636 |
-
position: relative;
|
637 |
-
word-wrap: break-word;
|
638 |
-
/* attachment sidebar fix*/ }
|
639 |
-
ul.acf-radio-list li label,
|
640 |
-
ul.acf-checkbox-list li label {
|
641 |
-
display: inline; }
|
642 |
-
ul.acf-radio-list li input[type="checkbox"],
|
643 |
-
ul.acf-radio-list li input[type="radio"],
|
644 |
-
ul.acf-checkbox-list li input[type="checkbox"],
|
645 |
-
ul.acf-checkbox-list li input[type="radio"] {
|
646 |
-
margin: -1px 4px 0 0;
|
647 |
-
vertical-align: middle; }
|
648 |
-
ul.acf-radio-list li input[type="text"],
|
649 |
-
ul.acf-checkbox-list li input[type="text"] {
|
650 |
-
width: auto;
|
651 |
-
vertical-align: middle;
|
652 |
-
margin: 2px 0; }
|
653 |
-
ul.acf-radio-list li span,
|
654 |
-
ul.acf-checkbox-list li span {
|
655 |
-
float: none; }
|
656 |
-
ul.acf-radio-list li i,
|
657 |
-
ul.acf-checkbox-list li i {
|
658 |
-
vertical-align: middle; }
|
659 |
-
ul.acf-radio-list.acf-hl li,
|
660 |
-
ul.acf-checkbox-list.acf-hl li {
|
661 |
-
margin-right: 20px;
|
662 |
-
clear: none; }
|
663 |
-
html[dir="rtl"] ul.acf-radio-list input[type="checkbox"],
|
664 |
-
html[dir="rtl"] ul.acf-radio-list input[type="radio"], html[dir="rtl"]
|
665 |
-
ul.acf-checkbox-list input[type="checkbox"],
|
666 |
-
html[dir="rtl"]
|
667 |
-
ul.acf-checkbox-list input[type="radio"] {
|
668 |
-
margin-left: 4px;
|
669 |
-
margin-right: 0; }
|
670 |
-
|
671 |
-
/*---------------------------------------------------------------------------------------------
|
672 |
-
*
|
673 |
-
* Button Group
|
674 |
-
*
|
675 |
-
*---------------------------------------------------------------------------------------------*/
|
676 |
-
.acf-button-group {
|
677 |
-
display: inline-block;
|
678 |
-
/* default (horizontal) */
|
679 |
-
/* vertical */ }
|
680 |
-
.acf-button-group label {
|
681 |
-
display: inline-block;
|
682 |
-
border: #ccc solid 1px;
|
683 |
-
position: relative;
|
684 |
-
z-index: 1;
|
685 |
-
padding: 5px 10px;
|
686 |
-
background: #fff; }
|
687 |
-
.acf-button-group label:hover {
|
688 |
-
border-color: #999999;
|
689 |
-
z-index: 2; }
|
690 |
-
.acf-button-group label.selected {
|
691 |
-
border-color: #2b9af3;
|
692 |
-
background: #309cf3;
|
693 |
-
color: #fff;
|
694 |
-
z-index: 2; }
|
695 |
-
.acf-button-group label.selected:hover {
|
696 |
-
background: #48a8f4; }
|
697 |
-
.acf-button-group input {
|
698 |
-
display: none !important; }
|
699 |
-
.acf-button-group {
|
700 |
-
padding-left: 1px;
|
701 |
-
display: inline-flex;
|
702 |
-
flex-direction: row;
|
703 |
-
flex-wrap: nowrap; }
|
704 |
-
.acf-button-group label {
|
705 |
-
margin: 0 0 0 -1px;
|
706 |
-
flex: 1;
|
707 |
-
text-align: center;
|
708 |
-
white-space: nowrap; }
|
709 |
-
.acf-button-group label:first-child {
|
710 |
-
border-radius: 3px 0 0 3px; }
|
711 |
-
html[dir="rtl"] .acf-button-group label:first-child {
|
712 |
-
border-radius: 0 3px 3px 0; }
|
713 |
-
.acf-button-group label:last-child {
|
714 |
-
border-radius: 0 3px 3px 0; }
|
715 |
-
html[dir="rtl"] .acf-button-group label:last-child {
|
716 |
-
border-radius: 3px 0 0 3px; }
|
717 |
-
.acf-button-group label:only-child {
|
718 |
-
border-radius: 3px; }
|
719 |
-
.acf-button-group.-vertical {
|
720 |
-
padding-left: 0;
|
721 |
-
padding-top: 1px;
|
722 |
-
flex-direction: column; }
|
723 |
-
.acf-button-group.-vertical label {
|
724 |
-
margin: -1px 0 0 0; }
|
725 |
-
.acf-button-group.-vertical label:first-child {
|
726 |
-
border-radius: 3px 3px 0 0; }
|
727 |
-
.acf-button-group.-vertical label:last-child {
|
728 |
-
border-radius: 0 0 3px 3px; }
|
729 |
-
.acf-button-group.-vertical label:only-child {
|
730 |
-
border-radius: 3px; }
|
731 |
-
|
732 |
-
/*---------------------------------------------------------------------------------------------
|
733 |
-
*
|
734 |
-
* Checkbox
|
735 |
-
*
|
736 |
-
*---------------------------------------------------------------------------------------------*/
|
737 |
-
.acf-checkbox-list .button {
|
738 |
-
margin: 10px 0 0; }
|
739 |
-
|
740 |
-
/*---------------------------------------------------------------------------------------------
|
741 |
-
*
|
742 |
-
* True / False
|
743 |
-
*
|
744 |
-
*---------------------------------------------------------------------------------------------*/
|
745 |
-
.acf-switch {
|
746 |
-
display: inline-block;
|
747 |
-
border-radius: 5px;
|
748 |
-
cursor: pointer;
|
749 |
-
position: relative;
|
750 |
-
background: #f8f8f8;
|
751 |
-
height: 30px;
|
752 |
-
vertical-align: middle;
|
753 |
-
border: #ccc solid 1px;
|
754 |
-
-webkit-transition: background 0.25s ease;
|
755 |
-
-moz-transition: background 0.25s ease;
|
756 |
-
-o-transition: background 0.25s ease;
|
757 |
-
transition: background 0.25s ease;
|
758 |
-
/* hover */
|
759 |
-
/* active */
|
760 |
-
/* focus */
|
761 |
-
/* message */ }
|
762 |
-
.acf-switch span {
|
763 |
-
display: inline-block;
|
764 |
-
float: left;
|
765 |
-
text-align: center;
|
766 |
-
font-size: 13px;
|
767 |
-
line-height: 22px;
|
768 |
-
padding: 4px 10px;
|
769 |
-
min-width: 15px; }
|
770 |
-
.acf-switch span i {
|
771 |
-
vertical-align: middle; }
|
772 |
-
.acf-switch .acf-switch-on {
|
773 |
-
color: #fff;
|
774 |
-
text-shadow: #1f7db1 0 1px 0; }
|
775 |
-
.acf-switch .acf-switch-slider {
|
776 |
-
position: absolute;
|
777 |
-
top: 2px;
|
778 |
-
left: 2px;
|
779 |
-
bottom: 2px;
|
780 |
-
right: 50%;
|
781 |
-
z-index: 1;
|
782 |
-
background: #fff;
|
783 |
-
border-radius: 3px;
|
784 |
-
border: #ccc solid 1px;
|
785 |
-
-webkit-transition: all 0.25s ease;
|
786 |
-
-moz-transition: all 0.25s ease;
|
787 |
-
-o-transition: all 0.25s ease;
|
788 |
-
transition: all 0.25s ease;
|
789 |
-
transition-property: left, right; }
|
790 |
-
.acf-switch:hover .acf-switch-slider {
|
791 |
-
border-color: #b3b3b3; }
|
792 |
-
.acf-switch.-on {
|
793 |
-
background: #309cf3;
|
794 |
-
border-color: #2b9af3;
|
795 |
-
/* hover */ }
|
796 |
-
.acf-switch.-on .acf-switch-slider {
|
797 |
-
left: 50%;
|
798 |
-
right: 2px;
|
799 |
-
border-color: #0d84e3; }
|
800 |
-
.acf-switch.-on:hover {
|
801 |
-
background: #48a8f4; }
|
802 |
-
.acf-switch.-focus .acf-switch-slider {
|
803 |
-
border-color: #5b9dd9;
|
804 |
-
box-shadow: 0 0 2px rgba(30, 140, 190, 0.5); }
|
805 |
-
.acf-switch.-focus.-on .acf-switch-slider {
|
806 |
-
border-color: #185e85;
|
807 |
-
box-shadow: 0 0 2px #1f7db1; }
|
808 |
-
.acf-switch + span {
|
809 |
-
margin-left: 6px; }
|
810 |
-
|
811 |
-
/* checkbox */
|
812 |
-
.acf-switch-input {
|
813 |
-
opacity: 0;
|
814 |
-
position: absolute;
|
815 |
-
margin: 0; }
|
816 |
-
|
817 |
-
/* in media modal */
|
818 |
-
.compat-item .acf-true-false .message {
|
819 |
-
float: none;
|
820 |
-
padding: 0;
|
821 |
-
vertical-align: middle; }
|
822 |
-
|
823 |
-
/*--------------------------------------------------------------------------
|
824 |
-
*
|
825 |
-
* Google Map
|
826 |
-
*
|
827 |
-
*-------------------------------------------------------------------------*/
|
828 |
-
.acf-google-map {
|
829 |
-
position: relative;
|
830 |
-
border: #DFDFDF solid 1px;
|
831 |
-
background: #fff; }
|
832 |
-
.acf-google-map .title {
|
833 |
-
position: relative;
|
834 |
-
border-bottom: #DFDFDF solid 1px; }
|
835 |
-
.acf-google-map .title .search {
|
836 |
-
margin: 0;
|
837 |
-
font-size: 14px;
|
838 |
-
line-height: 30px;
|
839 |
-
height: 40px;
|
840 |
-
padding: 5px 10px;
|
841 |
-
border: 0 none;
|
842 |
-
box-shadow: none;
|
843 |
-
border-radius: 0;
|
844 |
-
font-family: inherit;
|
845 |
-
cursor: text; }
|
846 |
-
.acf-google-map .title .acf-loading {
|
847 |
-
position: absolute;
|
848 |
-
top: 10px;
|
849 |
-
right: 11px;
|
850 |
-
display: none; }
|
851 |
-
.acf-google-map .title .acf-icon:active {
|
852 |
-
display: inline-block !important; }
|
853 |
-
.acf-google-map .canvas {
|
854 |
-
height: 400px; }
|
855 |
-
.acf-google-map:hover .title .acf-actions {
|
856 |
-
display: block; }
|
857 |
-
.acf-google-map .title .acf-icon.-location {
|
858 |
-
display: inline-block; }
|
859 |
-
.acf-google-map .title .acf-icon.-cancel,
|
860 |
-
.acf-google-map .title .acf-icon.-search {
|
861 |
-
display: none; }
|
862 |
-
.acf-google-map.-value .title .search {
|
863 |
-
font-weight: bold; }
|
864 |
-
.acf-google-map.-value .title .acf-icon.-location {
|
865 |
-
display: none; }
|
866 |
-
.acf-google-map.-value .title .acf-icon.-cancel {
|
867 |
-
display: inline-block; }
|
868 |
-
.acf-google-map.-searching .title .acf-icon.-location {
|
869 |
-
display: none; }
|
870 |
-
.acf-google-map.-searching .title .acf-icon.-cancel,
|
871 |
-
.acf-google-map.-searching .title .acf-icon.-search {
|
872 |
-
display: inline-block; }
|
873 |
-
.acf-google-map.-searching .title .acf-actions {
|
874 |
-
display: block; }
|
875 |
-
.acf-google-map.-searching .title .search {
|
876 |
-
font-weight: normal !important; }
|
877 |
-
.acf-google-map.-loading .title a {
|
878 |
-
display: none !important; }
|
879 |
-
.acf-google-map.-loading .title i {
|
880 |
-
display: inline-block; }
|
881 |
-
|
882 |
-
/* autocomplete */
|
883 |
-
.pac-container {
|
884 |
-
border-width: 1px 0;
|
885 |
-
box-shadow: none; }
|
886 |
-
|
887 |
-
.pac-container:after {
|
888 |
-
display: none; }
|
889 |
-
|
890 |
-
.pac-container .pac-item:first-child {
|
891 |
-
border-top: 0 none; }
|
892 |
-
|
893 |
-
.pac-container .pac-item {
|
894 |
-
padding: 5px 10px;
|
895 |
-
cursor: pointer; }
|
896 |
-
|
897 |
-
html[dir="rtl"] .pac-container .pac-item {
|
898 |
-
text-align: right; }
|
899 |
-
|
900 |
-
/*--------------------------------------------------------------------------
|
901 |
-
*
|
902 |
-
* Relationship
|
903 |
-
*
|
904 |
-
*-------------------------------------------------------------------------*/
|
905 |
-
.acf-relationship {
|
906 |
-
background: #fff;
|
907 |
-
/* filters (top) */
|
908 |
-
/* list */
|
909 |
-
/* selection (bottom) */ }
|
910 |
-
.acf-relationship .filters {
|
911 |
-
border: #DFDFDF solid 1px;
|
912 |
-
background: #fff;
|
913 |
-
/* widths */ }
|
914 |
-
.acf-relationship .filters:after {
|
915 |
-
display: block;
|
916 |
-
clear: both;
|
917 |
-
content: ""; }
|
918 |
-
.acf-relationship .filters .filter {
|
919 |
-
margin: 0;
|
920 |
-
padding: 0;
|
921 |
-
float: left;
|
922 |
-
width: 100%;
|
923 |
-
/* inner padding */ }
|
924 |
-
.acf-relationship .filters .filter span {
|
925 |
-
display: block;
|
926 |
-
padding: 7px 7px 7px 0; }
|
927 |
-
.acf-relationship .filters .filter:first-child span {
|
928 |
-
padding-left: 7px; }
|
929 |
-
.acf-relationship .filters .filter input, .acf-relationship .filters .filter select {
|
930 |
-
height: 28px;
|
931 |
-
line-height: 28px;
|
932 |
-
padding: 2px;
|
933 |
-
width: 100%;
|
934 |
-
margin: 0;
|
935 |
-
float: none;
|
936 |
-
/* potential fix for media popup? */ }
|
937 |
-
.acf-relationship .filters .filter input:focus, .acf-relationship .filters .filter input:active, .acf-relationship .filters .filter select:focus, .acf-relationship .filters .filter select:active {
|
938 |
-
outline: none;
|
939 |
-
box-shadow: none; }
|
940 |
-
.acf-relationship .filters .filter input {
|
941 |
-
border-color: transparent;
|
942 |
-
box-shadow: none; }
|
943 |
-
.acf-relationship .filters.-f2 .filter {
|
944 |
-
width: 50%; }
|
945 |
-
.acf-relationship .filters.-f3 .filter {
|
946 |
-
width: 25%; }
|
947 |
-
.acf-relationship .filters.-f3 .filter.-search {
|
948 |
-
width: 50%; }
|
949 |
-
.acf-relationship .list {
|
950 |
-
margin: 0;
|
951 |
-
padding: 5px;
|
952 |
-
height: 160px;
|
953 |
-
overflow: auto; }
|
954 |
-
.acf-relationship .list .acf-rel-label,
|
955 |
-
.acf-relationship .list .acf-rel-item,
|
956 |
-
.acf-relationship .list p {
|
957 |
-
padding: 5px 7px;
|
958 |
-
margin: 0;
|
959 |
-
display: block;
|
960 |
-
position: relative;
|
961 |
-
min-height: 18px; }
|
962 |
-
.acf-relationship .list .acf-rel-label {
|
963 |
-
font-weight: bold; }
|
964 |
-
.acf-relationship .list .acf-rel-item {
|
965 |
-
cursor: pointer;
|
966 |
-
/* hover */
|
967 |
-
/* disabled */ }
|
968 |
-
.acf-relationship .list .acf-rel-item b {
|
969 |
-
text-decoration: underline;
|
970 |
-
font-weight: normal; }
|
971 |
-
.acf-relationship .list .acf-rel-item .thumbnail {
|
972 |
-
background: #e0e0e0;
|
973 |
-
width: 22px;
|
974 |
-
height: 22px;
|
975 |
-
float: left;
|
976 |
-
margin: -2px 5px 0 0; }
|
977 |
-
.acf-relationship .list .acf-rel-item .thumbnail img {
|
978 |
-
max-width: 22px;
|
979 |
-
max-height: 22px;
|
980 |
-
margin: 0 auto;
|
981 |
-
display: block; }
|
982 |
-
.acf-relationship .list .acf-rel-item .thumbnail.-icon {
|
983 |
-
background: #fff; }
|
984 |
-
.acf-relationship .list .acf-rel-item .thumbnail.-icon img {
|
985 |
-
max-height: 20px;
|
986 |
-
margin-top: 1px; }
|
987 |
-
.acf-relationship .list .acf-rel-item:hover {
|
988 |
-
background: #3875D7;
|
989 |
-
color: #fff; }
|
990 |
-
.acf-relationship .list .acf-rel-item:hover .thumbnail {
|
991 |
-
background: #a2bfec; }
|
992 |
-
.acf-relationship .list .acf-rel-item:hover .thumbnail.-icon {
|
993 |
-
background: #fff; }
|
994 |
-
.acf-relationship .list .acf-rel-item.disabled {
|
995 |
-
opacity: 0.5; }
|
996 |
-
.acf-relationship .list .acf-rel-item.disabled:hover {
|
997 |
-
background: transparent;
|
998 |
-
color: #333;
|
999 |
-
cursor: default; }
|
1000 |
-
.acf-relationship .list .acf-rel-item.disabled:hover .thumbnail {
|
1001 |
-
background: #e0e0e0; }
|
1002 |
-
.acf-relationship .list .acf-rel-item.disabled:hover .thumbnail.-icon {
|
1003 |
-
background: #fff; }
|
1004 |
-
.acf-relationship .list ul {
|
1005 |
-
padding-bottom: 5px; }
|
1006 |
-
.acf-relationship .list ul .acf-rel-label,
|
1007 |
-
.acf-relationship .list ul .acf-rel-item,
|
1008 |
-
.acf-relationship .list ul p {
|
1009 |
-
padding-left: 20px; }
|
1010 |
-
.acf-relationship .selection {
|
1011 |
-
border: #DFDFDF solid 1px;
|
1012 |
-
position: relative;
|
1013 |
-
margin-top: -1px;
|
1014 |
-
/* choices */
|
1015 |
-
/* values */ }
|
1016 |
-
.acf-relationship .selection:after {
|
1017 |
-
display: block;
|
1018 |
-
clear: both;
|
1019 |
-
content: ""; }
|
1020 |
-
.acf-relationship .selection .values,
|
1021 |
-
.acf-relationship .selection .choices {
|
1022 |
-
width: 50%;
|
1023 |
-
background: #fff;
|
1024 |
-
float: left; }
|
1025 |
-
.acf-relationship .selection .choices {
|
1026 |
-
background: #F9F9F9; }
|
1027 |
-
.acf-relationship .selection .choices .list {
|
1028 |
-
border-right: #DFDFDF solid 1px; }
|
1029 |
-
.acf-relationship .selection .values .acf-icon {
|
1030 |
-
position: absolute;
|
1031 |
-
top: 4px;
|
1032 |
-
right: 7px;
|
1033 |
-
display: none;
|
1034 |
-
/* rtl */ }
|
1035 |
-
html[dir="rtl"] .acf-relationship .selection .values .acf-icon {
|
1036 |
-
right: auto;
|
1037 |
-
left: 7px; }
|
1038 |
-
.acf-relationship .selection .values .acf-rel-item:hover .acf-icon {
|
1039 |
-
display: block; }
|
1040 |
-
.acf-relationship .selection .values .acf-rel-item {
|
1041 |
-
cursor: move; }
|
1042 |
-
.acf-relationship .selection .values .acf-rel-item b {
|
1043 |
-
text-decoration: none; }
|
1044 |
-
|
1045 |
-
/* menu item fix */
|
1046 |
-
.menu-item .acf-relationship ul {
|
1047 |
-
width: auto; }
|
1048 |
-
|
1049 |
-
.menu-item .acf-relationship li {
|
1050 |
-
display: block; }
|
1051 |
-
|
1052 |
-
/*--------------------------------------------------------------------------
|
1053 |
-
*
|
1054 |
-
* WYSIWYG
|
1055 |
-
*
|
1056 |
-
*-------------------------------------------------------------------------*/
|
1057 |
-
.acf-editor-wrap.delay .acf-editor-toolbar {
|
1058 |
-
content: "";
|
1059 |
-
display: block;
|
1060 |
-
background: #f5f5f5;
|
1061 |
-
border-bottom: #dddddd solid 1px;
|
1062 |
-
color: #555d66;
|
1063 |
-
padding: 10px; }
|
1064 |
-
|
1065 |
-
.acf-editor-wrap.delay .wp-editor-area {
|
1066 |
-
padding: 10px;
|
1067 |
-
border: none;
|
1068 |
-
color: inherit !important; }
|
1069 |
-
|
1070 |
-
.acf-editor-wrap iframe {
|
1071 |
-
min-height: 200px; }
|
1072 |
-
|
1073 |
-
.acf-editor-wrap .wp-editor-container {
|
1074 |
-
border: 1px solid #E5E5E5;
|
1075 |
-
box-shadow: none !important; }
|
1076 |
-
|
1077 |
-
.acf-editor-wrap .wp-editor-tabs {
|
1078 |
-
box-sizing: content-box; }
|
1079 |
-
|
1080 |
-
#mce_fullscreen_container {
|
1081 |
-
z-index: 900000 !important; }
|
1082 |
-
|
1083 |
-
/*---------------------------------------------------------------------------------------------
|
1084 |
-
*
|
1085 |
-
* Tab
|
1086 |
-
*
|
1087 |
-
*---------------------------------------------------------------------------------------------*/
|
1088 |
-
.acf-field-tab {
|
1089 |
-
display: none !important; }
|
1090 |
-
|
1091 |
-
.hidden-by-tab {
|
1092 |
-
display: none !important; }
|
1093 |
-
|
1094 |
-
.acf-tab-wrap {
|
1095 |
-
clear: both;
|
1096 |
-
z-index: 1; }
|
1097 |
-
|
1098 |
-
.acf-tab-group {
|
1099 |
-
border-bottom: #ccc solid 1px;
|
1100 |
-
padding: 10px 10px 0; }
|
1101 |
-
.acf-tab-group li {
|
1102 |
-
margin: 0 0.5em 0 0; }
|
1103 |
-
.acf-tab-group li a {
|
1104 |
-
padding: 5px 10px;
|
1105 |
-
display: block;
|
1106 |
-
color: #555;
|
1107 |
-
font-size: 14px;
|
1108 |
-
font-weight: 600;
|
1109 |
-
line-height: 24px;
|
1110 |
-
border: #ccc solid 1px;
|
1111 |
-
border-bottom: 0 none;
|
1112 |
-
text-decoration: none;
|
1113 |
-
background: #e5e5e5;
|
1114 |
-
transition: none; }
|
1115 |
-
.acf-tab-group li a:hover {
|
1116 |
-
background: #FFF; }
|
1117 |
-
.acf-tab-group li a:focus {
|
1118 |
-
outline: none;
|
1119 |
-
box-shadow: none; }
|
1120 |
-
.acf-tab-group li a:empty {
|
1121 |
-
display: none; }
|
1122 |
-
html[dir="rtl"] .acf-tab-group li {
|
1123 |
-
margin: 0 0 0 0.5em; }
|
1124 |
-
.acf-tab-group li.active a {
|
1125 |
-
background: #F1F1F1;
|
1126 |
-
color: #000;
|
1127 |
-
padding-bottom: 6px;
|
1128 |
-
margin-bottom: -1px;
|
1129 |
-
position: relative;
|
1130 |
-
z-index: 1; }
|
1131 |
-
|
1132 |
-
.acf-fields > .acf-tab-wrap {
|
1133 |
-
background: #F9F9F9; }
|
1134 |
-
.acf-fields > .acf-tab-wrap .acf-tab-group {
|
1135 |
-
position: relative;
|
1136 |
-
z-index: 1;
|
1137 |
-
margin-bottom: -1px;
|
1138 |
-
border-top: #DFDFDF solid 1px;
|
1139 |
-
border-bottom: #DFDFDF solid 1px; }
|
1140 |
-
.acf-fields > .acf-tab-wrap .acf-tab-group li a {
|
1141 |
-
background: #f1f1f1; }
|
1142 |
-
.acf-fields > .acf-tab-wrap .acf-tab-group li a:hover {
|
1143 |
-
background: #FFF; }
|
1144 |
-
.acf-fields > .acf-tab-wrap .acf-tab-group li.active a {
|
1145 |
-
background: #FFFFFF; }
|
1146 |
-
.acf-fields > .acf-tab-wrap:first-child .acf-tab-group {
|
1147 |
-
border-top: none; }
|
1148 |
-
|
1149 |
-
.acf-fields.-left > .acf-tab-wrap .acf-tab-group {
|
1150 |
-
padding-left: 20%;
|
1151 |
-
/* mobile */
|
1152 |
-
/* rtl */ }
|
1153 |
-
@media screen and (max-width: 640px) {
|
1154 |
-
.acf-fields.-left > .acf-tab-wrap .acf-tab-group {
|
1155 |
-
padding-left: 10px; } }
|
1156 |
-
html[dir="rtl"] .acf-fields.-left > .acf-tab-wrap .acf-tab-group {
|
1157 |
-
padding-left: 0;
|
1158 |
-
padding-right: 20%;
|
1159 |
-
/* mobile */ }
|
1160 |
-
@media screen and (max-width: 850px) {
|
1161 |
-
html[dir="rtl"] .acf-fields.-left > .acf-tab-wrap .acf-tab-group {
|
1162 |
-
padding-right: 10px; } }
|
1163 |
-
|
1164 |
-
.acf-tab-wrap.-left .acf-tab-group {
|
1165 |
-
position: absolute;
|
1166 |
-
left: 0;
|
1167 |
-
width: 20%;
|
1168 |
-
border: 0 none;
|
1169 |
-
padding: 0 !important;
|
1170 |
-
/* important overrides 'left aligned labels' */
|
1171 |
-
margin: 1px 0 0; }
|
1172 |
-
.acf-tab-wrap.-left .acf-tab-group li {
|
1173 |
-
float: none;
|
1174 |
-
margin: -1px 0 0; }
|
1175 |
-
.acf-tab-wrap.-left .acf-tab-group li a {
|
1176 |
-
border: 1px solid #ededed;
|
1177 |
-
font-size: 13px;
|
1178 |
-
line-height: 18px;
|
1179 |
-
color: #0073aa;
|
1180 |
-
padding: 10px;
|
1181 |
-
margin: 0;
|
1182 |
-
font-weight: normal;
|
1183 |
-
border-width: 1px 0;
|
1184 |
-
border-radius: 0;
|
1185 |
-
background: transparent; }
|
1186 |
-
.acf-tab-wrap.-left .acf-tab-group li a:hover {
|
1187 |
-
color: #00a0d2; }
|
1188 |
-
.acf-tab-wrap.-left .acf-tab-group li.active a {
|
1189 |
-
border-color: #DFDFDF;
|
1190 |
-
color: #000;
|
1191 |
-
margin-right: -1px;
|
1192 |
-
background: #fff; }
|
1193 |
-
html[dir="rtl"] .acf-tab-wrap.-left .acf-tab-group {
|
1194 |
-
left: auto;
|
1195 |
-
right: 0; }
|
1196 |
-
html[dir="rtl"] .acf-tab-wrap.-left .acf-tab-group li.active a {
|
1197 |
-
margin-right: 0;
|
1198 |
-
margin-left: -1px; }
|
1199 |
-
|
1200 |
-
.acf-field + .acf-tab-wrap.-left:before {
|
1201 |
-
content: "";
|
1202 |
-
display: block;
|
1203 |
-
position: relative;
|
1204 |
-
z-index: 1;
|
1205 |
-
height: 10px;
|
1206 |
-
border-top: #DFDFDF solid 1px;
|
1207 |
-
border-bottom: #DFDFDF solid 1px;
|
1208 |
-
margin-bottom: -1px; }
|
1209 |
-
|
1210 |
-
.acf-tab-wrap.-left:first-child .acf-tab-group li:first-child a {
|
1211 |
-
border-top: none; }
|
1212 |
-
|
1213 |
-
/* sidebar */
|
1214 |
-
.acf-fields.-sidebar {
|
1215 |
-
padding: 0 0 0 20% !important;
|
1216 |
-
position: relative;
|
1217 |
-
/* before */
|
1218 |
-
/* rtl */ }
|
1219 |
-
.acf-fields.-sidebar:before {
|
1220 |
-
content: "";
|
1221 |
-
display: block;
|
1222 |
-
position: absolute;
|
1223 |
-
top: 0;
|
1224 |
-
left: 0;
|
1225 |
-
width: 20%;
|
1226 |
-
bottom: 0;
|
1227 |
-
border-right: #DFDFDF solid 1px;
|
1228 |
-
background: #F9F9F9;
|
1229 |
-
z-index: 1; }
|
1230 |
-
html[dir="rtl"] .acf-fields.-sidebar {
|
1231 |
-
padding: 0 20% 0 0 !important; }
|
1232 |
-
html[dir="rtl"] .acf-fields.-sidebar:before {
|
1233 |
-
border-left: #DFDFDF solid 1px;
|
1234 |
-
border-right-width: 0;
|
1235 |
-
left: auto;
|
1236 |
-
right: 0; }
|
1237 |
-
.acf-fields.-sidebar.-left {
|
1238 |
-
padding: 0 0 0 180px !important;
|
1239 |
-
/* rtl */ }
|
1240 |
-
html[dir="rtl"] .acf-fields.-sidebar.-left {
|
1241 |
-
padding: 0 180px 0 0 !important; }
|
1242 |
-
.acf-fields.-sidebar.-left:before {
|
1243 |
-
background: #F1F1F1;
|
1244 |
-
border-color: #dfdfdf;
|
1245 |
-
width: 180px; }
|
1246 |
-
.acf-fields.-sidebar.-left > .acf-tab-wrap.-left .acf-tab-group {
|
1247 |
-
width: 180px; }
|
1248 |
-
.acf-fields.-sidebar.-left > .acf-tab-wrap.-left .acf-tab-group li a {
|
1249 |
-
border-color: #e4e4e4; }
|
1250 |
-
.acf-fields.-sidebar.-left > .acf-tab-wrap.-left .acf-tab-group li.active a {
|
1251 |
-
background: #F9F9F9; }
|
1252 |
-
.acf-fields.-sidebar > .acf-field-tab + .acf-field {
|
1253 |
-
border-top: none; }
|
1254 |
-
|
1255 |
-
.acf-fields.-clear > .acf-tab-wrap {
|
1256 |
-
background: transparent; }
|
1257 |
-
.acf-fields.-clear > .acf-tab-wrap .acf-tab-group {
|
1258 |
-
margin-top: 0;
|
1259 |
-
border-top: none;
|
1260 |
-
padding-left: 0;
|
1261 |
-
padding-right: 0; }
|
1262 |
-
.acf-fields.-clear > .acf-tab-wrap .acf-tab-group li a {
|
1263 |
-
background: #e5e5e5; }
|
1264 |
-
.acf-fields.-clear > .acf-tab-wrap .acf-tab-group li a:hover {
|
1265 |
-
background: #fff; }
|
1266 |
-
.acf-fields.-clear > .acf-tab-wrap .acf-tab-group li.active a {
|
1267 |
-
background: #f1f1f1; }
|
1268 |
-
|
1269 |
-
/* seamless */
|
1270 |
-
.acf-postbox.seamless > .acf-fields.-sidebar {
|
1271 |
-
margin-left: 0 !important; }
|
1272 |
-
.acf-postbox.seamless > .acf-fields.-sidebar:before {
|
1273 |
-
background: transparent; }
|
1274 |
-
|
1275 |
-
.acf-postbox.seamless > .acf-fields > .acf-tab-wrap {
|
1276 |
-
background: transparent;
|
1277 |
-
margin-bottom: 10px;
|
1278 |
-
padding-left: 12px;
|
1279 |
-
padding-right: 12px; }
|
1280 |
-
.acf-postbox.seamless > .acf-fields > .acf-tab-wrap .acf-tab-group {
|
1281 |
-
border-top: 0 none; }
|
1282 |
-
.acf-postbox.seamless > .acf-fields > .acf-tab-wrap .acf-tab-group li a {
|
1283 |
-
background: #e5e5e5; }
|
1284 |
-
.acf-postbox.seamless > .acf-fields > .acf-tab-wrap .acf-tab-group li a:hover {
|
1285 |
-
background: #fff; }
|
1286 |
-
.acf-postbox.seamless > .acf-fields > .acf-tab-wrap .acf-tab-group li.active a {
|
1287 |
-
background: #f1f1f1; }
|
1288 |
-
|
1289 |
-
.acf-postbox.seamless > .acf-fields > .acf-tab-wrap.-left:before {
|
1290 |
-
border-top: none;
|
1291 |
-
height: auto; }
|
1292 |
-
|
1293 |
-
.acf-postbox.seamless > .acf-fields > .acf-tab-wrap.-left .acf-tab-group {
|
1294 |
-
margin-bottom: 0; }
|
1295 |
-
.acf-postbox.seamless > .acf-fields > .acf-tab-wrap.-left .acf-tab-group li a {
|
1296 |
-
border-width: 1px 0 1px 1px !important;
|
1297 |
-
border-color: #cccccc;
|
1298 |
-
background: #e5e5e5; }
|
1299 |
-
.acf-postbox.seamless > .acf-fields > .acf-tab-wrap.-left .acf-tab-group li.active a {
|
1300 |
-
background: #f1f1f1; }
|
1301 |
-
|
1302 |
-
.menu-edit .acf-fields.-clear > .acf-tab-wrap .acf-tab-group li a,
|
1303 |
-
.widget .acf-fields.-clear > .acf-tab-wrap .acf-tab-group li a {
|
1304 |
-
background: #f1f1f1; }
|
1305 |
-
|
1306 |
-
.menu-edit .acf-fields.-clear > .acf-tab-wrap .acf-tab-group li a:hover, .menu-edit .acf-fields.-clear > .acf-tab-wrap .acf-tab-group li.active a,
|
1307 |
-
.widget .acf-fields.-clear > .acf-tab-wrap .acf-tab-group li a:hover,
|
1308 |
-
.widget .acf-fields.-clear > .acf-tab-wrap .acf-tab-group li.active a {
|
1309 |
-
background: #fff; }
|
1310 |
-
|
1311 |
-
.compat-item .acf-tab-wrap td {
|
1312 |
-
display: block; }
|
1313 |
-
|
1314 |
-
/* within gallery sidebar */
|
1315 |
-
.acf-gallery-side .acf-tab-wrap {
|
1316 |
-
border-top: 0 none !important; }
|
1317 |
-
|
1318 |
-
.acf-gallery-side .acf-tab-wrap .acf-tab-group {
|
1319 |
-
margin: 10px 0 !important;
|
1320 |
-
padding: 0 !important; }
|
1321 |
-
|
1322 |
-
.acf-gallery-side .acf-tab-group li.active a {
|
1323 |
-
background: #F9F9F9 !important; }
|
1324 |
-
|
1325 |
-
/* withing widget */
|
1326 |
-
.widget .acf-tab-group {
|
1327 |
-
border-bottom-color: #e8e8e8; }
|
1328 |
-
|
1329 |
-
.widget .acf-tab-group li a {
|
1330 |
-
background: #F1F1F1; }
|
1331 |
-
|
1332 |
-
.widget .acf-tab-group li.active a {
|
1333 |
-
background: #fff; }
|
1334 |
-
|
1335 |
-
/* media popup (edit image) */
|
1336 |
-
.media-modal.acf-expanded .compat-attachment-fields > tbody > tr.acf-tab-wrap .acf-tab-group {
|
1337 |
-
padding-left: 23%;
|
1338 |
-
border-bottom-color: #DDDDDD; }
|
1339 |
-
|
1340 |
-
/* table */
|
1341 |
-
.form-table > tbody > tr.acf-tab-wrap .acf-tab-group {
|
1342 |
-
padding: 0 5px 0 210px; }
|
1343 |
-
|
1344 |
-
/* rtl */
|
1345 |
-
html[dir="rtl"] .form-table > tbody > tr.acf-tab-wrap .acf-tab-group {
|
1346 |
-
padding: 0 210px 0 5px; }
|
1347 |
-
|
1348 |
-
/*--------------------------------------------------------------------------------------------
|
1349 |
-
*
|
1350 |
-
* oembed
|
1351 |
-
*
|
1352 |
-
*--------------------------------------------------------------------------------------------*/
|
1353 |
-
.acf-oembed {
|
1354 |
-
position: relative;
|
1355 |
-
border: #DFDFDF solid 1px;
|
1356 |
-
background: #fff; }
|
1357 |
-
.acf-oembed .title {
|
1358 |
-
position: relative;
|
1359 |
-
border-bottom: #DFDFDF solid 1px;
|
1360 |
-
padding: 5px 10px; }
|
1361 |
-
.acf-oembed .title .input-search {
|
1362 |
-
margin: 0;
|
1363 |
-
font-size: 14px;
|
1364 |
-
line-height: 30px;
|
1365 |
-
height: 30px;
|
1366 |
-
padding: 0;
|
1367 |
-
border: 0 none;
|
1368 |
-
box-shadow: none;
|
1369 |
-
border-radius: 0;
|
1370 |
-
font-family: inherit;
|
1371 |
-
cursor: text; }
|
1372 |
-
.acf-oembed .title .acf-actions {
|
1373 |
-
padding: 6px; }
|
1374 |
-
.acf-oembed .canvas {
|
1375 |
-
position: relative;
|
1376 |
-
min-height: 250px;
|
1377 |
-
background: #F9F9F9; }
|
1378 |
-
.acf-oembed .canvas .canvas-media {
|
1379 |
-
position: relative;
|
1380 |
-
z-index: 1; }
|
1381 |
-
.acf-oembed .canvas iframe {
|
1382 |
-
display: block;
|
1383 |
-
margin: 0;
|
1384 |
-
padding: 0;
|
1385 |
-
width: 100%; }
|
1386 |
-
.acf-oembed .canvas .acf-icon.-picture {
|
1387 |
-
position: absolute;
|
1388 |
-
top: 50%;
|
1389 |
-
left: 50%;
|
1390 |
-
transform: translate(-50%, -50%);
|
1391 |
-
z-index: 0;
|
1392 |
-
height: 42px;
|
1393 |
-
width: 42px;
|
1394 |
-
font-size: 42px;
|
1395 |
-
color: #999; }
|
1396 |
-
.acf-oembed .canvas .acf-loading-overlay {
|
1397 |
-
background: rgba(255, 255, 255, 0.9); }
|
1398 |
-
.acf-oembed .canvas .canvas-error {
|
1399 |
-
position: absolute;
|
1400 |
-
top: 50%;
|
1401 |
-
left: 0%;
|
1402 |
-
right: 0%;
|
1403 |
-
margin: -9px 0 0 0;
|
1404 |
-
text-align: center;
|
1405 |
-
display: none; }
|
1406 |
-
.acf-oembed .canvas .canvas-error p {
|
1407 |
-
padding: 8px;
|
1408 |
-
margin: 0;
|
1409 |
-
display: inline; }
|
1410 |
-
.acf-oembed.has-value .canvas {
|
1411 |
-
min-height: 50px; }
|
1412 |
-
.acf-oembed.has-value .input-search {
|
1413 |
-
font-weight: bold; }
|
1414 |
-
.acf-oembed.has-value .title:hover .acf-actions {
|
1415 |
-
display: block; }
|
1416 |
-
|
1417 |
-
/*--------------------------------------------------------------------------------------------
|
1418 |
-
*
|
1419 |
-
* Image
|
1420 |
-
*
|
1421 |
-
*--------------------------------------------------------------------------------------------*/
|
1422 |
-
.acf-image-uploader {
|
1423 |
-
position: relative;
|
1424 |
-
/* image wrap*/
|
1425 |
-
/* input */
|
1426 |
-
/* rtl */ }
|
1427 |
-
.acf-image-uploader:after {
|
1428 |
-
display: block;
|
1429 |
-
clear: both;
|
1430 |
-
content: ""; }
|
1431 |
-
.acf-image-uploader p {
|
1432 |
-
margin: 0; }
|
1433 |
-
.acf-image-uploader .image-wrap {
|
1434 |
-
position: relative;
|
1435 |
-
float: left;
|
1436 |
-
/* hover */ }
|
1437 |
-
.acf-image-uploader .image-wrap img {
|
1438 |
-
max-width: 100%;
|
1439 |
-
width: auto;
|
1440 |
-
height: auto;
|
1441 |
-
display: block;
|
1442 |
-
min-width: 30px;
|
1443 |
-
min-height: 30px;
|
1444 |
-
background: #f1f1f1;
|
1445 |
-
margin: 0;
|
1446 |
-
padding: 0;
|
1447 |
-
/* svg */ }
|
1448 |
-
.acf-image-uploader .image-wrap img[src$=".svg"] {
|
1449 |
-
min-height: 100px;
|
1450 |
-
min-width: 100px; }
|
1451 |
-
.acf-image-uploader .image-wrap:hover .acf-actions {
|
1452 |
-
display: block; }
|
1453 |
-
.acf-image-uploader input.button {
|
1454 |
-
width: auto; }
|
1455 |
-
html[dir="rtl"] .acf-image-uploader .image-wrap {
|
1456 |
-
float: right; }
|
1457 |
-
|
1458 |
-
/*--------------------------------------------------------------------------------------------
|
1459 |
-
*
|
1460 |
-
* File
|
1461 |
-
*
|
1462 |
-
*--------------------------------------------------------------------------------------------*/
|
1463 |
-
.acf-file-uploader {
|
1464 |
-
position: relative;
|
1465 |
-
/* hover */
|
1466 |
-
/* rtl */ }
|
1467 |
-
.acf-file-uploader p {
|
1468 |
-
margin: 0; }
|
1469 |
-
.acf-file-uploader .file-wrap {
|
1470 |
-
border: #DFDFDF solid 1px;
|
1471 |
-
min-height: 84px;
|
1472 |
-
position: relative;
|
1473 |
-
background: #fff; }
|
1474 |
-
.acf-file-uploader .file-icon {
|
1475 |
-
position: absolute;
|
1476 |
-
top: 0;
|
1477 |
-
left: 0;
|
1478 |
-
bottom: 0;
|
1479 |
-
padding: 10px;
|
1480 |
-
background: #F1F1F1;
|
1481 |
-
border-right: #E5E5E5 solid 1px; }
|
1482 |
-
.acf-file-uploader .file-icon img {
|
1483 |
-
display: block;
|
1484 |
-
padding: 0;
|
1485 |
-
margin: 0;
|
1486 |
-
max-width: 48px; }
|
1487 |
-
.acf-file-uploader .file-info {
|
1488 |
-
padding: 10px;
|
1489 |
-
margin-left: 69px; }
|
1490 |
-
.acf-file-uploader .file-info p {
|
1491 |
-
margin: 0 0 2px;
|
1492 |
-
font-size: 13px;
|
1493 |
-
line-height: 1.4em;
|
1494 |
-
word-break: break-all; }
|
1495 |
-
.acf-file-uploader .file-info a {
|
1496 |
-
text-decoration: none; }
|
1497 |
-
.acf-file-uploader:hover .acf-actions {
|
1498 |
-
display: block; }
|
1499 |
-
html[dir="rtl"] .acf-file-uploader .file-icon {
|
1500 |
-
left: auto;
|
1501 |
-
right: 0;
|
1502 |
-
border-left: #E5E5E5 solid 1px;
|
1503 |
-
border-right: none; }
|
1504 |
-
html[dir="rtl"] .acf-file-uploader .file-info {
|
1505 |
-
margin-right: 69px;
|
1506 |
-
margin-left: 0; }
|
1507 |
-
|
1508 |
-
/*---------------------------------------------------------------------------------------------
|
1509 |
-
*
|
1510 |
-
* Date Picker
|
1511 |
-
*
|
1512 |
-
*---------------------------------------------------------------------------------------------*/
|
1513 |
-
.acf-ui-datepicker .ui-datepicker {
|
1514 |
-
z-index: 900000 !important; }
|
1515 |
-
.acf-ui-datepicker .ui-datepicker .ui-widget-header a {
|
1516 |
-
cursor: pointer;
|
1517 |
-
transition: none; }
|
1518 |
-
|
1519 |
-
/* fix highlight state overriding hover / active */
|
1520 |
-
.acf-ui-datepicker .ui-state-highlight.ui-state-hover {
|
1521 |
-
border: 1px solid #98b7e8 !important;
|
1522 |
-
background: #98b7e8 !important;
|
1523 |
-
font-weight: normal !important;
|
1524 |
-
color: #ffffff !important; }
|
1525 |
-
|
1526 |
-
.acf-ui-datepicker .ui-state-highlight.ui-state-active {
|
1527 |
-
border: 1px solid #3875d7 !important;
|
1528 |
-
background: #3875d7 !important;
|
1529 |
-
font-weight: normal !important;
|
1530 |
-
color: #ffffff !important; }
|
1531 |
-
|
1532 |
-
/*---------------------------------------------------------------------------------------------
|
1533 |
-
*
|
1534 |
-
* Separator field
|
1535 |
-
*
|
1536 |
-
*---------------------------------------------------------------------------------------------*/
|
1537 |
-
.acf-field-separator {
|
1538 |
-
/* fields */ }
|
1539 |
-
.acf-field-separator .acf-label {
|
1540 |
-
margin-bottom: 0; }
|
1541 |
-
.acf-field-separator .acf-label label {
|
1542 |
-
font-weight: normal; }
|
1543 |
-
.acf-field-separator .acf-input {
|
1544 |
-
display: none; }
|
1545 |
-
.acf-fields > .acf-field-separator {
|
1546 |
-
background: #f9f9f9;
|
1547 |
-
border-bottom: 1px solid #dfdfdf;
|
1548 |
-
border-top: 1px solid #dfdfdf;
|
1549 |
-
margin-bottom: -1px;
|
1550 |
-
z-index: 2; }
|
1551 |
-
|
1552 |
-
/*---------------------------------------------------------------------------------------------
|
1553 |
-
*
|
1554 |
-
* Taxonomy
|
1555 |
-
*
|
1556 |
-
*---------------------------------------------------------------------------------------------*/
|
1557 |
-
.acf-taxonomy-field {
|
1558 |
-
position: relative;
|
1559 |
-
/* hover */
|
1560 |
-
/* select */ }
|
1561 |
-
.acf-taxonomy-field .categorychecklist-holder {
|
1562 |
-
border: #DFDFDF solid 1px;
|
1563 |
-
border-radius: 3px;
|
1564 |
-
max-height: 200px;
|
1565 |
-
overflow: auto; }
|
1566 |
-
.acf-taxonomy-field .acf-checkbox-list {
|
1567 |
-
margin: 0;
|
1568 |
-
padding: 10px; }
|
1569 |
-
.acf-taxonomy-field .acf-checkbox-list ul.children {
|
1570 |
-
padding-left: 18px; }
|
1571 |
-
.acf-taxonomy-field:hover .acf-actions {
|
1572 |
-
display: block; }
|
1573 |
-
.acf-taxonomy-field[data-ftype="select"] .acf-actions {
|
1574 |
-
padding: 0;
|
1575 |
-
margin: -9px; }
|
1576 |
-
|
1577 |
-
/*---------------------------------------------------------------------------------------------
|
1578 |
-
*
|
1579 |
-
* Range
|
1580 |
-
*
|
1581 |
-
*---------------------------------------------------------------------------------------------*/
|
1582 |
-
.acf-range-wrap {
|
1583 |
-
/* rtl */ }
|
1584 |
-
.acf-range-wrap .acf-append,
|
1585 |
-
.acf-range-wrap .acf-prepend {
|
1586 |
-
display: inline-block;
|
1587 |
-
vertical-align: middle;
|
1588 |
-
line-height: 28px;
|
1589 |
-
margin: 0 7px 0 0; }
|
1590 |
-
.acf-range-wrap .acf-append {
|
1591 |
-
margin: 0 0 0 7px; }
|
1592 |
-
.acf-range-wrap input[type="range"] {
|
1593 |
-
display: inline-block;
|
1594 |
-
padding: 0;
|
1595 |
-
margin: 0;
|
1596 |
-
vertical-align: middle;
|
1597 |
-
height: 28px; }
|
1598 |
-
.acf-range-wrap input[type="range"]:focus {
|
1599 |
-
outline: none; }
|
1600 |
-
.acf-range-wrap input[type="number"] {
|
1601 |
-
display: inline-block;
|
1602 |
-
min-width: 3em;
|
1603 |
-
margin-left: 10px;
|
1604 |
-
vertical-align: middle; }
|
1605 |
-
html[dir="rtl"] .acf-range-wrap input[type="number"] {
|
1606 |
-
margin-right: 10px;
|
1607 |
-
margin-left: 0; }
|
1608 |
-
html[dir="rtl"] .acf-range-wrap .acf-append {
|
1609 |
-
margin: 0 7px 0 0; }
|
1610 |
-
html[dir="rtl"] .acf-range-wrap .acf-prepend {
|
1611 |
-
margin: 0 0 0 7px; }
|
1612 |
-
|
1613 |
-
/*---------------------------------------------------------------------------------------------
|
1614 |
-
*
|
1615 |
-
* acf-accordion
|
1616 |
-
*
|
1617 |
-
*---------------------------------------------------------------------------------------------*/
|
1618 |
-
.acf-accordion {
|
1619 |
-
margin: 0;
|
1620 |
-
padding: 0;
|
1621 |
-
background: #fff;
|
1622 |
-
/* title */
|
1623 |
-
/* open */ }
|
1624 |
-
.acf-accordion .acf-accordion-title {
|
1625 |
-
margin: 0;
|
1626 |
-
padding: 12px;
|
1627 |
-
font-weight: bold;
|
1628 |
-
cursor: pointer;
|
1629 |
-
font-size: inherit;
|
1630 |
-
font-size: 13px;
|
1631 |
-
line-height: 1.4em; }
|
1632 |
-
.acf-accordion .acf-accordion-title label {
|
1633 |
-
margin: 0;
|
1634 |
-
padding: 0;
|
1635 |
-
font-size: 13px;
|
1636 |
-
line-height: 1.4em; }
|
1637 |
-
.acf-accordion .acf-accordion-title p {
|
1638 |
-
font-weight: normal; }
|
1639 |
-
.acf-accordion .acf-accordion-title .acf-accordion-icon {
|
1640 |
-
float: right; }
|
1641 |
-
.acf-accordion .acf-accordion-content {
|
1642 |
-
margin: 0;
|
1643 |
-
padding: 0 12px 12px;
|
1644 |
-
display: none; }
|
1645 |
-
.acf-accordion.-open > .acf-accordion-content {
|
1646 |
-
display: block; }
|
1647 |
-
|
1648 |
-
/* field specific */
|
1649 |
-
.acf-field.acf-accordion {
|
1650 |
-
padding: 0 !important;
|
1651 |
-
border-color: #dfdfdf; }
|
1652 |
-
.acf-field.acf-accordion .acf-accordion-title {
|
1653 |
-
padding: 12px;
|
1654 |
-
width: auto !important;
|
1655 |
-
float: none !important;
|
1656 |
-
width: auto !important; }
|
1657 |
-
.acf-field.acf-accordion .acf-accordion-content {
|
1658 |
-
padding: 0;
|
1659 |
-
float: none !important;
|
1660 |
-
width: auto !important; }
|
1661 |
-
.acf-field.acf-accordion .acf-accordion-content > .acf-fields {
|
1662 |
-
border-top: #EEEEEE solid 1px; }
|
1663 |
-
.acf-field.acf-accordion .acf-accordion-content > .acf-fields.-clear {
|
1664 |
-
padding: 0 12px 15px; }
|
1665 |
-
|
1666 |
-
/* field specific (left) */
|
1667 |
-
.acf-fields.-left > .acf-field.acf-accordion {
|
1668 |
-
padding: 0 !important; }
|
1669 |
-
.acf-fields.-left > .acf-field.acf-accordion:before {
|
1670 |
-
display: none; }
|
1671 |
-
.acf-fields.-left > .acf-field.acf-accordion .acf-accordion-title {
|
1672 |
-
width: auto;
|
1673 |
-
margin: 0 !important;
|
1674 |
-
padding: 12px;
|
1675 |
-
float: none !important; }
|
1676 |
-
.acf-fields.-left > .acf-field.acf-accordion .acf-accordion-content {
|
1677 |
-
padding: 0 !important; }
|
1678 |
-
|
1679 |
-
/* field specific (clear) */
|
1680 |
-
.acf-fields.-clear > .acf-field.acf-accordion {
|
1681 |
-
border: #cccccc solid 1px;
|
1682 |
-
background: transparent; }
|
1683 |
-
.acf-fields.-clear > .acf-field.acf-accordion + .acf-field.acf-accordion {
|
1684 |
-
margin-top: -16px; }
|
1685 |
-
|
1686 |
-
/* table */
|
1687 |
-
tr.acf-field.acf-accordion {
|
1688 |
-
background: transparent; }
|
1689 |
-
tr.acf-field.acf-accordion > .acf-input {
|
1690 |
-
padding: 0 !important;
|
1691 |
-
border: #cccccc solid 1px; }
|
1692 |
-
tr.acf-field.acf-accordion .acf-accordion-content {
|
1693 |
-
padding: 0 12px 12px; }
|
1694 |
-
|
1695 |
-
/* #addtag */
|
1696 |
-
#addtag div.acf-field.error {
|
1697 |
-
border: 0 none;
|
1698 |
-
padding: 8px 0; }
|
1699 |
-
|
1700 |
-
#addtag > .acf-field.acf-accordion {
|
1701 |
-
padding-right: 0;
|
1702 |
-
margin-right: 5%; }
|
1703 |
-
#addtag > .acf-field.acf-accordion + p.submit {
|
1704 |
-
margin-top: 0; }
|
1705 |
-
|
1706 |
-
/* border */
|
1707 |
-
tr.acf-accordion {
|
1708 |
-
margin: 15px 0 !important; }
|
1709 |
-
tr.acf-accordion + tr.acf-accordion {
|
1710 |
-
margin-top: -16px !important; }
|
1711 |
-
|
1712 |
-
/* seamless */
|
1713 |
-
.acf-postbox.seamless > .acf-fields > .acf-accordion {
|
1714 |
-
margin-left: 12px !important;
|
1715 |
-
margin-right: 12px !important; }
|
1716 |
-
|
1717 |
-
/* rtl */
|
1718 |
-
/* menu item */
|
1719 |
-
/*
|
1720 |
-
.menu-item-settings > .field-acf > .acf-field.acf-accordion {
|
1721 |
-
border: #dfdfdf solid 1px;
|
1722 |
-
margin: 10px -13px 10px -11px;
|
1723 |
-
|
1724 |
-
+ .acf-field.acf-accordion {
|
1725 |
-
margin-top: -11px;
|
1726 |
-
}
|
1727 |
-
}
|
1728 |
-
*/
|
1729 |
-
/* widget */
|
1730 |
-
.widget .widget-content > .acf-field.acf-accordion {
|
1731 |
-
border: #dfdfdf solid 1px;
|
1732 |
-
margin-bottom: 10px; }
|
1733 |
-
.widget .widget-content > .acf-field.acf-accordion .acf-accordion-title {
|
1734 |
-
margin-bottom: 0; }
|
1735 |
-
.widget .widget-content > .acf-field.acf-accordion + .acf-field.acf-accordion {
|
1736 |
-
margin-top: -11px; }
|
1737 |
-
|
1738 |
-
.acf-postbox.seamless > .acf-fields > .acf-field.acf-accordion {
|
1739 |
-
border: #e5e5e5 solid 1px; }
|
1740 |
-
.acf-postbox.seamless > .acf-fields > .acf-field.acf-accordion + .acf-field.acf-accordion {
|
1741 |
-
margin-top: -1px; }
|
1742 |
-
|
1743 |
-
.media-modal .compat-attachment-fields .acf-field.acf-accordion + .acf-field.acf-accordion {
|
1744 |
-
margin-top: -1px; }
|
1745 |
-
|
1746 |
-
.media-modal .compat-attachment-fields .acf-field.acf-accordion > .acf-input {
|
1747 |
-
width: 100%; }
|
1748 |
-
|
1749 |
-
.media-modal .compat-attachment-fields .acf-field.acf-accordion .compat-attachment-fields > tbody > tr > td {
|
1750 |
-
padding-bottom: 5px; }
|
1751 |
-
|
1752 |
-
/*--------------------------------------------------------------------------------------------
|
1753 |
-
*
|
1754 |
-
* User
|
1755 |
-
*
|
1756 |
-
*--------------------------------------------------------------------------------------------*/
|
1757 |
-
.form-table > tbody {
|
1758 |
-
/* field */
|
1759 |
-
/* tab wrap */
|
1760 |
-
/* misc */ }
|
1761 |
-
.form-table > tbody > .acf-field {
|
1762 |
-
/* label */
|
1763 |
-
/* input */ }
|
1764 |
-
.form-table > tbody > .acf-field > .acf-label {
|
1765 |
-
padding: 20px 10px 20px 0;
|
1766 |
-
width: 210px;
|
1767 |
-
/* rtl */ }
|
1768 |
-
html[dir="rtl"] .form-table > tbody > .acf-field > .acf-label {
|
1769 |
-
padding: 20px 0 20px 10px; }
|
1770 |
-
.form-table > tbody > .acf-field > .acf-label label {
|
1771 |
-
font-size: 14px;
|
1772 |
-
color: #23282d; }
|
1773 |
-
.form-table > tbody > .acf-field > .acf-input {
|
1774 |
-
padding: 15px 10px;
|
1775 |
-
/* rtl */ }
|
1776 |
-
html[dir="rtl"] .form-table > tbody > .acf-field > .acf-input {
|
1777 |
-
padding: 15px 10px 15px 5%; }
|
1778 |
-
.form-table > tbody > .acf-tab-wrap td {
|
1779 |
-
padding: 15px 5% 15px 0;
|
1780 |
-
/* rtl */ }
|
1781 |
-
html[dir="rtl"] .form-table > tbody > .acf-tab-wrap td {
|
1782 |
-
padding: 15px 0 15px 5%; }
|
1783 |
-
.form-table > tbody .form-table th.acf-th {
|
1784 |
-
width: auto; }
|
1785 |
-
|
1786 |
-
#your-profile,
|
1787 |
-
#createuser {
|
1788 |
-
/* override for user css */
|
1789 |
-
/* allow sub fields to display correctly */ }
|
1790 |
-
#your-profile .acf-field input[type="text"],
|
1791 |
-
#your-profile .acf-field input[type="password"],
|
1792 |
-
#your-profile .acf-field input[type="number"],
|
1793 |
-
#your-profile .acf-field input[type="search"],
|
1794 |
-
#your-profile .acf-field input[type="email"],
|
1795 |
-
#your-profile .acf-field input[type="url"],
|
1796 |
-
#your-profile .acf-field select,
|
1797 |
-
#createuser .acf-field input[type="text"],
|
1798 |
-
#createuser .acf-field input[type="password"],
|
1799 |
-
#createuser .acf-field input[type="number"],
|
1800 |
-
#createuser .acf-field input[type="search"],
|
1801 |
-
#createuser .acf-field input[type="email"],
|
1802 |
-
#createuser .acf-field input[type="url"],
|
1803 |
-
#createuser .acf-field select {
|
1804 |
-
max-width: 25em; }
|
1805 |
-
#your-profile .acf-field textarea,
|
1806 |
-
#createuser .acf-field textarea {
|
1807 |
-
max-width: 500px; }
|
1808 |
-
#your-profile .acf-field .acf-field input[type="text"],
|
1809 |
-
#your-profile .acf-field .acf-field input[type="password"],
|
1810 |
-
#your-profile .acf-field .acf-field input[type="number"],
|
1811 |
-
#your-profile .acf-field .acf-field input[type="search"],
|
1812 |
-
#your-profile .acf-field .acf-field input[type="email"],
|
1813 |
-
#your-profile .acf-field .acf-field input[type="url"],
|
1814 |
-
#your-profile .acf-field .acf-field textarea,
|
1815 |
-
#your-profile .acf-field .acf-field select,
|
1816 |
-
#createuser .acf-field .acf-field input[type="text"],
|
1817 |
-
#createuser .acf-field .acf-field input[type="password"],
|
1818 |
-
#createuser .acf-field .acf-field input[type="number"],
|
1819 |
-
#createuser .acf-field .acf-field input[type="search"],
|
1820 |
-
#createuser .acf-field .acf-field input[type="email"],
|
1821 |
-
#createuser .acf-field .acf-field input[type="url"],
|
1822 |
-
#createuser .acf-field .acf-field textarea,
|
1823 |
-
#createuser .acf-field .acf-field select {
|
1824 |
-
max-width: none; }
|
1825 |
-
|
1826 |
-
#registerform h2 {
|
1827 |
-
margin: 1em 0; }
|
1828 |
-
|
1829 |
-
#registerform .acf-field {
|
1830 |
-
margin-top: 0;
|
1831 |
-
/*
|
1832 |
-
.acf-input {
|
1833 |
-
input {
|
1834 |
-
font-size: 24px;
|
1835 |
-
padding: 5px;
|
1836 |
-
height: auto;
|
1837 |
-
}
|
1838 |
-
}
|
1839 |
-
*/ }
|
1840 |
-
#registerform .acf-field .acf-label {
|
1841 |
-
margin-bottom: 0; }
|
1842 |
-
#registerform .acf-field .acf-label label {
|
1843 |
-
font-weight: normal;
|
1844 |
-
line-height: 1.5; }
|
1845 |
-
|
1846 |
-
#registerform p.submit {
|
1847 |
-
text-align: right; }
|
1848 |
-
|
1849 |
-
/*--------------------------------------------------------------------------------------------
|
1850 |
-
*
|
1851 |
-
* Term
|
1852 |
-
*
|
1853 |
-
*--------------------------------------------------------------------------------------------*/
|
1854 |
-
#acf-term-fields {
|
1855 |
-
padding-right: 5%; }
|
1856 |
-
#acf-term-fields > .acf-field > .acf-label {
|
1857 |
-
margin: 0; }
|
1858 |
-
#acf-term-fields > .acf-field > .acf-label label {
|
1859 |
-
font-size: 12px;
|
1860 |
-
font-weight: normal; }
|
1861 |
-
|
1862 |
-
p.submit .spinner,
|
1863 |
-
p.submit .acf-spinner {
|
1864 |
-
vertical-align: top;
|
1865 |
-
float: none;
|
1866 |
-
margin: 4px 4px 0; }
|
1867 |
-
|
1868 |
-
#edittag .acf-fields.-left > .acf-field {
|
1869 |
-
padding-left: 220px; }
|
1870 |
-
#edittag .acf-fields.-left > .acf-field:before {
|
1871 |
-
width: 209px; }
|
1872 |
-
#edittag .acf-fields.-left > .acf-field > .acf-label {
|
1873 |
-
width: 220px;
|
1874 |
-
margin-left: -220px;
|
1875 |
-
padding: 0 10px; }
|
1876 |
-
#edittag .acf-fields.-left > .acf-field > .acf-input {
|
1877 |
-
padding: 0; }
|
1878 |
-
|
1879 |
-
#edittag > .acf-fields.-left {
|
1880 |
-
width: 96%; }
|
1881 |
-
#edittag > .acf-fields.-left > .acf-field > .acf-label {
|
1882 |
-
padding-left: 0; }
|
1883 |
-
|
1884 |
-
/*--------------------------------------------------------------------------------------------
|
1885 |
-
*
|
1886 |
-
* Comment
|
1887 |
-
*
|
1888 |
-
*--------------------------------------------------------------------------------------------*/
|
1889 |
-
.editcomment td:first-child {
|
1890 |
-
white-space: nowrap;
|
1891 |
-
width: 131px; }
|
1892 |
-
|
1893 |
-
/*--------------------------------------------------------------------------------------------
|
1894 |
-
*
|
1895 |
-
* Widget
|
1896 |
-
*
|
1897 |
-
*--------------------------------------------------------------------------------------------*/
|
1898 |
-
#widgets-right .widget .acf-field .description {
|
1899 |
-
padding-left: 0;
|
1900 |
-
padding-right: 0; }
|
1901 |
-
|
1902 |
-
.acf-widget-fields > .acf-field .acf-label {
|
1903 |
-
margin-bottom: 5px; }
|
1904 |
-
.acf-widget-fields > .acf-field .acf-label label {
|
1905 |
-
font-weight: normal;
|
1906 |
-
margin: 0; }
|
1907 |
-
|
1908 |
-
/*--------------------------------------------------------------------------------------------
|
1909 |
-
*
|
1910 |
-
* Nav Menu
|
1911 |
-
*
|
1912 |
-
*--------------------------------------------------------------------------------------------*/
|
1913 |
-
.acf-menu-settings {
|
1914 |
-
border-top: 1px solid #eee;
|
1915 |
-
margin-top: 2em; }
|
1916 |
-
.acf-menu-settings.-seamless {
|
1917 |
-
border-top: none;
|
1918 |
-
margin-top: 15px; }
|
1919 |
-
.acf-menu-settings.-seamless > h2 {
|
1920 |
-
display: none; }
|
1921 |
-
.acf-menu-settings .list li {
|
1922 |
-
display: block;
|
1923 |
-
margin-bottom: 0; }
|
1924 |
-
|
1925 |
-
.acf-menu-item-fields {
|
1926 |
-
margin-right: 10px;
|
1927 |
-
float: left; }
|
1928 |
-
|
1929 |
-
/*---------------------------------------------------------------------------------------------
|
1930 |
-
*
|
1931 |
-
* Attachment Form (single)
|
1932 |
-
*
|
1933 |
-
*---------------------------------------------------------------------------------------------*/
|
1934 |
-
#post .compat-attachment-fields .compat-field-acf-form-data {
|
1935 |
-
display: none; }
|
1936 |
-
|
1937 |
-
#post .compat-attachment-fields,
|
1938 |
-
#post .compat-attachment-fields > tbody,
|
1939 |
-
#post .compat-attachment-fields > tbody > tr,
|
1940 |
-
#post .compat-attachment-fields > tbody > tr > th,
|
1941 |
-
#post .compat-attachment-fields > tbody > tr > td {
|
1942 |
-
display: block; }
|
1943 |
-
|
1944 |
-
#post .compat-attachment-fields > tbody > .acf-field {
|
1945 |
-
margin: 15px 0; }
|
1946 |
-
#post .compat-attachment-fields > tbody > .acf-field > .acf-label {
|
1947 |
-
margin: 0; }
|
1948 |
-
#post .compat-attachment-fields > tbody > .acf-field > .acf-label label {
|
1949 |
-
margin: 0;
|
1950 |
-
padding: 0; }
|
1951 |
-
#post .compat-attachment-fields > tbody > .acf-field > .acf-label label p {
|
1952 |
-
margin: 0 0 3px !important; }
|
1953 |
-
#post .compat-attachment-fields > tbody > .acf-field > .acf-input {
|
1954 |
-
margin: 0; }
|
1955 |
-
|
1956 |
-
/*---------------------------------------------------------------------------------------------
|
1957 |
-
*
|
1958 |
-
* Media Model
|
1959 |
-
*
|
1960 |
-
*---------------------------------------------------------------------------------------------*/
|
1961 |
-
/* WP sets tables to act as divs. ACF uses tables, so these muct be reset */
|
1962 |
-
.media-modal .compat-attachment-fields td.acf-input table {
|
1963 |
-
display: table;
|
1964 |
-
table-layout: auto; }
|
1965 |
-
.media-modal .compat-attachment-fields td.acf-input table tbody {
|
1966 |
-
display: table-row-group; }
|
1967 |
-
.media-modal .compat-attachment-fields td.acf-input table tr {
|
1968 |
-
display: table-row; }
|
1969 |
-
.media-modal .compat-attachment-fields td.acf-input table td, .media-modal .compat-attachment-fields td.acf-input table th {
|
1970 |
-
display: table-cell; }
|
1971 |
-
|
1972 |
-
/* field widths floats */
|
1973 |
-
.media-modal .compat-attachment-fields > tbody > .acf-field {
|
1974 |
-
margin: 5px 0; }
|
1975 |
-
.media-modal .compat-attachment-fields > tbody > .acf-field > .acf-label {
|
1976 |
-
min-width: 30%;
|
1977 |
-
margin: 0;
|
1978 |
-
padding: 0;
|
1979 |
-
float: left;
|
1980 |
-
text-align: right;
|
1981 |
-
display: block;
|
1982 |
-
float: left; }
|
1983 |
-
.media-modal .compat-attachment-fields > tbody > .acf-field > .acf-label > label {
|
1984 |
-
padding-top: 6px;
|
1985 |
-
margin: 0;
|
1986 |
-
color: #666666;
|
1987 |
-
font-weight: 400;
|
1988 |
-
line-height: 16px; }
|
1989 |
-
.media-modal .compat-attachment-fields > tbody > .acf-field > .acf-input {
|
1990 |
-
width: 65%;
|
1991 |
-
margin: 0;
|
1992 |
-
padding: 0;
|
1993 |
-
float: right;
|
1994 |
-
display: block; }
|
1995 |
-
.media-modal .compat-attachment-fields > tbody > .acf-field p.description {
|
1996 |
-
margin: 0; }
|
1997 |
-
|
1998 |
-
/* restricted selection (copy of WP .upload-errors)*/
|
1999 |
-
.acf-selection-error {
|
2000 |
-
background: #ffebe8;
|
2001 |
-
border: 1px solid #c00;
|
2002 |
-
border-radius: 3px;
|
2003 |
-
padding: 8px;
|
2004 |
-
margin: 20px 0 0; }
|
2005 |
-
.acf-selection-error .selection-error-label {
|
2006 |
-
background: #CC0000;
|
2007 |
-
border-radius: 3px;
|
2008 |
-
color: #fff;
|
2009 |
-
font-weight: bold;
|
2010 |
-
margin-right: 8px;
|
2011 |
-
padding: 2px 4px; }
|
2012 |
-
.acf-selection-error .selection-error-message {
|
2013 |
-
color: #b44;
|
2014 |
-
display: block;
|
2015 |
-
padding-top: 8px;
|
2016 |
-
word-wrap: break-word;
|
2017 |
-
white-space: pre-wrap; }
|
2018 |
-
|
2019 |
-
/* disabled attachment */
|
2020 |
-
.media-modal .attachment.acf-disabled .thumbnail {
|
2021 |
-
opacity: 0.25 !important; }
|
2022 |
-
|
2023 |
-
.media-modal .attachment.acf-disabled .attachment-preview:before {
|
2024 |
-
background: rgba(0, 0, 0, 0.15);
|
2025 |
-
z-index: 1;
|
2026 |
-
position: relative; }
|
2027 |
-
|
2028 |
-
/* misc */
|
2029 |
-
.media-modal {
|
2030 |
-
/* compat-item */
|
2031 |
-
/* allow line breaks in upload error */
|
2032 |
-
/* fix required span */
|
2033 |
-
/* sidebar */
|
2034 |
-
/* mobile md */ }
|
2035 |
-
.media-modal .compat-field-acf-form-data,
|
2036 |
-
.media-modal .compat-field-acf-blank {
|
2037 |
-
display: none !important; }
|
2038 |
-
.media-modal .upload-error-message {
|
2039 |
-
white-space: pre-wrap; }
|
2040 |
-
.media-modal .acf-required {
|
2041 |
-
padding: 0 !important;
|
2042 |
-
margin: 0 !important;
|
2043 |
-
float: none !important;
|
2044 |
-
color: #f00 !important; }
|
2045 |
-
.media-modal .media-sidebar .compat-item {
|
2046 |
-
padding-bottom: 20px; }
|
2047 |
-
@media (max-width: 900px) {
|
2048 |
-
.media-modal {
|
2049 |
-
/* label */
|
2050 |
-
/* field */ }
|
2051 |
-
.media-modal .setting span,
|
2052 |
-
.media-modal .compat-attachment-fields > tbody > .acf-field > .acf-label {
|
2053 |
-
width: 98%;
|
2054 |
-
float: none;
|
2055 |
-
text-align: left;
|
2056 |
-
min-height: 0;
|
2057 |
-
padding: 0; }
|
2058 |
-
.media-modal .setting input,
|
2059 |
-
.media-modal .setting textarea,
|
2060 |
-
.media-modal .compat-attachment-fields > tbody > .acf-field > .acf-input {
|
2061 |
-
float: none;
|
2062 |
-
height: auto;
|
2063 |
-
max-width: none;
|
2064 |
-
width: 98%; } }
|
2065 |
-
|
2066 |
-
/*---------------------------------------------------------------------------------------------
|
2067 |
-
*
|
2068 |
-
* Media Model (expand details)
|
2069 |
-
*
|
2070 |
-
*---------------------------------------------------------------------------------------------*/
|
2071 |
-
.media-modal .acf-expand-details {
|
2072 |
-
float: right;
|
2073 |
-
padding: 1px 10px;
|
2074 |
-
margin-right: 6px;
|
2075 |
-
height: 18px;
|
2076 |
-
line-height: 18px;
|
2077 |
-
color: #AAAAAA;
|
2078 |
-
font-size: 12px;
|
2079 |
-
/* mobile sm */ }
|
2080 |
-
.media-modal .acf-expand-details:focus, .media-modal .acf-expand-details:active {
|
2081 |
-
outline: 0 none;
|
2082 |
-
box-shadow: none;
|
2083 |
-
color: #AAAAAA; }
|
2084 |
-
.media-modal .acf-expand-details:hover {
|
2085 |
-
color: #666666 !important; }
|
2086 |
-
.media-modal .acf-expand-details span {
|
2087 |
-
display: block;
|
2088 |
-
float: left; }
|
2089 |
-
.media-modal .acf-expand-details .acf-icon {
|
2090 |
-
margin: 0 4px 0 0; }
|
2091 |
-
.media-modal .acf-expand-details:hover .acf-icon {
|
2092 |
-
border-color: #AAAAAA; }
|
2093 |
-
.media-modal .acf-expand-details .is-open {
|
2094 |
-
display: none; }
|
2095 |
-
.media-modal .acf-expand-details .is-closed {
|
2096 |
-
display: block; }
|
2097 |
-
@media (max-width: 640px) {
|
2098 |
-
.media-modal .acf-expand-details {
|
2099 |
-
display: none; } }
|
2100 |
-
|
2101 |
-
/* expanded */
|
2102 |
-
.media-modal.acf-expanded {
|
2103 |
-
/* toggle */ }
|
2104 |
-
.media-modal.acf-expanded .acf-expand-details .is-open {
|
2105 |
-
display: block; }
|
2106 |
-
.media-modal.acf-expanded .acf-expand-details .is-closed {
|
2107 |
-
display: none; }
|
2108 |
-
.media-modal.acf-expanded .attachments-browser .media-toolbar,
|
2109 |
-
.media-modal.acf-expanded .attachments-browser .attachments {
|
2110 |
-
right: 740px; }
|
2111 |
-
.media-modal.acf-expanded .media-sidebar {
|
2112 |
-
width: 708px; }
|
2113 |
-
.media-modal.acf-expanded .media-sidebar .attachment-info .thumbnail {
|
2114 |
-
float: left;
|
2115 |
-
max-height: none; }
|
2116 |
-
.media-modal.acf-expanded .media-sidebar .attachment-info .thumbnail img {
|
2117 |
-
max-width: 100%;
|
2118 |
-
max-height: 200px; }
|
2119 |
-
.media-modal.acf-expanded .media-sidebar .attachment-info .details {
|
2120 |
-
float: right; }
|
2121 |
-
.media-modal.acf-expanded .media-sidebar .attachment-info .thumbnail,
|
2122 |
-
.media-modal.acf-expanded .media-sidebar .attachment-details .setting span,
|
2123 |
-
.media-modal.acf-expanded .media-sidebar .compat-attachment-fields > tbody > .acf-field > .acf-label {
|
2124 |
-
min-width: 20%;
|
2125 |
-
margin-right: 0; }
|
2126 |
-
.media-modal.acf-expanded .media-sidebar .attachment-info .details,
|
2127 |
-
.media-modal.acf-expanded .media-sidebar .attachment-details .setting input,
|
2128 |
-
.media-modal.acf-expanded .media-sidebar .attachment-details .setting textarea,
|
2129 |
-
.media-modal.acf-expanded .media-sidebar .attachment-details .setting + .description,
|
2130 |
-
.media-modal.acf-expanded .media-sidebar .compat-attachment-fields > tbody > .acf-field > .acf-input {
|
2131 |
-
min-width: 77%; }
|
2132 |
-
@media (max-width: 900px) {
|
2133 |
-
.media-modal.acf-expanded .attachments-browser .media-toolbar {
|
2134 |
-
display: none; }
|
2135 |
-
.media-modal.acf-expanded .attachments {
|
2136 |
-
display: none; }
|
2137 |
-
.media-modal.acf-expanded .media-sidebar {
|
2138 |
-
width: auto;
|
2139 |
-
max-width: none !important;
|
2140 |
-
bottom: 0 !important; }
|
2141 |
-
.media-modal.acf-expanded .media-sidebar .attachment-info .thumbnail {
|
2142 |
-
min-width: 0;
|
2143 |
-
max-width: none;
|
2144 |
-
width: 30%; }
|
2145 |
-
.media-modal.acf-expanded .media-sidebar .attachment-info .details {
|
2146 |
-
min-width: 0;
|
2147 |
-
max-width: none;
|
2148 |
-
width: 67%; } }
|
2149 |
-
@media (max-width: 640px) {
|
2150 |
-
.media-modal.acf-expanded .media-sidebar .attachment-info .thumbnail, .media-modal.acf-expanded .media-sidebar .attachment-info .details {
|
2151 |
-
width: 100%; } }
|
2152 |
-
|
2153 |
-
/*---------------------------------------------------------------------------------------------
|
2154 |
-
*
|
2155 |
-
* ACF Media Model
|
2156 |
-
*
|
2157 |
-
*---------------------------------------------------------------------------------------------*/
|
2158 |
-
.acf-media-modal {
|
2159 |
-
/* hide embed settings */ }
|
2160 |
-
.acf-media-modal .media-embed .setting.align,
|
2161 |
-
.acf-media-modal .media-embed .setting.link-to {
|
2162 |
-
display: none; }
|
2163 |
-
@media screen and (min-width: 1024px) {
|
2164 |
-
.acf-media-modal .media-modal-content .media-frame .media-toolbar-secondary {
|
2165 |
-
max-width: none; }
|
2166 |
-
.acf-media-modal .media-modal-content .media-frame .media-toolbar-secondary select.attachment-filters {
|
2167 |
-
width: auto;
|
2168 |
-
min-width: 150px;
|
2169 |
-
max-width: none;
|
2170 |
-
margin: 11px 6px 0 0;
|
2171 |
-
vertical-align: middle; } }
|
2172 |
-
|
2173 |
-
/*---------------------------------------------------------------------------------------------
|
2174 |
-
*
|
2175 |
-
* ACF Media Model (Select Mode)
|
2176 |
-
*
|
2177 |
-
*---------------------------------------------------------------------------------------------*/
|
2178 |
-
/*---------------------------------------------------------------------------------------------
|
2179 |
-
*
|
2180 |
-
* ACF Media Model (Edit Mode)
|
2181 |
-
*
|
2182 |
-
*---------------------------------------------------------------------------------------------*/
|
2183 |
-
.acf-media-modal.-edit {
|
2184 |
-
/* resize modal */
|
2185 |
-
left: 15%;
|
2186 |
-
right: 15%;
|
2187 |
-
top: 100px;
|
2188 |
-
bottom: 100px;
|
2189 |
-
/* hide elements */
|
2190 |
-
/* full width */
|
2191 |
-
/* tidy up incorrect distance */
|
2192 |
-
/* title box shadow (to match media grid) */
|
2193 |
-
/* sidebar */
|
2194 |
-
/* mobile md */
|
2195 |
-
/* mobile sm */ }
|
2196 |
-
.acf-media-modal.-edit .media-frame-menu,
|
2197 |
-
.acf-media-modal.-edit .media-frame-router,
|
2198 |
-
.acf-media-modal.-edit .media-frame-content .attachments,
|
2199 |
-
.acf-media-modal.-edit .media-frame-content .media-toolbar {
|
2200 |
-
display: none; }
|
2201 |
-
.acf-media-modal.-edit .media-frame-title,
|
2202 |
-
.acf-media-modal.-edit .media-frame-content,
|
2203 |
-
.acf-media-modal.-edit .media-frame-toolbar,
|
2204 |
-
.acf-media-modal.-edit .media-sidebar {
|
2205 |
-
width: auto;
|
2206 |
-
left: 0;
|
2207 |
-
right: 0; }
|
2208 |
-
.acf-media-modal.-edit .media-frame-content {
|
2209 |
-
top: 50px; }
|
2210 |
-
.acf-media-modal.-edit .media-frame-title {
|
2211 |
-
border-bottom: 1px solid #DFDFDF;
|
2212 |
-
box-shadow: 0 4px 4px -4px rgba(0, 0, 0, 0.1); }
|
2213 |
-
.acf-media-modal.-edit .media-sidebar {
|
2214 |
-
padding: 0 16px;
|
2215 |
-
/* WP details */
|
2216 |
-
/* ACF fields */
|
2217 |
-
/* WP required message */ }
|
2218 |
-
.acf-media-modal.-edit .media-sidebar .attachment-details {
|
2219 |
-
overflow: visible;
|
2220 |
-
/* hide 'Attachment Details' heading */
|
2221 |
-
/* remove overflow */
|
2222 |
-
/* move thumbnail */ }
|
2223 |
-
.acf-media-modal.-edit .media-sidebar .attachment-details > h3, .acf-media-modal.-edit .media-sidebar .attachment-details > h2 {
|
2224 |
-
display: none; }
|
2225 |
-
.acf-media-modal.-edit .media-sidebar .attachment-details .attachment-info {
|
2226 |
-
background: #fff;
|
2227 |
-
border-bottom: #dddddd solid 1px;
|
2228 |
-
padding: 16px;
|
2229 |
-
margin: 0 -16px 16px; }
|
2230 |
-
.acf-media-modal.-edit .media-sidebar .attachment-details .thumbnail {
|
2231 |
-
margin: 0 16px 0 0; }
|
2232 |
-
.acf-media-modal.-edit .media-sidebar .attachment-details .setting {
|
2233 |
-
margin: 0 0 5px; }
|
2234 |
-
.acf-media-modal.-edit .media-sidebar .attachment-details .setting span {
|
2235 |
-
margin: 0; }
|
2236 |
-
.acf-media-modal.-edit .media-sidebar .compat-attachment-fields > tbody > .acf-field {
|
2237 |
-
margin: 0 0 5px; }
|
2238 |
-
.acf-media-modal.-edit .media-sidebar .compat-attachment-fields > tbody > .acf-field p.description {
|
2239 |
-
margin-top: 3px; }
|
2240 |
-
.acf-media-modal.-edit .media-sidebar .media-types-required-info {
|
2241 |
-
display: none; }
|
2242 |
-
@media (max-width: 900px) {
|
2243 |
-
.acf-media-modal.-edit {
|
2244 |
-
top: 30px;
|
2245 |
-
right: 30px;
|
2246 |
-
bottom: 30px;
|
2247 |
-
left: 30px; } }
|
2248 |
-
@media (max-width: 640px) {
|
2249 |
-
.acf-media-modal.-edit {
|
2250 |
-
top: 0;
|
2251 |
-
right: 0;
|
2252 |
-
bottom: 0;
|
2253 |
-
left: 0; } }
|
2254 |
-
@media (max-width: 480px) {
|
2255 |
-
.acf-media-modal.-edit .media-frame-content {
|
2256 |
-
top: 40px; } }
|
2257 |
-
|
2258 |
-
/*--------------------------------------------------------------------------------------------
|
2259 |
-
*
|
2260 |
-
* Confirm remove
|
2261 |
-
*
|
2262 |
-
*--------------------------------------------------------------------------------------------*/
|
2263 |
-
.acf-temp-remove {
|
2264 |
-
position: relative;
|
2265 |
-
opacity: 1;
|
2266 |
-
-webkit-transition: all 0.25s ease;
|
2267 |
-
-moz-transition: all 0.25s ease;
|
2268 |
-
-o-transition: all 0.25s ease;
|
2269 |
-
transition: all 0.25s ease;
|
2270 |
-
overflow: hidden;
|
2271 |
-
/* overlay prevents hover */ }
|
2272 |
-
.acf-temp-remove:after {
|
2273 |
-
display: block;
|
2274 |
-
content: "";
|
2275 |
-
position: absolute;
|
2276 |
-
top: 0;
|
2277 |
-
left: 0;
|
2278 |
-
right: 0;
|
2279 |
-
bottom: 0;
|
2280 |
-
z-index: 99; }
|
2281 |
-
|
2282 |
-
/*--------------------------------------------------------------------------
|
2283 |
-
*
|
2284 |
-
* Conditional Logic
|
2285 |
-
*
|
2286 |
-
*-------------------------------------------------------------------------*/
|
2287 |
-
/* Hide */
|
2288 |
-
.hidden-by-conditional-logic {
|
2289 |
-
display: none !important; }
|
2290 |
-
|
2291 |
-
/* Hide (appear empty) */
|
2292 |
-
.hidden-by-conditional-logic.appear-empty {
|
2293 |
-
display: table-cell !important; }
|
2294 |
-
|
2295 |
-
.hidden-by-conditional-logic.appear-empty .acf-input {
|
2296 |
-
display: none !important; }
|
2297 |
-
|
2298 |
-
/*--------------------------------------------------------------------------
|
2299 |
-
*
|
2300 |
-
* 3rd Party
|
2301 |
-
*
|
2302 |
-
*-------------------------------------------------------------------------*/
|
2303 |
-
/* Tabify shows hidden postboxes */
|
2304 |
-
.acf-postbox.acf-hidden {
|
2305 |
-
display: none !important; }
|
2306 |
-
|
2307 |
-
#editor .edit-post-layout__metaboxes {
|
2308 |
-
padding: 0; }
|
2309 |
-
|
2310 |
-
#editor .postbox {
|
2311 |
-
color: #444; }
|
2312 |
-
#editor .postbox .handlediv {
|
2313 |
-
color: #191e23 !important;
|
2314 |
-
height: 46px;
|
2315 |
-
width: auto;
|
2316 |
-
padding: 0 14px 0 5px;
|
2317 |
-
position: relative;
|
2318 |
-
z-index: 2; }
|
2319 |
-
#editor .postbox .hndle {
|
2320 |
-
color: #191e23 !important;
|
2321 |
-
font-size: 13px;
|
2322 |
-
line-height: normal;
|
2323 |
-
padding: 15px; }
|
2324 |
-
#editor .postbox .hndle:hover {
|
2325 |
-
background: #f2f4f5; }
|
2326 |
-
#editor .postbox .hndle .acf-hndle-cog {
|
2327 |
-
line-height: 16px; }
|
2328 |
-
#editor .postbox .handlediv .toggle-indicator {
|
2329 |
-
color: inherit; }
|
2330 |
-
#editor .postbox .handlediv .toggle-indicator:before {
|
2331 |
-
content: "\f343";
|
2332 |
-
font-size: 18px;
|
2333 |
-
width: auto; }
|
2334 |
-
#editor .postbox.closed .handlediv .toggle-indicator:before {
|
2335 |
-
content: "\f347"; }
|
1 |
+
.acf-field,.acf-field .acf-label,.acf-field .acf-input{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative}.acf-field{margin:15px 0;clear:both}.acf-field p.description{display:block;margin:0;padding:0}.acf-field .acf-label{vertical-align:top;margin:0 0 10px}.acf-field .acf-label label{display:block;font-weight:bold;margin:0 0 3px;padding:0}.acf-field .acf-label:empty{margin-bottom:0}.acf-field .acf-input{vertical-align:top}.acf-field .acf-input>p.description{margin-top:5px}.acf-field .acf-notice{margin:0 0 15px;background:#edf2ff;color:#2183b9;border:none}.acf-field .acf-notice .acf-notice-dismiss{background:transparent;color:inherit}.acf-field .acf-notice .acf-notice-dismiss:hover{background:#fff}.acf-field .acf-notice.-dismiss{padding-right:40px}.acf-field .acf-notice.-error{background:#ffe6e6;color:#d12626}.acf-field .acf-notice.-success{background:#eefbe8;color:#32a23b}.acf-field .acf-notice.-warning{background:#fff3e6;color:#d16226}td.acf-field,tr.acf-field{margin:0}.acf-field[data-width]{float:left;clear:none}.acf-field[data-width]+.acf-field[data-width]{border-left:1px solid #eeeeee}html[dir="rtl"] .acf-field[data-width]{float:right}html[dir="rtl"] .acf-field[data-width]+.acf-field[data-width]{border-left:none;border-right:1px solid #eeeeee}td.acf-field[data-width],tr.acf-field[data-width]{float:none}.acf-field.-c0{clear:both;border-left-width:0 !important}html[dir="rtl"] .acf-field.-c0{border-left-width:1px !important;border-right-width:0 !important}.acf-field.-r0{border-top-width:0 !important}.acf-fields{position:relative}.acf-fields:after{display:block;clear:both;content:""}.acf-fields.-border{border:#ccd0d4 solid 1px;background:#fff}.acf-fields>.acf-field{position:relative;margin:0;padding:15px 12px;border-top:#EEEEEE solid 1px}.acf-fields>.acf-field:first-child{border-top:none;margin-top:0}td.acf-fields{padding:0 !important}.acf-fields.-clear>.acf-field{border:none;padding:0;margin:15px 0}.acf-fields.-clear>.acf-field[data-width]{border:none !important}.acf-fields.-clear>.acf-field>.acf-label{padding:0}.acf-fields.-clear>.acf-field>.acf-input{padding:0}.acf-fields.-left>.acf-field{padding:15px 0}.acf-fields.-left>.acf-field:after{display:block;clear:both;content:""}.acf-fields.-left>.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%}.acf-fields.-left>.acf-field[data-width]{float:none;width:auto !important;border-left-width:0 !important;border-right-width:0 !important}.acf-fields.-left>.acf-field>.acf-label{float:left;width:20%;margin:0;padding:0 12px}.acf-fields.-left>.acf-field>.acf-input{float:left;width:80%;margin:0;padding:0 12px}html[dir="rtl"] .acf-fields.-left>.acf-field:before{border-width:0 0 0 1px;left:auto;right:0}html[dir="rtl"] .acf-fields.-left>.acf-field>.acf-label{float:right}html[dir="rtl"] .acf-fields.-left>.acf-field>.acf-input{float:right}#side-sortables .acf-fields.-left>.acf-field:before{display:none}#side-sortables .acf-fields.-left>.acf-field>.acf-label{width:100%;margin-bottom:10px}#side-sortables .acf-fields.-left>.acf-field>.acf-input{width:100%}@media screen and (max-width: 640px){.acf-fields.-left>.acf-field:before{display:none}.acf-fields.-left>.acf-field>.acf-label{width:100%;margin-bottom:10px}.acf-fields.-left>.acf-field>.acf-input{width:100%}}.acf-fields.-clear.-left>.acf-field{padding:0;border:none}.acf-fields.-clear.-left>.acf-field:before{display:none}.acf-fields.-clear.-left>.acf-field>.acf-label{padding:0}.acf-fields.-clear.-left>.acf-field>.acf-input{padding:0}.acf-table tr.acf-field>td.acf-label{padding:15px 12px;margin:0;background:#F9F9F9;width:20%}.acf-table tr.acf-field>td.acf-input{padding:15px 12px;margin:0;border-left-color:#E1E1E1}.acf-sortable-tr-helper{position:relative !important;display:table-row !important}.acf-postbox{position:relative}.acf-postbox>.inside{margin:0 !important;padding:0 !important}.acf-postbox>.hndle .acf-hndle-cog{color:#AAAAAA;font-size:16px;line-height:20px;padding:0 2px;float:right;position:relative;display:none}.acf-postbox>.hndle .acf-hndle-cog:hover{color:#777777}.acf-postbox:hover>.hndle .acf-hndle-cog{display:block}.acf-postbox .acf-replace-with-fields{padding:15px;text-align:center}#post-body-content #acf_after_title-sortables{margin:20px 0 -20px}.acf-postbox.seamless{border:0 none;background:transparent;box-shadow:none}.acf-postbox.seamless>.hndle,.acf-postbox.seamless>.handlediv{display:none !important}.acf-postbox.seamless>.inside{display:block !important;margin-left:-12px !important;margin-right:-12px !important}.acf-postbox.seamless>.inside>.acf-field{border-color:transparent}.acf-postbox.seamless>.acf-fields.-left>.acf-field:before{display:none}@media screen and (max-width: 782px){.acf-postbox.seamless>.acf-fields.-left>.acf-field>.acf-label,.acf-postbox.seamless>.acf-fields.-left>.acf-field>.acf-input{padding:0}}.acf-field input[type="text"],.acf-field input[type="password"],.acf-field input[type="date"],.acf-field input[type="datetime"],.acf-field input[type="datetime-local"],.acf-field input[type="email"],.acf-field input[type="month"],.acf-field input[type="number"],.acf-field input[type="search"],.acf-field input[type="tel"],.acf-field input[type="time"],.acf-field input[type="url"],.acf-field input[type="week"],.acf-field textarea,.acf-field select{width:100%;padding:4px 8px;margin:0;box-sizing:border-box;font-size:14px;line-height:1.4}.acf-admin-3-8 .acf-field input[type="text"],.acf-admin-3-8 .acf-field input[type="password"],.acf-admin-3-8 .acf-field input[type="date"],.acf-admin-3-8 .acf-field input[type="datetime"],.acf-admin-3-8 .acf-field input[type="datetime-local"],.acf-admin-3-8 .acf-field input[type="email"],.acf-admin-3-8 .acf-field input[type="month"],.acf-admin-3-8 .acf-field input[type="number"],.acf-admin-3-8 .acf-field input[type="search"],.acf-admin-3-8 .acf-field input[type="tel"],.acf-admin-3-8 .acf-field input[type="time"],.acf-admin-3-8 .acf-field input[type="url"],.acf-admin-3-8 .acf-field input[type="week"],.acf-admin-3-8 .acf-field textarea,.acf-admin-3-8 .acf-field select{padding:3px 5px}.acf-field textarea{resize:vertical}.acf-input-prepend,.acf-input-append,.acf-input-wrap{box-sizing:border-box}.acf-input-prepend,.acf-input-append{font-size:14px;line-height:1.4;padding:4px 8px;background:#f5f5f5;border:#7e8993 solid 1px;min-height:30px}.acf-admin-3-8 .acf-input-prepend,.acf-admin-3-8 .acf-input-append{padding:3px 5px;border-color:#ddd;min-height:28px}.acf-input-prepend{float:left;border-right-width:0;border-radius:3px 0 0 3px}.acf-input-append{float:right;border-left-width:0;border-radius:0 3px 3px 0}.acf-input-wrap{position:relative;overflow:hidden}input.acf-is-prepended{border-radius:0 3px 3px 0 !important}input.acf-is-appended{border-radius:3px 0 0 3px !important}input.acf-is-prepended.acf-is-appended{border-radius:0 !important}html[dir="rtl"] .acf-input-prepend{border-left-width:0;border-right-width:1px;border-radius:0 3px 3px 0;float:right}html[dir="rtl"] .acf-input-append{border-left-width:1px;border-right-width:0;border-radius:3px 0 0 3px;float:left}html[dir="rtl"] input.acf-is-prepended{border-radius:3px 0 0 3px !important}html[dir="rtl"] input.acf-is-appended{border-radius:0 3px 3px 0 !important}html[dir="rtl"] input.acf-is-prepended.acf-is-appended{border-radius:0 !important}.acf-color-picker .wp-color-result{border-color:#7e8993}.acf-admin-3-8 .acf-color-picker .wp-color-result{border-color:#ccd0d4}.acf-color-picker .wp-picker-active{position:relative;z-index:1}.acf-url i{position:absolute;top:4px;left:4px;opacity:0.5;color:#A9A9A9}.acf-url input[type="url"]{padding-left:25px !important}.acf-url.-valid i{opacity:1}.acf-field select{padding:2px}.acf-field select optgroup{padding:5px;background:#fff}.acf-field select option{padding:3px}.acf-field select optgroup option{padding-left:5px}.acf-field select optgroup:nth-child(2n){background:#F9F9F9}.acf-field .select2-input{max-width:200px}.select2-container.-acf .select2-choices{background:#fff;border-color:#ddd;box-shadow:0 1px 2px rgba(0,0,0,0.07) inset;min-height:31px}.select2-container.-acf .select2-choices .select2-search-choice{margin:5px 0 5px 5px;padding:3px 5px 3px 18px;border-color:#bbb;background:#f9f9f9;box-shadow:0 1px 0 rgba(255,255,255,0.25) inset}.select2-container.-acf .select2-choices .select2-search-choice.ui-sortable-helper{background:#5897fb;border-color:#3f87fa;color:#fff;box-shadow:0 0 3px rgba(0,0,0,0.1)}.select2-container.-acf .select2-choices .select2-search-choice.ui-sortable-helper a{visibility:hidden}.select2-container.-acf .select2-choices .select2-search-choice.ui-sortable-placeholder{background-color:#f7f7f7;border-color:#f7f7f7;visibility:visible !important}.select2-container.-acf .select2-choices .select2-search-choice-focus{border-color:#999}.select2-container.-acf .select2-choices .select2-search-field input{height:31px;line-height:22px;margin:0;padding:5px 5px 5px 7px}.select2-container.-acf .select2-choice{border-color:#BBBBBB}.select2-container.-acf .select2-choice .select2-arrow{background:transparent;border-left-color:#DFDFDF;padding-left:1px}.select2-container.-acf .select2-choice .select2-result-description{display:none}.select2-container.-acf.select2-container-active .select2-choices,.select2-container.-acf.select2-dropdown-open .select2-choices{border-color:#5B9DD9;border-radius:3px 3px 0 0}.select2-container.-acf.select2-dropdown-open .select2-choice{background:#fff;border-color:#5B9DD9}html[dir="rtl"] .select2-container.-acf .select2-search-choice-close{left:24px}html[dir="rtl"] .select2-container.-acf .select2-choice>.select2-chosen{margin-left:42px}html[dir="rtl"] .select2-container.-acf .select2-choice .select2-arrow{padding-left:0;padding-right:1px}.select2-drop .select2-search{padding:4px 4px 0}.select2-drop .select2-result .select2-result-description{color:#999;font-size:12px;margin-left:5px}.select2-drop .select2-result.select2-highlighted .select2-result-description{color:#fff;opacity:0.75}.select2-container.-acf li{margin-bottom:0}.select2-container.-acf .select2-selection{border-color:#7e8993}.acf-admin-3-8 .select2-container.-acf .select2-selection{border-color:#aaa}.select2-container.-acf .select2-selection--multiple .select2-search--inline:first-child{float:none}.select2-container.-acf .select2-selection--multiple .select2-search--inline:first-child input{width:100% !important}.select2-container.-acf .select2-selection--multiple .select2-selection__rendered{padding-right:0}.select2-container.-acf .select2-selection--multiple .select2-selection__choice{background-color:#f7f7f7;border-color:#cccccc;max-width:100%;overflow:hidden;word-wrap:normal !important;white-space:normal}.select2-container.-acf .select2-selection--multiple .select2-selection__choice.ui-sortable-helper{background:#5897fb;border-color:#3f87fa;color:#fff;box-shadow:0 0 3px rgba(0,0,0,0.1)}.select2-container.-acf .select2-selection--multiple .select2-selection__choice.ui-sortable-helper span{visibility:hidden}.select2-container.-acf .select2-selection--multiple .select2-selection__choice.ui-sortable-placeholder{background-color:#f7f7f7;border-color:#f7f7f7;visibility:visible !important}.select2-container.-acf .select2-selection--multiple .select2-search__field{box-shadow:none !important;min-height:0}.acf-row .select2-container.-acf .select2-selection--single{overflow:hidden}.acf-row .select2-container.-acf .select2-selection--single .select2-selection__rendered{white-space:normal}.select2-container .select2-dropdown{z-index:900000}.select2-container .select2-dropdown .select2-search__field{line-height:1.4;min-height:0}.acf-link .link-wrap{display:none;border:#ccd0d4 solid 1px;border-radius:3px;padding:5px;line-height:26px;background:#fff;word-wrap:break-word;word-break:break-all}.acf-link .link-wrap .link-title{padding:0 5px}.acf-link.-value .button{display:none}.acf-link.-value .acf-icon.-link-ext{display:none}.acf-link.-value .link-wrap{display:inline-block}.acf-link.-external .acf-icon.-link-ext{display:inline-block}#wp-link-backdrop{z-index:900000 !important}#wp-link-wrap{z-index:900001 !important}ul.acf-radio-list,ul.acf-checkbox-list{background:transparent;position:relative;padding:1px;margin:0}ul.acf-radio-list li,ul.acf-checkbox-list li{font-size:13px;line-height:22px;margin:0;position:relative;word-wrap:break-word}ul.acf-radio-list li label,ul.acf-checkbox-list li label{display:inline}ul.acf-radio-list li input[type="checkbox"],ul.acf-radio-list li input[type="radio"],ul.acf-checkbox-list li input[type="checkbox"],ul.acf-checkbox-list li input[type="radio"]{margin:-1px 4px 0 0;vertical-align:middle}ul.acf-radio-list li input[type="text"],ul.acf-checkbox-list li input[type="text"]{width:auto;vertical-align:middle;margin:2px 0}ul.acf-radio-list li span,ul.acf-checkbox-list li span{float:none}ul.acf-radio-list li i,ul.acf-checkbox-list li i{vertical-align:middle}ul.acf-radio-list.acf-hl li,ul.acf-checkbox-list.acf-hl li{margin-right:20px;clear:none}html[dir="rtl"] ul.acf-radio-list input[type="checkbox"],html[dir="rtl"] ul.acf-radio-list input[type="radio"],html[dir="rtl"] ul.acf-checkbox-list input[type="checkbox"],html[dir="rtl"] ul.acf-checkbox-list input[type="radio"]{margin-left:4px;margin-right:0}.acf-button-group{display:inline-block}.acf-button-group label{display:inline-block;border:#7e8993 solid 1px;position:relative;z-index:1;padding:5px 10px;background:#fff}.acf-button-group label:hover{color:#016087;background:#f3f5f6;border-color:#0071a1;z-index:2}.acf-button-group label.selected{border-color:#007cba;background:#008dd4;color:#fff;z-index:2}.acf-button-group input{display:none !important}.acf-button-group{padding-left:1px;display:inline-flex;flex-direction:row;flex-wrap:nowrap}.acf-button-group label{margin:0 0 0 -1px;flex:1;text-align:center;white-space:nowrap}.acf-button-group label:first-child{border-radius:3px 0 0 3px}html[dir="rtl"] .acf-button-group label:first-child{border-radius:0 3px 3px 0}.acf-button-group label:last-child{border-radius:0 3px 3px 0}html[dir="rtl"] .acf-button-group label:last-child{border-radius:3px 0 0 3px}.acf-button-group label:only-child{border-radius:3px}.acf-button-group.-vertical{padding-left:0;padding-top:1px;flex-direction:column}.acf-button-group.-vertical label{margin:-1px 0 0 0}.acf-button-group.-vertical label:first-child{border-radius:3px 3px 0 0}.acf-button-group.-vertical label:last-child{border-radius:0 0 3px 3px}.acf-button-group.-vertical label:only-child{border-radius:3px}.acf-admin-3-8 .acf-button-group label{border-color:#ccd0d4}.acf-admin-3-8 .acf-button-group label:hover{border-color:#0071a1}.acf-admin-3-8 .acf-button-group label.selected{border-color:#007cba}.acf-checkbox-list .button{margin:10px 0 0}.acf-switch{display:inline-block;border-radius:5px;cursor:pointer;position:relative;background:#f5f5f5;height:30px;vertical-align:middle;border:#7e8993 solid 1px;-webkit-transition:background 0.25s ease;-moz-transition:background 0.25s ease;-o-transition:background 0.25s ease;transition:background 0.25s ease}.acf-switch span{display:inline-block;float:left;text-align:center;font-size:13px;line-height:22px;padding:4px 10px;min-width:15px}.acf-switch span i{vertical-align:middle}.acf-switch .acf-switch-on{color:#fff;text-shadow:#007cba 0 1px 0}.acf-switch .acf-switch-slider{position:absolute;top:2px;left:2px;bottom:2px;right:50%;z-index:1;background:#fff;border-radius:3px;border:#7e8993 solid 1px;-webkit-transition:all 0.25s ease;-moz-transition:all 0.25s ease;-o-transition:all 0.25s ease;transition:all 0.25s ease;transition-property:left, right}.acf-switch:hover,.acf-switch.-focus{border-color:#0071a1;background:#f3f5f6;color:#016087}.acf-switch:hover .acf-switch-slider,.acf-switch.-focus .acf-switch-slider{border-color:#0071a1}.acf-switch.-on{background:#0d99d5;border-color:#007cba}.acf-switch.-on .acf-switch-slider{left:50%;right:2px;border-color:#007cba}.acf-switch.-on:hover{border-color:#007cba}.acf-switch+span{margin-left:6px}.acf-admin-3-8 .acf-switch{border-color:#ccd0d4}.acf-admin-3-8 .acf-switch .acf-switch-slider{border-color:#ccd0d4}.acf-admin-3-8 .acf-switch:hover,.acf-admin-3-8 .acf-switch.-focus{border-color:#0071a1}.acf-admin-3-8 .acf-switch:hover .acf-switch-slider,.acf-admin-3-8 .acf-switch.-focus .acf-switch-slider{border-color:#0071a1}.acf-admin-3-8 .acf-switch.-on{border-color:#007cba}.acf-admin-3-8 .acf-switch.-on .acf-switch-slider{border-color:#007cba}.acf-admin-3-8 .acf-switch.-on:hover{border-color:#007cba}.acf-switch-input{opacity:0;position:absolute;margin:0}.compat-item .acf-true-false .message{float:none;padding:0;vertical-align:middle}.acf-google-map{position:relative;border:#ccd0d4 solid 1px;background:#fff}.acf-google-map .title{position:relative;border-bottom:#ccd0d4 solid 1px}.acf-google-map .title .search{margin:0;font-size:14px;line-height:30px;height:40px;padding:5px 10px;border:0 none;box-shadow:none;border-radius:0;font-family:inherit;cursor:text}.acf-google-map .title .acf-loading{position:absolute;top:10px;right:11px;display:none}.acf-google-map .title .acf-icon:active{display:inline-block !important}.acf-google-map .canvas{height:400px}.acf-google-map:hover .title .acf-actions{display:block}.acf-google-map .title .acf-icon.-location{display:inline-block}.acf-google-map .title .acf-icon.-cancel,.acf-google-map .title .acf-icon.-search{display:none}.acf-google-map.-value .title .search{font-weight:bold}.acf-google-map.-value .title .acf-icon.-location{display:none}.acf-google-map.-value .title .acf-icon.-cancel{display:inline-block}.acf-google-map.-searching .title .acf-icon.-location{display:none}.acf-google-map.-searching .title .acf-icon.-cancel,.acf-google-map.-searching .title .acf-icon.-search{display:inline-block}.acf-google-map.-searching .title .acf-actions{display:block}.acf-google-map.-searching .title .search{font-weight:normal !important}.acf-google-map.-loading .title a{display:none !important}.acf-google-map.-loading .title i{display:inline-block}.pac-container{border-width:1px 0;box-shadow:none}.pac-container:after{display:none}.pac-container .pac-item:first-child{border-top:0 none}.pac-container .pac-item{padding:5px 10px;cursor:pointer}html[dir="rtl"] .pac-container .pac-item{text-align:right}.acf-relationship{background:#fff;border:#ccd0d4 solid 1px}.acf-relationship .filters{border-bottom:#ccd0d4 solid 1px;background:#fff}.acf-relationship .filters:after{display:block;clear:both;content:""}.acf-relationship .filters .filter{margin:0;padding:0;float:left;width:100%}.acf-relationship .filters .filter span{display:block;padding:7px 7px 7px 0}.acf-relationship .filters .filter:first-child span{padding-left:7px}.acf-relationship .filters .filter input,.acf-relationship .filters .filter select{height:28px;line-height:1;padding:2px;width:100%;margin:0;float:none}.acf-relationship .filters .filter input:focus,.acf-relationship .filters .filter input:active,.acf-relationship .filters .filter select:focus,.acf-relationship .filters .filter select:active{outline:none;box-shadow:none}.acf-relationship .filters .filter input{border-color:transparent;box-shadow:none}.acf-relationship .filters.-f2 .filter{width:50%}.acf-relationship .filters.-f3 .filter{width:25%}.acf-relationship .filters.-f3 .filter.-search{width:50%}.acf-relationship .list{margin:0;padding:5px;height:160px;overflow:auto}.acf-relationship .list .acf-rel-label,.acf-relationship .list .acf-rel-item,.acf-relationship .list p{padding:5px 7px;margin:0;display:block;position:relative;min-height:18px}.acf-relationship .list .acf-rel-label{font-weight:bold}.acf-relationship .list .acf-rel-item{cursor:pointer}.acf-relationship .list .acf-rel-item b{text-decoration:underline;font-weight:normal}.acf-relationship .list .acf-rel-item .thumbnail{background:#e0e0e0;width:22px;height:22px;float:left;margin:-2px 5px 0 0}.acf-relationship .list .acf-rel-item .thumbnail img{max-width:22px;max-height:22px;margin:0 auto;display:block}.acf-relationship .list .acf-rel-item .thumbnail.-icon{background:#fff}.acf-relationship .list .acf-rel-item .thumbnail.-icon img{max-height:20px;margin-top:1px}.acf-relationship .list .acf-rel-item:hover{background:#3875D7;color:#fff}.acf-relationship .list .acf-rel-item:hover .thumbnail{background:#a2bfec}.acf-relationship .list .acf-rel-item:hover .thumbnail.-icon{background:#fff}.acf-relationship .list .acf-rel-item.disabled{opacity:0.5}.acf-relationship .list .acf-rel-item.disabled:hover{background:transparent;color:#333;cursor:default}.acf-relationship .list .acf-rel-item.disabled:hover .thumbnail{background:#e0e0e0}.acf-relationship .list .acf-rel-item.disabled:hover .thumbnail.-icon{background:#fff}.acf-relationship .list ul{padding-bottom:5px}.acf-relationship .list ul .acf-rel-label,.acf-relationship .list ul .acf-rel-item,.acf-relationship .list ul p{padding-left:20px}.acf-relationship .selection{position:relative}.acf-relationship .selection:after{display:block;clear:both;content:""}.acf-relationship .selection .values,.acf-relationship .selection .choices{width:50%;background:#fff;float:left}.acf-relationship .selection .choices{background:#F9F9F9}.acf-relationship .selection .choices .list{border-right:#DFDFDF solid 1px}.acf-relationship .selection .values .acf-icon{position:absolute;top:4px;right:7px;display:none}html[dir="rtl"] .acf-relationship .selection .values .acf-icon{right:auto;left:7px}.acf-relationship .selection .values .acf-rel-item:hover .acf-icon{display:block}.acf-relationship .selection .values .acf-rel-item{cursor:move}.acf-relationship .selection .values .acf-rel-item b{text-decoration:none}.menu-item .acf-relationship ul{width:auto}.menu-item .acf-relationship li{display:block}.acf-editor-wrap.delay .acf-editor-toolbar{content:"";display:block;background:#f5f5f5;border-bottom:#dddddd solid 1px;color:#555d66;padding:10px}.acf-editor-wrap.delay .wp-editor-area{padding:10px;border:none;color:inherit !important}.acf-editor-wrap iframe{min-height:200px}.acf-editor-wrap .wp-editor-container{border:1px solid #ccd0d4;box-shadow:none !important}.acf-editor-wrap .wp-editor-tabs{box-sizing:content-box}.acf-editor-wrap .wp-switch-editor{border-color:#ccd0d4;border-bottom-color:transparent}#mce_fullscreen_container{z-index:900000 !important}.acf-field-tab{display:none !important}.hidden-by-tab{display:none !important}.acf-tab-wrap{clear:both;z-index:1}.acf-tab-group{border-bottom:#ccc solid 1px;padding:10px 10px 0}.acf-tab-group li{margin:0 0.5em 0 0}.acf-tab-group li a{padding:5px 10px;display:block;color:#555;font-size:14px;font-weight:600;line-height:24px;border:#ccc solid 1px;border-bottom:0 none;text-decoration:none;background:#e5e5e5;transition:none}.acf-tab-group li a:hover{background:#FFF}.acf-tab-group li a:focus{outline:none;box-shadow:none}.acf-tab-group li a:empty{display:none}html[dir="rtl"] .acf-tab-group li{margin:0 0 0 0.5em}.acf-tab-group li.active a{background:#F1F1F1;color:#000;padding-bottom:6px;margin-bottom:-1px;position:relative;z-index:1}.acf-fields>.acf-tab-wrap{background:#F9F9F9}.acf-fields>.acf-tab-wrap .acf-tab-group{position:relative;border-top:#ccd0d4 solid 1px;border-bottom:#ccd0d4 solid 1px;z-index:2;margin-bottom:-1px}.acf-fields>.acf-tab-wrap .acf-tab-group li a{background:#f1f1f1;border-color:#ccd0d4}.acf-fields>.acf-tab-wrap .acf-tab-group li a:hover{background:#FFF}.acf-fields>.acf-tab-wrap .acf-tab-group li.active a{background:#FFFFFF}.acf-admin-3-8 .acf-fields>.acf-tab-wrap .acf-tab-group{border-color:#dfdfdf}.acf-fields>.acf-tab-wrap:first-child .acf-tab-group{border-top:none}.acf-fields.-left>.acf-tab-wrap .acf-tab-group{padding-left:20%}@media screen and (max-width: 640px){.acf-fields.-left>.acf-tab-wrap .acf-tab-group{padding-left:10px}}html[dir="rtl"] .acf-fields.-left>.acf-tab-wrap .acf-tab-group{padding-left:0;padding-right:20%}@media screen and (max-width: 850px){html[dir="rtl"] .acf-fields.-left>.acf-tab-wrap .acf-tab-group{padding-right:10px}}.acf-tab-wrap.-left .acf-tab-group{position:absolute;left:0;width:20%;border:0 none;padding:0 !important;margin:1px 0 0}.acf-tab-wrap.-left .acf-tab-group li{float:none;margin:-1px 0 0}.acf-tab-wrap.-left .acf-tab-group li a{border:1px solid #ededed;font-size:13px;line-height:18px;color:#0073aa;padding:10px;margin:0;font-weight:normal;border-width:1px 0;border-radius:0;background:transparent}.acf-tab-wrap.-left .acf-tab-group li a:hover{color:#00a0d2}.acf-tab-wrap.-left .acf-tab-group li.active a{border-color:#DFDFDF;color:#000;margin-right:-1px;background:#fff}html[dir="rtl"] .acf-tab-wrap.-left .acf-tab-group{left:auto;right:0}html[dir="rtl"] .acf-tab-wrap.-left .acf-tab-group li.active a{margin-right:0;margin-left:-1px}.acf-field+.acf-tab-wrap.-left:before{content:"";display:block;position:relative;z-index:1;height:10px;border-top:#DFDFDF solid 1px;border-bottom:#DFDFDF solid 1px;margin-bottom:-1px}.acf-tab-wrap.-left:first-child .acf-tab-group li:first-child a{border-top:none}.acf-fields.-sidebar{padding:0 0 0 20% !important;position:relative}.acf-fields.-sidebar:before{content:"";display:block;position:absolute;top:0;left:0;width:20%;bottom:0;border-right:#DFDFDF solid 1px;background:#F9F9F9;z-index:1}html[dir="rtl"] .acf-fields.-sidebar{padding:0 20% 0 0 !important}html[dir="rtl"] .acf-fields.-sidebar:before{border-left:#DFDFDF solid 1px;border-right-width:0;left:auto;right:0}.acf-fields.-sidebar.-left{padding:0 0 0 180px !important}html[dir="rtl"] .acf-fields.-sidebar.-left{padding:0 180px 0 0 !important}.acf-fields.-sidebar.-left:before{background:#F1F1F1;border-color:#dfdfdf;width:180px}.acf-fields.-sidebar.-left>.acf-tab-wrap.-left .acf-tab-group{width:180px}.acf-fields.-sidebar.-left>.acf-tab-wrap.-left .acf-tab-group li a{border-color:#e4e4e4}.acf-fields.-sidebar.-left>.acf-tab-wrap.-left .acf-tab-group li.active a{background:#F9F9F9}.acf-fields.-sidebar>.acf-field-tab+.acf-field{border-top:none}.acf-fields.-clear>.acf-tab-wrap{background:transparent}.acf-fields.-clear>.acf-tab-wrap .acf-tab-group{margin-top:0;border-top:none;padding-left:0;padding-right:0}.acf-fields.-clear>.acf-tab-wrap .acf-tab-group li a{background:#e5e5e5}.acf-fields.-clear>.acf-tab-wrap .acf-tab-group li a:hover{background:#fff}.acf-fields.-clear>.acf-tab-wrap .acf-tab-group li.active a{background:#f1f1f1}.acf-postbox.seamless>.acf-fields.-sidebar{margin-left:0 !important}.acf-postbox.seamless>.acf-fields.-sidebar:before{background:transparent}.acf-postbox.seamless>.acf-fields>.acf-tab-wrap{background:transparent;margin-bottom:10px;padding-left:12px;padding-right:12px}.acf-postbox.seamless>.acf-fields>.acf-tab-wrap .acf-tab-group{border-top:0 none;border-color:#ccd0d4}.acf-postbox.seamless>.acf-fields>.acf-tab-wrap .acf-tab-group li a{background:#e5e5e5;border-color:#ccd0d4}.acf-postbox.seamless>.acf-fields>.acf-tab-wrap .acf-tab-group li a:hover{background:#fff}.acf-postbox.seamless>.acf-fields>.acf-tab-wrap .acf-tab-group li.active a{background:#f1f1f1}.acf-postbox.seamless>.acf-fields>.acf-tab-wrap.-left:before{border-top:none;height:auto}.acf-postbox.seamless>.acf-fields>.acf-tab-wrap.-left .acf-tab-group{margin-bottom:0}.acf-postbox.seamless>.acf-fields>.acf-tab-wrap.-left .acf-tab-group li a{border-width:1px 0 1px 1px !important;border-color:#cccccc;background:#e5e5e5}.acf-postbox.seamless>.acf-fields>.acf-tab-wrap.-left .acf-tab-group li.active a{background:#f1f1f1}.menu-edit .acf-fields.-clear>.acf-tab-wrap .acf-tab-group li a,.widget .acf-fields.-clear>.acf-tab-wrap .acf-tab-group li a{background:#f1f1f1}.menu-edit .acf-fields.-clear>.acf-tab-wrap .acf-tab-group li a:hover,.menu-edit .acf-fields.-clear>.acf-tab-wrap .acf-tab-group li.active a,.widget .acf-fields.-clear>.acf-tab-wrap .acf-tab-group li a:hover,.widget .acf-fields.-clear>.acf-tab-wrap .acf-tab-group li.active a{background:#fff}.compat-item .acf-tab-wrap td{display:block}.acf-gallery-side .acf-tab-wrap{border-top:0 none !important}.acf-gallery-side .acf-tab-wrap .acf-tab-group{margin:10px 0 !important;padding:0 !important}.acf-gallery-side .acf-tab-group li.active a{background:#F9F9F9 !important}.widget .acf-tab-group{border-bottom-color:#e8e8e8}.widget .acf-tab-group li a{background:#F1F1F1}.widget .acf-tab-group li.active a{background:#fff}.media-modal.acf-expanded .compat-attachment-fields>tbody>tr.acf-tab-wrap .acf-tab-group{padding-left:23%;border-bottom-color:#DDDDDD}.form-table>tbody>tr.acf-tab-wrap .acf-tab-group{padding:0 5px 0 210px}html[dir="rtl"] .form-table>tbody>tr.acf-tab-wrap .acf-tab-group{padding:0 210px 0 5px}.acf-oembed{position:relative;border:#ccd0d4 solid 1px;background:#fff}.acf-oembed .title{position:relative;border-bottom:#ccd0d4 solid 1px;padding:5px 10px}.acf-oembed .title .input-search{margin:0;font-size:14px;line-height:30px;height:30px;padding:0;border:0 none;box-shadow:none;border-radius:0;font-family:inherit;cursor:text}.acf-oembed .title .acf-actions{padding:6px}.acf-oembed .canvas{position:relative;min-height:250px;background:#F9F9F9}.acf-oembed .canvas .canvas-media{position:relative;z-index:1}.acf-oembed .canvas iframe{display:block;margin:0;padding:0;width:100%}.acf-oembed .canvas .acf-icon.-picture{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:0;height:42px;width:42px;font-size:42px;color:#999}.acf-oembed .canvas .acf-loading-overlay{background:rgba(255,255,255,0.9)}.acf-oembed .canvas .canvas-error{position:absolute;top:50%;left:0%;right:0%;margin:-9px 0 0 0;text-align:center;display:none}.acf-oembed .canvas .canvas-error p{padding:8px;margin:0;display:inline}.acf-oembed.has-value .canvas{min-height:50px}.acf-oembed.has-value .input-search{font-weight:bold}.acf-oembed.has-value .title:hover .acf-actions{display:block}.acf-image-uploader{position:relative}.acf-image-uploader:after{display:block;clear:both;content:""}.acf-image-uploader p{margin:0}.acf-image-uploader .image-wrap{position:relative;float:left}.acf-image-uploader .image-wrap img{max-width:100%;width:auto;height:auto;display:block;min-width:30px;min-height:30px;background:#f1f1f1;margin:0;padding:0}.acf-image-uploader .image-wrap img[src$=".svg"]{min-height:100px;min-width:100px}.acf-image-uploader .image-wrap:hover .acf-actions{display:block}.acf-image-uploader input.button{width:auto}html[dir="rtl"] .acf-image-uploader .image-wrap{float:right}.acf-file-uploader{position:relative}.acf-file-uploader p{margin:0}.acf-file-uploader .file-wrap{border:#ccd0d4 solid 1px;min-height:84px;position:relative;background:#fff}.acf-file-uploader .file-icon{position:absolute;top:0;left:0;bottom:0;padding:10px;background:#F1F1F1;border-right:#d5d9dd solid 1px}.acf-file-uploader .file-icon img{display:block;padding:0;margin:0;max-width:48px}.acf-file-uploader .file-info{padding:10px;margin-left:69px}.acf-file-uploader .file-info p{margin:0 0 2px;font-size:13px;line-height:1.4em;word-break:break-all}.acf-file-uploader .file-info a{text-decoration:none}.acf-file-uploader:hover .acf-actions{display:block}html[dir="rtl"] .acf-file-uploader .file-icon{left:auto;right:0;border-left:#E5E5E5 solid 1px;border-right:none}html[dir="rtl"] .acf-file-uploader .file-info{margin-right:69px;margin-left:0}.acf-ui-datepicker .ui-datepicker{z-index:900000 !important}.acf-ui-datepicker .ui-datepicker .ui-widget-header a{cursor:pointer;transition:none}.acf-ui-datepicker .ui-state-highlight.ui-state-hover{border:1px solid #98b7e8 !important;background:#98b7e8 !important;font-weight:normal !important;color:#ffffff !important}.acf-ui-datepicker .ui-state-highlight.ui-state-active{border:1px solid #3875d7 !important;background:#3875d7 !important;font-weight:normal !important;color:#ffffff !important}.acf-field-separator .acf-label{margin-bottom:0}.acf-field-separator .acf-label label{font-weight:normal}.acf-field-separator .acf-input{display:none}.acf-fields>.acf-field-separator{background:#f9f9f9;border-bottom:1px solid #dfdfdf;border-top:1px solid #dfdfdf;margin-bottom:-1px;z-index:2}.acf-taxonomy-field{position:relative}.acf-taxonomy-field .categorychecklist-holder{border:#ccd0d4 solid 1px;border-radius:3px;max-height:200px;overflow:auto}.acf-taxonomy-field .acf-checkbox-list{margin:0;padding:10px}.acf-taxonomy-field .acf-checkbox-list ul.children{padding-left:18px}.acf-taxonomy-field:hover .acf-actions{display:block}.acf-taxonomy-field[data-ftype="select"] .acf-actions{padding:0;margin:-9px}.acf-range-wrap .acf-append,.acf-range-wrap .acf-prepend{display:inline-block;vertical-align:middle;line-height:28px;margin:0 7px 0 0}.acf-range-wrap .acf-append{margin:0 0 0 7px}.acf-range-wrap input[type="range"]{display:inline-block;padding:0;margin:0;vertical-align:middle;height:28px}.acf-range-wrap input[type="range"]:focus{outline:none}.acf-range-wrap input[type="number"]{display:inline-block;min-width:3em;margin-left:10px;vertical-align:middle}html[dir="rtl"] .acf-range-wrap input[type="number"]{margin-right:10px;margin-left:0}html[dir="rtl"] .acf-range-wrap .acf-append{margin:0 7px 0 0}html[dir="rtl"] .acf-range-wrap .acf-prepend{margin:0 0 0 7px}.acf-accordion{margin:-1px 0;padding:0;background:#fff;border-top:1px solid #d5d9dd;border-bottom:1px solid #d5d9dd;z-index:1}.acf-accordion .acf-accordion-title{margin:0;padding:12px;font-weight:bold;cursor:pointer;font-size:inherit;font-size:13px;line-height:1.4em}.acf-accordion .acf-accordion-title:hover{background:#f3f4f5}.acf-accordion .acf-accordion-title label{margin:0;padding:0;font-size:13px;line-height:1.4em}.acf-accordion .acf-accordion-title p{font-weight:normal}.acf-accordion .acf-accordion-title .acf-accordion-icon{float:right}.acf-accordion .acf-accordion-content{margin:0;padding:0 12px 12px;display:none}.acf-accordion.-open>.acf-accordion-content{display:block}.acf-field.acf-accordion{margin:-1px 0;padding:0 !important;border-color:#d5d9dd}.acf-field.acf-accordion .acf-label.acf-accordion-title{padding:12px;width:auto;float:none;width:auto}.acf-field.acf-accordion .acf-input.acf-accordion-content{padding:0;float:none;width:auto}.acf-field.acf-accordion .acf-input.acf-accordion-content>.acf-fields{border-top:#eee solid 1px}.acf-field.acf-accordion .acf-input.acf-accordion-content>.acf-fields.-clear{padding:0 12px 15px}.acf-fields.-left>.acf-field.acf-accordion:before{display:none}.acf-fields.-left>.acf-field.acf-accordion .acf-accordion-title{width:auto;margin:0 !important;padding:12px;float:none !important}.acf-fields.-left>.acf-field.acf-accordion .acf-accordion-content{padding:0 !important}.acf-fields.-clear>.acf-field.acf-accordion{border:#cccccc solid 1px;background:transparent}.acf-fields.-clear>.acf-field.acf-accordion+.acf-field.acf-accordion{margin-top:-16px}tr.acf-field.acf-accordion{background:transparent}tr.acf-field.acf-accordion>.acf-input{padding:0 !important;border:#cccccc solid 1px}tr.acf-field.acf-accordion .acf-accordion-content{padding:0 12px 12px}#addtag div.acf-field.error{border:0 none;padding:8px 0}#addtag>.acf-field.acf-accordion{padding-right:0;margin-right:5%}#addtag>.acf-field.acf-accordion+p.submit{margin-top:0}tr.acf-accordion{margin:15px 0 !important}tr.acf-accordion+tr.acf-accordion{margin-top:-16px !important}.acf-postbox.seamless>.acf-fields>.acf-accordion{margin-left:12px;margin-right:12px;border:#ccd0d4 solid 1px}.widget .widget-content>.acf-field.acf-accordion{border:#dfdfdf solid 1px;margin-bottom:10px}.widget .widget-content>.acf-field.acf-accordion .acf-accordion-title{margin-bottom:0}.widget .widget-content>.acf-field.acf-accordion+.acf-field.acf-accordion{margin-top:-11px}.media-modal .compat-attachment-fields .acf-field.acf-accordion+.acf-field.acf-accordion{margin-top:-1px}.media-modal .compat-attachment-fields .acf-field.acf-accordion>.acf-input{width:100%}.media-modal .compat-attachment-fields .acf-field.acf-accordion .compat-attachment-fields>tbody>tr>td{padding-bottom:5px}.form-table>tbody>.acf-field>.acf-label{padding:20px 10px 20px 0;width:210px}html[dir="rtl"] .form-table>tbody>.acf-field>.acf-label{padding:20px 0 20px 10px}.form-table>tbody>.acf-field>.acf-label label{font-size:14px;color:#23282d}.form-table>tbody>.acf-field>.acf-input{padding:15px 10px}html[dir="rtl"] .form-table>tbody>.acf-field>.acf-input{padding:15px 10px 15px 5%}.form-table>tbody>.acf-tab-wrap td{padding:15px 5% 15px 0}html[dir="rtl"] .form-table>tbody>.acf-tab-wrap td{padding:15px 0 15px 5%}.form-table>tbody .form-table th.acf-th{width:auto}#your-profile .acf-field input[type="text"],#your-profile .acf-field input[type="password"],#your-profile .acf-field input[type="number"],#your-profile .acf-field input[type="search"],#your-profile .acf-field input[type="email"],#your-profile .acf-field input[type="url"],#your-profile .acf-field select,#createuser .acf-field input[type="text"],#createuser .acf-field input[type="password"],#createuser .acf-field input[type="number"],#createuser .acf-field input[type="search"],#createuser .acf-field input[type="email"],#createuser .acf-field input[type="url"],#createuser .acf-field select{max-width:25em}#your-profile .acf-field textarea,#createuser .acf-field textarea{max-width:500px}#your-profile .acf-field .acf-field input[type="text"],#your-profile .acf-field .acf-field input[type="password"],#your-profile .acf-field .acf-field input[type="number"],#your-profile .acf-field .acf-field input[type="search"],#your-profile .acf-field .acf-field input[type="email"],#your-profile .acf-field .acf-field input[type="url"],#your-profile .acf-field .acf-field textarea,#your-profile .acf-field .acf-field select,#createuser .acf-field .acf-field input[type="text"],#createuser .acf-field .acf-field input[type="password"],#createuser .acf-field .acf-field input[type="number"],#createuser .acf-field .acf-field input[type="search"],#createuser .acf-field .acf-field input[type="email"],#createuser .acf-field .acf-field input[type="url"],#createuser .acf-field .acf-field textarea,#createuser .acf-field .acf-field select{max-width:none}#registerform h2{margin:1em 0}#registerform .acf-field{margin-top:0}#registerform .acf-field .acf-label{margin-bottom:0}#registerform .acf-field .acf-label label{font-weight:normal;line-height:1.5}#registerform p.submit{text-align:right}#acf-term-fields{padding-right:5%}#acf-term-fields>.acf-field>.acf-label{margin:0}#acf-term-fields>.acf-field>.acf-label label{font-size:12px;font-weight:normal}p.submit .spinner,p.submit .acf-spinner{vertical-align:top;float:none;margin:4px 4px 0}#edittag .acf-fields.-left>.acf-field{padding-left:220px}#edittag .acf-fields.-left>.acf-field:before{width:209px}#edittag .acf-fields.-left>.acf-field>.acf-label{width:220px;margin-left:-220px;padding:0 10px}#edittag .acf-fields.-left>.acf-field>.acf-input{padding:0}#edittag>.acf-fields.-left{width:96%}#edittag>.acf-fields.-left>.acf-field>.acf-label{padding-left:0}.editcomment td:first-child{white-space:nowrap;width:131px}#widgets-right .widget .acf-field .description{padding-left:0;padding-right:0}.acf-widget-fields>.acf-field .acf-label{margin-bottom:5px}.acf-widget-fields>.acf-field .acf-label label{font-weight:normal;margin:0}.acf-menu-settings{border-top:1px solid #eee;margin-top:2em}.acf-menu-settings.-seamless{border-top:none;margin-top:15px}.acf-menu-settings.-seamless>h2{display:none}.acf-menu-settings .list li{display:block;margin-bottom:0}.acf-menu-item-fields{margin-right:10px;float:left}#post .compat-attachment-fields .compat-field-acf-form-data{display:none}#post .compat-attachment-fields,#post .compat-attachment-fields>tbody,#post .compat-attachment-fields>tbody>tr,#post .compat-attachment-fields>tbody>tr>th,#post .compat-attachment-fields>tbody>tr>td{display:block}#post .compat-attachment-fields>tbody>.acf-field{margin:15px 0}#post .compat-attachment-fields>tbody>.acf-field>.acf-label{margin:0}#post .compat-attachment-fields>tbody>.acf-field>.acf-label label{margin:0;padding:0}#post .compat-attachment-fields>tbody>.acf-field>.acf-label label p{margin:0 0 3px !important}#post .compat-attachment-fields>tbody>.acf-field>.acf-input{margin:0}.media-modal .compat-attachment-fields td.acf-input table{display:table;table-layout:auto}.media-modal .compat-attachment-fields td.acf-input table tbody{display:table-row-group}.media-modal .compat-attachment-fields td.acf-input table tr{display:table-row}.media-modal .compat-attachment-fields td.acf-input table td,.media-modal .compat-attachment-fields td.acf-input table th{display:table-cell}.media-modal .compat-attachment-fields>tbody>.acf-field{margin:5px 0}.media-modal .compat-attachment-fields>tbody>.acf-field>.acf-label{min-width:30%;margin:0;padding:0;float:left;text-align:right;display:block;float:left}.media-modal .compat-attachment-fields>tbody>.acf-field>.acf-label>label{padding-top:6px;margin:0;color:#666666;font-weight:400;line-height:16px}.media-modal .compat-attachment-fields>tbody>.acf-field>.acf-input{width:65%;margin:0;padding:0;float:right;display:block}.media-modal .compat-attachment-fields>tbody>.acf-field p.description{margin:0}.acf-selection-error{background:#ffebe8;border:1px solid #c00;border-radius:3px;padding:8px;margin:20px 0 0}.acf-selection-error .selection-error-label{background:#CC0000;border-radius:3px;color:#fff;font-weight:bold;margin-right:8px;padding:2px 4px}.acf-selection-error .selection-error-message{color:#b44;display:block;padding-top:8px;word-wrap:break-word;white-space:pre-wrap}.media-modal .attachment.acf-disabled .thumbnail{opacity:0.25 !important}.media-modal .attachment.acf-disabled .attachment-preview:before{background:rgba(0,0,0,0.15);z-index:1;position:relative}.media-modal .compat-field-acf-form-data,.media-modal .compat-field-acf-blank{display:none !important}.media-modal .upload-error-message{white-space:pre-wrap}.media-modal .acf-required{padding:0 !important;margin:0 !important;float:none !important;color:#f00 !important}.media-modal .media-sidebar .compat-item{padding-bottom:20px}@media (max-width: 900px){.media-modal .setting span,.media-modal .compat-attachment-fields>tbody>.acf-field>.acf-label{width:98%;float:none;text-align:left;min-height:0;padding:0}.media-modal .setting input,.media-modal .setting textarea,.media-modal .compat-attachment-fields>tbody>.acf-field>.acf-input{float:none;height:auto;max-width:none;width:98%}}.media-modal .acf-expand-details{float:right;padding:1px 10px;margin-right:6px;height:18px;line-height:18px;color:#AAAAAA;font-size:12px}.media-modal .acf-expand-details:focus,.media-modal .acf-expand-details:active{outline:0 none;box-shadow:none;color:#AAAAAA}.media-modal .acf-expand-details:hover{color:#666666 !important}.media-modal .acf-expand-details span{display:block;float:left}.media-modal .acf-expand-details .acf-icon{margin:0 4px 0 0}.media-modal .acf-expand-details:hover .acf-icon{border-color:#AAAAAA}.media-modal .acf-expand-details .is-open{display:none}.media-modal .acf-expand-details .is-closed{display:block}@media (max-width: 640px){.media-modal .acf-expand-details{display:none}}.media-modal.acf-expanded .acf-expand-details .is-open{display:block}.media-modal.acf-expanded .acf-expand-details .is-closed{display:none}.media-modal.acf-expanded .attachments-browser .media-toolbar,.media-modal.acf-expanded .attachments-browser .attachments{right:740px}.media-modal.acf-expanded .media-sidebar{width:708px}.media-modal.acf-expanded .media-sidebar .attachment-info .thumbnail{float:left;max-height:none}.media-modal.acf-expanded .media-sidebar .attachment-info .thumbnail img{max-width:100%;max-height:200px}.media-modal.acf-expanded .media-sidebar .attachment-info .details{float:right}.media-modal.acf-expanded .media-sidebar .attachment-info .thumbnail,.media-modal.acf-expanded .media-sidebar .attachment-details .setting .name,.media-modal.acf-expanded .media-sidebar .compat-attachment-fields>tbody>.acf-field>.acf-label{min-width:20%;margin-right:0}.media-modal.acf-expanded .media-sidebar .attachment-info .details,.media-modal.acf-expanded .media-sidebar .attachment-details .setting input,.media-modal.acf-expanded .media-sidebar .attachment-details .setting textarea,.media-modal.acf-expanded .media-sidebar .attachment-details .setting+.description,.media-modal.acf-expanded .media-sidebar .compat-attachment-fields>tbody>.acf-field>.acf-input{min-width:77%}@media (max-width: 900px){.media-modal.acf-expanded .attachments-browser .media-toolbar{display:none}.media-modal.acf-expanded .attachments{display:none}.media-modal.acf-expanded .media-sidebar{width:auto;max-width:none !important;bottom:0 !important}.media-modal.acf-expanded .media-sidebar .attachment-info .thumbnail{min-width:0;max-width:none;width:30%}.media-modal.acf-expanded .media-sidebar .attachment-info .details{min-width:0;max-width:none;width:67%}}@media (max-width: 640px){.media-modal.acf-expanded .media-sidebar .attachment-info .thumbnail,.media-modal.acf-expanded .media-sidebar .attachment-info .details{width:100%}}.acf-media-modal .media-embed .setting.align,.acf-media-modal .media-embed .setting.link-to{display:none}.acf-media-modal.-edit{left:15%;right:15%;top:100px;bottom:100px}.acf-media-modal.-edit .media-frame-menu,.acf-media-modal.-edit .media-frame-router,.acf-media-modal.-edit .media-frame-content .attachments,.acf-media-modal.-edit .media-frame-content .media-toolbar{display:none}.acf-media-modal.-edit .media-frame-title,.acf-media-modal.-edit .media-frame-content,.acf-media-modal.-edit .media-frame-toolbar,.acf-media-modal.-edit .media-sidebar{width:auto;left:0;right:0}.acf-media-modal.-edit .media-frame-content{top:50px}.acf-media-modal.-edit .media-frame-title{border-bottom:1px solid #DFDFDF;box-shadow:0 4px 4px -4px rgba(0,0,0,0.1)}.acf-media-modal.-edit .media-sidebar{padding:0 16px}.acf-media-modal.-edit .media-sidebar .attachment-details{overflow:visible}.acf-media-modal.-edit .media-sidebar .attachment-details>h3,.acf-media-modal.-edit .media-sidebar .attachment-details>h2{display:none}.acf-media-modal.-edit .media-sidebar .attachment-details .attachment-info{background:#fff;border-bottom:#dddddd solid 1px;padding:16px;margin:0 -16px 16px}.acf-media-modal.-edit .media-sidebar .attachment-details .thumbnail{margin:0 16px 0 0}.acf-media-modal.-edit .media-sidebar .attachment-details .setting{margin:0 0 5px}.acf-media-modal.-edit .media-sidebar .attachment-details .setting span{margin:0}.acf-media-modal.-edit .media-sidebar .compat-attachment-fields>tbody>.acf-field{margin:0 0 5px}.acf-media-modal.-edit .media-sidebar .compat-attachment-fields>tbody>.acf-field p.description{margin-top:3px}.acf-media-modal.-edit .media-sidebar .media-types-required-info{display:none}@media (max-width: 900px){.acf-media-modal.-edit{top:30px;right:30px;bottom:30px;left:30px}}@media (max-width: 640px){.acf-media-modal.-edit{top:0;right:0;bottom:0;left:0}}@media (max-width: 480px){.acf-media-modal.-edit .media-frame-content{top:40px}}.acf-temp-remove{position:relative;opacity:1;-webkit-transition:all 0.25s ease;-moz-transition:all 0.25s ease;-o-transition:all 0.25s ease;transition:all 0.25s ease;overflow:hidden}.acf-temp-remove:after{display:block;content:"";position:absolute;top:0;left:0;right:0;bottom:0;z-index:99}.hidden-by-conditional-logic{display:none !important}.hidden-by-conditional-logic.appear-empty{display:table-cell !important}.hidden-by-conditional-logic.appear-empty .acf-input{display:none !important}.acf-postbox.acf-hidden{display:none !important}#editor .edit-post-layout__metaboxes{padding:0}#editor .postbox{color:#444}#editor .postbox .handlediv{color:#191e23 !important;height:46px;width:auto;padding:0 14px 0 5px;position:relative;z-index:2}#editor .postbox .hndle{color:#191e23 !important;font-size:13px;line-height:normal;padding:15px}#editor .postbox .hndle:hover{background:#f2f4f5}#editor .postbox .hndle .acf-hndle-cog{line-height:16px}#editor .postbox .handlediv .toggle-indicator{color:inherit}#editor .postbox .handlediv .toggle-indicator:before{content:"\f343";font-size:18px;width:auto}#editor .postbox.closed .handlediv .toggle-indicator:before{content:"\f347"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/js/acf-input.js
CHANGED
@@ -1331,6 +1331,17 @@
|
|
1331 |
// append
|
1332 |
args.append( $el, $el2 );
|
1333 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1334 |
// append
|
1335 |
// - allow element to be moved into a visible position before fire action
|
1336 |
//var callback = function(){
|
@@ -4050,6 +4061,9 @@
|
|
4050 |
|
4051 |
// Show postbox
|
4052 |
this.$el.show().removeClass('acf-hidden');
|
|
|
|
|
|
|
4053 |
},
|
4054 |
|
4055 |
enable: function(){
|
@@ -4057,8 +4071,8 @@
|
|
4057 |
},
|
4058 |
|
4059 |
showEnable: function(){
|
4060 |
-
this.show();
|
4061 |
this.enable();
|
|
|
4062 |
},
|
4063 |
|
4064 |
hide: function(){
|
@@ -4068,6 +4082,9 @@
|
|
4068 |
|
4069 |
// Hide postbox
|
4070 |
this.$el.hide().addClass('acf-hidden');
|
|
|
|
|
|
|
4071 |
},
|
4072 |
|
4073 |
disable: function(){
|
@@ -4075,8 +4092,8 @@
|
|
4075 |
},
|
4076 |
|
4077 |
hideDisable: function(){
|
4078 |
-
this.hide();
|
4079 |
this.disable();
|
|
|
4080 |
},
|
4081 |
|
4082 |
html: function( html ){
|
@@ -6097,8 +6114,8 @@
|
|
6097 |
valAttr = JSON.stringify( val );
|
6098 |
}
|
6099 |
|
6100 |
-
// Update input.
|
6101 |
-
this.$input()
|
6102 |
|
6103 |
// Bail early if silent update.
|
6104 |
if( silent ) {
|
@@ -6185,19 +6202,23 @@
|
|
6185 |
|
6186 |
initializeMap: function(){
|
6187 |
|
6188 |
-
//
|
6189 |
-
var
|
6190 |
-
|
6191 |
-
|
6192 |
-
var
|
|
|
|
|
|
|
|
|
6193 |
|
6194 |
// Create Map.
|
6195 |
var mapArgs = {
|
6196 |
scrollwheel: false,
|
6197 |
-
zoom: parseInt(
|
6198 |
center: {
|
6199 |
-
lat: parseFloat(
|
6200 |
-
lng: parseFloat(
|
6201 |
},
|
6202 |
mapTypeId: google.maps.MapTypeId.ROADMAP,
|
6203 |
marker: {
|
@@ -6237,7 +6258,6 @@
|
|
6237 |
this.map = map;
|
6238 |
|
6239 |
// Set position.
|
6240 |
-
var val = this.getValue();
|
6241 |
if( val ) {
|
6242 |
this.setPosition( val.lat, val.lng );
|
6243 |
}
|
@@ -11135,9 +11155,6 @@
|
|
11135 |
|
11136 |
renderPostScreen: function( data ){
|
11137 |
|
11138 |
-
// vars
|
11139 |
-
var visible = [];
|
11140 |
-
|
11141 |
// Helper function to copy events
|
11142 |
var copyEvents = function( $from, $to ){
|
11143 |
var events = $._data($from[0]).events;
|
@@ -11177,12 +11194,21 @@
|
|
11177 |
return false;
|
11178 |
};
|
11179 |
|
|
|
|
|
|
|
|
|
11180 |
// Show these postboxes.
|
11181 |
-
data.results.map(function( result, i ){
|
11182 |
|
11183 |
// vars
|
11184 |
var postbox = acf.getPostbox( result.id );
|
11185 |
|
|
|
|
|
|
|
|
|
|
|
11186 |
// Create postbox if doesn't exist.
|
11187 |
if( !postbox ) {
|
11188 |
|
@@ -11220,12 +11246,10 @@
|
|
11220 |
}
|
11221 |
|
11222 |
// Copy default WP events onto metabox.
|
11223 |
-
|
11224 |
-
|
11225 |
-
|
11226 |
-
|
11227 |
-
if( result.position == "acf_after_title" )
|
11228 |
-
result.position = 'normal';
|
11229 |
|
11230 |
// Append metabox to the bottom of "side-sortables".
|
11231 |
if( result.position === 'side' ) {
|
@@ -11272,25 +11296,30 @@
|
|
11272 |
// show postbox
|
11273 |
postbox.showEnable();
|
11274 |
|
11275 |
-
// Do action.
|
11276 |
-
acf.doAction('show_postbox', postbox);
|
11277 |
-
|
11278 |
// append
|
11279 |
-
visible.push( result.id );
|
|
|
|
|
|
|
11280 |
});
|
11281 |
|
11282 |
// Hide these postboxes.
|
11283 |
acf.getPostboxes().map(function( postbox ){
|
11284 |
-
if( visible.indexOf( postbox.get('id') ) === -1 ) {
|
|
|
|
|
11285 |
postbox.hideDisable();
|
11286 |
|
11287 |
-
//
|
11288 |
-
|
11289 |
}
|
11290 |
});
|
11291 |
|
11292 |
// Update style.
|
11293 |
-
$('#acf-style').html( data.style );
|
|
|
|
|
|
|
11294 |
},
|
11295 |
|
11296 |
renderUserScreen: function( json ){
|
@@ -11311,6 +11340,9 @@
|
|
11311 |
*/
|
11312 |
var gutenScreen = new acf.Model({
|
11313 |
|
|
|
|
|
|
|
11314 |
// Wait until load to avoid 'core' issues when loading taxonomies.
|
11315 |
wait: 'load',
|
11316 |
|
@@ -11321,8 +11353,8 @@
|
|
11321 |
return;
|
11322 |
}
|
11323 |
|
11324 |
-
// Listen for changes.
|
11325 |
-
wp.data.subscribe(
|
11326 |
|
11327 |
// Customize "acf.screen.get" functions.
|
11328 |
acf.screen.getPageTemplate = this.getPageTemplate;
|
@@ -11334,48 +11366,39 @@
|
|
11334 |
// Disable unload
|
11335 |
acf.unload.disable();
|
11336 |
|
11337 |
-
//
|
11338 |
-
|
|
|
|
|
|
|
11339 |
},
|
11340 |
|
11341 |
onChange: function(){
|
11342 |
|
11343 |
-
//
|
11344 |
-
var
|
11345 |
-
|
11346 |
-
// Check specific attributes.
|
11347 |
-
var attributes = [
|
11348 |
-
'template',
|
11349 |
-
'parent',
|
11350 |
-
'format'
|
11351 |
-
];
|
11352 |
|
11353 |
-
// Append taxonomy
|
11354 |
-
|
11355 |
-
taxonomies.map(function( taxonomy ){
|
11356 |
attributes.push( taxonomy.rest_base );
|
11357 |
});
|
11358 |
|
11359 |
-
//
|
11360 |
-
|
11361 |
-
|
11362 |
-
|
11363 |
-
|
11364 |
-
|
11365 |
-
|
11366 |
-
|
11367 |
-
}
|
11368 |
-
},
|
11369 |
-
|
11370 |
-
triggerChange: function( edits ){
|
11371 |
|
11372 |
-
//
|
11373 |
-
if(
|
11374 |
-
this.
|
|
|
|
|
|
|
11375 |
}
|
11376 |
-
|
11377 |
-
// Check screen.
|
11378 |
-
acf.screen.check();
|
11379 |
},
|
11380 |
|
11381 |
getPageTemplate: function(){
|
@@ -11412,65 +11435,66 @@
|
|
11412 |
|
11413 |
// return
|
11414 |
return terms;
|
11415 |
-
}
|
11416 |
-
});
|
11417 |
-
|
11418 |
-
/**
|
11419 |
-
* acf.screen.refreshAvailableMetaBoxesPerLocation
|
11420 |
-
*
|
11421 |
-
* Refreshes the WP data state based on metaboxes found in the DOM.
|
11422 |
-
*
|
11423 |
-
* Caution. Not safe to use.
|
11424 |
-
* Causes duplicate dispatch listeners when saving post resulting in duplicate postmeta.
|
11425 |
-
*
|
11426 |
-
* @date 6/3/19
|
11427 |
-
* @since 5.7.13
|
11428 |
-
*
|
11429 |
-
* @param void
|
11430 |
-
* @return void
|
11431 |
-
*/
|
11432 |
-
acf.screen.refreshAvailableMetaBoxesPerLocation = function() {
|
11433 |
-
|
11434 |
-
// Extract vars.
|
11435 |
-
var select = wp.data.select( 'core/edit-post' );
|
11436 |
-
var dispatch = wp.data.dispatch( 'core/edit-post' );
|
11437 |
-
|
11438 |
-
// Load current metabox locations and data.
|
11439 |
-
var data = {};
|
11440 |
-
select.getActiveMetaBoxLocations().map(function( location ){
|
11441 |
-
data[ location ] = select.getMetaBoxesPerLocation( location );
|
11442 |
-
});
|
11443 |
-
|
11444 |
-
// Generate flat array of existing ids.
|
11445 |
-
var ids = [];
|
11446 |
-
for( var k in data ) {
|
11447 |
-
ids = ids.concat( data[k].map(function(m){ return m.id; }) );
|
11448 |
-
}
|
11449 |
|
11450 |
-
|
11451 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11452 |
|
11453 |
-
//
|
11454 |
-
|
11455 |
-
|
11456 |
-
}
|
11457 |
|
11458 |
-
//
|
11459 |
-
var
|
|
|
|
|
|
|
11460 |
|
11461 |
-
//
|
11462 |
-
|
|
|
|
|
|
|
|
|
|
|
11463 |
|
11464 |
-
// Append.
|
11465 |
-
data
|
11466 |
-
|
11467 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11468 |
});
|
11469 |
-
|
11470 |
-
|
11471 |
-
|
11472 |
-
|
11473 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11474 |
|
11475 |
})(jQuery);
|
11476 |
|
@@ -12127,6 +12151,9 @@
|
|
12127 |
var select2Manager = new acf.Model({
|
12128 |
priority: 5,
|
12129 |
wait: 'prepare',
|
|
|
|
|
|
|
12130 |
initialize: function(){
|
12131 |
|
12132 |
// vars
|
@@ -12262,6 +12289,10 @@
|
|
12262 |
// append
|
12263 |
$.fn.select2.locales[ locale ] = select2L10n;
|
12264 |
$.extend($.fn.select2.defaults, select2L10n);
|
|
|
|
|
|
|
|
|
12265 |
}
|
12266 |
|
12267 |
});
|
1331 |
// append
|
1332 |
args.append( $el, $el2 );
|
1333 |
|
1334 |
+
/**
|
1335 |
+
* Fires after an element has been duplicated and appended to the DOM.
|
1336 |
+
*
|
1337 |
+
* @date 30/10/19
|
1338 |
+
* @since 5.8.7
|
1339 |
+
*
|
1340 |
+
* @param jQuery $el The original element.
|
1341 |
+
* @param jQuery $el2 The duplicated element.
|
1342 |
+
*/
|
1343 |
+
acf.doAction('duplicate', $el, $el2 );
|
1344 |
+
|
1345 |
// append
|
1346 |
// - allow element to be moved into a visible position before fire action
|
1347 |
//var callback = function(){
|
4061 |
|
4062 |
// Show postbox
|
4063 |
this.$el.show().removeClass('acf-hidden');
|
4064 |
+
|
4065 |
+
// Do action.
|
4066 |
+
acf.doAction('show_postbox', this);
|
4067 |
},
|
4068 |
|
4069 |
enable: function(){
|
4071 |
},
|
4072 |
|
4073 |
showEnable: function(){
|
|
|
4074 |
this.enable();
|
4075 |
+
this.show();
|
4076 |
},
|
4077 |
|
4078 |
hide: function(){
|
4082 |
|
4083 |
// Hide postbox
|
4084 |
this.$el.hide().addClass('acf-hidden');
|
4085 |
+
|
4086 |
+
// Do action.
|
4087 |
+
acf.doAction('hide_postbox', this);
|
4088 |
},
|
4089 |
|
4090 |
disable: function(){
|
4092 |
},
|
4093 |
|
4094 |
hideDisable: function(){
|
|
|
4095 |
this.disable();
|
4096 |
+
this.hide();
|
4097 |
},
|
4098 |
|
4099 |
html: function( html ){
|
6114 |
valAttr = JSON.stringify( val );
|
6115 |
}
|
6116 |
|
6117 |
+
// Update input (with change).
|
6118 |
+
acf.val( this.$input(), valAttr );
|
6119 |
|
6120 |
// Bail early if silent update.
|
6121 |
if( silent ) {
|
6202 |
|
6203 |
initializeMap: function(){
|
6204 |
|
6205 |
+
// Get value ignoring conditional logic status.
|
6206 |
+
var val = this.getValue();
|
6207 |
+
|
6208 |
+
// Construct default args.
|
6209 |
+
var args = acf.parseArgs(val, {
|
6210 |
+
zoom: this.get('zoom'),
|
6211 |
+
lat: this.get('lat'),
|
6212 |
+
lng: this.get('lng')
|
6213 |
+
});
|
6214 |
|
6215 |
// Create Map.
|
6216 |
var mapArgs = {
|
6217 |
scrollwheel: false,
|
6218 |
+
zoom: parseInt( args.zoom ),
|
6219 |
center: {
|
6220 |
+
lat: parseFloat( args.lat ),
|
6221 |
+
lng: parseFloat( args.lng )
|
6222 |
},
|
6223 |
mapTypeId: google.maps.MapTypeId.ROADMAP,
|
6224 |
marker: {
|
6258 |
this.map = map;
|
6259 |
|
6260 |
// Set position.
|
|
|
6261 |
if( val ) {
|
6262 |
this.setPosition( val.lat, val.lng );
|
6263 |
}
|
11155 |
|
11156 |
renderPostScreen: function( data ){
|
11157 |
|
|
|
|
|
|
|
11158 |
// Helper function to copy events
|
11159 |
var copyEvents = function( $from, $to ){
|
11160 |
var events = $._data($from[0]).events;
|
11194 |
return false;
|
11195 |
};
|
11196 |
|
11197 |
+
// Keep track of visible and hidden postboxes.
|
11198 |
+
data.visible = [];
|
11199 |
+
data.hidden = [];
|
11200 |
+
|
11201 |
// Show these postboxes.
|
11202 |
+
data.results = data.results.map(function( result, i ){
|
11203 |
|
11204 |
// vars
|
11205 |
var postbox = acf.getPostbox( result.id );
|
11206 |
|
11207 |
+
// Prevent "acf_after_title" position in Block Editor.
|
11208 |
+
if( acf.isGutenberg() && result.position == "acf_after_title" ) {
|
11209 |
+
result.position = 'normal';
|
11210 |
+
}
|
11211 |
+
|
11212 |
// Create postbox if doesn't exist.
|
11213 |
if( !postbox ) {
|
11214 |
|
11246 |
}
|
11247 |
|
11248 |
// Copy default WP events onto metabox.
|
11249 |
+
if( $('.postbox').length ) {
|
11250 |
+
copyEvents( $('.postbox .handlediv').first(), $postbox.children('.handlediv') );
|
11251 |
+
copyEvents( $('.postbox .hndle').first(), $postbox.children('.hndle') );
|
11252 |
+
}
|
|
|
|
|
11253 |
|
11254 |
// Append metabox to the bottom of "side-sortables".
|
11255 |
if( result.position === 'side' ) {
|
11296 |
// show postbox
|
11297 |
postbox.showEnable();
|
11298 |
|
|
|
|
|
|
|
11299 |
// append
|
11300 |
+
data.visible.push( result.id );
|
11301 |
+
|
11302 |
+
// Return result (may have changed).
|
11303 |
+
return result;
|
11304 |
});
|
11305 |
|
11306 |
// Hide these postboxes.
|
11307 |
acf.getPostboxes().map(function( postbox ){
|
11308 |
+
if( data.visible.indexOf( postbox.get('id') ) === -1 ) {
|
11309 |
+
|
11310 |
+
// Hide postbox.
|
11311 |
postbox.hideDisable();
|
11312 |
|
11313 |
+
// Append to data.
|
11314 |
+
data.hidden.push( postbox.get('id') );
|
11315 |
}
|
11316 |
});
|
11317 |
|
11318 |
// Update style.
|
11319 |
+
$('#acf-style').html( data.style );
|
11320 |
+
|
11321 |
+
// Do action.
|
11322 |
+
acf.doAction( 'refresh_post_screen', data );
|
11323 |
},
|
11324 |
|
11325 |
renderUserScreen: function( json ){
|
11340 |
*/
|
11341 |
var gutenScreen = new acf.Model({
|
11342 |
|
11343 |
+
// Keep a reference to the most recent post attributes.
|
11344 |
+
postEdits: {},
|
11345 |
+
|
11346 |
// Wait until load to avoid 'core' issues when loading taxonomies.
|
11347 |
wait: 'load',
|
11348 |
|
11353 |
return;
|
11354 |
}
|
11355 |
|
11356 |
+
// Listen for changes (use debounced version as this can fires often).
|
11357 |
+
wp.data.subscribe( acf.debounce(this.onChange).bind(this) );
|
11358 |
|
11359 |
// Customize "acf.screen.get" functions.
|
11360 |
acf.screen.getPageTemplate = this.getPageTemplate;
|
11366 |
// Disable unload
|
11367 |
acf.unload.disable();
|
11368 |
|
11369 |
+
// Refresh metaboxes since WP 5.3.
|
11370 |
+
var wpMinorVersion = parseFloat( acf.get('wp_version') );
|
11371 |
+
if( wpMinorVersion >= 5.3 ) {
|
11372 |
+
this.addAction( 'refresh_post_screen', this.onRefreshPostScreen );
|
11373 |
+
}
|
11374 |
},
|
11375 |
|
11376 |
onChange: function(){
|
11377 |
|
11378 |
+
// Determine attributes that can trigger a refresh.
|
11379 |
+
var attributes = [ 'template', 'parent', 'format' ];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11380 |
|
11381 |
+
// Append taxonomy attribute names to this list.
|
11382 |
+
( wp.data.select( 'core' ).getTaxonomies() || [] ).map(function( taxonomy ){
|
|
|
11383 |
attributes.push( taxonomy.rest_base );
|
11384 |
});
|
11385 |
|
11386 |
+
// Get relevant current post edits.
|
11387 |
+
var _postEdits = wp.data.select( 'core/editor' ).getPostEdits();
|
11388 |
+
var postEdits = {};
|
11389 |
+
attributes.map(function( k ){
|
11390 |
+
if( _postEdits[k] !== undefined ) {
|
11391 |
+
postEdits[k] = _postEdits[k];
|
11392 |
+
}
|
11393 |
+
});
|
|
|
|
|
|
|
|
|
11394 |
|
11395 |
+
// Detect change.
|
11396 |
+
if( JSON.stringify(postEdits) !== JSON.stringify(this.postEdits) ) {
|
11397 |
+
this.postEdits = postEdits;
|
11398 |
+
|
11399 |
+
// Check screen.
|
11400 |
+
acf.screen.check();
|
11401 |
}
|
|
|
|
|
|
|
11402 |
},
|
11403 |
|
11404 |
getPageTemplate: function(){
|
11435 |
|
11436 |
// return
|
11437 |
return terms;
|
11438 |
+
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11439 |
|
11440 |
+
/**
|
11441 |
+
* onRefreshPostScreen
|
11442 |
+
*
|
11443 |
+
* Fires after the Post edit screen metaboxs are refreshed to update the Block Editor API state.
|
11444 |
+
*
|
11445 |
+
* @date 11/11/19
|
11446 |
+
* @since 5.8.7
|
11447 |
+
*
|
11448 |
+
* @param object data The "check_screen" JSON response data.
|
11449 |
+
* @return void
|
11450 |
+
*/
|
11451 |
+
onRefreshPostScreen: function( data ) {
|
11452 |
|
11453 |
+
// Extract vars.
|
11454 |
+
var select = wp.data.select( 'core/edit-post' );
|
11455 |
+
var dispatch = wp.data.dispatch( 'core/edit-post' );
|
|
|
11456 |
|
11457 |
+
// Load current metabox locations and data.
|
11458 |
+
var locations = {};
|
11459 |
+
select.getActiveMetaBoxLocations().map(function( location ){
|
11460 |
+
locations[ location ] = select.getMetaBoxesPerLocation( location );
|
11461 |
+
});
|
11462 |
|
11463 |
+
// Generate flat array of existing ids.
|
11464 |
+
var ids = [];
|
11465 |
+
for( var k in locations ) {
|
11466 |
+
locations[k].map(function( m ){
|
11467 |
+
ids.push( m.id );
|
11468 |
+
});
|
11469 |
+
}
|
11470 |
|
11471 |
+
// Append new ACF metaboxes (ignore those which already exist).
|
11472 |
+
data.results.filter(function( r ){
|
11473 |
+
return ( ids.indexOf( r.id ) === -1 );
|
11474 |
+
}).map(function( result, i ){
|
11475 |
+
|
11476 |
+
// Ensure location exists.
|
11477 |
+
var location = result.position;
|
11478 |
+
locations[ location ] = locations[ location ] || [];
|
11479 |
+
|
11480 |
+
// Append.
|
11481 |
+
locations[ location ].push({
|
11482 |
+
id: result.id,
|
11483 |
+
title: result.title
|
11484 |
+
});
|
11485 |
});
|
11486 |
+
|
11487 |
+
// Remove hidden ACF metaboxes.
|
11488 |
+
for( var k in locations ) {
|
11489 |
+
locations[k] = locations[k].filter(function( m ){
|
11490 |
+
return ( data.hidden.indexOf( m.id ) === -1 );
|
11491 |
+
});
|
11492 |
+
}
|
11493 |
+
|
11494 |
+
// Update state.
|
11495 |
+
dispatch.setAvailableMetaBoxesPerLocation( locations );
|
11496 |
+
}
|
11497 |
+
});
|
11498 |
|
11499 |
})(jQuery);
|
11500 |
|
12151 |
var select2Manager = new acf.Model({
|
12152 |
priority: 5,
|
12153 |
wait: 'prepare',
|
12154 |
+
actions: {
|
12155 |
+
'duplicate': 'onDuplicate'
|
12156 |
+
},
|
12157 |
initialize: function(){
|
12158 |
|
12159 |
// vars
|
12289 |
// append
|
12290 |
$.fn.select2.locales[ locale ] = select2L10n;
|
12291 |
$.extend($.fn.select2.defaults, select2L10n);
|
12292 |
+
},
|
12293 |
+
|
12294 |
+
onDuplicate: function( $el, $el2 ){
|
12295 |
+
$el2.find('.select2-container').remove();
|
12296 |
}
|
12297 |
|
12298 |
});
|
assets/js/acf-input.min.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
!function(t,e){var i={};window.acf=i,i.data={},i.get=function(t){return this.data[t]||null},i.has=function(t){return null!==this.get(t)},i.set=function(t,e){return this.data[t]=e,this};var n=0;i.uniqueId=function(t){var e=++n+"";return t?t+e:e},i.uniqueArray=function(t){function e(t,e,i){return i.indexOf(t)===e}return t.filter(e)};var a="";i.uniqid=function(t,e){var i;void 0===t&&(t="");var n=function(t,e){return e<(t=parseInt(t,10).toString(16)).length?t.slice(t.length-e):e>t.length?Array(e-t.length+1).join("0")+t:t};return a||(a=Math.floor(123456789*Math.random())),a++,i=t,i+=n(parseInt((new Date).getTime()/1e3,10),8),i+=n(a,5),e&&(i+=(10*Math.random()).toFixed(8).toString()),i},i.strReplace=function(t,e,i){return i.split(t).join(e)},i.strCamelCase=function(t){return t=(t=t.replace(/[_-]/g," ")).replace(/(?:^\w|\b\w|\s+)/g,function(t,e){return 0==+t?"":0==e?t.toLowerCase():t.toUpperCase()})},i.strPascalCase=function(t){var e=i.strCamelCase(t);return e.charAt(0).toUpperCase()+e.slice(1)},i.strSlugify=function(t){return i.strReplace("_","-",t.toLowerCase())},i.strSanitize=function(t){var e={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","ß":"s","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Ĉ":"C","ĉ":"c","Ċ":"C","ċ":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"D","đ":"d","Ē":"E","ē":"e","Ĕ":"E","ĕ":"e","Ė":"E","ė":"e","Ę":"E","ę":"e","Ě":"E","ě":"e","Ĝ":"G","ĝ":"g","Ğ":"G","ğ":"g","Ġ":"G","ġ":"g","Ģ":"G","ģ":"g","Ĥ":"H","ĥ":"h","Ħ":"H","ħ":"h","Ĩ":"I","ĩ":"i","Ī":"I","ī":"i","Ĭ":"I","ĭ":"i","Į":"I","į":"i","İ":"I","ı":"i","IJ":"IJ","ij":"ij","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","Ĺ":"L","ĺ":"l","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ŀ":"L","ŀ":"l","Ł":"l","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","ʼn":"n","Ō":"O","ō":"o","Ŏ":"O","ŏ":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ŗ":"R","ŗ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ŝ":"S","ŝ":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ŧ":"T","ŧ":"t","Ũ":"U","ũ":"u","Ū":"U","ū":"u","Ŭ":"U","ŭ":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","ſ":"s","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Ǎ":"A","ǎ":"a","Ǐ":"I","ǐ":"i","Ǒ":"O","ǒ":"o","Ǔ":"U","ǔ":"u","Ǖ":"U","ǖ":"u","Ǘ":"U","ǘ":"u","Ǚ":"U","ǚ":"u","Ǜ":"U","ǜ":"u","Ǻ":"A","ǻ":"a","Ǽ":"AE","ǽ":"ae","Ǿ":"O","ǿ":"o"," ":"_","'":"","?":"","/":"","\\":"",".":"",",":"","`":"",">":"","<":"",'"':"","[":"","]":"","|":"","{":"","}":"","(":"",")":""},i=/\W/g,n=function(t){return void 0!==e[t]?e[t]:t};return t=(t=t.replace(i,n)).toLowerCase()},i.strMatch=function(t,e){for(var i=0,n=Math.min(t.length,e.length),a=0;a<n&&t[a]===e[a];a++)i++;return i},i.decode=function(e){return t("<textarea/>").html(e).text()},i.strEscape=function(e){return t("<div>").text(e).html()},i.parseArgs=function(e,i){return"object"!=typeof e&&(e={}),"object"!=typeof i&&(i={}),t.extend({},i,e)},null==window.acfL10n&&(acfL10n={}),i.__=function(t){return acfL10n[t]||t},i._x=function(t,e){return acfL10n[t+"."+e]||acfL10n[t]||t},i._n=function(t,e,n){return 1==n?i.__(t):i.__(e)},i.isArray=function(t){return Array.isArray(t)},i.isObject=function(t){return"object"==typeof t};var r=function(t,e,n){var a=(e=e.replace("[]","[%%index%%]")).match(/([^\[\]])+/g);if(a)for(var r=a.length,o=t,s=0;s<r;s++){var c=String(a[s]);s==r-1?"%%index%%"===c?o.push(n):o[c]=n:("%%index%%"===a[s+1]?i.isArray(o[c])||(o[c]=[]):i.isObject(o[c])||(o[c]={}),o=o[c])}};i.serialize=function(t,e){var n={},a=i.serializeArray(t);void 0!==e&&(a=a.filter(function(t){return 0===t.name.indexOf(e)}).map(function(t){return t.name=t.name.slice(e.length),t}));for(var o=0;o<a.length;o++)r(n,a[o].name,a[o].value);return n},i.serializeArray=function(t){return t.find("select, textarea, input").serializeArray()},i.serializeForAjax=function(t){var e={},n;return i.serializeArray(t).map(function(t){"[]"===t.name.slice(-2)?(e[t.name]=e[t.name]||[],e[t.name].push(t.value)):e[t.name]=t.value}),e},i.addAction=function(t,e,n,a){return i.hooks.addAction.apply(this,arguments),this},i.removeAction=function(t,e){return i.hooks.removeAction.apply(this,arguments),this};var o={};i.doAction=function(t){return o[t]=1,i.hooks.doAction.apply(this,arguments),o[t]=0,this},i.doingAction=function(t){return 1===o[t]},i.didAction=function(t){return void 0!==o[t]},i.currentAction=function(){for(var t in o)if(o[t])return t;return!1},i.addFilter=function(t){return i.hooks.addFilter.apply(this,arguments),this},i.removeFilter=function(t){return i.hooks.removeFilter.apply(this,arguments),this},i.applyFilters=function(t){return i.hooks.applyFilters.apply(this,arguments)},i.arrayArgs=function(t){return Array.prototype.slice.call(t)};try{var s=JSON.parse(localStorage.getItem("acf"))||{}}catch(t){var s={}}var c=function(t){return"this."===t.substr(0,5)&&(t=t.substr(5)+"-"+i.get("post_id")),t};i.getPreference=function(t){return t=c(t),s[t]||null},i.setPreference=function(t,e){t=c(t),null===e?delete s[t]:s[t]=e,localStorage.setItem("acf",JSON.stringify(s))},i.removePreference=function(t){i.setPreference(t,null)},i.remove=function(t){t instanceof jQuery&&(t={target:t}),t=i.parseArgs(t,{target:!1,endHeight:0,complete:function(){}}),i.doAction("remove",t.target),t.target.is("tr")?u(t):l(t)};var l=function(t){var e=t.target,i=e.height(),n=e.width(),a=e.css("margin"),r=e.outerHeight(!0),o=e.attr("style")+"";e.wrap('<div class="acf-temp-remove" style="height:'+r+'px"></div>');var s=e.parent();e.css({height:i,width:n,margin:a,position:"absolute"}),setTimeout(function(){s.css({opacity:0,height:t.endHeight})},50),setTimeout(function(){e.attr("style",o),s.remove(),t.complete()},301)},u=function(e){var i=e.target,n=i.height(),a=i.children().length,r=t('<td class="acf-temp-remove" style="padding:0; height:'+n+'px" colspan="'+a+'"></td>');i.addClass("acf-remove-element"),setTimeout(function(){i.html(r)},251),setTimeout(function(){i.removeClass("acf-remove-element"),r.css({height:e.endHeight})},300),setTimeout(function(){i.remove(),e.complete()},451)};i.duplicate=function(t){t instanceof jQuery&&(t={target:t});var e=0;(t=i.parseArgs(t,{target:!1,search:"",replace:"",before:function(t){},after:function(t,e){},append:function(t,i){t.after(i),e=1}})).target=t.target||t.$el;var n=t.target;t.search=t.search||n.attr("data-id"),t.replace=t.replace||i.uniqid(),t.before(n),i.doAction("before_duplicate",n);var a=n.clone();return i.rename({target:a,search:t.search,replace:t.replace}),a.removeClass("acf-clone"),a.find(".ui-sortable").removeClass("ui-sortable"),t.after(n,a),i.doAction("after_duplicate",n,a),t.append(n,a),i.doAction("append",a),a},i.rename=function(t){t instanceof jQuery&&(t={target:t});var e=(t=i.parseArgs(t,{target:!1,destructive:!1,search:"",replace:""})).target,n=t.search||e.attr("data-id"),a=t.replace||i.uniqid("acf"),r=function(t,e){return e.replace(n,a)};if(t.destructive){var o=e.outerHTML();o=i.strReplace(n,a,o),e.replaceWith(o)}else e.attr("data-id",a),e.find('[id*="'+n+'"]').attr("id",r),e.find('[for*="'+n+'"]').attr("for",r),e.find('[name*="'+n+'"]').attr("name",r);return e},i.prepareForAjax=function(t){return t.nonce=i.get("nonce"),t.post_id=i.get("post_id"),i.has("language")&&(t.lang=i.get("language")),t=i.applyFilters("prepare_for_ajax",t)},i.startButtonLoading=function(t){t.prop("disabled",!0),t.after(' <i class="acf-loading"></i>')},i.stopButtonLoading=function(t){t.prop("disabled",!1),t.next(".acf-loading").remove()},i.showLoading=function(t){t.append('<div class="acf-loading-overlay"><i class="acf-loading"></i></div>')},i.hideLoading=function(t){t.children(".acf-loading-overlay").remove()},i.updateUserSetting=function(e,n){var a={action:"acf/ajax/user_setting",name:e,value:n};t.ajax({url:i.get("ajaxurl"),data:i.prepareForAjax(a),type:"post",dataType:"html"})},i.val=function(t,e,i){var n=t.val();return e!==n&&(t.val(e),t.is("select")&&null===t.val()?(t.val(n),!1):(!0!==i&&t.trigger("change"),!0))},i.show=function(t,e){return e&&i.unlock(t,"hidden",e),!i.isLocked(t,"hidden")&&(!!t.hasClass("acf-hidden")&&(t.removeClass("acf-hidden"),!0))},i.hide=function(t,e){return e&&i.lock(t,"hidden",e),!t.hasClass("acf-hidden")&&(t.addClass("acf-hidden"),!0)},i.isHidden=function(t){return t.hasClass("acf-hidden")},i.isVisible=function(t){return!i.isHidden(t)};var d=function(t,e){return!t.hasClass("acf-disabled")&&(e&&i.unlock(t,"disabled",e),!i.isLocked(t,"disabled")&&(!!t.prop("disabled")&&(t.prop("disabled",!1),!0)))};i.enable=function(e,i){if(e.attr("name"))return d(e,i);var n=!1;return e.find("[name]").each(function(){var e;d(t(this),i)&&(n=!0)}),n};var f=function(t,e){return e&&i.lock(t,"disabled",e),!t.prop("disabled")&&(t.prop("disabled",!0),!0)};i.disable=function(e,i){if(e.attr("name"))return f(e,i);var n=!1;return e.find("[name]").each(function(){var e;f(t(this),i)&&(n=!0)}),n},i.isset=function(t){for(var e=1;e<arguments.length;e++){if(!t||!t.hasOwnProperty(arguments[e]))return!1;t=t[arguments[e]]}return!0},i.isget=function(t){for(var e=1;e<arguments.length;e++){if(!t||!t.hasOwnProperty(arguments[e]))return null;t=t[arguments[e]]}return t},i.getFileInputData=function(t,e){var n=t.val();if(!n)return!1;var a={url:n},r=i.isget(t[0],"files",0);if(r)if(a.size=r.size,a.type=r.type,r.type.indexOf("image")>-1){var o=window.URL||window.webkitURL,s=new Image;s.onload=function(){a.width=this.width,a.height=this.height,e(a)},s.src=o.createObjectURL(r)}else e(a);else e(a)},i.isAjaxSuccess=function(t){return t&&t.success},i.getAjaxMessage=function(t){return i.isget(t,"data","message")},i.getAjaxError=function(t){return i.isget(t,"data","error")},i.renderSelect=function(t,e){var n=t.val(),a=[],r=function(t){var e="";return t.map(function(t){var n=t.text||t.label||"",o=t.id||t.value||"";a.push(o),t.children?e+='<optgroup label="'+i.strEscape(n)+'">'+r(t.children)+"</optgroup>":e+='<option value="'+o+'"'+(t.disabled?' disabled="disabled"':"")+">"+i.strEscape(n)+"</option>"}),e};return t.html(r(e)),a.indexOf(n)>-1&&t.val(n),t.val()};var h=function(t,e){return t.data("acf-lock-"+e)||[]},p=function(t,e,i){t.data("acf-lock-"+e,i)},g,m,v,y,b,_;i.lock=function(t,e,i){var n=h(t,e),a;n.indexOf(i)<0&&(n.push(i),p(t,e,n))},i.unlock=function(t,e,i){var n=h(t,e),a=n.indexOf(i);return a>-1&&(n.splice(a,1),p(t,e,n)),0===n.length},i.isLocked=function(t,e){return h(t,e).length>0},i.isGutenberg=function(){return window.wp&&wp.data&&wp.data.select&&wp.data.select("core/editor")},i.objectToArray=function(t){return Object.keys(t).map(function(e){return t[e]})},i.debounce=function(t,e){var i;return function(){var n=this,a=arguments,r=function(){t.apply(n,a)};clearTimeout(i),i=setTimeout(r,e)}},i.throttle=function(t,e){var i=!1;return function(){i||(i=!0,setTimeout(function(){i=!1},e),t.apply(this,arguments))}},i.isInView=function(t){var e=t.getBoundingClientRect();return e.top!==e.bottom&&e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)},i.onceInView=(g=[],m=0,v=function(){g.forEach(function(t){i.isInView(t.el)&&(t.callback.apply(this),_(t.id))})},y=i.debounce(v,300),b=function(e,i){g.length||t(window).on("scroll resize",y).on("acfrefresh orientationchange",v),g.push({id:m++,el:e,callback:i})},_=function(e){(g=g.filter(function(t){return t.id!==e})).length||t(window).off("scroll resize",y).off("acfrefresh orientationchange",v)},function(t,e){t instanceof jQuery&&(t=t[0]),i.isInView(t)?e.apply(this):b(t,e)}),i.once=function(t){var e=0;return function(){return e++>0?t=void 0:t.apply(this,arguments)}},t.fn.exists=function(){return t(this).length>0},t.fn.outerHTML=function(){return t(this).get(0).outerHTML},Array.prototype.indexOf||(Array.prototype.indexOf=function(e){return t.inArray(e,this)}),t(document).ready(function(){i.doAction("ready")}),t(window).on("load",function(){i.doAction("load")}),t(window).on("beforeunload",function(){i.doAction("unload")}),t(window).on("resize",function(){i.doAction("resize")}),t(document).on("sortstart",function(t,e){i.doAction("sortstart",e.item,e.placeholder)}),t(document).on("sortstop",function(t,e){i.doAction("sortstop",e.item,e.placeholder)})}(jQuery),function(t,e){"use strict";var i=function(){function t(){return f}function e(t,e,i,n){return"string"==typeof t&&"function"==typeof e&&c("actions",t,e,i=parseInt(i||10,10),n),d}function i(){var t=Array.prototype.slice.call(arguments),e=t.shift();return"string"==typeof e&&u("actions",e,t),d}function n(t,e){return"string"==typeof t&&s("actions",t,e),d}function a(t,e,i,n){return"string"==typeof t&&"function"==typeof e&&c("filters",t,e,i=parseInt(i||10,10),n),d}function r(){var t=Array.prototype.slice.call(arguments),e=t.shift();return"string"==typeof e?u("filters",e,t):d}function o(t,e){return"string"==typeof t&&s("filters",t,e),d}function s(t,e,i,n){if(f[t][e])if(i){var a=f[t][e],r;if(n)for(r=a.length;r--;){var o=a[r];o.callback===i&&o.context===n&&a.splice(r,1)}else for(r=a.length;r--;)a[r].callback===i&&a.splice(r,1)}else f[t][e]=[]}function c(t,e,i,n,a){var r={callback:i,priority:n,context:a},o=f[t][e];o?(o.push(r),o=l(o)):o=[r],f[t][e]=o}function l(t){for(var e,i,n,a=1,r=t.length;a<r;a++){for(e=t[a],i=a;(n=t[i-1])&&n.priority>e.priority;)t[i]=t[i-1],--i;t[i]=e}return t}function u(t,e,i){var n=f[t][e];if(!n)return"filters"===t&&i[0];var a=0,r=n.length;if("filters"===t)for(;a<r;a++)i[0]=n[a].callback.apply(n[a].context,i);else for(;a<r;a++)n[a].callback.apply(n[a].context,i);return"filters"!==t||i[0]}var d={removeFilter:o,applyFilters:r,addFilter:a,removeAction:n,doAction:i,addAction:e,storage:t},f={actions:{},filters:{}};return d};acf.hooks=new i}(window),function(t,e){var i=/^(\S+)\s*(.*)$/,n=function(e){var i=this,n;return n=e&&e.hasOwnProperty("constructor")?e.constructor:function(){return i.apply(this,arguments)},t.extend(n,i),n.prototype=Object.create(i.prototype),t.extend(n.prototype,e),n.prototype.constructor=n,n},a=acf.Model=function(){this.cid=acf.uniqueId("acf"),this.data=t.extend(!0,{},this.data),this.setup.apply(this,arguments),this.$el&&!this.$el.data("acf")&&this.$el.data("acf",this);var e=function(){this.initialize(),this.addEvents(),this.addActions(),this.addFilters()};this.wait&&!acf.didAction(this.wait)?this.addAction(this.wait,e):e.apply(this)};t.extend(a.prototype,{id:"",cid:"",$el:null,data:{},busy:!1,changed:!1,events:{},actions:{},filters:{},eventScope:"",wait:!1,priority:10,get:function(t){return this.data[t]},has:function(t){return null!=this.get(t)},set:function(t,e,i){var n=this.get(t);return n==e?this:(this.data[t]=e,i||(this.changed=!0,this.trigger("changed:"+t,[e,n]),this.trigger("changed",[t,e,n])),this)},inherit:function(e){return e instanceof jQuery&&(e=e.data()),t.extend(this.data,e),this},prop:function(){return this.$el.prop.apply(this.$el,arguments)},setup:function(e){t.extend(this,e)},initialize:function(){},addElements:function(t){if(!(t=t||this.elements||null)||!Object.keys(t).length)return!1;for(var e in t)this.addElement(e,t[e])},addElement:function(t,e){this["$"+t]=this.$(e)},addEvents:function(t){if(!(t=t||this.events||null))return!1;for(var e in t){var n=e.match(i);this.on(n[1],n[2],t[e])}},removeEvents:function(t){if(!(t=t||this.events||null))return!1;for(var e in t){var n=e.match(i);this.off(n[1],n[2],t[e])}},getEventTarget:function(e,i){return e||this.$el||t(document)},validateEvent:function(e){return!this.eventScope||t(e.target).closest(this.eventScope).is(this.$el)},proxyEvent:function(e){return this.proxy(function(i){if(this.validateEvent(i)){var n=acf.arrayArgs(arguments),a=n.slice(1),r=[i,t(i.currentTarget)].concat(a);e.apply(this,r)}})},on:function(t,e,i,n){var a,r,o,s,c;t instanceof jQuery?n?(a=t,r=e,o=i,s=n):(a=t,r=e,s=i):i?(r=t,o=e,s=i):(r=t,s=e),a=this.getEventTarget(a),"string"==typeof s&&(s=this.proxyEvent(this[s])),r=r+"."+this.cid,c=o?[r,o,s]:[r,s],a.on.apply(a,c)},off:function(t,e,i){var n,a,r,o;t instanceof jQuery?i?(n=t,a=e,r=i):(n=t,a=e):e?(a=t,r=e):a=t,n=this.getEventTarget(n),a=a+"."+this.cid,o=r?[a,r]:[a],n.off.apply(n,o)},trigger:function(t,e,i){var n=this.getEventTarget();return i?n.trigger.apply(n,arguments):n.triggerHandler.apply(n,arguments),this},addActions:function(t){if(!(t=t||this.actions||null))return!1;for(var e in t)this.addAction(e,t[e])},removeActions:function(t){if(!(t=t||this.actions||null))return!1;for(var e in t)this.removeAction(e,t[e])},addAction:function(t,e,i){i=i||this.priority,"string"==typeof e&&(e=this[e]),acf.addAction(t,e,i,this)},removeAction:function(t,e){acf.removeAction(t,this[e])},addFilters:function(t){if(!(t=t||this.filters||null))return!1;for(var e in t)this.addFilter(e,t[e])},addFilter:function(t,e,i){i=i||this.priority,"string"==typeof e&&(e=this[e]),acf.addFilter(t,e,i,this)},removeFilters:function(t){if(!(t=t||this.filters||null))return!1;for(var e in t)this.removeFilter(e,t[e])},removeFilter:function(t,e){acf.removeFilter(t,this[e])},$:function(t){return this.$el.find(t)},remove:function(){this.removeEvents(),this.removeActions(),this.removeFilters(),this.$el.remove()},setTimeout:function(t,e){return setTimeout(this.proxy(t),e)},time:function(){console.time(this.id||this.cid)},timeEnd:function(){console.timeEnd(this.id||this.cid)},show:function(){acf.show(this.$el)},hide:function(){acf.hide(this.$el)},proxy:function(e){return t.proxy(e,this)}}),a.extend=n,acf.models={},acf.getInstance=function(t){return t.data("acf")},acf.getInstances=function(e){var i=[];return e.each(function(){i.push(acf.getInstance(t(this)))}),i}}(jQuery),function(t,e){acf.models.Popup=acf.Model.extend({data:{title:"",content:"",width:0,height:0,loading:!1},events:{'click [data-event="close"]':"onClickClose","click .acf-close-popup":"onClickClose"},setup:function(e){t.extend(this.data,e),this.$el=t(this.tmpl())},initialize:function(){this.render(),this.open()},tmpl:function(){return['<div id="acf-popup">','<div class="acf-popup-box acf-box">','<div class="title"><h3></h3><a href="#" class="acf-icon -cancel grey" data-event="close"></a></div>','<div class="inner"></div>','<div class="loading"><i class="acf-loading"></i></div>',"</div>",'<div class="bg" data-event="close"></div>',"</div>"].join("")},render:function(){var t=this.get("title"),e=this.get("content"),i=this.get("loading"),n=this.get("width"),a=this.get("height");this.title(t),this.content(e),n&&this.$(".acf-popup-box").css("width",n),a&&this.$(".acf-popup-box").css("min-height",a),this.loading(i),acf.doAction("append",this.$el)},update:function(t){this.data=acf.parseArgs(t,this.data),this.render()},title:function(t){this.$(".title:first h3").html(t)},content:function(t){this.$(".inner:first").html(t)},loading:function(t){var e=this.$(".loading:first");t?e.show():e.hide()},open:function(){t("body").append(this.$el)},close:function(){this.remove()},onClickClose:function(t,e){t.preventDefault(),this.close()}}),acf.newPopup=function(t){return new acf.models.Popup(t)}}(jQuery),function(t,e){acf.unload=new acf.Model({wait:"load",active:!0,changed:!1,actions:{validation_failure:"startListening",validation_success:"stopListening"},events:{"change form .acf-field":"startListening","submit form":"stopListening"},enable:function(){this.active=!0},disable:function(){this.active=!1},reset:function(){this.stopListening()},startListening:function(){!this.changed&&this.active&&(this.changed=!0,t(window).on("beforeunload",this.onUnload))},stopListening:function(){this.changed=!1,t(window).off("beforeunload",this.onUnload)},onUnload:function(){return acf.__("The changes you made will be lost if you navigate away from this page")}})}(jQuery),function(t,e){var i=new acf.Model({events:{"click .acf-panel-title":"onClick"},onClick:function(t,e){t.preventDefault(),this.toggle(e.parent())},isOpen:function(t){return t.hasClass("-open")},toggle:function(t){this.isOpen(t)?this.close(t):this.open(t)},open:function(t){t.addClass("-open"),t.find(".acf-panel-title i").attr("class","dashicons dashicons-arrow-down")},close:function(t){t.removeClass("-open"),t.find(".acf-panel-title i").attr("class","dashicons dashicons-arrow-right")}})}(jQuery),function(t,e){var i=acf.Model.extend({data:{text:"",type:"",timeout:0,dismiss:!0,target:!1,close:function(){}},events:{"click .acf-notice-dismiss":"onClickClose"},tmpl:function(){return'<div class="acf-notice"></div>'},setup:function(e){t.extend(this.data,e),this.$el=t(this.tmpl())},initialize:function(){this.render(),this.show()},render:function(){this.type(this.get("type")),this.html("<p>"+this.get("text")+"</p>"),this.get("dismiss")&&(this.$el.append('<a href="#" class="acf-notice-dismiss acf-icon -cancel small"></a>'),this.$el.addClass("-dismiss"));var t=this.get("timeout");t&&this.away(t)},update:function(e){t.extend(this.data,e),this.initialize(),this.removeEvents(),this.addEvents()},show:function(){var t=this.get("target");t&&t.prepend(this.$el)},hide:function(){this.$el.remove()},away:function(t){this.setTimeout(function(){acf.remove(this.$el)},t)},type:function(t){var e=this.get("type");e&&this.$el.removeClass("-"+e),this.$el.addClass("-"+t),"error"==t&&this.$el.addClass("acf-error-message")},html:function(t){this.$el.html(t)},text:function(t){this.$("p").html(t)},onClickClose:function(t,e){t.preventDefault(),this.get("close").apply(this,arguments),this.remove()}});acf.newNotice=function(t){return"object"!=typeof t&&(t={text:t}),new i(t)};var n=new acf.Model({wait:"prepare",priority:1,initialize:function(){var e=t(".acf-admin-notice");e.length&&t("h1:first").after(e)}})}(jQuery),function(t,e){var i=new acf.Model({wait:"prepare",priority:1,initialize:function(){(acf.get("postboxes")||[]).map(acf.newPostbox)}});acf.getPostbox=function(e){return"string"==typeof e&&(e=t("#"+e)),acf.getInstance(e)},acf.getPostboxes=function(){return acf.getInstances(t(".acf-postbox"))},acf.newPostbox=function(t){return new acf.models.Postbox(t)},acf.models.Postbox=acf.Model.extend({data:{id:"",key:"",style:"default",label:"top",edit:""},setup:function(e){e.editLink&&(e.edit=e.editLink),t.extend(this.data,e),this.$el=this.$postbox()},$postbox:function(){return t("#"+this.get("id"))},$hide:function(){return t("#"+this.get("id")+"-hide")},$hideLabel:function(){return this.$hide().parent()},$hndle:function(){return this.$("> .hndle")},$inside:function(){return this.$("> .inside")},isVisible:function(){return this.$el.hasClass("acf-hidden")},initialize:function(){if(this.$el.addClass("acf-postbox"),this.$el.removeClass("hide-if-js"),"block"!==acf.get("editor")){var t=this.get("style");"default"!==t&&this.$el.addClass(t)}this.$inside().addClass("acf-fields").addClass("-"+this.get("label"));var e=this.get("edit");e&&this.$hndle().append('<a href="'+e+'" class="dashicons dashicons-admin-generic acf-hndle-cog acf-js-tooltip" title="'+acf.__("Edit field group")+'"></a>'),this.show()},show:function(){this.$hideLabel().show(),this.$hide().prop("checked",!0),this.$el.show().removeClass("acf-hidden")},enable:function(){acf.enable(this.$el,"postbox")},showEnable:function(){this.show(),this.enable()},hide:function(){this.$hideLabel().hide(),this.$el.hide().addClass("acf-hidden")},disable:function(){acf.disable(this.$el,"postbox")},hideDisable:function(){this.hide(),this.disable()},html:function(t){this.$inside().html(t),acf.doAction("append",this.$el)}})}(jQuery),function(t,e){acf.newTooltip=function(t){return"object"!=typeof t&&(t={text:t}),void 0!==t.confirmRemove?(t.textConfirm=acf.__("Remove"),t.textCancel=acf.__("Cancel"),new n(t)):void 0!==t.confirm?new n(t):new i(t)};var i=acf.Model.extend({data:{text:"",timeout:0,target:null},tmpl:function(){return'<div class="acf-tooltip"></div>'},setup:function(e){t.extend(this.data,e),this.$el=t(this.tmpl())},initialize:function(){this.render(),this.show(),this.position();var e=this.get("timeout");e&&setTimeout(t.proxy(this.fade,this),e)},update:function(e){t.extend(this.data,e),this.initialize()},render:function(){this.html(this.get("text"))},show:function(){t("body").append(this.$el)},hide:function(){this.$el.remove()},fade:function(){this.$el.addClass("acf-fade-up"),this.setTimeout(function(){this.remove()},250)},html:function(t){this.$el.html(t)},position:function(){var e=this.$el,i=this.get("target");if(i){e.removeClass("right left bottom top").css({top:0,left:0});var n=10,a=i.outerWidth(),r=i.outerHeight(),o=i.offset().top,s=i.offset().left,c=e.outerWidth(),l=e.outerHeight(),u=e.offset().top,d=o-l-u,f=s+a/2-c/2;f<10?(e.addClass("right"),f=s+a,d=o+r/2-l/2-u):f+c+10>t(window).width()?(e.addClass("left"),f=s-c,d=o+r/2-l/2-u):d-t(window).scrollTop()<10?(e.addClass("bottom"),d=o+r-u):e.addClass("top"),e.css({top:d,left:f})}}}),n=i.extend({data:{text:"",textConfirm:"",textCancel:"",target:null,targetConfirm:!0,confirm:function(){},cancel:function(){},context:!1},events:{'click [data-event="cancel"]':"onCancel",'click [data-event="confirm"]':"onConfirm"},addEvents:function(){acf.Model.prototype.addEvents.apply(this);var e=t(document),i=this.get("target");this.setTimeout(function(){this.on(e,"click","onCancel")}),this.get("targetConfirm")&&this.on(i,"click","onConfirm")},removeEvents:function(){acf.Model.prototype.removeEvents.apply(this);var e=t(document),i=this.get("target");this.off(e,"click"),this.off(i,"click")},render:function(){var t,e,i,n=[this.get("text")||acf.__("Are you sure?"),'<a href="#" data-event="confirm">'+(this.get("textConfirm")||acf.__("Yes"))+"</a>",'<a href="#" data-event="cancel">'+(this.get("textCancel")||acf.__("No"))+"</a>"].join(" ");this.html(n),this.$el.addClass("-confirm")},onCancel:function(t,e){t.preventDefault(),t.stopImmediatePropagation();var i=this.get("cancel"),n=this.get("context")||this;i.apply(n,arguments),this.remove()},onConfirm:function(t,e){t.preventDefault(),t.stopImmediatePropagation();var i=this.get("confirm"),n=this.get("context")||this;i.apply(n,arguments),this.remove()}});acf.models.Tooltip=i,acf.models.TooltipConfirm=n;var a=new acf.Model({tooltip:!1,events:{"mouseenter .acf-js-tooltip":"showTitle","mouseup .acf-js-tooltip":"hideTitle","mouseleave .acf-js-tooltip":"hideTitle"},showTitle:function(t,e){var i=e.attr("title");i&&(e.attr("title",""),this.tooltip?this.tooltip.update({text:i,target:e}):this.tooltip=acf.newTooltip({text:i,target:e}))},hideTitle:function(t,e){this.tooltip.hide(),e.attr("title",this.tooltip.get("text"))}})}(jQuery),function(t,e){var i=[];acf.Field=acf.Model.extend({type:"",eventScope:".acf-field",wait:"ready",setup:function(t){this.$el=t,this.inherit(t),this.inherit(this.$control())},val:function(t){return void 0!==t?this.setValue(t):this.prop("disabled")?null:this.getValue()},getValue:function(){return this.$input().val()},setValue:function(t){return acf.val(this.$input(),t)},__:function(t){return acf._e(this.type,t)},$control:function(){return!1},$input:function(){return this.$("[name]:first")},$inputWrap:function(){return this.$(".acf-input:first")},$labelWrap:function(){return this.$(".acf-label:first")},getInputName:function(){return this.$input().attr("name")||""},parent:function(){var t=this.parents();return!!t.length&&t[0]},parents:function(){var t=this.$el.parents(".acf-field"),e;return acf.getFields(t)},show:function(t,e){var i=acf.show(this.$el,t);return i&&(this.prop("hidden",!1),acf.doAction("show_field",this,e)),i},hide:function(t,e){var i=acf.hide(this.$el,t);return i&&(this.prop("hidden",!0),acf.doAction("hide_field",this,e)),i},enable:function(t,e){var i=acf.enable(this.$el,t);return i&&(this.prop("disabled",!1),acf.doAction("enable_field",this,e)),i},disable:function(t,e){var i=acf.disable(this.$el,t);return i&&(this.prop("disabled",!0),acf.doAction("disable_field",this,e)),i},showEnable:function(t,e){return this.enable.apply(this,arguments),this.show.apply(this,arguments)},hideDisable:function(t,e){return this.disable.apply(this,arguments),this.hide.apply(this,arguments)},showNotice:function(t){"object"!=typeof t&&(t={text:t}),this.notice&&this.notice.remove(),t.target=this.$inputWrap(),this.notice=acf.newNotice(t)},removeNotice:function(t){this.notice&&(this.notice.away(t||0),this.notice=!1)},showError:function(e){this.$el.addClass("acf-error"),void 0!==e&&this.showNotice({text:e,type:"error",dismiss:!1}),acf.doAction("invalid_field",this),this.$el.one("focus change","input, select, textarea",t.proxy(this.removeError,this))},removeError:function(){this.$el.removeClass("acf-error"),this.removeNotice(250),acf.doAction("valid_field",this)},trigger:function(t,e,i){return"invalidField"==t&&(i=!0),acf.Model.prototype.trigger.apply(this,[t,e,i])}}),acf.newField=function(t){var e=t.data("type"),i=n(e),a,r=new(acf.models[i]||acf.Field)(t);return acf.doAction("new_field",r),r};var n=function(t){return acf.strPascalCase(t||"")+"Field"};acf.registerFieldType=function(t){var e,a=t.prototype.type,r=n(a);acf.models[r]=t,i.push(a)},acf.getFieldType=function(t){var e=n(t);return acf.models[e]||!1},acf.getFieldTypes=function(t){t=acf.parseArgs(t,{category:""});var e=[];return i.map(function(i){var n=acf.getFieldType(i),a=n.prototype;t.category&&a.category!==t.category||e.push(n)}),e}}(jQuery),function(t,e){acf.findFields=function(e){var i=".acf-field",n=!1;return(e=acf.parseArgs(e,{key:"",name:"",type:"",is:"",parent:!1,sibling:!1,limit:!1,visible:!1,suppressFilters:!1})).suppressFilters||(e=acf.applyFilters("find_fields_args",e)),e.key&&(i+='[data-key="'+e.key+'"]'),e.type&&(i+='[data-type="'+e.type+'"]'),e.name&&(i+='[data-name="'+e.name+'"]'),e.is&&(i+=e.is),e.visible&&(i+=":visible"),n=e.parent?e.parent.find(i):e.sibling?e.sibling.siblings(i):t(i),e.suppressFilters||(n=n.not(".acf-clone .acf-field"),n=acf.applyFilters("find_fields",n)),e.limit&&(n=n.slice(0,e.limit)),n},acf.findField=function(t,e){return acf.findFields({key:t,limit:1,parent:e,suppressFilters:!0})},acf.getField=function(t){t instanceof jQuery||(t=acf.findField(t));var e=t.data("acf");return e||(e=acf.newField(t)),e},acf.getFields=function(e){e instanceof jQuery||(e=acf.findFields(e));var i=[];return e.each(function(){var e=acf.getField(t(this));i.push(e)}),i},acf.findClosestField=function(t){return t.closest(".acf-field")},acf.getClosestField=function(t){var e=acf.findClosestField(t);return this.getField(e)};var i=function(t){var e=t,i=t+"_fields",a=t+"_field",r=function(t){var e=acf.arrayArgs(arguments),n=e.slice(1),a=acf.getFields({parent:t});if(a.length){var r=[i,a].concat(n);acf.doAction.apply(null,r)}},o=function(t){var e=acf.arrayArgs(arguments),i=e.slice(1);t.map(function(t,e){var n=[a,t].concat(i);acf.doAction.apply(null,n)})};acf.addAction(e,r),acf.addAction(i,o),n(t)},n=function(t){var e=t+"_field",i=t+"Field",n=function(n){var a=acf.arrayArgs(arguments),r=a.slice(1),s=["type","name","key"];s.map(function(t){var i="/"+t+"="+n.get(t);a=[e+i,n].concat(r),acf.doAction.apply(null,a)}),o.indexOf(t)>-1&&n.trigger(i,r)};acf.addAction(e,n)},a,r=["valid","invalid","enable","disable","new"],o=["remove","unmount","remount","sortstart","sortstop","show","hide","unload","valid","invalid","enable","disable"];["prepare","ready","load","append","remove","unmount","remount","sortstart","sortstop","show","hide","unload"].map(i),r.map(n);var s=new acf.Model({id:"fieldsEventManager",events:{'click .acf-field a[href="#"]':"onClick","change .acf-field":"onChange"},onClick:function(t){t.preventDefault()},onChange:function(){t("#_acf_changed").val(1)}})}(jQuery),function(t,e){var i=0,n=acf.Field.extend({type:"accordion",wait:"",$control:function(){return this.$(".acf-fields:first")},initialize:function(){if(!this.$el.is("td")){if(this.get("endpoint"))return this.remove()
|
2 |
-
;var e=this.$el,n=this.$labelWrap(),r=this.$inputWrap(),o=this.$control(),s=r.children(".description");if(s.length&&n.append(s),this.$el.is("tr")){var c=this.$el.closest("table"),l=t('<div class="acf-accordion-title"/>'),u=t('<div class="acf-accordion-content"/>'),d=t('<table class="'+c.attr("class")+'"/>'),f=t("<tbody/>");l.append(n.html()),d.append(f),u.append(d),r.append(l),r.append(u),n.remove(),o.remove(),r.attr("colspan",2),n=l,r=u,o=f}e.addClass("acf-accordion"),n.addClass("acf-accordion-title"),r.addClass("acf-accordion-content"),i++,this.get("multi_expand")&&e.attr("multi-expand",1);var h=acf.getPreference("this.accordions")||[];void 0!==h[i-1]&&this.set("open",h[i-1]),this.get("open")&&(e.addClass("-open"),r.css("display","block")),n.prepend(a.iconHtml({open:this.get("open")}));var p=e.parent();o.addClass(p.hasClass("-left")?"-left":""),o.addClass(p.hasClass("-clear")?"-clear":""),o.append(e.nextUntil(".acf-field-accordion",".acf-field")),o.removeAttr("data-open data-multi_expand data-endpoint")}}});acf.registerFieldType(n);var a=new acf.Model({actions:{unload:"onUnload"},events:{"click .acf-accordion-title":"onClick","invalidField .acf-accordion":"onInvalidField"},isOpen:function(t){return t.hasClass("-open")},toggle:function(t){this.isOpen(t)?this.close(t):this.open(t)},iconHtml:function(t){var e;return'<i class="acf-accordion-icon dashicons dashicons-'+(t.open?"arrow-down":"arrow-right")+'"></i>'},open:function(e){e.find(".acf-accordion-content:first").slideDown().css("display","block"),e.find(".acf-accordion-icon:first").replaceWith(this.iconHtml({open:!0})),e.addClass("-open"),acf.doAction("show",e),e.attr("multi-expand")||e.siblings(".acf-accordion.-open").each(function(){a.close(t(this))})},close:function(t){t.find(".acf-accordion-content:first").slideUp(),t.find(".acf-accordion-icon:first").replaceWith(this.iconHtml({open:!1})),t.removeClass("-open"),acf.doAction("hide",t)},onClick:function(t,e){t.preventDefault(),this.toggle(e.parent())},onInvalidField:function(t,e){this.busy||(this.busy=!0,this.setTimeout(function(){this.busy=!1},1e3),this.open(e))},onUnload:function(e){var i=[];t(".acf-accordion").each(function(){var e=t(this).hasClass("-open")?1:0;i.push(e)}),i.length&&acf.setPreference("this.accordions",i)}})}(jQuery),function(t,e){var i=acf.Field.extend({type:"button_group",events:{'click input[type="radio"]':"onClick"},$control:function(){return this.$(".acf-button-group")},$input:function(){return this.$("input:checked")},setValue:function(t){this.$('input[value="'+t+'"]').prop("checked",!0).trigger("change")},onClick:function(t,e){var i=e.parent("label"),n=i.hasClass("selected");this.$(".selected").removeClass("selected"),i.addClass("selected"),this.get("allow_null")&&n&&(i.removeClass("selected"),e.prop("checked",!1).trigger("change"))}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"checkbox",events:{"change input":"onChange","click .acf-add-checkbox":"onClickAdd","click .acf-checkbox-toggle":"onClickToggle","click .acf-checkbox-custom":"onClickCustom"},$control:function(){return this.$(".acf-checkbox-list")},$toggle:function(){return this.$(".acf-checkbox-toggle")},$input:function(){return this.$('input[type="hidden"]')},$inputs:function(){return this.$('input[type="checkbox"]').not(".acf-checkbox-toggle")},getValue:function(){var e=[];return this.$(":checked").each(function(){e.push(t(this).val())}),!!e.length&&e},onChange:function(t,e){var i=e.prop("checked"),n=e.parent("label"),a=this.$toggle(),r;(i?n.addClass("selected"):n.removeClass("selected"),a.length)&&(0==this.$inputs().not(":checked").length?a.prop("checked",!0):a.prop("checked",!1))},onClickAdd:function(t,e){var i='<li><input class="acf-checkbox-custom" type="checkbox" checked="checked" /><input type="text" name="'+this.getInputName()+'[]" /></li>';e.parent("li").before(i)},onClickToggle:function(t,e){var i=e.prop("checked"),n=this.$('input[type="checkbox"]'),a=this.$("label");n.prop("checked",i),i?a.addClass("selected"):a.removeClass("selected")},onClickCustom:function(t,e){var i=e.prop("checked"),n=e.next('input[type="text"]');i?n.prop("disabled",!1):(n.prop("disabled",!0),""==n.val()&&e.parent("li").remove())}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"color_picker",wait:"load",$control:function(){return this.$(".acf-color-picker")},$input:function(){return this.$('input[type="hidden"]')},$inputText:function(){return this.$('input[type="text"]')},setValue:function(t){acf.val(this.$input(),t),this.$inputText().iris("color",t)},initialize:function(){var t=this.$input(),e=this.$inputText(),i=function(i){setTimeout(function(){acf.val(t,e.val())},1)},n={defaultColor:!1,palettes:!0,hide:!0,change:i,clear:i},n=acf.applyFilters("color_picker_args",n,this);e.wpColorPicker(n)}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"date_picker",events:{'blur input[type="text"]':"onBlur"},$control:function(){return this.$(".acf-date-picker")},$input:function(){return this.$('input[type="hidden"]')},$inputText:function(){return this.$('input[type="text"]')},initialize:function(){if(this.has("save_format"))return this.initializeCompatibility();var t=this.$input(),e=this.$inputText(),i={dateFormat:this.get("date_format"),altField:t,altFormat:"yymmdd",changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.get("first_day")};i=acf.applyFilters("date_picker_args",i,this),acf.newDatePicker(e,i),acf.doAction("date_picker_init",e,i,this)},initializeCompatibility:function(){var t=this.$input(),e=this.$inputText();e.val(t.val());var i={dateFormat:this.get("date_format"),altField:t,altFormat:this.get("save_format"),changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.get("first_day")},n=(i=acf.applyFilters("date_picker_args",i,this)).dateFormat;i.dateFormat=this.get("save_format"),acf.newDatePicker(e,i),e.datepicker("option","dateFormat",n),acf.doAction("date_picker_init",e,i,this)},onBlur:function(){this.$inputText().val()||acf.val(this.$input(),"")}});acf.registerFieldType(i);var n=new acf.Model({priority:5,wait:"ready",initialize:function(){var e=acf.get("locale"),i=acf.get("rtl"),n=acf.get("datePickerL10n");return!!n&&(void 0!==t.datepicker&&(n.isRTL=i,t.datepicker.regional[e]=n,void t.datepicker.setDefaults(n)))}});acf.newDatePicker=function(e,i){if(void 0===t.datepicker)return!1;i=i||{},e.datepicker(i),t("body > #ui-datepicker-div").exists()&&t("body > #ui-datepicker-div").wrap('<div class="acf-ui-datepicker" />')}}(jQuery),function(t,e){var i=acf.models.DatePickerField.extend({type:"date_time_picker",$control:function(){return this.$(".acf-date-time-picker")},initialize:function(){var t=this.$input(),e=this.$inputText(),i={dateFormat:this.get("date_format"),timeFormat:this.get("time_format"),altField:t,altFieldTimeOnly:!1,altFormat:"yy-mm-dd",altTimeFormat:"HH:mm:ss",changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.get("first_day"),controlType:"select",oneLine:!0};i=acf.applyFilters("date_time_picker_args",i,this),acf.newDateTimePicker(e,i),acf.doAction("date_time_picker_init",e,i,this)}});acf.registerFieldType(i);var n=new acf.Model({priority:5,wait:"ready",initialize:function(){var e=acf.get("locale"),i=acf.get("rtl"),n=acf.get("dateTimePickerL10n");return!!n&&(void 0!==t.timepicker&&(n.isRTL=i,t.timepicker.regional[e]=n,void t.timepicker.setDefaults(n)))}});acf.newDateTimePicker=function(e,i){if(void 0===t.timepicker)return!1;i=i||{},e.datetimepicker(i),t("body > #ui-datepicker-div").exists()&&t("body > #ui-datepicker-div").wrap('<div class="acf-ui-datepicker" />')}}(jQuery),function(t,e){function i(e){if(r)return e();if(acf.isset(window,"google","maps","Geocoder"))return r=new google.maps.Geocoder,e();if(acf.addAction("google_map_api_loaded",e),!a){var i=acf.get("google_map_api");i&&(a=!0,t.ajax({url:i,dataType:"script",cache:!0,success:function(){r=new google.maps.Geocoder,acf.doAction("google_map_api_loaded")}}))}}var n=acf.Field.extend({type:"google_map",map:!1,wait:"load",events:{'click a[data-name="clear"]':"onClickClear",'click a[data-name="locate"]':"onClickLocate",'click a[data-name="search"]':"onClickSearch","keydown .search":"onKeydownSearch","keyup .search":"onKeyupSearch","focus .search":"onFocusSearch","blur .search":"onBlurSearch",showField:"onShow"},$control:function(){return this.$(".acf-google-map")},$search:function(){return this.$(".search")},$canvas:function(){return this.$(".canvas")},setState:function(t){this.$control().removeClass("-value -loading -searching"),"default"===t&&(t=this.val()?"value":""),t&&this.$control().addClass("-"+t)},getValue:function(){var t=this.$input().val();return!!t&&JSON.parse(t)},setValue:function(t,e){var i="";t&&(i=JSON.stringify(t)),this.$input().val(i),e||(this.renderVal(t),acf.doAction("google_map_change",t,this.map,this))},renderVal:function(t){t?(this.setState("value"),this.$search().val(t.address),this.setPosition(t.lat,t.lng)):(this.setState(""),this.$search().val(""),this.map.marker.setVisible(!1))},newLatLng:function(t,e){return new google.maps.LatLng(parseFloat(t),parseFloat(e))},setPosition:function(t,e){this.map.marker.setPosition({lat:parseFloat(t),lng:parseFloat(e)}),this.map.marker.setVisible(!0),this.center()},center:function(){var t=this.map.marker.getPosition();if(t)var e=t.lat(),i=t.lng();else var e=this.get("lat"),i=this.get("lng");this.map.setCenter({lat:parseFloat(e),lng:parseFloat(i)})},initialize:function(){i(this.initializeMap.bind(this))},initializeMap:function(){var t=this.get("zoom"),e=this.get("lat"),i=this.get("lng"),n=this.val(),a={scrollwheel:!1,zoom:parseInt(n.zoom||t),center:{lat:parseFloat(n.lat||e),lng:parseFloat(n.lng||i)},mapTypeId:google.maps.MapTypeId.ROADMAP,marker:{draggable:!0,raiseOnDrag:!0},autocomplete:{}};a=acf.applyFilters("google_map_args",a,this);var r=new google.maps.Map(this.$canvas()[0],a),o=acf.parseArgs(a.marker,{draggable:!0,raiseOnDrag:!0,map:r});o=acf.applyFilters("google_map_marker_args",o,this);var s=new google.maps.Marker(o),c=!1,n;if(acf.isset(google,"maps","places","Autocomplete")){var l=a.autocomplete||{};l=acf.applyFilters("google_map_autocomplete_args",l,this),(c=new google.maps.places.Autocomplete(this.$search()[0],l)).bindTo("bounds",r)}this.addMapEvents(this,r,s,c),r.acf=this,r.marker=s,r.autocomplete=c,this.map=r,(n=this.getValue())&&this.setPosition(n.lat,n.lng),acf.doAction("google_map_init",r,s,this)},addMapEvents:function(t,e,i,n){google.maps.event.addListener(e,"click",function(e){var i=e.latLng.lat(),n=e.latLng.lng();t.searchPosition(i,n)}),google.maps.event.addListener(i,"dragend",function(){var e=this.getPosition().lat(),i=this.getPosition().lng();t.searchPosition(e,i)}),n&&google.maps.event.addListener(n,"place_changed",function(){var e=this.getPlace();t.searchPlace(e)}),google.maps.event.addListener(e,"zoom_changed",function(){var i=t.val();i&&(i.zoom=e.getZoom(),t.setValue(i,!0))})},searchPosition:function(t,e){this.setState("loading");var i={lat:t,lng:e};r.geocode({location:i},function(t,e){if(this.setState(""),"OK"!==e)this.showNotice({text:acf.__("Location not found: %s").replace("%s",e),type:"warning"});else{var i=this.parseResult(t[0]);this.val(i)}}.bind(this))},searchPlace:function(t){if(t&&t.name){if(!t.geometry)return this.searchAddress(t.name);var e=this.parseResult(t);this.val(e)}},searchAddress:function(t){if(t){var e=t.split(",");if(2==e.length){var i=parseFloat(e[0]),n=parseFloat(e[1]);if(i&&n)return this.searchPosition(i,n)}this.setState("loading"),r.geocode({address:t},function(e,i){if(this.setState(""),"OK"!==i)this.showNotice({text:acf.__("Location not found: %s").replace("%s",i),type:"warning"});else{var n=this.parseResult(e[0]);n.address=t,this.val(n)}}.bind(this))}},searchLocation:function(){if(!navigator.geolocation)return alert(acf.__("Sorry, this browser does not support geolocation"));this.setState("loading"),navigator.geolocation.getCurrentPosition(function(t){this.setState("");var e=t.coords.latitude,i=t.coords.longitude;this.searchPosition(e,i)}.bind(this),function(t){this.setState("")}.bind(this))},parseResult:function(t){var e={address:t.formatted_address,lat:t.geometry.location.lat(),lng:t.geometry.location.lng()};e.zoom=this.map.getZoom(),t.place_id&&(e.place_id=t.place_id);var i={street_number:["street_number"],street_name:["street_address","route"],city:["locality"],state:["administrative_area_level_1","administrative_area_level_2","administrative_area_level_3","administrative_area_level_4","administrative_area_level_5"],post_code:["postal_code"],country:["country"]};for(var n in i)for(var a=i[n],r=0;r<t.address_components.length;r++){var o=t.address_components[r],s=o.types[0];-1!==a.indexOf(s)&&(e[n]=o.long_name,o.long_name!==o.short_name&&(e[n+"_short"]=o.short_name))}return acf.applyFilters("google_map_result",e,t,this.map,this)},onClickClear:function(){this.val(!1)},onClickLocate:function(){this.searchLocation()},onClickSearch:function(){this.searchAddress(this.$search().val())},onFocusSearch:function(t,e){this.setState("searching")},onBlurSearch:function(t,e){var i=this.val(),n=i?i.address:"";e.val()===n&&this.setState("default")},onKeyupSearch:function(t,e){e.val()||this.val(!1)},onKeydownSearch:function(t,e){13==t.which&&(t.preventDefault(),e.blur())},onShow:function(){this.map&&this.setTimeout(this.center)}});acf.registerFieldType(n);var a=!1,r=!1}(jQuery),function(t,e){var i=acf.Field.extend({type:"image",$control:function(){return this.$(".acf-image-uploader")},$input:function(){return this.$('input[type="hidden"]')},events:{'click a[data-name="add"]':"onClickAdd",'click a[data-name="edit"]':"onClickEdit",'click a[data-name="remove"]':"onClickRemove",'change input[type="file"]':"onChange"},initialize:function(){"basic"===this.get("uploader")&&this.$el.closest("form").attr("enctype","multipart/form-data")},validateAttachment:function(t){void 0!==(t=t||{}).id&&(t=t.attributes),t=acf.parseArgs(t,{url:"",alt:"",title:"",caption:"",description:"",width:0,height:0});var e=acf.isget(t,"sizes",this.get("preview_size"),"url");return null!==e&&(t.url=e),t},render:function(t){t=this.validateAttachment(t),this.$("img").attr({src:t.url,alt:t.alt,title:t.title});var e=t.id||"";this.val(e),e?this.$control().addClass("has-value"):this.$control().removeClass("has-value")},append:function(t,e){var i=function(t,e){for(var i=acf.getFields({key:t.get("key"),parent:e.$el}),n=0;n<i.length;n++)if(!i[n].val())return i[n];return!1},n=i(this,e);n||(e.$(".acf-button:last").trigger("click"),n=i(this,e)),n&&n.render(t)},selectAttachment:function(){var e=this.parent(),i=e&&"repeater"===e.get("type"),n=acf.newMediaPopup({mode:"select",type:"image",title:acf.__("Select Image"),field:this.get("key"),multiple:i,library:this.get("library"),allowedTypes:this.get("mime_types"),select:t.proxy(function(t,i){i>0?this.append(t,e):this.render(t)},this)})},editAttachment:function(){var e=this.val();if(e)var i=acf.newMediaPopup({mode:"edit",title:acf.__("Edit Image"),button:acf.__("Update Image"),attachment:e,field:this.get("key"),select:t.proxy(function(t,e){this.render(t)},this)})},removeAttachment:function(){this.render(!1)},onClickAdd:function(t,e){this.selectAttachment()},onClickEdit:function(t,e){this.editAttachment()},onClickRemove:function(t,e){this.removeAttachment()},onChange:function(e,i){var n=this.$input();acf.getFileInputData(i,function(e){n.val(t.param(e))})}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.models.ImageField.extend({type:"file",$control:function(){return this.$(".acf-file-uploader")},$input:function(){return this.$('input[type="hidden"]')},validateAttachment:function(t){return void 0!==(t=t||{}).id&&(t=t.attributes),t=acf.parseArgs(t,{url:"",alt:"",title:"",filename:"",filesizeHumanReadable:"",icon:"/wp-includes/images/media/default.png"})},render:function(t){t=this.validateAttachment(t),this.$("img").attr({src:t.icon,alt:t.alt,title:t.title}),this.$('[data-name="title"]').text(t.title),this.$('[data-name="filename"]').text(t.filename).attr("href",t.url),this.$('[data-name="filesize"]').text(t.filesizeHumanReadable);var e=t.id||"";acf.val(this.$input(),e),e?this.$control().addClass("has-value"):this.$control().removeClass("has-value")},selectAttachment:function(){var e=this.parent(),i=e&&"repeater"===e.get("type"),n=acf.newMediaPopup({mode:"select",title:acf.__("Select File"),field:this.get("key"),multiple:i,library:this.get("library"),allowedTypes:this.get("mime_types"),select:t.proxy(function(t,i){i>0?this.append(t,e):this.render(t)},this)})},editAttachment:function(){var e=this.val();if(!e)return!1;var i=acf.newMediaPopup({mode:"edit",title:acf.__("Edit File"),button:acf.__("Update File"),attachment:e,field:this.get("key"),select:t.proxy(function(t,e){this.render(t)},this)})}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"link",events:{'click a[data-name="add"]':"onClickEdit",'click a[data-name="edit"]':"onClickEdit",'click a[data-name="remove"]':"onClickRemove","change .link-node":"onChange"},$control:function(){return this.$(".acf-link")},$node:function(){return this.$(".link-node")},getValue:function(){var t=this.$node();return!!t.attr("href")&&{title:t.html(),url:t.attr("href"),target:t.attr("target")}},setValue:function(t){t=acf.parseArgs(t,{title:"",url:"",target:""});var e=this.$control(),i=this.$node();e.removeClass("-value -external"),t.url&&e.addClass("-value"),"_blank"===t.target&&e.addClass("-external"),this.$(".link-title").html(t.title),this.$(".link-url").attr("href",t.url).html(t.url),i.html(t.title),i.attr("href",t.url),i.attr("target",t.target),this.$(".input-title").val(t.title),this.$(".input-target").val(t.target),this.$(".input-url").val(t.url).trigger("change")},onClickEdit:function(t,e){acf.wpLink.open(this.$node())},onClickRemove:function(t,e){this.setValue(!1)},onChange:function(t,e){var i=this.getValue();this.setValue(i)}});acf.registerFieldType(i),acf.wpLink=new acf.Model({getNodeValue:function(){var t=this.get("node");return{title:acf.decode(t.html()),url:t.attr("href"),target:t.attr("target")}},setNodeValue:function(t){var e=this.get("node");e.text(t.title),e.attr("href",t.url),e.attr("target",t.target),e.trigger("change")},getInputValue:function(){return{title:t("#wp-link-text").val(),url:t("#wp-link-url").val(),target:t("#wp-link-target").prop("checked")?"_blank":""}},setInputValue:function(e){t("#wp-link-text").val(e.title),t("#wp-link-url").val(e.url),t("#wp-link-target").prop("checked","_blank"===e.target)},open:function(e){this.on("wplink-open","onOpen"),this.on("wplink-close","onClose"),this.set("node",e);var i=t('<textarea id="acf-link-textarea" style="display:none;"></textarea>');t("body").append(i);var n=this.getNodeValue();wpLink.open("acf-link-textarea",n.url,n.title,null)},onOpen:function(){t("#wp-link-wrap").addClass("has-text-field");var e=this.getNodeValue();this.setInputValue(e)},close:function(){wpLink.close()},onClose:function(){if(!this.has("node"))return!1;this.off("wplink-open"),this.off("wplink-close");var e=this.getInputValue();this.setNodeValue(e),t("#acf-link-textarea").remove(),this.set("node",null)}})}(jQuery),function(t,e){var i=acf.Field.extend({type:"oembed",events:{'click [data-name="clear-button"]':"onClickClear","keypress .input-search":"onKeypressSearch","keyup .input-search":"onKeyupSearch","change .input-search":"onChangeSearch"},$control:function(){return this.$(".acf-oembed")},$input:function(){return this.$(".input-value")},$search:function(){return this.$(".input-search")},getValue:function(){return this.$input().val()},getSearchVal:function(){return this.$search().val()},setValue:function(t){t?this.$control().addClass("has-value"):this.$control().removeClass("has-value"),acf.val(this.$input(),t)},showLoading:function(t){acf.showLoading(this.$(".canvas"))},hideLoading:function(){acf.hideLoading(this.$(".canvas"))},maybeSearch:function(){var e=this.val(),i=this.getSearchVal();if(!i)return this.clear();if("http"!=i.substr(0,4)&&(i="http://"+i),i!==e){var n=this.get("timeout");n&&clearTimeout(n);var a=t.proxy(this.search,this,i);this.set("timeout",setTimeout(a,300))}},search:function(e){var i={action:"acf/fields/oembed/search",s:e,field_key:this.get("key")},n;(n=this.get("xhr"))&&n.abort(),this.showLoading();var n=t.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(i),type:"post",dataType:"json",context:this,success:function(t){t&&t.html||(t={url:!1,html:""}),this.val(t.url),this.$(".canvas-media").html(t.html)},complete:function(){this.hideLoading()}});this.set("xhr",n)},clear:function(){this.val(""),this.$search().val(""),this.$(".canvas-media").html("")},onClickClear:function(t,e){this.clear()},onKeypressSearch:function(t,e){13==t.which&&(t.preventDefault(),this.maybeSearch())},onKeyupSearch:function(t,e){e.val()&&this.maybeSearch()},onChangeSearch:function(t,e){this.maybeSearch()}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"radio",events:{'click input[type="radio"]':"onClick"},$control:function(){return this.$(".acf-radio-list")},$input:function(){return this.$("input:checked")},$inputText:function(){return this.$('input[type="text"]')},getValue:function(){var t=this.$input().val();return"other"===t&&this.get("other_choice")&&(t=this.$inputText().val()),t},onClick:function(t,e){var i=e.parent("label"),n=i.hasClass("selected"),a=e.val();this.$(".selected").removeClass("selected"),i.addClass("selected"),this.get("allow_null")&&n&&(i.removeClass("selected"),e.prop("checked",!1).trigger("change"),a=!1),this.get("other_choice")&&("other"===a?this.$inputText().prop("disabled",!1):this.$inputText().prop("disabled",!0))}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"range",events:{'input input[type="range"]':"onChange","change input":"onChange"},$input:function(){return this.$('input[type="range"]')},$inputAlt:function(){return this.$('input[type="number"]')},setValue:function(t){this.busy=!0,acf.val(this.$input(),t),acf.val(this.$inputAlt(),this.$input().val(),!0),this.busy=!1},onChange:function(t,e){this.busy||this.setValue(e.val())}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"relationship",events:{"keypress [data-filter]":"onKeypressFilter","change [data-filter]":"onChangeFilter","keyup [data-filter]":"onChangeFilter","click .choices-list .acf-rel-item":"onClickAdd",'click [data-name="remove_item"]':"onClickRemove"},$control:function(){return this.$(".acf-relationship")},$list:function(t){return this.$("."+t+"-list")},$listItems:function(t){return this.$list(t).find(".acf-rel-item")},$listItem:function(t,e){return this.$list(t).find('.acf-rel-item[data-id="'+e+'"]')},getValue:function(){var e=[];return this.$listItems("values").each(function(){e.push(t(this).data("id"))}),!!e.length&&e},newChoice:function(t){return["<li>",'<span data-id="'+t.id+'" class="acf-rel-item">'+t.text+"</span>","</li>"].join("")},newValue:function(t){return["<li>",'<input type="hidden" name="'+this.getInputName()+'[]" value="'+t.id+'" />','<span data-id="'+t.id+'" class="acf-rel-item">'+t.text,'<a href="#" class="acf-icon -minus small dark" data-name="remove_item"></a>',"</span>","</li>"].join("")},initialize:function(){var t=this.proxy(acf.once(function(){this.$list("values").sortable({items:"li",forceHelperSize:!0,forcePlaceholderSize:!0,scroll:!0,update:this.proxy(function(){this.$input().trigger("change")})}),this.$list("choices").scrollTop(0).on("scroll",this.proxy(this.onScrollChoices)),this.fetch()}));this.$el.one("mouseover",t),this.$el.one("focus","input",t),acf.onceInView(this.$el,t)},onScrollChoices:function(t){if(!this.get("loading")&&this.get("more")){var e=this.$list("choices"),i=Math.ceil(e.scrollTop()),n=Math.ceil(e[0].scrollHeight),a=Math.ceil(e.innerHeight()),r=this.get("paged")||1;i+a>=n&&(this.set("paged",r+1),this.fetch())}},onKeypressFilter:function(t,e){13==t.which&&t.preventDefault()},onChangeFilter:function(t,e){var i=e.val(),n=e.data("filter");this.get(n)!==i&&(this.set(n,i),this.set("paged",1),e.is("select")?this.fetch():this.maybeFetch())},onClickAdd:function(t,e){var i=this.val(),n=parseInt(this.get("max"));if(e.hasClass("disabled"))return!1;if(n>0&&i&&i.length>=n)return this.showNotice({text:acf.__("Maximum values reached ( {max} values )").replace("{max}",n),type:"warning"}),!1;e.addClass("disabled");var a=this.newValue({id:e.data("id"),text:e.html()});this.$list("values").append(a),this.$input().trigger("change")},onClickRemove:function(t,e){t.preventDefault();var i=e.parent(),n=i.parent(),a=i.data("id");n.remove(),this.$listItem("choices",a).removeClass("disabled"),this.$input().trigger("change")},maybeFetch:function(){var t=this.get("timeout");t&&clearTimeout(t),t=this.setTimeout(this.fetch,300),this.set("timeout",t)},getAjaxData:function(){var t=this.$control().data();for(var e in t)t[e]=this.get(e);return t.action="acf/fields/relationship/query",t.field_key=this.get("key"),t=acf.applyFilters("relationship_ajax_data",t,this)},fetch:function(){var e;(e=this.get("xhr"))&&e.abort();var i=this.getAjaxData(),n=this.$list("choices");1==i.paged&&n.html("");var a=t('<li><i class="acf-loading"></i> '+acf.__("Loading")+"</li>");n.append(a),this.set("loading",!0);var r=function(){this.set("loading",!1),a.remove()},o=function(e){if(!e||!e.results||!e.results.length)return this.set("more",!1),void(1==this.get("paged")&&this.$list("choices").append("<li>"+acf.__("No matches found")+"</li>"));this.set("more",e.more);var i=this.walkChoices(e.results),a=t(i),r=this.val();r&&r.length&&r.map(function(t){a.find('.acf-rel-item[data-id="'+t+'"]').addClass("disabled")}),n.append(a);var o=!1,s=!1;n.find(".acf-rel-label").each(function(){var e=t(this),i=e.siblings("ul");if(o&&o.text()==e.text())return s.append(i.children()),void t(this).parent().remove();o=e,s=i})},e=t.ajax({url:acf.get("ajaxurl"),dataType:"json",type:"post",data:acf.prepareForAjax(i),context:this,success:o,complete:r});this.set("xhr",e)},walkChoices:function(e){var i=function(e){var n="";return t.isArray(e)?e.map(function(t){n+=i(t)}):t.isPlainObject(e)&&(void 0!==e.children?(n+='<li><span class="acf-rel-label">'+e.text+'</span><ul class="acf-bl">',n+=i(e.children),n+="</ul></li>"):n+='<li><span class="acf-rel-item" data-id="'+e.id+'">'+e.text+"</span></li>"),n};return i(e)}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"select",select2:!1,wait:"load",events:{removeField:"onRemove"},$input:function(){return this.$("select")},initialize:function(){var t=this.$input();if(this.inherit(t),this.get("ui")){var e=this.get("ajax_action");e||(e="acf/fields/"+this.get("type")+"/query"),this.select2=acf.newSelect2(t,{field:this,ajax:this.get("ajax"),multiple:this.get("multiple"),placeholder:this.get("placeholder"),allowNull:this.get("allow_null"),ajaxAction:e})}},onRemove:function(){this.select2&&this.select2.destroy()}});acf.registerFieldType(i)}(jQuery),function(t,e){var i="tab",n=acf.Field.extend({type:"tab",wait:"",tabs:!1,tab:!1,findFields:function(){return this.$el.nextUntil(".acf-field-tab",".acf-field")},getFields:function(){return acf.getFields(this.findFields())},findTabs:function(){return this.$el.prevAll(".acf-tab-wrap:first")},findTab:function(){return this.$(".acf-tab-button")},initialize:function(){if(this.$el.is("td"))return this.events={},!1;var t=this.findTabs(),e=this.findTab(),i=acf.parseArgs(e.data(),{endpoint:!1,placement:"",before:this.$el});!t.length||i.endpoint?this.tabs=new r(i):this.tabs=t.data("acf"),this.tab=this.tabs.addTab(e,this)},isActive:function(){return this.tab.isActive()},showFields:function(){this.getFields().map(function(t){t.show(this.cid,"tab"),t.hiddenByTab=!1},this)},hideFields:function(){this.getFields().map(function(t){t.hide(this.cid,"tab"),t.hiddenByTab=this.tab},this)},show:function(t){var e=acf.Field.prototype.show.apply(this,arguments);return e&&(this.tab.show(),this.tabs.refresh()),e},hide:function(t){var e=acf.Field.prototype.hide.apply(this,arguments);return e&&(this.tab.hide(),this.isActive()&&this.tabs.reset()),e},enable:function(t){this.getFields().map(function(t){t.enable("tab")})},disable:function(t){this.getFields().map(function(t){t.disable("tab")})}});acf.registerFieldType(n);var a=0,r=acf.Model.extend({tabs:[],active:!1,actions:{refresh:"onRefresh"},data:{before:!1,placement:"top",index:0,initialized:!1},setup:function(e){t.extend(this.data,e),this.tabs=[],this.active=!1;var i=this.get("placement"),n=this.get("before"),r=n.parent();"left"==i&&r.hasClass("acf-fields")&&r.addClass("-sidebar"),n.is("tr")?this.$el=t('<tr class="acf-tab-wrap"><td colspan="2"><ul class="acf-hl acf-tab-group"></ul></td></tr>'):this.$el=t('<div class="acf-tab-wrap -'+i+'"><ul class="acf-hl acf-tab-group"></ul></div>'),n.before(this.$el),this.set("index",a,!0),a++},initializeTabs:function(){var t=this.getVisible().shift(),e,i,n=(acf.getPreference("this.tabs")||[])[this.get("index")];this.tabs[n]&&this.tabs[n].isVisible()&&(t=this.tabs[n]),t?this.selectTab(t):this.closeTabs(),this.set("initialized",!0)},getVisible:function(){return this.tabs.filter(function(t){return t.isVisible()})},getActive:function(){return this.active},setActive:function(t){return this.active=t},hasActive:function(){return!1!==this.active},isActive:function(t){var e=this.getActive();return e&&e.cid===t.cid},closeActive:function(){this.hasActive()&&this.closeTab(this.getActive())},openTab:function(t){this.closeActive(),t.open(),this.setActive(t)},closeTab:function(t){t.close(),this.setActive(!1)},closeTabs:function(){this.tabs.map(this.closeTab,this)},selectTab:function(t){this.tabs.map(function(e){t.cid!==e.cid&&this.closeTab(e)},this),this.openTab(t)},addTab:function(e,i){var n=t("<li></li>");n.append(e),this.$("ul").append(n);var a=new o({$el:n,field:i,group:this});return this.tabs.push(a),a},reset:function(){return this.closeActive(),this.refresh()},refresh:function(){if(this.hasActive())return!1;var t=this.getVisible().shift();return t&&this.openTab(t),t},onRefresh:function(){if("left"===this.get("placement")){var t=this.$el.parent(),e=this.$el.children("ul"),i=t.is("td")?"height":"min-height",n=e.position().top+e.outerHeight(!0)-1;t.css(i,n)}}}),o=acf.Model.extend({group:!1,field:!1,events:{"click a":"onClick"},index:function(){return this.$el.index()},isVisible:function(){return acf.isVisible(this.$el)},isActive:function(){return this.$el.hasClass("active")},open:function(){this.$el.addClass("active"),this.field.showFields()},close:function(){this.$el.removeClass("active"),this.field.hideFields()},onClick:function(t,e){t.preventDefault(),this.toggle()},toggle:function(){this.isActive()||this.group.openTab(this)}}),s=new acf.Model({priority:50,actions:{prepare:"render",append:"render",unload:"onUnload",invalid_field:"onInvalidField"},findTabs:function(){return t(".acf-tab-wrap")},getTabs:function(){return acf.getInstances(this.findTabs())},render:function(t){this.getTabs().map(function(t){t.get("initialized")||t.initializeTabs()})},onInvalidField:function(t){this.busy||t.hiddenByTab&&(t.hiddenByTab.toggle(),this.busy=!0,this.setTimeout(function(){this.busy=!1},100))},onUnload:function(){var t=[];this.getTabs().map(function(e){var i=e.hasActive()?e.getActive().index():0;t.push(i)}),t.length&&acf.setPreference("this.tabs",t)}})}(jQuery),function(t,e){var i=acf.models.SelectField.extend({type:"post_object"});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.models.SelectField.extend({type:"page_link"});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.models.SelectField.extend({type:"user"});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"taxonomy",data:{ftype:"select"},select2:!1,wait:"load",events:{'click a[data-name="add"]':"onClickAdd",'click input[type="radio"]':"onClickRadio"},$control:function(){return this.$(".acf-taxonomy-field")},$input:function(){
|
3 |
-
return this.getRelatedPrototype().$input.apply(this,arguments)},getRelatedType:function(){var t=this.get("ftype");return"multi_select"==t&&(t="select"),t},getRelatedPrototype:function(){return acf.getFieldType(this.getRelatedType()).prototype},getValue:function(){return this.getRelatedPrototype().getValue.apply(this,arguments)},setValue:function(){return this.getRelatedPrototype().setValue.apply(this,arguments)},initialize:function(){this.getRelatedPrototype().initialize.apply(this,arguments)},onRemove:function(){this.select2&&this.select2.destroy()},onClickAdd:function(e,i){var n=this,a=!1,r=!1,o=!1,s=!1,c=!1,l=!1,u=!1,d=function(){a=acf.newPopup({title:i.attr("title"),loading:!0,width:"300px"});var e={action:"acf/fields/taxonomy/add_term",field_key:n.get("key")};t.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(e),type:"post",dataType:"html",success:f})},f=function(t){a.loading(!1),a.content(t),r=a.$("form"),o=a.$('input[name="term_name"]'),s=a.$('select[name="term_parent"]'),c=a.$(".acf-submit-button"),o.focus(),a.on("submit","form",h)},h=function(e,i){if(e.preventDefault(),e.stopImmediatePropagation(),""===o.val())return o.focus(),!1;acf.startButtonLoading(c);var a={action:"acf/fields/taxonomy/add_term",field_key:n.get("key"),term_name:o.val(),term_parent:s.length?s.val():0};t.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(a),type:"post",dataType:"json",success:p})},p=function(t){acf.stopButtonLoading(c),u&&u.remove(),acf.isAjaxSuccess(t)?(o.val(""),g(t.data),u=acf.newNotice({type:"success",text:acf.getAjaxMessage(t),target:r,timeout:2e3,dismiss:!1})):u=acf.newNotice({type:"error",text:acf.getAjaxError(t),target:r,timeout:2e3,dismiss:!1}),o.focus()},g=function(e){var i=t('<option value="'+e.term_id+'">'+e.term_label+"</option>"),a;e.term_parent?s.children('option[value="'+e.term_parent+'"]').after(i):s.append(i),acf.getFields({type:"taxonomy"}).map(function(t){t.get("taxonomy")==n.get("taxonomy")&&t.appendTerm(e)}),n.selectTerm(e.term_id)};d()},appendTerm:function(t){"select"==this.getRelatedType()?this.appendTermSelect(t):this.appendTermCheckbox(t)},appendTermSelect:function(t){this.select2.addOption({id:t.term_id,text:t.term_label})},appendTermCheckbox:function(e){var i=this.$("[name]:first").attr("name"),n=this.$("ul:first");"checkbox"==this.getRelatedType()&&(i+="[]");var a=t(['<li data-id="'+e.term_id+'">',"<label>",'<input type="'+this.get("ftype")+'" value="'+e.term_id+'" name="'+i+'" /> ',"<span>"+e.term_name+"</span>","</label>","</li>"].join(""));if(e.term_parent){var r=n.find('li[data-id="'+e.term_parent+'"]');(n=r.children("ul")).exists()||(n=t('<ul class="children acf-bl"></ul>'),r.append(n))}n.append(a)},selectTerm:function(t){var e;"select"==this.getRelatedType()?this.select2.selectOption(t):this.$('input[value="'+t+'"]').prop("checked",!0).trigger("change")},onClickRadio:function(t,e){var i=e.parent("label"),n=i.hasClass("selected");this.$(".selected").removeClass("selected"),i.addClass("selected"),this.get("allow_null")&&n&&(i.removeClass("selected"),e.prop("checked",!1).trigger("change"))}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.models.DatePickerField.extend({type:"time_picker",$control:function(){return this.$(".acf-time-picker")},initialize:function(){var t=this.$input(),e=this.$inputText(),i={timeFormat:this.get("time_format"),altField:t,altFieldTimeOnly:!1,altTimeFormat:"HH:mm:ss",showButtonPanel:!0,controlType:"select",oneLine:!0,closeText:acf.get("dateTimePickerL10n").selectText,timeOnly:!0,onClose:function(t,e,i){var n=e.dpDiv.find(".ui-datepicker-close");!t&&n.is(":hover")&&i._updateDateTime()}};i=acf.applyFilters("time_picker_args",i,this),acf.newTimePicker(e,i),acf.doAction("time_picker_init",e,i,this)}});acf.registerFieldType(i),acf.newTimePicker=function(e,i){if(void 0===t.timepicker)return!1;i=i||{},e.timepicker(i),t("body > #ui-datepicker-div").exists()&&t("body > #ui-datepicker-div").wrap('<div class="acf-ui-datepicker" />')}}(jQuery),function(t,e){var i=acf.Field.extend({type:"true_false",events:{"change .acf-switch-input":"onChange","focus .acf-switch-input":"onFocus","blur .acf-switch-input":"onBlur","keypress .acf-switch-input":"onKeypress"},$input:function(){return this.$('input[type="checkbox"]')},$switch:function(){return this.$(".acf-switch")},getValue:function(){return this.$input().prop("checked")?1:0},initialize:function(){this.render()},render:function(){var t=this.$switch();if(t.length){var e=t.children(".acf-switch-on"),i=t.children(".acf-switch-off"),n=Math.max(e.width(),i.width());n&&(e.css("min-width",n),i.css("min-width",n))}},switchOn:function(){this.$input().prop("checked",!0),this.$switch().addClass("-on")},switchOff:function(){this.$input().prop("checked",!1),this.$switch().removeClass("-on")},onChange:function(t,e){e.prop("checked")?this.switchOn():this.switchOff()},onFocus:function(t,e){this.$switch().addClass("-focus")},onBlur:function(t,e){this.$switch().removeClass("-focus")},onKeypress:function(t,e){return 37===t.keyCode?this.switchOff():39===t.keyCode?this.switchOn():void 0}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"url",events:{'keyup input[type="url"]':"onkeyup"},$control:function(){return this.$(".acf-input-wrap")},$input:function(){return this.$('input[type="url"]')},initialize:function(){this.render()},isValid:function(){var t=this.val();return!!t&&(-1!==t.indexOf("://")||0===t.indexOf("//"))},render:function(){this.isValid()?this.$control().addClass("-valid"):this.$control().removeClass("-valid")},onkeyup:function(t,e){this.render()}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"wysiwyg",wait:"load",events:{"mousedown .acf-editor-wrap.delay":"onMousedown",unmountField:"disableEditor",remountField:"enableEditor",removeField:"disableEditor"},$control:function(){return this.$(".acf-editor-wrap")},$input:function(){return this.$("textarea")},getMode:function(){return this.$control().hasClass("tmce-active")?"visual":"text"},initialize:function(){this.$control().hasClass("delay")||this.initializeEditor()},initializeEditor:function(){var t=this.$control(),e=this.$input(),i={tinymce:!0,quicktags:!0,toolbar:this.get("toolbar"),mode:this.getMode(),field:this},n=e.attr("id"),a=acf.uniqueId("acf-editor-"),r=e.data();acf.rename({target:t,search:n,replace:a,destructive:!0}),this.set("id",a,!0),acf.tinymce.initialize(a,i),this.$input().data(r)},onMousedown:function(t){t.preventDefault();var e=this.$control();e.removeClass("delay"),e.find(".acf-editor-toolbar").remove(),this.initializeEditor()},enableEditor:function(){"visual"==this.getMode()&&acf.tinymce.enable(this.get("id"))},disableEditor:function(){acf.tinymce.destroy(this.get("id"))}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=[];acf.Condition=acf.Model.extend({type:"",operator:"==",label:"",choiceType:"input",fieldTypes:[],data:{conditions:!1,field:!1,rule:{}},events:{change:"change",keyup:"change",enableField:"change",disableField:"change"},setup:function(e){t.extend(this.data,e)},getEventTarget:function(t,e){return t||this.get("field").$el},change:function(t,e){this.get("conditions").change(t)},match:function(t,e){return!1},calculate:function(){return this.match(this.get("rule"),this.get("field"))},choices:function(t){return'<input type="text" />'}}),acf.newCondition=function(t,e){var i=e.get("field"),n=i.getField(t.field);if(!i||!n)return!1;var a={rule:t,target:i,conditions:e,field:n},r=n.get("type"),o=t.operator,s,c,l;return new(acf.getConditionTypes({fieldType:r,operator:o})[0]||acf.Condition)(a)};var n=function(t){return acf.strPascalCase(t||"")+"Condition"};acf.registerConditionType=function(t){var e,a=t.prototype.type,r=n(a);acf.models[r]=t,i.push(a)},acf.getConditionType=function(t){var e=n(t);return acf.models[e]||!1},acf.registerConditionForFieldType=function(t,e){var i=acf.getConditionType(t);i&&i.prototype.fieldTypes.push(e)},acf.getConditionTypes=function(t){t=acf.parseArgs(t,{fieldType:"",operator:""});var e=[];return i.map(function(i){var n=acf.getConditionType(i),a=n.prototype.fieldTypes,r=n.prototype.operator;t.fieldType&&-1===a.indexOf(t.fieldType)||t.operator&&r!==t.operator||e.push(n)}),e}}(jQuery),function(t,e){var i="conditional_logic",n=new acf.Model({id:"conditionsManager",priority:20,actions:{new_field:"onNewField"},onNewField:function(t){t.has("conditions")&&t.getConditions().render()}}),a=function(t,e){var i=acf.getFields({key:e,sibling:t.$el,suppressFilters:!0});return i.length||(i=acf.getFields({key:e,parent:t.$el.parent(),suppressFilters:!0})),!!i.length&&i[0]};acf.Field.prototype.getField=function(t){var e=a(this,t);if(e)return e;for(var i=this.parents(),n=0;n<i.length;n++)if(e=a(i[n],t))return e;return!1},acf.Field.prototype.getConditions=function(){return this.conditions||(this.conditions=new o(this)),this.conditions};var r=!1,o=acf.Model.extend({id:"Conditions",data:{field:!1,timeStamp:!1,groups:[]},setup:function(t){this.data.field=t;var e=t.get("conditions");e instanceof Array?e[0]instanceof Array?e.map(function(t,e){this.addRules(t,e)},this):this.addRules(e):this.addRule(e)},change:function(t){if(this.get("timeStamp")===t.timeStamp)return!1;this.set("timeStamp",t.timeStamp,!0);var e=this.render()},render:function(){return this.calculate()?this.show():this.hide()},show:function(){return this.get("field").showEnable(this.cid,i)},hide:function(){return this.get("field").hideDisable(this.cid,i)},calculate:function(){var t=!1;return this.getGroups().map(function(e){var i;t||e.filter(function(t){return t.calculate()}).length==e.length&&(t=!0)}),t},hasGroups:function(){return null!=this.data.groups},getGroups:function(){return this.data.groups},addGroup:function(){var t=[];return this.data.groups.push(t),t},hasGroup:function(t){return null!=this.data.groups[t]},getGroup:function(t){return this.data.groups[t]},removeGroup:function(t){return this.data.groups[t].delete,this},addRules:function(t,e){t.map(function(t){this.addRule(t,e)},this)},addRule:function(t,e){var i;e=e||0,i=this.hasGroup(e)?this.getGroup(e):this.addGroup();var n=acf.newCondition(t,this);if(!n)return!1;i.push(n)},hasRule:function(){},getRule:function(t,e){return t=t||0,e=e||0,this.data.groups[e][t]},removeRule:function(){}})}(jQuery),function(t,e){var i=acf.__,n=function(t){return t?""+t:""},a=function(t,e){return n(t).toLowerCase()===n(e).toLowerCase()},r=function(t,e){return parseFloat(t)===parseFloat(e)},o=function(t,e){return parseFloat(t)>parseFloat(e)},s=function(t,e){return parseFloat(t)<parseFloat(e)},c=function(t,e){return(e=e.map(function(t){return n(t)})).indexOf(t)>-1},l=function(t,e){return n(t).indexOf(n(e))>-1},u=function(t,e){var i=new RegExp(n(e),"gi");return n(t).match(i)},d=acf.Condition.extend({type:"hasValue",operator:"!=empty",label:i("Has any value"),fieldTypes:["text","textarea","number","range","email","url","password","image","file","wysiwyg","oembed","select","checkbox","radio","button_group","link","post_object","page_link","relationship","taxonomy","user","google_map","date_picker","date_time_picker","time_picker","color_picker"],match:function(t,e){return!!e.val()},choices:function(t){return'<input type="text" disabled="" />'}});acf.registerConditionType(d);var f=d.extend({type:"hasNoValue",operator:"==empty",label:i("Has no value"),match:function(t,e){return!d.prototype.match.apply(this,arguments)}});acf.registerConditionType(f);var h=acf.Condition.extend({type:"equalTo",operator:"==",label:i("Value is equal to"),fieldTypes:["text","textarea","number","range","email","url","password"],match:function(e,i){return t.isNumeric(e.value)?r(e.value,i.val()):a(e.value,i.val())},choices:function(t){return'<input type="text" />'}});acf.registerConditionType(h);var p=h.extend({type:"notEqualTo",operator:"!=",label:i("Value is not equal to"),match:function(t,e){return!h.prototype.match.apply(this,arguments)}});acf.registerConditionType(p);var g=acf.Condition.extend({type:"patternMatch",operator:"==pattern",label:i("Value matches pattern"),fieldTypes:["text","textarea","email","url","password","wysiwyg"],match:function(t,e){return u(e.val(),t.value)},choices:function(t){return'<input type="text" placeholder="[a-z0-9]" />'}});acf.registerConditionType(g);var m=acf.Condition.extend({type:"contains",operator:"==contains",label:i("Value contains"),fieldTypes:["text","textarea","number","email","url","password","wysiwyg","oembed","select"],match:function(t,e){return l(e.val(),t.value)},choices:function(t){return'<input type="text" />'}});acf.registerConditionType(m);var v=h.extend({type:"trueFalseEqualTo",choiceType:"select",fieldTypes:["true_false"],choices:function(t){return[{id:1,text:i("Checked")}]}});acf.registerConditionType(v);var y=p.extend({type:"trueFalseNotEqualTo",choiceType:"select",fieldTypes:["true_false"],choices:function(t){return[{id:1,text:i("Checked")}]}});acf.registerConditionType(y);var b=acf.Condition.extend({type:"selectEqualTo",operator:"==",label:i("Value is equal to"),fieldTypes:["select","checkbox","radio","button_group"],match:function(t,e){var i=e.val();return i instanceof Array?c(t.value,i):a(t.value,i)},choices:function(e){var n=[],a=e.$setting("choices textarea").val().split("\n");return e.$input("allow_null").prop("checked")&&n.push({id:"",text:i("Null")}),a.map(function(e){(e=e.split(":"))[1]=e[1]||e[0],n.push({id:t.trim(e[0]),text:t.trim(e[1])})}),n}});acf.registerConditionType(b);var _=b.extend({type:"selectNotEqualTo",operator:"!=",label:i("Value is not equal to"),match:function(t,e){return!b.prototype.match.apply(this,arguments)}});acf.registerConditionType(_);var w=acf.Condition.extend({type:"greaterThan",operator:">",label:i("Value is greater than"),fieldTypes:["number","range"],match:function(t,e){var i=e.val();return i instanceof Array&&(i=i.length),o(i,t.value)},choices:function(t){return'<input type="number" />'}});acf.registerConditionType(w);var x=w.extend({type:"lessThan",operator:"<",label:i("Value is less than"),match:function(t,e){var i=e.val();return i instanceof Array&&(i=i.length),s(i,t.value)},choices:function(t){return'<input type="number" />'}});acf.registerConditionType(x);var $=w.extend({type:"selectionGreaterThan",label:i("Selection is greater than"),fieldTypes:["checkbox","select","post_object","page_link","relationship","taxonomy","user"]});acf.registerConditionType($);var k=x.extend({type:"selectionLessThan",label:i("Selection is less than"),fieldTypes:["checkbox","select","post_object","page_link","relationship","taxonomy","user"]});acf.registerConditionType(k)}(jQuery),function(t,e){acf.newMediaPopup=function(t){var e=null,t=acf.parseArgs(t,{mode:"select",title:"",button:"",type:"",field:!1,allowedTypes:"",library:"all",multiple:!1,attachment:0,autoOpen:!0,open:function(){},select:function(){},close:function(){}});return e="edit"==t.mode?new acf.models.EditMediaPopup(t):new acf.models.SelectMediaPopup(t),t.autoOpen&&setTimeout(function(){e.open()},1),acf.doAction("new_media_popup",e),e};var i=function(){var e=acf.get("post_id");return t.isNumeric(e)?e:0};acf.getMimeTypes=function(){return this.get("mimeTypes")},acf.getMimeType=function(t){var e=acf.getMimeTypes();if(void 0!==e[t])return e[t];for(var i in e)if(-1!==i.indexOf(t))return e[i];return!1};var n=acf.Model.extend({id:"MediaPopup",data:{},defaults:{},frame:!1,setup:function(e){t.extend(this.data,e)},initialize:function(){var t=this.getFrameOptions();this.addFrameStates(t);var e=wp.media(t);e.acf=this,this.addFrameEvents(e,t),this.frame=e},open:function(){this.frame.open()},close:function(){this.frame.close()},remove:function(){this.frame.detach(),this.frame.remove()},getFrameOptions:function(){var t={title:this.get("title"),multiple:this.get("multiple"),library:{},states:[]};return this.get("type")&&(t.library.type=this.get("type")),"uploadedTo"===this.get("library")&&(t.library.uploadedTo=i()),this.get("attachment")&&(t.library.post__in=[this.get("attachment")]),this.get("button")&&(t.button={text:this.get("button")}),t},addFrameStates:function(t){var e=wp.media.query(t.library);this.get("field")&&acf.isset(e,"mirroring","args")&&(e.mirroring.args._acfuploader=this.get("field")),t.states.push(new wp.media.controller.Library({library:e,multiple:this.get("multiple"),title:this.get("title"),priority:20,filterable:"all",editable:!0,allowLocalEdits:!0})),acf.isset(wp,"media","controller","EditImage")&&t.states.push(new wp.media.controller.EditImage)},addFrameEvents:function(t,e){t.on("open",function(){this.$el.closest(".media-modal").addClass("acf-media-modal -"+this.acf.get("mode"))},t),t.on("content:render:edit-image",function(){var t=this.state().get("image"),e=new wp.media.view.EditImage({model:t,controller:this}).render();this.content.set(e),e.loadEditor()},t),t.on("select",function(){var e=t.state().get("selection");e&&e.each(function(e,i){t.acf.get("select").apply(t.acf,[e,i])})}),t.on("close",function(){setTimeout(function(){t.acf.get("close").apply(t.acf),t.acf.remove()},1)})}});acf.models.SelectMediaPopup=n.extend({id:"SelectMediaPopup",setup:function(t){t.button||(t.button=acf._x("Select","verb")),n.prototype.setup.apply(this,arguments)},addFrameEvents:function(t,e){acf.isset(_wpPluploadSettings,"defaults","multipart_params")&&(_wpPluploadSettings.defaults.multipart_params._acfuploader=this.get("field"),t.on("open",function(){delete _wpPluploadSettings.defaults.multipart_params._acfuploader})),t.on("content:activate:browse",function(){var e=!1;try{e=t.content.get().toolbar}catch(t){return void console.log(t)}t.acf.customizeFilters.apply(t.acf,[e])}),n.prototype.addFrameEvents.apply(this,arguments)},customizeFilters:function(e){var i=e.get("filters"),n;("image"==this.get("type")&&(i.filters.all.text=acf.__("All images"),delete i.filters.audio,delete i.filters.video,delete i.filters.image,t.each(i.filters,function(t,e){e.props.type=e.props.type||"image"})),this.get("allowedTypes"))&&this.get("allowedTypes").split(" ").join("").split(".").join("").split(",").map(function(t){var e=acf.getMimeType(t);if(e){var n={text:e,props:{status:null,type:e,uploadedTo:null,orderby:"date",order:"DESC"},priority:20};i.filters[e]=n}});if("uploadedTo"===this.get("library")){var a=this.frame.options.library.uploadedTo;delete i.filters.unattached,delete i.filters.uploaded,t.each(i.filters,function(t,e){e.text+=" ("+acf.__("Uploaded to this post")+")",e.props.uploadedTo=a})}var r=this.get("field"),o;t.each(i.filters,function(t,e){e.props._acfuploader=r}),e.get("search").model.attributes._acfuploader=r,i.renderFilters&&i.renderFilters()}}),acf.models.EditMediaPopup=n.extend({id:"SelectMediaPopup",setup:function(t){t.button||(t.button=acf._x("Update","verb")),n.prototype.setup.apply(this,arguments)},addFrameEvents:function(t,e){t.on("open",function(){this.$el.closest(".media-modal").addClass("acf-expanded"),"browse"!=this.content.mode()&&this.content.mode("browse");var e,i=this.state().get("selection"),n=wp.media.attachment(t.acf.get("attachment"));i.add(n)},t),n.prototype.addFrameEvents.apply(this,arguments)}});var a=new acf.Model({id:"customizePrototypes",wait:"ready",initialize:function(){if(acf.isset(window,"wp","media","view")){var t=i();t&&acf.isset(wp,"media","view","settings","post")&&(wp.media.view.settings.post.id=t),this.customizeAttachmentsButton(),this.customizeAttachmentsRouter(),this.customizeAttachmentFilters(),this.customizeAttachmentCompat(),this.customizeAttachmentLibrary()}},customizeAttachmentsButton:function(){if(acf.isset(wp,"media","view","Button")){var t=wp.media.view.Button;wp.media.view.Button=t.extend({initialize:function(){var t=_.defaults(this.options,this.defaults);this.model=new Backbone.Model(t),this.listenTo(this.model,"change",this.render)}})}},customizeAttachmentsRouter:function(){if(acf.isset(wp,"media","view","Router")){var e=wp.media.view.Router;wp.media.view.Router=e.extend({addExpand:function(){var e=t(['<a href="#" class="acf-expand-details">','<span class="is-closed"><span class="acf-icon -left small grey"></span>'+acf.__("Expand Details")+"</span>",'<span class="is-open"><span class="acf-icon -right small grey"></span>'+acf.__("Collapse Details")+"</span>","</a>"].join(""));e.on("click",function(e){e.preventDefault();var i=t(this).closest(".media-modal");i.hasClass("acf-expanded")?i.removeClass("acf-expanded"):i.addClass("acf-expanded")}),this.$el.append(e)},initialize:function(){return e.prototype.initialize.apply(this,arguments),this.addExpand(),this}})}},customizeAttachmentFilters:function(){var e;acf.isset(wp,"media","view","AttachmentFilters","All")&&(wp.media.view.AttachmentFilters.All.prototype.renderFilters=function(){this.$el.html(_.chain(this.filters).map(function(e,i){return{el:t("<option></option>").val(i).html(e.text)[0],priority:e.priority||50}},this).sortBy("priority").pluck("el").value())})},customizeAttachmentCompat:function(){if(acf.isset(wp,"media","view","AttachmentCompat")){var e=wp.media.view.AttachmentCompat,i=!1;wp.media.view.AttachmentCompat=e.extend({render:function(){return this.rendered?this:(e.prototype.render.apply(this,arguments),this.$("#acf-form-data").length?(clearTimeout(i),i=setTimeout(t.proxy(function(){this.rendered=!0,acf.doAction("append",this.$el)},this),50),this):this)},save:function(t){var e={};t&&t.preventDefault(),e=acf.serializeForAjax(this.$el),this.controller.trigger("attachment:compat:waiting",["waiting"]),this.model.saveCompat(e).always(_.bind(this.postSave,this))}})}},customizeAttachmentLibrary:function(){if(acf.isset(wp,"media","view","Attachment","Library")){var t=wp.media.view.Attachment.Library;wp.media.view.Attachment.Library=t.extend({render:function(){var e=acf.isget(this,"controller","acf"),i=acf.isget(this,"model","attributes");if(e&&i){i.acf_errors&&this.$el.addClass("acf-disabled");var n=e.get("selected");n&&n.indexOf(i.id)>-1&&this.$el.addClass("acf-selected")}return t.prototype.render.apply(this,arguments)},toggleSelection:function(e){var i=this.collection,n=this.options.selection,a=this.model,r=n.single(),o=this.controller,s=acf.isget(this,"model","attributes","acf_errors"),c=o.$el.find(".media-frame-content .media-sidebar");if(c.children(".acf-selection-error").remove(),c.children().removeClass("acf-hidden"),o&&s){var l=acf.isget(this,"model","attributes","filename");return c.children().addClass("acf-hidden"),c.prepend(['<div class="acf-selection-error">','<span class="selection-error-label">'+acf.__("Restricted")+"</span>",'<span class="selection-error-filename">'+l+"</span>",'<span class="selection-error-message">'+s+"</span>","</div>"].join("")),n.reset(),void n.single(a)}return t.prototype.toggleSelection.apply(this,arguments)}})}}})}(jQuery),function(t,e){acf.screen=new acf.Model({active:!0,xhr:!1,timeout:!1,wait:"load",events:{"change #page_template":"onChange","change #parent_id":"onChange","change #post-formats-select":"onChange","change .categorychecklist":"onChange","change .tagsdiv":"onChange",'change .acf-taxonomy-field[data-save="1"]':"onChange","change #product-type":"onChange"},isPost:function(){return"post"===acf.get("screen")},isUser:function(){return"user"===acf.get("screen")},isTaxonomy:function(){return"taxonomy"===acf.get("screen")},isAttachment:function(){return"attachment"===acf.get("screen")},isNavMenu:function(){return"nav_menu"===acf.get("screen")},isWidget:function(){return"widget"===acf.get("screen")},isComment:function(){return"comment"===acf.get("screen")},getPageTemplate:function(){var e=t("#page_template");return e.length?e.val():null},getPageParent:function(e,i){var i;return(i=t("#parent_id")).length?i.val():null},getPageType:function(t,e){return this.getPageParent()?"child":"parent"},getPostType:function(){return t("#post_type").val()},getPostFormat:function(e,i){var i;if((i=t("#post-formats-select input:checked")).length){var n=i.val();return"0"==n?"standard":n}return null},getPostCoreTerms:function(){var e={},i=acf.serialize(t(".categorydiv, .tagsdiv"));for(var n in i.tax_input&&(e=i.tax_input),i.post_category&&(e.category=i.post_category),e)acf.isArray(e[n])||(e[n]=e[n].split(/,[\s]?/));return e},getPostTerms:function(){var t=this.getPostCoreTerms();for(var e in acf.getFields({type:"taxonomy"}).map(function(e){if(e.get("save")){var i=e.val(),n=e.get("taxonomy");i&&(t[n]=t[n]||[],i=acf.isArray(i)?i:[i],t[n]=t[n].concat(i))}}),null!==(productType=this.getProductType())&&(t.product_type=[productType]),t)t[e]=acf.uniqueArray(t[e]);return t},getProductType:function(){var e=t("#product-type");return e.length?e.val():null},check:function(){if("post"===acf.get("screen")){this.xhr&&this.xhr.abort();var e=acf.parseArgs(this.data,{action:"acf/ajax/check_screen",screen:acf.get("screen"),exists:[]});this.isPost()&&(e.post_id=acf.get("post_id")),null!==(postType=this.getPostType())&&(e.post_type=postType),null!==(pageTemplate=this.getPageTemplate())&&(e.page_template=pageTemplate),null!==(pageParent=this.getPageParent())&&(e.page_parent=pageParent),null!==(pageType=this.getPageType())&&(e.page_type=pageType),null!==(postFormat=this.getPostFormat())&&(e.post_format=postFormat),null!==(postTerms=this.getPostTerms())&&(e.post_terms=postTerms),acf.getPostboxes().map(function(t){e.exists.push(t.get("key"))}),e=acf.applyFilters("check_screen_args",e);var i=function(t){acf.isAjaxSuccess(t)&&("post"==acf.get("screen")?this.renderPostScreen(t.data):"user"==acf.get("screen")&&this.renderUserScreen(t.data)),acf.doAction("check_screen_complete",t.data,e)};this.xhr=t.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(e),type:"post",dataType:"json",context:this,success:i})}},onChange:function(t,e){this.setTimeout(this.check,1)},renderPostScreen:function(e){var i=[],n=function(e,i){var n=t._data(e[0]).events;for(var a in n)for(var r=0;r<n[a].length;r++)i.on(a,n[a][r].handler)},a=function(e,i){var n=i.indexOf(e);if(-1==n)return!1;for(var a=n-1;a>=0;a--)if(t("#"+i[a]).length)return t("#"+i[a]).after(t("#"+e));for(var a=n+1;a<i.length;a++)if(t("#"+i[a]).length)return t("#"+i[a]).before(t("#"+e));return!1};e.results.map(function(r,o){var s=acf.getPostbox(r.id);if(!s){var c=t(['<div id="'+r.id+'" class="postbox">','<button type="button" class="handlediv" aria-expanded="false">','<span class="screen-reader-text">Toggle panel: '+r.title+"</span>",'<span class="toggle-indicator" aria-hidden="true"></span>',"</button>",'<h2 class="hndle ui-sortable-handle">',"<span>"+r.title+"</span>","</h2>",'<div class="inside">',r.html,"</div>","</div>"].join(""));if(t("#adv-settings").length){var l=t("#adv-settings .metabox-prefs"),u=t(['<label for="'+r.id+'-hide">','<input class="hide-postbox-tog" name="'+r.id+'-hide" type="checkbox" id="'+r.id+'-hide" value="'+r.id+'" checked="checked">'," "+r.title,"</label>"].join(""));n(l.find("input").first(),u.find("input")),l.append(u)}n(t(".postbox .handlediv").first(),c.children(".handlediv")),n(t(".postbox .hndle").first(),c.children(".hndle")),"acf_after_title"==r.position&&(r.position="normal"),"side"===r.position?t("#"+r.position+"-sortables").append(c):t("#"+r.position+"-sortables").prepend(c);var d=[];if(e.results.map(function(e){r.position===e.position&&t("#"+r.position+"-sortables #"+e.id).length&&d.push(e.id)}),a(r.id,d),e.sorted)for(var f in e.sorted){var d=e.sorted[f].split(",");if(a(r.id,d))break}s=acf.newPostbox(r),acf.doAction("append",c),acf.doAction("append_postbox",s)}s.showEnable(),acf.doAction("show_postbox",s),i.push(r.id)}),acf.getPostboxes().map(function(t){-1===i.indexOf(t.get("id"))&&(t.hideDisable(),acf.doAction("hide_postbox",t))}),t("#acf-style").html(e.style)},renderUserScreen:function(t){}});var i=new acf.Model({wait:"load",initialize:function(){acf.isGutenberg()&&(wp.data.subscribe(this.proxy(this.onChange)),acf.screen.getPageTemplate=this.getPageTemplate,acf.screen.getPageParent=this.getPageParent,acf.screen.getPostType=this.getPostType,acf.screen.getPostFormat=this.getPostFormat,acf.screen.getPostCoreTerms=this.getPostCoreTerms,acf.unload.disable())},onChange:function(){var t=wp.data.select("core/editor").getPostEdits(),e=["template","parent","format"],i;(wp.data.select("core").getTaxonomies()||[]).map(function(t){e.push(t.rest_base)}),(e=e.filter(this.proxy(function(e){return void 0!==t[e]&&t[e]!==this.get(e)}))).length&&this.triggerChange(t)},triggerChange:function(t){void 0!==t&&(this.data=t),acf.screen.check()},getPageTemplate:function(){return wp.data.select("core/editor").getEditedPostAttribute("template")},getPageParent:function(t,e){return wp.data.select("core/editor").getEditedPostAttribute("parent")},getPostType:function(){return wp.data.select("core/editor").getEditedPostAttribute("type")},getPostFormat:function(t,e){return wp.data.select("core/editor").getEditedPostAttribute("format")},getPostCoreTerms:function(){var t={},e;return(wp.data.select("core").getTaxonomies()||[]).map(function(e){var i=wp.data.select("core/editor").getEditedPostAttribute(e.rest_base);i&&(t[e.slug]=i)}),t}});acf.screen.refreshAvailableMetaBoxesPerLocation=function(){var t=wp.data.select("core/edit-post"),e=wp.data.dispatch("core/edit-post"),i={};t.getActiveMetaBoxLocations().map(function(e){i[e]=t.getMetaBoxesPerLocation(e)});var n=[];for(var a in i)n=n.concat(i[a].map(function(t){return t.id}));acf.getPostboxes().map(function(t){if(-1===n.indexOf(t.get("id"))){var e=t.$el.closest("form").attr("class").replace("metabox-location-","");i[e]=i[e]||[],i[e].push({id:t.get("id"),title:t.get("title")})}}),e.setAvailableMetaBoxesPerLocation(i)}}(jQuery),function(t,e){function i(){return acf.isset(window,"jQuery","fn","select2","amd")?4:!!acf.isset(window,"Select2")&&3}acf.newSelect2=function(t,e){if(e=acf.parseArgs(e,{allowNull:!1,placeholder:"",multiple:!1,field:!1,ajax:!1,ajaxAction:"",ajaxData:function(t){return t},ajaxResults:function(t){return t}}),4==i())var n=new a(t,e);else var n=new r(t,e);return acf.doAction("new_select2",n),n};var n=acf.Model.extend({setup:function(e,i){t.extend(this.data,i),this.$el=e},initialize:function(){},selectOption:function(t){var e=this.getOption(t);e.prop("selected")||e.prop("selected",!0).trigger("change")},unselectOption:function(t){var e=this.getOption(t);e.prop("selected")&&e.prop("selected",!1).trigger("change")},getOption:function(t){return this.$('option[value="'+t+'"]')},addOption:function(e){e=acf.parseArgs(e,{id:"",text:"",selected:!1});var i=this.getOption(e.id);return i.length||((i=t("<option></option>")).html(e.text),i.attr("value",e.id),i.prop("selected",e.selected),this.$el.append(i)),i},getValue:function(){var e=[],i=this.$el.find("option:selected");return i.exists()?((i=i.sort(function(t,e){return+t.getAttribute("data-i")-+e.getAttribute("data-i")})).each(function(){var i=t(this);e.push({$el:i,id:i.attr("value"),text:i.text()})}),e):e},mergeOptions:function(){},getChoices:function(){var e=function(i){var n=[];return i.children().each(function(){var i=t(this);i.is("optgroup")?n.push({text:i.attr("label"),children:e(i)}):n.push({id:i.attr("value"),text:i.text()})}),n};return e(this.$el)},decodeChoices:function(t){var e=function(t){return t.map(function(t){return t.text=acf.decode(t.text),t.children&&(t.children=e(t.children)),t}),t};return e(t)},getAjaxData:function(t){var e={action:this.get("ajaxAction"),s:t.term||"",paged:t.page||1},i=this.get("field");i&&(e.field_key=i.get("key"));var n=this.get("ajaxData");return n&&(e=n.apply(this,[e,t])),e=acf.applyFilters("select2_ajax_data",e,this.data,this.$el,i||!1,this),acf.prepareForAjax(e)},getAjaxResults:function(t,e){(t=acf.parseArgs(t,{results:!1,more:!1})).results&&(t.results=this.decodeChoices(t.results));var i=this.get("ajaxResults");return i&&(t=i.apply(this,[t,e])),t=acf.applyFilters("select2_ajax_results",t,e,this)},processAjaxResults:function(e,i){var e;return(e=this.getAjaxResults(e,i)).more&&(e.pagination={more:!0}),setTimeout(t.proxy(this.mergeOptions,this),1),e},destroy:function(){this.$el.data("select2")&&this.$el.select2("destroy"),this.$el.siblings(".select2-container").remove()}}),a=n.extend({initialize:function(){var e=this.$el,i={width:"100%",
|
4 |
-
allowClear:this.get("allowNull"),placeholder:this.get("placeholder"),multiple:this.get("multiple"),data:[],escapeMarkup:function(t){return t}};i.multiple&&this.getValue().map(function(t){t.$el.detach().appendTo(e)}),e.removeData("ajax"),e.removeAttr("data-ajax"),this.get("ajax")&&(i.ajax={url:acf.get("ajaxurl"),delay:250,dataType:"json",type:"post",cache:!1,data:t.proxy(this.getAjaxData,this),processResults:t.proxy(this.processAjaxResults,this)});var n=this.get("field");i=acf.applyFilters("select2_args",i,e,this.data,n||!1,this),e.select2(i);var a=e.next(".select2-container");if(i.multiple){var r=a.find("ul");r.sortable({stop:function(i){r.find(".select2-selection__choice").each(function(){var i;t(t(this).data("data").element).detach().appendTo(e)}),e.trigger("change")}}),e.on("select2:select",this.proxy(function(t){this.getOption(t.params.data.id).detach().appendTo(this.$el)}))}a.addClass("-acf"),acf.doAction("select2_init",e,i,this.data,n||!1,this)},mergeOptions:function(){var e=!1,i=!1;t('.select2-results__option[role="group"]').each(function(){var n=t(this).children("ul"),a=t(this).children("strong");if(i&&i.text()===a.text())return e.append(n.children()),void t(this).remove();e=n,i=a})}}),r=n.extend({initialize:function(){var e=this.$el,i=this.getValue(),n=this.get("multiple"),a={width:"100%",allowClear:this.get("allowNull"),placeholder:this.get("placeholder"),separator:"||",multiple:this.get("multiple"),data:this.getChoices(),escapeMarkup:function(t){return t},dropdownCss:{"z-index":"999999999"},initSelection:function(t,e){e(n?i:i.shift())}},r=e.siblings("input");r.length||(r=t('<input type="hidden" />'),e.before(r)),inputValue=i.map(function(t){return t.id}).join("||"),r.val(inputValue),a.multiple&&i.map(function(t){t.$el.detach().appendTo(e)}),a.allowClear&&(a.data=a.data.filter(function(t){return""!==t.id})),e.removeData("ajax"),e.removeAttr("data-ajax"),this.get("ajax")&&(a.ajax={url:acf.get("ajaxurl"),quietMillis:250,dataType:"json",type:"post",cache:!1,data:t.proxy(this.getAjaxData,this),results:t.proxy(this.processAjaxResults,this)});var o=this.get("field");a=acf.applyFilters("select2_args",a,e,this.data,o||!1,this),r.select2(a);var s=r.select2("container"),c=t.proxy(this.getOption,this);if(a.multiple){var l=s.find("ul");l.sortable({stop:function(){l.find(".select2-search-choice").each(function(){var i=t(this).data("select2Data"),n;c(i.id).detach().appendTo(e)}),e.trigger("change")}})}r.on("select2-selecting",function(i){var n=i.choice,a=c(n.id);a.length||(a=t('<option value="'+n.id+'">'+n.text+"</option>")),a.detach().appendTo(e)}),s.addClass("-acf"),acf.doAction("select2_init",e,a,this.data,o||!1,this),r.on("change",function(){var t=r.val();t.indexOf("||")&&(t=t.split("||")),e.val(t).trigger("change")}),e.hide()},mergeOptions:function(){var e=!1,i=!1;t("#select2-drop .select2-result-with-children").each(function(){var n=t(this).children("ul"),a=t(this).children(".select2-result-label");if(i&&i.text()===a.text())return i.append(n.children()),void t(this).remove();e=n,i=a})},getAjaxData:function(t,e){var i={term:t,page:e};return n.prototype.getAjaxData.apply(this,[i])}}),o=new acf.Model({priority:5,wait:"prepare",initialize:function(){var t=acf.get("locale"),e=acf.get("rtl"),n=acf.get("select2L10n"),a=i();return!!n&&(0!==t.indexOf("en")&&void(4==a?this.addTranslations4():3==a&&this.addTranslations3()))},addTranslations4:function(){var t=acf.get("select2L10n"),e=acf.get("locale");e=e.replace("_","-");var i={errorLoading:function(){return t.load_fail},inputTooLong:function(e){var i=e.input.length-e.maximum;return i>1?t.input_too_long_n.replace("%d",i):t.input_too_long_1},inputTooShort:function(e){var i=e.minimum-e.input.length;return i>1?t.input_too_short_n.replace("%d",i):t.input_too_short_1},loadingMore:function(){return t.load_more},maximumSelected:function(e){var i=e.maximum;return i>1?t.selection_too_long_n.replace("%d",i):t.selection_too_long_1},noResults:function(){return t.matches_0},searching:function(){return t.searching}};jQuery.fn.select2.amd.define("select2/i18n/"+e,[],function(){return i})},addTranslations3:function(){var e=acf.get("select2L10n"),i=acf.get("locale");i=i.replace("_","-");var n={formatMatches:function(t){return t>1?e.matches_n.replace("%d",t):e.matches_1},formatNoMatches:function(){return e.matches_0},formatAjaxError:function(){return e.load_fail},formatInputTooShort:function(t,i){var n=i-t.length;return n>1?e.input_too_short_n.replace("%d",n):e.input_too_short_1},formatInputTooLong:function(t,i){var n=t.length-i;return n>1?e.input_too_long_n.replace("%d",n):e.input_too_long_1},formatSelectionTooBig:function(t){return t>1?e.selection_too_long_n.replace("%d",t):e.selection_too_long_1},formatLoadMore:function(){return e.load_more},formatSearching:function(){return e.searching}};t.fn.select2.locales=t.fn.select2.locales||{},t.fn.select2.locales[i]=n,t.extend(t.fn.select2.defaults,n)}})}(jQuery),function(t,e){acf.tinymce={defaults:function(){return"undefined"!=typeof tinyMCEPreInit&&{tinymce:tinyMCEPreInit.mceInit.acf_content,quicktags:tinyMCEPreInit.qtInit.acf_content};var t},initialize:function(t,e){(e=acf.parseArgs(e,{tinymce:!0,quicktags:!0,toolbar:"full",mode:"visual",field:!1})).tinymce&&this.initializeTinymce(t,e),e.quicktags&&this.initializeQuicktags(t,e)},initializeTinymce:function(e,i){var n=t("#"+e),a=this.defaults(),r=acf.get("toolbars"),o=i.field||!1,s=o.$el||!1;if("undefined"==typeof tinymce)return!1;if(!a)return!1;if(tinymce.get(e))return this.enable(e);var c=t.extend({},a.tinymce,i.tinymce);c.id=e,c.selector="#"+e;var l=i.toolbar;if(l&&r&&r[l])for(var u=1;u<=4;u++)c["toolbar"+u]=r[l][u]||"";if(c.setup=function(t){t.on("change",function(e){t.save(),n.trigger("change")}),t.on("mouseup",function(t){var e=new MouseEvent("mouseup");window.dispatchEvent(e)})},c.wp_autoresize_on=!1,c.tadv_noautop||(c.wpautop=!0),c=acf.applyFilters("wysiwyg_tinymce_settings",c,e,o),tinyMCEPreInit.mceInit[e]=c,"visual"==i.mode){var d=tinymce.init(c),f=tinymce.get(e);if(!f)return!1;f.acf=i.field,acf.doAction("wysiwyg_tinymce_init",f,f.id,c,o)}},initializeQuicktags:function(e,i){var n=this.defaults();if("undefined"==typeof quicktags)return!1;if(!n)return!1;var a=t.extend({},n.quicktags,i.quicktags);a.id=e;var r=i.field||!1,o=r.$el||!1;a=acf.applyFilters("wysiwyg_quicktags_settings",a,a.id,r),tinyMCEPreInit.qtInit[e]=a;var s=quicktags(a);if(!s)return!1;this.buildQuicktags(s),acf.doAction("wysiwyg_quicktags_init",s,s.id,a,r)},buildQuicktags:function(t){var e,i,n,a,r,t,o,s,c,l,u=",strong,em,link,block,del,ins,img,ul,ol,li,code,more,close,";for(s in e=t.canvas,i=t.name,n=t.settings,r="",a={},c="",l=t.id,n.buttons&&(c=","+n.buttons+","),edButtons)edButtons[s]&&(o=edButtons[s].id,c&&-1!==u.indexOf(","+o+",")&&-1===c.indexOf(","+o+",")||edButtons[s].instance&&edButtons[s].instance!==l||(a[o]=edButtons[s],edButtons[s].html&&(r+=edButtons[s].html(i+"_"))));c&&-1!==c.indexOf(",dfw,")&&(a.dfw=new QTags.DFWButton,r+=a.dfw.html(i+"_")),"rtl"===document.getElementsByTagName("html")[0].dir&&(a.textdirection=new QTags.TextDirectionButton,r+=a.textdirection.html(i+"_")),t.toolbar.innerHTML=r,t.theButtons=a,"undefined"!=typeof jQuery&&jQuery(document).triggerHandler("quicktags-init",[t])},disable:function(t){this.destroyTinymce(t)},remove:function(t){this.destroyTinymce(t)},destroy:function(t){this.destroyTinymce(t)},destroyTinymce:function(t){if("undefined"==typeof tinymce)return!1;var e=tinymce.get(t);return!!e&&(e.save(),e.destroy(),!0)},enable:function(t){this.enableTinymce(t)},enableTinymce:function(t){return"undefined"!=typeof switchEditors&&(void 0!==tinyMCEPreInit.mceInit[t]&&(switchEditors.go(t,"tmce"),!0))}};var i=new acf.Model({priority:5,actions:{prepare:"onPrepare",ready:"onReady"},onPrepare:function(){var e=t("#acf-hidden-wp-editor");e.exists()&&e.appendTo("body")},onReady:function(){acf.isset(window,"wp","oldEditor")&&(wp.editor.autop=wp.oldEditor.autop,wp.editor.removep=wp.oldEditor.removep),acf.isset(window,"tinymce","on")&&tinymce.on("AddEditor",function(t){var e=t.editor;"acf"===e.id.substr(0,3)&&(e=tinymce.editors.content||e,tinymce.activeEditor=e,wpActiveEditor=e.id)})}})}(jQuery),function(t,e){var i=acf.Model.extend({id:"Validator",data:{errors:[],notice:null,status:""},events:{"changed:status":"onChangeStatus"},addErrors:function(t){t.map(this.addError,this)},addError:function(t){this.data.errors.push(t)},hasErrors:function(){return this.data.errors.length},clearErrors:function(){return this.data.errors=[]},getErrors:function(){return this.data.errors},getFieldErrors:function(){var t=[],e=[];return this.getErrors().map(function(i){if(i.input){var n=e.indexOf(i.input);n>-1?t[n]=i:(t.push(i),e.push(i.input))}}),t},getGlobalErrors:function(){return this.getErrors().filter(function(t){return!t.input})},showErrors:function(){if(this.hasErrors()){var e=this.getFieldErrors(),i=this.getGlobalErrors(),n=0,a=!1;e.map(function(t){var e=this.$('[name="'+t.input+'"]').first();if(e.length||(e=this.$('[name^="'+t.input+'"]').first()),e.length){n++;var i=acf.getClosestField(e);i.showError(t.message),a||(a=i.$el)}},this);var r=acf.__("Validation failed");if(i.map(function(t){r+=". "+t.message}),1==n?r+=". "+acf.__("1 field requires attention"):n>1&&(r+=". "+acf.__("%d fields require attention").replace("%d",n)),this.has("notice"))this.get("notice").update({type:"error",text:r});else{var o=acf.newNotice({type:"error",text:r,target:this.$el});this.set("notice",o)}a||(a=this.get("notice").$el),setTimeout(function(){t("html, body").animate({scrollTop:a.offset().top-t(window).height()/2},500)},10)}},onChangeStatus:function(t,e,i,n){this.$el.removeClass("is-"+n).addClass("is-"+i)},validate:function(e){if(e=acf.parseArgs(e,{event:!1,reset:!1,loading:function(){},complete:function(){},failure:function(){},success:function(t){t.submit()}}),"valid"==this.get("status"))return!0;if("validating"==this.get("status"))return!1;if(!this.$(".acf-field").length)return!0;if(e.event){var i=t.Event(null,e.event);e.success=function(){acf.enableSubmit(t(i.target)).trigger(i)}}acf.doAction("validation_begin",this.$el),acf.lockForm(this.$el),e.loading(this.$el,this),this.set("status","validating");var n=function(t){if(acf.isAjaxSuccess(t)){var e=acf.applyFilters("validation_complete",t.data,this.$el,this);e.valid||this.addErrors(e.errors)}},a=function(){acf.unlockForm(this.$el),this.hasErrors()?(this.set("status","invalid"),acf.doAction("validation_failure",this.$el,this),this.showErrors(),e.failure(this.$el,this)):(this.set("status","valid"),this.has("notice")&&this.get("notice").update({type:"success",text:acf.__("Validation successful"),timeout:1e3}),acf.doAction("validation_success",this.$el,this),acf.doAction("submit",this.$el),e.success(this.$el,this),acf.lockForm(this.$el),e.reset&&this.reset()),e.complete(this.$el,this),this.clearErrors()},r=acf.serialize(this.$el);return r.action="acf/validate_save_post",t.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(r),type:"post",dataType:"json",context:this,success:n,complete:a}),!1},setup:function(t){this.$el=t},reset:function(){this.set("errors",[]),this.set("notice",null),this.set("status",""),acf.unlockForm(this.$el)}}),n=function(t){var e=t.data("acf");return e||(e=new i(t)),e};acf.validateForm=function(t){return n(t.form).validate(t)},acf.enableSubmit=function(t){return t.removeClass("disabled")},acf.disableSubmit=function(t){return t.addClass("disabled")},acf.showSpinner=function(t){return t.addClass("is-active"),t.css("display","inline-block"),t},acf.hideSpinner=function(t){return t.removeClass("is-active"),t.css("display","none"),t},acf.lockForm=function(t){var e=a(t),i=e.find('.button, [type="submit"]'),n=e.find(".spinner, .acf-spinner");return acf.hideSpinner(n),acf.disableSubmit(i),acf.showSpinner(n.last()),t},acf.unlockForm=function(t){var e=a(t),i=e.find('.button, [type="submit"]'),n=e.find(".spinner, .acf-spinner");return acf.enableSubmit(i),acf.hideSpinner(n),t};var a=function(t){var e,e,e,e;return(e=t.find("#submitdiv")).length?e:(e=t.find("#submitpost")).length?e:(e=t.find("p.submit").last()).length?e:(e=t.find(".acf-form-submit")).length?e:t};acf.validation=new acf.Model({id:"validation",active:!0,wait:"prepare",actions:{ready:"addInputEvents",append:"addInputEvents"},events:{'click input[type="submit"]':"onClickSubmit",'click button[type="submit"]':"onClickSubmit","click #save-post":"onClickSave","submit form#post":"onSubmitPost","submit form":"onSubmit"},initialize:function(){acf.get("validation")||(this.active=!1,this.actions={},this.events={})},enable:function(){this.active=!0},disable:function(){this.active=!1},reset:function(t){n(t).reset()},addInputEvents:function(e){if("safari"!==acf.get("browser")){var i=t(".acf-field [name]",e);i.length&&this.on(i,"invalid","onInvalid")}},onInvalid:function(t,e){t.preventDefault();var i=e.closest("form");i.length&&(n(i).addError({input:e.attr("name"),message:t.target.validationMessage}),i.submit())},onClickSubmit:function(t,e){this.set("originalEvent",t)},onClickSave:function(t,e){this.set("ignore",!0)},onClickSubmitGutenberg:function(e,i){var n;acf.validateForm({form:t("#editor"),event:e,reset:!0,failure:function(t,e){var i=e.get("notice").$el;i.appendTo(".components-notice-list"),i.find(".acf-notice-dismiss").removeClass("small")}})||(e.preventDefault(),e.stopImmediatePropagation())},onSubmitPost:function(e,i){"dopreview"===t("input#wp-preview").val()&&(this.set("ignore",!0),acf.unlockForm(i))},onSubmit:function(t,e){if(!this.active||this.get("ignore")||t.isDefaultPrevented())return this.allowSubmit();var i;acf.validateForm({form:e,event:this.get("originalEvent")})||t.preventDefault()},allowSubmit:function(){return this.set("ignore",!1),this.set("originalEvent",!1),!0}})}(jQuery),function(t,e){var i=new acf.Model({priority:90,initialize:function(){this.refresh=acf.debounce(this.refresh,0)},actions:{new_field:"refresh",show_field:"refresh",hide_field:"refresh",remove_field:"refresh",unmount_field:"refresh",remount_field:"refresh"},refresh:function(){acf.doAction("refresh"),t(window).trigger("acfrefresh")}}),n=new acf.Model({priority:1,actions:{sortstart:"onSortstart",sortstop:"onSortstop"},onSortstart:function(t){acf.doAction("unmount",t)},onSortstop:function(t){acf.doAction("remount",t)}}),a=new acf.Model({actions:{sortstart:"onSortstart"},onSortstart:function(e,i){e.is("tr")&&(i.html('<td style="padding:0;" colspan="'+i.children().length+'"></td>'),e.addClass("acf-sortable-tr-helper"),e.children().each(function(){t(this).width(t(this).width())}),i.height(e.height()+"px"),e.removeClass("acf-sortable-tr-helper"))}}),r=new acf.Model({actions:{after_duplicate:"onAfterDuplicate"},onAfterDuplicate:function(e,i){var n=[];e.find("select").each(function(e){n.push(t(this).val())}),i.find("select").each(function(e){t(this).val(n[e])})}}),o=new acf.Model({id:"tableHelper",priority:20,actions:{refresh:"renderTables"},renderTables:function(e){var i=this;t(".acf-table:visible").each(function(){i.renderTable(t(this))})},renderTable:function(e){var i=e.find("> thead > tr:visible > th[data-key]"),n=e.find("> tbody > tr:visible > td[data-key]");if(!i.length||!n.length)return!1;i.each(function(e){var i=t(this),a=i.data("key"),r=n.filter('[data-key="'+a+'"]'),o=r.filter(".acf-hidden");r.removeClass("acf-empty"),r.length===o.length?acf.hide(i):(acf.show(i),o.addClass("acf-empty"))}),i.css("width","auto"),i=i.not(".acf-hidden");var a=100,r=i.length,o;i.filter("[data-width]").each(function(){var e=t(this).data("width");t(this).css("width",e+"%"),a-=e});var s=i.not("[data-width]");if(s.length){var c=a/s.length;s.css("width",c+"%"),a=0}a>0&&i.last().css("width","auto"),n.filter(".-collapsed-target").each(function(){var e=t(this);e.parent().hasClass("-collapsed")?e.attr("colspan",i.length):e.removeAttr("colspan")})}}),s=new acf.Model({id:"fieldsHelper",priority:30,actions:{refresh:"renderGroups"},renderGroups:function(){var e=this;t(".acf-fields:visible").each(function(){e.renderGroup(t(this))})},renderGroup:function(e){var i=0,n=0,a=t(),r=e.children(".acf-field[data-width]:visible");return!!r.length&&(e.hasClass("-left")?(r.removeAttr("data-width"),r.css("width","auto"),!1):(r.removeClass("-r0 -c0").css({"min-height":0}),r.each(function(e){var r=t(this),o=r.position(),s=Math.ceil(o.top),c=Math.ceil(o.left);a.length&&s>i&&(a.css({"min-height":n+"px"}),o=r.position(),s=Math.ceil(o.top),c=Math.ceil(o.left),i=0,n=0,a=t()),acf.get("rtl")&&(c=Math.ceil(r.parent().width()-(o.left+r.outerWidth()))),0==s?r.addClass("-r0"):0==c&&r.addClass("-c0");var l=Math.ceil(r.outerHeight())+1;n=Math.max(n,l),i=Math.max(i,s),a=a.add(r)}),void(a.length&&a.css({"min-height":n+"px"}))))}})}(jQuery),function(t,e){acf.newCompatibility=function(t,e){return(e=e||{}).__proto__=t.__proto__,t.__proto__=e,t.compatibility=e,e},acf.getCompatibility=function(t){return t.compatibility||null};var i=acf.newCompatibility(acf,{l10n:{},o:{},fields:{},update:acf.set,add_action:acf.addAction,remove_action:acf.removeAction,do_action:acf.doAction,add_filter:acf.addFilter,remove_filter:acf.removeFilter,apply_filters:acf.applyFilters,parse_args:acf.parseArgs,disable_el:acf.disable,disable_form:acf.disable,enable_el:acf.enable,enable_form:acf.enable,update_user_setting:acf.updateUserSetting,prepare_for_ajax:acf.prepareForAjax,is_ajax_success:acf.isAjaxSuccess,remove_el:acf.remove,remove_tr:acf.remove,str_replace:acf.strReplace,render_select:acf.renderSelect,get_uniqid:acf.uniqid,serialize_form:acf.serialize,esc_html:acf.strEscape,str_sanitize:acf.strSanitize});i._e=function(t,e){t=t||"";var i=(e=e||"")?t+"."+e:t,n={"image.select":"Select Image","image.edit":"Edit Image","image.update":"Update Image"};if(n[i])return acf.__(n[i]);var a=this.l10n[t]||"";return e&&(a=a[e]||""),a},i.get_selector=function(e){var i=".acf-field";if(!e)return i;if(t.isPlainObject(e)){if(t.isEmptyObject(e))return i;for(var n in e){e=e[n];break}}return i+="-"+e,i=acf.strReplace("_","-",i),i=acf.strReplace("field-field-","field-",i)},i.get_fields=function(t,e,i){var n={is:t||"",parent:e||!1,suppressFilters:i||!1};return n.is&&(n.is=this.get_selector(n.is)),acf.findFields(n)},i.get_field=function(t,e){var i=this.get_fields.apply(this,arguments);return!!i.length&&i.first()},i.get_closest_field=function(t,e){return t.closest(this.get_selector(e))},i.get_field_wrap=function(t){return t.closest(this.get_selector())},i.get_field_key=function(t){return t.data("key")},i.get_field_type=function(t){return t.data("type")},i.get_data=function(t,e){return acf.parseArgs(t.data(),e)},i.maybe_get=function(t,e,i){void 0===i&&(i=null),keys=String(e).split(".");for(var n=0;n<keys.length;n++){if(!t.hasOwnProperty(keys[n]))return i;t=t[keys[n]]}return t};var n=function(t){return t instanceof acf.Field?t.$el:t},a=function(t){return acf.arrayArgs(t).map(n)},r=function(e){return function(){if(arguments.length)var i=a(arguments);else var i=[t(document)];return e.apply(this,i)}};i.add_action=function(t,e,n,a){var o=t.split(" "),s=o.length;if(s>1){for(var c=0;c<s;c++)t=o[c],i.add_action.apply(this,arguments);return this}var e=r(e);return acf.addAction.apply(this,arguments)},i.add_filter=function(t,e,i,n){var e=r(e);return acf.addFilter.apply(this,arguments)},i.model={actions:{},filters:{},events:{},extend:function(e){var i=t.extend({},this,e);return t.each(i.actions,function(t,e){i._add_action(t,e)}),t.each(i.filters,function(t,e){i._add_filter(t,e)}),t.each(i.events,function(t,e){i._add_event(t,e)}),i},_add_action:function(t,e){var i=this,n=t.split(" "),t=n[0]||"",a=n[1]||10;acf.add_action(t,this[e],a,this)},_add_filter:function(t,e){var i=this,n=t.split(" "),t=n[0]||"",a=n[1]||10;acf.add_filter(t,this[e],a,this)},_add_event:function(e,i){var n=this,a=e.indexOf(" "),r=a>0?e.substr(0,a):e,o=a>0?e.substr(a+1):"",s=function(e){e.$el=t(this),acf.field_group&&(e.$field=e.$el.closest(".acf-field-object")),"function"==typeof n.event&&(e=n.event(e)),n[i].apply(n,arguments)};o?t(document).on(r,o,s):t(document).on(r,s)},get:function(t,e){return e=e||null,void 0!==this[t]&&(e=this[t]),e},set:function(t,e){return this[t]=e,"function"==typeof this["_set_"+t]&&this["_set_"+t].apply(this),this}},i.field=acf.model.extend({type:"",o:{},$field:null,_add_action:function(t,e){var i=this;t=t+"_field/type="+i.type,acf.add_action(t,function(t){i.set("$field",t),i[e].apply(i,arguments)})},_add_filter:function(t,e){var i=this;t=t+"_field/type="+i.type,acf.add_filter(t,function(t){i.set("$field",t),i[e].apply(i,arguments)})},_add_event:function(e,i){var n=this,a=e.substr(0,e.indexOf(" ")),r=e.substr(e.indexOf(" ")+1),o=acf.get_selector(n.type);t(document).on(a,o+" "+r,function(e){var a=t(this),r=acf.get_closest_field(a,n.type);r.length&&(r.is(n.$field)||n.set("$field",r),e.$el=a,e.$field=r,n[i].apply(n,[e]))})},_set_$field:function(){"function"==typeof this.focus&&this.focus()},doFocus:function(t){return this.set("$field",t)}});var o=acf.newCompatibility(acf.validation,{remove_error:function(t){acf.getField(t).removeError()},add_warning:function(t,e){acf.getField(t).showNotice({text:e,type:"warning",timeout:1e3})},fetch:acf.validateForm,enableSubmit:acf.enableSubmit,disableSubmit:acf.disableSubmit,showSpinner:acf.showSpinner,hideSpinner:acf.hideSpinner,unlockForm:acf.unlockForm,lockForm:acf.lockForm});i.tooltip={tooltip:function(t,e){var i;return acf.newTooltip({text:t,target:e}).$el},temp:function(t,e){var i=acf.newTooltip({text:t,target:e,timeout:250})},confirm:function(t,e,i,n,a){var r=acf.newTooltip({confirm:!0,text:i,target:t,confirm:function(){e(!0)},cancel:function(){e(!1)}})},confirm_remove:function(t,e){var i=acf.newTooltip({confirmRemove:!0,target:t,confirm:function(){e(!0)},cancel:function(){e(!1)}})}},i.media=new acf.Model({activeFrame:!1,actions:{new_media_popup:"onNewMediaPopup"},frame:function(){return this.activeFrame},onNewMediaPopup:function(t){this.activeFrame=t.frame},popup:function(t){var e;return t.mime_types&&(t.allowedTypes=t.mime_types),t.id&&(t.attachment=t.id),acf.newMediaPopup(t).frame}}),i.select2={init:function(t,e,i){return e.allow_null&&(e.allowNull=e.allow_null),e.ajax_action&&(e.ajaxAction=e.ajax_action),i&&(e.field=acf.getField(i)),acf.newSelect2(t,e)},destroy:function(t){return acf.getInstance(t).destroy()}},i.postbox={render:function(t){return t.edit_url&&(t.editLink=t.edit_url),t.edit_title&&(t.editTitle=t.edit_title),acf.newPostbox(t)}},acf.newCompatibility(acf.screen,{update:function(){return this.set.apply(this,arguments)},fetch:acf.screen.check}),i.ajax=acf.screen}(jQuery);
|
1 |
+
!function(t,e){var i={};window.acf=i,i.data={},i.get=function(t){return this.data[t]||null},i.has=function(t){return null!==this.get(t)},i.set=function(t,e){return this.data[t]=e,this};var n=0;i.uniqueId=function(t){var e=++n+"";return t?t+e:e},i.uniqueArray=function(t){function e(t,e,i){return i.indexOf(t)===e}return t.filter(e)};var a="";i.uniqid=function(t,e){var i;void 0===t&&(t="");var n=function(t,e){return e<(t=parseInt(t,10).toString(16)).length?t.slice(t.length-e):e>t.length?Array(e-t.length+1).join("0")+t:t};return a||(a=Math.floor(123456789*Math.random())),a++,i=t,i+=n(parseInt((new Date).getTime()/1e3,10),8),i+=n(a,5),e&&(i+=(10*Math.random()).toFixed(8).toString()),i},i.strReplace=function(t,e,i){return i.split(t).join(e)},i.strCamelCase=function(t){return t=(t=t.replace(/[_-]/g," ")).replace(/(?:^\w|\b\w|\s+)/g,(function(t,e){return 0==+t?"":0==e?t.toLowerCase():t.toUpperCase()}))},i.strPascalCase=function(t){var e=i.strCamelCase(t);return e.charAt(0).toUpperCase()+e.slice(1)},i.strSlugify=function(t){return i.strReplace("_","-",t.toLowerCase())},i.strSanitize=function(t){var e={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","ß":"s","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Ĉ":"C","ĉ":"c","Ċ":"C","ċ":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"D","đ":"d","Ē":"E","ē":"e","Ĕ":"E","ĕ":"e","Ė":"E","ė":"e","Ę":"E","ę":"e","Ě":"E","ě":"e","Ĝ":"G","ĝ":"g","Ğ":"G","ğ":"g","Ġ":"G","ġ":"g","Ģ":"G","ģ":"g","Ĥ":"H","ĥ":"h","Ħ":"H","ħ":"h","Ĩ":"I","ĩ":"i","Ī":"I","ī":"i","Ĭ":"I","ĭ":"i","Į":"I","į":"i","İ":"I","ı":"i","IJ":"IJ","ij":"ij","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","Ĺ":"L","ĺ":"l","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ŀ":"L","ŀ":"l","Ł":"l","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","ʼn":"n","Ō":"O","ō":"o","Ŏ":"O","ŏ":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ŗ":"R","ŗ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ŝ":"S","ŝ":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ŧ":"T","ŧ":"t","Ũ":"U","ũ":"u","Ū":"U","ū":"u","Ŭ":"U","ŭ":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","ſ":"s","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Ǎ":"A","ǎ":"a","Ǐ":"I","ǐ":"i","Ǒ":"O","ǒ":"o","Ǔ":"U","ǔ":"u","Ǖ":"U","ǖ":"u","Ǘ":"U","ǘ":"u","Ǚ":"U","ǚ":"u","Ǜ":"U","ǜ":"u","Ǻ":"A","ǻ":"a","Ǽ":"AE","ǽ":"ae","Ǿ":"O","ǿ":"o"," ":"_","'":"","?":"","/":"","\\":"",".":"",",":"","`":"",">":"","<":"",'"':"","[":"","]":"","|":"","{":"","}":"","(":"",")":""},i=/\W/g,n=function(t){return void 0!==e[t]?e[t]:t};return t=(t=t.replace(i,n)).toLowerCase()},i.strMatch=function(t,e){for(var i=0,n=Math.min(t.length,e.length),a=0;a<n&&t[a]===e[a];a++)i++;return i},i.decode=function(e){return t("<textarea/>").html(e).text()},i.strEscape=function(e){return t("<div>").text(e).html()},i.parseArgs=function(e,i){return"object"!=typeof e&&(e={}),"object"!=typeof i&&(i={}),t.extend({},i,e)},null==window.acfL10n&&(acfL10n={}),i.__=function(t){return acfL10n[t]||t},i._x=function(t,e){return acfL10n[t+"."+e]||acfL10n[t]||t},i._n=function(t,e,n){return 1==n?i.__(t):i.__(e)},i.isArray=function(t){return Array.isArray(t)},i.isObject=function(t){return"object"==typeof t};var r=function(t,e,n){var a=(e=e.replace("[]","[%%index%%]")).match(/([^\[\]])+/g);if(a)for(var r=a.length,o=t,s=0;s<r;s++){var c=String(a[s]);s==r-1?"%%index%%"===c?o.push(n):o[c]=n:("%%index%%"===a[s+1]?i.isArray(o[c])||(o[c]=[]):i.isObject(o[c])||(o[c]={}),o=o[c])}};i.serialize=function(t,e){var n={},a=i.serializeArray(t);void 0!==e&&(a=a.filter((function(t){return 0===t.name.indexOf(e)})).map((function(t){return t.name=t.name.slice(e.length),t})));for(var o=0;o<a.length;o++)r(n,a[o].name,a[o].value);return n},i.serializeArray=function(t){return t.find("select, textarea, input").serializeArray()},i.serializeForAjax=function(t){var e={},n;return i.serializeArray(t).map((function(t){"[]"===t.name.slice(-2)?(e[t.name]=e[t.name]||[],e[t.name].push(t.value)):e[t.name]=t.value})),e},i.addAction=function(t,e,n,a){return i.hooks.addAction.apply(this,arguments),this},i.removeAction=function(t,e){return i.hooks.removeAction.apply(this,arguments),this};var o={};i.doAction=function(t){return o[t]=1,i.hooks.doAction.apply(this,arguments),o[t]=0,this},i.doingAction=function(t){return 1===o[t]},i.didAction=function(t){return void 0!==o[t]},i.currentAction=function(){for(var t in o)if(o[t])return t;return!1},i.addFilter=function(t){return i.hooks.addFilter.apply(this,arguments),this},i.removeFilter=function(t){return i.hooks.removeFilter.apply(this,arguments),this},i.applyFilters=function(t){return i.hooks.applyFilters.apply(this,arguments)},i.arrayArgs=function(t){return Array.prototype.slice.call(t)};try{var s=JSON.parse(localStorage.getItem("acf"))||{}}catch(t){var s={}}var c=function(t){return"this."===t.substr(0,5)&&(t=t.substr(5)+"-"+i.get("post_id")),t};i.getPreference=function(t){return t=c(t),s[t]||null},i.setPreference=function(t,e){t=c(t),null===e?delete s[t]:s[t]=e,localStorage.setItem("acf",JSON.stringify(s))},i.removePreference=function(t){i.setPreference(t,null)},i.remove=function(t){t instanceof jQuery&&(t={target:t}),t=i.parseArgs(t,{target:!1,endHeight:0,complete:function(){}}),i.doAction("remove",t.target),t.target.is("tr")?u(t):l(t)};var l=function(t){var e=t.target,i=e.height(),n=e.width(),a=e.css("margin"),r=e.outerHeight(!0),o=e.attr("style")+"";e.wrap('<div class="acf-temp-remove" style="height:'+r+'px"></div>');var s=e.parent();e.css({height:i,width:n,margin:a,position:"absolute"}),setTimeout((function(){s.css({opacity:0,height:t.endHeight})}),50),setTimeout((function(){e.attr("style",o),s.remove(),t.complete()}),301)},u=function(e){var i=e.target,n=i.height(),a=i.children().length,r=t('<td class="acf-temp-remove" style="padding:0; height:'+n+'px" colspan="'+a+'"></td>');i.addClass("acf-remove-element"),setTimeout((function(){i.html(r)}),251),setTimeout((function(){i.removeClass("acf-remove-element"),r.css({height:e.endHeight})}),300),setTimeout((function(){i.remove(),e.complete()}),451)};i.duplicate=function(t){t instanceof jQuery&&(t={target:t});var e=0;(t=i.parseArgs(t,{target:!1,search:"",replace:"",before:function(t){},after:function(t,e){},append:function(t,i){t.after(i),e=1}})).target=t.target||t.$el;var n=t.target;t.search=t.search||n.attr("data-id"),t.replace=t.replace||i.uniqid(),t.before(n),i.doAction("before_duplicate",n);var a=n.clone();return i.rename({target:a,search:t.search,replace:t.replace}),a.removeClass("acf-clone"),a.find(".ui-sortable").removeClass("ui-sortable"),t.after(n,a),i.doAction("after_duplicate",n,a),t.append(n,a),i.doAction("duplicate",n,a),i.doAction("append",a),a},i.rename=function(t){t instanceof jQuery&&(t={target:t});var e=(t=i.parseArgs(t,{target:!1,destructive:!1,search:"",replace:""})).target,n=t.search||e.attr("data-id"),a=t.replace||i.uniqid("acf"),r=function(t,e){return e.replace(n,a)};if(t.destructive){var o=e.outerHTML();o=i.strReplace(n,a,o),e.replaceWith(o)}else e.attr("data-id",a),e.find('[id*="'+n+'"]').attr("id",r),e.find('[for*="'+n+'"]').attr("for",r),e.find('[name*="'+n+'"]').attr("name",r);return e},i.prepareForAjax=function(t){return t.nonce=i.get("nonce"),t.post_id=i.get("post_id"),i.has("language")&&(t.lang=i.get("language")),t=i.applyFilters("prepare_for_ajax",t)},i.startButtonLoading=function(t){t.prop("disabled",!0),t.after(' <i class="acf-loading"></i>')},i.stopButtonLoading=function(t){t.prop("disabled",!1),t.next(".acf-loading").remove()},i.showLoading=function(t){t.append('<div class="acf-loading-overlay"><i class="acf-loading"></i></div>')},i.hideLoading=function(t){t.children(".acf-loading-overlay").remove()},i.updateUserSetting=function(e,n){var a={action:"acf/ajax/user_setting",name:e,value:n};t.ajax({url:i.get("ajaxurl"),data:i.prepareForAjax(a),type:"post",dataType:"html"})},i.val=function(t,e,i){var n=t.val();return e!==n&&(t.val(e),t.is("select")&&null===t.val()?(t.val(n),!1):(!0!==i&&t.trigger("change"),!0))},i.show=function(t,e){return e&&i.unlock(t,"hidden",e),!i.isLocked(t,"hidden")&&(!!t.hasClass("acf-hidden")&&(t.removeClass("acf-hidden"),!0))},i.hide=function(t,e){return e&&i.lock(t,"hidden",e),!t.hasClass("acf-hidden")&&(t.addClass("acf-hidden"),!0)},i.isHidden=function(t){return t.hasClass("acf-hidden")},i.isVisible=function(t){return!i.isHidden(t)};var d=function(t,e){return!t.hasClass("acf-disabled")&&(e&&i.unlock(t,"disabled",e),!i.isLocked(t,"disabled")&&(!!t.prop("disabled")&&(t.prop("disabled",!1),!0)))};i.enable=function(e,i){if(e.attr("name"))return d(e,i);var n=!1;return e.find("[name]").each((function(){var e;d(t(this),i)&&(n=!0)})),n};var f=function(t,e){return e&&i.lock(t,"disabled",e),!t.prop("disabled")&&(t.prop("disabled",!0),!0)};i.disable=function(e,i){if(e.attr("name"))return f(e,i);var n=!1;return e.find("[name]").each((function(){var e;f(t(this),i)&&(n=!0)})),n},i.isset=function(t){for(var e=1;e<arguments.length;e++){if(!t||!t.hasOwnProperty(arguments[e]))return!1;t=t[arguments[e]]}return!0},i.isget=function(t){for(var e=1;e<arguments.length;e++){if(!t||!t.hasOwnProperty(arguments[e]))return null;t=t[arguments[e]]}return t},i.getFileInputData=function(t,e){var n=t.val();if(!n)return!1;var a={url:n},r=i.isget(t[0],"files",0);if(r)if(a.size=r.size,a.type=r.type,r.type.indexOf("image")>-1){var o=window.URL||window.webkitURL,s=new Image;s.onload=function(){a.width=this.width,a.height=this.height,e(a)},s.src=o.createObjectURL(r)}else e(a);else e(a)},i.isAjaxSuccess=function(t){return t&&t.success},i.getAjaxMessage=function(t){return i.isget(t,"data","message")},i.getAjaxError=function(t){return i.isget(t,"data","error")},i.renderSelect=function(t,e){var n=t.val(),a=[],r=function(t){var e="";return t.map((function(t){var n=t.text||t.label||"",o=t.id||t.value||"";a.push(o),t.children?e+='<optgroup label="'+i.strEscape(n)+'">'+r(t.children)+"</optgroup>":e+='<option value="'+o+'"'+(t.disabled?' disabled="disabled"':"")+">"+i.strEscape(n)+"</option>"})),e};return t.html(r(e)),a.indexOf(n)>-1&&t.val(n),t.val()};var h=function(t,e){return t.data("acf-lock-"+e)||[]},p=function(t,e,i){t.data("acf-lock-"+e,i)},g,m,v,y,b,_;i.lock=function(t,e,i){var n=h(t,e),a;n.indexOf(i)<0&&(n.push(i),p(t,e,n))},i.unlock=function(t,e,i){var n=h(t,e),a=n.indexOf(i);return a>-1&&(n.splice(a,1),p(t,e,n)),0===n.length},i.isLocked=function(t,e){return h(t,e).length>0},i.isGutenberg=function(){return window.wp&&wp.data&&wp.data.select&&wp.data.select("core/editor")},i.objectToArray=function(t){return Object.keys(t).map((function(e){return t[e]}))},i.debounce=function(t,e){var i;return function(){var n=this,a=arguments,r=function(){t.apply(n,a)};clearTimeout(i),i=setTimeout(r,e)}},i.throttle=function(t,e){var i=!1;return function(){i||(i=!0,setTimeout((function(){i=!1}),e),t.apply(this,arguments))}},i.isInView=function(t){var e=t.getBoundingClientRect();return e.top!==e.bottom&&e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)},i.onceInView=(g=[],m=0,v=function(){g.forEach((function(t){i.isInView(t.el)&&(t.callback.apply(this),_(t.id))}))},y=i.debounce(v,300),b=function(e,i){g.length||t(window).on("scroll resize",y).on("acfrefresh orientationchange",v),g.push({id:m++,el:e,callback:i})},_=function(e){(g=g.filter((function(t){return t.id!==e}))).length||t(window).off("scroll resize",y).off("acfrefresh orientationchange",v)},function(t,e){t instanceof jQuery&&(t=t[0]),i.isInView(t)?e.apply(this):b(t,e)}),i.once=function(t){var e=0;return function(){return e++>0?t=void 0:t.apply(this,arguments)}},t.fn.exists=function(){return t(this).length>0},t.fn.outerHTML=function(){return t(this).get(0).outerHTML},Array.prototype.indexOf||(Array.prototype.indexOf=function(e){return t.inArray(e,this)}),t(document).ready((function(){i.doAction("ready")})),t(window).on("load",(function(){i.doAction("load")})),t(window).on("beforeunload",(function(){i.doAction("unload")})),t(window).on("resize",(function(){i.doAction("resize")})),t(document).on("sortstart",(function(t,e){i.doAction("sortstart",e.item,e.placeholder)})),t(document).on("sortstop",(function(t,e){i.doAction("sortstop",e.item,e.placeholder)}))}(jQuery),function(t,e){"use strict";var i=function(){function t(){return f}function e(t,e,i,n){return"string"==typeof t&&"function"==typeof e&&c("actions",t,e,i=parseInt(i||10,10),n),d}function i(){var t=Array.prototype.slice.call(arguments),e=t.shift();return"string"==typeof e&&u("actions",e,t),d}function n(t,e){return"string"==typeof t&&s("actions",t,e),d}function a(t,e,i,n){return"string"==typeof t&&"function"==typeof e&&c("filters",t,e,i=parseInt(i||10,10),n),d}function r(){var t=Array.prototype.slice.call(arguments),e=t.shift();return"string"==typeof e?u("filters",e,t):d}function o(t,e){return"string"==typeof t&&s("filters",t,e),d}function s(t,e,i,n){if(f[t][e])if(i){var a=f[t][e],r;if(n)for(r=a.length;r--;){var o=a[r];o.callback===i&&o.context===n&&a.splice(r,1)}else for(r=a.length;r--;)a[r].callback===i&&a.splice(r,1)}else f[t][e]=[]}function c(t,e,i,n,a){var r={callback:i,priority:n,context:a},o=f[t][e];o?(o.push(r),o=l(o)):o=[r],f[t][e]=o}function l(t){for(var e,i,n,a=1,r=t.length;a<r;a++){for(e=t[a],i=a;(n=t[i-1])&&n.priority>e.priority;)t[i]=t[i-1],--i;t[i]=e}return t}function u(t,e,i){var n=f[t][e];if(!n)return"filters"===t&&i[0];var a=0,r=n.length;if("filters"===t)for(;a<r;a++)i[0]=n[a].callback.apply(n[a].context,i);else for(;a<r;a++)n[a].callback.apply(n[a].context,i);return"filters"!==t||i[0]}var d={removeFilter:o,applyFilters:r,addFilter:a,removeAction:n,doAction:i,addAction:e,storage:t},f={actions:{},filters:{}};return d};acf.hooks=new i}(window),function(t,e){var i=/^(\S+)\s*(.*)$/,n=function(e){var i=this,n;return n=e&&e.hasOwnProperty("constructor")?e.constructor:function(){return i.apply(this,arguments)},t.extend(n,i),n.prototype=Object.create(i.prototype),t.extend(n.prototype,e),n.prototype.constructor=n,n},a=acf.Model=function(){this.cid=acf.uniqueId("acf"),this.data=t.extend(!0,{},this.data),this.setup.apply(this,arguments),this.$el&&!this.$el.data("acf")&&this.$el.data("acf",this);var e=function(){this.initialize(),this.addEvents(),this.addActions(),this.addFilters()};this.wait&&!acf.didAction(this.wait)?this.addAction(this.wait,e):e.apply(this)};t.extend(a.prototype,{id:"",cid:"",$el:null,data:{},busy:!1,changed:!1,events:{},actions:{},filters:{},eventScope:"",wait:!1,priority:10,get:function(t){return this.data[t]},has:function(t){return null!=this.get(t)},set:function(t,e,i){var n=this.get(t);return n==e?this:(this.data[t]=e,i||(this.changed=!0,this.trigger("changed:"+t,[e,n]),this.trigger("changed",[t,e,n])),this)},inherit:function(e){return e instanceof jQuery&&(e=e.data()),t.extend(this.data,e),this},prop:function(){return this.$el.prop.apply(this.$el,arguments)},setup:function(e){t.extend(this,e)},initialize:function(){},addElements:function(t){if(!(t=t||this.elements||null)||!Object.keys(t).length)return!1;for(var e in t)this.addElement(e,t[e])},addElement:function(t,e){this["$"+t]=this.$(e)},addEvents:function(t){if(!(t=t||this.events||null))return!1;for(var e in t){var n=e.match(i);this.on(n[1],n[2],t[e])}},removeEvents:function(t){if(!(t=t||this.events||null))return!1;for(var e in t){var n=e.match(i);this.off(n[1],n[2],t[e])}},getEventTarget:function(e,i){return e||this.$el||t(document)},validateEvent:function(e){return!this.eventScope||t(e.target).closest(this.eventScope).is(this.$el)},proxyEvent:function(e){return this.proxy((function(i){if(this.validateEvent(i)){var n=acf.arrayArgs(arguments),a=n.slice(1),r=[i,t(i.currentTarget)].concat(a);e.apply(this,r)}}))},on:function(t,e,i,n){var a,r,o,s,c;t instanceof jQuery?n?(a=t,r=e,o=i,s=n):(a=t,r=e,s=i):i?(r=t,o=e,s=i):(r=t,s=e),a=this.getEventTarget(a),"string"==typeof s&&(s=this.proxyEvent(this[s])),r=r+"."+this.cid,c=o?[r,o,s]:[r,s],a.on.apply(a,c)},off:function(t,e,i){var n,a,r,o;t instanceof jQuery?i?(n=t,a=e,r=i):(n=t,a=e):e?(a=t,r=e):a=t,n=this.getEventTarget(n),a=a+"."+this.cid,o=r?[a,r]:[a],n.off.apply(n,o)},trigger:function(t,e,i){var n=this.getEventTarget();return i?n.trigger.apply(n,arguments):n.triggerHandler.apply(n,arguments),this},addActions:function(t){if(!(t=t||this.actions||null))return!1;for(var e in t)this.addAction(e,t[e])},removeActions:function(t){if(!(t=t||this.actions||null))return!1;for(var e in t)this.removeAction(e,t[e])},addAction:function(t,e,i){i=i||this.priority,"string"==typeof e&&(e=this[e]),acf.addAction(t,e,i,this)},removeAction:function(t,e){acf.removeAction(t,this[e])},addFilters:function(t){if(!(t=t||this.filters||null))return!1;for(var e in t)this.addFilter(e,t[e])},addFilter:function(t,e,i){i=i||this.priority,"string"==typeof e&&(e=this[e]),acf.addFilter(t,e,i,this)},removeFilters:function(t){if(!(t=t||this.filters||null))return!1;for(var e in t)this.removeFilter(e,t[e])},removeFilter:function(t,e){acf.removeFilter(t,this[e])},$:function(t){return this.$el.find(t)},remove:function(){this.removeEvents(),this.removeActions(),this.removeFilters(),this.$el.remove()},setTimeout:function(t,e){return setTimeout(this.proxy(t),e)},time:function(){console.time(this.id||this.cid)},timeEnd:function(){console.timeEnd(this.id||this.cid)},show:function(){acf.show(this.$el)},hide:function(){acf.hide(this.$el)},proxy:function(e){return t.proxy(e,this)}}),a.extend=n,acf.models={},acf.getInstance=function(t){return t.data("acf")},acf.getInstances=function(e){var i=[];return e.each((function(){i.push(acf.getInstance(t(this)))})),i}}(jQuery),function(t,e){acf.models.Popup=acf.Model.extend({data:{title:"",content:"",width:0,height:0,loading:!1},events:{'click [data-event="close"]':"onClickClose","click .acf-close-popup":"onClickClose"},setup:function(e){t.extend(this.data,e),this.$el=t(this.tmpl())},initialize:function(){this.render(),this.open()},tmpl:function(){return['<div id="acf-popup">','<div class="acf-popup-box acf-box">','<div class="title"><h3></h3><a href="#" class="acf-icon -cancel grey" data-event="close"></a></div>','<div class="inner"></div>','<div class="loading"><i class="acf-loading"></i></div>',"</div>",'<div class="bg" data-event="close"></div>',"</div>"].join("")},render:function(){var t=this.get("title"),e=this.get("content"),i=this.get("loading"),n=this.get("width"),a=this.get("height");this.title(t),this.content(e),n&&this.$(".acf-popup-box").css("width",n),a&&this.$(".acf-popup-box").css("min-height",a),this.loading(i),acf.doAction("append",this.$el)},update:function(t){this.data=acf.parseArgs(t,this.data),this.render()},title:function(t){this.$(".title:first h3").html(t)},content:function(t){this.$(".inner:first").html(t)},loading:function(t){var e=this.$(".loading:first");t?e.show():e.hide()},open:function(){t("body").append(this.$el)},close:function(){this.remove()},onClickClose:function(t,e){t.preventDefault(),this.close()}}),acf.newPopup=function(t){return new acf.models.Popup(t)}}(jQuery),function(t,e){acf.unload=new acf.Model({wait:"load",active:!0,changed:!1,actions:{validation_failure:"startListening",validation_success:"stopListening"},events:{"change form .acf-field":"startListening","submit form":"stopListening"},enable:function(){this.active=!0},disable:function(){this.active=!1},reset:function(){this.stopListening()},startListening:function(){!this.changed&&this.active&&(this.changed=!0,t(window).on("beforeunload",this.onUnload))},stopListening:function(){this.changed=!1,t(window).off("beforeunload",this.onUnload)},onUnload:function(){return acf.__("The changes you made will be lost if you navigate away from this page")}})}(jQuery),function(t,e){var i=new acf.Model({events:{"click .acf-panel-title":"onClick"},onClick:function(t,e){t.preventDefault(),this.toggle(e.parent())},isOpen:function(t){return t.hasClass("-open")},toggle:function(t){this.isOpen(t)?this.close(t):this.open(t)},open:function(t){t.addClass("-open"),t.find(".acf-panel-title i").attr("class","dashicons dashicons-arrow-down")},close:function(t){t.removeClass("-open"),t.find(".acf-panel-title i").attr("class","dashicons dashicons-arrow-right")}})}(jQuery),function(t,e){var i=acf.Model.extend({data:{text:"",type:"",timeout:0,dismiss:!0,target:!1,close:function(){}},events:{"click .acf-notice-dismiss":"onClickClose"},tmpl:function(){return'<div class="acf-notice"></div>'},setup:function(e){t.extend(this.data,e),this.$el=t(this.tmpl())},initialize:function(){this.render(),this.show()},render:function(){this.type(this.get("type")),this.html("<p>"+this.get("text")+"</p>"),this.get("dismiss")&&(this.$el.append('<a href="#" class="acf-notice-dismiss acf-icon -cancel small"></a>'),this.$el.addClass("-dismiss"));var t=this.get("timeout");t&&this.away(t)},update:function(e){t.extend(this.data,e),this.initialize(),this.removeEvents(),this.addEvents()},show:function(){var t=this.get("target");t&&t.prepend(this.$el)},hide:function(){this.$el.remove()},away:function(t){this.setTimeout((function(){acf.remove(this.$el)}),t)},type:function(t){var e=this.get("type");e&&this.$el.removeClass("-"+e),this.$el.addClass("-"+t),"error"==t&&this.$el.addClass("acf-error-message")},html:function(t){this.$el.html(t)},text:function(t){this.$("p").html(t)},onClickClose:function(t,e){t.preventDefault(),this.get("close").apply(this,arguments),this.remove()}});acf.newNotice=function(t){return"object"!=typeof t&&(t={text:t}),new i(t)};var n=new acf.Model({wait:"prepare",priority:1,initialize:function(){var e=t(".acf-admin-notice");e.length&&t("h1:first").after(e)}})}(jQuery),function(t,e){var i=new acf.Model({wait:"prepare",priority:1,initialize:function(){(acf.get("postboxes")||[]).map(acf.newPostbox)}});acf.getPostbox=function(e){return"string"==typeof e&&(e=t("#"+e)),acf.getInstance(e)},acf.getPostboxes=function(){return acf.getInstances(t(".acf-postbox"))},acf.newPostbox=function(t){return new acf.models.Postbox(t)},acf.models.Postbox=acf.Model.extend({data:{id:"",key:"",style:"default",label:"top",edit:""},setup:function(e){e.editLink&&(e.edit=e.editLink),t.extend(this.data,e),this.$el=this.$postbox()},$postbox:function(){return t("#"+this.get("id"))},$hide:function(){return t("#"+this.get("id")+"-hide")},$hideLabel:function(){return this.$hide().parent()},$hndle:function(){return this.$("> .hndle")},$inside:function(){return this.$("> .inside")},isVisible:function(){return this.$el.hasClass("acf-hidden")},initialize:function(){if(this.$el.addClass("acf-postbox"),this.$el.removeClass("hide-if-js"),"block"!==acf.get("editor")){var t=this.get("style");"default"!==t&&this.$el.addClass(t)}this.$inside().addClass("acf-fields").addClass("-"+this.get("label"));var e=this.get("edit");e&&this.$hndle().append('<a href="'+e+'" class="dashicons dashicons-admin-generic acf-hndle-cog acf-js-tooltip" title="'+acf.__("Edit field group")+'"></a>'),this.show()},show:function(){this.$hideLabel().show(),this.$hide().prop("checked",!0),this.$el.show().removeClass("acf-hidden"),acf.doAction("show_postbox",this)},enable:function(){acf.enable(this.$el,"postbox")},showEnable:function(){this.enable(),this.show()},hide:function(){this.$hideLabel().hide(),this.$el.hide().addClass("acf-hidden"),acf.doAction("hide_postbox",this)},disable:function(){acf.disable(this.$el,"postbox")},hideDisable:function(){this.disable(),this.hide()},html:function(t){this.$inside().html(t),acf.doAction("append",this.$el)}})}(jQuery),function(t,e){acf.newTooltip=function(t){return"object"!=typeof t&&(t={text:t}),void 0!==t.confirmRemove?(t.textConfirm=acf.__("Remove"),t.textCancel=acf.__("Cancel"),new n(t)):void 0!==t.confirm?new n(t):new i(t)};var i=acf.Model.extend({data:{text:"",timeout:0,target:null},tmpl:function(){return'<div class="acf-tooltip"></div>'},setup:function(e){t.extend(this.data,e),this.$el=t(this.tmpl())},initialize:function(){this.render(),this.show(),this.position();var e=this.get("timeout");e&&setTimeout(t.proxy(this.fade,this),e)},update:function(e){t.extend(this.data,e),this.initialize()},render:function(){this.html(this.get("text"))},show:function(){t("body").append(this.$el)},hide:function(){this.$el.remove()},fade:function(){this.$el.addClass("acf-fade-up"),this.setTimeout((function(){this.remove()}),250)},html:function(t){this.$el.html(t)},position:function(){var e=this.$el,i=this.get("target");if(i){e.removeClass("right left bottom top").css({top:0,left:0});var n=10,a=i.outerWidth(),r=i.outerHeight(),o=i.offset().top,s=i.offset().left,c=e.outerWidth(),l=e.outerHeight(),u=e.offset().top,d=o-l-u,f=s+a/2-c/2;f<10?(e.addClass("right"),f=s+a,d=o+r/2-l/2-u):f+c+10>t(window).width()?(e.addClass("left"),f=s-c,d=o+r/2-l/2-u):d-t(window).scrollTop()<10?(e.addClass("bottom"),d=o+r-u):e.addClass("top"),e.css({top:d,left:f})}}}),n=i.extend({data:{text:"",textConfirm:"",textCancel:"",target:null,targetConfirm:!0,confirm:function(){},cancel:function(){},context:!1},events:{'click [data-event="cancel"]':"onCancel",'click [data-event="confirm"]':"onConfirm"},addEvents:function(){acf.Model.prototype.addEvents.apply(this);var e=t(document),i=this.get("target");this.setTimeout((function(){this.on(e,"click","onCancel")})),this.get("targetConfirm")&&this.on(i,"click","onConfirm")},removeEvents:function(){acf.Model.prototype.removeEvents.apply(this);var e=t(document),i=this.get("target");this.off(e,"click"),this.off(i,"click")},render:function(){var t,e,i,n=[this.get("text")||acf.__("Are you sure?"),'<a href="#" data-event="confirm">'+(this.get("textConfirm")||acf.__("Yes"))+"</a>",'<a href="#" data-event="cancel">'+(this.get("textCancel")||acf.__("No"))+"</a>"].join(" ");this.html(n),this.$el.addClass("-confirm")},onCancel:function(t,e){t.preventDefault(),t.stopImmediatePropagation();var i=this.get("cancel"),n=this.get("context")||this;i.apply(n,arguments),this.remove()},onConfirm:function(t,e){t.preventDefault(),t.stopImmediatePropagation();var i=this.get("confirm"),n=this.get("context")||this;i.apply(n,arguments),this.remove()}});acf.models.Tooltip=i,acf.models.TooltipConfirm=n;var a=new acf.Model({tooltip:!1,events:{"mouseenter .acf-js-tooltip":"showTitle","mouseup .acf-js-tooltip":"hideTitle","mouseleave .acf-js-tooltip":"hideTitle"},showTitle:function(t,e){var i=e.attr("title");i&&(e.attr("title",""),this.tooltip?this.tooltip.update({text:i,target:e}):this.tooltip=acf.newTooltip({text:i,target:e}))},hideTitle:function(t,e){this.tooltip.hide(),e.attr("title",this.tooltip.get("text"))}})}(jQuery),function(t,e){var i=[];acf.Field=acf.Model.extend({type:"",eventScope:".acf-field",wait:"ready",setup:function(t){this.$el=t,this.inherit(t),this.inherit(this.$control())},val:function(t){return void 0!==t?this.setValue(t):this.prop("disabled")?null:this.getValue()},getValue:function(){return this.$input().val()},setValue:function(t){return acf.val(this.$input(),t)},__:function(t){return acf._e(this.type,t)},$control:function(){return!1},$input:function(){return this.$("[name]:first")},$inputWrap:function(){return this.$(".acf-input:first")},$labelWrap:function(){return this.$(".acf-label:first")},getInputName:function(){return this.$input().attr("name")||""},parent:function(){var t=this.parents();return!!t.length&&t[0]},parents:function(){var t=this.$el.parents(".acf-field"),e;return acf.getFields(t)},show:function(t,e){var i=acf.show(this.$el,t);return i&&(this.prop("hidden",!1),acf.doAction("show_field",this,e)),i},hide:function(t,e){var i=acf.hide(this.$el,t);return i&&(this.prop("hidden",!0),acf.doAction("hide_field",this,e)),i},enable:function(t,e){var i=acf.enable(this.$el,t);return i&&(this.prop("disabled",!1),acf.doAction("enable_field",this,e)),i},disable:function(t,e){var i=acf.disable(this.$el,t);return i&&(this.prop("disabled",!0),acf.doAction("disable_field",this,e)),i},showEnable:function(t,e){return this.enable.apply(this,arguments),this.show.apply(this,arguments)},hideDisable:function(t,e){return this.disable.apply(this,arguments),this.hide.apply(this,arguments)},showNotice:function(t){"object"!=typeof t&&(t={text:t}),this.notice&&this.notice.remove(),t.target=this.$inputWrap(),this.notice=acf.newNotice(t)},removeNotice:function(t){this.notice&&(this.notice.away(t||0),this.notice=!1)},showError:function(e){this.$el.addClass("acf-error"),void 0!==e&&this.showNotice({text:e,type:"error",dismiss:!1}),acf.doAction("invalid_field",this),this.$el.one("focus change","input, select, textarea",t.proxy(this.removeError,this))},removeError:function(){this.$el.removeClass("acf-error"),this.removeNotice(250),acf.doAction("valid_field",this)},trigger:function(t,e,i){return"invalidField"==t&&(i=!0),acf.Model.prototype.trigger.apply(this,[t,e,i])}}),acf.newField=function(t){var e=t.data("type"),i=n(e),a,r=new(acf.models[i]||acf.Field)(t);return acf.doAction("new_field",r),r};var n=function(t){return acf.strPascalCase(t||"")+"Field"};acf.registerFieldType=function(t){var e,a=t.prototype.type,r=n(a);acf.models[r]=t,i.push(a)},acf.getFieldType=function(t){var e=n(t);return acf.models[e]||!1},acf.getFieldTypes=function(t){t=acf.parseArgs(t,{category:""});var e=[];return i.map((function(i){var n=acf.getFieldType(i),a=n.prototype;t.category&&a.category!==t.category||e.push(n)})),e}}(jQuery),function(t,e){acf.findFields=function(e){var i=".acf-field",n=!1;return(e=acf.parseArgs(e,{key:"",name:"",type:"",is:"",parent:!1,sibling:!1,limit:!1,visible:!1,suppressFilters:!1})).suppressFilters||(e=acf.applyFilters("find_fields_args",e)),e.key&&(i+='[data-key="'+e.key+'"]'),e.type&&(i+='[data-type="'+e.type+'"]'),e.name&&(i+='[data-name="'+e.name+'"]'),e.is&&(i+=e.is),e.visible&&(i+=":visible"),n=e.parent?e.parent.find(i):e.sibling?e.sibling.siblings(i):t(i),e.suppressFilters||(n=n.not(".acf-clone .acf-field"),n=acf.applyFilters("find_fields",n)),e.limit&&(n=n.slice(0,e.limit)),n},acf.findField=function(t,e){return acf.findFields({key:t,limit:1,parent:e,suppressFilters:!0})},acf.getField=function(t){t instanceof jQuery||(t=acf.findField(t));var e=t.data("acf");return e||(e=acf.newField(t)),e},acf.getFields=function(e){e instanceof jQuery||(e=acf.findFields(e));var i=[];return e.each((function(){var e=acf.getField(t(this));i.push(e)})),i},acf.findClosestField=function(t){return t.closest(".acf-field")},acf.getClosestField=function(t){var e=acf.findClosestField(t);return this.getField(e)};var i=function(t){var e=t,i=t+"_fields",a=t+"_field",r=function(t){var e=acf.arrayArgs(arguments),n=e.slice(1),a=acf.getFields({parent:t});if(a.length){var r=[i,a].concat(n);acf.doAction.apply(null,r)}},o=function(t){var e=acf.arrayArgs(arguments),i=e.slice(1);t.map((function(t,e){var n=[a,t].concat(i);acf.doAction.apply(null,n)}))};acf.addAction(e,r),acf.addAction(i,o),n(t)},n=function(t){var e=t+"_field",i=t+"Field",n=function(n){var a=acf.arrayArgs(arguments),r=a.slice(1),s=["type","name","key"];s.map((function(t){var i="/"+t+"="+n.get(t);a=[e+i,n].concat(r),acf.doAction.apply(null,a)})),o.indexOf(t)>-1&&n.trigger(i,r)};acf.addAction(e,n)},a,r=["valid","invalid","enable","disable","new"],o=["remove","unmount","remount","sortstart","sortstop","show","hide","unload","valid","invalid","enable","disable"];["prepare","ready","load","append","remove","unmount","remount","sortstart","sortstop","show","hide","unload"].map(i),r.map(n);var s=new acf.Model({id:"fieldsEventManager",events:{'click .acf-field a[href="#"]':"onClick","change .acf-field":"onChange"},onClick:function(t){t.preventDefault()},onChange:function(){t("#_acf_changed").val(1)}})}(jQuery),function(t,e){var i=0,n=acf.Field.extend({type:"accordion",wait:"",$control:function(){
|
2 |
+
return this.$(".acf-fields:first")},initialize:function(){if(!this.$el.is("td")){if(this.get("endpoint"))return this.remove();var e=this.$el,n=this.$labelWrap(),r=this.$inputWrap(),o=this.$control(),s=r.children(".description");if(s.length&&n.append(s),this.$el.is("tr")){var c=this.$el.closest("table"),l=t('<div class="acf-accordion-title"/>'),u=t('<div class="acf-accordion-content"/>'),d=t('<table class="'+c.attr("class")+'"/>'),f=t("<tbody/>");l.append(n.html()),d.append(f),u.append(d),r.append(l),r.append(u),n.remove(),o.remove(),r.attr("colspan",2),n=l,r=u,o=f}e.addClass("acf-accordion"),n.addClass("acf-accordion-title"),r.addClass("acf-accordion-content"),i++,this.get("multi_expand")&&e.attr("multi-expand",1);var h=acf.getPreference("this.accordions")||[];void 0!==h[i-1]&&this.set("open",h[i-1]),this.get("open")&&(e.addClass("-open"),r.css("display","block")),n.prepend(a.iconHtml({open:this.get("open")}));var p=e.parent();o.addClass(p.hasClass("-left")?"-left":""),o.addClass(p.hasClass("-clear")?"-clear":""),o.append(e.nextUntil(".acf-field-accordion",".acf-field")),o.removeAttr("data-open data-multi_expand data-endpoint")}}});acf.registerFieldType(n);var a=new acf.Model({actions:{unload:"onUnload"},events:{"click .acf-accordion-title":"onClick","invalidField .acf-accordion":"onInvalidField"},isOpen:function(t){return t.hasClass("-open")},toggle:function(t){this.isOpen(t)?this.close(t):this.open(t)},iconHtml:function(t){var e;return'<i class="acf-accordion-icon dashicons dashicons-'+(t.open?"arrow-down":"arrow-right")+'"></i>'},open:function(e){e.find(".acf-accordion-content:first").slideDown().css("display","block"),e.find(".acf-accordion-icon:first").replaceWith(this.iconHtml({open:!0})),e.addClass("-open"),acf.doAction("show",e),e.attr("multi-expand")||e.siblings(".acf-accordion.-open").each((function(){a.close(t(this))}))},close:function(t){t.find(".acf-accordion-content:first").slideUp(),t.find(".acf-accordion-icon:first").replaceWith(this.iconHtml({open:!1})),t.removeClass("-open"),acf.doAction("hide",t)},onClick:function(t,e){t.preventDefault(),this.toggle(e.parent())},onInvalidField:function(t,e){this.busy||(this.busy=!0,this.setTimeout((function(){this.busy=!1}),1e3),this.open(e))},onUnload:function(e){var i=[];t(".acf-accordion").each((function(){var e=t(this).hasClass("-open")?1:0;i.push(e)})),i.length&&acf.setPreference("this.accordions",i)}})}(jQuery),function(t,e){var i=acf.Field.extend({type:"button_group",events:{'click input[type="radio"]':"onClick"},$control:function(){return this.$(".acf-button-group")},$input:function(){return this.$("input:checked")},setValue:function(t){this.$('input[value="'+t+'"]').prop("checked",!0).trigger("change")},onClick:function(t,e){var i=e.parent("label"),n=i.hasClass("selected");this.$(".selected").removeClass("selected"),i.addClass("selected"),this.get("allow_null")&&n&&(i.removeClass("selected"),e.prop("checked",!1).trigger("change"))}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"checkbox",events:{"change input":"onChange","click .acf-add-checkbox":"onClickAdd","click .acf-checkbox-toggle":"onClickToggle","click .acf-checkbox-custom":"onClickCustom"},$control:function(){return this.$(".acf-checkbox-list")},$toggle:function(){return this.$(".acf-checkbox-toggle")},$input:function(){return this.$('input[type="hidden"]')},$inputs:function(){return this.$('input[type="checkbox"]').not(".acf-checkbox-toggle")},getValue:function(){var e=[];return this.$(":checked").each((function(){e.push(t(this).val())})),!!e.length&&e},onChange:function(t,e){var i=e.prop("checked"),n=e.parent("label"),a=this.$toggle(),r;(i?n.addClass("selected"):n.removeClass("selected"),a.length)&&(0==this.$inputs().not(":checked").length?a.prop("checked",!0):a.prop("checked",!1))},onClickAdd:function(t,e){var i='<li><input class="acf-checkbox-custom" type="checkbox" checked="checked" /><input type="text" name="'+this.getInputName()+'[]" /></li>';e.parent("li").before(i)},onClickToggle:function(t,e){var i=e.prop("checked"),n=this.$('input[type="checkbox"]'),a=this.$("label");n.prop("checked",i),i?a.addClass("selected"):a.removeClass("selected")},onClickCustom:function(t,e){var i=e.prop("checked"),n=e.next('input[type="text"]');i?n.prop("disabled",!1):(n.prop("disabled",!0),""==n.val()&&e.parent("li").remove())}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"color_picker",wait:"load",$control:function(){return this.$(".acf-color-picker")},$input:function(){return this.$('input[type="hidden"]')},$inputText:function(){return this.$('input[type="text"]')},setValue:function(t){acf.val(this.$input(),t),this.$inputText().iris("color",t)},initialize:function(){var t=this.$input(),e=this.$inputText(),i=function(i){setTimeout((function(){acf.val(t,e.val())}),1)},n={defaultColor:!1,palettes:!0,hide:!0,change:i,clear:i},n=acf.applyFilters("color_picker_args",n,this);e.wpColorPicker(n)}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"date_picker",events:{'blur input[type="text"]':"onBlur"},$control:function(){return this.$(".acf-date-picker")},$input:function(){return this.$('input[type="hidden"]')},$inputText:function(){return this.$('input[type="text"]')},initialize:function(){if(this.has("save_format"))return this.initializeCompatibility();var t=this.$input(),e=this.$inputText(),i={dateFormat:this.get("date_format"),altField:t,altFormat:"yymmdd",changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.get("first_day")};i=acf.applyFilters("date_picker_args",i,this),acf.newDatePicker(e,i),acf.doAction("date_picker_init",e,i,this)},initializeCompatibility:function(){var t=this.$input(),e=this.$inputText();e.val(t.val());var i={dateFormat:this.get("date_format"),altField:t,altFormat:this.get("save_format"),changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.get("first_day")},n=(i=acf.applyFilters("date_picker_args",i,this)).dateFormat;i.dateFormat=this.get("save_format"),acf.newDatePicker(e,i),e.datepicker("option","dateFormat",n),acf.doAction("date_picker_init",e,i,this)},onBlur:function(){this.$inputText().val()||acf.val(this.$input(),"")}});acf.registerFieldType(i);var n=new acf.Model({priority:5,wait:"ready",initialize:function(){var e=acf.get("locale"),i=acf.get("rtl"),n=acf.get("datePickerL10n");return!!n&&(void 0!==t.datepicker&&(n.isRTL=i,t.datepicker.regional[e]=n,void t.datepicker.setDefaults(n)))}});acf.newDatePicker=function(e,i){if(void 0===t.datepicker)return!1;i=i||{},e.datepicker(i),t("body > #ui-datepicker-div").exists()&&t("body > #ui-datepicker-div").wrap('<div class="acf-ui-datepicker" />')}}(jQuery),function(t,e){var i=acf.models.DatePickerField.extend({type:"date_time_picker",$control:function(){return this.$(".acf-date-time-picker")},initialize:function(){var t=this.$input(),e=this.$inputText(),i={dateFormat:this.get("date_format"),timeFormat:this.get("time_format"),altField:t,altFieldTimeOnly:!1,altFormat:"yy-mm-dd",altTimeFormat:"HH:mm:ss",changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.get("first_day"),controlType:"select",oneLine:!0};i=acf.applyFilters("date_time_picker_args",i,this),acf.newDateTimePicker(e,i),acf.doAction("date_time_picker_init",e,i,this)}});acf.registerFieldType(i);var n=new acf.Model({priority:5,wait:"ready",initialize:function(){var e=acf.get("locale"),i=acf.get("rtl"),n=acf.get("dateTimePickerL10n");return!!n&&(void 0!==t.timepicker&&(n.isRTL=i,t.timepicker.regional[e]=n,void t.timepicker.setDefaults(n)))}});acf.newDateTimePicker=function(e,i){if(void 0===t.timepicker)return!1;i=i||{},e.datetimepicker(i),t("body > #ui-datepicker-div").exists()&&t("body > #ui-datepicker-div").wrap('<div class="acf-ui-datepicker" />')}}(jQuery),function(t,e){function i(e){if(r)return e();if(acf.isset(window,"google","maps","Geocoder"))return r=new google.maps.Geocoder,e();if(acf.addAction("google_map_api_loaded",e),!a){var i=acf.get("google_map_api");i&&(a=!0,t.ajax({url:i,dataType:"script",cache:!0,success:function(){r=new google.maps.Geocoder,acf.doAction("google_map_api_loaded")}}))}}var n=acf.Field.extend({type:"google_map",map:!1,wait:"load",events:{'click a[data-name="clear"]':"onClickClear",'click a[data-name="locate"]':"onClickLocate",'click a[data-name="search"]':"onClickSearch","keydown .search":"onKeydownSearch","keyup .search":"onKeyupSearch","focus .search":"onFocusSearch","blur .search":"onBlurSearch",showField:"onShow"},$control:function(){return this.$(".acf-google-map")},$search:function(){return this.$(".search")},$canvas:function(){return this.$(".canvas")},setState:function(t){this.$control().removeClass("-value -loading -searching"),"default"===t&&(t=this.val()?"value":""),t&&this.$control().addClass("-"+t)},getValue:function(){var t=this.$input().val();return!!t&&JSON.parse(t)},setValue:function(t,e){var i="";t&&(i=JSON.stringify(t)),acf.val(this.$input(),i),e||(this.renderVal(t),acf.doAction("google_map_change",t,this.map,this))},renderVal:function(t){t?(this.setState("value"),this.$search().val(t.address),this.setPosition(t.lat,t.lng)):(this.setState(""),this.$search().val(""),this.map.marker.setVisible(!1))},newLatLng:function(t,e){return new google.maps.LatLng(parseFloat(t),parseFloat(e))},setPosition:function(t,e){this.map.marker.setPosition({lat:parseFloat(t),lng:parseFloat(e)}),this.map.marker.setVisible(!0),this.center()},center:function(){var t=this.map.marker.getPosition();if(t)var e=t.lat(),i=t.lng();else var e=this.get("lat"),i=this.get("lng");this.map.setCenter({lat:parseFloat(e),lng:parseFloat(i)})},initialize:function(){i(this.initializeMap.bind(this))},initializeMap:function(){var t=this.getValue(),e=acf.parseArgs(t,{zoom:this.get("zoom"),lat:this.get("lat"),lng:this.get("lng")}),i={scrollwheel:!1,zoom:parseInt(e.zoom),center:{lat:parseFloat(e.lat),lng:parseFloat(e.lng)},mapTypeId:google.maps.MapTypeId.ROADMAP,marker:{draggable:!0,raiseOnDrag:!0},autocomplete:{}};i=acf.applyFilters("google_map_args",i,this);var n=new google.maps.Map(this.$canvas()[0],i),a=acf.parseArgs(i.marker,{draggable:!0,raiseOnDrag:!0,map:n});a=acf.applyFilters("google_map_marker_args",a,this);var r=new google.maps.Marker(a),o=!1;if(acf.isset(google,"maps","places","Autocomplete")){var s=i.autocomplete||{};s=acf.applyFilters("google_map_autocomplete_args",s,this),(o=new google.maps.places.Autocomplete(this.$search()[0],s)).bindTo("bounds",n)}this.addMapEvents(this,n,r,o),n.acf=this,n.marker=r,n.autocomplete=o,this.map=n,t&&this.setPosition(t.lat,t.lng),acf.doAction("google_map_init",n,r,this)},addMapEvents:function(t,e,i,n){google.maps.event.addListener(e,"click",(function(e){var i=e.latLng.lat(),n=e.latLng.lng();t.searchPosition(i,n)})),google.maps.event.addListener(i,"dragend",(function(){var e=this.getPosition().lat(),i=this.getPosition().lng();t.searchPosition(e,i)})),n&&google.maps.event.addListener(n,"place_changed",(function(){var e=this.getPlace();t.searchPlace(e)})),google.maps.event.addListener(e,"zoom_changed",(function(){var i=t.val();i&&(i.zoom=e.getZoom(),t.setValue(i,!0))}))},searchPosition:function(t,e){this.setState("loading");var i={lat:t,lng:e};r.geocode({location:i},function(t,e){if(this.setState(""),"OK"!==e)this.showNotice({text:acf.__("Location not found: %s").replace("%s",e),type:"warning"});else{var i=this.parseResult(t[0]);this.val(i)}}.bind(this))},searchPlace:function(t){if(t&&t.name){if(!t.geometry)return this.searchAddress(t.name);var e=this.parseResult(t);this.val(e)}},searchAddress:function(t){if(t){var e=t.split(",");if(2==e.length){var i=parseFloat(e[0]),n=parseFloat(e[1]);if(i&&n)return this.searchPosition(i,n)}this.setState("loading"),r.geocode({address:t},function(e,i){if(this.setState(""),"OK"!==i)this.showNotice({text:acf.__("Location not found: %s").replace("%s",i),type:"warning"});else{var n=this.parseResult(e[0]);n.address=t,this.val(n)}}.bind(this))}},searchLocation:function(){if(!navigator.geolocation)return alert(acf.__("Sorry, this browser does not support geolocation"));this.setState("loading"),navigator.geolocation.getCurrentPosition(function(t){this.setState("");var e=t.coords.latitude,i=t.coords.longitude;this.searchPosition(e,i)}.bind(this),function(t){this.setState("")}.bind(this))},parseResult:function(t){var e={address:t.formatted_address,lat:t.geometry.location.lat(),lng:t.geometry.location.lng()};e.zoom=this.map.getZoom(),t.place_id&&(e.place_id=t.place_id);var i={street_number:["street_number"],street_name:["street_address","route"],city:["locality"],state:["administrative_area_level_1","administrative_area_level_2","administrative_area_level_3","administrative_area_level_4","administrative_area_level_5"],post_code:["postal_code"],country:["country"]};for(var n in i)for(var a=i[n],r=0;r<t.address_components.length;r++){var o=t.address_components[r],s=o.types[0];-1!==a.indexOf(s)&&(e[n]=o.long_name,o.long_name!==o.short_name&&(e[n+"_short"]=o.short_name))}return acf.applyFilters("google_map_result",e,t,this.map,this)},onClickClear:function(){this.val(!1)},onClickLocate:function(){this.searchLocation()},onClickSearch:function(){this.searchAddress(this.$search().val())},onFocusSearch:function(t,e){this.setState("searching")},onBlurSearch:function(t,e){var i=this.val(),n=i?i.address:"";e.val()===n&&this.setState("default")},onKeyupSearch:function(t,e){e.val()||this.val(!1)},onKeydownSearch:function(t,e){13==t.which&&(t.preventDefault(),e.blur())},onShow:function(){this.map&&this.setTimeout(this.center)}});acf.registerFieldType(n);var a=!1,r=!1}(jQuery),function(t,e){var i=acf.Field.extend({type:"image",$control:function(){return this.$(".acf-image-uploader")},$input:function(){return this.$('input[type="hidden"]')},events:{'click a[data-name="add"]':"onClickAdd",'click a[data-name="edit"]':"onClickEdit",'click a[data-name="remove"]':"onClickRemove",'change input[type="file"]':"onChange"},initialize:function(){"basic"===this.get("uploader")&&this.$el.closest("form").attr("enctype","multipart/form-data")},validateAttachment:function(t){void 0!==(t=t||{}).id&&(t=t.attributes),t=acf.parseArgs(t,{url:"",alt:"",title:"",caption:"",description:"",width:0,height:0});var e=acf.isget(t,"sizes",this.get("preview_size"),"url");return null!==e&&(t.url=e),t},render:function(t){t=this.validateAttachment(t),this.$("img").attr({src:t.url,alt:t.alt,title:t.title});var e=t.id||"";this.val(e),e?this.$control().addClass("has-value"):this.$control().removeClass("has-value")},append:function(t,e){var i=function(t,e){for(var i=acf.getFields({key:t.get("key"),parent:e.$el}),n=0;n<i.length;n++)if(!i[n].val())return i[n];return!1},n=i(this,e);n||(e.$(".acf-button:last").trigger("click"),n=i(this,e)),n&&n.render(t)},selectAttachment:function(){var e=this.parent(),i=e&&"repeater"===e.get("type"),n=acf.newMediaPopup({mode:"select",type:"image",title:acf.__("Select Image"),field:this.get("key"),multiple:i,library:this.get("library"),allowedTypes:this.get("mime_types"),select:t.proxy((function(t,i){i>0?this.append(t,e):this.render(t)}),this)})},editAttachment:function(){var e=this.val();if(e)var i=acf.newMediaPopup({mode:"edit",title:acf.__("Edit Image"),button:acf.__("Update Image"),attachment:e,field:this.get("key"),select:t.proxy((function(t,e){this.render(t)}),this)})},removeAttachment:function(){this.render(!1)},onClickAdd:function(t,e){this.selectAttachment()},onClickEdit:function(t,e){this.editAttachment()},onClickRemove:function(t,e){this.removeAttachment()},onChange:function(e,i){var n=this.$input();acf.getFileInputData(i,(function(e){n.val(t.param(e))}))}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.models.ImageField.extend({type:"file",$control:function(){return this.$(".acf-file-uploader")},$input:function(){return this.$('input[type="hidden"]')},validateAttachment:function(t){return void 0!==(t=t||{}).id&&(t=t.attributes),t=acf.parseArgs(t,{url:"",alt:"",title:"",filename:"",filesizeHumanReadable:"",icon:"/wp-includes/images/media/default.png"})},render:function(t){t=this.validateAttachment(t),this.$("img").attr({src:t.icon,alt:t.alt,title:t.title}),this.$('[data-name="title"]').text(t.title),this.$('[data-name="filename"]').text(t.filename).attr("href",t.url),this.$('[data-name="filesize"]').text(t.filesizeHumanReadable);var e=t.id||"";acf.val(this.$input(),e),e?this.$control().addClass("has-value"):this.$control().removeClass("has-value")},selectAttachment:function(){var e=this.parent(),i=e&&"repeater"===e.get("type"),n=acf.newMediaPopup({mode:"select",title:acf.__("Select File"),field:this.get("key"),multiple:i,library:this.get("library"),allowedTypes:this.get("mime_types"),select:t.proxy((function(t,i){i>0?this.append(t,e):this.render(t)}),this)})},editAttachment:function(){var e=this.val();if(!e)return!1;var i=acf.newMediaPopup({mode:"edit",title:acf.__("Edit File"),button:acf.__("Update File"),attachment:e,field:this.get("key"),select:t.proxy((function(t,e){this.render(t)}),this)})}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"link",events:{'click a[data-name="add"]':"onClickEdit",'click a[data-name="edit"]':"onClickEdit",'click a[data-name="remove"]':"onClickRemove","change .link-node":"onChange"},$control:function(){return this.$(".acf-link")},$node:function(){return this.$(".link-node")},getValue:function(){var t=this.$node();return!!t.attr("href")&&{title:t.html(),url:t.attr("href"),target:t.attr("target")}},setValue:function(t){t=acf.parseArgs(t,{title:"",url:"",target:""});var e=this.$control(),i=this.$node();e.removeClass("-value -external"),t.url&&e.addClass("-value"),"_blank"===t.target&&e.addClass("-external"),this.$(".link-title").html(t.title),this.$(".link-url").attr("href",t.url).html(t.url),i.html(t.title),i.attr("href",t.url),i.attr("target",t.target),this.$(".input-title").val(t.title),this.$(".input-target").val(t.target),this.$(".input-url").val(t.url).trigger("change")},onClickEdit:function(t,e){acf.wpLink.open(this.$node())},onClickRemove:function(t,e){this.setValue(!1)},onChange:function(t,e){var i=this.getValue();this.setValue(i)}});acf.registerFieldType(i),acf.wpLink=new acf.Model({getNodeValue:function(){var t=this.get("node");return{title:acf.decode(t.html()),url:t.attr("href"),target:t.attr("target")}},setNodeValue:function(t){var e=this.get("node");e.text(t.title),e.attr("href",t.url),e.attr("target",t.target),e.trigger("change")},getInputValue:function(){return{title:t("#wp-link-text").val(),url:t("#wp-link-url").val(),target:t("#wp-link-target").prop("checked")?"_blank":""}},setInputValue:function(e){t("#wp-link-text").val(e.title),t("#wp-link-url").val(e.url),t("#wp-link-target").prop("checked","_blank"===e.target)},open:function(e){this.on("wplink-open","onOpen"),this.on("wplink-close","onClose"),this.set("node",e);var i=t('<textarea id="acf-link-textarea" style="display:none;"></textarea>');t("body").append(i);var n=this.getNodeValue();wpLink.open("acf-link-textarea",n.url,n.title,null)},onOpen:function(){t("#wp-link-wrap").addClass("has-text-field");var e=this.getNodeValue();this.setInputValue(e)},close:function(){wpLink.close()},onClose:function(){if(!this.has("node"))return!1;this.off("wplink-open"),this.off("wplink-close");var e=this.getInputValue();this.setNodeValue(e),t("#acf-link-textarea").remove(),this.set("node",null)}})}(jQuery),function(t,e){var i=acf.Field.extend({type:"oembed",events:{'click [data-name="clear-button"]':"onClickClear","keypress .input-search":"onKeypressSearch","keyup .input-search":"onKeyupSearch","change .input-search":"onChangeSearch"},$control:function(){return this.$(".acf-oembed")},$input:function(){return this.$(".input-value")},$search:function(){return this.$(".input-search")},getValue:function(){return this.$input().val()},getSearchVal:function(){return this.$search().val()},setValue:function(t){t?this.$control().addClass("has-value"):this.$control().removeClass("has-value"),acf.val(this.$input(),t)},showLoading:function(t){acf.showLoading(this.$(".canvas"))},hideLoading:function(){acf.hideLoading(this.$(".canvas"))},maybeSearch:function(){var e=this.val(),i=this.getSearchVal();if(!i)return this.clear();if("http"!=i.substr(0,4)&&(i="http://"+i),i!==e){var n=this.get("timeout");n&&clearTimeout(n);var a=t.proxy(this.search,this,i);this.set("timeout",setTimeout(a,300))}},search:function(e){var i={action:"acf/fields/oembed/search",s:e,field_key:this.get("key")},n;(n=this.get("xhr"))&&n.abort(),this.showLoading();var n=t.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(i),type:"post",dataType:"json",context:this,success:function(t){t&&t.html||(t={url:!1,html:""}),this.val(t.url),this.$(".canvas-media").html(t.html)},complete:function(){this.hideLoading()}});this.set("xhr",n)},clear:function(){this.val(""),this.$search().val(""),this.$(".canvas-media").html("")},onClickClear:function(t,e){this.clear()},onKeypressSearch:function(t,e){13==t.which&&(t.preventDefault(),this.maybeSearch())},onKeyupSearch:function(t,e){e.val()&&this.maybeSearch()},onChangeSearch:function(t,e){this.maybeSearch()}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"radio",events:{'click input[type="radio"]':"onClick"},$control:function(){return this.$(".acf-radio-list")},$input:function(){return this.$("input:checked")},$inputText:function(){return this.$('input[type="text"]')},getValue:function(){var t=this.$input().val();return"other"===t&&this.get("other_choice")&&(t=this.$inputText().val()),t},onClick:function(t,e){var i=e.parent("label"),n=i.hasClass("selected"),a=e.val();this.$(".selected").removeClass("selected"),i.addClass("selected"),this.get("allow_null")&&n&&(i.removeClass("selected"),e.prop("checked",!1).trigger("change"),a=!1),this.get("other_choice")&&("other"===a?this.$inputText().prop("disabled",!1):this.$inputText().prop("disabled",!0))}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"range",events:{'input input[type="range"]':"onChange","change input":"onChange"},$input:function(){return this.$('input[type="range"]')},$inputAlt:function(){return this.$('input[type="number"]')},setValue:function(t){this.busy=!0,acf.val(this.$input(),t),acf.val(this.$inputAlt(),this.$input().val(),!0),this.busy=!1},onChange:function(t,e){this.busy||this.setValue(e.val())}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"relationship",events:{"keypress [data-filter]":"onKeypressFilter","change [data-filter]":"onChangeFilter","keyup [data-filter]":"onChangeFilter","click .choices-list .acf-rel-item":"onClickAdd",'click [data-name="remove_item"]':"onClickRemove"},$control:function(){return this.$(".acf-relationship")},$list:function(t){return this.$("."+t+"-list")},$listItems:function(t){return this.$list(t).find(".acf-rel-item")},$listItem:function(t,e){return this.$list(t).find('.acf-rel-item[data-id="'+e+'"]')},getValue:function(){var e=[];return this.$listItems("values").each((function(){e.push(t(this).data("id"))})),!!e.length&&e},newChoice:function(t){return["<li>",'<span data-id="'+t.id+'" class="acf-rel-item">'+t.text+"</span>","</li>"].join("")},newValue:function(t){return["<li>",'<input type="hidden" name="'+this.getInputName()+'[]" value="'+t.id+'" />','<span data-id="'+t.id+'" class="acf-rel-item">'+t.text,'<a href="#" class="acf-icon -minus small dark" data-name="remove_item"></a>',"</span>","</li>"].join("")},initialize:function(){var t=this.proxy(acf.once((function(){this.$list("values").sortable({items:"li",forceHelperSize:!0,forcePlaceholderSize:!0,scroll:!0,update:this.proxy((function(){this.$input().trigger("change")}))}),this.$list("choices").scrollTop(0).on("scroll",this.proxy(this.onScrollChoices)),this.fetch()})));this.$el.one("mouseover",t),this.$el.one("focus","input",t),acf.onceInView(this.$el,t)},onScrollChoices:function(t){if(!this.get("loading")&&this.get("more")){var e=this.$list("choices"),i=Math.ceil(e.scrollTop()),n=Math.ceil(e[0].scrollHeight),a=Math.ceil(e.innerHeight()),r=this.get("paged")||1;i+a>=n&&(this.set("paged",r+1),this.fetch())}},onKeypressFilter:function(t,e){13==t.which&&t.preventDefault()},onChangeFilter:function(t,e){var i=e.val(),n=e.data("filter");this.get(n)!==i&&(this.set(n,i),this.set("paged",1),e.is("select")?this.fetch():this.maybeFetch())},onClickAdd:function(t,e){var i=this.val(),n=parseInt(this.get("max"));if(e.hasClass("disabled"))return!1;if(n>0&&i&&i.length>=n)return this.showNotice({text:acf.__("Maximum values reached ( {max} values )").replace("{max}",n),type:"warning"}),!1;e.addClass("disabled");var a=this.newValue({id:e.data("id"),text:e.html()});this.$list("values").append(a),this.$input().trigger("change")},onClickRemove:function(t,e){t.preventDefault();var i=e.parent(),n=i.parent(),a=i.data("id");n.remove(),this.$listItem("choices",a).removeClass("disabled"),this.$input().trigger("change")},maybeFetch:function(){var t=this.get("timeout");t&&clearTimeout(t),t=this.setTimeout(this.fetch,300),this.set("timeout",t)},getAjaxData:function(){var t=this.$control().data();for(var e in t)t[e]=this.get(e);return t.action="acf/fields/relationship/query",t.field_key=this.get("key"),t=acf.applyFilters("relationship_ajax_data",t,this)},fetch:function(){var e;(e=this.get("xhr"))&&e.abort();var i=this.getAjaxData(),n=this.$list("choices");1==i.paged&&n.html("");var a=t('<li><i class="acf-loading"></i> '+acf.__("Loading")+"</li>");n.append(a),this.set("loading",!0);var r=function(){this.set("loading",!1),a.remove()},o=function(e){if(!e||!e.results||!e.results.length)return this.set("more",!1),void(1==this.get("paged")&&this.$list("choices").append("<li>"+acf.__("No matches found")+"</li>"));this.set("more",e.more);var i=this.walkChoices(e.results),a=t(i),r=this.val();r&&r.length&&r.map((function(t){a.find('.acf-rel-item[data-id="'+t+'"]').addClass("disabled")})),n.append(a);var o=!1,s=!1;n.find(".acf-rel-label").each((function(){var e=t(this),i=e.siblings("ul");if(o&&o.text()==e.text())return s.append(i.children()),void t(this).parent().remove();o=e,s=i}))},e=t.ajax({url:acf.get("ajaxurl"),dataType:"json",type:"post",data:acf.prepareForAjax(i),context:this,success:o,complete:r});this.set("xhr",e)},walkChoices:function(e){var i=function(e){var n="";return t.isArray(e)?e.map((function(t){n+=i(t)})):t.isPlainObject(e)&&(void 0!==e.children?(n+='<li><span class="acf-rel-label">'+e.text+'</span><ul class="acf-bl">',n+=i(e.children),n+="</ul></li>"):n+='<li><span class="acf-rel-item" data-id="'+e.id+'">'+e.text+"</span></li>"),n};return i(e)}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"select",select2:!1,wait:"load",events:{removeField:"onRemove"},$input:function(){return this.$("select")},initialize:function(){var t=this.$input();if(this.inherit(t),this.get("ui")){var e=this.get("ajax_action");e||(e="acf/fields/"+this.get("type")+"/query"),this.select2=acf.newSelect2(t,{field:this,ajax:this.get("ajax"),multiple:this.get("multiple"),placeholder:this.get("placeholder"),allowNull:this.get("allow_null"),ajaxAction:e})}},onRemove:function(){this.select2&&this.select2.destroy()}});acf.registerFieldType(i)}(jQuery),function(t,e){var i="tab",n=acf.Field.extend({type:"tab",wait:"",tabs:!1,tab:!1,findFields:function(){return this.$el.nextUntil(".acf-field-tab",".acf-field")},getFields:function(){return acf.getFields(this.findFields())},findTabs:function(){return this.$el.prevAll(".acf-tab-wrap:first")},findTab:function(){return this.$(".acf-tab-button")},initialize:function(){if(this.$el.is("td"))return this.events={},!1;var t=this.findTabs(),e=this.findTab(),i=acf.parseArgs(e.data(),{endpoint:!1,placement:"",before:this.$el});!t.length||i.endpoint?this.tabs=new r(i):this.tabs=t.data("acf"),this.tab=this.tabs.addTab(e,this)},isActive:function(){return this.tab.isActive()},showFields:function(){this.getFields().map((function(t){t.show(this.cid,"tab"),t.hiddenByTab=!1}),this)},hideFields:function(){this.getFields().map((function(t){t.hide(this.cid,"tab"),t.hiddenByTab=this.tab}),this)},show:function(t){var e=acf.Field.prototype.show.apply(this,arguments);return e&&(this.tab.show(),this.tabs.refresh()),e},hide:function(t){var e=acf.Field.prototype.hide.apply(this,arguments);return e&&(this.tab.hide(),this.isActive()&&this.tabs.reset()),e},enable:function(t){this.getFields().map((function(t){t.enable("tab")}))},disable:function(t){this.getFields().map((function(t){t.disable("tab")}))}});acf.registerFieldType(n);var a=0,r=acf.Model.extend({tabs:[],active:!1,actions:{refresh:"onRefresh"},data:{before:!1,placement:"top",index:0,initialized:!1},setup:function(e){t.extend(this.data,e),this.tabs=[],this.active=!1;var i=this.get("placement"),n=this.get("before"),r=n.parent();"left"==i&&r.hasClass("acf-fields")&&r.addClass("-sidebar"),n.is("tr")?this.$el=t('<tr class="acf-tab-wrap"><td colspan="2"><ul class="acf-hl acf-tab-group"></ul></td></tr>'):this.$el=t('<div class="acf-tab-wrap -'+i+'"><ul class="acf-hl acf-tab-group"></ul></div>'),n.before(this.$el),this.set("index",a,!0),a++},initializeTabs:function(){var t=this.getVisible().shift(),e,i,n=(acf.getPreference("this.tabs")||[])[this.get("index")];this.tabs[n]&&this.tabs[n].isVisible()&&(t=this.tabs[n]),t?this.selectTab(t):this.closeTabs(),this.set("initialized",!0)},getVisible:function(){return this.tabs.filter((function(t){return t.isVisible()}))},getActive:function(){return this.active},setActive:function(t){return this.active=t},hasActive:function(){return!1!==this.active},isActive:function(t){var e=this.getActive();return e&&e.cid===t.cid},closeActive:function(){this.hasActive()&&this.closeTab(this.getActive())},openTab:function(t){this.closeActive(),t.open(),this.setActive(t)},closeTab:function(t){t.close(),this.setActive(!1)},closeTabs:function(){this.tabs.map(this.closeTab,this)},selectTab:function(t){this.tabs.map((function(e){t.cid!==e.cid&&this.closeTab(e)}),this),this.openTab(t)},addTab:function(e,i){var n=t("<li></li>");n.append(e),this.$("ul").append(n);var a=new o({$el:n,field:i,group:this});return this.tabs.push(a),a},reset:function(){return this.closeActive(),this.refresh()},refresh:function(){if(this.hasActive())return!1;var t=this.getVisible().shift();return t&&this.openTab(t),t},onRefresh:function(){if("left"===this.get("placement")){var t=this.$el.parent(),e=this.$el.children("ul"),i=t.is("td")?"height":"min-height",n=e.position().top+e.outerHeight(!0)-1;t.css(i,n)}}}),o=acf.Model.extend({group:!1,field:!1,events:{"click a":"onClick"},index:function(){return this.$el.index()},isVisible:function(){return acf.isVisible(this.$el)},isActive:function(){return this.$el.hasClass("active")},open:function(){this.$el.addClass("active"),this.field.showFields()},close:function(){this.$el.removeClass("active"),this.field.hideFields()},onClick:function(t,e){t.preventDefault(),this.toggle()},toggle:function(){this.isActive()||this.group.openTab(this)}}),s=new acf.Model({priority:50,actions:{prepare:"render",append:"render",unload:"onUnload",invalid_field:"onInvalidField"},findTabs:function(){return t(".acf-tab-wrap")},getTabs:function(){return acf.getInstances(this.findTabs())},render:function(t){this.getTabs().map((function(t){t.get("initialized")||t.initializeTabs()}))},onInvalidField:function(t){this.busy||t.hiddenByTab&&(t.hiddenByTab.toggle(),this.busy=!0,this.setTimeout((function(){this.busy=!1}),100))},onUnload:function(){var t=[];this.getTabs().map((function(e){var i=e.hasActive()?e.getActive().index():0;t.push(i)})),t.length&&acf.setPreference("this.tabs",t)}})}(jQuery),function(t,e){var i=acf.models.SelectField.extend({type:"post_object"});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.models.SelectField.extend({type:"page_link"});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.models.SelectField.extend({type:"user"});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"taxonomy",data:{ftype:"select"},select2:!1,wait:"load",events:{
|
3 |
+
'click a[data-name="add"]':"onClickAdd",'click input[type="radio"]':"onClickRadio"},$control:function(){return this.$(".acf-taxonomy-field")},$input:function(){return this.getRelatedPrototype().$input.apply(this,arguments)},getRelatedType:function(){var t=this.get("ftype");return"multi_select"==t&&(t="select"),t},getRelatedPrototype:function(){return acf.getFieldType(this.getRelatedType()).prototype},getValue:function(){return this.getRelatedPrototype().getValue.apply(this,arguments)},setValue:function(){return this.getRelatedPrototype().setValue.apply(this,arguments)},initialize:function(){this.getRelatedPrototype().initialize.apply(this,arguments)},onRemove:function(){this.select2&&this.select2.destroy()},onClickAdd:function(e,i){var n=this,a=!1,r=!1,o=!1,s=!1,c=!1,l=!1,u=!1,d=function(){a=acf.newPopup({title:i.attr("title"),loading:!0,width:"300px"});var e={action:"acf/fields/taxonomy/add_term",field_key:n.get("key")};t.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(e),type:"post",dataType:"html",success:f})},f=function(t){a.loading(!1),a.content(t),r=a.$("form"),o=a.$('input[name="term_name"]'),s=a.$('select[name="term_parent"]'),c=a.$(".acf-submit-button"),o.focus(),a.on("submit","form",h)},h=function(e,i){if(e.preventDefault(),e.stopImmediatePropagation(),""===o.val())return o.focus(),!1;acf.startButtonLoading(c);var a={action:"acf/fields/taxonomy/add_term",field_key:n.get("key"),term_name:o.val(),term_parent:s.length?s.val():0};t.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(a),type:"post",dataType:"json",success:p})},p=function(t){acf.stopButtonLoading(c),u&&u.remove(),acf.isAjaxSuccess(t)?(o.val(""),g(t.data),u=acf.newNotice({type:"success",text:acf.getAjaxMessage(t),target:r,timeout:2e3,dismiss:!1})):u=acf.newNotice({type:"error",text:acf.getAjaxError(t),target:r,timeout:2e3,dismiss:!1}),o.focus()},g=function(e){var i=t('<option value="'+e.term_id+'">'+e.term_label+"</option>"),a;e.term_parent?s.children('option[value="'+e.term_parent+'"]').after(i):s.append(i),acf.getFields({type:"taxonomy"}).map((function(t){t.get("taxonomy")==n.get("taxonomy")&&t.appendTerm(e)})),n.selectTerm(e.term_id)};d()},appendTerm:function(t){"select"==this.getRelatedType()?this.appendTermSelect(t):this.appendTermCheckbox(t)},appendTermSelect:function(t){this.select2.addOption({id:t.term_id,text:t.term_label})},appendTermCheckbox:function(e){var i=this.$("[name]:first").attr("name"),n=this.$("ul:first");"checkbox"==this.getRelatedType()&&(i+="[]");var a=t(['<li data-id="'+e.term_id+'">',"<label>",'<input type="'+this.get("ftype")+'" value="'+e.term_id+'" name="'+i+'" /> ',"<span>"+e.term_name+"</span>","</label>","</li>"].join(""));if(e.term_parent){var r=n.find('li[data-id="'+e.term_parent+'"]');(n=r.children("ul")).exists()||(n=t('<ul class="children acf-bl"></ul>'),r.append(n))}n.append(a)},selectTerm:function(t){var e;"select"==this.getRelatedType()?this.select2.selectOption(t):this.$('input[value="'+t+'"]').prop("checked",!0).trigger("change")},onClickRadio:function(t,e){var i=e.parent("label"),n=i.hasClass("selected");this.$(".selected").removeClass("selected"),i.addClass("selected"),this.get("allow_null")&&n&&(i.removeClass("selected"),e.prop("checked",!1).trigger("change"))}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.models.DatePickerField.extend({type:"time_picker",$control:function(){return this.$(".acf-time-picker")},initialize:function(){var t=this.$input(),e=this.$inputText(),i={timeFormat:this.get("time_format"),altField:t,altFieldTimeOnly:!1,altTimeFormat:"HH:mm:ss",showButtonPanel:!0,controlType:"select",oneLine:!0,closeText:acf.get("dateTimePickerL10n").selectText,timeOnly:!0,onClose:function(t,e,i){var n=e.dpDiv.find(".ui-datepicker-close");!t&&n.is(":hover")&&i._updateDateTime()}};i=acf.applyFilters("time_picker_args",i,this),acf.newTimePicker(e,i),acf.doAction("time_picker_init",e,i,this)}});acf.registerFieldType(i),acf.newTimePicker=function(e,i){if(void 0===t.timepicker)return!1;i=i||{},e.timepicker(i),t("body > #ui-datepicker-div").exists()&&t("body > #ui-datepicker-div").wrap('<div class="acf-ui-datepicker" />')}}(jQuery),function(t,e){var i=acf.Field.extend({type:"true_false",events:{"change .acf-switch-input":"onChange","focus .acf-switch-input":"onFocus","blur .acf-switch-input":"onBlur","keypress .acf-switch-input":"onKeypress"},$input:function(){return this.$('input[type="checkbox"]')},$switch:function(){return this.$(".acf-switch")},getValue:function(){return this.$input().prop("checked")?1:0},initialize:function(){this.render()},render:function(){var t=this.$switch();if(t.length){var e=t.children(".acf-switch-on"),i=t.children(".acf-switch-off"),n=Math.max(e.width(),i.width());n&&(e.css("min-width",n),i.css("min-width",n))}},switchOn:function(){this.$input().prop("checked",!0),this.$switch().addClass("-on")},switchOff:function(){this.$input().prop("checked",!1),this.$switch().removeClass("-on")},onChange:function(t,e){e.prop("checked")?this.switchOn():this.switchOff()},onFocus:function(t,e){this.$switch().addClass("-focus")},onBlur:function(t,e){this.$switch().removeClass("-focus")},onKeypress:function(t,e){return 37===t.keyCode?this.switchOff():39===t.keyCode?this.switchOn():void 0}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"url",events:{'keyup input[type="url"]':"onkeyup"},$control:function(){return this.$(".acf-input-wrap")},$input:function(){return this.$('input[type="url"]')},initialize:function(){this.render()},isValid:function(){var t=this.val();return!!t&&(-1!==t.indexOf("://")||0===t.indexOf("//"))},render:function(){this.isValid()?this.$control().addClass("-valid"):this.$control().removeClass("-valid")},onkeyup:function(t,e){this.render()}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"wysiwyg",wait:"load",events:{"mousedown .acf-editor-wrap.delay":"onMousedown",unmountField:"disableEditor",remountField:"enableEditor",removeField:"disableEditor"},$control:function(){return this.$(".acf-editor-wrap")},$input:function(){return this.$("textarea")},getMode:function(){return this.$control().hasClass("tmce-active")?"visual":"text"},initialize:function(){this.$control().hasClass("delay")||this.initializeEditor()},initializeEditor:function(){var t=this.$control(),e=this.$input(),i={tinymce:!0,quicktags:!0,toolbar:this.get("toolbar"),mode:this.getMode(),field:this},n=e.attr("id"),a=acf.uniqueId("acf-editor-"),r=e.data();acf.rename({target:t,search:n,replace:a,destructive:!0}),this.set("id",a,!0),acf.tinymce.initialize(a,i),this.$input().data(r)},onMousedown:function(t){t.preventDefault();var e=this.$control();e.removeClass("delay"),e.find(".acf-editor-toolbar").remove(),this.initializeEditor()},enableEditor:function(){"visual"==this.getMode()&&acf.tinymce.enable(this.get("id"))},disableEditor:function(){acf.tinymce.destroy(this.get("id"))}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=[];acf.Condition=acf.Model.extend({type:"",operator:"==",label:"",choiceType:"input",fieldTypes:[],data:{conditions:!1,field:!1,rule:{}},events:{change:"change",keyup:"change",enableField:"change",disableField:"change"},setup:function(e){t.extend(this.data,e)},getEventTarget:function(t,e){return t||this.get("field").$el},change:function(t,e){this.get("conditions").change(t)},match:function(t,e){return!1},calculate:function(){return this.match(this.get("rule"),this.get("field"))},choices:function(t){return'<input type="text" />'}}),acf.newCondition=function(t,e){var i=e.get("field"),n=i.getField(t.field);if(!i||!n)return!1;var a={rule:t,target:i,conditions:e,field:n},r=n.get("type"),o=t.operator,s,c,l;return new(acf.getConditionTypes({fieldType:r,operator:o})[0]||acf.Condition)(a)};var n=function(t){return acf.strPascalCase(t||"")+"Condition"};acf.registerConditionType=function(t){var e,a=t.prototype.type,r=n(a);acf.models[r]=t,i.push(a)},acf.getConditionType=function(t){var e=n(t);return acf.models[e]||!1},acf.registerConditionForFieldType=function(t,e){var i=acf.getConditionType(t);i&&i.prototype.fieldTypes.push(e)},acf.getConditionTypes=function(t){t=acf.parseArgs(t,{fieldType:"",operator:""});var e=[];return i.map((function(i){var n=acf.getConditionType(i),a=n.prototype.fieldTypes,r=n.prototype.operator;t.fieldType&&-1===a.indexOf(t.fieldType)||t.operator&&r!==t.operator||e.push(n)})),e}}(jQuery),function(t,e){var i="conditional_logic",n=new acf.Model({id:"conditionsManager",priority:20,actions:{new_field:"onNewField"},onNewField:function(t){t.has("conditions")&&t.getConditions().render()}}),a=function(t,e){var i=acf.getFields({key:e,sibling:t.$el,suppressFilters:!0});return i.length||(i=acf.getFields({key:e,parent:t.$el.parent(),suppressFilters:!0})),!!i.length&&i[0]};acf.Field.prototype.getField=function(t){var e=a(this,t);if(e)return e;for(var i=this.parents(),n=0;n<i.length;n++)if(e=a(i[n],t))return e;return!1},acf.Field.prototype.getConditions=function(){return this.conditions||(this.conditions=new o(this)),this.conditions};var r=!1,o=acf.Model.extend({id:"Conditions",data:{field:!1,timeStamp:!1,groups:[]},setup:function(t){this.data.field=t;var e=t.get("conditions");e instanceof Array?e[0]instanceof Array?e.map((function(t,e){this.addRules(t,e)}),this):this.addRules(e):this.addRule(e)},change:function(t){if(this.get("timeStamp")===t.timeStamp)return!1;this.set("timeStamp",t.timeStamp,!0);var e=this.render()},render:function(){return this.calculate()?this.show():this.hide()},show:function(){return this.get("field").showEnable(this.cid,i)},hide:function(){return this.get("field").hideDisable(this.cid,i)},calculate:function(){var t=!1;return this.getGroups().map((function(e){var i;t||e.filter((function(t){return t.calculate()})).length==e.length&&(t=!0)})),t},hasGroups:function(){return null!=this.data.groups},getGroups:function(){return this.data.groups},addGroup:function(){var t=[];return this.data.groups.push(t),t},hasGroup:function(t){return null!=this.data.groups[t]},getGroup:function(t){return this.data.groups[t]},removeGroup:function(t){return this.data.groups[t].delete,this},addRules:function(t,e){t.map((function(t){this.addRule(t,e)}),this)},addRule:function(t,e){var i;e=e||0,i=this.hasGroup(e)?this.getGroup(e):this.addGroup();var n=acf.newCondition(t,this);if(!n)return!1;i.push(n)},hasRule:function(){},getRule:function(t,e){return t=t||0,e=e||0,this.data.groups[e][t]},removeRule:function(){}})}(jQuery),function(t,e){var i=acf.__,n=function(t){return t?""+t:""},a=function(t,e){return n(t).toLowerCase()===n(e).toLowerCase()},r=function(t,e){return parseFloat(t)===parseFloat(e)},o=function(t,e){return parseFloat(t)>parseFloat(e)},s=function(t,e){return parseFloat(t)<parseFloat(e)},c=function(t,e){return(e=e.map((function(t){return n(t)}))).indexOf(t)>-1},l=function(t,e){return n(t).indexOf(n(e))>-1},u=function(t,e){var i=new RegExp(n(e),"gi");return n(t).match(i)},d=acf.Condition.extend({type:"hasValue",operator:"!=empty",label:i("Has any value"),fieldTypes:["text","textarea","number","range","email","url","password","image","file","wysiwyg","oembed","select","checkbox","radio","button_group","link","post_object","page_link","relationship","taxonomy","user","google_map","date_picker","date_time_picker","time_picker","color_picker"],match:function(t,e){return!!e.val()},choices:function(t){return'<input type="text" disabled="" />'}});acf.registerConditionType(d);var f=d.extend({type:"hasNoValue",operator:"==empty",label:i("Has no value"),match:function(t,e){return!d.prototype.match.apply(this,arguments)}});acf.registerConditionType(f);var h=acf.Condition.extend({type:"equalTo",operator:"==",label:i("Value is equal to"),fieldTypes:["text","textarea","number","range","email","url","password"],match:function(e,i){return t.isNumeric(e.value)?r(e.value,i.val()):a(e.value,i.val())},choices:function(t){return'<input type="text" />'}});acf.registerConditionType(h);var p=h.extend({type:"notEqualTo",operator:"!=",label:i("Value is not equal to"),match:function(t,e){return!h.prototype.match.apply(this,arguments)}});acf.registerConditionType(p);var g=acf.Condition.extend({type:"patternMatch",operator:"==pattern",label:i("Value matches pattern"),fieldTypes:["text","textarea","email","url","password","wysiwyg"],match:function(t,e){return u(e.val(),t.value)},choices:function(t){return'<input type="text" placeholder="[a-z0-9]" />'}});acf.registerConditionType(g);var m=acf.Condition.extend({type:"contains",operator:"==contains",label:i("Value contains"),fieldTypes:["text","textarea","number","email","url","password","wysiwyg","oembed","select"],match:function(t,e){return l(e.val(),t.value)},choices:function(t){return'<input type="text" />'}});acf.registerConditionType(m);var v=h.extend({type:"trueFalseEqualTo",choiceType:"select",fieldTypes:["true_false"],choices:function(t){return[{id:1,text:i("Checked")}]}});acf.registerConditionType(v);var y=p.extend({type:"trueFalseNotEqualTo",choiceType:"select",fieldTypes:["true_false"],choices:function(t){return[{id:1,text:i("Checked")}]}});acf.registerConditionType(y);var b=acf.Condition.extend({type:"selectEqualTo",operator:"==",label:i("Value is equal to"),fieldTypes:["select","checkbox","radio","button_group"],match:function(t,e){var i=e.val();return i instanceof Array?c(t.value,i):a(t.value,i)},choices:function(e){var n=[],a=e.$setting("choices textarea").val().split("\n");return e.$input("allow_null").prop("checked")&&n.push({id:"",text:i("Null")}),a.map((function(e){(e=e.split(":"))[1]=e[1]||e[0],n.push({id:t.trim(e[0]),text:t.trim(e[1])})})),n}});acf.registerConditionType(b);var _=b.extend({type:"selectNotEqualTo",operator:"!=",label:i("Value is not equal to"),match:function(t,e){return!b.prototype.match.apply(this,arguments)}});acf.registerConditionType(_);var w=acf.Condition.extend({type:"greaterThan",operator:">",label:i("Value is greater than"),fieldTypes:["number","range"],match:function(t,e){var i=e.val();return i instanceof Array&&(i=i.length),o(i,t.value)},choices:function(t){return'<input type="number" />'}});acf.registerConditionType(w);var x=w.extend({type:"lessThan",operator:"<",label:i("Value is less than"),match:function(t,e){var i=e.val();return i instanceof Array&&(i=i.length),s(i,t.value)},choices:function(t){return'<input type="number" />'}});acf.registerConditionType(x);var $=w.extend({type:"selectionGreaterThan",label:i("Selection is greater than"),fieldTypes:["checkbox","select","post_object","page_link","relationship","taxonomy","user"]});acf.registerConditionType($);var k=x.extend({type:"selectionLessThan",label:i("Selection is less than"),fieldTypes:["checkbox","select","post_object","page_link","relationship","taxonomy","user"]});acf.registerConditionType(k)}(jQuery),function(t,e){acf.newMediaPopup=function(t){var e=null,t=acf.parseArgs(t,{mode:"select",title:"",button:"",type:"",field:!1,allowedTypes:"",library:"all",multiple:!1,attachment:0,autoOpen:!0,open:function(){},select:function(){},close:function(){}});return e="edit"==t.mode?new acf.models.EditMediaPopup(t):new acf.models.SelectMediaPopup(t),t.autoOpen&&setTimeout((function(){e.open()}),1),acf.doAction("new_media_popup",e),e};var i=function(){var e=acf.get("post_id");return t.isNumeric(e)?e:0};acf.getMimeTypes=function(){return this.get("mimeTypes")},acf.getMimeType=function(t){var e=acf.getMimeTypes();if(void 0!==e[t])return e[t];for(var i in e)if(-1!==i.indexOf(t))return e[i];return!1};var n=acf.Model.extend({id:"MediaPopup",data:{},defaults:{},frame:!1,setup:function(e){t.extend(this.data,e)},initialize:function(){var t=this.getFrameOptions();this.addFrameStates(t);var e=wp.media(t);e.acf=this,this.addFrameEvents(e,t),this.frame=e},open:function(){this.frame.open()},close:function(){this.frame.close()},remove:function(){this.frame.detach(),this.frame.remove()},getFrameOptions:function(){var t={title:this.get("title"),multiple:this.get("multiple"),library:{},states:[]};return this.get("type")&&(t.library.type=this.get("type")),"uploadedTo"===this.get("library")&&(t.library.uploadedTo=i()),this.get("attachment")&&(t.library.post__in=[this.get("attachment")]),this.get("button")&&(t.button={text:this.get("button")}),t},addFrameStates:function(t){var e=wp.media.query(t.library);this.get("field")&&acf.isset(e,"mirroring","args")&&(e.mirroring.args._acfuploader=this.get("field")),t.states.push(new wp.media.controller.Library({library:e,multiple:this.get("multiple"),title:this.get("title"),priority:20,filterable:"all",editable:!0,allowLocalEdits:!0})),acf.isset(wp,"media","controller","EditImage")&&t.states.push(new wp.media.controller.EditImage)},addFrameEvents:function(t,e){t.on("open",(function(){this.$el.closest(".media-modal").addClass("acf-media-modal -"+this.acf.get("mode"))}),t),t.on("content:render:edit-image",(function(){var t=this.state().get("image"),e=new wp.media.view.EditImage({model:t,controller:this}).render();this.content.set(e),e.loadEditor()}),t),t.on("select",(function(){var e=t.state().get("selection");e&&e.each((function(e,i){t.acf.get("select").apply(t.acf,[e,i])}))})),t.on("close",(function(){setTimeout((function(){t.acf.get("close").apply(t.acf),t.acf.remove()}),1)}))}});acf.models.SelectMediaPopup=n.extend({id:"SelectMediaPopup",setup:function(t){t.button||(t.button=acf._x("Select","verb")),n.prototype.setup.apply(this,arguments)},addFrameEvents:function(t,e){acf.isset(_wpPluploadSettings,"defaults","multipart_params")&&(_wpPluploadSettings.defaults.multipart_params._acfuploader=this.get("field"),t.on("open",(function(){delete _wpPluploadSettings.defaults.multipart_params._acfuploader}))),t.on("content:activate:browse",(function(){var e=!1;try{e=t.content.get().toolbar}catch(t){return void console.log(t)}t.acf.customizeFilters.apply(t.acf,[e])})),n.prototype.addFrameEvents.apply(this,arguments)},customizeFilters:function(e){var i=e.get("filters"),n;("image"==this.get("type")&&(i.filters.all.text=acf.__("All images"),delete i.filters.audio,delete i.filters.video,delete i.filters.image,t.each(i.filters,(function(t,e){e.props.type=e.props.type||"image"}))),this.get("allowedTypes"))&&this.get("allowedTypes").split(" ").join("").split(".").join("").split(",").map((function(t){var e=acf.getMimeType(t);if(e){var n={text:e,props:{status:null,type:e,uploadedTo:null,orderby:"date",order:"DESC"},priority:20};i.filters[e]=n}}));if("uploadedTo"===this.get("library")){var a=this.frame.options.library.uploadedTo;delete i.filters.unattached,delete i.filters.uploaded,t.each(i.filters,(function(t,e){e.text+=" ("+acf.__("Uploaded to this post")+")",e.props.uploadedTo=a}))}var r=this.get("field"),o;t.each(i.filters,(function(t,e){e.props._acfuploader=r})),e.get("search").model.attributes._acfuploader=r,i.renderFilters&&i.renderFilters()}}),acf.models.EditMediaPopup=n.extend({id:"SelectMediaPopup",setup:function(t){t.button||(t.button=acf._x("Update","verb")),n.prototype.setup.apply(this,arguments)},addFrameEvents:function(t,e){t.on("open",(function(){this.$el.closest(".media-modal").addClass("acf-expanded"),"browse"!=this.content.mode()&&this.content.mode("browse");var e,i=this.state().get("selection"),n=wp.media.attachment(t.acf.get("attachment"));i.add(n)}),t),n.prototype.addFrameEvents.apply(this,arguments)}});var a=new acf.Model({id:"customizePrototypes",wait:"ready",initialize:function(){if(acf.isset(window,"wp","media","view")){var t=i();t&&acf.isset(wp,"media","view","settings","post")&&(wp.media.view.settings.post.id=t),this.customizeAttachmentsButton(),this.customizeAttachmentsRouter(),this.customizeAttachmentFilters(),this.customizeAttachmentCompat(),this.customizeAttachmentLibrary()}},customizeAttachmentsButton:function(){if(acf.isset(wp,"media","view","Button")){var t=wp.media.view.Button;wp.media.view.Button=t.extend({initialize:function(){var t=_.defaults(this.options,this.defaults);this.model=new Backbone.Model(t),this.listenTo(this.model,"change",this.render)}})}},customizeAttachmentsRouter:function(){if(acf.isset(wp,"media","view","Router")){var e=wp.media.view.Router;wp.media.view.Router=e.extend({addExpand:function(){var e=t(['<a href="#" class="acf-expand-details">','<span class="is-closed"><span class="acf-icon -left small grey"></span>'+acf.__("Expand Details")+"</span>",'<span class="is-open"><span class="acf-icon -right small grey"></span>'+acf.__("Collapse Details")+"</span>","</a>"].join(""));e.on("click",(function(e){e.preventDefault();var i=t(this).closest(".media-modal");i.hasClass("acf-expanded")?i.removeClass("acf-expanded"):i.addClass("acf-expanded")})),this.$el.append(e)},initialize:function(){return e.prototype.initialize.apply(this,arguments),this.addExpand(),this}})}},customizeAttachmentFilters:function(){var e;acf.isset(wp,"media","view","AttachmentFilters","All")&&(wp.media.view.AttachmentFilters.All.prototype.renderFilters=function(){this.$el.html(_.chain(this.filters).map((function(e,i){return{el:t("<option></option>").val(i).html(e.text)[0],priority:e.priority||50}}),this).sortBy("priority").pluck("el").value())})},customizeAttachmentCompat:function(){if(acf.isset(wp,"media","view","AttachmentCompat")){var e=wp.media.view.AttachmentCompat,i=!1;wp.media.view.AttachmentCompat=e.extend({render:function(){return this.rendered?this:(e.prototype.render.apply(this,arguments),this.$("#acf-form-data").length?(clearTimeout(i),i=setTimeout(t.proxy((function(){this.rendered=!0,acf.doAction("append",this.$el)}),this),50),this):this)},save:function(t){var e={};t&&t.preventDefault(),e=acf.serializeForAjax(this.$el),this.controller.trigger("attachment:compat:waiting",["waiting"]),this.model.saveCompat(e).always(_.bind(this.postSave,this))}})}},customizeAttachmentLibrary:function(){if(acf.isset(wp,"media","view","Attachment","Library")){var t=wp.media.view.Attachment.Library;wp.media.view.Attachment.Library=t.extend({render:function(){var e=acf.isget(this,"controller","acf"),i=acf.isget(this,"model","attributes");if(e&&i){i.acf_errors&&this.$el.addClass("acf-disabled");var n=e.get("selected");n&&n.indexOf(i.id)>-1&&this.$el.addClass("acf-selected")}return t.prototype.render.apply(this,arguments)},toggleSelection:function(e){var i=this.collection,n=this.options.selection,a=this.model,r=n.single(),o=this.controller,s=acf.isget(this,"model","attributes","acf_errors"),c=o.$el.find(".media-frame-content .media-sidebar");if(c.children(".acf-selection-error").remove(),c.children().removeClass("acf-hidden"),o&&s){var l=acf.isget(this,"model","attributes","filename");return c.children().addClass("acf-hidden"),c.prepend(['<div class="acf-selection-error">','<span class="selection-error-label">'+acf.__("Restricted")+"</span>",'<span class="selection-error-filename">'+l+"</span>",'<span class="selection-error-message">'+s+"</span>","</div>"].join("")),n.reset(),void n.single(a)}return t.prototype.toggleSelection.apply(this,arguments)}})}}})}(jQuery),function(t,e){acf.screen=new acf.Model({active:!0,xhr:!1,timeout:!1,wait:"load",events:{"change #page_template":"onChange","change #parent_id":"onChange","change #post-formats-select":"onChange","change .categorychecklist":"onChange","change .tagsdiv":"onChange",'change .acf-taxonomy-field[data-save="1"]':"onChange","change #product-type":"onChange"},isPost:function(){return"post"===acf.get("screen")},isUser:function(){return"user"===acf.get("screen")},isTaxonomy:function(){return"taxonomy"===acf.get("screen")},isAttachment:function(){return"attachment"===acf.get("screen")},isNavMenu:function(){return"nav_menu"===acf.get("screen")},isWidget:function(){return"widget"===acf.get("screen")},isComment:function(){return"comment"===acf.get("screen")},getPageTemplate:function(){var e=t("#page_template");return e.length?e.val():null},getPageParent:function(e,i){var i;return(i=t("#parent_id")).length?i.val():null},getPageType:function(t,e){return this.getPageParent()?"child":"parent"},getPostType:function(){return t("#post_type").val()},getPostFormat:function(e,i){var i;if((i=t("#post-formats-select input:checked")).length){var n=i.val();return"0"==n?"standard":n}return null},getPostCoreTerms:function(){var e={},i=acf.serialize(t(".categorydiv, .tagsdiv"));for(var n in i.tax_input&&(e=i.tax_input),i.post_category&&(e.category=i.post_category),e)acf.isArray(e[n])||(e[n]=e[n].split(/,[\s]?/));return e},getPostTerms:function(){var t=this.getPostCoreTerms();for(var e in acf.getFields({type:"taxonomy"}).map((function(e){if(e.get("save")){var i=e.val(),n=e.get("taxonomy");i&&(t[n]=t[n]||[],i=acf.isArray(i)?i:[i],t[n]=t[n].concat(i))}})),null!==(productType=this.getProductType())&&(t.product_type=[productType]),t)t[e]=acf.uniqueArray(t[e]);return t},getProductType:function(){var e=t("#product-type");return e.length?e.val():null},check:function(){if("post"===acf.get("screen")){this.xhr&&this.xhr.abort();var e=acf.parseArgs(this.data,{action:"acf/ajax/check_screen",screen:acf.get("screen"),exists:[]});this.isPost()&&(e.post_id=acf.get("post_id")),null!==(postType=this.getPostType())&&(e.post_type=postType),null!==(pageTemplate=this.getPageTemplate())&&(e.page_template=pageTemplate),null!==(pageParent=this.getPageParent())&&(e.page_parent=pageParent),null!==(pageType=this.getPageType())&&(e.page_type=pageType),null!==(postFormat=this.getPostFormat())&&(e.post_format=postFormat),null!==(postTerms=this.getPostTerms())&&(e.post_terms=postTerms),acf.getPostboxes().map((function(t){e.exists.push(t.get("key"))})),e=acf.applyFilters("check_screen_args",e);var i=function(t){acf.isAjaxSuccess(t)&&("post"==acf.get("screen")?this.renderPostScreen(t.data):"user"==acf.get("screen")&&this.renderUserScreen(t.data)),acf.doAction("check_screen_complete",t.data,e)};this.xhr=t.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(e),type:"post",dataType:"json",context:this,success:i})}},onChange:function(t,e){this.setTimeout(this.check,1)},renderPostScreen:function(e){var i=function(e,i){var n=t._data(e[0]).events;for(var a in n)for(var r=0;r<n[a].length;r++)i.on(a,n[a][r].handler)},n=function(e,i){var n=i.indexOf(e);if(-1==n)return!1;for(var a=n-1;a>=0;a--)if(t("#"+i[a]).length)return t("#"+i[a]).after(t("#"+e));for(var a=n+1;a<i.length;a++)if(t("#"+i[a]).length)return t("#"+i[a]).before(t("#"+e));return!1};e.visible=[],e.hidden=[],e.results=e.results.map((function(a,r){var o=acf.getPostbox(a.id);if(acf.isGutenberg()&&"acf_after_title"==a.position&&(a.position="normal"),!o){var s=t(['<div id="'+a.id+'" class="postbox">','<button type="button" class="handlediv" aria-expanded="false">','<span class="screen-reader-text">Toggle panel: '+a.title+"</span>",'<span class="toggle-indicator" aria-hidden="true"></span>',"</button>",'<h2 class="hndle ui-sortable-handle">',"<span>"+a.title+"</span>","</h2>",'<div class="inside">',a.html,"</div>","</div>"].join(""));if(t("#adv-settings").length){var c=t("#adv-settings .metabox-prefs"),l=t(['<label for="'+a.id+'-hide">','<input class="hide-postbox-tog" name="'+a.id+'-hide" type="checkbox" id="'+a.id+'-hide" value="'+a.id+'" checked="checked">'," "+a.title,"</label>"].join(""));i(c.find("input").first(),l.find("input")),c.append(l)}t(".postbox").length&&(i(t(".postbox .handlediv").first(),s.children(".handlediv")),i(t(".postbox .hndle").first(),s.children(".hndle"))),"side"===a.position?t("#"+a.position+"-sortables").append(s):t("#"+a.position+"-sortables").prepend(s);var u=[];if(e.results.map((function(e){a.position===e.position&&t("#"+a.position+"-sortables #"+e.id).length&&u.push(e.id)})),n(a.id,u),e.sorted)for(var d in e.sorted){var u=e.sorted[d].split(",");if(n(a.id,u))break}o=acf.newPostbox(a),acf.doAction("append",s),acf.doAction("append_postbox",o)}return o.showEnable(),e.visible.push(a.id),a})),acf.getPostboxes().map((function(t){-1===e.visible.indexOf(t.get("id"))&&(t.hideDisable(),e.hidden.push(t.get("id")))})),t("#acf-style").html(e.style),acf.doAction("refresh_post_screen",e)},renderUserScreen:function(t){}});var i=new acf.Model({postEdits:{},wait:"load",initialize:function(){var t;acf.isGutenberg()&&(wp.data.subscribe(acf.debounce(this.onChange).bind(this)),acf.screen.getPageTemplate=this.getPageTemplate,acf.screen.getPageParent=this.getPageParent,acf.screen.getPostType=this.getPostType,acf.screen.getPostFormat=this.getPostFormat,acf.screen.getPostCoreTerms=this.getPostCoreTerms,acf.unload.disable(),parseFloat(acf.get("wp_version"))>=5.3&&this.addAction("refresh_post_screen",this.onRefreshPostScreen))},onChange:function(){var t=["template","parent","format"];(wp.data.select("core").getTaxonomies()||[]).map((function(e){t.push(e.rest_base)}));var e=wp.data.select("core/editor").getPostEdits(),i={};t.map((function(t){void 0!==e[t]&&(i[t]=e[t])})),JSON.stringify(i)!==JSON.stringify(this.postEdits)&&(this.postEdits=i,acf.screen.check())},getPageTemplate:function(){return wp.data.select("core/editor").getEditedPostAttribute("template")},getPageParent:function(t,e){return wp.data.select("core/editor").getEditedPostAttribute("parent")},getPostType:function(){return wp.data.select("core/editor").getEditedPostAttribute("type")},getPostFormat:function(t,e){return wp.data.select("core/editor").getEditedPostAttribute("format")},getPostCoreTerms:function(){var t={},e;return(wp.data.select("core").getTaxonomies()||[]).map((function(e){var i=wp.data.select("core/editor").getEditedPostAttribute(e.rest_base);i&&(t[e.slug]=i)})),t},onRefreshPostScreen:function(t){var e=wp.data.select("core/edit-post"),i=wp.data.dispatch("core/edit-post"),n={};e.getActiveMetaBoxLocations().map((function(t){n[t]=e.getMetaBoxesPerLocation(t)}));var a=[];for(var r in n)n[r].map((function(t){a.push(t.id)}));for(var r in t.results.filter((function(t){return-1===a.indexOf(t.id)})).map((function(t,e){var i=t.position;n[i]=n[i]||[],n[i].push({id:t.id,title:t.title})})),n)n[r]=n[r].filter((function(e){return-1===t.hidden.indexOf(e.id)}));i.setAvailableMetaBoxesPerLocation(n)}})}(jQuery),function(t,e){function i(){return acf.isset(window,"jQuery","fn","select2","amd")?4:!!acf.isset(window,"Select2")&&3}acf.newSelect2=function(t,e){if(e=acf.parseArgs(e,{allowNull:!1,placeholder:"",multiple:!1,field:!1,ajax:!1,ajaxAction:"",ajaxData:function(t){return t},ajaxResults:function(t){return t}}),4==i())var n=new a(t,e);else var n=new r(t,e);return acf.doAction("new_select2",n),n};var n=acf.Model.extend({setup:function(e,i){t.extend(this.data,i),this.$el=e},initialize:function(){},selectOption:function(t){var e=this.getOption(t);e.prop("selected")||e.prop("selected",!0).trigger("change")},unselectOption:function(t){var e=this.getOption(t);e.prop("selected")&&e.prop("selected",!1).trigger("change")},getOption:function(t){return this.$('option[value="'+t+'"]')},addOption:function(e){e=acf.parseArgs(e,{id:"",text:"",selected:!1});var i=this.getOption(e.id);return i.length||((i=t("<option></option>")).html(e.text),i.attr("value",e.id),i.prop("selected",e.selected),this.$el.append(i)),i},getValue:function(){var e=[],i=this.$el.find("option:selected");return i.exists()?((i=i.sort((function(t,e){return+t.getAttribute("data-i")-+e.getAttribute("data-i")}))).each((function(){var i=t(this);e.push({$el:i,id:i.attr("value"),text:i.text()})})),e):e},mergeOptions:function(){},getChoices:function(){var e=function(i){var n=[];return i.children().each((function(){var i=t(this);i.is("optgroup")?n.push({text:i.attr("label"),children:e(i)}):n.push({id:i.attr("value"),text:i.text()})})),n};return e(this.$el)},decodeChoices:function(t){var e=function(t){return t.map((function(t){return t.text=acf.decode(t.text),t.children&&(t.children=e(t.children)),t})),t};return e(t)},getAjaxData:function(t){var e={action:this.get("ajaxAction"),s:t.term||"",paged:t.page||1},i=this.get("field");i&&(e.field_key=i.get("key"));var n=this.get("ajaxData");return n&&(e=n.apply(this,[e,t])),e=acf.applyFilters("select2_ajax_data",e,this.data,this.$el,i||!1,this),acf.prepareForAjax(e)},getAjaxResults:function(t,e){(t=acf.parseArgs(t,{results:!1,more:!1})).results&&(t.results=this.decodeChoices(t.results));var i=this.get("ajaxResults");return i&&(t=i.apply(this,[t,e])),
|
4 |
+
t=acf.applyFilters("select2_ajax_results",t,e,this)},processAjaxResults:function(e,i){var e;return(e=this.getAjaxResults(e,i)).more&&(e.pagination={more:!0}),setTimeout(t.proxy(this.mergeOptions,this),1),e},destroy:function(){this.$el.data("select2")&&this.$el.select2("destroy"),this.$el.siblings(".select2-container").remove()}}),a=n.extend({initialize:function(){var e=this.$el,i={width:"100%",allowClear:this.get("allowNull"),placeholder:this.get("placeholder"),multiple:this.get("multiple"),data:[],escapeMarkup:function(t){return t}};i.multiple&&this.getValue().map((function(t){t.$el.detach().appendTo(e)})),e.removeData("ajax"),e.removeAttr("data-ajax"),this.get("ajax")&&(i.ajax={url:acf.get("ajaxurl"),delay:250,dataType:"json",type:"post",cache:!1,data:t.proxy(this.getAjaxData,this),processResults:t.proxy(this.processAjaxResults,this)});var n=this.get("field");i=acf.applyFilters("select2_args",i,e,this.data,n||!1,this),e.select2(i);var a=e.next(".select2-container");if(i.multiple){var r=a.find("ul");r.sortable({stop:function(i){r.find(".select2-selection__choice").each((function(){var i;t(t(this).data("data").element).detach().appendTo(e)})),e.trigger("change")}}),e.on("select2:select",this.proxy((function(t){this.getOption(t.params.data.id).detach().appendTo(this.$el)})))}a.addClass("-acf"),acf.doAction("select2_init",e,i,this.data,n||!1,this)},mergeOptions:function(){var e=!1,i=!1;t('.select2-results__option[role="group"]').each((function(){var n=t(this).children("ul"),a=t(this).children("strong");if(i&&i.text()===a.text())return e.append(n.children()),void t(this).remove();e=n,i=a}))}}),r=n.extend({initialize:function(){var e=this.$el,i=this.getValue(),n=this.get("multiple"),a={width:"100%",allowClear:this.get("allowNull"),placeholder:this.get("placeholder"),separator:"||",multiple:this.get("multiple"),data:this.getChoices(),escapeMarkup:function(t){return t},dropdownCss:{"z-index":"999999999"},initSelection:function(t,e){e(n?i:i.shift())}},r=e.siblings("input");r.length||(r=t('<input type="hidden" />'),e.before(r)),inputValue=i.map((function(t){return t.id})).join("||"),r.val(inputValue),a.multiple&&i.map((function(t){t.$el.detach().appendTo(e)})),a.allowClear&&(a.data=a.data.filter((function(t){return""!==t.id}))),e.removeData("ajax"),e.removeAttr("data-ajax"),this.get("ajax")&&(a.ajax={url:acf.get("ajaxurl"),quietMillis:250,dataType:"json",type:"post",cache:!1,data:t.proxy(this.getAjaxData,this),results:t.proxy(this.processAjaxResults,this)});var o=this.get("field");a=acf.applyFilters("select2_args",a,e,this.data,o||!1,this),r.select2(a);var s=r.select2("container"),c=t.proxy(this.getOption,this);if(a.multiple){var l=s.find("ul");l.sortable({stop:function(){l.find(".select2-search-choice").each((function(){var i=t(this).data("select2Data"),n;c(i.id).detach().appendTo(e)})),e.trigger("change")}})}r.on("select2-selecting",(function(i){var n=i.choice,a=c(n.id);a.length||(a=t('<option value="'+n.id+'">'+n.text+"</option>")),a.detach().appendTo(e)})),s.addClass("-acf"),acf.doAction("select2_init",e,a,this.data,o||!1,this),r.on("change",(function(){var t=r.val();t.indexOf("||")&&(t=t.split("||")),e.val(t).trigger("change")})),e.hide()},mergeOptions:function(){var e=!1,i=!1;t("#select2-drop .select2-result-with-children").each((function(){var n=t(this).children("ul"),a=t(this).children(".select2-result-label");if(i&&i.text()===a.text())return i.append(n.children()),void t(this).remove();e=n,i=a}))},getAjaxData:function(t,e){var i={term:t,page:e};return n.prototype.getAjaxData.apply(this,[i])}}),o=new acf.Model({priority:5,wait:"prepare",actions:{duplicate:"onDuplicate"},initialize:function(){var t=acf.get("locale"),e=acf.get("rtl"),n=acf.get("select2L10n"),a=i();return!!n&&(0!==t.indexOf("en")&&void(4==a?this.addTranslations4():3==a&&this.addTranslations3()))},addTranslations4:function(){var t=acf.get("select2L10n"),e=acf.get("locale");e=e.replace("_","-");var i={errorLoading:function(){return t.load_fail},inputTooLong:function(e){var i=e.input.length-e.maximum;return i>1?t.input_too_long_n.replace("%d",i):t.input_too_long_1},inputTooShort:function(e){var i=e.minimum-e.input.length;return i>1?t.input_too_short_n.replace("%d",i):t.input_too_short_1},loadingMore:function(){return t.load_more},maximumSelected:function(e){var i=e.maximum;return i>1?t.selection_too_long_n.replace("%d",i):t.selection_too_long_1},noResults:function(){return t.matches_0},searching:function(){return t.searching}};jQuery.fn.select2.amd.define("select2/i18n/"+e,[],(function(){return i}))},addTranslations3:function(){var e=acf.get("select2L10n"),i=acf.get("locale");i=i.replace("_","-");var n={formatMatches:function(t){return t>1?e.matches_n.replace("%d",t):e.matches_1},formatNoMatches:function(){return e.matches_0},formatAjaxError:function(){return e.load_fail},formatInputTooShort:function(t,i){var n=i-t.length;return n>1?e.input_too_short_n.replace("%d",n):e.input_too_short_1},formatInputTooLong:function(t,i){var n=t.length-i;return n>1?e.input_too_long_n.replace("%d",n):e.input_too_long_1},formatSelectionTooBig:function(t){return t>1?e.selection_too_long_n.replace("%d",t):e.selection_too_long_1},formatLoadMore:function(){return e.load_more},formatSearching:function(){return e.searching}};t.fn.select2.locales=t.fn.select2.locales||{},t.fn.select2.locales[i]=n,t.extend(t.fn.select2.defaults,n)},onDuplicate:function(t,e){e.find(".select2-container").remove()}})}(jQuery),function(t,e){acf.tinymce={defaults:function(){return"undefined"!=typeof tinyMCEPreInit&&{tinymce:tinyMCEPreInit.mceInit.acf_content,quicktags:tinyMCEPreInit.qtInit.acf_content};var t},initialize:function(t,e){(e=acf.parseArgs(e,{tinymce:!0,quicktags:!0,toolbar:"full",mode:"visual",field:!1})).tinymce&&this.initializeTinymce(t,e),e.quicktags&&this.initializeQuicktags(t,e)},initializeTinymce:function(e,i){var n=t("#"+e),a=this.defaults(),r=acf.get("toolbars"),o=i.field||!1,s=o.$el||!1;if("undefined"==typeof tinymce)return!1;if(!a)return!1;if(tinymce.get(e))return this.enable(e);var c=t.extend({},a.tinymce,i.tinymce);c.id=e,c.selector="#"+e;var l=i.toolbar;if(l&&r&&r[l])for(var u=1;u<=4;u++)c["toolbar"+u]=r[l][u]||"";if(c.setup=function(t){t.on("change",(function(e){t.save(),n.trigger("change")})),t.on("mouseup",(function(t){var e=new MouseEvent("mouseup");window.dispatchEvent(e)}))},c.wp_autoresize_on=!1,c.tadv_noautop||(c.wpautop=!0),c=acf.applyFilters("wysiwyg_tinymce_settings",c,e,o),tinyMCEPreInit.mceInit[e]=c,"visual"==i.mode){var d=tinymce.init(c),f=tinymce.get(e);if(!f)return!1;f.acf=i.field,acf.doAction("wysiwyg_tinymce_init",f,f.id,c,o)}},initializeQuicktags:function(e,i){var n=this.defaults();if("undefined"==typeof quicktags)return!1;if(!n)return!1;var a=t.extend({},n.quicktags,i.quicktags);a.id=e;var r=i.field||!1,o=r.$el||!1;a=acf.applyFilters("wysiwyg_quicktags_settings",a,a.id,r),tinyMCEPreInit.qtInit[e]=a;var s=quicktags(a);if(!s)return!1;this.buildQuicktags(s),acf.doAction("wysiwyg_quicktags_init",s,s.id,a,r)},buildQuicktags:function(t){var e,i,n,a,r,t,o,s,c,l,u=",strong,em,link,block,del,ins,img,ul,ol,li,code,more,close,";for(s in e=t.canvas,i=t.name,n=t.settings,r="",a={},c="",l=t.id,n.buttons&&(c=","+n.buttons+","),edButtons)edButtons[s]&&(o=edButtons[s].id,c&&-1!==u.indexOf(","+o+",")&&-1===c.indexOf(","+o+",")||edButtons[s].instance&&edButtons[s].instance!==l||(a[o]=edButtons[s],edButtons[s].html&&(r+=edButtons[s].html(i+"_"))));c&&-1!==c.indexOf(",dfw,")&&(a.dfw=new QTags.DFWButton,r+=a.dfw.html(i+"_")),"rtl"===document.getElementsByTagName("html")[0].dir&&(a.textdirection=new QTags.TextDirectionButton,r+=a.textdirection.html(i+"_")),t.toolbar.innerHTML=r,t.theButtons=a,"undefined"!=typeof jQuery&&jQuery(document).triggerHandler("quicktags-init",[t])},disable:function(t){this.destroyTinymce(t)},remove:function(t){this.destroyTinymce(t)},destroy:function(t){this.destroyTinymce(t)},destroyTinymce:function(t){if("undefined"==typeof tinymce)return!1;var e=tinymce.get(t);return!!e&&(e.save(),e.destroy(),!0)},enable:function(t){this.enableTinymce(t)},enableTinymce:function(t){return"undefined"!=typeof switchEditors&&(void 0!==tinyMCEPreInit.mceInit[t]&&(switchEditors.go(t,"tmce"),!0))}};var i=new acf.Model({priority:5,actions:{prepare:"onPrepare",ready:"onReady"},onPrepare:function(){var e=t("#acf-hidden-wp-editor");e.exists()&&e.appendTo("body")},onReady:function(){acf.isset(window,"wp","oldEditor")&&(wp.editor.autop=wp.oldEditor.autop,wp.editor.removep=wp.oldEditor.removep),acf.isset(window,"tinymce","on")&&tinymce.on("AddEditor",(function(t){var e=t.editor;"acf"===e.id.substr(0,3)&&(e=tinymce.editors.content||e,tinymce.activeEditor=e,wpActiveEditor=e.id)}))}})}(jQuery),function(t,e){var i=acf.Model.extend({id:"Validator",data:{errors:[],notice:null,status:""},events:{"changed:status":"onChangeStatus"},addErrors:function(t){t.map(this.addError,this)},addError:function(t){this.data.errors.push(t)},hasErrors:function(){return this.data.errors.length},clearErrors:function(){return this.data.errors=[]},getErrors:function(){return this.data.errors},getFieldErrors:function(){var t=[],e=[];return this.getErrors().map((function(i){if(i.input){var n=e.indexOf(i.input);n>-1?t[n]=i:(t.push(i),e.push(i.input))}})),t},getGlobalErrors:function(){return this.getErrors().filter((function(t){return!t.input}))},showErrors:function(){if(this.hasErrors()){var e=this.getFieldErrors(),i=this.getGlobalErrors(),n=0,a=!1;e.map((function(t){var e=this.$('[name="'+t.input+'"]').first();if(e.length||(e=this.$('[name^="'+t.input+'"]').first()),e.length){n++;var i=acf.getClosestField(e);i.showError(t.message),a||(a=i.$el)}}),this);var r=acf.__("Validation failed");if(i.map((function(t){r+=". "+t.message})),1==n?r+=". "+acf.__("1 field requires attention"):n>1&&(r+=". "+acf.__("%d fields require attention").replace("%d",n)),this.has("notice"))this.get("notice").update({type:"error",text:r});else{var o=acf.newNotice({type:"error",text:r,target:this.$el});this.set("notice",o)}a||(a=this.get("notice").$el),setTimeout((function(){t("html, body").animate({scrollTop:a.offset().top-t(window).height()/2},500)}),10)}},onChangeStatus:function(t,e,i,n){this.$el.removeClass("is-"+n).addClass("is-"+i)},validate:function(e){if(e=acf.parseArgs(e,{event:!1,reset:!1,loading:function(){},complete:function(){},failure:function(){},success:function(t){t.submit()}}),"valid"==this.get("status"))return!0;if("validating"==this.get("status"))return!1;if(!this.$(".acf-field").length)return!0;if(e.event){var i=t.Event(null,e.event);e.success=function(){acf.enableSubmit(t(i.target)).trigger(i)}}acf.doAction("validation_begin",this.$el),acf.lockForm(this.$el),e.loading(this.$el,this),this.set("status","validating");var n=function(t){if(acf.isAjaxSuccess(t)){var e=acf.applyFilters("validation_complete",t.data,this.$el,this);e.valid||this.addErrors(e.errors)}},a=function(){acf.unlockForm(this.$el),this.hasErrors()?(this.set("status","invalid"),acf.doAction("validation_failure",this.$el,this),this.showErrors(),e.failure(this.$el,this)):(this.set("status","valid"),this.has("notice")&&this.get("notice").update({type:"success",text:acf.__("Validation successful"),timeout:1e3}),acf.doAction("validation_success",this.$el,this),acf.doAction("submit",this.$el),e.success(this.$el,this),acf.lockForm(this.$el),e.reset&&this.reset()),e.complete(this.$el,this),this.clearErrors()},r=acf.serialize(this.$el);return r.action="acf/validate_save_post",t.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(r),type:"post",dataType:"json",context:this,success:n,complete:a}),!1},setup:function(t){this.$el=t},reset:function(){this.set("errors",[]),this.set("notice",null),this.set("status",""),acf.unlockForm(this.$el)}}),n=function(t){var e=t.data("acf");return e||(e=new i(t)),e};acf.validateForm=function(t){return n(t.form).validate(t)},acf.enableSubmit=function(t){return t.removeClass("disabled")},acf.disableSubmit=function(t){return t.addClass("disabled")},acf.showSpinner=function(t){return t.addClass("is-active"),t.css("display","inline-block"),t},acf.hideSpinner=function(t){return t.removeClass("is-active"),t.css("display","none"),t},acf.lockForm=function(t){var e=a(t),i=e.find('.button, [type="submit"]'),n=e.find(".spinner, .acf-spinner");return acf.hideSpinner(n),acf.disableSubmit(i),acf.showSpinner(n.last()),t},acf.unlockForm=function(t){var e=a(t),i=e.find('.button, [type="submit"]'),n=e.find(".spinner, .acf-spinner");return acf.enableSubmit(i),acf.hideSpinner(n),t};var a=function(t){var e,e,e,e;return(e=t.find("#submitdiv")).length?e:(e=t.find("#submitpost")).length?e:(e=t.find("p.submit").last()).length?e:(e=t.find(".acf-form-submit")).length?e:t};acf.validation=new acf.Model({id:"validation",active:!0,wait:"prepare",actions:{ready:"addInputEvents",append:"addInputEvents"},events:{'click input[type="submit"]':"onClickSubmit",'click button[type="submit"]':"onClickSubmit","click #save-post":"onClickSave","submit form#post":"onSubmitPost","submit form":"onSubmit"},initialize:function(){acf.get("validation")||(this.active=!1,this.actions={},this.events={})},enable:function(){this.active=!0},disable:function(){this.active=!1},reset:function(t){n(t).reset()},addInputEvents:function(e){if("safari"!==acf.get("browser")){var i=t(".acf-field [name]",e);i.length&&this.on(i,"invalid","onInvalid")}},onInvalid:function(t,e){t.preventDefault();var i=e.closest("form");i.length&&(n(i).addError({input:e.attr("name"),message:t.target.validationMessage}),i.submit())},onClickSubmit:function(t,e){this.set("originalEvent",t)},onClickSave:function(t,e){this.set("ignore",!0)},onClickSubmitGutenberg:function(e,i){var n;acf.validateForm({form:t("#editor"),event:e,reset:!0,failure:function(t,e){var i=e.get("notice").$el;i.appendTo(".components-notice-list"),i.find(".acf-notice-dismiss").removeClass("small")}})||(e.preventDefault(),e.stopImmediatePropagation())},onSubmitPost:function(e,i){"dopreview"===t("input#wp-preview").val()&&(this.set("ignore",!0),acf.unlockForm(i))},onSubmit:function(t,e){if(!this.active||this.get("ignore")||t.isDefaultPrevented())return this.allowSubmit();var i;acf.validateForm({form:e,event:this.get("originalEvent")})||t.preventDefault()},allowSubmit:function(){return this.set("ignore",!1),this.set("originalEvent",!1),!0}})}(jQuery),function(t,e){var i=new acf.Model({priority:90,initialize:function(){this.refresh=acf.debounce(this.refresh,0)},actions:{new_field:"refresh",show_field:"refresh",hide_field:"refresh",remove_field:"refresh",unmount_field:"refresh",remount_field:"refresh"},refresh:function(){acf.doAction("refresh"),t(window).trigger("acfrefresh")}}),n=new acf.Model({priority:1,actions:{sortstart:"onSortstart",sortstop:"onSortstop"},onSortstart:function(t){acf.doAction("unmount",t)},onSortstop:function(t){acf.doAction("remount",t)}}),a=new acf.Model({actions:{sortstart:"onSortstart"},onSortstart:function(e,i){e.is("tr")&&(i.html('<td style="padding:0;" colspan="'+i.children().length+'"></td>'),e.addClass("acf-sortable-tr-helper"),e.children().each((function(){t(this).width(t(this).width())})),i.height(e.height()+"px"),e.removeClass("acf-sortable-tr-helper"))}}),r=new acf.Model({actions:{after_duplicate:"onAfterDuplicate"},onAfterDuplicate:function(e,i){var n=[];e.find("select").each((function(e){n.push(t(this).val())})),i.find("select").each((function(e){t(this).val(n[e])}))}}),o=new acf.Model({id:"tableHelper",priority:20,actions:{refresh:"renderTables"},renderTables:function(e){var i=this;t(".acf-table:visible").each((function(){i.renderTable(t(this))}))},renderTable:function(e){var i=e.find("> thead > tr:visible > th[data-key]"),n=e.find("> tbody > tr:visible > td[data-key]");if(!i.length||!n.length)return!1;i.each((function(e){var i=t(this),a=i.data("key"),r=n.filter('[data-key="'+a+'"]'),o=r.filter(".acf-hidden");r.removeClass("acf-empty"),r.length===o.length?acf.hide(i):(acf.show(i),o.addClass("acf-empty"))})),i.css("width","auto"),i=i.not(".acf-hidden");var a=100,r=i.length,o;i.filter("[data-width]").each((function(){var e=t(this).data("width");t(this).css("width",e+"%"),a-=e}));var s=i.not("[data-width]");if(s.length){var c=a/s.length;s.css("width",c+"%"),a=0}a>0&&i.last().css("width","auto"),n.filter(".-collapsed-target").each((function(){var e=t(this);e.parent().hasClass("-collapsed")?e.attr("colspan",i.length):e.removeAttr("colspan")}))}}),s=new acf.Model({id:"fieldsHelper",priority:30,actions:{refresh:"renderGroups"},renderGroups:function(){var e=this;t(".acf-fields:visible").each((function(){e.renderGroup(t(this))}))},renderGroup:function(e){var i=0,n=0,a=t(),r=e.children(".acf-field[data-width]:visible");return!!r.length&&(e.hasClass("-left")?(r.removeAttr("data-width"),r.css("width","auto"),!1):(r.removeClass("-r0 -c0").css({"min-height":0}),r.each((function(e){var r=t(this),o=r.position(),s=Math.ceil(o.top),c=Math.ceil(o.left);a.length&&s>i&&(a.css({"min-height":n+"px"}),o=r.position(),s=Math.ceil(o.top),c=Math.ceil(o.left),i=0,n=0,a=t()),acf.get("rtl")&&(c=Math.ceil(r.parent().width()-(o.left+r.outerWidth()))),0==s?r.addClass("-r0"):0==c&&r.addClass("-c0");var l=Math.ceil(r.outerHeight())+1;n=Math.max(n,l),i=Math.max(i,s),a=a.add(r)})),void(a.length&&a.css({"min-height":n+"px"}))))}})}(jQuery),function(t,e){acf.newCompatibility=function(t,e){return(e=e||{}).__proto__=t.__proto__,t.__proto__=e,t.compatibility=e,e},acf.getCompatibility=function(t){return t.compatibility||null};var i=acf.newCompatibility(acf,{l10n:{},o:{},fields:{},update:acf.set,add_action:acf.addAction,remove_action:acf.removeAction,do_action:acf.doAction,add_filter:acf.addFilter,remove_filter:acf.removeFilter,apply_filters:acf.applyFilters,parse_args:acf.parseArgs,disable_el:acf.disable,disable_form:acf.disable,enable_el:acf.enable,enable_form:acf.enable,update_user_setting:acf.updateUserSetting,prepare_for_ajax:acf.prepareForAjax,is_ajax_success:acf.isAjaxSuccess,remove_el:acf.remove,remove_tr:acf.remove,str_replace:acf.strReplace,render_select:acf.renderSelect,get_uniqid:acf.uniqid,serialize_form:acf.serialize,esc_html:acf.strEscape,str_sanitize:acf.strSanitize});i._e=function(t,e){t=t||"";var i=(e=e||"")?t+"."+e:t,n={"image.select":"Select Image","image.edit":"Edit Image","image.update":"Update Image"};if(n[i])return acf.__(n[i]);var a=this.l10n[t]||"";return e&&(a=a[e]||""),a},i.get_selector=function(e){var i=".acf-field";if(!e)return i;if(t.isPlainObject(e)){if(t.isEmptyObject(e))return i;for(var n in e){e=e[n];break}}return i+="-"+e,i=acf.strReplace("_","-",i),i=acf.strReplace("field-field-","field-",i)},i.get_fields=function(t,e,i){var n={is:t||"",parent:e||!1,suppressFilters:i||!1};return n.is&&(n.is=this.get_selector(n.is)),acf.findFields(n)},i.get_field=function(t,e){var i=this.get_fields.apply(this,arguments);return!!i.length&&i.first()},i.get_closest_field=function(t,e){return t.closest(this.get_selector(e))},i.get_field_wrap=function(t){return t.closest(this.get_selector())},i.get_field_key=function(t){return t.data("key")},i.get_field_type=function(t){return t.data("type")},i.get_data=function(t,e){return acf.parseArgs(t.data(),e)},i.maybe_get=function(t,e,i){void 0===i&&(i=null),keys=String(e).split(".");for(var n=0;n<keys.length;n++){if(!t.hasOwnProperty(keys[n]))return i;t=t[keys[n]]}return t};var n=function(t){return t instanceof acf.Field?t.$el:t},a=function(t){return acf.arrayArgs(t).map(n)},r=function(e){return function(){if(arguments.length)var i=a(arguments);else var i=[t(document)];return e.apply(this,i)}};i.add_action=function(t,e,n,a){var o=t.split(" "),s=o.length;if(s>1){for(var c=0;c<s;c++)t=o[c],i.add_action.apply(this,arguments);return this}var e=r(e);return acf.addAction.apply(this,arguments)},i.add_filter=function(t,e,i,n){var e=r(e);return acf.addFilter.apply(this,arguments)},i.model={actions:{},filters:{},events:{},extend:function(e){var i=t.extend({},this,e);return t.each(i.actions,(function(t,e){i._add_action(t,e)})),t.each(i.filters,(function(t,e){i._add_filter(t,e)})),t.each(i.events,(function(t,e){i._add_event(t,e)})),i},_add_action:function(t,e){var i=this,n=t.split(" "),t=n[0]||"",a=n[1]||10;acf.add_action(t,this[e],a,this)},_add_filter:function(t,e){var i=this,n=t.split(" "),t=n[0]||"",a=n[1]||10;acf.add_filter(t,this[e],a,this)},_add_event:function(e,i){var n=this,a=e.indexOf(" "),r=a>0?e.substr(0,a):e,o=a>0?e.substr(a+1):"",s=function(e){e.$el=t(this),acf.field_group&&(e.$field=e.$el.closest(".acf-field-object")),"function"==typeof n.event&&(e=n.event(e)),n[i].apply(n,arguments)};o?t(document).on(r,o,s):t(document).on(r,s)},get:function(t,e){return e=e||null,void 0!==this[t]&&(e=this[t]),e},set:function(t,e){return this[t]=e,"function"==typeof this["_set_"+t]&&this["_set_"+t].apply(this),this}},i.field=acf.model.extend({type:"",o:{},$field:null,_add_action:function(t,e){var i=this;t=t+"_field/type="+i.type,acf.add_action(t,(function(t){i.set("$field",t),i[e].apply(i,arguments)}))},_add_filter:function(t,e){var i=this;t=t+"_field/type="+i.type,acf.add_filter(t,(function(t){i.set("$field",t),i[e].apply(i,arguments)}))},_add_event:function(e,i){var n=this,a=e.substr(0,e.indexOf(" ")),r=e.substr(e.indexOf(" ")+1),o=acf.get_selector(n.type);t(document).on(a,o+" "+r,(function(e){var a=t(this),r=acf.get_closest_field(a,n.type);r.length&&(r.is(n.$field)||n.set("$field",r),e.$el=a,e.$field=r,n[i].apply(n,[e]))}))},_set_$field:function(){"function"==typeof this.focus&&this.focus()},doFocus:function(t){return this.set("$field",t)}});var o=acf.newCompatibility(acf.validation,{remove_error:function(t){acf.getField(t).removeError()},add_warning:function(t,e){acf.getField(t).showNotice({text:e,type:"warning",timeout:1e3})},fetch:acf.validateForm,enableSubmit:acf.enableSubmit,disableSubmit:acf.disableSubmit,showSpinner:acf.showSpinner,hideSpinner:acf.hideSpinner,unlockForm:acf.unlockForm,lockForm:acf.lockForm});i.tooltip={tooltip:function(t,e){var i;return acf.newTooltip({text:t,target:e}).$el},temp:function(t,e){var i=acf.newTooltip({text:t,target:e,timeout:250})},confirm:function(t,e,i,n,a){var r=acf.newTooltip({confirm:!0,text:i,target:t,confirm:function(){e(!0)},cancel:function(){e(!1)}})},confirm_remove:function(t,e){var i=acf.newTooltip({confirmRemove:!0,target:t,confirm:function(){e(!0)},cancel:function(){e(!1)}})}},i.media=new acf.Model({activeFrame:!1,actions:{new_media_popup:"onNewMediaPopup"},frame:function(){return this.activeFrame},onNewMediaPopup:function(t){this.activeFrame=t.frame},popup:function(t){var e;return(t.mime_types&&(t.allowedTypes=t.mime_types),t.id&&(t.attachment=t.id),acf.newMediaPopup(t).frame)}}),i.select2={init:function(t,e,i){return e.allow_null&&(e.allowNull=e.allow_null),e.ajax_action&&(e.ajaxAction=e.ajax_action),i&&(e.field=acf.getField(i)),acf.newSelect2(t,e)},destroy:function(t){return acf.getInstance(t).destroy()}},i.postbox={render:function(t){return t.edit_url&&(t.editLink=t.edit_url),t.edit_title&&(t.editTitle=t.edit_title),acf.newPostbox(t)}},acf.newCompatibility(acf.screen,{update:function(){return this.set.apply(this,arguments)},fetch:acf.screen.check}),i.ajax=acf.screen}(jQuery);
|
includes/admin/admin-upgrade.php
CHANGED
@@ -52,50 +52,67 @@ class ACF_Admin_Upgrade {
|
|
52 |
}
|
53 |
|
54 |
/**
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
function network_admin_menu() {
|
66 |
|
67 |
-
//
|
68 |
-
$
|
69 |
|
70 |
-
//
|
71 |
-
$sites =
|
72 |
if( $sites ) {
|
73 |
-
foreach( $sites as $site ) {
|
74 |
-
|
75 |
-
// switch blog
|
76 |
-
switch_to_blog( $site['blog_id'] );
|
77 |
|
78 |
-
//
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
|
87 |
-
//
|
88 |
-
if(
|
89 |
-
|
90 |
-
// add notice
|
91 |
-
add_action('network_admin_notices', array($this, 'network_admin_notices'));
|
92 |
-
|
93 |
-
// add page
|
94 |
-
$page = add_submenu_page('index.php', __('Upgrade Database','acf'), __('Upgrade Database','acf'), acf_get_setting('capability'), 'acf-upgrade-network', array($this,'network_admin_html'));
|
95 |
-
|
96 |
-
// actions
|
97 |
-
add_action('load-' . $page, array($this,'network_admin_load'));
|
98 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
}
|
100 |
|
101 |
/**
|
52 |
}
|
53 |
|
54 |
/**
|
55 |
+
* network_admin_menu
|
56 |
+
*
|
57 |
+
* Sets up admin logic if DB Upgrade is required on a multi site.
|
58 |
+
*
|
59 |
+
* @date 24/8/18
|
60 |
+
* @since 5.7.4
|
61 |
+
*
|
62 |
+
* @param void
|
63 |
+
* @return void
|
64 |
+
*/
|
65 |
function network_admin_menu() {
|
66 |
|
67 |
+
// Vars.
|
68 |
+
$upgrade = false;
|
69 |
|
70 |
+
// Loop over sites and check for upgrades.
|
71 |
+
$sites = get_sites( array( 'number' => 0 ) );
|
72 |
if( $sites ) {
|
|
|
|
|
|
|
|
|
73 |
|
74 |
+
// Unhook action to avoid memory issue (as seen in wp-includes/ms-site.php).
|
75 |
+
remove_action( 'switch_blog', 'wp_switch_roles_and_user', 1 );
|
76 |
+
foreach( $sites as $site ) {
|
77 |
+
|
78 |
+
// Switch site.
|
79 |
+
switch_to_blog( $site->blog_id );
|
80 |
+
|
81 |
+
// Check for upgrade.
|
82 |
+
$site_upgrade = acf_has_upgrade();
|
83 |
+
|
84 |
+
// Restore site.
|
85 |
+
// Ideally, we would switch back to the original site at after looping, however,
|
86 |
+
// the restore_current_blog() is needed to modify global vars.
|
87 |
+
restore_current_blog();
|
88 |
+
|
89 |
+
// Check if upgrade was found.
|
90 |
+
if( $site_upgrade ) {
|
91 |
+
$upgrade = true;
|
92 |
+
break;
|
93 |
+
}
|
94 |
+
}
|
95 |
+
add_action( 'switch_blog', 'wp_switch_roles_and_user', 1, 2 );
|
96 |
+
}
|
97 |
|
98 |
+
// Bail early if no upgrade is needed.
|
99 |
+
if( !$upgrade ) {
|
100 |
+
return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
}
|
102 |
+
|
103 |
+
// Add notice.
|
104 |
+
add_action('network_admin_notices', array($this, 'network_admin_notices'));
|
105 |
+
|
106 |
+
// Add page.
|
107 |
+
$page = add_submenu_page(
|
108 |
+
'index.php',
|
109 |
+
__('Upgrade Database','acf'),
|
110 |
+
__('Upgrade Database','acf'),
|
111 |
+
acf_get_setting('capability'),
|
112 |
+
'acf-upgrade-network',
|
113 |
+
array( $this,'network_admin_html' )
|
114 |
+
);
|
115 |
+
add_action( "load-$page", array( $this, 'network_admin_load' ) );
|
116 |
}
|
117 |
|
118 |
/**
|
includes/admin/admin.php
CHANGED
@@ -2,88 +2,140 @@
|
|
2 |
|
3 |
if( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
4 |
|
5 |
-
if( ! class_exists('
|
6 |
|
7 |
-
class
|
8 |
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
add_action('
|
26 |
-
add_action('admin_enqueue_scripts', array($this, 'admin_enqueue_scripts'), 0);
|
27 |
}
|
28 |
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
function admin_menu() {
|
43 |
-
|
44 |
-
// bail early if no show_admin
|
45 |
-
if( !acf_get_setting('show_admin') ) return;
|
46 |
|
|
|
|
|
|
|
|
|
47 |
|
48 |
-
//
|
49 |
$slug = 'edit.php?post_type=acf-field-group';
|
50 |
$cap = acf_get_setting('capability');
|
51 |
|
|
|
|
|
|
|
|
|
52 |
|
53 |
-
//
|
54 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
|
57 |
-
//
|
58 |
-
|
59 |
-
|
|
|
|
|
|
|
|
|
60 |
|
|
|
|
|
61 |
}
|
62 |
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
*/
|
76 |
-
|
77 |
-
function admin_enqueue_scripts() {
|
78 |
|
79 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
}
|
82 |
}
|
83 |
|
84 |
-
//
|
85 |
-
|
86 |
|
87 |
endif; // class_exists check
|
88 |
-
|
89 |
-
?>
|
2 |
|
3 |
if( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
4 |
|
5 |
+
if( ! class_exists('ACF_Admin') ) :
|
6 |
|
7 |
+
class ACF_Admin {
|
8 |
|
9 |
+
/**
|
10 |
+
* __construct
|
11 |
+
*
|
12 |
+
* Sets up the class functionality.
|
13 |
+
*
|
14 |
+
* @date 23/06/12
|
15 |
+
* @since 5.0.0
|
16 |
+
*
|
17 |
+
* @param void
|
18 |
+
* @return void
|
19 |
+
*/
|
20 |
+
function __construct() {
|
21 |
+
|
22 |
+
// Add hooks.
|
23 |
+
add_action( 'admin_menu', array( $this, 'admin_menu' ) );
|
24 |
+
add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
|
25 |
+
add_action( 'admin_body_class', array( $this, 'admin_body_class' ) );
|
|
|
26 |
}
|
27 |
|
28 |
+
/**
|
29 |
+
* admin_menu
|
30 |
+
*
|
31 |
+
* Adds the ACF menu item.
|
32 |
+
*
|
33 |
+
* @date 28/09/13
|
34 |
+
* @since 5.0.0
|
35 |
+
*
|
36 |
+
* @param void
|
37 |
+
* @return void
|
38 |
+
*/
|
39 |
+
function admin_menu() {
|
|
|
|
|
|
|
|
|
|
|
40 |
|
41 |
+
// Bail early if ACF is hidden.
|
42 |
+
if( !acf_get_setting('show_admin') ) {
|
43 |
+
return;
|
44 |
+
}
|
45 |
|
46 |
+
// Vars.
|
47 |
$slug = 'edit.php?post_type=acf-field-group';
|
48 |
$cap = acf_get_setting('capability');
|
49 |
|
50 |
+
// Add menu items.
|
51 |
+
add_menu_page( __("Custom Fields",'acf'), __("Custom Fields",'acf'), $cap, $slug, false, 'dashicons-welcome-widgets-menus', '80.025' );
|
52 |
+
add_submenu_page( $slug, __('Field Groups','acf'), __('Field Groups','acf'), $cap, $slug );
|
53 |
+
add_submenu_page( $slug, __('Add New','acf'), __('Add New','acf'), $cap, 'post-new.php?post_type=acf-field-group' );
|
54 |
|
55 |
+
// Only register info page when needed.
|
56 |
+
if( isset($_GET['page']) && $_GET['page'] === 'acf-settings-info' ) {
|
57 |
+
add_submenu_page( $slug, __('Info','acf'), __('Info','acf'), $cap,'acf-settings-info', array($this,'info_page_html') );
|
58 |
+
}
|
59 |
+
}
|
60 |
+
|
61 |
+
/**
|
62 |
+
* admin_enqueue_scripts
|
63 |
+
*
|
64 |
+
* Enqueues global admin styling.
|
65 |
+
*
|
66 |
+
* @date 28/09/13
|
67 |
+
* @since 5.0.0
|
68 |
+
*
|
69 |
+
* @param void
|
70 |
+
* @return void
|
71 |
+
*/
|
72 |
+
function admin_enqueue_scripts() {
|
73 |
|
74 |
+
// Enqueue global style. To-do: Change to admin.
|
75 |
+
wp_enqueue_style( 'acf-global' );
|
76 |
+
}
|
77 |
+
|
78 |
+
/**
|
79 |
+
* admin_body_class
|
80 |
+
*
|
81 |
+
* Appends the determined body_class.
|
82 |
+
*
|
83 |
+
* @date 5/11/19
|
84 |
+
* @since 5.8.7
|
85 |
+
*
|
86 |
+
* @param string $classes Space-separated list of CSS classes.
|
87 |
+
* @return string
|
88 |
+
*/
|
89 |
+
function admin_body_class( $classes ) {
|
90 |
+
global $wp_version;
|
91 |
|
92 |
+
// Determine body class version.
|
93 |
+
$wp_minor_version = floatval( $wp_version );
|
94 |
+
if( $wp_minor_version >= 5.3 ) {
|
95 |
+
$body_class = 'acf-admin-5-3';
|
96 |
+
} else {
|
97 |
+
$body_class = 'acf-admin-3-8';
|
98 |
+
}
|
99 |
|
100 |
+
// Append and return.
|
101 |
+
return $classes . ' ' . $body_class;
|
102 |
}
|
103 |
|
104 |
+
/**
|
105 |
+
* info_page_html
|
106 |
+
*
|
107 |
+
* Renders the Info page HTML.
|
108 |
+
*
|
109 |
+
* @date 5/11/19
|
110 |
+
* @since 5.8.7
|
111 |
+
*
|
112 |
+
* @param void
|
113 |
+
* @return void
|
114 |
+
*/
|
115 |
+
function info_page_html() {
|
|
|
|
|
|
|
116 |
|
117 |
+
// Vars.
|
118 |
+
$view = array(
|
119 |
+
'version' => acf_get_setting('version'),
|
120 |
+
'have_pro' => acf_get_setting('pro'),
|
121 |
+
'tabs' => array(
|
122 |
+
'new' => __("What's New", 'acf'),
|
123 |
+
'changelog' => __("Changelog", 'acf')
|
124 |
+
),
|
125 |
+
'active' => 'new'
|
126 |
+
);
|
127 |
|
128 |
+
// Find active tab.
|
129 |
+
if( isset($_GET['tab']) && $_GET['tab'] === 'changelog' ) {
|
130 |
+
$view['active'] = 'changelog';
|
131 |
+
}
|
132 |
+
|
133 |
+
// Load view.
|
134 |
+
acf_get_view('settings-info', $view);
|
135 |
}
|
136 |
}
|
137 |
|
138 |
+
// Instantiate.
|
139 |
+
acf_new_instance('ACF_Admin');
|
140 |
|
141 |
endif; // class_exists check
|
|
|
|
includes/admin/settings-info.php
DELETED
@@ -1,102 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class acf_settings_info {
|
4 |
-
|
5 |
-
/*
|
6 |
-
* __construct
|
7 |
-
*
|
8 |
-
* Initialize filters, action, variables and includes
|
9 |
-
*
|
10 |
-
* @type function
|
11 |
-
* @date 23/06/12
|
12 |
-
* @since 5.0.0
|
13 |
-
*
|
14 |
-
* @param n/a
|
15 |
-
* @return n/a
|
16 |
-
*/
|
17 |
-
|
18 |
-
function __construct() {
|
19 |
-
|
20 |
-
// actions
|
21 |
-
add_action('admin_menu', array($this, 'admin_menu'));
|
22 |
-
|
23 |
-
}
|
24 |
-
|
25 |
-
|
26 |
-
/*
|
27 |
-
* admin_menu
|
28 |
-
*
|
29 |
-
* This function will add the ACF menu item to the WP admin
|
30 |
-
*
|
31 |
-
* @type action (admin_menu)
|
32 |
-
* @date 28/09/13
|
33 |
-
* @since 5.0.0
|
34 |
-
*
|
35 |
-
* @param n/a
|
36 |
-
* @return n/a
|
37 |
-
*/
|
38 |
-
|
39 |
-
function admin_menu() {
|
40 |
-
|
41 |
-
// bail early if no show_admin
|
42 |
-
if( !acf_get_setting('show_admin') ) {
|
43 |
-
|
44 |
-
return;
|
45 |
-
|
46 |
-
}
|
47 |
-
|
48 |
-
|
49 |
-
// add page
|
50 |
-
add_submenu_page('edit.php?post_type=acf-field-group', __('Info','acf'), __('Info','acf'), acf_get_setting('capability'),'acf-settings-info', array($this,'html'));
|
51 |
-
|
52 |
-
}
|
53 |
-
|
54 |
-
|
55 |
-
/*
|
56 |
-
* html
|
57 |
-
*
|
58 |
-
* description
|
59 |
-
*
|
60 |
-
* @type function
|
61 |
-
* @date 7/01/2014
|
62 |
-
* @since 5.0.0
|
63 |
-
*
|
64 |
-
* @param $post_id (int)
|
65 |
-
* @return $post_id (int)
|
66 |
-
*/
|
67 |
-
|
68 |
-
function html() {
|
69 |
-
|
70 |
-
// vars
|
71 |
-
$view = array(
|
72 |
-
'version' => acf_get_setting('version'),
|
73 |
-
'have_pro' => acf_get_setting('pro'),
|
74 |
-
'tabs' => array(
|
75 |
-
'new' => __("What's New", 'acf'),
|
76 |
-
'changelog' => __("Changelog", 'acf')
|
77 |
-
),
|
78 |
-
'active' => 'new'
|
79 |
-
);
|
80 |
-
|
81 |
-
|
82 |
-
// set active tab
|
83 |
-
$tab = acf_maybe_get_GET('tab');
|
84 |
-
if( $tab && isset($view['tabs'][ $tab ]) ) {
|
85 |
-
|
86 |
-
$view['active'] = $tab;
|
87 |
-
|
88 |
-
}
|
89 |
-
|
90 |
-
|
91 |
-
// load view
|
92 |
-
acf_get_view('settings-info', $view);
|
93 |
-
|
94 |
-
}
|
95 |
-
|
96 |
-
}
|
97 |
-
|
98 |
-
|
99 |
-
// initialize
|
100 |
-
new acf_settings_info();
|
101 |
-
|
102 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/admin/views/settings-addons.php
DELETED
@@ -1,54 +0,0 @@
|
|
1 |
-
<div class="wrap acf-settings-wrap">
|
2 |
-
|
3 |
-
<h1><?php _e("Add-ons",'acf'); ?></h1>
|
4 |
-
|
5 |
-
<div class="add-ons-list">
|
6 |
-
|
7 |
-
<?php if( !empty($json) ): ?>
|
8 |
-
|
9 |
-
<?php foreach( $json as $addon ):
|
10 |
-
|
11 |
-
$addon = wp_parse_args($addon, array(
|
12 |
-
"title" => "",
|
13 |
-
"slug" => "",
|
14 |
-
"description" => "",
|
15 |
-
"thumbnail" => "",
|
16 |
-
"url" => "",
|
17 |
-
"btn" => __("Download & Install",'acf'),
|
18 |
-
"btn_color" => ""
|
19 |
-
));
|
20 |
-
|
21 |
-
?>
|
22 |
-
|
23 |
-
<div class="acf-box add-on add-on-<?php echo $addon['slug']; ?>">
|
24 |
-
|
25 |
-
<div class="thumbnail">
|
26 |
-
<a target="_blank" href="<?php echo $addon['url']; ?>">
|
27 |
-
<img src="<?php echo $addon['thumbnail']; ?>" />
|
28 |
-
</a>
|
29 |
-
</div>
|
30 |
-
<div class="inner">
|
31 |
-
<h3><a target="_blank" href="<?php echo $addon['url']; ?>"><?php echo $addon['title']; ?></a></h3>
|
32 |
-
<p><?php echo $addon['description']; ?></p>
|
33 |
-
</div>
|
34 |
-
<div class="footer">
|
35 |
-
<?php if( apply_filters("acf/is_add_on_active/slug={$addon['slug']}", false ) ): ?>
|
36 |
-
<a class="button" disabled="disabled"><?php _e("Installed",'acf'); ?></a>
|
37 |
-
<?php else: ?>
|
38 |
-
<a class="button <?php echo $addon['btn_color']; ?>" target="_blank" href="<?php echo $addon['url']; ?>" ><?php _e($addon['btn']); ?></a>
|
39 |
-
<?php endif; ?>
|
40 |
-
|
41 |
-
<?php if( !empty($addon['footer']) ): ?>
|
42 |
-
<p><?php echo $addon['footer']; ?></p>
|
43 |
-
<?php endif; ?>
|
44 |
-
</div>
|
45 |
-
|
46 |
-
</div>
|
47 |
-
|
48 |
-
<?php endforeach; ?>
|
49 |
-
|
50 |
-
<?php endif; ?>
|
51 |
-
|
52 |
-
</div>
|
53 |
-
|
54 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/assets.php
CHANGED
@@ -160,8 +160,24 @@ class ACF_Assets {
|
|
160 |
if( $args['uploader'] ) {
|
161 |
add_action($actions['admin_footer'], 'acf_enqueue_uploader', 5);
|
162 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
163 |
|
164 |
-
//
|
165 |
acf_localize_text(array(
|
166 |
|
167 |
// unload
|
@@ -205,22 +221,6 @@ class ACF_Assets {
|
|
205 |
// misc
|
206 |
'Edit field group' => __('Edit field group', 'acf'),
|
207 |
));
|
208 |
-
}
|
209 |
-
|
210 |
-
|
211 |
-
/**
|
212 |
-
* admin_enqueue_scripts
|
213 |
-
*
|
214 |
-
* description
|
215 |
-
*
|
216 |
-
* @date 16/4/18
|
217 |
-
* @since 5.6.9
|
218 |
-
*
|
219 |
-
* @param type $var Description. Default.
|
220 |
-
* @return type Description.
|
221 |
-
*/
|
222 |
-
|
223 |
-
function admin_enqueue_scripts() {
|
224 |
|
225 |
// enqueue
|
226 |
wp_enqueue_script('acf-input');
|
160 |
if( $args['uploader'] ) {
|
161 |
add_action($actions['admin_footer'], 'acf_enqueue_uploader', 5);
|
162 |
}
|
163 |
+
}
|
164 |
+
|
165 |
+
|
166 |
+
/**
|
167 |
+
* admin_enqueue_scripts
|
168 |
+
*
|
169 |
+
* description
|
170 |
+
*
|
171 |
+
* @date 16/4/18
|
172 |
+
* @since 5.6.9
|
173 |
+
*
|
174 |
+
* @param type $var Description. Default.
|
175 |
+
* @return type Description.
|
176 |
+
*/
|
177 |
+
|
178 |
+
function admin_enqueue_scripts() {
|
179 |
|
180 |
+
// Localize text.
|
181 |
acf_localize_text(array(
|
182 |
|
183 |
// unload
|
221 |
// misc
|
222 |
'Edit field group' => __('Edit field group', 'acf'),
|
223 |
));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
224 |
|
225 |
// enqueue
|
226 |
wp_enqueue_script('acf-input');
|
includes/fields/class-acf-field-radio.php
CHANGED
@@ -132,7 +132,7 @@ class acf_field_radio extends acf_field {
|
|
132 |
|
133 |
|
134 |
// append other choice
|
135 |
-
$field['choices']['other'] .= '</label
|
136 |
|
137 |
}
|
138 |
|
132 |
|
133 |
|
134 |
// append other choice
|
135 |
+
$field['choices']['other'] .= '</label> <input type="text" ' . acf_esc_attr($input) . ' /><label>';
|
136 |
|
137 |
}
|
138 |
|
lang/acf-ro_RO.mo
CHANGED
Binary file
|
lang/acf-ro_RO.po
CHANGED
@@ -3,7 +3,7 @@ msgstr ""
|
|
3 |
"Project-Id-Version: Advanced Custom Fields Pro v5.2.9\n"
|
4 |
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
5 |
"POT-Creation-Date: 2018-04-16 17:11+1000\n"
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
8 |
"Language-Team: Elliot Condon <e@elliotcondon.com>\n"
|
9 |
"Language: ro_RO\n"
|
@@ -12,7 +12,7 @@ msgstr ""
|
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?"
|
14 |
"2:1));\n"
|
15 |
-
"X-Generator: Poedit
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
18 |
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
@@ -38,7 +38,7 @@ msgstr "Grup de câmp"
|
|
38 |
#: acf.php:390 acf.php:422 includes/admin/admin.php:118
|
39 |
#: pro/fields/class-acf-field-flexible-content.php:551
|
40 |
msgid "Add New"
|
41 |
-
msgstr "
|
42 |
|
43 |
#: acf.php:391
|
44 |
msgid "Add New Field Group"
|
@@ -1436,7 +1436,8 @@ msgstr "Relațional"
|
|
1436 |
msgid "jQuery"
|
1437 |
msgstr "jQuery"
|
1438 |
|
1439 |
-
#: includes/fields.php:149
|
|
|
1440 |
#: includes/fields/class-acf-field-checkbox.php:389
|
1441 |
#: includes/fields/class-acf-field-group.php:474
|
1442 |
#: includes/fields/class-acf-field-radio.php:290
|
@@ -2724,8 +2725,8 @@ msgstr "Editează Grupul de Câmpuri"
|
|
2724 |
msgid "Validate Email"
|
2725 |
msgstr ""
|
2726 |
|
2727 |
-
#: includes/forms/form-front.php:103
|
2728 |
-
#: pro/options-page.php:81
|
2729 |
msgid "Update"
|
2730 |
msgstr "Actualizează"
|
2731 |
|
3 |
"Project-Id-Version: Advanced Custom Fields Pro v5.2.9\n"
|
4 |
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
5 |
"POT-Creation-Date: 2018-04-16 17:11+1000\n"
|
6 |
+
"PO-Revision-Date: 2019-11-12 08:00+1000\n"
|
7 |
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
8 |
"Language-Team: Elliot Condon <e@elliotcondon.com>\n"
|
9 |
"Language: ro_RO\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?"
|
14 |
"2:1));\n"
|
15 |
+
"X-Generator: Poedit 1.8.1\n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
18 |
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
38 |
#: acf.php:390 acf.php:422 includes/admin/admin.php:118
|
39 |
#: pro/fields/class-acf-field-flexible-content.php:551
|
40 |
msgid "Add New"
|
41 |
+
msgstr "Adaugă"
|
42 |
|
43 |
#: acf.php:391
|
44 |
msgid "Add New Field Group"
|
1436 |
msgid "jQuery"
|
1437 |
msgstr "jQuery"
|
1438 |
|
1439 |
+
#: includes/fields.php:149
|
1440 |
+
#: includes/fields/class-acf-field-button-group.php:177
|
1441 |
#: includes/fields/class-acf-field-checkbox.php:389
|
1442 |
#: includes/fields/class-acf-field-group.php:474
|
1443 |
#: includes/fields/class-acf-field-radio.php:290
|
2725 |
msgid "Validate Email"
|
2726 |
msgstr ""
|
2727 |
|
2728 |
+
#: includes/forms/form-front.php:103
|
2729 |
+
#: pro/fields/class-acf-field-gallery.php:573 pro/options-page.php:81
|
2730 |
msgid "Update"
|
2731 |
msgstr "Actualizează"
|
2732 |
|
lang/acf.pot
CHANGED
@@ -3,7 +3,7 @@ msgid ""
|
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Advanced Custom Fields\n"
|
5 |
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
6 |
-
"POT-Creation-Date: 2019-
|
7 |
"PO-Revision-Date: 2015-06-11 13:00+1000\n"
|
8 |
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
9 |
"Language-Team: Elliot Condon <e@elliotcondon.com>\n"
|
@@ -11,7 +11,7 @@ msgstr ""
|
|
11 |
"MIME-Version: 1.0\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
-
"X-Generator: Poedit
|
15 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
16 |
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
17 |
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
@@ -22,107 +22,107 @@ msgstr ""
|
|
22 |
"X-Poedit-SearchPath-0: .\n"
|
23 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
24 |
|
25 |
-
#: acf.php:
|
26 |
msgid "Advanced Custom Fields"
|
27 |
msgstr ""
|
28 |
|
29 |
-
#: acf.php:
|
30 |
msgid "Field Groups"
|
31 |
msgstr ""
|
32 |
|
33 |
-
#: acf.php:
|
34 |
msgid "Field Group"
|
35 |
msgstr ""
|
36 |
|
37 |
-
#: acf.php:
|
38 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
39 |
msgid "Add New"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: acf.php:
|
43 |
msgid "Add New Field Group"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: acf.php:
|
47 |
msgid "Edit Field Group"
|
48 |
msgstr ""
|
49 |
|
50 |
-
#: acf.php:
|
51 |
msgid "New Field Group"
|
52 |
msgstr ""
|
53 |
|
54 |
-
#: acf.php:
|
55 |
msgid "View Field Group"
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: acf.php:
|
59 |
msgid "Search Field Groups"
|
60 |
msgstr ""
|
61 |
|
62 |
-
#: acf.php:
|
63 |
msgid "No Field Groups found"
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: acf.php:
|
67 |
msgid "No Field Groups found in Trash"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: acf.php:
|
71 |
-
#: includes/admin/admin-field-groups.php:
|
72 |
#: pro/fields/class-acf-field-clone.php:811
|
73 |
msgid "Fields"
|
74 |
msgstr ""
|
75 |
|
76 |
-
#: acf.php:
|
77 |
msgid "Field"
|
78 |
msgstr ""
|
79 |
|
80 |
-
#: acf.php:
|
81 |
msgid "Add New Field"
|
82 |
msgstr ""
|
83 |
|
84 |
-
#: acf.php:
|
85 |
msgid "Edit Field"
|
86 |
msgstr ""
|
87 |
|
88 |
-
#: acf.php:
|
89 |
msgid "New Field"
|
90 |
msgstr ""
|
91 |
|
92 |
-
#: acf.php:
|
93 |
msgid "View Field"
|
94 |
msgstr ""
|
95 |
|
96 |
-
#: acf.php:
|
97 |
msgid "Search Fields"
|
98 |
msgstr ""
|
99 |
|
100 |
-
#: acf.php:
|
101 |
msgid "No Fields found"
|
102 |
msgstr ""
|
103 |
|
104 |
-
#: acf.php:
|
105 |
msgid "No Fields found in Trash"
|
106 |
msgstr ""
|
107 |
|
108 |
-
#: acf.php:
|
109 |
-
#: includes/admin/admin-field-groups.php:
|
110 |
msgid "Inactive"
|
111 |
msgstr ""
|
112 |
|
113 |
-
#: acf.php:
|
114 |
#, php-format
|
115 |
msgid "Inactive <span class=\"count\">(%s)</span>"
|
116 |
msgid_plural "Inactive <span class=\"count\">(%s)</span>"
|
117 |
msgstr[0] ""
|
118 |
msgstr[1] ""
|
119 |
|
120 |
-
#: includes/acf-field-functions.php:
|
121 |
#: includes/admin/admin-field-group.php:178
|
122 |
msgid "(no label)"
|
123 |
msgstr ""
|
124 |
|
125 |
-
#: includes/acf-field-group-functions.php:
|
126 |
#: includes/admin/admin-field-group.php:180
|
127 |
msgid "copy"
|
128 |
msgstr ""
|
@@ -194,7 +194,7 @@ msgstr ""
|
|
194 |
#: includes/admin/views/field-group-field-conditional-logic.php:151
|
195 |
#: includes/admin/views/field-group-locations.php:29
|
196 |
#: includes/admin/views/html-location-group.php:3
|
197 |
-
#: includes/api/api-helpers.php:
|
198 |
msgid "or"
|
199 |
msgstr ""
|
200 |
|
@@ -220,24 +220,24 @@ msgstr ""
|
|
220 |
msgid "Active"
|
221 |
msgstr ""
|
222 |
|
223 |
-
#: includes/admin/admin-field-group.php:
|
224 |
msgid "Move Complete."
|
225 |
msgstr ""
|
226 |
|
227 |
-
#: includes/admin/admin-field-group.php:
|
228 |
#, php-format
|
229 |
msgid "The %s field can now be found in the %s field group"
|
230 |
msgstr ""
|
231 |
|
232 |
-
#: includes/admin/admin-field-group.php:
|
233 |
msgid "Close Window"
|
234 |
msgstr ""
|
235 |
|
236 |
-
#: includes/admin/admin-field-group.php:
|
237 |
msgid "Please select the destination for this field"
|
238 |
msgstr ""
|
239 |
|
240 |
-
#: includes/admin/admin-field-group.php:
|
241 |
msgid "Move Field"
|
242 |
msgstr ""
|
243 |
|
@@ -262,25 +262,25 @@ msgid_plural "%s field groups synchronised."
|
|
262 |
msgstr[0] ""
|
263 |
msgstr[1] ""
|
264 |
|
265 |
-
#: includes/admin/admin-field-groups.php:
|
266 |
-
#: includes/admin/admin-field-groups.php:
|
267 |
msgid "Sync available"
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: includes/admin/admin-field-groups.php:
|
271 |
-
#: pro/fields/class-acf-field-gallery.php:
|
272 |
msgid "Title"
|
273 |
msgstr ""
|
274 |
|
275 |
-
#: includes/admin/admin-field-groups.php:
|
276 |
#: includes/admin/views/field-group-options.php:96
|
277 |
#: includes/admin/views/html-admin-page-upgrade-network.php:38
|
278 |
#: includes/admin/views/html-admin-page-upgrade-network.php:49
|
279 |
-
#: pro/fields/class-acf-field-gallery.php:
|
280 |
msgid "Description"
|
281 |
msgstr ""
|
282 |
|
283 |
-
#: includes/admin/admin-field-groups.php:
|
284 |
msgid "Status"
|
285 |
msgstr ""
|
286 |
|
@@ -289,8 +289,7 @@ msgstr ""
|
|
289 |
msgid "Customize WordPress with powerful, professional and intuitive fields."
|
290 |
msgstr ""
|
291 |
|
292 |
-
#: includes/admin/admin-field-groups.php:628
|
293 |
-
#: includes/admin/settings-info.php:76
|
294 |
#: pro/admin/views/html-settings-updates.php:107
|
295 |
msgid "Changelog"
|
296 |
msgstr ""
|
@@ -317,7 +316,7 @@ msgid "Support"
|
|
317 |
msgstr ""
|
318 |
|
319 |
#: includes/admin/admin-field-groups.php:642
|
320 |
-
#: includes/admin/views/settings-info.php:
|
321 |
msgid "Pro"
|
322 |
msgstr ""
|
323 |
|
@@ -333,12 +332,12 @@ msgstr ""
|
|
333 |
#: includes/admin/admin-field-groups.php:686
|
334 |
#: includes/admin/admin-field-groups.php:702
|
335 |
#: includes/admin/views/field-group-field.php:46
|
336 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
337 |
msgid "Duplicate"
|
338 |
msgstr ""
|
339 |
|
340 |
#: includes/admin/admin-field-groups.php:719
|
341 |
-
#: includes/fields/class-acf-field-google-map.php:
|
342 |
#: includes/fields/class-acf-field-relationship.php:593
|
343 |
msgid "Search"
|
344 |
msgstr ""
|
@@ -370,26 +369,27 @@ msgstr ""
|
|
370 |
msgid "Tools"
|
371 |
msgstr ""
|
372 |
|
373 |
-
#: includes/admin/admin-upgrade.php:47 includes/admin/admin-upgrade.php:
|
374 |
-
#: includes/admin/admin-upgrade.php:
|
375 |
#: includes/admin/views/html-admin-page-upgrade-network.php:24
|
376 |
#: includes/admin/views/html-admin-page-upgrade.php:26
|
377 |
msgid "Upgrade Database"
|
378 |
msgstr ""
|
379 |
|
380 |
-
#: includes/admin/admin-upgrade.php:
|
381 |
msgid "Review sites & upgrade"
|
382 |
msgstr ""
|
383 |
|
384 |
-
#: includes/admin/admin.php:
|
|
|
385 |
msgid "Custom Fields"
|
386 |
msgstr ""
|
387 |
|
388 |
-
#: includes/admin/
|
389 |
msgid "Info"
|
390 |
msgstr ""
|
391 |
|
392 |
-
#: includes/admin/
|
393 |
msgid "What's New"
|
394 |
msgstr ""
|
395 |
|
@@ -511,8 +511,8 @@ msgid "Add rule group"
|
|
511 |
msgstr ""
|
512 |
|
513 |
#: includes/admin/views/field-group-field.php:38
|
514 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
515 |
-
#: pro/fields/class-acf-field-repeater.php:
|
516 |
msgid "Drag to reorder"
|
517 |
msgstr ""
|
518 |
|
@@ -523,9 +523,9 @@ msgstr ""
|
|
523 |
|
524 |
#: includes/admin/views/field-group-field.php:45
|
525 |
#: includes/fields/class-acf-field-file.php:152
|
526 |
-
#: includes/fields/class-acf-field-image.php:
|
527 |
#: includes/fields/class-acf-field-link.php:139
|
528 |
-
#: pro/fields/class-acf-field-gallery.php:
|
529 |
msgid "Edit"
|
530 |
msgstr ""
|
531 |
|
@@ -546,7 +546,7 @@ msgid "Delete field"
|
|
546 |
msgstr ""
|
547 |
|
548 |
#: includes/admin/views/field-group-field.php:48
|
549 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
550 |
msgid "Delete"
|
551 |
msgstr ""
|
552 |
|
@@ -611,13 +611,13 @@ msgstr ""
|
|
611 |
#: includes/fields/class-acf-field-checkbox.php:420
|
612 |
#: includes/fields/class-acf-field-radio.php:311
|
613 |
#: includes/fields/class-acf-field-select.php:433
|
614 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
615 |
msgid "Label"
|
616 |
msgstr ""
|
617 |
|
618 |
#: includes/admin/views/field-group-fields.php:6
|
619 |
#: includes/fields/class-acf-field-taxonomy.php:939
|
620 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
621 |
msgid "Name"
|
622 |
msgstr ""
|
623 |
|
@@ -857,7 +857,7 @@ msgid "Database upgrade complete. <a href=\"%s\">See what's new</a>"
|
|
857 |
msgstr ""
|
858 |
|
859 |
#: includes/admin/views/html-admin-page-upgrade.php:116
|
860 |
-
#: includes/ajax/class-acf-ajax-upgrade.php:
|
861 |
msgid "No updates available."
|
862 |
msgstr ""
|
863 |
|
@@ -909,18 +909,6 @@ msgid ""
|
|
909 |
"Please also check all premium add-ons (%s) are updated to the latest version."
|
910 |
msgstr ""
|
911 |
|
912 |
-
#: includes/admin/views/settings-addons.php:3
|
913 |
-
msgid "Add-ons"
|
914 |
-
msgstr ""
|
915 |
-
|
916 |
-
#: includes/admin/views/settings-addons.php:17
|
917 |
-
msgid "Download & Install"
|
918 |
-
msgstr ""
|
919 |
-
|
920 |
-
#: includes/admin/views/settings-addons.php:36
|
921 |
-
msgid "Installed"
|
922 |
-
msgstr ""
|
923 |
-
|
924 |
#: includes/admin/views/settings-info.php:3
|
925 |
msgid "Welcome to Advanced Custom Fields"
|
926 |
msgstr ""
|
@@ -936,53 +924,53 @@ msgstr ""
|
|
936 |
msgid "A Smoother Experience"
|
937 |
msgstr ""
|
938 |
|
939 |
-
#: includes/admin/views/settings-info.php:
|
940 |
msgid "Improved Usability"
|
941 |
msgstr ""
|
942 |
|
943 |
-
#: includes/admin/views/settings-info.php:
|
944 |
msgid ""
|
945 |
"Including the popular Select2 library has improved both usability and speed "
|
946 |
"across a number of field types including post object, page link, taxonomy "
|
947 |
"and select."
|
948 |
msgstr ""
|
949 |
|
950 |
-
#: includes/admin/views/settings-info.php:
|
951 |
msgid "Improved Design"
|
952 |
msgstr ""
|
953 |
|
954 |
-
#: includes/admin/views/settings-info.php:
|
955 |
msgid ""
|
956 |
"Many fields have undergone a visual refresh to make ACF look better than "
|
957 |
"ever! Noticeable changes are seen on the gallery, relationship and oEmbed "
|
958 |
"(new) fields!"
|
959 |
msgstr ""
|
960 |
|
961 |
-
#: includes/admin/views/settings-info.php:
|
962 |
msgid "Improved Data"
|
963 |
msgstr ""
|
964 |
|
965 |
-
#: includes/admin/views/settings-info.php:
|
966 |
msgid ""
|
967 |
"Redesigning the data architecture has allowed sub fields to live "
|
968 |
"independently from their parents. This allows you to drag and drop fields in "
|
969 |
"and out of parent fields!"
|
970 |
msgstr ""
|
971 |
|
972 |
-
#: includes/admin/views/settings-info.php:
|
973 |
msgid "Goodbye Add-ons. Hello PRO"
|
974 |
msgstr ""
|
975 |
|
976 |
-
#: includes/admin/views/settings-info.php:
|
977 |
msgid "Introducing ACF PRO"
|
978 |
msgstr ""
|
979 |
|
980 |
-
#: includes/admin/views/settings-info.php:
|
981 |
msgid ""
|
982 |
"We're changing the way premium functionality is delivered in an exciting way!"
|
983 |
msgstr ""
|
984 |
|
985 |
-
#: includes/admin/views/settings-info.php:
|
986 |
#, php-format
|
987 |
msgid ""
|
988 |
"All 4 premium add-ons have been combined into a new <a href=\"%s\">Pro "
|
@@ -990,33 +978,33 @@ msgid ""
|
|
990 |
"premium functionality is more affordable and accessible than ever before!"
|
991 |
msgstr ""
|
992 |
|
993 |
-
#: includes/admin/views/settings-info.php:
|
994 |
msgid "Powerful Features"
|
995 |
msgstr ""
|
996 |
|
997 |
-
#: includes/admin/views/settings-info.php:
|
998 |
msgid ""
|
999 |
"ACF PRO contains powerful features such as repeatable data, flexible content "
|
1000 |
"layouts, a beautiful gallery field and the ability to create extra admin "
|
1001 |
"options pages!"
|
1002 |
msgstr ""
|
1003 |
|
1004 |
-
#: includes/admin/views/settings-info.php:
|
1005 |
#, php-format
|
1006 |
msgid "Read more about <a href=\"%s\">ACF PRO features</a>."
|
1007 |
msgstr ""
|
1008 |
|
1009 |
-
#: includes/admin/views/settings-info.php:
|
1010 |
msgid "Easy Upgrading"
|
1011 |
msgstr ""
|
1012 |
|
1013 |
-
#: includes/admin/views/settings-info.php:
|
1014 |
msgid ""
|
1015 |
"Upgrading to ACF PRO is easy. Simply purchase a license online and download "
|
1016 |
"the plugin!"
|
1017 |
msgstr ""
|
1018 |
|
1019 |
-
#: includes/admin/views/settings-info.php:
|
1020 |
#, php-format
|
1021 |
msgid ""
|
1022 |
"We also wrote an <a href=\"%s\">upgrade guide</a> to answer any questions, "
|
@@ -1024,325 +1012,325 @@ msgid ""
|
|
1024 |
"\">help desk</a>."
|
1025 |
msgstr ""
|
1026 |
|
1027 |
-
#: includes/admin/views/settings-info.php:
|
1028 |
msgid "New Features"
|
1029 |
msgstr ""
|
1030 |
|
1031 |
-
#: includes/admin/views/settings-info.php:
|
1032 |
msgid "Link Field"
|
1033 |
msgstr ""
|
1034 |
|
1035 |
-
#: includes/admin/views/settings-info.php:
|
1036 |
msgid ""
|
1037 |
"The Link field provides a simple way to select or define a link (url, title, "
|
1038 |
"target)."
|
1039 |
msgstr ""
|
1040 |
|
1041 |
-
#: includes/admin/views/settings-info.php:
|
1042 |
msgid "Group Field"
|
1043 |
msgstr ""
|
1044 |
|
1045 |
-
#: includes/admin/views/settings-info.php:
|
1046 |
msgid "The Group field provides a simple way to create a group of fields."
|
1047 |
msgstr ""
|
1048 |
|
1049 |
-
#: includes/admin/views/settings-info.php:
|
1050 |
msgid "oEmbed Field"
|
1051 |
msgstr ""
|
1052 |
|
1053 |
-
#: includes/admin/views/settings-info.php:
|
1054 |
msgid ""
|
1055 |
"The oEmbed field allows an easy way to embed videos, images, tweets, audio, "
|
1056 |
"and other content."
|
1057 |
msgstr ""
|
1058 |
|
1059 |
-
#: includes/admin/views/settings-info.php:
|
1060 |
msgid "Clone Field"
|
1061 |
msgstr ""
|
1062 |
|
1063 |
-
#: includes/admin/views/settings-info.php:
|
1064 |
msgid "The clone field allows you to select and display existing fields."
|
1065 |
msgstr ""
|
1066 |
|
1067 |
-
#: includes/admin/views/settings-info.php:
|
1068 |
msgid "More AJAX"
|
1069 |
msgstr ""
|
1070 |
|
1071 |
-
#: includes/admin/views/settings-info.php:
|
1072 |
msgid "More fields use AJAX powered search to speed up page loading."
|
1073 |
msgstr ""
|
1074 |
|
1075 |
-
#: includes/admin/views/settings-info.php:
|
1076 |
msgid "Local JSON"
|
1077 |
msgstr ""
|
1078 |
|
1079 |
-
#: includes/admin/views/settings-info.php:
|
1080 |
msgid ""
|
1081 |
"New auto export to JSON feature improves speed and allows for syncronisation."
|
1082 |
msgstr ""
|
1083 |
|
1084 |
-
#: includes/admin/views/settings-info.php:
|
1085 |
msgid "Easy Import / Export"
|
1086 |
msgstr ""
|
1087 |
|
1088 |
-
#: includes/admin/views/settings-info.php:
|
1089 |
msgid "Both import and export can easily be done through a new tools page."
|
1090 |
msgstr ""
|
1091 |
|
1092 |
-
#: includes/admin/views/settings-info.php:
|
1093 |
msgid "New Form Locations"
|
1094 |
msgstr ""
|
1095 |
|
1096 |
-
#: includes/admin/views/settings-info.php:
|
1097 |
msgid ""
|
1098 |
"Fields can now be mapped to menus, menu items, comments, widgets and all "
|
1099 |
"user forms!"
|
1100 |
msgstr ""
|
1101 |
|
1102 |
-
#: includes/admin/views/settings-info.php:
|
1103 |
msgid "More Customization"
|
1104 |
msgstr ""
|
1105 |
|
1106 |
-
#: includes/admin/views/settings-info.php:
|
1107 |
msgid ""
|
1108 |
"New PHP (and JS) actions and filters have been added to allow for more "
|
1109 |
"customization."
|
1110 |
msgstr ""
|
1111 |
|
1112 |
-
#: includes/admin/views/settings-info.php:
|
1113 |
msgid "Fresh UI"
|
1114 |
msgstr ""
|
1115 |
|
1116 |
-
#: includes/admin/views/settings-info.php:
|
1117 |
msgid ""
|
1118 |
"The entire plugin has had a design refresh including new field types, "
|
1119 |
"settings and design!"
|
1120 |
msgstr ""
|
1121 |
|
1122 |
-
#: includes/admin/views/settings-info.php:
|
1123 |
msgid "New Settings"
|
1124 |
msgstr ""
|
1125 |
|
1126 |
-
#: includes/admin/views/settings-info.php:
|
1127 |
msgid ""
|
1128 |
"Field group settings have been added for Active, Label Placement, "
|
1129 |
"Instructions Placement and Description."
|
1130 |
msgstr ""
|
1131 |
|
1132 |
-
#: includes/admin/views/settings-info.php:
|
1133 |
msgid "Better Front End Forms"
|
1134 |
msgstr ""
|
1135 |
|
1136 |
-
#: includes/admin/views/settings-info.php:
|
1137 |
msgid ""
|
1138 |
"acf_form() can now create a new post on submission with lots of new settings."
|
1139 |
msgstr ""
|
1140 |
|
1141 |
-
#: includes/admin/views/settings-info.php:
|
1142 |
msgid "Better Validation"
|
1143 |
msgstr ""
|
1144 |
|
1145 |
-
#: includes/admin/views/settings-info.php:
|
1146 |
msgid "Form validation is now done via PHP + AJAX in favour of only JS."
|
1147 |
msgstr ""
|
1148 |
|
1149 |
-
#: includes/admin/views/settings-info.php:
|
1150 |
msgid "Moving Fields"
|
1151 |
msgstr ""
|
1152 |
|
1153 |
-
#: includes/admin/views/settings-info.php:
|
1154 |
msgid ""
|
1155 |
"New field group functionality allows you to move a field between groups & "
|
1156 |
"parents."
|
1157 |
msgstr ""
|
1158 |
|
1159 |
-
#: includes/admin/views/settings-info.php:
|
1160 |
#, php-format
|
1161 |
msgid "We think you'll love the changes in %s."
|
1162 |
msgstr ""
|
1163 |
|
1164 |
-
#: includes/api/api-helpers.php:
|
1165 |
msgid "Thumbnail"
|
1166 |
msgstr ""
|
1167 |
|
1168 |
-
#: includes/api/api-helpers.php:
|
1169 |
msgid "Medium"
|
1170 |
msgstr ""
|
1171 |
|
1172 |
-
#: includes/api/api-helpers.php:
|
1173 |
msgid "Large"
|
1174 |
msgstr ""
|
1175 |
|
1176 |
-
#: includes/api/api-helpers.php:
|
1177 |
msgid "Full Size"
|
1178 |
msgstr ""
|
1179 |
|
1180 |
-
#: includes/api/api-helpers.php:
|
1181 |
#: pro/fields/class-acf-field-clone.php:996
|
1182 |
msgid "(no title)"
|
1183 |
msgstr ""
|
1184 |
|
1185 |
-
#: includes/api/api-helpers.php:
|
1186 |
#, php-format
|
1187 |
msgid "Image width must be at least %dpx."
|
1188 |
msgstr ""
|
1189 |
|
1190 |
-
#: includes/api/api-helpers.php:
|
1191 |
#, php-format
|
1192 |
msgid "Image width must not exceed %dpx."
|
1193 |
msgstr ""
|
1194 |
|
1195 |
-
#: includes/api/api-helpers.php:
|
1196 |
#, php-format
|
1197 |
msgid "Image height must be at least %dpx."
|
1198 |
msgstr ""
|
1199 |
|
1200 |
-
#: includes/api/api-helpers.php:
|
1201 |
#, php-format
|
1202 |
msgid "Image height must not exceed %dpx."
|
1203 |
msgstr ""
|
1204 |
|
1205 |
-
#: includes/api/api-helpers.php:
|
1206 |
#, php-format
|
1207 |
msgid "File size must be at least %s."
|
1208 |
msgstr ""
|
1209 |
|
1210 |
-
#: includes/api/api-helpers.php:
|
1211 |
#, php-format
|
1212 |
msgid "File size must must not exceed %s."
|
1213 |
msgstr ""
|
1214 |
|
1215 |
-
#: includes/api/api-helpers.php:
|
1216 |
#, php-format
|
1217 |
msgid "File type must be %s."
|
1218 |
msgstr ""
|
1219 |
|
1220 |
-
#: includes/assets.php:
|
1221 |
msgid "The changes you made will be lost if you navigate away from this page"
|
1222 |
msgstr ""
|
1223 |
|
1224 |
-
#: includes/assets.php:
|
1225 |
msgctxt "verb"
|
1226 |
msgid "Select"
|
1227 |
msgstr ""
|
1228 |
|
1229 |
-
#: includes/assets.php:
|
1230 |
msgctxt "verb"
|
1231 |
msgid "Edit"
|
1232 |
msgstr ""
|
1233 |
|
1234 |
-
#: includes/assets.php:
|
1235 |
msgctxt "verb"
|
1236 |
msgid "Update"
|
1237 |
msgstr ""
|
1238 |
|
1239 |
-
#: includes/assets.php:
|
1240 |
msgid "Uploaded to this post"
|
1241 |
msgstr ""
|
1242 |
|
1243 |
-
#: includes/assets.php:
|
1244 |
msgid "Expand Details"
|
1245 |
msgstr ""
|
1246 |
|
1247 |
-
#: includes/assets.php:
|
1248 |
msgid "Collapse Details"
|
1249 |
msgstr ""
|
1250 |
|
1251 |
-
#: includes/assets.php:
|
1252 |
msgid "Restricted"
|
1253 |
msgstr ""
|
1254 |
|
1255 |
-
#: includes/assets.php:
|
1256 |
msgid "All images"
|
1257 |
msgstr ""
|
1258 |
|
1259 |
-
#: includes/assets.php:
|
1260 |
msgid "Validation successful"
|
1261 |
msgstr ""
|
1262 |
|
1263 |
-
#: includes/assets.php:
|
1264 |
#: includes/validation.php:296
|
1265 |
msgid "Validation failed"
|
1266 |
msgstr ""
|
1267 |
|
1268 |
-
#: includes/assets.php:
|
1269 |
msgid "1 field requires attention"
|
1270 |
msgstr ""
|
1271 |
|
1272 |
-
#: includes/assets.php:
|
1273 |
#, php-format
|
1274 |
msgid "%d fields require attention"
|
1275 |
msgstr ""
|
1276 |
|
1277 |
-
#: includes/assets.php:
|
1278 |
msgid "Are you sure?"
|
1279 |
msgstr ""
|
1280 |
|
1281 |
-
#: includes/assets.php:
|
1282 |
#: includes/fields/class-acf-field-true_false.php:159
|
1283 |
#: pro/admin/views/html-settings-updates.php:89
|
1284 |
msgid "Yes"
|
1285 |
msgstr ""
|
1286 |
|
1287 |
-
#: includes/assets.php:
|
1288 |
#: includes/fields/class-acf-field-true_false.php:174
|
1289 |
#: pro/admin/views/html-settings-updates.php:99
|
1290 |
msgid "No"
|
1291 |
msgstr ""
|
1292 |
|
1293 |
-
#: includes/assets.php:
|
1294 |
-
#: includes/fields/class-acf-field-image.php:
|
1295 |
#: includes/fields/class-acf-field-link.php:140
|
1296 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1297 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1298 |
msgid "Remove"
|
1299 |
msgstr ""
|
1300 |
|
1301 |
-
#: includes/assets.php:
|
1302 |
msgid "Cancel"
|
1303 |
msgstr ""
|
1304 |
|
1305 |
-
#: includes/assets.php:
|
1306 |
msgid "Has any value"
|
1307 |
msgstr ""
|
1308 |
|
1309 |
-
#: includes/assets.php:
|
1310 |
msgid "Has no value"
|
1311 |
msgstr ""
|
1312 |
|
1313 |
-
#: includes/assets.php:
|
1314 |
msgid "Value is equal to"
|
1315 |
msgstr ""
|
1316 |
|
1317 |
-
#: includes/assets.php:
|
1318 |
msgid "Value is not equal to"
|
1319 |
msgstr ""
|
1320 |
|
1321 |
-
#: includes/assets.php:
|
1322 |
msgid "Value matches pattern"
|
1323 |
msgstr ""
|
1324 |
|
1325 |
-
#: includes/assets.php:
|
1326 |
msgid "Value contains"
|
1327 |
msgstr ""
|
1328 |
|
1329 |
-
#: includes/assets.php:
|
1330 |
msgid "Value is greater than"
|
1331 |
msgstr ""
|
1332 |
|
1333 |
-
#: includes/assets.php:
|
1334 |
msgid "Value is less than"
|
1335 |
msgstr ""
|
1336 |
|
1337 |
-
#: includes/assets.php:
|
1338 |
msgid "Selection is greater than"
|
1339 |
msgstr ""
|
1340 |
|
1341 |
-
#: includes/assets.php:
|
1342 |
msgid "Selection is less than"
|
1343 |
msgstr ""
|
1344 |
|
1345 |
-
#: includes/assets.php:
|
1346 |
#: pro/admin/admin-options-page.php:325
|
1347 |
msgid "Edit field group"
|
1348 |
msgstr ""
|
@@ -1375,14 +1363,15 @@ msgstr ""
|
|
1375 |
msgid "jQuery"
|
1376 |
msgstr ""
|
1377 |
|
1378 |
-
#: includes/fields.php:354
|
|
|
1379 |
#: includes/fields/class-acf-field-checkbox.php:389
|
1380 |
#: includes/fields/class-acf-field-group.php:474
|
1381 |
#: includes/fields/class-acf-field-radio.php:290
|
1382 |
#: pro/fields/class-acf-field-clone.php:843
|
1383 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
1384 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
1385 |
-
#: pro/fields/class-acf-field-repeater.php:
|
1386 |
msgid "Layout"
|
1387 |
msgstr ""
|
1388 |
|
@@ -1467,7 +1456,7 @@ msgstr ""
|
|
1467 |
#: includes/fields/class-acf-field-radio.php:281
|
1468 |
#: includes/fields/class-acf-field-range.php:149
|
1469 |
#: includes/fields/class-acf-field-select.php:373
|
1470 |
-
#: includes/fields/class-acf-field-text.php:
|
1471 |
#: includes/fields/class-acf-field-textarea.php:102
|
1472 |
#: includes/fields/class-acf-field-true_false.php:135
|
1473 |
#: includes/fields/class-acf-field-url.php:100
|
@@ -1480,7 +1469,7 @@ msgstr ""
|
|
1480 |
#: includes/fields/class-acf-field-number.php:128
|
1481 |
#: includes/fields/class-acf-field-radio.php:282
|
1482 |
#: includes/fields/class-acf-field-range.php:150
|
1483 |
-
#: includes/fields/class-acf-field-text.php:
|
1484 |
#: includes/fields/class-acf-field-textarea.php:103
|
1485 |
#: includes/fields/class-acf-field-url.php:101
|
1486 |
#: includes/fields/class-acf-field-wysiwyg.php:382
|
@@ -1502,7 +1491,6 @@ msgstr ""
|
|
1502 |
#: includes/fields/class-acf-field-button-group.php:191
|
1503 |
#: includes/fields/class-acf-field-checkbox.php:413
|
1504 |
#: includes/fields/class-acf-field-file.php:215
|
1505 |
-
#: includes/fields/class-acf-field-image.php:205
|
1506 |
#: includes/fields/class-acf-field-link.php:166
|
1507 |
#: includes/fields/class-acf-field-radio.php:304
|
1508 |
#: includes/fields/class-acf-field-taxonomy.php:829
|
@@ -1512,7 +1500,6 @@ msgstr ""
|
|
1512 |
#: includes/fields/class-acf-field-button-group.php:192
|
1513 |
#: includes/fields/class-acf-field-checkbox.php:414
|
1514 |
#: includes/fields/class-acf-field-file.php:216
|
1515 |
-
#: includes/fields/class-acf-field-image.php:206
|
1516 |
#: includes/fields/class-acf-field-link.php:167
|
1517 |
#: includes/fields/class-acf-field-radio.php:305
|
1518 |
msgid "Specify the returned value on front end"
|
@@ -1654,11 +1641,13 @@ msgstr ""
|
|
1654 |
|
1655 |
#: includes/fields/class-acf-field-date_picker.php:208
|
1656 |
#: includes/fields/class-acf-field-date_time_picker.php:200
|
|
|
1657 |
#: includes/fields/class-acf-field-post_object.php:431
|
1658 |
#: includes/fields/class-acf-field-relationship.php:634
|
1659 |
#: includes/fields/class-acf-field-select.php:427
|
1660 |
#: includes/fields/class-acf-field-time_picker.php:124
|
1661 |
#: includes/fields/class-acf-field-user.php:412
|
|
|
1662 |
msgid "Return Format"
|
1663 |
msgstr ""
|
1664 |
|
@@ -1759,7 +1748,7 @@ msgstr ""
|
|
1759 |
#: includes/fields/class-acf-field-email.php:127
|
1760 |
#: includes/fields/class-acf-field-number.php:136
|
1761 |
#: includes/fields/class-acf-field-password.php:71
|
1762 |
-
#: includes/fields/class-acf-field-text.php:
|
1763 |
#: includes/fields/class-acf-field-textarea.php:111
|
1764 |
#: includes/fields/class-acf-field-url.php:109
|
1765 |
msgid "Placeholder Text"
|
@@ -1768,7 +1757,7 @@ msgstr ""
|
|
1768 |
#: includes/fields/class-acf-field-email.php:128
|
1769 |
#: includes/fields/class-acf-field-number.php:137
|
1770 |
#: includes/fields/class-acf-field-password.php:72
|
1771 |
-
#: includes/fields/class-acf-field-text.php:
|
1772 |
#: includes/fields/class-acf-field-textarea.php:112
|
1773 |
#: includes/fields/class-acf-field-url.php:110
|
1774 |
msgid "Appears within the input"
|
@@ -1778,7 +1767,7 @@ msgstr ""
|
|
1778 |
#: includes/fields/class-acf-field-number.php:145
|
1779 |
#: includes/fields/class-acf-field-password.php:80
|
1780 |
#: includes/fields/class-acf-field-range.php:188
|
1781 |
-
#: includes/fields/class-acf-field-text.php:
|
1782 |
msgid "Prepend"
|
1783 |
msgstr ""
|
1784 |
|
@@ -1786,7 +1775,7 @@ msgstr ""
|
|
1786 |
#: includes/fields/class-acf-field-number.php:146
|
1787 |
#: includes/fields/class-acf-field-password.php:81
|
1788 |
#: includes/fields/class-acf-field-range.php:189
|
1789 |
-
#: includes/fields/class-acf-field-text.php:
|
1790 |
msgid "Appears before the input"
|
1791 |
msgstr ""
|
1792 |
|
@@ -1794,7 +1783,7 @@ msgstr ""
|
|
1794 |
#: includes/fields/class-acf-field-number.php:154
|
1795 |
#: includes/fields/class-acf-field-password.php:89
|
1796 |
#: includes/fields/class-acf-field-range.php:197
|
1797 |
-
#: includes/fields/class-acf-field-text.php:
|
1798 |
msgid "Append"
|
1799 |
msgstr ""
|
1800 |
|
@@ -1802,7 +1791,7 @@ msgstr ""
|
|
1802 |
#: includes/fields/class-acf-field-number.php:155
|
1803 |
#: includes/fields/class-acf-field-password.php:90
|
1804 |
#: includes/fields/class-acf-field-range.php:198
|
1805 |
-
#: includes/fields/class-acf-field-text.php:
|
1806 |
msgid "Appears after the input"
|
1807 |
msgstr ""
|
1808 |
|
@@ -1825,10 +1814,10 @@ msgstr ""
|
|
1825 |
#: includes/fields/class-acf-field-file.php:145
|
1826 |
#: includes/fields/class-acf-field-file.php:248
|
1827 |
#: includes/fields/class-acf-field-file.php:259
|
1828 |
-
#: includes/fields/class-acf-field-image.php:
|
1829 |
-
#: includes/fields/class-acf-field-image.php:
|
1830 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1831 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1832 |
msgid "File size"
|
1833 |
msgstr ""
|
1834 |
|
@@ -1849,39 +1838,40 @@ msgid "File ID"
|
|
1849 |
msgstr ""
|
1850 |
|
1851 |
#: includes/fields/class-acf-field-file.php:230
|
1852 |
-
#: includes/fields/class-acf-field-image.php:
|
1853 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1854 |
msgid "Library"
|
1855 |
msgstr ""
|
1856 |
|
1857 |
#: includes/fields/class-acf-field-file.php:231
|
1858 |
-
#: includes/fields/class-acf-field-image.php:
|
1859 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1860 |
msgid "Limit the media library choice"
|
1861 |
msgstr ""
|
1862 |
|
1863 |
#: includes/fields/class-acf-field-file.php:236
|
1864 |
-
#: includes/fields/class-acf-field-image.php:
|
1865 |
#: includes/locations/class-acf-location-attachment.php:101
|
1866 |
#: includes/locations/class-acf-location-comment.php:79
|
1867 |
#: includes/locations/class-acf-location-nav-menu.php:102
|
1868 |
#: includes/locations/class-acf-location-taxonomy.php:79
|
1869 |
-
#: includes/locations/class-acf-location-user-form.php:
|
1870 |
-
#: includes/locations/class-acf-location-user-role.php:
|
1871 |
#: includes/locations/class-acf-location-widget.php:83
|
1872 |
-
#: pro/fields/class-acf-field-gallery.php:
|
|
|
1873 |
msgid "All"
|
1874 |
msgstr ""
|
1875 |
|
1876 |
#: includes/fields/class-acf-field-file.php:237
|
1877 |
-
#: includes/fields/class-acf-field-image.php:
|
1878 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1879 |
msgid "Uploaded to post"
|
1880 |
msgstr ""
|
1881 |
|
1882 |
#: includes/fields/class-acf-field-file.php:244
|
1883 |
-
#: includes/fields/class-acf-field-image.php:
|
1884 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1885 |
msgid "Minimum"
|
1886 |
msgstr ""
|
1887 |
|
@@ -1891,20 +1881,20 @@ msgid "Restrict which files can be uploaded"
|
|
1891 |
msgstr ""
|
1892 |
|
1893 |
#: includes/fields/class-acf-field-file.php:255
|
1894 |
-
#: includes/fields/class-acf-field-image.php:
|
1895 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1896 |
msgid "Maximum"
|
1897 |
msgstr ""
|
1898 |
|
1899 |
#: includes/fields/class-acf-field-file.php:266
|
1900 |
-
#: includes/fields/class-acf-field-image.php:
|
1901 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1902 |
msgid "Allowed file types"
|
1903 |
msgstr ""
|
1904 |
|
1905 |
#: includes/fields/class-acf-field-file.php:267
|
1906 |
-
#: includes/fields/class-acf-field-image.php:
|
1907 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1908 |
msgid "Comma separated list. Leave blank for all types"
|
1909 |
msgstr ""
|
1910 |
|
@@ -1916,46 +1906,46 @@ msgstr ""
|
|
1916 |
msgid "Sorry, this browser does not support geolocation"
|
1917 |
msgstr ""
|
1918 |
|
1919 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1920 |
msgid "Clear location"
|
1921 |
msgstr ""
|
1922 |
|
1923 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1924 |
msgid "Find current location"
|
1925 |
msgstr ""
|
1926 |
|
1927 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1928 |
msgid "Search for address..."
|
1929 |
msgstr ""
|
1930 |
|
1931 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1932 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1933 |
msgid "Center"
|
1934 |
msgstr ""
|
1935 |
|
1936 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1937 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1938 |
msgid "Center the initial map"
|
1939 |
msgstr ""
|
1940 |
|
1941 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1942 |
msgid "Zoom"
|
1943 |
msgstr ""
|
1944 |
|
1945 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1946 |
msgid "Set the initial zoom level"
|
1947 |
msgstr ""
|
1948 |
|
1949 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1950 |
-
#: includes/fields/class-acf-field-image.php:
|
1951 |
-
#: includes/fields/class-acf-field-image.php:
|
1952 |
#: includes/fields/class-acf-field-oembed.php:268
|
1953 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1954 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1955 |
msgid "Height"
|
1956 |
msgstr ""
|
1957 |
|
1958 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1959 |
msgid "Customize the map height"
|
1960 |
msgstr ""
|
1961 |
|
@@ -1964,7 +1954,7 @@ msgid "Group"
|
|
1964 |
msgstr ""
|
1965 |
|
1966 |
#: includes/fields/class-acf-field-group.php:459
|
1967 |
-
#: pro/fields/class-acf-field-repeater.php:
|
1968 |
msgid "Sub Fields"
|
1969 |
msgstr ""
|
1970 |
|
@@ -1975,22 +1965,23 @@ msgstr ""
|
|
1975 |
|
1976 |
#: includes/fields/class-acf-field-group.php:480
|
1977 |
#: pro/fields/class-acf-field-clone.php:849
|
1978 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
1979 |
-
#: pro/fields/class-acf-field-repeater.php:
|
|
|
1980 |
msgid "Block"
|
1981 |
msgstr ""
|
1982 |
|
1983 |
#: includes/fields/class-acf-field-group.php:481
|
1984 |
#: pro/fields/class-acf-field-clone.php:850
|
1985 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
1986 |
-
#: pro/fields/class-acf-field-repeater.php:
|
1987 |
msgid "Table"
|
1988 |
msgstr ""
|
1989 |
|
1990 |
#: includes/fields/class-acf-field-group.php:482
|
1991 |
#: pro/fields/class-acf-field-clone.php:851
|
1992 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
1993 |
-
#: pro/fields/class-acf-field-repeater.php:
|
1994 |
msgid "Row"
|
1995 |
msgstr ""
|
1996 |
|
@@ -1998,58 +1989,58 @@ msgstr ""
|
|
1998 |
msgid "Image"
|
1999 |
msgstr ""
|
2000 |
|
2001 |
-
#: includes/fields/class-acf-field-image.php:
|
2002 |
msgid "Select Image"
|
2003 |
msgstr ""
|
2004 |
|
2005 |
-
#: includes/fields/class-acf-field-image.php:
|
2006 |
msgid "Edit Image"
|
2007 |
msgstr ""
|
2008 |
|
2009 |
-
#: includes/fields/class-acf-field-image.php:
|
2010 |
msgid "Update Image"
|
2011 |
msgstr ""
|
2012 |
|
2013 |
-
#: includes/fields/class-acf-field-image.php:
|
2014 |
msgid "No image selected"
|
2015 |
msgstr ""
|
2016 |
|
2017 |
-
#: includes/fields/class-acf-field-image.php:
|
2018 |
msgid "Add Image"
|
2019 |
msgstr ""
|
2020 |
|
2021 |
-
#: includes/fields/class-acf-field-image.php:
|
|
|
2022 |
msgid "Image Array"
|
2023 |
msgstr ""
|
2024 |
|
2025 |
-
#: includes/fields/class-acf-field-image.php:
|
|
|
2026 |
msgid "Image URL"
|
2027 |
msgstr ""
|
2028 |
|
2029 |
-
#: includes/fields/class-acf-field-image.php:
|
|
|
2030 |
msgid "Image ID"
|
2031 |
msgstr ""
|
2032 |
|
2033 |
-
#: includes/fields/class-acf-field-image.php:
|
|
|
2034 |
msgid "Preview Size"
|
2035 |
msgstr ""
|
2036 |
|
2037 |
-
#: includes/fields/class-acf-field-image.php:
|
2038 |
-
|
2039 |
-
|
2040 |
-
|
2041 |
-
#: includes/fields/class-acf-field-image.php:245
|
2042 |
-
#: includes/fields/class-acf-field-image.php:274
|
2043 |
-
#: pro/fields/class-acf-field-gallery.php:688
|
2044 |
-
#: pro/fields/class-acf-field-gallery.php:717
|
2045 |
msgid "Restrict which images can be uploaded"
|
2046 |
msgstr ""
|
2047 |
|
2048 |
-
#: includes/fields/class-acf-field-image.php:
|
2049 |
-
#: includes/fields/class-acf-field-image.php:
|
2050 |
#: includes/fields/class-acf-field-oembed.php:257
|
2051 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2052 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2053 |
msgid "Width"
|
2054 |
msgstr ""
|
2055 |
|
@@ -2307,7 +2298,7 @@ msgid "Maximum posts"
|
|
2307 |
msgstr ""
|
2308 |
|
2309 |
#: includes/fields/class-acf-field-relationship.php:727
|
2310 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2311 |
#, php-format
|
2312 |
msgid "%s requires at least %s selection"
|
2313 |
msgid_plural "%s requires at least %s selections"
|
@@ -2497,6 +2488,7 @@ msgid "%s added"
|
|
2497 |
msgstr ""
|
2498 |
|
2499 |
#: includes/fields/class-acf-field-taxonomy.php:973
|
|
|
2500 |
msgid "Add"
|
2501 |
msgstr ""
|
2502 |
|
@@ -2504,18 +2496,18 @@ msgstr ""
|
|
2504 |
msgid "Text"
|
2505 |
msgstr ""
|
2506 |
|
2507 |
-
#: includes/fields/class-acf-field-text.php:
|
2508 |
#: includes/fields/class-acf-field-textarea.php:120
|
2509 |
msgid "Character Limit"
|
2510 |
msgstr ""
|
2511 |
|
2512 |
-
#: includes/fields/class-acf-field-text.php:
|
2513 |
#: includes/fields/class-acf-field-textarea.php:121
|
2514 |
msgid "Leave blank for no limit"
|
2515 |
msgstr ""
|
2516 |
|
2517 |
-
#: includes/fields/class-acf-field-text.php:
|
2518 |
-
#: includes/fields/class-acf-field-textarea.php:
|
2519 |
#, php-format
|
2520 |
msgid "Value must not exceed %d characters"
|
2521 |
msgstr ""
|
@@ -2638,26 +2630,31 @@ msgid "Delay initialization?"
|
|
2638 |
msgstr ""
|
2639 |
|
2640 |
#: includes/fields/class-acf-field-wysiwyg.php:430
|
2641 |
-
msgid "TinyMCE will not be
|
2642 |
msgstr ""
|
2643 |
|
2644 |
#: includes/forms/form-front.php:55
|
2645 |
msgid "Validate Email"
|
2646 |
msgstr ""
|
2647 |
|
2648 |
-
#: includes/forms/form-front.php:
|
2649 |
-
#: pro/options-page.php:81
|
2650 |
msgid "Update"
|
2651 |
msgstr ""
|
2652 |
|
2653 |
-
#: includes/forms/form-front.php:
|
2654 |
msgid "Post updated"
|
2655 |
msgstr ""
|
2656 |
|
2657 |
-
#: includes/forms/form-front.php:
|
2658 |
msgid "Spam Detected"
|
2659 |
msgstr ""
|
2660 |
|
|
|
|
|
|
|
|
|
|
|
2661 |
#: includes/locations.php:93 includes/locations/class-acf-location-post.php:27
|
2662 |
msgid "Post"
|
2663 |
msgstr ""
|
@@ -2788,19 +2785,19 @@ msgstr ""
|
|
2788 |
msgid "Post Template"
|
2789 |
msgstr ""
|
2790 |
|
2791 |
-
#: includes/locations/class-acf-location-user-form.php:
|
2792 |
msgid "User Form"
|
2793 |
msgstr ""
|
2794 |
|
2795 |
-
#: includes/locations/class-acf-location-user-form.php:
|
2796 |
msgid "Add / Edit"
|
2797 |
msgstr ""
|
2798 |
|
2799 |
-
#: includes/locations/class-acf-location-user-form.php:
|
2800 |
msgid "Register"
|
2801 |
msgstr ""
|
2802 |
|
2803 |
-
#: includes/locations/class-acf-location-user-role.php:
|
2804 |
msgid "User Role"
|
2805 |
msgstr ""
|
2806 |
|
@@ -2833,7 +2830,8 @@ msgstr ""
|
|
2833 |
msgid "<b>Error</b>. Could not connect to update server"
|
2834 |
msgstr ""
|
2835 |
|
2836 |
-
#: pro/admin/admin-updates.php:118
|
|
|
2837 |
msgid "Updates"
|
2838 |
msgstr ""
|
2839 |
|
@@ -2899,6 +2897,14 @@ msgstr ""
|
|
2899 |
msgid "Upgrade Notice"
|
2900 |
msgstr ""
|
2901 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2902 |
#: pro/fields/class-acf-field-clone.php:25
|
2903 |
msgctxt "noun"
|
2904 |
msgid "Clone"
|
@@ -2957,13 +2963,13 @@ msgstr ""
|
|
2957 |
|
2958 |
#: pro/fields/class-acf-field-flexible-content.php:31
|
2959 |
#: pro/fields/class-acf-field-repeater.php:193
|
2960 |
-
#: pro/fields/class-acf-field-repeater.php:
|
2961 |
msgid "Add Row"
|
2962 |
msgstr ""
|
2963 |
|
2964 |
#: pro/fields/class-acf-field-flexible-content.php:73
|
2965 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
2966 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
2967 |
msgid "layout"
|
2968 |
msgid_plural "layouts"
|
2969 |
msgstr[0] ""
|
@@ -2974,8 +2980,8 @@ msgid "layouts"
|
|
2974 |
msgstr ""
|
2975 |
|
2976 |
#: pro/fields/class-acf-field-flexible-content.php:77
|
2977 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
2978 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
2979 |
msgid "This field requires at least {min} {label} {identifier}"
|
2980 |
msgstr ""
|
2981 |
|
@@ -2995,139 +3001,139 @@ msgstr ""
|
|
2995 |
msgid "Flexible Content requires at least 1 layout"
|
2996 |
msgstr ""
|
2997 |
|
2998 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
2999 |
#, php-format
|
3000 |
msgid "Click the \"%s\" button below to start creating your layout"
|
3001 |
msgstr ""
|
3002 |
|
3003 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3004 |
msgid "Add layout"
|
3005 |
msgstr ""
|
3006 |
|
3007 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3008 |
msgid "Remove layout"
|
3009 |
msgstr ""
|
3010 |
|
3011 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3012 |
-
#: pro/fields/class-acf-field-repeater.php:
|
3013 |
msgid "Click to toggle"
|
3014 |
msgstr ""
|
3015 |
|
3016 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3017 |
msgid "Reorder Layout"
|
3018 |
msgstr ""
|
3019 |
|
3020 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3021 |
msgid "Reorder"
|
3022 |
msgstr ""
|
3023 |
|
3024 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3025 |
msgid "Delete Layout"
|
3026 |
msgstr ""
|
3027 |
|
3028 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3029 |
msgid "Duplicate Layout"
|
3030 |
msgstr ""
|
3031 |
|
3032 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3033 |
msgid "Add New Layout"
|
3034 |
msgstr ""
|
3035 |
|
3036 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3037 |
msgid "Min"
|
3038 |
msgstr ""
|
3039 |
|
3040 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3041 |
msgid "Max"
|
3042 |
msgstr ""
|
3043 |
|
3044 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3045 |
-
#: pro/fields/class-acf-field-repeater.php:
|
3046 |
msgid "Button Label"
|
3047 |
msgstr ""
|
3048 |
|
3049 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3050 |
msgid "Minimum Layouts"
|
3051 |
msgstr ""
|
3052 |
|
3053 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3054 |
msgid "Maximum Layouts"
|
3055 |
msgstr ""
|
3056 |
|
3057 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3058 |
msgid "Add Image to Gallery"
|
3059 |
msgstr ""
|
3060 |
|
3061 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3062 |
msgid "Maximum selection reached"
|
3063 |
msgstr ""
|
3064 |
|
3065 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3066 |
msgid "Length"
|
3067 |
msgstr ""
|
3068 |
|
3069 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3070 |
msgid "Caption"
|
3071 |
msgstr ""
|
3072 |
|
3073 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3074 |
msgid "Alt Text"
|
3075 |
msgstr ""
|
3076 |
|
3077 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3078 |
msgid "Add to gallery"
|
3079 |
msgstr ""
|
3080 |
|
3081 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3082 |
msgid "Bulk actions"
|
3083 |
msgstr ""
|
3084 |
|
3085 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3086 |
msgid "Sort by date uploaded"
|
3087 |
msgstr ""
|
3088 |
|
3089 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3090 |
msgid "Sort by date modified"
|
3091 |
msgstr ""
|
3092 |
|
3093 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3094 |
msgid "Sort by title"
|
3095 |
msgstr ""
|
3096 |
|
3097 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3098 |
msgid "Reverse current order"
|
3099 |
msgstr ""
|
3100 |
|
3101 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3102 |
msgid "Close"
|
3103 |
msgstr ""
|
3104 |
|
3105 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3106 |
-
msgid "Minimum Selection"
|
3107 |
-
msgstr ""
|
3108 |
-
|
3109 |
-
#: pro/fields/class-acf-field-gallery.php:651
|
3110 |
-
msgid "Maximum Selection"
|
3111 |
-
msgstr ""
|
3112 |
-
|
3113 |
-
#: pro/fields/class-acf-field-gallery.php:660
|
3114 |
msgid "Insert"
|
3115 |
msgstr ""
|
3116 |
|
3117 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3118 |
msgid "Specify where new attachments are added"
|
3119 |
msgstr ""
|
3120 |
|
3121 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3122 |
msgid "Append to the end"
|
3123 |
msgstr ""
|
3124 |
|
3125 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3126 |
msgid "Prepend to the beginning"
|
3127 |
msgstr ""
|
3128 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3129 |
#: pro/fields/class-acf-field-repeater.php:65
|
3130 |
-
#: pro/fields/class-acf-field-repeater.php:
|
3131 |
msgid "Minimum rows reached ({min} rows)"
|
3132 |
msgstr ""
|
3133 |
|
@@ -3135,27 +3141,27 @@ msgstr ""
|
|
3135 |
msgid "Maximum rows reached ({max} rows)"
|
3136 |
msgstr ""
|
3137 |
|
3138 |
-
#: pro/fields/class-acf-field-repeater.php:
|
3139 |
msgid "Add row"
|
3140 |
msgstr ""
|
3141 |
|
3142 |
-
#: pro/fields/class-acf-field-repeater.php:
|
3143 |
msgid "Remove row"
|
3144 |
msgstr ""
|
3145 |
|
3146 |
-
#: pro/fields/class-acf-field-repeater.php:
|
3147 |
msgid "Collapsed"
|
3148 |
msgstr ""
|
3149 |
|
3150 |
-
#: pro/fields/class-acf-field-repeater.php:
|
3151 |
msgid "Select a sub field to show when row is collapsed"
|
3152 |
msgstr ""
|
3153 |
|
3154 |
-
#: pro/fields/class-acf-field-repeater.php:
|
3155 |
msgid "Minimum Rows"
|
3156 |
msgstr ""
|
3157 |
|
3158 |
-
#: pro/fields/class-acf-field-repeater.php:
|
3159 |
msgid "Maximum Rows"
|
3160 |
msgstr ""
|
3161 |
|
@@ -3179,14 +3185,19 @@ msgid ""
|
|
3179 |
"\">details & pricing</a>."
|
3180 |
msgstr ""
|
3181 |
|
3182 |
-
|
3183 |
-
msgid "
|
3184 |
msgstr ""
|
3185 |
|
3186 |
-
|
3187 |
-
msgid "
|
3188 |
msgstr ""
|
3189 |
|
|
|
3190 |
#. Author URI of the plugin/theme
|
3191 |
-
msgid "
|
|
|
|
|
|
|
|
|
3192 |
msgstr ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Advanced Custom Fields\n"
|
5 |
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
6 |
+
"POT-Creation-Date: 2019-11-11 10:49+1000\n"
|
7 |
"PO-Revision-Date: 2015-06-11 13:00+1000\n"
|
8 |
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
9 |
"Language-Team: Elliot Condon <e@elliotcondon.com>\n"
|
11 |
"MIME-Version: 1.0\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
+
"X-Generator: Poedit 1.8.1\n"
|
15 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
16 |
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
17 |
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
22 |
"X-Poedit-SearchPath-0: .\n"
|
23 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
24 |
|
25 |
+
#: acf.php:68
|
26 |
msgid "Advanced Custom Fields"
|
27 |
msgstr ""
|
28 |
|
29 |
+
#: acf.php:340 includes/admin/admin.php:52
|
30 |
msgid "Field Groups"
|
31 |
msgstr ""
|
32 |
|
33 |
+
#: acf.php:341
|
34 |
msgid "Field Group"
|
35 |
msgstr ""
|
36 |
|
37 |
+
#: acf.php:342 acf.php:374 includes/admin/admin.php:53
|
38 |
+
#: pro/fields/class-acf-field-flexible-content.php:558
|
39 |
msgid "Add New"
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: acf.php:343
|
43 |
msgid "Add New Field Group"
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: acf.php:344
|
47 |
msgid "Edit Field Group"
|
48 |
msgstr ""
|
49 |
|
50 |
+
#: acf.php:345
|
51 |
msgid "New Field Group"
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: acf.php:346
|
55 |
msgid "View Field Group"
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: acf.php:347
|
59 |
msgid "Search Field Groups"
|
60 |
msgstr ""
|
61 |
|
62 |
+
#: acf.php:348
|
63 |
msgid "No Field Groups found"
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: acf.php:349
|
67 |
msgid "No Field Groups found in Trash"
|
68 |
msgstr ""
|
69 |
|
70 |
+
#: acf.php:372 includes/admin/admin-field-group.php:220
|
71 |
+
#: includes/admin/admin-field-groups.php:530
|
72 |
#: pro/fields/class-acf-field-clone.php:811
|
73 |
msgid "Fields"
|
74 |
msgstr ""
|
75 |
|
76 |
+
#: acf.php:373
|
77 |
msgid "Field"
|
78 |
msgstr ""
|
79 |
|
80 |
+
#: acf.php:375
|
81 |
msgid "Add New Field"
|
82 |
msgstr ""
|
83 |
|
84 |
+
#: acf.php:376
|
85 |
msgid "Edit Field"
|
86 |
msgstr ""
|
87 |
|
88 |
+
#: acf.php:377 includes/admin/views/field-group-fields.php:41
|
89 |
msgid "New Field"
|
90 |
msgstr ""
|
91 |
|
92 |
+
#: acf.php:378
|
93 |
msgid "View Field"
|
94 |
msgstr ""
|
95 |
|
96 |
+
#: acf.php:379
|
97 |
msgid "Search Fields"
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: acf.php:380
|
101 |
msgid "No Fields found"
|
102 |
msgstr ""
|
103 |
|
104 |
+
#: acf.php:381
|
105 |
msgid "No Fields found in Trash"
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: acf.php:416 includes/admin/admin-field-group.php:402
|
109 |
+
#: includes/admin/admin-field-groups.php:587
|
110 |
msgid "Inactive"
|
111 |
msgstr ""
|
112 |
|
113 |
+
#: acf.php:421
|
114 |
#, php-format
|
115 |
msgid "Inactive <span class=\"count\">(%s)</span>"
|
116 |
msgid_plural "Inactive <span class=\"count\">(%s)</span>"
|
117 |
msgstr[0] ""
|
118 |
msgstr[1] ""
|
119 |
|
120 |
+
#: includes/acf-field-functions.php:831
|
121 |
#: includes/admin/admin-field-group.php:178
|
122 |
msgid "(no label)"
|
123 |
msgstr ""
|
124 |
|
125 |
+
#: includes/acf-field-group-functions.php:819
|
126 |
#: includes/admin/admin-field-group.php:180
|
127 |
msgid "copy"
|
128 |
msgstr ""
|
194 |
#: includes/admin/views/field-group-field-conditional-logic.php:151
|
195 |
#: includes/admin/views/field-group-locations.php:29
|
196 |
#: includes/admin/views/html-location-group.php:3
|
197 |
+
#: includes/api/api-helpers.php:3649
|
198 |
msgid "or"
|
199 |
msgstr ""
|
200 |
|
220 |
msgid "Active"
|
221 |
msgstr ""
|
222 |
|
223 |
+
#: includes/admin/admin-field-group.php:767
|
224 |
msgid "Move Complete."
|
225 |
msgstr ""
|
226 |
|
227 |
+
#: includes/admin/admin-field-group.php:768
|
228 |
#, php-format
|
229 |
msgid "The %s field can now be found in the %s field group"
|
230 |
msgstr ""
|
231 |
|
232 |
+
#: includes/admin/admin-field-group.php:769
|
233 |
msgid "Close Window"
|
234 |
msgstr ""
|
235 |
|
236 |
+
#: includes/admin/admin-field-group.php:810
|
237 |
msgid "Please select the destination for this field"
|
238 |
msgstr ""
|
239 |
|
240 |
+
#: includes/admin/admin-field-group.php:817
|
241 |
msgid "Move Field"
|
242 |
msgstr ""
|
243 |
|
262 |
msgstr[0] ""
|
263 |
msgstr[1] ""
|
264 |
|
265 |
+
#: includes/admin/admin-field-groups.php:414
|
266 |
+
#: includes/admin/admin-field-groups.php:577
|
267 |
msgid "Sync available"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: includes/admin/admin-field-groups.php:527 includes/forms/form-front.php:38
|
271 |
+
#: pro/fields/class-acf-field-gallery.php:353
|
272 |
msgid "Title"
|
273 |
msgstr ""
|
274 |
|
275 |
+
#: includes/admin/admin-field-groups.php:528
|
276 |
#: includes/admin/views/field-group-options.php:96
|
277 |
#: includes/admin/views/html-admin-page-upgrade-network.php:38
|
278 |
#: includes/admin/views/html-admin-page-upgrade-network.php:49
|
279 |
+
#: pro/fields/class-acf-field-gallery.php:380
|
280 |
msgid "Description"
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: includes/admin/admin-field-groups.php:529
|
284 |
msgid "Status"
|
285 |
msgstr ""
|
286 |
|
289 |
msgid "Customize WordPress with powerful, professional and intuitive fields."
|
290 |
msgstr ""
|
291 |
|
292 |
+
#: includes/admin/admin-field-groups.php:628 includes/admin/admin.php:123
|
|
|
293 |
#: pro/admin/views/html-settings-updates.php:107
|
294 |
msgid "Changelog"
|
295 |
msgstr ""
|
316 |
msgstr ""
|
317 |
|
318 |
#: includes/admin/admin-field-groups.php:642
|
319 |
+
#: includes/admin/views/settings-info.php:81
|
320 |
msgid "Pro"
|
321 |
msgstr ""
|
322 |
|
332 |
#: includes/admin/admin-field-groups.php:686
|
333 |
#: includes/admin/admin-field-groups.php:702
|
334 |
#: includes/admin/views/field-group-field.php:46
|
335 |
+
#: pro/fields/class-acf-field-flexible-content.php:557
|
336 |
msgid "Duplicate"
|
337 |
msgstr ""
|
338 |
|
339 |
#: includes/admin/admin-field-groups.php:719
|
340 |
+
#: includes/fields/class-acf-field-google-map.php:146
|
341 |
#: includes/fields/class-acf-field-relationship.php:593
|
342 |
msgid "Search"
|
343 |
msgstr ""
|
369 |
msgid "Tools"
|
370 |
msgstr ""
|
371 |
|
372 |
+
#: includes/admin/admin-upgrade.php:47 includes/admin/admin-upgrade.php:109
|
373 |
+
#: includes/admin/admin-upgrade.php:110 includes/admin/admin-upgrade.php:173
|
374 |
#: includes/admin/views/html-admin-page-upgrade-network.php:24
|
375 |
#: includes/admin/views/html-admin-page-upgrade.php:26
|
376 |
msgid "Upgrade Database"
|
377 |
msgstr ""
|
378 |
|
379 |
+
#: includes/admin/admin-upgrade.php:197
|
380 |
msgid "Review sites & upgrade"
|
381 |
msgstr ""
|
382 |
|
383 |
+
#: includes/admin/admin.php:51
|
384 |
+
#: includes/admin/views/field-group-options.php:110
|
385 |
msgid "Custom Fields"
|
386 |
msgstr ""
|
387 |
|
388 |
+
#: includes/admin/admin.php:57
|
389 |
msgid "Info"
|
390 |
msgstr ""
|
391 |
|
392 |
+
#: includes/admin/admin.php:122
|
393 |
msgid "What's New"
|
394 |
msgstr ""
|
395 |
|
511 |
msgstr ""
|
512 |
|
513 |
#: includes/admin/views/field-group-field.php:38
|
514 |
+
#: pro/fields/class-acf-field-flexible-content.php:410
|
515 |
+
#: pro/fields/class-acf-field-repeater.php:299
|
516 |
msgid "Drag to reorder"
|
517 |
msgstr ""
|
518 |
|
523 |
|
524 |
#: includes/admin/views/field-group-field.php:45
|
525 |
#: includes/fields/class-acf-field-file.php:152
|
526 |
+
#: includes/fields/class-acf-field-image.php:138
|
527 |
#: includes/fields/class-acf-field-link.php:139
|
528 |
+
#: pro/fields/class-acf-field-gallery.php:337
|
529 |
msgid "Edit"
|
530 |
msgstr ""
|
531 |
|
546 |
msgstr ""
|
547 |
|
548 |
#: includes/admin/views/field-group-field.php:48
|
549 |
+
#: pro/fields/class-acf-field-flexible-content.php:556
|
550 |
msgid "Delete"
|
551 |
msgstr ""
|
552 |
|
611 |
#: includes/fields/class-acf-field-checkbox.php:420
|
612 |
#: includes/fields/class-acf-field-radio.php:311
|
613 |
#: includes/fields/class-acf-field-select.php:433
|
614 |
+
#: pro/fields/class-acf-field-flexible-content.php:582
|
615 |
msgid "Label"
|
616 |
msgstr ""
|
617 |
|
618 |
#: includes/admin/views/field-group-fields.php:6
|
619 |
#: includes/fields/class-acf-field-taxonomy.php:939
|
620 |
+
#: pro/fields/class-acf-field-flexible-content.php:596
|
621 |
msgid "Name"
|
622 |
msgstr ""
|
623 |
|
857 |
msgstr ""
|
858 |
|
859 |
#: includes/admin/views/html-admin-page-upgrade.php:116
|
860 |
+
#: includes/ajax/class-acf-ajax-upgrade.php:32
|
861 |
msgid "No updates available."
|
862 |
msgstr ""
|
863 |
|
909 |
"Please also check all premium add-ons (%s) are updated to the latest version."
|
910 |
msgstr ""
|
911 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
912 |
#: includes/admin/views/settings-info.php:3
|
913 |
msgid "Welcome to Advanced Custom Fields"
|
914 |
msgstr ""
|
924 |
msgid "A Smoother Experience"
|
925 |
msgstr ""
|
926 |
|
927 |
+
#: includes/admin/views/settings-info.php:18
|
928 |
msgid "Improved Usability"
|
929 |
msgstr ""
|
930 |
|
931 |
+
#: includes/admin/views/settings-info.php:19
|
932 |
msgid ""
|
933 |
"Including the popular Select2 library has improved both usability and speed "
|
934 |
"across a number of field types including post object, page link, taxonomy "
|
935 |
"and select."
|
936 |
msgstr ""
|
937 |
|
938 |
+
#: includes/admin/views/settings-info.php:22
|
939 |
msgid "Improved Design"
|
940 |
msgstr ""
|
941 |
|
942 |
+
#: includes/admin/views/settings-info.php:23
|
943 |
msgid ""
|
944 |
"Many fields have undergone a visual refresh to make ACF look better than "
|
945 |
"ever! Noticeable changes are seen on the gallery, relationship and oEmbed "
|
946 |
"(new) fields!"
|
947 |
msgstr ""
|
948 |
|
949 |
+
#: includes/admin/views/settings-info.php:26
|
950 |
msgid "Improved Data"
|
951 |
msgstr ""
|
952 |
|
953 |
+
#: includes/admin/views/settings-info.php:27
|
954 |
msgid ""
|
955 |
"Redesigning the data architecture has allowed sub fields to live "
|
956 |
"independently from their parents. This allows you to drag and drop fields in "
|
957 |
"and out of parent fields!"
|
958 |
msgstr ""
|
959 |
|
960 |
+
#: includes/admin/views/settings-info.php:35
|
961 |
msgid "Goodbye Add-ons. Hello PRO"
|
962 |
msgstr ""
|
963 |
|
964 |
+
#: includes/admin/views/settings-info.php:38
|
965 |
msgid "Introducing ACF PRO"
|
966 |
msgstr ""
|
967 |
|
968 |
+
#: includes/admin/views/settings-info.php:39
|
969 |
msgid ""
|
970 |
"We're changing the way premium functionality is delivered in an exciting way!"
|
971 |
msgstr ""
|
972 |
|
973 |
+
#: includes/admin/views/settings-info.php:40
|
974 |
#, php-format
|
975 |
msgid ""
|
976 |
"All 4 premium add-ons have been combined into a new <a href=\"%s\">Pro "
|
978 |
"premium functionality is more affordable and accessible than ever before!"
|
979 |
msgstr ""
|
980 |
|
981 |
+
#: includes/admin/views/settings-info.php:44
|
982 |
msgid "Powerful Features"
|
983 |
msgstr ""
|
984 |
|
985 |
+
#: includes/admin/views/settings-info.php:45
|
986 |
msgid ""
|
987 |
"ACF PRO contains powerful features such as repeatable data, flexible content "
|
988 |
"layouts, a beautiful gallery field and the ability to create extra admin "
|
989 |
"options pages!"
|
990 |
msgstr ""
|
991 |
|
992 |
+
#: includes/admin/views/settings-info.php:46
|
993 |
#, php-format
|
994 |
msgid "Read more about <a href=\"%s\">ACF PRO features</a>."
|
995 |
msgstr ""
|
996 |
|
997 |
+
#: includes/admin/views/settings-info.php:50
|
998 |
msgid "Easy Upgrading"
|
999 |
msgstr ""
|
1000 |
|
1001 |
+
#: includes/admin/views/settings-info.php:51
|
1002 |
msgid ""
|
1003 |
"Upgrading to ACF PRO is easy. Simply purchase a license online and download "
|
1004 |
"the plugin!"
|
1005 |
msgstr ""
|
1006 |
|
1007 |
+
#: includes/admin/views/settings-info.php:52
|
1008 |
#, php-format
|
1009 |
msgid ""
|
1010 |
"We also wrote an <a href=\"%s\">upgrade guide</a> to answer any questions, "
|
1012 |
"\">help desk</a>."
|
1013 |
msgstr ""
|
1014 |
|
1015 |
+
#: includes/admin/views/settings-info.php:61
|
1016 |
msgid "New Features"
|
1017 |
msgstr ""
|
1018 |
|
1019 |
+
#: includes/admin/views/settings-info.php:66
|
1020 |
msgid "Link Field"
|
1021 |
msgstr ""
|
1022 |
|
1023 |
+
#: includes/admin/views/settings-info.php:67
|
1024 |
msgid ""
|
1025 |
"The Link field provides a simple way to select or define a link (url, title, "
|
1026 |
"target)."
|
1027 |
msgstr ""
|
1028 |
|
1029 |
+
#: includes/admin/views/settings-info.php:71
|
1030 |
msgid "Group Field"
|
1031 |
msgstr ""
|
1032 |
|
1033 |
+
#: includes/admin/views/settings-info.php:72
|
1034 |
msgid "The Group field provides a simple way to create a group of fields."
|
1035 |
msgstr ""
|
1036 |
|
1037 |
+
#: includes/admin/views/settings-info.php:76
|
1038 |
msgid "oEmbed Field"
|
1039 |
msgstr ""
|
1040 |
|
1041 |
+
#: includes/admin/views/settings-info.php:77
|
1042 |
msgid ""
|
1043 |
"The oEmbed field allows an easy way to embed videos, images, tweets, audio, "
|
1044 |
"and other content."
|
1045 |
msgstr ""
|
1046 |
|
1047 |
+
#: includes/admin/views/settings-info.php:81
|
1048 |
msgid "Clone Field"
|
1049 |
msgstr ""
|
1050 |
|
1051 |
+
#: includes/admin/views/settings-info.php:82
|
1052 |
msgid "The clone field allows you to select and display existing fields."
|
1053 |
msgstr ""
|
1054 |
|
1055 |
+
#: includes/admin/views/settings-info.php:86
|
1056 |
msgid "More AJAX"
|
1057 |
msgstr ""
|
1058 |
|
1059 |
+
#: includes/admin/views/settings-info.php:87
|
1060 |
msgid "More fields use AJAX powered search to speed up page loading."
|
1061 |
msgstr ""
|
1062 |
|
1063 |
+
#: includes/admin/views/settings-info.php:91
|
1064 |
msgid "Local JSON"
|
1065 |
msgstr ""
|
1066 |
|
1067 |
+
#: includes/admin/views/settings-info.php:92
|
1068 |
msgid ""
|
1069 |
"New auto export to JSON feature improves speed and allows for syncronisation."
|
1070 |
msgstr ""
|
1071 |
|
1072 |
+
#: includes/admin/views/settings-info.php:96
|
1073 |
msgid "Easy Import / Export"
|
1074 |
msgstr ""
|
1075 |
|
1076 |
+
#: includes/admin/views/settings-info.php:97
|
1077 |
msgid "Both import and export can easily be done through a new tools page."
|
1078 |
msgstr ""
|
1079 |
|
1080 |
+
#: includes/admin/views/settings-info.php:101
|
1081 |
msgid "New Form Locations"
|
1082 |
msgstr ""
|
1083 |
|
1084 |
+
#: includes/admin/views/settings-info.php:102
|
1085 |
msgid ""
|
1086 |
"Fields can now be mapped to menus, menu items, comments, widgets and all "
|
1087 |
"user forms!"
|
1088 |
msgstr ""
|
1089 |
|
1090 |
+
#: includes/admin/views/settings-info.php:106
|
1091 |
msgid "More Customization"
|
1092 |
msgstr ""
|
1093 |
|
1094 |
+
#: includes/admin/views/settings-info.php:107
|
1095 |
msgid ""
|
1096 |
"New PHP (and JS) actions and filters have been added to allow for more "
|
1097 |
"customization."
|
1098 |
msgstr ""
|
1099 |
|
1100 |
+
#: includes/admin/views/settings-info.php:111
|
1101 |
msgid "Fresh UI"
|
1102 |
msgstr ""
|
1103 |
|
1104 |
+
#: includes/admin/views/settings-info.php:112
|
1105 |
msgid ""
|
1106 |
"The entire plugin has had a design refresh including new field types, "
|
1107 |
"settings and design!"
|
1108 |
msgstr ""
|
1109 |
|
1110 |
+
#: includes/admin/views/settings-info.php:116
|
1111 |
msgid "New Settings"
|
1112 |
msgstr ""
|
1113 |
|
1114 |
+
#: includes/admin/views/settings-info.php:117
|
1115 |
msgid ""
|
1116 |
"Field group settings have been added for Active, Label Placement, "
|
1117 |
"Instructions Placement and Description."
|
1118 |
msgstr ""
|
1119 |
|
1120 |
+
#: includes/admin/views/settings-info.php:121
|
1121 |
msgid "Better Front End Forms"
|
1122 |
msgstr ""
|
1123 |
|
1124 |
+
#: includes/admin/views/settings-info.php:122
|
1125 |
msgid ""
|
1126 |
"acf_form() can now create a new post on submission with lots of new settings."
|
1127 |
msgstr ""
|
1128 |
|
1129 |
+
#: includes/admin/views/settings-info.php:126
|
1130 |
msgid "Better Validation"
|
1131 |
msgstr ""
|
1132 |
|
1133 |
+
#: includes/admin/views/settings-info.php:127
|
1134 |
msgid "Form validation is now done via PHP + AJAX in favour of only JS."
|
1135 |
msgstr ""
|
1136 |
|
1137 |
+
#: includes/admin/views/settings-info.php:131
|
1138 |
msgid "Moving Fields"
|
1139 |
msgstr ""
|
1140 |
|
1141 |
+
#: includes/admin/views/settings-info.php:132
|
1142 |
msgid ""
|
1143 |
"New field group functionality allows you to move a field between groups & "
|
1144 |
"parents."
|
1145 |
msgstr ""
|
1146 |
|
1147 |
+
#: includes/admin/views/settings-info.php:143
|
1148 |
#, php-format
|
1149 |
msgid "We think you'll love the changes in %s."
|
1150 |
msgstr ""
|
1151 |
|
1152 |
+
#: includes/api/api-helpers.php:827
|
1153 |
msgid "Thumbnail"
|
1154 |
msgstr ""
|
1155 |
|
1156 |
+
#: includes/api/api-helpers.php:828
|
1157 |
msgid "Medium"
|
1158 |
msgstr ""
|
1159 |
|
1160 |
+
#: includes/api/api-helpers.php:829
|
1161 |
msgid "Large"
|
1162 |
msgstr ""
|
1163 |
|
1164 |
+
#: includes/api/api-helpers.php:878
|
1165 |
msgid "Full Size"
|
1166 |
msgstr ""
|
1167 |
|
1168 |
+
#: includes/api/api-helpers.php:1599 includes/api/api-term.php:147
|
1169 |
#: pro/fields/class-acf-field-clone.php:996
|
1170 |
msgid "(no title)"
|
1171 |
msgstr ""
|
1172 |
|
1173 |
+
#: includes/api/api-helpers.php:3570
|
1174 |
#, php-format
|
1175 |
msgid "Image width must be at least %dpx."
|
1176 |
msgstr ""
|
1177 |
|
1178 |
+
#: includes/api/api-helpers.php:3575
|
1179 |
#, php-format
|
1180 |
msgid "Image width must not exceed %dpx."
|
1181 |
msgstr ""
|
1182 |
|
1183 |
+
#: includes/api/api-helpers.php:3591
|
1184 |
#, php-format
|
1185 |
msgid "Image height must be at least %dpx."
|
1186 |
msgstr ""
|
1187 |
|
1188 |
+
#: includes/api/api-helpers.php:3596
|
1189 |
#, php-format
|
1190 |
msgid "Image height must not exceed %dpx."
|
1191 |
msgstr ""
|
1192 |
|
1193 |
+
#: includes/api/api-helpers.php:3614
|
1194 |
#, php-format
|
1195 |
msgid "File size must be at least %s."
|
1196 |
msgstr ""
|
1197 |
|
1198 |
+
#: includes/api/api-helpers.php:3619
|
1199 |
#, php-format
|
1200 |
msgid "File size must must not exceed %s."
|
1201 |
msgstr ""
|
1202 |
|
1203 |
+
#: includes/api/api-helpers.php:3653
|
1204 |
#, php-format
|
1205 |
msgid "File type must be %s."
|
1206 |
msgstr ""
|
1207 |
|
1208 |
+
#: includes/assets.php:184
|
1209 |
msgid "The changes you made will be lost if you navigate away from this page"
|
1210 |
msgstr ""
|
1211 |
|
1212 |
+
#: includes/assets.php:187 includes/fields/class-acf-field-select.php:259
|
1213 |
msgctxt "verb"
|
1214 |
msgid "Select"
|
1215 |
msgstr ""
|
1216 |
|
1217 |
+
#: includes/assets.php:188
|
1218 |
msgctxt "verb"
|
1219 |
msgid "Edit"
|
1220 |
msgstr ""
|
1221 |
|
1222 |
+
#: includes/assets.php:189
|
1223 |
msgctxt "verb"
|
1224 |
msgid "Update"
|
1225 |
msgstr ""
|
1226 |
|
1227 |
+
#: includes/assets.php:190
|
1228 |
msgid "Uploaded to this post"
|
1229 |
msgstr ""
|
1230 |
|
1231 |
+
#: includes/assets.php:191
|
1232 |
msgid "Expand Details"
|
1233 |
msgstr ""
|
1234 |
|
1235 |
+
#: includes/assets.php:192
|
1236 |
msgid "Collapse Details"
|
1237 |
msgstr ""
|
1238 |
|
1239 |
+
#: includes/assets.php:193
|
1240 |
msgid "Restricted"
|
1241 |
msgstr ""
|
1242 |
|
1243 |
+
#: includes/assets.php:194 includes/fields/class-acf-field-image.php:66
|
1244 |
msgid "All images"
|
1245 |
msgstr ""
|
1246 |
|
1247 |
+
#: includes/assets.php:197
|
1248 |
msgid "Validation successful"
|
1249 |
msgstr ""
|
1250 |
|
1251 |
+
#: includes/assets.php:198 includes/validation.php:285
|
1252 |
#: includes/validation.php:296
|
1253 |
msgid "Validation failed"
|
1254 |
msgstr ""
|
1255 |
|
1256 |
+
#: includes/assets.php:199
|
1257 |
msgid "1 field requires attention"
|
1258 |
msgstr ""
|
1259 |
|
1260 |
+
#: includes/assets.php:200
|
1261 |
#, php-format
|
1262 |
msgid "%d fields require attention"
|
1263 |
msgstr ""
|
1264 |
|
1265 |
+
#: includes/assets.php:203
|
1266 |
msgid "Are you sure?"
|
1267 |
msgstr ""
|
1268 |
|
1269 |
+
#: includes/assets.php:204 includes/fields/class-acf-field-true_false.php:79
|
1270 |
#: includes/fields/class-acf-field-true_false.php:159
|
1271 |
#: pro/admin/views/html-settings-updates.php:89
|
1272 |
msgid "Yes"
|
1273 |
msgstr ""
|
1274 |
|
1275 |
+
#: includes/assets.php:205 includes/fields/class-acf-field-true_false.php:80
|
1276 |
#: includes/fields/class-acf-field-true_false.php:174
|
1277 |
#: pro/admin/views/html-settings-updates.php:99
|
1278 |
msgid "No"
|
1279 |
msgstr ""
|
1280 |
|
1281 |
+
#: includes/assets.php:206 includes/fields/class-acf-field-file.php:154
|
1282 |
+
#: includes/fields/class-acf-field-image.php:140
|
1283 |
#: includes/fields/class-acf-field-link.php:140
|
1284 |
+
#: pro/fields/class-acf-field-gallery.php:338
|
1285 |
+
#: pro/fields/class-acf-field-gallery.php:478
|
1286 |
msgid "Remove"
|
1287 |
msgstr ""
|
1288 |
|
1289 |
+
#: includes/assets.php:207
|
1290 |
msgid "Cancel"
|
1291 |
msgstr ""
|
1292 |
|
1293 |
+
#: includes/assets.php:210
|
1294 |
msgid "Has any value"
|
1295 |
msgstr ""
|
1296 |
|
1297 |
+
#: includes/assets.php:211
|
1298 |
msgid "Has no value"
|
1299 |
msgstr ""
|
1300 |
|
1301 |
+
#: includes/assets.php:212
|
1302 |
msgid "Value is equal to"
|
1303 |
msgstr ""
|
1304 |
|
1305 |
+
#: includes/assets.php:213
|
1306 |
msgid "Value is not equal to"
|
1307 |
msgstr ""
|
1308 |
|
1309 |
+
#: includes/assets.php:214
|
1310 |
msgid "Value matches pattern"
|
1311 |
msgstr ""
|
1312 |
|
1313 |
+
#: includes/assets.php:215
|
1314 |
msgid "Value contains"
|
1315 |
msgstr ""
|
1316 |
|
1317 |
+
#: includes/assets.php:216
|
1318 |
msgid "Value is greater than"
|
1319 |
msgstr ""
|
1320 |
|
1321 |
+
#: includes/assets.php:217
|
1322 |
msgid "Value is less than"
|
1323 |
msgstr ""
|
1324 |
|
1325 |
+
#: includes/assets.php:218
|
1326 |
msgid "Selection is greater than"
|
1327 |
msgstr ""
|
1328 |
|
1329 |
+
#: includes/assets.php:219
|
1330 |
msgid "Selection is less than"
|
1331 |
msgstr ""
|
1332 |
|
1333 |
+
#: includes/assets.php:222 includes/forms/form-comment.php:166
|
1334 |
#: pro/admin/admin-options-page.php:325
|
1335 |
msgid "Edit field group"
|
1336 |
msgstr ""
|
1363 |
msgid "jQuery"
|
1364 |
msgstr ""
|
1365 |
|
1366 |
+
#: includes/fields.php:354
|
1367 |
+
#: includes/fields/class-acf-field-button-group.php:177
|
1368 |
#: includes/fields/class-acf-field-checkbox.php:389
|
1369 |
#: includes/fields/class-acf-field-group.php:474
|
1370 |
#: includes/fields/class-acf-field-radio.php:290
|
1371 |
#: pro/fields/class-acf-field-clone.php:843
|
1372 |
+
#: pro/fields/class-acf-field-flexible-content.php:553
|
1373 |
+
#: pro/fields/class-acf-field-flexible-content.php:602
|
1374 |
+
#: pro/fields/class-acf-field-repeater.php:448
|
1375 |
msgid "Layout"
|
1376 |
msgstr ""
|
1377 |
|
1456 |
#: includes/fields/class-acf-field-radio.php:281
|
1457 |
#: includes/fields/class-acf-field-range.php:149
|
1458 |
#: includes/fields/class-acf-field-select.php:373
|
1459 |
+
#: includes/fields/class-acf-field-text.php:95
|
1460 |
#: includes/fields/class-acf-field-textarea.php:102
|
1461 |
#: includes/fields/class-acf-field-true_false.php:135
|
1462 |
#: includes/fields/class-acf-field-url.php:100
|
1469 |
#: includes/fields/class-acf-field-number.php:128
|
1470 |
#: includes/fields/class-acf-field-radio.php:282
|
1471 |
#: includes/fields/class-acf-field-range.php:150
|
1472 |
+
#: includes/fields/class-acf-field-text.php:96
|
1473 |
#: includes/fields/class-acf-field-textarea.php:103
|
1474 |
#: includes/fields/class-acf-field-url.php:101
|
1475 |
#: includes/fields/class-acf-field-wysiwyg.php:382
|
1491 |
#: includes/fields/class-acf-field-button-group.php:191
|
1492 |
#: includes/fields/class-acf-field-checkbox.php:413
|
1493 |
#: includes/fields/class-acf-field-file.php:215
|
|
|
1494 |
#: includes/fields/class-acf-field-link.php:166
|
1495 |
#: includes/fields/class-acf-field-radio.php:304
|
1496 |
#: includes/fields/class-acf-field-taxonomy.php:829
|
1500 |
#: includes/fields/class-acf-field-button-group.php:192
|
1501 |
#: includes/fields/class-acf-field-checkbox.php:414
|
1502 |
#: includes/fields/class-acf-field-file.php:216
|
|
|
1503 |
#: includes/fields/class-acf-field-link.php:167
|
1504 |
#: includes/fields/class-acf-field-radio.php:305
|
1505 |
msgid "Specify the returned value on front end"
|
1641 |
|
1642 |
#: includes/fields/class-acf-field-date_picker.php:208
|
1643 |
#: includes/fields/class-acf-field-date_time_picker.php:200
|
1644 |
+
#: includes/fields/class-acf-field-image.php:204
|
1645 |
#: includes/fields/class-acf-field-post_object.php:431
|
1646 |
#: includes/fields/class-acf-field-relationship.php:634
|
1647 |
#: includes/fields/class-acf-field-select.php:427
|
1648 |
#: includes/fields/class-acf-field-time_picker.php:124
|
1649 |
#: includes/fields/class-acf-field-user.php:412
|
1650 |
+
#: pro/fields/class-acf-field-gallery.php:557
|
1651 |
msgid "Return Format"
|
1652 |
msgstr ""
|
1653 |
|
1748 |
#: includes/fields/class-acf-field-email.php:127
|
1749 |
#: includes/fields/class-acf-field-number.php:136
|
1750 |
#: includes/fields/class-acf-field-password.php:71
|
1751 |
+
#: includes/fields/class-acf-field-text.php:104
|
1752 |
#: includes/fields/class-acf-field-textarea.php:111
|
1753 |
#: includes/fields/class-acf-field-url.php:109
|
1754 |
msgid "Placeholder Text"
|
1757 |
#: includes/fields/class-acf-field-email.php:128
|
1758 |
#: includes/fields/class-acf-field-number.php:137
|
1759 |
#: includes/fields/class-acf-field-password.php:72
|
1760 |
+
#: includes/fields/class-acf-field-text.php:105
|
1761 |
#: includes/fields/class-acf-field-textarea.php:112
|
1762 |
#: includes/fields/class-acf-field-url.php:110
|
1763 |
msgid "Appears within the input"
|
1767 |
#: includes/fields/class-acf-field-number.php:145
|
1768 |
#: includes/fields/class-acf-field-password.php:80
|
1769 |
#: includes/fields/class-acf-field-range.php:188
|
1770 |
+
#: includes/fields/class-acf-field-text.php:113
|
1771 |
msgid "Prepend"
|
1772 |
msgstr ""
|
1773 |
|
1775 |
#: includes/fields/class-acf-field-number.php:146
|
1776 |
#: includes/fields/class-acf-field-password.php:81
|
1777 |
#: includes/fields/class-acf-field-range.php:189
|
1778 |
+
#: includes/fields/class-acf-field-text.php:114
|
1779 |
msgid "Appears before the input"
|
1780 |
msgstr ""
|
1781 |
|
1783 |
#: includes/fields/class-acf-field-number.php:154
|
1784 |
#: includes/fields/class-acf-field-password.php:89
|
1785 |
#: includes/fields/class-acf-field-range.php:197
|
1786 |
+
#: includes/fields/class-acf-field-text.php:122
|
1787 |
msgid "Append"
|
1788 |
msgstr ""
|
1789 |
|
1791 |
#: includes/fields/class-acf-field-number.php:155
|
1792 |
#: includes/fields/class-acf-field-password.php:90
|
1793 |
#: includes/fields/class-acf-field-range.php:198
|
1794 |
+
#: includes/fields/class-acf-field-text.php:123
|
1795 |
msgid "Appears after the input"
|
1796 |
msgstr ""
|
1797 |
|
1814 |
#: includes/fields/class-acf-field-file.php:145
|
1815 |
#: includes/fields/class-acf-field-file.php:248
|
1816 |
#: includes/fields/class-acf-field-file.php:259
|
1817 |
+
#: includes/fields/class-acf-field-image.php:264
|
1818 |
+
#: includes/fields/class-acf-field-image.php:293
|
1819 |
+
#: pro/fields/class-acf-field-gallery.php:642
|
1820 |
+
#: pro/fields/class-acf-field-gallery.php:671
|
1821 |
msgid "File size"
|
1822 |
msgstr ""
|
1823 |
|
1838 |
msgstr ""
|
1839 |
|
1840 |
#: includes/fields/class-acf-field-file.php:230
|
1841 |
+
#: includes/fields/class-acf-field-image.php:229
|
1842 |
+
#: pro/fields/class-acf-field-gallery.php:592
|
1843 |
msgid "Library"
|
1844 |
msgstr ""
|
1845 |
|
1846 |
#: includes/fields/class-acf-field-file.php:231
|
1847 |
+
#: includes/fields/class-acf-field-image.php:230
|
1848 |
+
#: pro/fields/class-acf-field-gallery.php:593
|
1849 |
msgid "Limit the media library choice"
|
1850 |
msgstr ""
|
1851 |
|
1852 |
#: includes/fields/class-acf-field-file.php:236
|
1853 |
+
#: includes/fields/class-acf-field-image.php:235
|
1854 |
#: includes/locations/class-acf-location-attachment.php:101
|
1855 |
#: includes/locations/class-acf-location-comment.php:79
|
1856 |
#: includes/locations/class-acf-location-nav-menu.php:102
|
1857 |
#: includes/locations/class-acf-location-taxonomy.php:79
|
1858 |
+
#: includes/locations/class-acf-location-user-form.php:72
|
1859 |
+
#: includes/locations/class-acf-location-user-role.php:88
|
1860 |
#: includes/locations/class-acf-location-widget.php:83
|
1861 |
+
#: pro/fields/class-acf-field-gallery.php:598
|
1862 |
+
#: pro/locations/class-acf-location-block.php:79
|
1863 |
msgid "All"
|
1864 |
msgstr ""
|
1865 |
|
1866 |
#: includes/fields/class-acf-field-file.php:237
|
1867 |
+
#: includes/fields/class-acf-field-image.php:236
|
1868 |
+
#: pro/fields/class-acf-field-gallery.php:599
|
1869 |
msgid "Uploaded to post"
|
1870 |
msgstr ""
|
1871 |
|
1872 |
#: includes/fields/class-acf-field-file.php:244
|
1873 |
+
#: includes/fields/class-acf-field-image.php:243
|
1874 |
+
#: pro/fields/class-acf-field-gallery.php:621
|
1875 |
msgid "Minimum"
|
1876 |
msgstr ""
|
1877 |
|
1881 |
msgstr ""
|
1882 |
|
1883 |
#: includes/fields/class-acf-field-file.php:255
|
1884 |
+
#: includes/fields/class-acf-field-image.php:272
|
1885 |
+
#: pro/fields/class-acf-field-gallery.php:650
|
1886 |
msgid "Maximum"
|
1887 |
msgstr ""
|
1888 |
|
1889 |
#: includes/fields/class-acf-field-file.php:266
|
1890 |
+
#: includes/fields/class-acf-field-image.php:301
|
1891 |
+
#: pro/fields/class-acf-field-gallery.php:678
|
1892 |
msgid "Allowed file types"
|
1893 |
msgstr ""
|
1894 |
|
1895 |
#: includes/fields/class-acf-field-file.php:267
|
1896 |
+
#: includes/fields/class-acf-field-image.php:302
|
1897 |
+
#: pro/fields/class-acf-field-gallery.php:679
|
1898 |
msgid "Comma separated list. Leave blank for all types"
|
1899 |
msgstr ""
|
1900 |
|
1906 |
msgid "Sorry, this browser does not support geolocation"
|
1907 |
msgstr ""
|
1908 |
|
1909 |
+
#: includes/fields/class-acf-field-google-map.php:147
|
1910 |
msgid "Clear location"
|
1911 |
msgstr ""
|
1912 |
|
1913 |
+
#: includes/fields/class-acf-field-google-map.php:148
|
1914 |
msgid "Find current location"
|
1915 |
msgstr ""
|
1916 |
|
1917 |
+
#: includes/fields/class-acf-field-google-map.php:151
|
1918 |
msgid "Search for address..."
|
1919 |
msgstr ""
|
1920 |
|
1921 |
+
#: includes/fields/class-acf-field-google-map.php:181
|
1922 |
+
#: includes/fields/class-acf-field-google-map.php:192
|
1923 |
msgid "Center"
|
1924 |
msgstr ""
|
1925 |
|
1926 |
+
#: includes/fields/class-acf-field-google-map.php:182
|
1927 |
+
#: includes/fields/class-acf-field-google-map.php:193
|
1928 |
msgid "Center the initial map"
|
1929 |
msgstr ""
|
1930 |
|
1931 |
+
#: includes/fields/class-acf-field-google-map.php:204
|
1932 |
msgid "Zoom"
|
1933 |
msgstr ""
|
1934 |
|
1935 |
+
#: includes/fields/class-acf-field-google-map.php:205
|
1936 |
msgid "Set the initial zoom level"
|
1937 |
msgstr ""
|
1938 |
|
1939 |
+
#: includes/fields/class-acf-field-google-map.php:214
|
1940 |
+
#: includes/fields/class-acf-field-image.php:255
|
1941 |
+
#: includes/fields/class-acf-field-image.php:284
|
1942 |
#: includes/fields/class-acf-field-oembed.php:268
|
1943 |
+
#: pro/fields/class-acf-field-gallery.php:633
|
1944 |
+
#: pro/fields/class-acf-field-gallery.php:662
|
1945 |
msgid "Height"
|
1946 |
msgstr ""
|
1947 |
|
1948 |
+
#: includes/fields/class-acf-field-google-map.php:215
|
1949 |
msgid "Customize the map height"
|
1950 |
msgstr ""
|
1951 |
|
1954 |
msgstr ""
|
1955 |
|
1956 |
#: includes/fields/class-acf-field-group.php:459
|
1957 |
+
#: pro/fields/class-acf-field-repeater.php:384
|
1958 |
msgid "Sub Fields"
|
1959 |
msgstr ""
|
1960 |
|
1965 |
|
1966 |
#: includes/fields/class-acf-field-group.php:480
|
1967 |
#: pro/fields/class-acf-field-clone.php:849
|
1968 |
+
#: pro/fields/class-acf-field-flexible-content.php:613
|
1969 |
+
#: pro/fields/class-acf-field-repeater.php:456
|
1970 |
+
#: pro/locations/class-acf-location-block.php:27
|
1971 |
msgid "Block"
|
1972 |
msgstr ""
|
1973 |
|
1974 |
#: includes/fields/class-acf-field-group.php:481
|
1975 |
#: pro/fields/class-acf-field-clone.php:850
|
1976 |
+
#: pro/fields/class-acf-field-flexible-content.php:612
|
1977 |
+
#: pro/fields/class-acf-field-repeater.php:455
|
1978 |
msgid "Table"
|
1979 |
msgstr ""
|
1980 |
|
1981 |
#: includes/fields/class-acf-field-group.php:482
|
1982 |
#: pro/fields/class-acf-field-clone.php:851
|
1983 |
+
#: pro/fields/class-acf-field-flexible-content.php:614
|
1984 |
+
#: pro/fields/class-acf-field-repeater.php:457
|
1985 |
msgid "Row"
|
1986 |
msgstr ""
|
1987 |
|
1989 |
msgid "Image"
|
1990 |
msgstr ""
|
1991 |
|
1992 |
+
#: includes/fields/class-acf-field-image.php:63
|
1993 |
msgid "Select Image"
|
1994 |
msgstr ""
|
1995 |
|
1996 |
+
#: includes/fields/class-acf-field-image.php:64
|
1997 |
msgid "Edit Image"
|
1998 |
msgstr ""
|
1999 |
|
2000 |
+
#: includes/fields/class-acf-field-image.php:65
|
2001 |
msgid "Update Image"
|
2002 |
msgstr ""
|
2003 |
|
2004 |
+
#: includes/fields/class-acf-field-image.php:156
|
2005 |
msgid "No image selected"
|
2006 |
msgstr ""
|
2007 |
|
2008 |
+
#: includes/fields/class-acf-field-image.php:156
|
2009 |
msgid "Add Image"
|
2010 |
msgstr ""
|
2011 |
|
2012 |
+
#: includes/fields/class-acf-field-image.php:210
|
2013 |
+
#: pro/fields/class-acf-field-gallery.php:563
|
2014 |
msgid "Image Array"
|
2015 |
msgstr ""
|
2016 |
|
2017 |
+
#: includes/fields/class-acf-field-image.php:211
|
2018 |
+
#: pro/fields/class-acf-field-gallery.php:564
|
2019 |
msgid "Image URL"
|
2020 |
msgstr ""
|
2021 |
|
2022 |
+
#: includes/fields/class-acf-field-image.php:212
|
2023 |
+
#: pro/fields/class-acf-field-gallery.php:565
|
2024 |
msgid "Image ID"
|
2025 |
msgstr ""
|
2026 |
|
2027 |
+
#: includes/fields/class-acf-field-image.php:219
|
2028 |
+
#: pro/fields/class-acf-field-gallery.php:571
|
2029 |
msgid "Preview Size"
|
2030 |
msgstr ""
|
2031 |
|
2032 |
+
#: includes/fields/class-acf-field-image.php:244
|
2033 |
+
#: includes/fields/class-acf-field-image.php:273
|
2034 |
+
#: pro/fields/class-acf-field-gallery.php:622
|
2035 |
+
#: pro/fields/class-acf-field-gallery.php:651
|
|
|
|
|
|
|
|
|
2036 |
msgid "Restrict which images can be uploaded"
|
2037 |
msgstr ""
|
2038 |
|
2039 |
+
#: includes/fields/class-acf-field-image.php:247
|
2040 |
+
#: includes/fields/class-acf-field-image.php:276
|
2041 |
#: includes/fields/class-acf-field-oembed.php:257
|
2042 |
+
#: pro/fields/class-acf-field-gallery.php:625
|
2043 |
+
#: pro/fields/class-acf-field-gallery.php:654
|
2044 |
msgid "Width"
|
2045 |
msgstr ""
|
2046 |
|
2298 |
msgstr ""
|
2299 |
|
2300 |
#: includes/fields/class-acf-field-relationship.php:727
|
2301 |
+
#: pro/fields/class-acf-field-gallery.php:779
|
2302 |
#, php-format
|
2303 |
msgid "%s requires at least %s selection"
|
2304 |
msgid_plural "%s requires at least %s selections"
|
2488 |
msgstr ""
|
2489 |
|
2490 |
#: includes/fields/class-acf-field-taxonomy.php:973
|
2491 |
+
#: includes/locations/class-acf-location-user-form.php:73
|
2492 |
msgid "Add"
|
2493 |
msgstr ""
|
2494 |
|
2496 |
msgid "Text"
|
2497 |
msgstr ""
|
2498 |
|
2499 |
+
#: includes/fields/class-acf-field-text.php:131
|
2500 |
#: includes/fields/class-acf-field-textarea.php:120
|
2501 |
msgid "Character Limit"
|
2502 |
msgstr ""
|
2503 |
|
2504 |
+
#: includes/fields/class-acf-field-text.php:132
|
2505 |
#: includes/fields/class-acf-field-textarea.php:121
|
2506 |
msgid "Leave blank for no limit"
|
2507 |
msgstr ""
|
2508 |
|
2509 |
+
#: includes/fields/class-acf-field-text.php:157
|
2510 |
+
#: includes/fields/class-acf-field-textarea.php:215
|
2511 |
#, php-format
|
2512 |
msgid "Value must not exceed %d characters"
|
2513 |
msgstr ""
|
2630 |
msgstr ""
|
2631 |
|
2632 |
#: includes/fields/class-acf-field-wysiwyg.php:430
|
2633 |
+
msgid "TinyMCE will not be initialized until field is clicked"
|
2634 |
msgstr ""
|
2635 |
|
2636 |
#: includes/forms/form-front.php:55
|
2637 |
msgid "Validate Email"
|
2638 |
msgstr ""
|
2639 |
|
2640 |
+
#: includes/forms/form-front.php:104
|
2641 |
+
#: pro/fields/class-acf-field-gallery.php:510 pro/options-page.php:81
|
2642 |
msgid "Update"
|
2643 |
msgstr ""
|
2644 |
|
2645 |
+
#: includes/forms/form-front.php:105
|
2646 |
msgid "Post updated"
|
2647 |
msgstr ""
|
2648 |
|
2649 |
+
#: includes/forms/form-front.php:231
|
2650 |
msgid "Spam Detected"
|
2651 |
msgstr ""
|
2652 |
|
2653 |
+
#: includes/forms/form-user.php:336
|
2654 |
+
#, php-format
|
2655 |
+
msgid "<strong>ERROR</strong>: %s"
|
2656 |
+
msgstr ""
|
2657 |
+
|
2658 |
#: includes/locations.php:93 includes/locations/class-acf-location-post.php:27
|
2659 |
msgid "Post"
|
2660 |
msgstr ""
|
2785 |
msgid "Post Template"
|
2786 |
msgstr ""
|
2787 |
|
2788 |
+
#: includes/locations/class-acf-location-user-form.php:22
|
2789 |
msgid "User Form"
|
2790 |
msgstr ""
|
2791 |
|
2792 |
+
#: includes/locations/class-acf-location-user-form.php:74
|
2793 |
msgid "Add / Edit"
|
2794 |
msgstr ""
|
2795 |
|
2796 |
+
#: includes/locations/class-acf-location-user-form.php:75
|
2797 |
msgid "Register"
|
2798 |
msgstr ""
|
2799 |
|
2800 |
+
#: includes/locations/class-acf-location-user-role.php:22
|
2801 |
msgid "User Role"
|
2802 |
msgstr ""
|
2803 |
|
2830 |
msgid "<b>Error</b>. Could not connect to update server"
|
2831 |
msgstr ""
|
2832 |
|
2833 |
+
#: pro/admin/admin-updates.php:118
|
2834 |
+
#: pro/admin/views/html-settings-updates.php:13
|
2835 |
msgid "Updates"
|
2836 |
msgstr ""
|
2837 |
|
2897 |
msgid "Upgrade Notice"
|
2898 |
msgstr ""
|
2899 |
|
2900 |
+
#: pro/blocks.php:371
|
2901 |
+
msgid "Switch to Edit"
|
2902 |
+
msgstr ""
|
2903 |
+
|
2904 |
+
#: pro/blocks.php:372
|
2905 |
+
msgid "Switch to Preview"
|
2906 |
+
msgstr ""
|
2907 |
+
|
2908 |
#: pro/fields/class-acf-field-clone.php:25
|
2909 |
msgctxt "noun"
|
2910 |
msgid "Clone"
|
2963 |
|
2964 |
#: pro/fields/class-acf-field-flexible-content.php:31
|
2965 |
#: pro/fields/class-acf-field-repeater.php:193
|
2966 |
+
#: pro/fields/class-acf-field-repeater.php:468
|
2967 |
msgid "Add Row"
|
2968 |
msgstr ""
|
2969 |
|
2970 |
#: pro/fields/class-acf-field-flexible-content.php:73
|
2971 |
+
#: pro/fields/class-acf-field-flexible-content.php:924
|
2972 |
+
#: pro/fields/class-acf-field-flexible-content.php:1006
|
2973 |
msgid "layout"
|
2974 |
msgid_plural "layouts"
|
2975 |
msgstr[0] ""
|
2980 |
msgstr ""
|
2981 |
|
2982 |
#: pro/fields/class-acf-field-flexible-content.php:77
|
2983 |
+
#: pro/fields/class-acf-field-flexible-content.php:923
|
2984 |
+
#: pro/fields/class-acf-field-flexible-content.php:1005
|
2985 |
msgid "This field requires at least {min} {label} {identifier}"
|
2986 |
msgstr ""
|
2987 |
|
3001 |
msgid "Flexible Content requires at least 1 layout"
|
3002 |
msgstr ""
|
3003 |
|
3004 |
+
#: pro/fields/class-acf-field-flexible-content.php:287
|
3005 |
#, php-format
|
3006 |
msgid "Click the \"%s\" button below to start creating your layout"
|
3007 |
msgstr ""
|
3008 |
|
3009 |
+
#: pro/fields/class-acf-field-flexible-content.php:413
|
3010 |
msgid "Add layout"
|
3011 |
msgstr ""
|
3012 |
|
3013 |
+
#: pro/fields/class-acf-field-flexible-content.php:414
|
3014 |
msgid "Remove layout"
|
3015 |
msgstr ""
|
3016 |
|
3017 |
+
#: pro/fields/class-acf-field-flexible-content.php:415
|
3018 |
+
#: pro/fields/class-acf-field-repeater.php:301
|
3019 |
msgid "Click to toggle"
|
3020 |
msgstr ""
|
3021 |
|
3022 |
+
#: pro/fields/class-acf-field-flexible-content.php:555
|
3023 |
msgid "Reorder Layout"
|
3024 |
msgstr ""
|
3025 |
|
3026 |
+
#: pro/fields/class-acf-field-flexible-content.php:555
|
3027 |
msgid "Reorder"
|
3028 |
msgstr ""
|
3029 |
|
3030 |
+
#: pro/fields/class-acf-field-flexible-content.php:556
|
3031 |
msgid "Delete Layout"
|
3032 |
msgstr ""
|
3033 |
|
3034 |
+
#: pro/fields/class-acf-field-flexible-content.php:557
|
3035 |
msgid "Duplicate Layout"
|
3036 |
msgstr ""
|
3037 |
|
3038 |
+
#: pro/fields/class-acf-field-flexible-content.php:558
|
3039 |
msgid "Add New Layout"
|
3040 |
msgstr ""
|
3041 |
|
3042 |
+
#: pro/fields/class-acf-field-flexible-content.php:629
|
3043 |
msgid "Min"
|
3044 |
msgstr ""
|
3045 |
|
3046 |
+
#: pro/fields/class-acf-field-flexible-content.php:642
|
3047 |
msgid "Max"
|
3048 |
msgstr ""
|
3049 |
|
3050 |
+
#: pro/fields/class-acf-field-flexible-content.php:669
|
3051 |
+
#: pro/fields/class-acf-field-repeater.php:464
|
3052 |
msgid "Button Label"
|
3053 |
msgstr ""
|
3054 |
|
3055 |
+
#: pro/fields/class-acf-field-flexible-content.php:678
|
3056 |
msgid "Minimum Layouts"
|
3057 |
msgstr ""
|
3058 |
|
3059 |
+
#: pro/fields/class-acf-field-flexible-content.php:687
|
3060 |
msgid "Maximum Layouts"
|
3061 |
msgstr ""
|
3062 |
|
3063 |
+
#: pro/fields/class-acf-field-gallery.php:73
|
3064 |
msgid "Add Image to Gallery"
|
3065 |
msgstr ""
|
3066 |
|
3067 |
+
#: pro/fields/class-acf-field-gallery.php:74
|
3068 |
msgid "Maximum selection reached"
|
3069 |
msgstr ""
|
3070 |
|
3071 |
+
#: pro/fields/class-acf-field-gallery.php:322
|
3072 |
msgid "Length"
|
3073 |
msgstr ""
|
3074 |
|
3075 |
+
#: pro/fields/class-acf-field-gallery.php:362
|
3076 |
msgid "Caption"
|
3077 |
msgstr ""
|
3078 |
|
3079 |
+
#: pro/fields/class-acf-field-gallery.php:371
|
3080 |
msgid "Alt Text"
|
3081 |
msgstr ""
|
3082 |
|
3083 |
+
#: pro/fields/class-acf-field-gallery.php:487
|
3084 |
msgid "Add to gallery"
|
3085 |
msgstr ""
|
3086 |
|
3087 |
+
#: pro/fields/class-acf-field-gallery.php:491
|
3088 |
msgid "Bulk actions"
|
3089 |
msgstr ""
|
3090 |
|
3091 |
+
#: pro/fields/class-acf-field-gallery.php:492
|
3092 |
msgid "Sort by date uploaded"
|
3093 |
msgstr ""
|
3094 |
|
3095 |
+
#: pro/fields/class-acf-field-gallery.php:493
|
3096 |
msgid "Sort by date modified"
|
3097 |
msgstr ""
|
3098 |
|
3099 |
+
#: pro/fields/class-acf-field-gallery.php:494
|
3100 |
msgid "Sort by title"
|
3101 |
msgstr ""
|
3102 |
|
3103 |
+
#: pro/fields/class-acf-field-gallery.php:495
|
3104 |
msgid "Reverse current order"
|
3105 |
msgstr ""
|
3106 |
|
3107 |
+
#: pro/fields/class-acf-field-gallery.php:507
|
3108 |
msgid "Close"
|
3109 |
msgstr ""
|
3110 |
|
3111 |
+
#: pro/fields/class-acf-field-gallery.php:580
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3112 |
msgid "Insert"
|
3113 |
msgstr ""
|
3114 |
|
3115 |
+
#: pro/fields/class-acf-field-gallery.php:581
|
3116 |
msgid "Specify where new attachments are added"
|
3117 |
msgstr ""
|
3118 |
|
3119 |
+
#: pro/fields/class-acf-field-gallery.php:585
|
3120 |
msgid "Append to the end"
|
3121 |
msgstr ""
|
3122 |
|
3123 |
+
#: pro/fields/class-acf-field-gallery.php:586
|
3124 |
msgid "Prepend to the beginning"
|
3125 |
msgstr ""
|
3126 |
|
3127 |
+
#: pro/fields/class-acf-field-gallery.php:605
|
3128 |
+
msgid "Minimum Selection"
|
3129 |
+
msgstr ""
|
3130 |
+
|
3131 |
+
#: pro/fields/class-acf-field-gallery.php:613
|
3132 |
+
msgid "Maximum Selection"
|
3133 |
+
msgstr ""
|
3134 |
+
|
3135 |
#: pro/fields/class-acf-field-repeater.php:65
|
3136 |
+
#: pro/fields/class-acf-field-repeater.php:661
|
3137 |
msgid "Minimum rows reached ({min} rows)"
|
3138 |
msgstr ""
|
3139 |
|
3141 |
msgid "Maximum rows reached ({max} rows)"
|
3142 |
msgstr ""
|
3143 |
|
3144 |
+
#: pro/fields/class-acf-field-repeater.php:338
|
3145 |
msgid "Add row"
|
3146 |
msgstr ""
|
3147 |
|
3148 |
+
#: pro/fields/class-acf-field-repeater.php:339
|
3149 |
msgid "Remove row"
|
3150 |
msgstr ""
|
3151 |
|
3152 |
+
#: pro/fields/class-acf-field-repeater.php:417
|
3153 |
msgid "Collapsed"
|
3154 |
msgstr ""
|
3155 |
|
3156 |
+
#: pro/fields/class-acf-field-repeater.php:418
|
3157 |
msgid "Select a sub field to show when row is collapsed"
|
3158 |
msgstr ""
|
3159 |
|
3160 |
+
#: pro/fields/class-acf-field-repeater.php:428
|
3161 |
msgid "Minimum Rows"
|
3162 |
msgstr ""
|
3163 |
|
3164 |
+
#: pro/fields/class-acf-field-repeater.php:438
|
3165 |
msgid "Maximum Rows"
|
3166 |
msgstr ""
|
3167 |
|
3185 |
"\">details & pricing</a>."
|
3186 |
msgstr ""
|
3187 |
|
3188 |
+
#: tests/basic/test-blocks.php:30
|
3189 |
+
msgid "Normal"
|
3190 |
msgstr ""
|
3191 |
|
3192 |
+
#: tests/basic/test-blocks.php:31
|
3193 |
+
msgid "Fancy"
|
3194 |
msgstr ""
|
3195 |
|
3196 |
+
#. Plugin URI of the plugin/theme
|
3197 |
#. Author URI of the plugin/theme
|
3198 |
+
msgid "https://www.advancedcustomfields.com"
|
3199 |
+
msgstr ""
|
3200 |
+
|
3201 |
+
#. Author of the plugin/theme
|
3202 |
+
msgid "Elliot Condon"
|
3203 |
msgstr ""
|
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Contributors: elliotcondon
|
3 |
Tags: acf, advanced, custom, field, fields, form, repeater, content
|
4 |
Requires at least: 4.7.0
|
5 |
-
Tested up to: 5.
|
6 |
Requires PHP: 5.4
|
7 |
License: GPLv2 or later
|
8 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
@@ -67,6 +67,16 @@ From your WordPress dashboard
|
|
67 |
|
68 |
== Changelog ==
|
69 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
= 5.8.6 =
|
71 |
*Release Date - 24 October 2019*
|
72 |
|
2 |
Contributors: elliotcondon
|
3 |
Tags: acf, advanced, custom, field, fields, form, repeater, content
|
4 |
Requires at least: 4.7.0
|
5 |
+
Tested up to: 5.3.0
|
6 |
Requires PHP: 5.4
|
7 |
License: GPLv2 or later
|
8 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
67 |
|
68 |
== Changelog ==
|
69 |
|
70 |
+
= 5.8.7 =
|
71 |
+
*Release Date - 12 November 2019*
|
72 |
+
|
73 |
+
* New - Updated admin CSS for new WordPress 5.3 styling.
|
74 |
+
* Fix - Fixed various issues affecting dynamic metaboxes in the block editor (requires WordPress 5.3)
|
75 |
+
* Fix - Fixed performance issue when checking network sites for upgrades.
|
76 |
+
* Fix - Fixed Select2 clones appearing after duplicating a Relationship field.
|
77 |
+
* Tweak - Repeater field "Add row" icons will now hide when maximum rows are reached.
|
78 |
+
* Tweak - Removed ACF Blocks keyword limit for later versions of Gutenberg.
|
79 |
+
|
80 |
= 5.8.6 =
|
81 |
*Release Date - 24 October 2019*
|
82 |
|