Version Description
(3rd May 2018) =
* For more detials check out this blog post
* Added: GDPR Compliancy #2040
* Added: Muffin Page Builder Compatibility #1455 #1893
* Added: Thrive leads compatibility #2067
* Fixed: Load structured markup json in Footer to improve performance #1945
* Added: Font Size and Font Family Controls added in Content Presentation Module #1962
* Added: Font Weight Control added in Text Module in PageBuilder #1962
* Added: Other necessary controls added in Content Presentation Module #1962
* Added: New Design called "Design 4" added in Content Presentation Module. #1962
* Fixed: License Activation process connected with AMP extensions #1981
* Added: Icon Selector control added in Button module in AMP Page Builder #1962
* Added: Filter called ampforwp_get_comments_gravatar
to modify Author Avatar Images #1949
* Fixed: Validation error fixed by removing json+ld values to remove CDATA #1977
* Added: Icon Adjustment Option is added in the Button Module #1962
* Fixed: Debug Warnings fixed #1976
* Fixed: If AMP support on post and page is disabled then mobile redirection was not working #1979
* Fixed: Responsive element added in Image Module #1962
* Fixed: Custom Post and Custom Taxonomies Archives not working in AMP #1957
* Fixed: AMP take over is on and AMP support on the home page is disabled it was redirecting to some other pages #1994
* Fixed: Design 1 and Design 2 shouldn't show 'social' tab #1996
* Added: AMP WordPress Theme notice
* Added: Rewrite Rules Added for WooCommerece #1957
* Fixed: AMP Takeover blog search results giving blank page #1990
* Fixed: Swift pagination markup is present even the page has no pagination #2000
* Fixed: Pagination breaking on second page on Archives when Blog page is not set #1998
* Fixed: Added proper Google API jump link #1966
* Fixed: Advance Index and no-index controls did not had description #1978
* Added: Filter added amp_blacklisted_tags
in blacklist-sanitizer file
* Added: Hyperlink for image module added #1989
* Added: ampforwp_get_frontpage_id
a common fucntion created to get post id for AMP frontpage #2025
* Fixed: Comments controls were not working properly #1987
* Fixed: Fatal Error after updating the plugin from 0.9.73 to 0.9.83 version #2017
* Fixed: Filter created ampforwp_modify_rel_url
to modify rel canonical URL #2012
* Fixed: Remove structured data json if removed from AMP options panel
* Fixed: amp widget appearing twice in design one #2008
* Fixed: Gif in content + Lightbox feature throws validation issue. #2032
* Added: New Features in the Page builder Modules #2029
* Fixed: License Key was not working properly #2026
* Fixed: Instagram comment view is getting cut off in Swift Theme #2002
* Added: Icon module support added in Desgin 1, 2 & 3 #1997
* Fixed: if GD or ImageMagick library is not present in the server then send the original image #2037 #2038
* Fixed: Swift theme homepage (Non-AMP) image resizing issues in Mobile version #1992
* Fixed: Header Element not working in Swift theme #1967
* Fixed: Stop Loading of Latest post scripts on Homepage and Frontpage #2041
* Added: Filter created ampforwp_non_amp_links()
so users can have all the internal links non-amp #1973
* Fixed: Sanitize the archive description in loop component #1974
* Fixed: Double AMPHTML when FBIA Plugin is active #2043
* Fixed: Image Div is loading even if the image is not present in Swift #2033
* Fixed: Custom AMP editor is visible on pages (post type) even if the Page Support is off from amp options panel #2047
* Fixed: When 'Structure Data for WP' plugin active, Schema type in Structure section should hide #2049
* Fixed: Bugs in Video Module in AMP pagebuilder #2048
* Added: Autoplay feature added in Video Module #2048
* Fixed: Throwing error when Product Structured Data is selected #1975
* Fixed: Advanced CSS is not loading because the files are with hosting path #2046
* Fixed: Double Quotes breaking the html #2004
* Removed: Blog option is removed from AMP Options panel and it is connected with Pages option Under Reading Settings #2027
* Fixed: amphtml should not be created for 404 pages #2018
* Added: 404 Template added, useful for AMP Takeover #2042
* Fixed: Genesis meta titles are lost and not rendering correctly #2050
* Fixed: Search blank on AMP Takeover #1990
* Fixed: Remove Unused js files from Paginated Post Pages #2001
* Fixed: Extra Space adding in H1 and other SEO tags #2054
* Fixed: Undefined Index when called from robot #1960
* Fixed: amp facebook comment Js not loading to the custom front page of the swift theme. #2053
* Fixed: Tags label is not working properly when RTL Support on #1719
* Fixed: View Non-AMP Version In the footer link has an error #2066
* Fixed: Squirrly SEO is Adding the Javascript code in AMP #1696
* Fixed: Translation option issue when using POT file method #1941
* Fixed: amp-facebook-like extension is missing on Custom Frontpage #2061
* Fixed: GTM option repositioned #2056
* Fixed: Menu is appearing on left side instead of Right side when RTL support is ON for Design3 #1928
* Fixed: Sidebar Bugs #1972
* Added: Table Styling in Swift #1961
* Fixed: Genesis index, follow options not being rendered #2071
* Added: Filter created ampforwp_robots_meta
to modify robots meta information #2071
* Fixed: PHP Notices #2065
* Added: Add a new hook ampforwp_after_amp_menu
after the menu in all designs #2072
* Added: New Look to Options panel #1823
* Added: Retina Image Support added #1846
* Fixed: Pagebuilder hrefs were stripped in hebrew language #2089
* Fixed: Warning Fixed #2083
* Fixed: Gallery module images not loading in Firefox #1980
* Fixed: Pagebuilder Improvement #2024
Release Info
Developer | mohammed_kaludi |
Plugin | AMP for WP – Accelerated Mobile Pages |
Version | 0.9.86 |
Comparing to | |
See all releases |
Code changes from version 0.9.85.7 to 0.9.86
- README.md +87 -1
- accelerated-moblie-pages.php +27 -2
- classes/class-ampforwp-instagram-sanitizer.php +1 -0
- classes/class-ampforwp-youtube-embed.php +1 -0
- components/author-box/author-box.php +1 -1
- components/breadcrumb/breadcrumb.php +10 -9
- components/comments/comments.php +106 -117
- components/components-core.php +50 -11
- components/featured-image/featured-image.php +1 -0
- components/icomoon/icomoon.ttf +0 -0
- components/loop/loop.php +47 -11
- components/menu/menu.php +2 -2
- components/post-pagination/post-pagination.php +3 -3
- components/related-posts/related-posts.php +1 -1
- components/search/search.php +7 -1
- components/social-icons/social-icons.php +4 -2
- components/theme-loader.php +8 -1
- images/d-1.png +0 -0
- images/d-2.png +0 -0
- images/d-3.png +0 -0
- images/d-4.png +0 -0
- images/layouts-1.png +0 -0
- images/testmon-1.png +0 -0
- includes/admin-script.js +30 -6
- includes/admin-style.css +189 -6
- includes/amp-consent/consent.php +3 -0
- includes/options/admin-config.php +1141 -517
- includes/options/extensions/vendor_support/vendor_support/extension_vendor_support.php +61 -60
- includes/options/redux-core/assets/css/media/media.css +1 -1
- includes/options/redux-core/assets/css/redux-admin.css +235 -29
- includes/options/redux-core/assets/css/redux-fields.css +100 -2
- includes/options/redux-core/assets/css/vendor/spectrum/redux-spectrum.css +1 -1
- includes/options/redux-core/assets/css/vendor/spectrum/redux-spectrum.min.css +1 -1
- includes/options/redux-core/framework.php +42 -2
- includes/options/redux-core/inc/fields/ace_editor/field_ace_editor.css +1 -1
- includes/options/redux-core/inc/fields/section/field_section.php +12 -1
- includes/options/redux-core/inc/fields/switch/field_switch.css +15 -13
- includes/options/redux-custom.css +4 -2
- includes/redirect.php +14 -0
- includes/thirdparty-compatibility.php +1 -0
- includes/updater/update.php +1 -2
- includes/vendor/amp/back-compat/templates-v0-3/meta-author.php +1 -1
- includes/vendor/amp/includes/amp-post-template-actions.php +4 -3
- includes/vendor/amp/includes/class-amp-post-template.php +10 -4
- includes/vendor/amp/includes/embeds/class-amp-dailymotion-embed.php +1 -0
- includes/vendor/amp/includes/embeds/class-amp-facebook-embed.php +1 -0
- includes/vendor/amp/includes/embeds/class-amp-instagram-embed.php +1 -0
- includes/vendor/amp/includes/embeds/class-amp-pinterest-embed.php +1 -0
- includes/vendor/amp/includes/embeds/class-amp-soundcloud-embed.php +1 -0
- includes/vendor/amp/includes/embeds/class-amp-twitter-embed.php +1 -0
- includes/vendor/amp/includes/embeds/class-amp-vimeo-embed.php +1 -0
- includes/vendor/amp/includes/embeds/class-amp-vine-embed.php +1 -0
- includes/vendor/amp/includes/embeds/class-amp-youtube-embed.php +1 -0
- includes/vendor/amp/includes/sanitizers/class-amp-blacklist-sanitizer.php +7 -7
- includes/vendor/amp/includes/sanitizers/class-amp-iframe-sanitizer.php +4 -0
- includes/vendor/amp/includes/sanitizers/class-amp-img-sanitizer.php +12 -6
- includes/vendor/amp/includes/sanitizers/class-amp-playbuzz-sanitizer.php +4 -0
- includes/vendor/amp/includes/sanitizers/class-amp-video-sanitizer.php +4 -0
- includes/vendor/amp/templates/meta-author.php +1 -1
- includes/vendor/aq_resizer.php +15 -8
- includes/vendor/vendor-changelog.txt +4 -2
- includes/welcome.php +3 -0
- pagebuilder/config/moduleTemplate.php +136 -7
- pagebuilder/functions.php +20 -13
- pagebuilder/inc/admin-amp-page-builder.css +1 -1
- pagebuilder/inc/admin-amp-page-builder.js +43 -11
- pagebuilder/inc/assets/vue-drag-drop/vue-drag-drop.browser.js +1 -0
- pagebuilder/inc/assets/vue-drag-drop/vue-drag-drop.common.js +1 -0
- pagebuilder/inc/{node_modules/sortablejs → assets/vue.draggable}/Sortable.min.js +0 -0
- pagebuilder/inc/assets/vue.draggable/vuedraggable.min.js +1 -0
- pagebuilder/inc/assets/vue/vue.js +8415 -0
@@ -4,7 +4,7 @@ Tags: AMP, accelerated mobile pages, mobile, amp project, google amp, amp wp, go
|
|
4 |
Donate link: https://www.paypal.me/Kaludi/25
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.9.5
|
7 |
-
Stable tag: 0.9.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -107,6 +107,7 @@ Bug reports for AMP for WP are [welcomed on GitHub](https://github.com/ahmedkalu
|
|
107 |
**[JOIN CHAT GROUP COMMUNITY](https://ampforwp.com/community/)**: Purpose of this group is to get proper suggestions and feedback from plugin users and the community so that we can make the plugin even better.
|
108 |
|
109 |
= Getting Started: =
|
|
|
110 |
**[1. User Documentation:](https://ampforwp.com/help/)** The AMP for WordPress plugin is easy to setup but we have some tutorials and guides prepared for you which will help you dive deep with the plugin.
|
111 |
|
112 |
**[2. Developer Docs:](https://ampforwp.com/help/#extend)** We have created special documentations for developers and semi technical users who are willing to modify the plugin according to their own needs.
|
@@ -182,6 +183,91 @@ You can contact us from [here](https://ampforwp.com/contact/)
|
|
182 |
|
183 |
== Changelog ==
|
184 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
185 |
= 0.9.85.5 (21st April 2018) =
|
186 |
* Added: Filter added to modify frontpage post id `ampforwp_modify_frontpage_id`
|
187 |
* Added: Filter added to modify amp template directory `ampforwp_template_locate` #1982
|
4 |
Donate link: https://www.paypal.me/Kaludi/25
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.9.5
|
7 |
+
Stable tag: 0.9.86
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
107 |
**[JOIN CHAT GROUP COMMUNITY](https://ampforwp.com/community/)**: Purpose of this group is to get proper suggestions and feedback from plugin users and the community so that we can make the plugin even better.
|
108 |
|
109 |
= Getting Started: =
|
110 |
+
|
111 |
**[1. User Documentation:](https://ampforwp.com/help/)** The AMP for WordPress plugin is easy to setup but we have some tutorials and guides prepared for you which will help you dive deep with the plugin.
|
112 |
|
113 |
**[2. Developer Docs:](https://ampforwp.com/help/#extend)** We have created special documentations for developers and semi technical users who are willing to modify the plugin according to their own needs.
|
183 |
|
184 |
== Changelog ==
|
185 |
|
186 |
+
= 0.9.86 (3rd May 2018) =
|
187 |
+
* For more detials check out [this blog post](https://ampforwp.com/0-9-86-released-getting-ready-for-future-87th-update/)
|
188 |
+
* Added: GDPR Compliancy #2040
|
189 |
+
* Added: Muffin Page Builder Compatibility #1455 #1893
|
190 |
+
* Added: Thrive leads compatibility #2067
|
191 |
+
* Fixed: Load structured markup json in Footer to improve performance #1945
|
192 |
+
* Added: Font Size and Font Family Controls added in Content Presentation Module #1962
|
193 |
+
* Added: Font Weight Control added in Text Module in PageBuilder #1962
|
194 |
+
* Added: Other necessary controls added in Content Presentation Module #1962
|
195 |
+
* Added: New Design called "Design 4" added in Content Presentation Module. #1962
|
196 |
+
* Fixed: License Activation process connected with AMP extensions #1981
|
197 |
+
* Added: Icon Selector control added in Button module in AMP Page Builder #1962
|
198 |
+
* Added: Filter called `ampforwp_get_comments_gravatar` to modify Author Avatar Images #1949
|
199 |
+
* Fixed: Validation error fixed by removing json+ld values to remove CDATA #1977
|
200 |
+
* Added: Icon Adjustment Option is added in the Button Module #1962
|
201 |
+
* Fixed: Debug Warnings fixed #1976
|
202 |
+
* Fixed: If AMP support on post and page is disabled then mobile redirection was not working #1979
|
203 |
+
* Fixed: Responsive element added in Image Module #1962
|
204 |
+
* Fixed: Custom Post and Custom Taxonomies Archives not working in AMP #1957
|
205 |
+
* Fixed: AMP take over is on and AMP support on the home page is disabled it was redirecting to some other pages #1994
|
206 |
+
* Fixed: Design 1 and Design 2 shouldn't show 'social' tab #1996
|
207 |
+
* Added: AMP WordPress Theme notice
|
208 |
+
* Added: Rewrite Rules Added for WooCommerece #1957
|
209 |
+
* Fixed: AMP Takeover blog search results giving blank page #1990
|
210 |
+
* Fixed: Swift pagination markup is present even the page has no pagination #2000
|
211 |
+
* Fixed: Pagination breaking on second page on Archives when Blog page is not set #1998
|
212 |
+
* Fixed: Added proper Google API jump link #1966
|
213 |
+
* Fixed: Advance Index and no-index controls did not had description #1978
|
214 |
+
* Added: Filter added `amp_blacklisted_tags` in blacklist-sanitizer file
|
215 |
+
* Added: Hyperlink for image module added #1989
|
216 |
+
* Added: `ampforwp_get_frontpage_id` a common fucntion created to get post id for AMP frontpage #2025
|
217 |
+
* Fixed: Comments controls were not working properly #1987
|
218 |
+
* Fixed: Fatal Error after updating the plugin from 0.9.73 to 0.9.83 version #2017
|
219 |
+
* Fixed: Filter created `ampforwp_modify_rel_url` to modify rel canonical URL #2012
|
220 |
+
* Fixed: Remove structured data json if removed from AMP options panel
|
221 |
+
* Fixed: amp widget appearing twice in design one #2008
|
222 |
+
* Fixed: Gif in content + Lightbox feature throws validation issue. #2032
|
223 |
+
* Added: New Features in the Page builder Modules #2029
|
224 |
+
* Fixed: License Key was not working properly #2026
|
225 |
+
* Fixed: Instagram comment view is getting cut off in Swift Theme #2002
|
226 |
+
* Added: Icon module support added in Desgin 1, 2 & 3 #1997
|
227 |
+
* Fixed: if GD or ImageMagick library is not present in the server then send the original image #2037 #2038
|
228 |
+
* Fixed: Swift theme homepage (Non-AMP) image resizing issues in Mobile version #1992
|
229 |
+
* Fixed: Header Element not working in Swift theme #1967
|
230 |
+
* Fixed: Stop Loading of Latest post scripts on Homepage and Frontpage #2041
|
231 |
+
* Added: Filter created `ampforwp_non_amp_links()` so users can have all the internal links non-amp #1973
|
232 |
+
* Fixed: Sanitize the archive description in loop component #1974
|
233 |
+
* Fixed: Double AMPHTML when FBIA Plugin is active #2043
|
234 |
+
* Fixed: Image Div is loading even if the image is not present in Swift #2033
|
235 |
+
* Fixed: Custom AMP editor is visible on pages (post type) even if the Page Support is off from amp options panel #2047
|
236 |
+
* Fixed: When 'Structure Data for WP' plugin active, Schema type in Structure section should hide #2049
|
237 |
+
* Fixed: Bugs in Video Module in AMP pagebuilder #2048
|
238 |
+
* Added: Autoplay feature added in Video Module #2048
|
239 |
+
* Fixed: Throwing error when Product Structured Data is selected #1975
|
240 |
+
* Fixed: Advanced CSS is not loading because the files are with hosting path #2046
|
241 |
+
* Fixed: Double Quotes breaking the html #2004
|
242 |
+
* Removed: Blog option is removed from AMP Options panel and it is connected with Pages option Under Reading Settings #2027
|
243 |
+
* Fixed: amphtml should not be created for 404 pages #2018
|
244 |
+
* Added: 404 Template added, useful for AMP Takeover #2042
|
245 |
+
* Fixed: Genesis meta titles are lost and not rendering correctly #2050
|
246 |
+
* Fixed: Search blank on AMP Takeover #1990
|
247 |
+
* Fixed: Remove Unused js files from Paginated Post Pages #2001
|
248 |
+
* Fixed: Extra Space adding in H1 and other SEO tags #2054
|
249 |
+
* Fixed: Undefined Index when called from robot #1960
|
250 |
+
* Fixed: amp facebook comment Js not loading to the custom front page of the swift theme. #2053
|
251 |
+
* Fixed: Tags label is not working properly when RTL Support on #1719
|
252 |
+
* Fixed: View Non-AMP Version In the footer link has an error #2066
|
253 |
+
* Fixed: Squirrly SEO is Adding the Javascript code in AMP #1696
|
254 |
+
* Fixed: Translation option issue when using POT file method #1941
|
255 |
+
* Fixed: amp-facebook-like extension is missing on Custom Frontpage #2061
|
256 |
+
* Fixed: GTM option repositioned #2056
|
257 |
+
* Fixed: Menu is appearing on left side instead of Right side when RTL support is ON for Design3 #1928
|
258 |
+
* Fixed: Sidebar Bugs #1972
|
259 |
+
* Added: Table Styling in Swift #1961
|
260 |
+
* Fixed: Genesis index, follow options not being rendered #2071
|
261 |
+
* Added: Filter created `ampforwp_robots_meta` to modify robots meta information #2071
|
262 |
+
* Fixed: PHP Notices #2065
|
263 |
+
* Added: Add a new hook `ampforwp_after_amp_menu` after the menu in all designs #2072
|
264 |
+
* Added: New Look to Options panel #1823
|
265 |
+
* Added: Retina Image Support added #1846
|
266 |
+
* Fixed: Pagebuilder hrefs were stripped in hebrew language #2089
|
267 |
+
* Fixed: Warning Fixed #2083
|
268 |
+
* Fixed: Gallery module images not loading in Firefox #1980
|
269 |
+
* Fixed: Pagebuilder Improvement #2024
|
270 |
+
|
271 |
= 0.9.85.5 (21st April 2018) =
|
272 |
* Added: Filter added to modify frontpage post id `ampforwp_modify_frontpage_id`
|
273 |
* Added: Filter added to modify amp template directory `ampforwp_template_locate` #1982
|
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Accelerated Mobile Pages
|
4 |
Plugin URI: https://wordpress.org/plugins/accelerated-mobile-pages/
|
5 |
Description: AMP for WP - Accelerated Mobile Pages for WordPress
|
6 |
-
Version: 0.9.
|
7 |
Author: Ahmed Kaludi, Mohammed Kaludi
|
8 |
Author URI: https://ampforwp.com/
|
9 |
Donate link: https://www.paypal.me/Kaludi/25
|
@@ -19,7 +19,7 @@ define('AMPFORWP_PLUGIN_DIR_URI', plugin_dir_url(__FILE__));
|
|
19 |
define('AMPFORWP_DISQUS_URL',plugin_dir_url(__FILE__).'includes/disqus.html');
|
20 |
define('AMPFORWP_IMAGE_DIR',plugin_dir_url(__FILE__).'images');
|
21 |
define('AMPFORWP_MAIN_PLUGIN_DIR', plugin_dir_path( __DIR__ ) );
|
22 |
-
define('AMPFORWP_VERSION','0.9.
|
23 |
|
24 |
// any changes to AMP_QUERY_VAR should be refelected here
|
25 |
function ampforwp_generate_endpoint(){
|
@@ -516,6 +516,10 @@ if ( ! function_exists('ampforwp_init') ) {
|
|
516 |
function amp_update_db_check() {
|
517 |
global $redux_builder_amp;
|
518 |
$ampforwp_current_version = AMPFORWP_VERSION;
|
|
|
|
|
|
|
|
|
519 |
if ( get_option( 'AMPforwp_db_version' ) !== $ampforwp_current_version ) {
|
520 |
|
521 |
if ( isset( $_GET['ampforwp-dismiss'] ) && trim( $_GET['ampforwp-dismiss']) === "ampforwp_dismiss_admin_notices" ) {
|
@@ -530,6 +534,27 @@ function amp_update_db_check() {
|
|
530 |
}
|
531 |
add_action( 'plugins_loaded', 'amp_update_db_check' );
|
532 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
533 |
function ampforwp_update_notice() {
|
534 |
$screen = '';
|
535 |
$screen = get_current_screen();
|
3 |
Plugin Name: Accelerated Mobile Pages
|
4 |
Plugin URI: https://wordpress.org/plugins/accelerated-mobile-pages/
|
5 |
Description: AMP for WP - Accelerated Mobile Pages for WordPress
|
6 |
+
Version: 0.9.86
|
7 |
Author: Ahmed Kaludi, Mohammed Kaludi
|
8 |
Author URI: https://ampforwp.com/
|
9 |
Donate link: https://www.paypal.me/Kaludi/25
|
19 |
define('AMPFORWP_DISQUS_URL',plugin_dir_url(__FILE__).'includes/disqus.html');
|
20 |
define('AMPFORWP_IMAGE_DIR',plugin_dir_url(__FILE__).'images');
|
21 |
define('AMPFORWP_MAIN_PLUGIN_DIR', plugin_dir_path( __DIR__ ) );
|
22 |
+
define('AMPFORWP_VERSION','0.9.86');
|
23 |
|
24 |
// any changes to AMP_QUERY_VAR should be refelected here
|
25 |
function ampforwp_generate_endpoint(){
|
516 |
function amp_update_db_check() {
|
517 |
global $redux_builder_amp;
|
518 |
$ampforwp_current_version = AMPFORWP_VERSION;
|
519 |
+
if ( isset( $_GET['ampforwp-dismiss-theme'] ) && trim( $_GET['ampforwp-dismiss-theme']) === "ampforwp_dismiss_admin_notices" ) {
|
520 |
+
update_option( 'ampforwp_theme_notice', true );
|
521 |
+
wp_redirect("admin.php?page=amp_options");
|
522 |
+
}
|
523 |
if ( get_option( 'AMPforwp_db_version' ) !== $ampforwp_current_version ) {
|
524 |
|
525 |
if ( isset( $_GET['ampforwp-dismiss'] ) && trim( $_GET['ampforwp-dismiss']) === "ampforwp_dismiss_admin_notices" ) {
|
534 |
}
|
535 |
add_action( 'plugins_loaded', 'amp_update_db_check' );
|
536 |
|
537 |
+
// Admin notice for AMP WordPress Theme
|
538 |
+
add_action('admin_notices', 'ampforwp_ampwptheme_notice');
|
539 |
+
function ampforwp_ampwptheme_notice() {
|
540 |
+
$theme = '';
|
541 |
+
$theme = wp_get_theme(); // gets the current theme
|
542 |
+
|
543 |
+
if ( ('AMP WordPress Theme' == $theme->name || 'AMP WordPress Theme' == $theme->parent_theme) && true != get_option('ampforwp_theme_notice') ) {
|
544 |
+
add_thickbox(); ?>
|
545 |
+
<div id="some" class="notice-warning settings-error notice is-dismissible">
|
546 |
+
<span style="margin: 0.5em 0.5em 0 0">AMP WordPress Theme is installed</span><br>
|
547 |
+
<span style="margin: 0.5em 0.5em 0 0">One Last Step Required: <a href="#TB_inline?width=600&height=550&inlineId=my-content-id" class="thickbox">Finish Setup</a></span><br>
|
548 |
+
</div>
|
549 |
+
<div id="my-content-id" style="display:none;">
|
550 |
+
<p>
|
551 |
+
<iframe width="100%" height="480" src="https://www.youtube.com/embed/" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
|
552 |
+
<a href="<?php echo esc_url(add_query_arg( 'ampforwp-dismiss-theme', 'ampforwp_dismiss_admin_notices' )) ?>">Take me to the Options Panel</a>
|
553 |
+
</p>
|
554 |
+
</div>
|
555 |
+
<?php }
|
556 |
+
}
|
557 |
+
|
558 |
function ampforwp_update_notice() {
|
559 |
$screen = '';
|
560 |
$screen = get_current_screen();
|
@@ -37,6 +37,7 @@ function create_instagram_tag($sourcecode){
|
|
37 |
'height'=> 400,
|
38 |
'layout' => 'responsive',
|
39 |
'data-captioned' => '',
|
|
|
40 |
);
|
41 |
return AMP_DOM_Utils::create_node($this->dom, 'amp-instagram', $attrs);
|
42 |
}
|
37 |
'height'=> 400,
|
38 |
'layout' => 'responsive',
|
39 |
'data-captioned' => '',
|
40 |
+
'data-block-on-consent' => '',
|
41 |
);
|
42 |
return AMP_DOM_Utils::create_node($this->dom, 'amp-instagram', $attrs);
|
43 |
}
|
@@ -85,6 +85,7 @@ class AMPforWP_YouTube_Embed_Handler extends AMP_Base_Embed_Handler {
|
|
85 |
'layout' => 'responsive',
|
86 |
'width' => $this->args['width'],
|
87 |
'height' => $this->args['height'],
|
|
|
88 |
) )
|
89 |
);
|
90 |
}
|
85 |
'layout' => 'responsive',
|
86 |
'width' => $this->args['width'],
|
87 |
'height' => $this->args['height'],
|
88 |
+
'data-block-on-consent' => '',
|
89 |
) )
|
90 |
);
|
91 |
}
|
@@ -67,7 +67,7 @@ if ( isset($args['show_time']) ) {
|
|
67 |
$author_avatar_url = get_avatar_url( $post_author->ID, array( 'size' => $avatar_size ) );
|
68 |
?>
|
69 |
<div class="amp-author-image <?php echo $author_image_wrapper; ?>">
|
70 |
-
<amp-img src="<?php echo esc_url($author_avatar_url); ?>" width="<?php echo $avatar_size; ?>" height="<?php echo $avatar_size; ?>" layout="fixed"></amp-img>
|
71 |
</div>
|
72 |
<?php } ?>
|
73 |
<?php echo '<div class="author-details '. $author_wrapper_class .'">';
|
67 |
$author_avatar_url = get_avatar_url( $post_author->ID, array( 'size' => $avatar_size ) );
|
68 |
?>
|
69 |
<div class="amp-author-image <?php echo $author_image_wrapper; ?>">
|
70 |
+
<amp-img data-block-on-consent src="<?php echo esc_url($author_avatar_url); ?>" width="<?php echo $avatar_size; ?>" height="<?php echo $avatar_size; ?>" layout="fixed"></amp-img>
|
71 |
</div>
|
72 |
<?php } ?>
|
73 |
<?php echo '<div class="author-details '. $author_wrapper_class .'">';
|
@@ -172,44 +172,45 @@
|
|
172 |
// Day archive
|
173 |
|
174 |
// Year link
|
175 |
-
echo '<li class="item-year item-year-' . get_the_time('Y') . '"><a class="bread-year bread-year-' . get_the_time('Y') . '" href="' . get_year_link( get_the_time('Y') ) . '" title="' . get_the_time('Y') . '">' . get_the_time('Y') . ' Archives</a></li>';
|
176 |
|
177 |
// Month link
|
178 |
-
echo '<li class="item-month item-month-' . get_the_time('m') . '"><a class="bread-month bread-month-' . get_the_time('m') . '" href="' . get_month_link( get_the_time('Y'), get_the_time('m') ) . '" title="' . get_the_time('M') . '">' . get_the_time('M') . ' Archives</a></li>';
|
179 |
|
180 |
|
181 |
// Day display
|
182 |
-
echo '<li class="item-current item-' . get_the_time('j') . '"><strong class="bread-current bread-' . get_the_time('j') . '"> ' . get_the_time('jS') . ' ' . get_the_time('M') . ' Archives</strong></li>';
|
183 |
|
184 |
} else if ( is_month() ) {
|
185 |
|
186 |
// Month Archive
|
187 |
|
188 |
// Year link
|
189 |
-
echo '<li class="item-year item-year-' . get_the_time('Y') . '"><a class="bread-year bread-year-' . get_the_time('Y') . '" href="' . get_year_link( get_the_time('Y') ) . '" title="' . get_the_time('Y') . '">' . get_the_time('Y') . ' Archives</a></li>';
|
190 |
|
191 |
// Month display
|
192 |
-
echo '<li class="item-month item-month-' . get_the_time('m') . '"><strong class="bread-month bread-month-' . get_the_time('m') . '" title="' . get_the_time('M') . '">' . get_the_time('M') . ' Archives</strong></li>';
|
193 |
|
194 |
} else if ( is_year() ) {
|
195 |
|
196 |
// Display year archive
|
197 |
-
echo '<li class="item-current item-current-' . get_the_time('Y') . '"><strong class="bread-current bread-current-' . get_the_time('Y') . '" title="' . get_the_time('Y') . '">' . get_the_time('Y') . ' Archives</strong></li>';
|
198 |
|
199 |
} else if ( get_query_var('paged') ) {
|
200 |
|
201 |
// Paginated archives
|
202 |
-
echo '<li class="item-current item-current-' . get_query_var('paged') . '"><strong class="bread-current bread-current-' . get_query_var('paged') . '" title="Page ' . get_query_var('paged') . '">'.
|
203 |
|
204 |
} else if ( is_search() ) {
|
205 |
|
206 |
// Search results page
|
207 |
-
echo '<li class="item-current item-current-' . get_search_query() . '"><strong class="bread-current bread-current-' . get_search_query() . '" title="Search results for: ' . get_search_query() . '">
|
|
|
208 |
|
209 |
} elseif ( is_404() ) {
|
210 |
|
211 |
// 404 page
|
212 |
-
echo '<li>' . 'Error 404' . '</li>';
|
213 |
}
|
214 |
echo '</ul>';
|
215 |
|
172 |
// Day archive
|
173 |
|
174 |
// Year link
|
175 |
+
echo '<li class="item-year item-year-' . get_the_time('Y') . '"><a class="bread-year bread-year-' . get_the_time('Y') . '" href="' . get_year_link( get_the_time('Y') ) . '" title="' . get_the_time('Y') . '">' . get_the_time('Y') . ampforwp_translation($redux_builder_amp['amp-translator-archives-text'], 'Archives') . '</a></li>';
|
176 |
|
177 |
// Month link
|
178 |
+
echo '<li class="item-month item-month-' . get_the_time('m') . '"><a class="bread-month bread-month-' . get_the_time('m') . '" href="' . get_month_link( get_the_time('Y'), get_the_time('m') ) . '" title="' . get_the_time('M') . '">' . get_the_time('M') . ampforwp_translation($redux_builder_amp['amp-translator-archives-text'], 'Archives') . ' </a></li>';
|
179 |
|
180 |
|
181 |
// Day display
|
182 |
+
echo '<li class="item-current item-' . get_the_time('j') . '"><strong class="bread-current bread-' . get_the_time('j') . '"> ' . get_the_time('jS') . ' ' . get_the_time('M') . ampforwp_translation($redux_builder_amp['amp-translator-archives-text'], 'Archives') . ' </strong></li>';
|
183 |
|
184 |
} else if ( is_month() ) {
|
185 |
|
186 |
// Month Archive
|
187 |
|
188 |
// Year link
|
189 |
+
echo '<li class="item-year item-year-' . get_the_time('Y') . '"><a class="bread-year bread-year-' . get_the_time('Y') . '" href="' . get_year_link( get_the_time('Y') ) . '" title="' . get_the_time('Y') . '">' . get_the_time('Y') . ampforwp_translation($redux_builder_amp['amp-translator-archives-text'], 'Archives') . ' </a></li>';
|
190 |
|
191 |
// Month display
|
192 |
+
echo '<li class="item-month item-month-' . get_the_time('m') . '"><strong class="bread-month bread-month-' . get_the_time('m') . '" title="' . get_the_time('M') . '">' . get_the_time('M') . ampforwp_translation($redux_builder_amp['amp-translator-archives-text'], 'Archives') . ' </strong></li>';
|
193 |
|
194 |
} else if ( is_year() ) {
|
195 |
|
196 |
// Display year archive
|
197 |
+
echo '<li class="item-current item-current-' . get_the_time('Y') . '"><strong class="bread-current bread-current-' . get_the_time('Y') . '" title="' . get_the_time('Y') . '">' . get_the_time('Y') . ampforwp_translation($redux_builder_amp['amp-translator-archives-text'], 'Archives'). ' </strong></li>';
|
198 |
|
199 |
} else if ( get_query_var('paged') ) {
|
200 |
|
201 |
// Paginated archives
|
202 |
+
echo '<li class="item-current item-current-' . get_query_var('paged') . '"><strong class="bread-current bread-current-' . get_query_var('paged') . '" title="Page ' . get_query_var('paged') . '">'. ampforwp_translation($redux_builder_amp['amp-translator-page-text'], 'Page') . ' ' . get_query_var('paged') . '</strong></li>';
|
203 |
|
204 |
} else if ( is_search() ) {
|
205 |
|
206 |
// Search results page
|
207 |
+
echo '<li class="item-current item-current-' . get_search_query() . '"><strong class="bread-current bread-current-' . get_search_query() . '" title="Search results for: ' . get_search_query() . '">
|
208 |
+
' . ampforwp_translation($redux_builder_amp['amp-translator-breadcrumbs-search-text'], 'Search results for') . ': ' . get_search_query() . '</strong></li>';
|
209 |
|
210 |
} elseif ( is_404() ) {
|
211 |
|
212 |
// 404 page
|
213 |
+
echo '<li>' . ampforwp_translation($redux_builder_amp['amp-translator-error-404-text'], 'Error 404') . '</li>';
|
214 |
}
|
215 |
echo '</ul>';
|
216 |
|
@@ -1,124 +1,112 @@
|
|
1 |
<?php
|
2 |
function ampforwp_framework_get_comments(){
|
3 |
-
global $redux_builder_amp;
|
4 |
-
/*if ( ! comments_open() ) {
|
5 |
-
return;
|
6 |
-
}*/
|
7 |
-
if ( $redux_builder_amp['ampforwp-facebook-comments-support'] ) {
|
8 |
-
echo ampforwp_framework_get_facebook_comments();
|
9 |
-
}
|
10 |
-
if ( $redux_builder_amp['ampforwp-disqus-comments-support'] ) {
|
11 |
-
ampforwp_framework_get_disqus_comments();
|
12 |
-
}
|
13 |
-
if ( isset($redux_builder_amp['wordpress-comments-support']) && comments_open() && true == $redux_builder_amp['wordpress-comments-support'] ) { ?>
|
14 |
-
<div class="amp-comments">
|
15 |
-
<?php
|
16 |
-
global $redux_builder_amp;
|
17 |
-
$max_page = '';
|
18 |
-
// Gather comments for a specific page/post
|
19 |
-
$postID = get_the_ID();
|
20 |
-
$comments = get_comments(array(
|
21 |
-
'post_id' => $postID,
|
22 |
-
'status' => 'approve' //Change this to the type of comments to be displayed
|
23 |
-
));
|
24 |
-
if ( $comments ) { ?>
|
25 |
-
<div class="amp-comments-wrapper">
|
26 |
-
<h3><span><?php global $redux_builder_amp; echo ampforwp_translation($redux_builder_amp['amp-translator-view-comments-text'], 'View Comments' )?></span></h3>
|
27 |
-
<ul>
|
28 |
-
<?php
|
29 |
-
// Display the list of comments
|
30 |
-
function ampforwp_custom_translated_comment($comment, $args, $depth){
|
31 |
-
$GLOBALS['comment'] = $comment;
|
32 |
-
global $redux_builder_amp;
|
33 |
-
$comment_author_img_url = "";
|
34 |
-
$comment_author_img_url = ampforwp_get_comments_gravatar( $comment );
|
35 |
-
|
36 |
-
?>
|
37 |
-
<li id="li-comment-<?php comment_ID() ?>"
|
38 |
-
<?php comment_class(); ?> >
|
39 |
-
<article id="comment-<?php comment_ID(); ?>" class="comment-body">
|
40 |
-
<footer class="comment-meta">
|
41 |
-
<?php if($comment_author_img_url){ ?>
|
42 |
-
<amp-img src="<?php echo esc_url($comment_author_img_url); ?>" width="40" height="40" layout="fixed" class="comment-author-img"></amp-img>
|
43 |
-
<?php } ?>
|
44 |
-
<div class="comment-author vcard">
|
45 |
-
<?php
|
46 |
-
printf(__('<b class="fn">%s</b> <span class="says">'.ampforwp_translation($redux_builder_amp['amp-translator-says-text'],'says').':</span>'), get_comment_author_link()) ?>
|
47 |
-
</div>
|
48 |
-
<div class="comment-metadata">
|
49 |
-
<a href="<?php echo htmlspecialchars( trailingslashit( get_comment_link( $comment->comment_ID ) ) ) ?>">
|
50 |
-
<?php printf( ampforwp_translation( ('%1$s '. ampforwp_translation($redux_builder_amp['amp-translator-at-text'],'at').' %2$s'), '%1$s at %2$s') , get_comment_date(), get_comment_time())?>
|
51 |
-
</a>
|
52 |
-
<?php edit_comment_link( ampforwp_translation( $redux_builder_amp['amp-translator-Edit-text'], 'Edit' ) ) ?>
|
53 |
-
</div>
|
54 |
-
</footer>
|
55 |
-
<div class="comment-content">
|
56 |
-
<?php
|
57 |
-
$comment_content = get_comment_text();
|
58 |
-
$comment_content = wpautop( $comment_content );
|
59 |
-
$sanitizer = new AMPFORWP_Content( $comment_content, array(), apply_filters( 'ampforwp_content_sanitizers', array(
|
60 |
-
'AMP_Img_Sanitizer' => array(),
|
61 |
-
'AMP_Video_Sanitizer' => array(),
|
62 |
-
'AMP_Style_Sanitizer' => array() ) ) );
|
63 |
-
$sanitized_comment_content = $sanitizer->get_amp_content();
|
64 |
-
echo make_clickable( $sanitized_comment_content ); ?>
|
65 |
-
</div>
|
66 |
-
<?php do_action('ampforwp_reply_comment_form', $comment, $args, $depth); ?>
|
67 |
-
</article>
|
68 |
-
</li>
|
69 |
-
<?php }
|
70 |
-
wp_list_comments( array(
|
71 |
-
//Allow comment pagination
|
72 |
-
'per_page' => AMPFORWP_COMMENTS_PER_PAGE ,
|
73 |
-
'style' => 'li',
|
74 |
-
'type' => 'comment',
|
75 |
-
'max_depth' => 5,
|
76 |
-
'avatar_size' => 0,
|
77 |
-
'callback' => 'ampforwp_custom_translated_comment',
|
78 |
-
'reverse_top_level' => true //Show the latest comments at the top of the list
|
79 |
-
), $comments); ?>
|
80 |
-
</ul>
|
81 |
-
<?php
|
82 |
-
$max_page = get_comment_pages_count($comments, AMPFORWP_COMMENTS_PER_PAGE);
|
83 |
-
$args = array(
|
84 |
-
'base' => add_query_arg( array('cpage' => '%#%', 'amp' => '1'), get_permalink() ),
|
85 |
-
'format' => '',
|
86 |
-
'total' => $max_page,
|
87 |
-
//'current' => 0,
|
88 |
-
'echo' => false,
|
89 |
-
'add_fragment' => '#comments',
|
90 |
-
'show_all' => true
|
91 |
-
);
|
92 |
-
if ( paginate_comments_links($args) ) { ?>
|
93 |
-
<div class="cmts-wrap">
|
94 |
-
<?php echo paginate_comments_links( $args ); ?>
|
95 |
-
</div>
|
96 |
-
<?php } ?>
|
97 |
-
</div>
|
98 |
-
<?php include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
99 |
-
if( ! is_plugin_active( 'amp-comments/amp-comments.php' ) ) { ?>
|
100 |
-
<div class="amp-comment-button">
|
101 |
-
<a href="<?php echo ampforwp_comment_button_url(); ?>" rel="nofollow"><?php echo ampforwp_translation( $redux_builder_amp['amp-translator-leave-a-comment-text'], 'Leave a Comment' ); ?></a>
|
102 |
-
</div>
|
103 |
-
<?php } ?>
|
104 |
-
<?php
|
105 |
-
} else {
|
106 |
-
global $redux_builder_amp ;
|
107 |
-
if (!comments_open()) {
|
108 |
-
return;
|
109 |
-
} ?>
|
110 |
-
<?php include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
111 |
-
if( ! is_plugin_active( 'amp-comments/amp-comments.php' ) ) { ?>
|
112 |
-
<div class="amp-comment-button">
|
113 |
-
<a href="<?php echo ampforwp_comment_button_url(); ?>" rel="nofollow"><?php echo ampforwp_translation( $redux_builder_amp['amp-translator-leave-a-comment-text'], 'Leave a Comment' ); ?></a>
|
114 |
-
</div>
|
115 |
-
<?php } ?>
|
116 |
-
<?php } ?>
|
117 |
-
</div>
|
118 |
-
<?php do_action('ampforwp_after_comment_hook');
|
119 |
|
|
|
|
|
120 |
}
|
121 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
}
|
123 |
|
124 |
//Facebook Comments
|
@@ -131,7 +119,7 @@ global $redux_builder_amp;
|
|
131 |
}
|
132 |
else {
|
133 |
$facebook_comments_markup = '<section class="amp-facebook-comments">';
|
134 |
-
$facebook_comments_markup .= '<amp-facebook-comments width=486 height=357
|
135 |
layout="responsive" data-numposts=';
|
136 |
$facebook_comments_markup .= '"'. $redux_builder_amp['ampforwp-number-of-fb-no-of-comments']. '" ';
|
137 |
|
@@ -175,6 +163,7 @@ function ampforwp_framework_get_disqus_comments(){
|
|
175 |
layout="<?php echo $layout ?>"
|
176 |
sandbox="allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"
|
177 |
frameborder="0"
|
|
|
178 |
src="<?php echo $disqus_url ?>" >
|
179 |
<div overflow tabindex="0" role="button" aria-label="Read more"><?php echo __('Disqus Comments Loading...','accelerated-mobile-pages') ?></div>
|
180 |
</amp-iframe>
|
1 |
<?php
|
2 |
function ampforwp_framework_get_comments(){
|
3 |
+
global $redux_builder_amp;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
5 |
+
if ( $redux_builder_amp['ampforwp-facebook-comments-support'] ) {
|
6 |
+
echo ampforwp_framework_get_facebook_comments();
|
7 |
}
|
8 |
|
9 |
+
if ( $redux_builder_amp['ampforwp-disqus-comments-support'] ) {
|
10 |
+
ampforwp_framework_get_disqus_comments();
|
11 |
+
}
|
12 |
+
|
13 |
+
if ( isset($redux_builder_amp['wordpress-comments-support']) && true == $redux_builder_amp['wordpress-comments-support'] ) {
|
14 |
+
do_action('ampforwp_before_comment_hook'); ?>
|
15 |
+
<div class="amp-comments">
|
16 |
+
<?php
|
17 |
+
// Gather comments for a specific page/post
|
18 |
+
$postID = $comments = $max_page = "";
|
19 |
+
$postID = get_the_ID();
|
20 |
+
$comments = get_comments(array(
|
21 |
+
'post_id' => $postID,
|
22 |
+
'status' => 'approve' //Change this to the type of comments to be displayed
|
23 |
+
));
|
24 |
+
|
25 |
+
if ( $comments ) { ?>
|
26 |
+
<div id="comments" class="amp-comments-wrapper">
|
27 |
+
<h3><span><?php echo ampforwp_translation($redux_builder_amp['amp-translator-view-comments-text'], 'View Comments' )?></span></h3>
|
28 |
+
<ul><?php
|
29 |
+
// Display the list of comments
|
30 |
+
function ampforwp_custom_translated_comment($comment, $args, $depth){
|
31 |
+
$GLOBALS['comment'] = $comment;
|
32 |
+
global $redux_builder_amp;
|
33 |
+
$comment_author_img_url = "";
|
34 |
+
$comment_author_img_url = ampforwp_get_comments_gravatar( $comment );
|
35 |
+
|
36 |
+
?>
|
37 |
+
<li id="li-comment-<?php comment_ID() ?>"
|
38 |
+
<?php comment_class(); ?> >
|
39 |
+
<article id="comment-<?php comment_ID(); ?>" class="comment-body">
|
40 |
+
<footer class="comment-meta">
|
41 |
+
<?php if($comment_author_img_url){ ?>
|
42 |
+
<amp-img src="<?php echo esc_url($comment_author_img_url); ?>" width="40" height="40" layout="fixed" class="comment-author-img"></amp-img>
|
43 |
+
<?php } ?>
|
44 |
+
<div class="comment-author vcard">
|
45 |
+
<?php
|
46 |
+
printf(__('<b class="fn">%s</b> <span class="says">'.ampforwp_translation($redux_builder_amp['amp-translator-says-text'],'says').':</span>'), get_comment_author_link()) ?>
|
47 |
+
</div>
|
48 |
+
<div class="comment-metadata">
|
49 |
+
<a href="<?php echo htmlspecialchars( trailingslashit( get_comment_link( $comment->comment_ID ) ) ) ?>">
|
50 |
+
<?php printf( ampforwp_translation( ('%1$s '. ampforwp_translation($redux_builder_amp['amp-translator-at-text'],'at').' %2$s'), '%1$s at %2$s') , get_comment_date(), get_comment_time())?>
|
51 |
+
</a>
|
52 |
+
<?php edit_comment_link( ampforwp_translation( $redux_builder_amp['amp-translator-Edit-text'], 'Edit' ) ) ?>
|
53 |
+
</div>
|
54 |
+
</footer>
|
55 |
+
<div class="comment-content">
|
56 |
+
<?php
|
57 |
+
$comment_content = get_comment_text();
|
58 |
+
$comment_content = wpautop( $comment_content );
|
59 |
+
$sanitizer = new AMPFORWP_Content( $comment_content, array(), apply_filters( 'ampforwp_content_sanitizers', array(
|
60 |
+
'AMP_Img_Sanitizer' => array(),
|
61 |
+
'AMP_Video_Sanitizer' => array(),
|
62 |
+
'AMP_Style_Sanitizer' => array() ) ) );
|
63 |
+
$sanitized_comment_content = $sanitizer->get_amp_content();
|
64 |
+
echo make_clickable( $sanitized_comment_content ); ?>
|
65 |
+
</div>
|
66 |
+
<?php do_action('ampforwp_reply_comment_form', $comment, $args, $depth); ?>
|
67 |
+
</article>
|
68 |
+
</li>
|
69 |
+
<?php
|
70 |
+
}
|
71 |
+
wp_list_comments( array(
|
72 |
+
//Allow comment pagination
|
73 |
+
'per_page' => AMPFORWP_COMMENTS_PER_PAGE ,
|
74 |
+
'style' => 'li',
|
75 |
+
'type' => 'comment',
|
76 |
+
'max_depth' => 5,
|
77 |
+
'avatar_size' => 0,
|
78 |
+
'callback' => 'ampforwp_custom_translated_comment',
|
79 |
+
'reverse_top_level' => true //Show the latest comments at the top of the list
|
80 |
+
), $comments); ?>
|
81 |
+
</ul> <?php
|
82 |
+
$max_page = get_comment_pages_count($comments, AMPFORWP_COMMENTS_PER_PAGE);
|
83 |
+
$args = array(
|
84 |
+
'base' => add_query_arg( array('cpage' => '%#%', 'amp' => '1'), get_permalink() ),
|
85 |
+
'format' => '',
|
86 |
+
'total' => $max_page,
|
87 |
+
'echo' => false,
|
88 |
+
'add_fragment' => '#comments',
|
89 |
+
);
|
90 |
+
if ( paginate_comments_links($args) ) { ?>
|
91 |
+
<div class="cmts-wrap">
|
92 |
+
<?php echo paginate_comments_links( $args ); ?>
|
93 |
+
</div>
|
94 |
+
<?php } ?>
|
95 |
+
</div> <!-- .amp-comments-wrapper -->
|
96 |
+
<?php // if amp-comments extension is enabled then hide this button
|
97 |
+
if ( ! defined( 'AMP_COMMENTS_VERSION' ) ) { ?>
|
98 |
+
<div class="cmts-btn-wrap">
|
99 |
+
<?php if ( comments_open() ) { ?>
|
100 |
+
<a href="<?php echo ampforwp_comment_button_url(); ?>" rel="nofollow"><?php echo ampforwp_translation( $redux_builder_amp['amp-translator-leave-a-comment-text'], 'Leave a Comment' ); ?></a> <?php
|
101 |
+
} else {
|
102 |
+
echo "<p class='nocomments'>". ampforwp_translation( $redux_builder_amp['amp-translator-comments-closed'], 'Comments are closed' ) ." </p>";
|
103 |
+
}?>
|
104 |
+
</div> <?php
|
105 |
+
}
|
106 |
+
} // if ( $comments )?>
|
107 |
+
</div>
|
108 |
+
<?php do_action('ampforwp_after_comment_hook');
|
109 |
+
}
|
110 |
}
|
111 |
|
112 |
//Facebook Comments
|
119 |
}
|
120 |
else {
|
121 |
$facebook_comments_markup = '<section class="amp-facebook-comments">';
|
122 |
+
$facebook_comments_markup .= '<amp-facebook-comments data-block-on-consent width=486 height=357
|
123 |
layout="responsive" data-numposts=';
|
124 |
$facebook_comments_markup .= '"'. $redux_builder_amp['ampforwp-number-of-fb-no-of-comments']. '" ';
|
125 |
|
163 |
layout="<?php echo $layout ?>"
|
164 |
sandbox="allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"
|
165 |
frameborder="0"
|
166 |
+
data-block-on-consent
|
167 |
src="<?php echo $disqus_url ?>" >
|
168 |
<div overflow tabindex="0" role="button" aria-label="Read more"><?php echo __('Disqus Comments Loading...','accelerated-mobile-pages') ?></div>
|
169 |
</amp-iframe>
|
@@ -54,20 +54,32 @@ function loadComponents($componentName){
|
|
54 |
// Icons
|
55 |
$amp_icons_css = array();
|
56 |
function add_amp_icon($args=array()){
|
57 |
-
global $amp_icons_css;
|
58 |
$amp_icons_css_array = include AMPFORWP_PLUGIN_DIR .'includes/icons/amp-icons.php';
|
59 |
foreach ($args as $key ) {
|
60 |
if(isset($amp_icons_css_array[$key]))
|
61 |
$amp_icons_css[$key] = $amp_icons_css_array[$key];
|
62 |
}
|
63 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
|
65 |
}
|
66 |
function amp_icon_css(){
|
67 |
-
global $amp_icons_css;
|
68 |
foreach ($amp_icons_css as $key => $value) {
|
69 |
echo $value;
|
70 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
}
|
72 |
|
73 |
/**
|
@@ -94,7 +106,7 @@ function amp_logo(){
|
|
94 |
function amp_title(){
|
95 |
global $redux_builder_amp, $post;
|
96 |
$ID = '';
|
97 |
-
|
98 |
if( $redux_builder_amp['ampforwp-title-on-front-page'] ) {
|
99 |
$ID = ampforwp_get_frontpage_id();
|
100 |
}
|
@@ -120,6 +132,7 @@ function amp_title(){
|
|
120 |
function amp_excerpt( $no_of_words=15 ) {
|
121 |
global $redux_builder_amp, $post;
|
122 |
$post_id = '';
|
|
|
123 |
if ( ampforwp_is_front_page() ) {
|
124 |
$post_id = ampforwp_get_frontpage_id();
|
125 |
}
|
@@ -140,10 +153,14 @@ function amp_excerpt( $no_of_words=15 ) {
|
|
140 |
|
141 |
|
142 |
//Menus
|
143 |
-
function amp_menu(){
|
144 |
global $loadComponent;
|
145 |
if(isset($loadComponent['AMP-menu']) && $loadComponent['AMP-menu']==true){
|
146 |
-
|
|
|
|
|
|
|
|
|
147 |
}
|
148 |
}
|
149 |
|
@@ -369,7 +386,7 @@ function amp_footer_core(){
|
|
369 |
function amp_non_amp_link(){
|
370 |
global $allowed_html;
|
371 |
global $redux_builder_amp;
|
372 |
-
echo wp_kses($redux_builder_amp['amp-translator-footer-text'],$allowed_html) ;
|
373 |
if($redux_builder_amp['amp-footer-link-non-amp-page']=='1') { ampforwp_view_nonamp(); }
|
374 |
}
|
375 |
|
@@ -397,7 +414,7 @@ global $redux_builder_amp, $post;
|
|
397 |
if ( empty( $post_id )) {
|
398 |
|
399 |
$post_id = get_queried_object_id();
|
400 |
-
|
401 |
$post_id = ampforwp_get_frontpage_id();
|
402 |
}
|
403 |
elseif ( ampforwp_polylang_front_page() ) {
|
@@ -415,6 +432,28 @@ $thisTemplate = new AMP_Post_Template($post_id); ?>
|
|
415 |
// Custom/Alternative AMP content added through post meta
|
416 |
$ampforwp_the_content = $thisTemplate->get( 'ampforwp_amp_content' );
|
417 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
418 |
$ampforwp_the_content = apply_filters('ampforwp_modify_the_content',$ampforwp_the_content);
|
419 |
echo $ampforwp_the_content;
|
420 |
do_action('ampforwp_after_post_content',$thisTemplate); ?>
|
@@ -424,7 +463,7 @@ function amp_date( $args=array() ) {
|
|
424 |
|
425 |
global $redux_builder_amp;
|
426 |
if ( 2 == $redux_builder_amp['ampforwp-post-date-format'] ) {
|
427 |
-
$args
|
428 |
}
|
429 |
if ( (isset($args['format']) && $args['format'] == 'traditional') || 'time' == $args ) {
|
430 |
$post_date = esc_html( get_the_date() ) . ' '.esc_html( get_the_time());
|
@@ -443,7 +482,7 @@ function amp_date( $args=array() ) {
|
|
443 |
}
|
444 |
else
|
445 |
echo '<div class="loop-date">'.$post_date.'</div>';
|
446 |
-
|
447 |
|
448 |
//Load font Compoment
|
449 |
$fontComponent = array();
|
@@ -506,7 +545,7 @@ function amp_author_meta( $args ) {
|
|
506 |
if ( $avatar && true == ampforwp_gravatar_checker($post_author->user_email) ) {
|
507 |
$author_avatar_url = get_avatar_url( $post_author->ID, array( 'size' => $avatar_size ) );
|
508 |
?>
|
509 |
-
<amp-img src="<?php echo esc_url($author_avatar_url); ?>" width="<?php echo $avatar_size; ?>" height="<?php echo $avatar_size; ?>" layout="fixed"></amp-img>
|
510 |
<?php }
|
511 |
elseif ( $avatar && false == ampforwp_gravatar_checker($post_author->user_email ) ) {
|
512 |
$avatar_img = get_avatar( $post_author->user_email, $avatar_size );
|
54 |
// Icons
|
55 |
$amp_icons_css = array();
|
56 |
function add_amp_icon($args=array()){
|
57 |
+
global $amp_icons_css, $redux_builder_amp;
|
58 |
$amp_icons_css_array = include AMPFORWP_PLUGIN_DIR .'includes/icons/amp-icons.php';
|
59 |
foreach ($args as $key ) {
|
60 |
if(isset($amp_icons_css_array[$key]))
|
61 |
$amp_icons_css[$key] = $amp_icons_css_array[$key];
|
62 |
}
|
63 |
+
// Design-1,2,3
|
64 |
+
if ( 1 == $redux_builder_amp['amp-design-selector'] || 2 == $redux_builder_amp['amp-design-selector'] || 3 == $redux_builder_amp['amp-design-selector'] ) {
|
65 |
+
add_action('amp_post_template_css', 'amp_icon_css',999);
|
66 |
+
|
67 |
+
}
|
68 |
+
else
|
69 |
+
add_action('amp_css', 'amp_icon_css');
|
70 |
|
71 |
}
|
72 |
function amp_icon_css(){
|
73 |
+
global $amp_icons_css, $redux_builder_amp;
|
74 |
foreach ($amp_icons_css as $key => $value) {
|
75 |
echo $value;
|
76 |
}
|
77 |
+
|
78 |
+
// Add @font-face for Design-1,2,3
|
79 |
+
if ( 1 == $redux_builder_amp['amp-design-selector'] || 2 == $redux_builder_amp['amp-design-selector'] || 3 == $redux_builder_amp['amp-design-selector'] ) { ?>
|
80 |
+
@font-face {font-family: 'icomoon';font-style: normal;font-weight: normal;src: local('icomoon'), local('icomoon'), url('<?php echo plugin_dir_url(__FILE__) ?>icomoon/icomoon.ttf');}
|
81 |
+
[class^="icon-"], [class*=" icon-"] {font-family: 'icomoon';speak: none;font-style: normal;font-weight: normal;font-variant: normal;text-transform: none;line-height: 1;-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;}
|
82 |
+
<?php }
|
83 |
}
|
84 |
|
85 |
/**
|
106 |
function amp_title(){
|
107 |
global $redux_builder_amp, $post;
|
108 |
$ID = '';
|
109 |
+
if( is_home() && ampforwp_get_frontpage_id() ){
|
110 |
if( $redux_builder_amp['ampforwp-title-on-front-page'] ) {
|
111 |
$ID = ampforwp_get_frontpage_id();
|
112 |
}
|
132 |
function amp_excerpt( $no_of_words=15 ) {
|
133 |
global $redux_builder_amp, $post;
|
134 |
$post_id = '';
|
135 |
+
|
136 |
if ( ampforwp_is_front_page() ) {
|
137 |
$post_id = ampforwp_get_frontpage_id();
|
138 |
}
|
153 |
|
154 |
|
155 |
//Menus
|
156 |
+
function amp_menu($echo=true){
|
157 |
global $loadComponent;
|
158 |
if(isset($loadComponent['AMP-menu']) && $loadComponent['AMP-menu']==true){
|
159 |
+
if ( false == $echo ) {
|
160 |
+
return amp_menu_html($echo);
|
161 |
+
}
|
162 |
+
else
|
163 |
+
echo amp_menu_html($echo);
|
164 |
}
|
165 |
}
|
166 |
|
386 |
function amp_non_amp_link(){
|
387 |
global $allowed_html;
|
388 |
global $redux_builder_amp;
|
389 |
+
echo '<span>' . wp_kses($redux_builder_amp['amp-translator-footer-text'],$allowed_html) . '</span>' ;
|
390 |
if($redux_builder_amp['amp-footer-link-non-amp-page']=='1') { ampforwp_view_nonamp(); }
|
391 |
}
|
392 |
|
414 |
if ( empty( $post_id )) {
|
415 |
|
416 |
$post_id = get_queried_object_id();
|
417 |
+
if ( ampforwp_is_front_page() ) {
|
418 |
$post_id = ampforwp_get_frontpage_id();
|
419 |
}
|
420 |
elseif ( ampforwp_polylang_front_page() ) {
|
432 |
// Custom/Alternative AMP content added through post meta
|
433 |
$ampforwp_the_content = $thisTemplate->get( 'ampforwp_amp_content' );
|
434 |
}
|
435 |
+
// Muffin Builder Compatibility #1455 #1893
|
436 |
+
if ( function_exists('mfn_builder_print') ) {
|
437 |
+
ob_start();
|
438 |
+
mfn_builder_print( $thisTemplate->get( 'post_id' ) );
|
439 |
+
$content = ob_get_contents();
|
440 |
+
ob_end_clean();
|
441 |
+
$sanitizer_obj = new AMPFORWP_Content( $content,
|
442 |
+
array(),
|
443 |
+
apply_filters( 'ampforwp_content_sanitizers',
|
444 |
+
array( 'AMP_Img_Sanitizer' => array(),
|
445 |
+
'AMP_Blacklist_Sanitizer' => array(),
|
446 |
+
'AMP_Style_Sanitizer' => array(),
|
447 |
+
'AMP_Video_Sanitizer' => array(),
|
448 |
+
'AMP_Audio_Sanitizer' => array(),
|
449 |
+
'AMP_Iframe_Sanitizer' => array(
|
450 |
+
'add_placeholder' => true,
|
451 |
+
),
|
452 |
+
)
|
453 |
+
)
|
454 |
+
);
|
455 |
+
$ampforwp_the_content = $sanitizer_obj->get_amp_content();
|
456 |
+
}
|
457 |
$ampforwp_the_content = apply_filters('ampforwp_modify_the_content',$ampforwp_the_content);
|
458 |
echo $ampforwp_the_content;
|
459 |
do_action('ampforwp_after_post_content',$thisTemplate); ?>
|
463 |
|
464 |
global $redux_builder_amp;
|
465 |
if ( 2 == $redux_builder_amp['ampforwp-post-date-format'] ) {
|
466 |
+
$args = array('format' => 'traditional');
|
467 |
}
|
468 |
if ( (isset($args['format']) && $args['format'] == 'traditional') || 'time' == $args ) {
|
469 |
$post_date = esc_html( get_the_date() ) . ' '.esc_html( get_the_time());
|
482 |
}
|
483 |
else
|
484 |
echo '<div class="loop-date">'.$post_date.'</div>';
|
485 |
+
}
|
486 |
|
487 |
//Load font Compoment
|
488 |
$fontComponent = array();
|
545 |
if ( $avatar && true == ampforwp_gravatar_checker($post_author->user_email) ) {
|
546 |
$author_avatar_url = get_avatar_url( $post_author->ID, array( 'size' => $avatar_size ) );
|
547 |
?>
|
548 |
+
<amp-img data-block-on-consent src="<?php echo esc_url($author_avatar_url); ?>" width="<?php echo $avatar_size; ?>" height="<?php echo $avatar_size; ?>" layout="fixed"></amp-img>
|
549 |
<?php }
|
550 |
elseif ( $avatar && false == ampforwp_gravatar_checker($post_author->user_email ) ) {
|
551 |
$avatar_img = get_avatar( $post_author->user_email, $avatar_size );
|
@@ -36,6 +36,7 @@ function ampforwp_framework_get_featured_image(){
|
|
36 |
}
|
37 |
if( true == $redux_builder_amp['ampforwp-featured-image-from-content'] && ampforwp_get_featured_image_from_content() ){
|
38 |
$amp_html = ampforwp_get_featured_image_from_content();
|
|
|
39 |
}
|
40 |
if( $amp_html ){ ?>
|
41 |
<figure class="amp-featured-image"> <?php
|
36 |
}
|
37 |
if( true == $redux_builder_amp['ampforwp-featured-image-from-content'] && ampforwp_get_featured_image_from_content() ){
|
38 |
$amp_html = ampforwp_get_featured_image_from_content();
|
39 |
+
$amp_html = preg_replace('#sizes="(.*)"#', "layout='responsive'", $amp_html);
|
40 |
}
|
41 |
if( $amp_html ){ ?>
|
42 |
<figure class="amp-featured-image"> <?php
|
Binary file
|
@@ -7,14 +7,42 @@ function amp_archive_title(){
|
|
7 |
$curauth_url = get_avatar_url( $curauth->user_email, array('size'=>180) );
|
8 |
if($curauth_url){ ?>
|
9 |
<div class="amp-wp-content author-img">
|
10 |
-
<amp-img src="<?php echo esc_url($curauth_url); ?>" width="90" height="90" layout="responsive"></amp-img>
|
11 |
</div>
|
12 |
<?php }
|
13 |
}
|
14 |
}
|
15 |
if ( is_archive() ) {
|
|
|
16 |
the_archive_title( '<h3 class="amp-archive-title">', '</h3>' );
|
17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
}
|
19 |
if( is_category() && 1 == $redux_builder_amp['ampforwp-sub-categories-support'] ){
|
20 |
$parent_cat_id = '';
|
@@ -45,6 +73,7 @@ $amp_q = '';
|
|
45 |
$count = 1;
|
46 |
function call_loops_standard($data=array()){
|
47 |
global $amp_q;
|
|
|
48 |
if (get_query_var( 'paged' ) ) {
|
49 |
$paged = get_query_var('paged');
|
50 |
} elseif ( get_query_var( 'page' ) ) {
|
@@ -57,7 +86,7 @@ function call_loops_standard($data=array()){
|
|
57 |
$exclude_ids = get_option('ampforwp_exclude_post');
|
58 |
$qobj = get_queried_object();
|
59 |
$args = array(
|
60 |
-
'post_type' =>
|
61 |
'orderby' => 'date',
|
62 |
'ignore_sticky_posts' => 1,
|
63 |
'tax_query' => array(
|
@@ -188,7 +217,8 @@ function amp_reset_loop(){
|
|
188 |
}
|
189 |
|
190 |
function amp_pagination($args =array()) {
|
191 |
-
global $amp_q, $redux_builder_amp;
|
|
|
192 |
if (get_query_var( 'paged' ) ) {
|
193 |
$paged = get_query_var('paged');
|
194 |
} elseif ( get_query_var( 'page' ) ) {
|
@@ -207,11 +237,13 @@ function amp_pagination($args =array()) {
|
|
207 |
$pre_link = '<div class="left">'.get_previous_posts_link( ampforwp_translation($redux_builder_amp['amp-translator-show-previous-posts-text'], $args['previous_text'] ) ) .'</div>';
|
208 |
}
|
209 |
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
|
|
|
|
215 |
}
|
216 |
|
217 |
/***
|
@@ -277,7 +309,7 @@ function amp_loop_permalink($return,$amp_query_var ='amp'){
|
|
277 |
echo ampforwp_url_controller( get_permalink() );
|
278 |
}
|
279 |
function amp_loop_image( $data=array() ) {
|
280 |
-
global $ampLoopData
|
281 |
if (ampforwp_has_post_thumbnail() ) {
|
282 |
|
283 |
$tag = 'div';
|
@@ -316,6 +348,10 @@ function amp_loop_image( $data=array() ) {
|
|
316 |
if ( empty($height) ) {
|
317 |
$height = $thumb_height;
|
318 |
}
|
|
|
|
|
|
|
|
|
319 |
$thumb_url_array = ampforwp_aq_resize( $thumb_url, $width, $height, true, false, true ); //resize & crop the image
|
320 |
$thumb_url = $thumb_url_array[0];
|
321 |
$thumb_width = $thumb_url_array[1];
|
@@ -324,7 +360,7 @@ function amp_loop_image( $data=array() ) {
|
|
324 |
if ( $thumb_url ) {
|
325 |
echo '<'.$tag.' class="loop-img '.$tag_class.'">';
|
326 |
echo '<a href="'.amp_loop_permalink(true).'">';
|
327 |
-
echo '<amp-img src="'. $thumb_url .'" width="'.$thumb_width.'" height="'.$thumb_height.'" '. $layout_responsive .' class="'.$imageClass.'"></amp-img>';
|
328 |
echo '</a>';
|
329 |
echo '</'.$tag.'>';
|
330 |
}
|
7 |
$curauth_url = get_avatar_url( $curauth->user_email, array('size'=>180) );
|
8 |
if($curauth_url){ ?>
|
9 |
<div class="amp-wp-content author-img">
|
10 |
+
<amp-img data-block-on-consent src="<?php echo esc_url($curauth_url); ?>" width="90" height="90" layout="responsive"></amp-img>
|
11 |
</div>
|
12 |
<?php }
|
13 |
}
|
14 |
}
|
15 |
if ( is_archive() ) {
|
16 |
+
$description = $sanitizer = $arch_desc = '';
|
17 |
the_archive_title( '<h3 class="amp-archive-title">', '</h3>' );
|
18 |
+
$description = get_the_archive_description();
|
19 |
+
$sanitizer = new AMPFORWP_Content( $description, array(),
|
20 |
+
apply_filters( 'ampforwp_content_sanitizers',
|
21 |
+
array(
|
22 |
+
'AMP_Style_Sanitizer' => array(),
|
23 |
+
'AMP_Blacklist_Sanitizer' => array(),
|
24 |
+
'AMP_Img_Sanitizer' => array(),
|
25 |
+
'AMP_Video_Sanitizer' => array(),
|
26 |
+
'AMP_Audio_Sanitizer' => array(),
|
27 |
+
'AMP_Iframe_Sanitizer' => array(
|
28 |
+
'add_placeholder' => true,
|
29 |
+
)
|
30 |
+
) ) );
|
31 |
+
$arch_desc = $sanitizer->get_amp_content();
|
32 |
+
if( $arch_desc ) {
|
33 |
+
if ( get_query_var( 'paged' ) ) {
|
34 |
+
$paged = get_query_var('paged');
|
35 |
+
} elseif ( get_query_var( 'page' ) ) {
|
36 |
+
$paged = get_query_var('page');
|
37 |
+
} else {
|
38 |
+
$paged = 1;
|
39 |
+
}
|
40 |
+
if($paged <= '1') {?>
|
41 |
+
<div class="amp-archive-desc">
|
42 |
+
<?php echo $arch_desc ; ?>
|
43 |
+
</div> <?php
|
44 |
+
}
|
45 |
+
}
|
46 |
}
|
47 |
if( is_category() && 1 == $redux_builder_amp['ampforwp-sub-categories-support'] ){
|
48 |
$parent_cat_id = '';
|
73 |
$count = 1;
|
74 |
function call_loops_standard($data=array()){
|
75 |
global $amp_q;
|
76 |
+
$post_type = get_post_type();
|
77 |
if (get_query_var( 'paged' ) ) {
|
78 |
$paged = get_query_var('paged');
|
79 |
} elseif ( get_query_var( 'page' ) ) {
|
86 |
$exclude_ids = get_option('ampforwp_exclude_post');
|
87 |
$qobj = get_queried_object();
|
88 |
$args = array(
|
89 |
+
'post_type' => $post_type,
|
90 |
'orderby' => 'date',
|
91 |
'ignore_sticky_posts' => 1,
|
92 |
'tax_query' => array(
|
217 |
}
|
218 |
|
219 |
function amp_pagination($args =array()) {
|
220 |
+
global $amp_q, $wp_query, $redux_builder_amp;
|
221 |
+
|
222 |
if (get_query_var( 'paged' ) ) {
|
223 |
$paged = get_query_var('paged');
|
224 |
} elseif ( get_query_var( 'page' ) ) {
|
237 |
$pre_link = '<div class="left">'.get_previous_posts_link( ampforwp_translation($redux_builder_amp['amp-translator-show-previous-posts-text'], $args['previous_text'] ) ) .'</div>';
|
238 |
}
|
239 |
|
240 |
+
if ( $wp_query->max_num_pages > 1 ) {
|
241 |
+
echo '<div class="loop-pagination">
|
242 |
+
<div class="right">'. get_next_posts_link( ampforwp_translation($redux_builder_amp['amp-translator-show-more-posts-text'] , $args['next_text']), $amp_q->max_num_pages ) .'</div>
|
243 |
+
'.$pre_link.'
|
244 |
+
<div class="clearfix"></div>
|
245 |
+
</div>';
|
246 |
+
}
|
247 |
}
|
248 |
|
249 |
/***
|
309 |
echo ampforwp_url_controller( get_permalink() );
|
310 |
}
|
311 |
function amp_loop_image( $data=array() ) {
|
312 |
+
global $ampLoopData, $counterOffset, $redux_builder_amp;
|
313 |
if (ampforwp_has_post_thumbnail() ) {
|
314 |
|
315 |
$tag = 'div';
|
348 |
if ( empty($height) ) {
|
349 |
$height = $thumb_height;
|
350 |
}
|
351 |
+
if ( isset($redux_builder_amp['ampforwp-retina-images']) && true == $redux_builder_amp['ampforwp-retina-images'] ) {
|
352 |
+
$width = $width * 2;
|
353 |
+
$height = $height * 2;
|
354 |
+
}
|
355 |
$thumb_url_array = ampforwp_aq_resize( $thumb_url, $width, $height, true, false, true ); //resize & crop the image
|
356 |
$thumb_url = $thumb_url_array[0];
|
357 |
$thumb_width = $thumb_url_array[1];
|
360 |
if ( $thumb_url ) {
|
361 |
echo '<'.$tag.' class="loop-img '.$tag_class.'">';
|
362 |
echo '<a href="'.amp_loop_permalink(true).'">';
|
363 |
+
echo '<amp-img src="'. $thumb_url .'" data-block-on-consent width="'.$thumb_width.'" height="'.$thumb_height.'" '. $layout_responsive .' class="'.$imageClass.'"></amp-img>';
|
364 |
echo '</a>';
|
365 |
echo '</'.$tag.'>';
|
366 |
}
|
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
function amp_menu_html(){
|
3 |
if( has_nav_menu( 'amp-menu' ) ) {
|
4 |
$menu_html_content = wp_nav_menu( array(
|
5 |
'theme_location' => 'amp-menu',
|
@@ -11,7 +11,7 @@ function amp_menu_html(){
|
|
11 |
$menu_html_content = apply_filters('ampforwp_menu_content', $menu_html_content);
|
12 |
$sanitizer_obj = new AMPFORWP_Content( $menu_html_content, array(), apply_filters( 'ampforwp_content_sanitizers', array( 'AMP_Img_Sanitizer' => array(), 'AMP_Style_Sanitizer' => array(), ) ) );
|
13 |
$sanitized_menu = $sanitizer_obj->get_amp_content();
|
14 |
-
|
15 |
}
|
16 |
}
|
17 |
|
1 |
<?php
|
2 |
+
function amp_menu_html($echo){
|
3 |
if( has_nav_menu( 'amp-menu' ) ) {
|
4 |
$menu_html_content = wp_nav_menu( array(
|
5 |
'theme_location' => 'amp-menu',
|
11 |
$menu_html_content = apply_filters('ampforwp_menu_content', $menu_html_content);
|
12 |
$sanitizer_obj = new AMPFORWP_Content( $menu_html_content, array(), apply_filters( 'ampforwp_content_sanitizers', array( 'AMP_Img_Sanitizer' => array(), 'AMP_Style_Sanitizer' => array(), ) ) );
|
13 |
$sanitized_menu = $sanitizer_obj->get_amp_content();
|
14 |
+
return $sanitized_menu;
|
15 |
}
|
16 |
}
|
17 |
|
@@ -5,14 +5,14 @@ function ampforwp_framework_get_post_pagination( $args = '' ) {
|
|
5 |
global $page, $numpages, $multipage, $more, $redux_builder_amp;
|
6 |
$next_class = $previous_class = '';
|
7 |
$defaults = array(
|
8 |
-
'before' => '<p>' .
|
9 |
'after' => '</p>',
|
10 |
'link_before' => '',
|
11 |
'link_after' => '',
|
12 |
'next_or_number' => 'number',
|
13 |
'separator' => ' ',
|
14 |
-
'nextpagelink' =>
|
15 |
-
'previouspagelink' =>
|
16 |
'pagelink' => '%',
|
17 |
'echo' => 1
|
18 |
);
|
5 |
global $page, $numpages, $multipage, $more, $redux_builder_amp;
|
6 |
$next_class = $previous_class = '';
|
7 |
$defaults = array(
|
8 |
+
'before' => '<p>' . ( '<span>'. ampforwp_translation($redux_builder_amp['amp-translator-page-text'], 'Page') .':</span>' ),
|
9 |
'after' => '</p>',
|
10 |
'link_before' => '',
|
11 |
'link_after' => '',
|
12 |
'next_or_number' => 'number',
|
13 |
'separator' => ' ',
|
14 |
+
'nextpagelink' => ampforwp_translation($redux_builder_amp['amp-translator-next-text'], 'Next page'),
|
15 |
+
'previouspagelink' => ampforwp_translation($redux_builder_amp['amp-translator-previous-text'], 'Previous page'),
|
16 |
'pagelink' => '%',
|
17 |
'echo' => 1
|
18 |
);
|
@@ -125,7 +125,7 @@ function ampforwp_get_relatedpost_image( $imagetype ='thumbnail', $data=array()
|
|
125 |
}
|
126 |
|
127 |
if ( $thumb_url && $show_image ) { ?>
|
128 |
-
<amp-img src="<?php echo esc_url( $thumb_url ); ?>" width="<?php echo $thumb_width; ?>" height="<?php echo $thumb_height; ?>" layout="responsive"></amp-img>
|
129 |
<?php }
|
130 |
} ?>
|
131 |
</a>
|
125 |
}
|
126 |
|
127 |
if ( $thumb_url && $show_image ) { ?>
|
128 |
+
<amp-img data-block-on-consent src="<?php echo esc_url( $thumb_url ); ?>" width="<?php echo $thumb_width; ?>" height="<?php echo $thumb_height; ?>" layout="responsive"></amp-img>
|
129 |
<?php }
|
130 |
} ?>
|
131 |
</a>
|
@@ -3,14 +3,20 @@
|
|
3 |
function ampforwp_framework_get_search_form() {
|
4 |
global $redux_builder_amp;
|
5 |
$action_url = '';
|
|
|
|
|
6 |
$label = ampforwp_translation(isset($redux_builder_amp['ampforwp-search-label']) && $redux_builder_amp['ampforwp-search-label'], 'Type your search query and hit enter');
|
7 |
$action_url = esc_url( get_bloginfo('url') );
|
8 |
$action_url = preg_replace('#^http?:#', '', $action_url);
|
9 |
$placeholder = ampforwp_translation($redux_builder_amp['ampforwp-search-placeholder'], 'Type Here' );
|
|
|
|
|
|
|
|
|
10 |
$form = '<form role="search" method="get" id="amp-search" class="amp-search" target="_top" action="' . $action_url .'">
|
11 |
<div class="amp-search-wrapper">
|
12 |
<label class="screen-reader-text" for="s">' . $label . '</label>
|
13 |
-
<input type="text" placeholder="AMP" value="
|
14 |
<input type="text" placeholder="'.$placeholder.'" value="' . get_search_query() . '" name="s" id="s" />
|
15 |
<input type="submit" class="icon-search" id="amp-search-submit" value="'. esc_attr_x( 'Search', 'submit button' ) .'" />
|
16 |
<div class="overlay-search">
|
3 |
function ampforwp_framework_get_search_form() {
|
4 |
global $redux_builder_amp;
|
5 |
$action_url = '';
|
6 |
+
$amp_query_variable = '';
|
7 |
+
$amp_query_variable_val = '';
|
8 |
$label = ampforwp_translation(isset($redux_builder_amp['ampforwp-search-label']) && $redux_builder_amp['ampforwp-search-label'], 'Type your search query and hit enter');
|
9 |
$action_url = esc_url( get_bloginfo('url') );
|
10 |
$action_url = preg_replace('#^http?:#', '', $action_url);
|
11 |
$placeholder = ampforwp_translation($redux_builder_amp['ampforwp-search-placeholder'], 'Type Here' );
|
12 |
+
if ( isset($redux_builder_amp['ampforwp-amp-takeover']) && !$redux_builder_amp['ampforwp-amp-takeover'] ) {
|
13 |
+
$amp_query_variable = 'amp';
|
14 |
+
$amp_query_variable_val = '1';
|
15 |
+
}
|
16 |
$form = '<form role="search" method="get" id="amp-search" class="amp-search" target="_top" action="' . $action_url .'">
|
17 |
<div class="amp-search-wrapper">
|
18 |
<label class="screen-reader-text" for="s">' . $label . '</label>
|
19 |
+
<input type="text" placeholder="AMP" value="'.$amp_query_variable_val.'" name="'.$amp_query_variable.'" class="hidden"/>
|
20 |
<input type="text" placeholder="'.$placeholder.'" value="' . get_search_query() . '" name="s" id="s" />
|
21 |
<input type="submit" class="icon-search" id="amp-search-submit" value="'. esc_attr_x( 'Search', 'submit button' ) .'" />
|
22 |
<div class="overlay-search">
|
@@ -26,7 +26,7 @@ function ampforwp_framework_get_social_icons($selected_social_icons){
|
|
26 |
|
27 |
$social_icons_names = array();
|
28 |
$url = get_the_permalink();
|
29 |
-
$title = esc_attr(get_the_title());
|
30 |
if(isset($redux_builder_amp['enable-single-twitter-share-link']) && $redux_builder_amp['enable-single-twitter-share-link']){
|
31 |
$twitter_url = get_the_permalink();
|
32 |
}
|
@@ -97,6 +97,7 @@ function ampforwp_framework_get_social_icons($selected_social_icons){
|
|
97 |
}
|
98 |
|
99 |
?>
|
|
|
100 |
<div class="amp-social">
|
101 |
<ul>
|
102 |
<?php if( ( in_array( 'twitter' , $selected_social_icons,true) || in_array('twitter', $social_icons_names,true) ) && !empty($selected_social_icons['twitter']) ) { ?>
|
@@ -176,7 +177,8 @@ function ampforwp_framework_get_social_icons($selected_social_icons){
|
|
176 |
</amp-facebook-like>
|
177 |
<?php } ?>
|
178 |
</ul>
|
179 |
-
</div>
|
|
|
180 |
<?php
|
181 |
}
|
182 |
|
26 |
|
27 |
$social_icons_names = array();
|
28 |
$url = get_the_permalink();
|
29 |
+
$title = esc_attr( htmlspecialchars( get_the_title() ) );
|
30 |
if(isset($redux_builder_amp['enable-single-twitter-share-link']) && $redux_builder_amp['enable-single-twitter-share-link']){
|
31 |
$twitter_url = get_the_permalink();
|
32 |
}
|
97 |
}
|
98 |
|
99 |
?>
|
100 |
+
<?php do_action('ampforwp_before_social_icons_hook'); ?>
|
101 |
<div class="amp-social">
|
102 |
<ul>
|
103 |
<?php if( ( in_array( 'twitter' , $selected_social_icons,true) || in_array('twitter', $social_icons_names,true) ) && !empty($selected_social_icons['twitter']) ) { ?>
|
177 |
</amp-facebook-like>
|
178 |
<?php } ?>
|
179 |
</ul>
|
180 |
+
</div>
|
181 |
+
<?php do_action('ampforwp_after_social_icons_hook'); ?>
|
182 |
<?php
|
183 |
}
|
184 |
|
@@ -29,7 +29,13 @@ elseif ( ! defined('AMPFORWP_CUSTOM_THEME') ) {
|
|
29 |
$file = AMPFORWP_CUSTOM_THEME . '/single.php';
|
30 |
}
|
31 |
}*/
|
32 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
if( 'single' === $type && ! ('product' === $post->post_type) ) {
|
34 |
$file = AMPFORWP_CUSTOM_THEME . '/page.php';
|
35 |
}
|
@@ -64,6 +70,7 @@ elseif ( ! defined('AMPFORWP_CUSTOM_THEME') ) {
|
|
64 |
$file = AMPFORWP_CUSTOM_THEME . '/search.php';
|
65 |
}
|
66 |
}
|
|
|
67 |
//For template pages
|
68 |
switch ( true ) {
|
69 |
case (is_tax()):
|
29 |
$file = AMPFORWP_CUSTOM_THEME . '/single.php';
|
30 |
}
|
31 |
}*/
|
32 |
+
// 404 Template
|
33 |
+
|
34 |
+
if( 'single' === $type && is_404() ) {
|
35 |
+
$file = AMPFORWP_CUSTOM_THEME . '/404.php';
|
36 |
+
}
|
37 |
+
// single Template
|
38 |
+
if ( is_page() ) {
|
39 |
if( 'single' === $type && ! ('product' === $post->post_type) ) {
|
40 |
$file = AMPFORWP_CUSTOM_THEME . '/page.php';
|
41 |
}
|
70 |
$file = AMPFORWP_CUSTOM_THEME . '/search.php';
|
71 |
}
|
72 |
}
|
73 |
+
|
74 |
//For template pages
|
75 |
switch ( true ) {
|
76 |
case (is_tax()):
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -139,6 +139,26 @@ jQuery(function($) {
|
|
139 |
}
|
140 |
}//Cloesed function = optionSectionDevision
|
141 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
|
143 |
var showExtensionTabs = function(){
|
144 |
var currentTab = getQueryStringValue('tabid');
|
@@ -154,9 +174,9 @@ jQuery(function($) {
|
|
154 |
if($( '.redux-group-tab-link-a' ).length){
|
155 |
redux_title_modify();
|
156 |
}
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
showExtensionTabs();
|
161 |
}
|
162 |
|
@@ -425,7 +445,9 @@ $(".redux-ampforwp-ext-deactivate").click(function(){
|
|
425 |
currentThis.parents("li").find('.afw-license-response-message').remove();
|
426 |
if(response.status=='200'){
|
427 |
currentThis.parents(".extension_desc").find("input[name='redux_builder_amp[amp-license][amp-ads-google-adsense][license]']").val("");
|
428 |
-
|
|
|
|
|
429 |
window.location.href = window.location.href;
|
430 |
}else{
|
431 |
alert(response.message);
|
@@ -434,10 +456,10 @@ $(".redux-ampforwp-ext-deactivate").click(function(){
|
|
434 |
})
|
435 |
}
|
436 |
});
|
|
|
437 |
}
|
438 |
deactivatelicence();
|
439 |
|
440 |
-
|
441 |
var helpSection = function(){
|
442 |
var open;
|
443 |
|
@@ -494,7 +516,9 @@ var redux_title_modify = function(){
|
|
494 |
}
|
495 |
|
496 |
});
|
497 |
-
|
|
|
|
|
498 |
|
499 |
});
|
500 |
|
139 |
}
|
140 |
}//Cloesed function = optionSectionDevision
|
141 |
|
142 |
+
var hideReduxLeftTabs = function(){
|
143 |
+
jQuery('ul.redux-group-menu > li.redux-group-tab-link-li').siblings('.redux-group-tab-link-li').each(function(key,Data){
|
144 |
+
if(key>2){
|
145 |
+
jQuery(this).attr("style","display:none;").addClass("otherSectionFields");
|
146 |
+
}
|
147 |
+
});
|
148 |
+
|
149 |
+
jQuery( '.redux-group-tab-link-a' ).click(function(){
|
150 |
+
if(jQuery(this).parent('li').hasClass('otherSectionFields')){
|
151 |
+
jQuery(this).parent('li.otherSectionFields').siblings('li.otherSectionFields').hide();
|
152 |
+
if(!jQuery(this).parent('li').is(':visible')){
|
153 |
+
jQuery(this).parent('li').show();
|
154 |
+
}
|
155 |
+
}else{
|
156 |
+
jQuery(this).parent('li').siblings('li.otherSectionFields').hide();
|
157 |
+
jQuery(this).parent('li').siblings('li.active').show();
|
158 |
+
|
159 |
+
}
|
160 |
+
});
|
161 |
+
}
|
162 |
|
163 |
var showExtensionTabs = function(){
|
164 |
var currentTab = getQueryStringValue('tabid');
|
174 |
if($( '.redux-group-tab-link-a' ).length){
|
175 |
redux_title_modify();
|
176 |
}
|
177 |
+
|
178 |
+
//To Hide Leftsidebar option Below Extension
|
179 |
+
hideReduxLeftTabs();
|
180 |
showExtensionTabs();
|
181 |
}
|
182 |
|
445 |
currentThis.parents("li").find('.afw-license-response-message').remove();
|
446 |
if(response.status=='200'){
|
447 |
currentThis.parents(".extension_desc").find("input[name='redux_builder_amp[amp-license][amp-ads-google-adsense][license]']").val("");
|
448 |
+
|
449 |
+
currentThis.after("<div class='afw-license-response-message'>"+response.message+'</div>');
|
450 |
+
|
451 |
window.location.href = window.location.href;
|
452 |
}else{
|
453 |
alert(response.message);
|
456 |
})
|
457 |
}
|
458 |
});
|
459 |
+
|
460 |
}
|
461 |
deactivatelicence();
|
462 |
|
|
|
463 |
var helpSection = function(){
|
464 |
var open;
|
465 |
|
516 |
}
|
517 |
|
518 |
});
|
519 |
+
|
520 |
+
$('li.active .redux-group-tab-link-a').click();
|
521 |
+
}
|
522 |
|
523 |
});
|
524 |
|
@@ -33,11 +33,12 @@ body #toplevel_page_amp_options .wp-menu-image{
|
|
33 |
left: 5px;
|
34 |
}
|
35 |
.redux-container #redux-header .display_header h2{
|
36 |
-
background-image: url("data:image/
|
37 |
background-size: 18px;
|
38 |
background-repeat: no-repeat;
|
39 |
padding-left: 26px;
|
40 |
background-position: 0px 0;
|
|
|
41 |
}
|
42 |
.amp-update-notice .notice-dismiss{
|
43 |
display: none
|
@@ -342,6 +343,7 @@ right:0; z-index: 99999;
|
|
342 |
color: #fff;
|
343 |
border: 0;
|
344 |
}
|
|
|
345 |
#redux_builder_amp-ampforwp_layouts_core {
|
346 |
position: relative
|
347 |
}
|
@@ -350,16 +352,18 @@ right:0; z-index: 99999;
|
|
350 |
line-height: 0;
|
351 |
border-bottom: 1px solid #E7E7E7;
|
352 |
margin-bottom: 10px;
|
353 |
-
|
|
|
354 |
.amp-layouts-desc{
|
355 |
position: absolute;
|
356 |
font-size: 13px;
|
357 |
-
|
358 |
-
right: 0;
|
359 |
text-transform: none;
|
|
|
|
|
360 |
}
|
361 |
.ampforwp-new-element .form-table tr{
|
362 |
-
border-
|
363 |
}
|
364 |
|
365 |
.amppb_ad-layout-layout .amppb_ad-layout-wrapper{
|
@@ -456,4 +460,183 @@ right:0; z-index: 99999;
|
|
456 |
}
|
457 |
.extension-menu-call .dashicons-admin-generic:before{
|
458 |
font-size: 18px;
|
459 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
left: 5px;
|
34 |
}
|
35 |
.redux-container #redux-header .display_header h2{
|
36 |
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAMAAABrrFhUAAAAqFBMVEUAAADuHSTwHib5JCv/TEzuHCTuHSXuHCTuHSX/JzbuHCTuHCTyICjuHCTuHSTuHCTvHSbzHyfuHCXuHCT/KirtHSTuHSTt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iEZE/wwUwmWGRjoJ0HADNOOdZmCbc/TRzPozkMnRUPq2B5sO7wINDUMg9IzGrvkK7CiWERoLXCA1FWju6bn+1RhOeymay4HaqoMleMNtCNW5+0BgCf4H0AsDLGXce+5CFcXkUwtLiRNgMRFY0iZ46UIZ52k/wrJyF5isIizPHx4HM9Ardsu3P8/djbv8NT8DPbEOLpNviXs3+WL65RT7WE18BlYTgXW0NuveW3Dqv+fv/VPwNlx3/BTxpsGXP9wK0s2R7YCfexxjQwSf4SG6MTbBZg8PM2/ho6XvITzQOcDHig/wYO01Ps5mAA3wvR17XUEQhuIAPp1OJTVNu0myErt7yRLP+79ZCEH0IUhTO0q/N/hvbOfiFfAb8tElKGhcge7NTZ+goR0V6Ba73AgqNBWgOyyzCTqUR9ANIUEYvyR5IbQv4pTglS8YtMrwJIJbwEfQlulMJ32QqwI0jzkW9st/cq1Ybja9scT88t+cgQLNkJ1z39I/iOlmAl8aJXskDW89wdYMWe3w6hJpxa9G26dOAdUoxswKyJDQfJWNp59ED2O+QzTnNMvVr6tELZfA8EqIQiM2T9ahp99ddRL1bX19EMW1bvu0PxX+b2ju+lzNg3GzPMcAAAAASUVORK5CYII=") !important;
|
37 |
background-size: 18px;
|
38 |
background-repeat: no-repeat;
|
39 |
padding-left: 26px;
|
40 |
background-position: 0px 0;
|
41 |
+
color: #000;
|
42 |
}
|
43 |
.amp-update-notice .notice-dismiss{
|
44 |
display: none
|
343 |
color: #fff;
|
344 |
border: 0;
|
345 |
}
|
346 |
+
|
347 |
#redux_builder_amp-ampforwp_layouts_core {
|
348 |
position: relative
|
349 |
}
|
352 |
line-height: 0;
|
353 |
border-bottom: 1px solid #E7E7E7;
|
354 |
margin-bottom: 10px;
|
355 |
+
padding-bottom: 15px !important;
|
356 |
+
}
|
357 |
.amp-layouts-desc{
|
358 |
position: absolute;
|
359 |
font-size: 13px;
|
360 |
+
right: 22px;
|
|
|
361 |
text-transform: none;
|
362 |
+
top: -6px;
|
363 |
+
text-decoration: none;
|
364 |
}
|
365 |
.ampforwp-new-element .form-table tr{
|
366 |
+
border-top: 0px;
|
367 |
}
|
368 |
|
369 |
.amppb_ad-layout-layout .amppb_ad-layout-wrapper{
|
460 |
}
|
461 |
.extension-menu-call .dashicons-admin-generic:before{
|
462 |
font-size: 18px;
|
463 |
+
}
|
464 |
+
|
465 |
+
|
466 |
+
/*
|
467 |
+
Accordion
|
468 |
+
*/
|
469 |
+
|
470 |
+
.afw-accordion-header > h3{
|
471 |
+
border-radius: 3px 3px 0px 0px;
|
472 |
+
padding-top: 0px;
|
473 |
+
margin-top: 20px;
|
474 |
+
font-size: 13px;
|
475 |
+
text-transform: none;
|
476 |
+
padding: 0 16px;
|
477 |
+
background: #f9f9f9 !important;
|
478 |
+
border-width: 1px 1px 0 1px !important;
|
479 |
+
padding: 5px 16px;
|
480 |
+
border: solid #e5e5e5;
|
481 |
+
font-weight: 600;
|
482 |
+
color: #333;
|
483 |
+
border-bottom: 1px solid #eee !important;
|
484 |
+
}
|
485 |
+
.afw-accordion-header{
|
486 |
+
position: relative;
|
487 |
+
background: #fff;
|
488 |
+
width: 100%;
|
489 |
+
margin-top: 20px;}
|
490 |
+
.afw-accordion-header:hover .redux_field_th{
|
491 |
+
color: red
|
492 |
+
}
|
493 |
+
.afw-accordion-header:hover{
|
494 |
+
cursor: pointer;
|
495 |
+
}
|
496 |
+
.afw-accordion-header:hover .afw-accordion-tab-open:after{
|
497 |
+
content: "\f142";
|
498 |
+
color: #222;
|
499 |
+
}
|
500 |
+
.afw-accordion-tab-open:after{
|
501 |
+
right: 12px;
|
502 |
+
color: #72777c;
|
503 |
+
top: 12px;
|
504 |
+
border-radius: 1000px;
|
505 |
+
position: absolute;
|
506 |
+
content: "\f142";
|
507 |
+
transform: rotate(0deg);
|
508 |
+
display: inline-block;
|
509 |
+
font: 400 16px/1 dashicons;
|
510 |
+
z-index: 30;
|
511 |
+
}
|
512 |
+
.afw-accordion-tab-close:after{
|
513 |
+
right: 8px;
|
514 |
+
color: #333;
|
515 |
+
top: 10px;
|
516 |
+
border-radius: 1000px;
|
517 |
+
position: absolute;
|
518 |
+
transform: rotate(180deg);
|
519 |
+
content: "\f142";
|
520 |
+
display: inline-block;
|
521 |
+
font: 400 20px/1 dashicons;
|
522 |
+
z-index: 30;
|
523 |
+
}
|
524 |
+
|
525 |
+
|
526 |
+
.afw-accordion-tab-close:before {
|
527 |
+
content: "";
|
528 |
+
border: 1px solid #eee;
|
529 |
+
width: 99%;
|
530 |
+
display: inline-block;
|
531 |
+
height: 10px;
|
532 |
+
border-radius: 2px;
|
533 |
+
left: -1px;
|
534 |
+
transition: 0.4s;
|
535 |
+
z-index: 4;
|
536 |
+
left: 0.5%;
|
537 |
+
top: 30px;
|
538 |
+
position: absolute;
|
539 |
+
}
|
540 |
+
|
541 |
+
|
542 |
+
.afw-accordion-tab-close:hover:before{
|
543 |
+
top: 36px;
|
544 |
+
}
|
545 |
+
/*TOOltip*/
|
546 |
+
|
547 |
+
.afw-tooltip {
|
548 |
+
position: relative;
|
549 |
+
display: inline !important;
|
550 |
+
margin-left: 5px;
|
551 |
+
color: #d8d8d8 !important;
|
552 |
+
}
|
553 |
+
|
554 |
+
.redux-main .afw-tooltip .afw-help-subtitle {
|
555 |
+
visibility: hidden;
|
556 |
+
max-width: 250px;
|
557 |
+
width: max-content;
|
558 |
+
background-color: #333;
|
559 |
+
box-shadow: 0px 0px 10px 0px #999;
|
560 |
+
color: #fff;
|
561 |
+
line-height: 1.45;
|
562 |
+
text-align: center;
|
563 |
+
border-radius: 3px;
|
564 |
+
padding: 8px 10px;
|
565 |
+
position: absolute;
|
566 |
+
z-index: 100;
|
567 |
+
bottom: 100%;
|
568 |
+
right: -26px;
|
569 |
+
margin-bottom: 6px !important;
|
570 |
+
opacity: 0;
|
571 |
+
transition: opacity 0.3s;}
|
572 |
+
|
573 |
+
.afw-tooltip .afw-help-subtitle::after {
|
574 |
+
content: "";
|
575 |
+
position: absolute;
|
576 |
+
top: 100%;
|
577 |
+
right: 28px;
|
578 |
+
margin-left: -5px;
|
579 |
+
border-width: 5px;
|
580 |
+
border-style: solid;
|
581 |
+
border-color: #111 transparent transparent transparent;
|
582 |
+
}
|
583 |
+
|
584 |
+
.afw-tooltip:hover .afw-help-subtitle {
|
585 |
+
visibility: visible;
|
586 |
+
opacity: 1;
|
587 |
+
}
|
588 |
+
.afw-tooltip .afw-help-subtitle .afw-tootip-bottom{
|
589 |
+
position: absolute;
|
590 |
+
bottom: 3px;
|
591 |
+
border-top: 1px solid #fff;
|
592 |
+
left: 0px;
|
593 |
+
right: 0px;
|
594 |
+
top: auto;
|
595 |
+
padding: 3px 0px 0px;
|
596 |
+
}
|
597 |
+
.afw-tooltip .afw-help-subtitle .afw-tootip-bottom .help-wrap{
|
598 |
+
width: 49%;
|
599 |
+
float: left;
|
600 |
+
border-right: 1px solid #fff;
|
601 |
+
color:#fff;
|
602 |
+
}
|
603 |
+
.afw-tooltip .afw-help-subtitle .afw-tootip-bottom .help-wrap:last-child{
|
604 |
+
border:none;
|
605 |
+
}
|
606 |
+
.afw-tootip-bottom i:before{
|
607 |
+
font-size: 15px;
|
608 |
+
}
|
609 |
+
.redux-main .child_opt .afw-tooltip{
|
610 |
+
margin-top: -8px;
|
611 |
+
}
|
612 |
+
.redux-main .child_opt .redux_field_th{ background: #f9f9f9;padding:23px 10px 23px 20px;
|
613 |
+
margin-right: -16px;}
|
614 |
+
|
615 |
+
.child_opt_last fieldset {
|
616 |
+
margin-bottom: 15px;
|
617 |
+
}
|
618 |
+
.child_opt_arrow .redux_field_th:before{
|
619 |
+
position: absolute;
|
620 |
+
content: "\f142";
|
621 |
+
transform: rotate(0deg);
|
622 |
+
display: inline-block;
|
623 |
+
font: 400 40px/1 dashicons;
|
624 |
+
color: #f9f9f9;
|
625 |
+
margin-top: -48px;
|
626 |
+
margin-left: -10px
|
627 |
+
}
|
628 |
+
.redux-main .child_opt fieldset{ background: #f9f9f9;
|
629 |
+
min-height: 30px;
|
630 |
+
right: 20px;
|
631 |
+
position: relative;
|
632 |
+
padding: 8px 10px 8px 20px;
|
633 |
+
}
|
634 |
+
.redux-main .child_opt .redux-container-textarea{
|
635 |
+
padding-top: 40px;
|
636 |
+
}
|
637 |
+
.redux-main .form-table tr:hover .afw-tooltip{color: #666 !important;}
|
638 |
+
/**Option panel css For extension**/
|
639 |
+
.backtoextensionlist{
|
640 |
+
cursor: pointer;
|
641 |
+
}
|
642 |
+
.redux_field_search, .redux-main #redux-sticky{display: none}
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
echo '{"promptIfUnknown": true}' ;
|
3 |
+
?>
|
@@ -38,7 +38,8 @@ $extension_listing_array = array(
|
|
38 |
'plugin_active_path'=> 'ads-for-wp/ads-for-wp.php',
|
39 |
'item_name'=>'ADS for WP',
|
40 |
'store_url'=>'https://accounts.ampforwp.com',
|
41 |
-
'is_activated'=>(is_plugin_active('ads-for-wp/ads-for-wp.php')? 1: 2),
|
|
|
42 |
),
|
43 |
array(
|
44 |
'name'=>'Advanced AMP ADS',
|
@@ -50,6 +51,7 @@ $extension_listing_array = array(
|
|
50 |
'item_name'=>'Advanced AMP Ads',
|
51 |
'store_url'=>'https://accounts.ampforwp.com',
|
52 |
'is_activated'=>(is_plugin_active('amp-incontent-ads/amptoolkit-incontent-ads.php')? 1:2),
|
|
|
53 |
),
|
54 |
array(
|
55 |
'name'=>'Contact Form 7',
|
@@ -61,7 +63,7 @@ $extension_listing_array = array(
|
|
61 |
'item_name'=>'Contact Form 7 for AMP',
|
62 |
'store_url'=>'https://accounts.ampforwp.com',
|
63 |
'is_activated'=>(is_plugin_active('amp-cf7/amp-cf7.php')? 1 : 2),
|
64 |
-
'settingUrl'=>'',
|
65 |
),
|
66 |
array(
|
67 |
'name'=>'Gravity Forms',
|
@@ -73,7 +75,7 @@ $extension_listing_array = array(
|
|
73 |
'item_name'=>'Gravity Forms',
|
74 |
'store_url'=>'https://accounts.ampforwp.com',
|
75 |
'is_activated'=>(is_plugin_active('amp-gravity-forms/amp-gravity-forms.php')? 1 : 2),
|
76 |
-
'settingUrl'=>'',
|
77 |
),
|
78 |
array(
|
79 |
'name'=>'Email Opt-in Forms',
|
@@ -85,7 +87,7 @@ $extension_listing_array = array(
|
|
85 |
'item_name'=>'Opt-in-Forms for AMP',
|
86 |
'store_url'=>'https://accounts.ampforwp.com',
|
87 |
'is_activated'=>(is_plugin_active('amp-optin/amp-optin.php')? 1 : 2),
|
88 |
-
'settingUrl'=>''
|
89 |
),
|
90 |
array(
|
91 |
'name'=>'AMP Cache',
|
@@ -97,7 +99,7 @@ $extension_listing_array = array(
|
|
97 |
'item_name'=>'AMP Cache',
|
98 |
'store_url'=>'https://accounts.ampforwp.com',
|
99 |
'is_activated'=>(is_plugin_active('amp-cache/ampforwp-cache.php')? 1 : 2),
|
100 |
-
'settingUrl'=>'',
|
101 |
),
|
102 |
array(
|
103 |
'name'=>'Call To Action (CTA)',
|
@@ -109,6 +111,7 @@ $extension_listing_array = array(
|
|
109 |
'item_name'=>'Call To Action for AMP',
|
110 |
'store_url'=>'https://accounts.ampforwp.com',
|
111 |
'is_activated'=>(is_plugin_active('amp-cta/amp-cta.php')? 1 : 2),
|
|
|
112 |
),
|
113 |
array(
|
114 |
'name'=>'AMP WooCommerce Pro',
|
@@ -120,7 +123,32 @@ $extension_listing_array = array(
|
|
120 |
'item_name'=>'WooCommerce',
|
121 |
'store_url'=>'https://accounts.ampforwp.com',
|
122 |
'is_activated'=>(is_plugin_active('amp-woocommerce-pro/amp-woocommerce.php')? 1 : 2),
|
123 |
-
'settingUrl'=>'',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
),
|
125 |
|
126 |
array(
|
@@ -146,6 +174,7 @@ $extension_listing_array = array(
|
|
146 |
'item_name'=>'Newspaper Theme for AMP',
|
147 |
'store_url'=>'https://accounts.ampforwp.com',
|
148 |
'is_activated'=>(is_plugin_active('amp-newspaper-theme/ampforwp-custom-theme.php')? 1 : 2),
|
|
|
149 |
),
|
150 |
|
151 |
array(
|
@@ -158,6 +187,7 @@ $extension_listing_array = array(
|
|
158 |
'item_name'=>'ACF for AMP',
|
159 |
'store_url'=>'https://accounts.ampforwp.com',
|
160 |
'is_activated'=>(is_plugin_active('acf-for-amp-v2/amp-acf.php')? 1 : 2),
|
|
|
161 |
),
|
162 |
array(
|
163 |
'name'=>'AMP Comments',
|
@@ -169,6 +199,7 @@ $extension_listing_array = array(
|
|
169 |
'item_name'=>'AMP Comments',
|
170 |
'store_url'=>'https://accounts.ampforwp.com',
|
171 |
'is_activated'=>(is_plugin_active('amp-comments/amp-comments.php')? 1: 2),
|
|
|
172 |
),
|
173 |
array(
|
174 |
'name'=>'Star Ratings',
|
@@ -180,6 +211,7 @@ $extension_listing_array = array(
|
|
180 |
'item_name'=>'AMP Rating',
|
181 |
'store_url'=>'https://accounts.ampforwp.com',
|
182 |
'is_activated'=>(is_plugin_active('amp-rating/amp-rating.php')? 1 : 2),
|
|
|
183 |
),
|
184 |
array(
|
185 |
'name'=>'Custom Post Type',
|
@@ -191,7 +223,7 @@ $extension_listing_array = array(
|
|
191 |
'item_name'=>'Custom Post Type Support for AMP',
|
192 |
'store_url'=>'https://accounts.ampforwp.com',
|
193 |
'is_activated'=>(is_plugin_active('amp-custom-post-type/amp-custom-post-type.php')? 1 : 2),
|
194 |
-
'settingUrl'=>'',
|
195 |
),
|
196 |
array(
|
197 |
'name'=>'Structured Data for WP',
|
@@ -203,13 +235,13 @@ $extension_listing_array = array(
|
|
203 |
'item_name'=>'Structured Data for WP',
|
204 |
'store_url'=>'https://accounts.ampforwp.com',
|
205 |
'is_activated'=>(is_plugin_active('structured-data-for-wp/structured-data-for-wp.php')? 1: 2),
|
206 |
-
|
207 |
),
|
208 |
array(
|
209 |
'name'=>'Polylang For AMP',
|
210 |
-
'desc'=>'Polylang compatibility AMP',
|
211 |
'img_src'=>AMPFORWP_IMAGE_DIR . '/click.png',
|
212 |
-
'price'=>'$
|
213 |
'url_link'=>'https://ampforwp.com/polylang-for-amp/',
|
214 |
'plugin_active_path'=> 'polylang-for-amp/amp_polylang.php',
|
215 |
'item_name'=>'Polylang For AMP',
|
@@ -217,10 +249,10 @@ $extension_listing_array = array(
|
|
217 |
'is_activated'=>(is_plugin_active('polylang-for-amp/amp_polylang.php')? 1: 2),
|
218 |
),
|
219 |
array(
|
220 |
-
'name'=>'WPML
|
221 |
'desc'=>'WPML compatibility with AMP',
|
222 |
'img_src'=>AMPFORWP_IMAGE_DIR . '/click.png',
|
223 |
-
'price'=>'$
|
224 |
'url_link'=>'https://ampforwp.com/wpml-for-amp/',
|
225 |
'plugin_active_path'=> 'wpml-for-amp/wpml_for_amp.php',
|
226 |
'item_name'=>'WPML For AMP',
|
@@ -237,7 +269,7 @@ $extension_listing_array = array(
|
|
237 |
'item_name'=>'AMP Teaser',
|
238 |
'store_url'=>'https://accounts.ampforwp.com',
|
239 |
'is_activated'=>(is_plugin_active('amp-teaser/amp-teaser.php')? 1: 2),
|
240 |
-
'settingUrl'=>'',
|
241 |
),
|
242 |
array(
|
243 |
'name'=>'View All Extensions',
|
@@ -255,7 +287,6 @@ $extension_listing_array = array(
|
|
255 |
|
256 |
$extension_listing_array = apply_filters( 'ampforwp_extension_lists_filter', $extension_listing_array );
|
257 |
$ampforwp_extension_list_html = '';
|
258 |
-
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
259 |
$ampforwp_nameOfUser = "";
|
260 |
$ampforwp_is_productActivated = false;
|
261 |
usort($extension_listing_array, function($a, $b){
|
@@ -269,12 +300,17 @@ foreach ($extension_listing_array as $key => $extension) {
|
|
269 |
|
270 |
$onclickUrl = '<a href="'.$extension['url_link'].'" target="_blank">';
|
271 |
$onclickUrlclose = '</a>';
|
|
|
272 |
$pluginReview = '<div class="extension_btn">From: '.$extension['price'].'</div>';
|
273 |
if($extension['plugin_active_path'] != "" && is_plugin_active($extension['plugin_active_path']) ){
|
274 |
$ampforwp_is_productActivated = true;
|
275 |
$currentStatus = "not-active invalid";
|
276 |
$pathExploded = explode("/", $extension['plugin_active_path']);
|
277 |
$pathExploded = $pathExploded[0];
|
|
|
|
|
|
|
|
|
278 |
|
279 |
$amplicense = '';
|
280 |
$onclickUrl = $onclickUrlclose= '';
|
@@ -304,19 +340,22 @@ foreach ($extension_listing_array as $key => $extension) {
|
|
304 |
}
|
305 |
|
306 |
}
|
|
|
307 |
if($extension['is_activated']==1 && strpos($ampforwp_extension_list_html, "Your Installed Extensions")===false){
|
308 |
$ampforwp_extension_list_html .= "<h3 style='display:block;'>Your Installed Extensions</h3><ul>";
|
309 |
-
}elseif($extension['is_activated']==2 && strpos($ampforwp_extension_list_html, "
|
310 |
-
$ampforwp_extension_list_html .= "</ul><h3 style='display:block;'>
|
|
|
311 |
}
|
312 |
-
$ampforwp_extension_list_html .= '<li class="first '.$currentStatus.'
|
|
|
313 |
<div class="align_left"><img src="'.$extension['img_src'].'" /></div>
|
314 |
<div class="extension_desc">
|
315 |
<h2>'.$extension['name'].'</h2>
|
316 |
<p>'.$extension['desc'].'</p>
|
317 |
'.$pluginReview.'
|
318 |
</div>
|
319 |
-
'.$onclickUrlclose.'</li>';
|
320 |
}
|
321 |
|
322 |
$extension_listing = '
|
@@ -462,7 +501,7 @@ $upcomingLayoutsDesign = '';
|
|
462 |
$layouts = ampforwp_upcomming_layouts_demo();
|
463 |
if(is_array($layouts)){
|
464 |
foreach($layouts as $k=>$val){
|
465 |
-
|
466 |
<div class="amppb_ad-layout-layout">
|
467 |
<div class="amppb_ad-layout-wrapper">
|
468 |
<div class="amppb_ad-layout_pro"><a href="https://ampforwp.com/amp-layouts/" target="_blank">PRO</a></div>
|
@@ -525,13 +564,6 @@ $args = array(
|
|
525 |
|
526 |
);
|
527 |
|
528 |
-
$args['share_icons'][] = array(
|
529 |
-
'url' => 'https://github.com/ahmedkaludi/Accelerated-Mobile-Pages',
|
530 |
-
'title' => __('Visit us on GitHub','accelerated-mobile-pages'),
|
531 |
-
'icon' => 'el el-github'
|
532 |
-
//'img' => '', // You can use icon OR img. IMG needs to be a full URL.
|
533 |
-
);
|
534 |
-
|
535 |
|
536 |
Redux::setArgs( "redux_builder_amp", $args );
|
537 |
|
@@ -577,7 +609,7 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
577 |
'id' => 'opt-blank',
|
578 |
'title' => __( 'Example Text', 'accelerated-mobile-pages' ),
|
579 |
'desc' => __( 'Example description.', 'accelerated-mobile-pages' ),
|
580 |
-
'subtitle' => __( 'Example subtitle.', 'accelerated-mobile-pages' ),
|
581 |
)
|
582 |
)
|
583 |
) );
|
@@ -591,37 +623,37 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
591 |
padding: 8px 11px;background: #4CAF50;
|
592 |
font-size: 13px;margin: -24px 0 0 10px;
|
593 |
border-radius: 5px;line-height: 22px;position:relative;top:30px"><a style="color: #fff;text-decoration: none;" href="https://wordpress.org/support/view/plugin-reviews/accelerated-mobile-pages?rate=5#postform">Like this plugin? <br /> Leave a 5 Star Rating</a></h2>We are actively working on updating the plugin. We have built user friendly options which allows you to make changes on your AMP version.', 'accelerated-mobile-pages' ), 'accelerated-mobile-pages' )
|
594 |
-
|
595 |
<div class="getstarted_options">
|
596 |
<p><b>Getting Started</b></p>
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
|
602 |
-
|
603 |
</div>
|
604 |
<div class="getstarted_options">
|
605 |
<p><b>Useful Links</b></p>
|
606 |
-
|
607 |
-
|
608 |
-
|
609 |
-
|
610 |
-
|
611 |
-
|
612 |
</div>
|
613 |
<div class="clear"></div>
|
614 |
</div>'
|
615 |
. '<p><strong>' . __( '1. <a href="https://ampforwp.com/priority-support/" target="_blank">Fixing AMP Validation Errors</a>: ', 'accelerated-mobile-pages' ) . '</strong>' . __( 'We will personally take care that your website’s AMP version is perfectly validated. We will make sure that your AMP version gets approved and indexed by Google Webmaster Tools properly and we will even keep an eye on AMP updates from Google and implement them into your website.' ) . '</p>'
|
616 |
-
|
617 |
-
|
618 |
-
|
619 |
|
620 |
-
|
621 |
<br /><p><h3>Take AMP to the Next Level with Premium Extensions</h3></p>
|
622 |
' .$gettingstarted_extension_listing
|
623 |
|
624 |
-
|
625 |
'icon' => 'el el-cogs'
|
626 |
) );
|
627 |
|
@@ -658,31 +690,51 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
658 |
'id' => 'ampforwp-custom-type',
|
659 |
'type' => 'select',
|
660 |
'title' => __('Custom Post Types', 'accelerated-mobile-pages'),
|
661 |
-
'subtitle' => __('Enable AMP Support on Custom Post Types', 'accelerated-mobile-pages'),
|
662 |
'multi' => true,
|
663 |
//'data' => 'post_type',
|
664 |
'options' => ampforwp_get_cpt_generated_post_types(),
|
665 |
);
|
666 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
667 |
Redux::setSection( $opt_name, array(
|
668 |
'title' => __( 'General', 'accelerated-mobile-pages' ),
|
669 |
// 'desc' => __( 'For full documentation on this field, visit: ', 'accelerated-mobile-pages' ) . '<a href="http://docs.reduxframework.com/core/fields/text/" target="_blank">http://docs.reduxframework.com/core/fields/text/</a>',
|
670 |
'id' => 'opt-text-subsection',
|
671 |
'subsection' => true,
|
672 |
'fields' => array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
673 |
|
674 |
array(
|
675 |
'id' => 'opt-media',
|
676 |
'type' => 'media',
|
677 |
'url' => true,
|
678 |
'title' => __('Logo', 'accelerated-mobile-pages'),
|
679 |
-
'subtitle'
|
680 |
-
'desc' => __('Recommend logo size is: 190x36', 'accelerated-mobile-pages'),
|
681 |
'default' => array('url' => ampforwp_default_logo_settings() ),
|
682 |
),
|
683 |
array(
|
684 |
'id' => 'ampforwp-custom-logo-dimensions',
|
685 |
-
'title' => __('
|
686 |
'type' => 'switch',
|
687 |
'default' => 0,
|
688 |
),
|
@@ -690,6 +742,7 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
690 |
'id' => 'ampforwp-custom-logo-dimensions-options',
|
691 |
'title' => __('Resize Method', 'accelerated-mobile-pages'),
|
692 |
'type' => 'select',
|
|
|
693 |
'default' => '100',
|
694 |
'options' => array(
|
695 |
'flexible' => 'Flexible Width',
|
@@ -702,25 +755,27 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
702 |
'id' => 'ampforwp-custom-logo-dimensions-slider',
|
703 |
'title' => __('Resize Your Logo', 'accelerated-mobile-pages'),
|
704 |
'type' => 'amp_slider',
|
|
|
705 |
'default' => '100',
|
706 |
'min' => 0,
|
707 |
'max' => 100,
|
708 |
-
'subtitle' => '',
|
709 |
'required'=>array('ampforwp-custom-logo-dimensions-options','=','flexible'),
|
710 |
),
|
711 |
array(
|
|
|
712 |
'id' => 'opt-media-width',
|
713 |
'type' => 'text',
|
714 |
'title' => __('Logo Width', 'accelerated-mobile-pages'),
|
715 |
-
'
|
716 |
'default' => '190',
|
717 |
'required'=>array('ampforwp-custom-logo-dimensions-options','=','prescribed'),
|
718 |
),
|
719 |
array(
|
|
|
720 |
'id' => 'opt-media-height',
|
721 |
'type' => 'text',
|
722 |
'title' => __('Logo Height', 'accelerated-mobile-pages'),
|
723 |
-
'
|
724 |
'default' => '36',
|
725 |
'required'=>array('ampforwp-custom-logo-dimensions-options','=','prescribed'),
|
726 |
|
@@ -730,28 +785,30 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
730 |
'type' => 'section',
|
731 |
'title' => __('AMP Support', 'accelerated-mobile-pages'),
|
732 |
'indent' => true,
|
|
|
|
|
733 |
),
|
734 |
array(
|
735 |
'id' =>'amp-on-off-for-all-posts',
|
736 |
'type' => 'switch',
|
737 |
'title' => __('Posts', 'accelerated-mobile-pages'),
|
738 |
-
'subtitle' => __('Enable AMP Support on Posts', 'accelerated-mobile-pages'),
|
739 |
'default' => 1,
|
740 |
// 'desc' => __( 'Re-Save permalink if you make changes in this option, please have a look <a href="https://ampforwp.com/flush-rewrite-urls/">here</a> on how to do it', 'accelerated-mobile-pages' ),
|
741 |
),
|
742 |
-
|
743 |
'id' =>'amp-on-off-for-all-pages',
|
744 |
'type' => 'switch',
|
745 |
'title' => __('Pages', 'accelerated-mobile-pages'),
|
746 |
-
'subtitle' => __('Enable AMP Support on Pages.', 'accelerated-mobile-pages'),
|
747 |
'default' => 1,
|
748 |
-
// 'subtitle' => __( '<a href="https://ampforwp.com/flush-rewrite-urls/">Re-Save permalink</a> if you make changes in this option, please have a look here on how to do it', 'accelerated-mobile-pages' ),
|
749 |
),
|
750 |
array(
|
751 |
'id' => 'ampforwp-homepage-on-off-support',
|
752 |
'type' => 'switch',
|
753 |
'title' => __('Homepage', 'accelerated-mobile-pages'),
|
754 |
-
'subtitle' => __('Enable AMP Support on Homepage.', 'accelerated-mobile-pages'),
|
755 |
'default' => '1'
|
756 |
),
|
757 |
array(
|
@@ -759,7 +816,7 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
759 |
'type' => 'switch',
|
760 |
'title' => __('Custom Front Page', 'accelerated-mobile-pages'),
|
761 |
'default' => 0,
|
762 |
-
'subtitle' => __('Set Custom Front Page as Homepage', 'accelerated-mobile-pages'),
|
763 |
'true' => 'true',
|
764 |
'false' => 'false',
|
765 |
'required' => array('ampforwp-homepage-on-off-support','=','1'),
|
@@ -768,6 +825,7 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
768 |
array(
|
769 |
'id' => 'amp-frontpage-select-option-pages',
|
770 |
'type' => 'select',
|
|
|
771 |
'title' => __('Select Page as Front Page', 'accelerated-mobile-pages'),
|
772 |
'required' => array('amp-frontpage-select-option', '=' , '1'),
|
773 |
// Must provide key => value pairs for select options
|
@@ -781,24 +839,19 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
781 |
array(
|
782 |
'id' => 'ampforwp-title-on-front-page',
|
783 |
'type' => 'switch',
|
|
|
784 |
'url' => true,
|
785 |
'title' => __('Title on Static Front Page', 'accelerated-mobile-pages'),
|
786 |
-
'subtitle' => __('Enable/Disable display of title on the Static Front Page.', 'accelerated-mobile-pages'),
|
787 |
'default' => 0,
|
788 |
'required' => array('amp-frontpage-select-option', '=' , '1'),
|
789 |
),
|
790 |
-
|
791 |
-
'id' => 'ampforwp-blog-on-off-support',
|
792 |
-
'type' => 'switch',
|
793 |
-
'title' => __('Blog', 'accelerated-mobile-pages'),
|
794 |
-
'subtitle' => __('Enable AMP Support on Blog.', 'accelerated-mobile-pages'),
|
795 |
-
'default' => '1'
|
796 |
-
),
|
797 |
array(
|
798 |
'id' => 'ampforwp-archive-support',
|
799 |
'type' => 'switch',
|
800 |
'title' => __('Archives [Category & Tags]', 'accelerated-mobile-pages'),
|
801 |
-
'subtitle' => __('Enable AMP Support on Archives.', 'accelerated-mobile-pages'),
|
802 |
'default' => '0'
|
803 |
),
|
804 |
$amp_cpt_option,
|
@@ -806,15 +859,15 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
806 |
'id' => 'ampforwp-amp-convert-to-wp',
|
807 |
'type' => 'switch',
|
808 |
'title' => __('Convert AMP to WP theme (Beta)', 'accelerated-mobile-pages'),
|
809 |
-
'subtitle' => __('It makes your AMP & Non-AMP Same! (AMP will output AMP Compatible code, while WordPress will have the WP code but with the same design)', 'accelerated-mobile-pages'),
|
810 |
-
'default' =>
|
811 |
'required' => array('amp-design-selector', '=' , '4'),
|
812 |
),
|
813 |
array(
|
814 |
'id' => 'ampforwp-amp-takeover',
|
815 |
'type' => 'switch',
|
816 |
'title' => __('AMP Takeover (Beta)', 'accelerated-mobile-pages'),
|
817 |
-
'subtitle' => __('Make your non-amp to load the AMP (AMP & NON-AMP both will be AMP with same design)', 'accelerated-mobile-pages'),
|
818 |
'default' => '0'
|
819 |
),
|
820 |
|
@@ -822,7 +875,7 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
822 |
// 'id' => 'amp-ad-places',
|
823 |
// 'type' => 'select',
|
824 |
// 'title' => __( 'Ads on Page', 'accelerated-mobile-pages' ),
|
825 |
-
// 'subtitle' => __( 'select your preferece for Ads on Post Types', 'accelerated-mobile-pages' ),
|
826 |
// 'options' => array(
|
827 |
// '1' => __('Only on Posts', 'accelerated-mobile-pages' ),
|
828 |
// '2' => __('Only on Pages', 'accelerated-mobile-pages' ),
|
@@ -853,7 +906,7 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
853 |
line-height: 1.6;
|
854 |
position: absolute;
|
855 |
left: 0px;
|
856 |
-
top:
|
857 |
font-size: 15px;"><b>Introducing AMP Page Builder 3.0</b>, Re-Engineered in Vue.js! <br /> <a href="https://ampforwp.com/tutorials/article/amp-page-builder-installation/" target="_blank">Learn how to use this Feature</a></div>
|
858 |
|
859 |
<iframe style="position: absolute;left: 0px;margin-top: 67px;" width="600" height="400" src="https://www.youtube.com/embed/QTbkn2rHyqM" frameborder="0" allowfullscreen></iframe>
|
@@ -880,42 +933,26 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
880 |
'id' => 'amp-ads',
|
881 |
'subsection' => true,
|
882 |
'fields' => array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
883 |
// Ad 1 Starts
|
884 |
-
array(
|
885 |
-
'id' =>'ampforwp-ads-data-loading-strategy',
|
886 |
-
'type' => 'switch',
|
887 |
-
'title' => __('Optimize For Viewability', 'accelerated-mobile-pages'),
|
888 |
-
'default' => 0,
|
889 |
-
'subtitle' => __('This will increase the loading speed of the Ads', 'accelerated-mobile-pages'),
|
890 |
-
'true' => 'Enabled',
|
891 |
-
'false' => 'Disabled',
|
892 |
-
),
|
893 |
-
array(
|
894 |
-
'id' =>'ampforwp-ads-sponsorship',
|
895 |
-
'type' => 'switch',
|
896 |
-
'title' => __('Sponsorship Label', 'accelerated-mobile-pages'),
|
897 |
-
'default' => 0,
|
898 |
-
'true' => 'Enabled',
|
899 |
-
'false' => 'Disabled',
|
900 |
-
),
|
901 |
-
array(
|
902 |
-
'id' =>'ampforwp-ads-sponsorship-label',
|
903 |
-
'type' => 'text',
|
904 |
-
'required' => array('ampforwp-ads-sponsorship', '=' , '1'),
|
905 |
-
'title' => __('Sponsorship Label Text', 'accelerated-mobile-pages'),
|
906 |
-
'default' => '',
|
907 |
-
'placeholder'=> 'Sponsored'
|
908 |
-
),
|
909 |
array(
|
910 |
'id' =>'enable-amp-ads-1',
|
911 |
'type' => 'switch',
|
912 |
'title' => __('AD #1', 'accelerated-mobile-pages'),
|
913 |
'default' => 0,
|
914 |
-
'
|
915 |
'true' => 'Enabled',
|
916 |
'false' => 'Disabled',
|
917 |
),
|
918 |
array(
|
|
|
919 |
'id' => 'enable-amp-ads-select-1',
|
920 |
'type' => 'select',
|
921 |
'title' => __('AD Size', 'accelerated-mobile-pages'),
|
@@ -932,24 +969,27 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
932 |
'default' => '2',
|
933 |
),
|
934 |
array(
|
|
|
935 |
'id' =>'enable-amp-ads-text-feild-client-1',
|
936 |
'type' => 'text',
|
937 |
'required' => array('enable-amp-ads-1', '=' , '1'),
|
938 |
'title' => __('Data AD Client', 'accelerated-mobile-pages'),
|
939 |
-
'subtitle' => __('Enter the Data Ad Client (data-ad-client) from the adsense ad code.', 'accelerated-mobile-pages'),
|
940 |
'default' => '',
|
941 |
'placeholder'=> 'ca-pub-2005XXXXXXXXX342'
|
942 |
),
|
943 |
array(
|
|
|
944 |
'id' => 'enable-amp-ads-text-feild-slot-1',
|
945 |
'type' => 'text',
|
946 |
'title' => __('Data AD Slot', 'accelerated-mobile-pages'),
|
947 |
-
'subtitle' => __('Enter the Data Ad Slot (data-ad-slot) from the adsense ad code.', 'accelerated-mobile-pages'),
|
948 |
'default' => '',
|
949 |
'required' => array('enable-amp-ads-1', '=' , '1'),
|
950 |
'placeholder'=> '70XXXXXX12'
|
951 |
),
|
952 |
array(
|
|
|
953 |
'id' =>'enable-amp-ads-resp-1',
|
954 |
'type' => 'switch',
|
955 |
'title' => __('Responsive Ad unit', 'accelerated-mobile-pages'),
|
@@ -964,11 +1004,12 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
964 |
'type' => 'switch',
|
965 |
'title' => __('AD #2', 'accelerated-mobile-pages'),
|
966 |
'default' => 0,
|
967 |
-
'
|
968 |
'true' => 'Enabled',
|
969 |
'false' => 'Disabled',
|
970 |
),
|
971 |
array(
|
|
|
972 |
'id' => 'enable-amp-ads-select-2',
|
973 |
'type' => 'select',
|
974 |
'title' => __('AD Size', 'accelerated-mobile-pages'),
|
@@ -986,24 +1027,27 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
986 |
'default' => '2',
|
987 |
),
|
988 |
array(
|
|
|
989 |
'id' =>'enable-amp-ads-text-feild-client-2',
|
990 |
'type' => 'text',
|
991 |
'required' => array('enable-amp-ads-2', '=' , '1'),
|
992 |
'title' => __('Data AD Client', 'accelerated-mobile-pages'),
|
993 |
-
'subtitle' => __('Enter the Data Ad Client (data-ad-client) from the adsense ad code.', 'accelerated-mobile-pages'),
|
994 |
'default' => '',
|
995 |
'placeholder'=> 'ca-pub-2005XXXXXXXXX342'
|
996 |
),
|
997 |
array(
|
|
|
998 |
'id' => 'enable-amp-ads-text-feild-slot-2',
|
999 |
'type' => 'text',
|
1000 |
'title' => __('Data AD Slot', 'accelerated-mobile-pages'),
|
1001 |
-
'subtitle' => __('Enter the Data Ad Slot (data-ad-slot) from the adsense ad code.', 'accelerated-mobile-pages'),
|
1002 |
'default' => '',
|
1003 |
'required' => array('enable-amp-ads-2', '=' , '1'),
|
1004 |
'placeholder'=> '70XXXXXX12'
|
1005 |
),
|
1006 |
array(
|
|
|
1007 |
'id' =>'enable-amp-ads-resp-2',
|
1008 |
'type' => 'switch',
|
1009 |
'title' => __('Responsive Ad unit', 'accelerated-mobile-pages'),
|
@@ -1018,11 +1062,12 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1018 |
'type' => 'switch',
|
1019 |
'title' => __('AD #3', 'accelerated-mobile-pages'),
|
1020 |
'default' => 0,
|
1021 |
-
'
|
1022 |
'true' => 'Enabled',
|
1023 |
'false' => 'Disabled',
|
1024 |
),
|
1025 |
array(
|
|
|
1026 |
'id' => 'enable-amp-ads-select-3',
|
1027 |
'type' => 'select',
|
1028 |
'title' => __('AD Size', 'accelerated-mobile-pages'),
|
@@ -1040,24 +1085,27 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1040 |
'default' => '2',
|
1041 |
),
|
1042 |
array(
|
|
|
1043 |
'id' =>'enable-amp-ads-text-feild-client-3',
|
1044 |
'type' => 'text',
|
1045 |
'required' => array('enable-amp-ads-3', '=' , '1'),
|
1046 |
'title' => __('Data AD Client', 'accelerated-mobile-pages'),
|
1047 |
-
'subtitle' => __('Enter the Data Ad Client (data-ad-client) from the adsense ad code.', 'accelerated-mobile-pages'),
|
1048 |
'default' => '',
|
1049 |
'placeholder'=> 'ca-pub-2005XXXXXXXXX342'
|
1050 |
),
|
1051 |
array(
|
|
|
1052 |
'id' => 'enable-amp-ads-text-feild-slot-3',
|
1053 |
'type' => 'text',
|
1054 |
'title' => __('Data AD Slot', 'accelerated-mobile-pages'),
|
1055 |
-
'subtitle' => __('Enter the Data Ad Slot (data-ad-slot) from the adsense ad code.', 'accelerated-mobile-pages'),
|
1056 |
'default' => '',
|
1057 |
'required' => array('enable-amp-ads-3', '=' , '1'),
|
1058 |
'placeholder'=> '70XXXXXX12'
|
1059 |
),
|
1060 |
array(
|
|
|
1061 |
'id' =>'enable-amp-ads-resp-3',
|
1062 |
'type' => 'switch',
|
1063 |
'title' => __('Responsive Ad unit', 'accelerated-mobile-pages'),
|
@@ -1072,11 +1120,12 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1072 |
'type' => 'switch',
|
1073 |
'title' => __('AD #4', 'accelerated-mobile-pages'),
|
1074 |
'default' => 0,
|
1075 |
-
'
|
1076 |
'true' => 'Enabled',
|
1077 |
'false' => 'Disabled',
|
1078 |
),
|
1079 |
array(
|
|
|
1080 |
'id' => 'enable-amp-ads-select-4',
|
1081 |
'type' => 'select',
|
1082 |
'title' => __('AD Size', 'accelerated-mobile-pages'),
|
@@ -1094,24 +1143,27 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1094 |
'default' => '2',
|
1095 |
),
|
1096 |
array(
|
|
|
1097 |
'id' =>'enable-amp-ads-text-feild-client-4',
|
1098 |
'type' => 'text',
|
1099 |
'required' => array('enable-amp-ads-4', '=' , '1'),
|
1100 |
'title' => __('Data AD Client', 'accelerated-mobile-pages'),
|
1101 |
-
'subtitle' => __('Enter the Data Ad Client (data-ad-client) from the adsense ad code.', 'accelerated-mobile-pages'),
|
1102 |
'default' => '',
|
1103 |
'placeholder'=> 'ca-pub-2005XXXXXXXXX342'
|
1104 |
),
|
1105 |
array(
|
|
|
1106 |
'id' => 'enable-amp-ads-text-feild-slot-4',
|
1107 |
'type' => 'text',
|
1108 |
'title' => __('Data AD Slot', 'accelerated-mobile-pages'),
|
1109 |
-
'subtitle' => __('Enter the Data Ad Slot (data-ad-slot) from the adsense ad code. ', 'accelerated-mobile-pages'),
|
1110 |
'default' => '',
|
1111 |
'required' => array('enable-amp-ads-4', '=' , '1'),
|
1112 |
'placeholder'=> '70XXXXXX12'
|
1113 |
),
|
1114 |
array(
|
|
|
1115 |
'id' =>'enable-amp-ads-resp-4',
|
1116 |
'type' => 'switch',
|
1117 |
'title' => __('Responsive Ad unit', 'accelerated-mobile-pages'),
|
@@ -1126,11 +1178,12 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1126 |
'type' => 'switch',
|
1127 |
'title' => __('AD #5', 'accelerated-mobile-pages'),
|
1128 |
'default' => 0,
|
1129 |
-
'
|
1130 |
'true' => 'Enabled',
|
1131 |
'false' => 'Disabled',
|
1132 |
),
|
1133 |
array(
|
|
|
1134 |
'id' => 'enable-amp-ads-select-5',
|
1135 |
'type' => 'select',
|
1136 |
'title' => __('AD Size', 'accelerated-mobile-pages'),
|
@@ -1148,24 +1201,27 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1148 |
'default' => '2',
|
1149 |
),
|
1150 |
array(
|
|
|
1151 |
'id' =>'enable-amp-ads-text-feild-client-5',
|
1152 |
'type' => 'text',
|
1153 |
'required' => array('enable-amp-ads-5', '=' , '1'),
|
1154 |
'title' => __('Data AD Client', 'accelerated-mobile-pages'),
|
1155 |
-
'subtitle' => __('Enter the Data Ad Client (data-ad-client) from the adsense ad code.', 'accelerated-mobile-pages'),
|
1156 |
'default' => '',
|
1157 |
'placeholder'=> 'ca-pub-2005XXXXXXXXX342'
|
1158 |
),
|
1159 |
array(
|
|
|
1160 |
'id' => 'enable-amp-ads-text-feild-slot-5',
|
1161 |
'type' => 'text',
|
1162 |
'title' => __('Data AD Slot', 'accelerated-mobile-pages'),
|
1163 |
-
'subtitle' => __('Enter the Data Ad Slot (data-ad-slot) from the adsense ad code. ', 'accelerated-mobile-pages'),
|
1164 |
'default' => '',
|
1165 |
'required' => array('enable-amp-ads-5', '=' , '1'),
|
1166 |
'placeholder'=> '70XXXXXX12'
|
1167 |
),
|
1168 |
array(
|
|
|
1169 |
'id' =>'enable-amp-ads-resp-5',
|
1170 |
'type' => 'switch',
|
1171 |
'title' => __('Responsive Ad unit', 'accelerated-mobile-pages'),
|
@@ -1179,11 +1235,12 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1179 |
'type' => 'switch',
|
1180 |
'title' => __('AD #6', 'accelerated-mobile-pages'),
|
1181 |
'default' => 0,
|
1182 |
-
'
|
1183 |
'true' => 'Enabled',
|
1184 |
'false' => 'Disabled',
|
1185 |
),
|
1186 |
array(
|
|
|
1187 |
'id' => 'enable-amp-ads-select-6',
|
1188 |
'type' => 'select',
|
1189 |
'title' => __('AD Size', 'accelerated-mobile-pages'),
|
@@ -1201,24 +1258,27 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1201 |
'default' => '2',
|
1202 |
),
|
1203 |
array(
|
|
|
1204 |
'id' =>'enable-amp-ads-text-feild-client-6',
|
1205 |
'type' => 'text',
|
1206 |
'required' => array('enable-amp-ads-6', '=' , '1'),
|
1207 |
'title' => __('Data AD Client', 'accelerated-mobile-pages'),
|
1208 |
-
'subtitle' => __('Enter the Data Ad Client (data-ad-client) from the adsense ad code.', 'accelerated-mobile-pages'),
|
1209 |
'default' => '',
|
1210 |
'placeholder'=> 'ca-pub-2005XXXXXXXXX342'
|
1211 |
),
|
1212 |
array(
|
|
|
1213 |
'id' => 'enable-amp-ads-text-feild-slot-6',
|
1214 |
'type' => 'text',
|
1215 |
'title' => __('Data AD Slot', 'accelerated-mobile-pages'),
|
1216 |
-
'subtitle' => __('Enter the Data Ad Slot (data-ad-slot) from the adsense ad code. ', 'accelerated-mobile-pages'),
|
1217 |
'default' => '',
|
1218 |
'required' => array('enable-amp-ads-6', '=' , '1'),
|
1219 |
'placeholder'=> '70XXXXXX12'
|
1220 |
),
|
1221 |
array(
|
|
|
1222 |
'id' =>'enable-amp-ads-resp-6',
|
1223 |
'type' => 'switch',
|
1224 |
'title' => __('Responsive Ad unit', 'accelerated-mobile-pages'),
|
@@ -1226,6 +1286,58 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1226 |
'required' => array('enable-amp-ads-6', '=' , '1'),
|
1227 |
),
|
1228 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1229 |
),
|
1230 |
) );
|
1231 |
|
@@ -1253,21 +1365,22 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1253 |
'type' => 'section',
|
1254 |
'title' => __('General', 'accelerated-mobile-pages'),
|
1255 |
'indent' => true,
|
|
|
|
|
1256 |
),
|
1257 |
array(
|
1258 |
'id' => 'ampforwp-seo-meta-description',
|
1259 |
'type' => 'switch',
|
1260 |
'title' => __('Meta Description', 'accelerated-mobile-pages'),
|
1261 |
-
'subtitle' => __('The meta tag that displays in head', 'accelerated-mobile-pages'),
|
1262 |
'default' => 0
|
1263 |
),
|
1264 |
|
1265 |
array(
|
1266 |
'id' => 'ampforwp-seo-custom-additional-meta',
|
1267 |
'type' => 'textarea',
|
1268 |
-
'title' => __('
|
1269 |
-
'subtitle' => __('Adds additional Meta to the head section', 'accelerated-mobile-pages', 'accelerated-mobile-pages'),
|
1270 |
-
'desc' => __('Only link and meta tags allowed', 'accelerated-mobile-pages'),
|
1271 |
'placeholder' => __('<!-- Paste your Additional HTML , that goes between <head> </head> tags -->','accelerated-mobile-pages')
|
1272 |
),
|
1273 |
array(
|
@@ -1275,6 +1388,8 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1275 |
'type' => 'section',
|
1276 |
'title' => __('SEO Plugin Integration', 'accelerated-mobile-pages'),
|
1277 |
'indent' => true,
|
|
|
|
|
1278 |
),
|
1279 |
array(
|
1280 |
'id' => 'ampforwp-seo-selection',
|
@@ -1286,18 +1401,20 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1286 |
),
|
1287 |
'default' => ampforwp_seo_default(),
|
1288 |
),
|
1289 |
-
array(
|
|
|
1290 |
'id' => 'ampforwp-seo-yoast-meta',
|
1291 |
'type' => 'switch',
|
1292 |
-
'subtitle' => __('Adds Social and Open Graph Meta Tags from Yoast', 'accelerated-mobile-pages'),
|
1293 |
'title' => __( 'Meta Tags from Yoast', 'accelerated-mobile-pages' ),
|
1294 |
'default' => '1',
|
1295 |
'required' => array('ampforwp-seo-selection', '=' , '1'),
|
1296 |
),
|
1297 |
array(
|
|
|
1298 |
'id' => 'ampforwp-seo-yoast-description',
|
1299 |
'type' => 'switch',
|
1300 |
-
'subtitle' => __('Adds Yoast Custom description to ld+json for AMP page', 'accelerated-mobile-pages'),
|
1301 |
'title' => __( 'Yoast Description in ld+json', 'accelerated-mobile-pages' ),
|
1302 |
'default' => 0,
|
1303 |
'required' => array('ampforwp-seo-selection', '=' , '1'),
|
@@ -1312,14 +1429,16 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1312 |
array(
|
1313 |
'id' => 'ampforwp-seo-index-noindex-sub-section',
|
1314 |
'type' => 'section',
|
1315 |
-
'title' => __('Advanced
|
1316 |
-
'indent' => true
|
|
|
|
|
1317 |
),
|
1318 |
array(
|
1319 |
'id' => 'ampforwp-robots-archive-sub-pages-sitewide',
|
1320 |
'type' => 'switch',
|
1321 |
'title' => __('Archive subpages (sitewide)', 'accelerated-mobile-pages'),
|
1322 |
-
'subtitle' => __("Such as /page/2 so on and so forth",'accelerated-mobile-pages'),
|
1323 |
'default' => 0,
|
1324 |
'on' => 'index',
|
1325 |
'off' => 'noindex'
|
@@ -1328,6 +1447,7 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1328 |
'id' => 'ampforwp-robots-archive-author-pages',
|
1329 |
'type' => 'switch',
|
1330 |
'title' => __('Author Archives', 'accelerated-mobile-pages'),
|
|
|
1331 |
'default' => 1,
|
1332 |
'on' => 'index',
|
1333 |
'off' => 'noindex'
|
@@ -1337,6 +1457,7 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1337 |
'id' => 'ampforwp-robots-archive-date-pages',
|
1338 |
'type' => 'switch',
|
1339 |
'title' => __('Date Archives', 'accelerated-mobile-pages'),
|
|
|
1340 |
'default' => 1,
|
1341 |
'on' => 'index',
|
1342 |
'off' => 'noindex'
|
@@ -1346,6 +1467,7 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1346 |
'id' => 'ampforwp-robots-archive-category-pages',
|
1347 |
'type' => 'switch',
|
1348 |
'title' => __('Categories', 'accelerated-mobile-pages'),
|
|
|
1349 |
'default' => 1,
|
1350 |
'on' => 'index',
|
1351 |
'off' => 'noindex'
|
@@ -1354,6 +1476,7 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1354 |
'id' => 'ampforwp-robots-archive-tag-pages',
|
1355 |
'type' => 'switch',
|
1356 |
'title' => __('Tags', 'accelerated-mobile-pages'),
|
|
|
1357 |
'default' => 1,
|
1358 |
'on' => 'index',
|
1359 |
'off' => 'noindex'
|
@@ -1373,12 +1496,20 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1373 |
'desc' => $cache_desc,
|
1374 |
'subsection' => true,
|
1375 |
'fields' => array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1376 |
|
1377 |
array(
|
1378 |
'id' => 'ampforwp_cache_minimize_mode',
|
1379 |
'type' => 'switch',
|
1380 |
-
'title' => __('Minify
|
1381 |
-
'subtitle' => __('Improve the Page Speed and Loading time with Minification option', 'accelerated-mobile-pages'),
|
1382 |
'default' => 0
|
1383 |
),
|
1384 |
|
@@ -1403,7 +1534,6 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1403 |
Redux::setSection( $opt_name, array(
|
1404 |
'title' => __('Analytics'),
|
1405 |
// 'icon' => 'el el-th-large',
|
1406 |
-
'desc' => __('You can either use Google Tag Manager or Other Analytics Providers','accelerated-mobile-pages'),
|
1407 |
'subsection' => true,
|
1408 |
'fields' =>
|
1409 |
array(
|
@@ -1412,7 +1542,7 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1412 |
'type' => 'select',
|
1413 |
'title' => __( 'Analytics Type', 'accelerated-mobile-pages' ),
|
1414 |
'class' => 'hide',
|
1415 |
-
'subtitle' => __( 'Select your Analytics provider.', 'accelerated-mobile-pages' ),
|
1416 |
'options' => array(
|
1417 |
'1' => __('Google Analytics', 'accelerated-mobile-pages' ),
|
1418 |
'2' => __('Segment Analytics', 'accelerated-mobile-pages' ),
|
@@ -1432,7 +1562,16 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1432 |
),
|
1433 |
'default' => '1',
|
1434 |
),
|
1435 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1436 |
array(
|
1437 |
'id' => 'ampforwp-ga-switch',
|
1438 |
'type' => 'switch',
|
@@ -1443,21 +1582,22 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1443 |
),
|
1444 |
),
|
1445 |
array(
|
|
|
1446 |
'id' => 'ga-feild',
|
1447 |
'type' => 'text',
|
1448 |
-
'title' => __( '
|
1449 |
'required' => array(
|
1450 |
array('amp-use-gtm-option', '=' , '0'),
|
1451 |
array('ampforwp-ga-switch', '=' , '1'),
|
1452 |
array('ampforwp-ga-field-advance-switch', '=' , '0')
|
1453 |
),
|
1454 |
-
'subtitle' => __( 'Enter your Google Analytics ID.', 'accelerated-mobile-pages' ),
|
1455 |
-
'desc' => __('Example: UA-XXXXX-Y', 'accelerated-mobile-pages' ),
|
1456 |
'default' => 'UA-XXXXX-Y',
|
1457 |
),
|
1458 |
|
1459 |
// Advance Tracking options for Google Analytics
|
1460 |
array(
|
|
|
1461 |
'id' => 'ampforwp-ga-field-advance-switch',
|
1462 |
'type' => 'switch',
|
1463 |
'title' => __( 'Advanced Google Analytics', 'accelerated-mobile-pages' ),
|
@@ -1468,10 +1608,11 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1468 |
'default' => 0,
|
1469 |
),
|
1470 |
array(
|
|
|
1471 |
'id' => 'ampforwp-ga-field-advance',
|
1472 |
'type' => 'ace_editor',
|
1473 |
'title' => __('Analytics Code in JSON Format', 'accelerated-mobile-pages'),
|
1474 |
-
'subtitle' => __('Tutorial: <a href="https://ampforwp.com/tutorials/article/add-advanced-google-analytics-amp/" target="_blank">How To Add Advanced Google Analytics in AMP?</a>', 'accelerated-mobile-pages'),
|
1475 |
'required' => array(
|
1476 |
array('amp-use-gtm-option', '=' , '0'),
|
1477 |
array('ampforwp-ga-switch', '=' , '1'),
|
@@ -1496,7 +1637,91 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1496 |
}
|
1497 |
}','accelerated-mobile-pages')
|
1498 |
),
|
1499 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1500 |
array(
|
1501 |
'id' => 'ampforwp-Segment-switch',
|
1502 |
'type' => 'switch',
|
@@ -1510,7 +1735,7 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1510 |
'id' => 'sa-feild',
|
1511 |
'type' => 'text',
|
1512 |
'title' => __( 'Segment Analytics', 'accelerated-mobile-pages' ),
|
1513 |
-
'subtitle' => __( 'Enter your Segment Analytics Key.', 'accelerated-mobile-pages' ),
|
1514 |
'required' => array(
|
1515 |
array('amp-use-gtm-option', '=' , '0'),
|
1516 |
array('ampforwp-Segment-switch', '=' , '1')
|
@@ -1536,7 +1761,7 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1536 |
array('ampforwp-Piwik-switch', '=' , '1')
|
1537 |
),
|
1538 |
'desc' => __( 'Example: https://piwik.example.org/piwik.php?idsite=YOUR_SITE_ID&rec=1&action_name=TITLE&urlref=DOCUMENT_REFERRER&url=CANONICAL_URL&rand=RANDOM', 'accelerated-mobile-pages' ),
|
1539 |
-
'subtitle' => __('Enter your Piwik Analytics URL.', 'accelerated-mobile-pages' ),
|
1540 |
'default' => '#',
|
1541 |
),
|
1542 |
// Quantcast
|
@@ -1602,7 +1827,7 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1602 |
array('ampforwp-Effective-switch', '=' , '1')
|
1603 |
),
|
1604 |
'desc' => __( 'Example: https://s.effectivemeasure.net/d/6/i?pu=CANONICAL_URL&ru=DOCUMENT_REFERRER&rnd=RANDOM', 'accelerated-mobile-pages' ),
|
1605 |
-
'subtitle' => __('Enter your Effective Measure URL.', 'accelerated-mobile-pages' ),
|
1606 |
'default' => '#',
|
1607 |
),
|
1608 |
// StatCounter
|
@@ -1624,7 +1849,7 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1624 |
array('ampforwp-StatCounter-switch', '=' , '1')
|
1625 |
),
|
1626 |
'desc' => __( 'Example: https://c.statcounter.com/PROJECT_ID/0/SECURITY_CODE/1/', 'accelerated-mobile-pages' ),
|
1627 |
-
'subtitle' => __('Enter your StatCounter URL.', 'accelerated-mobile-pages' ),
|
1628 |
'default' => '#',
|
1629 |
),
|
1630 |
// Histats Analytics
|
@@ -1645,7 +1870,7 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1645 |
array('amp-use-gtm-option', '=' , '0'),
|
1646 |
array('ampforwp-Histats-switch', '=' , '1')
|
1647 |
),
|
1648 |
-
'subtitle' => __( 'Enter your Histats Analytics ID.', 'accelerated-mobile-pages' ),
|
1649 |
'desc' => 'Tutorial: <a href="https://ampforwp.com/tutorials/how-to-get-histats-analytics-id/">How to get Histats Analytics ID for AMP?</a>',
|
1650 |
'default' => '',
|
1651 |
),
|
@@ -1667,7 +1892,7 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1667 |
'required' => array(
|
1668 |
array('amp-use-gtm-option', '=' , '0'),
|
1669 |
array('ampforwp-Yandex-switch', '=' , '1')),
|
1670 |
-
'subtitle' => __( 'Enter your Counter ID.', 'accelerated-mobile-pages' ),
|
1671 |
),
|
1672 |
// Chartbeat Analytics
|
1673 |
array(
|
@@ -1688,7 +1913,7 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1688 |
'required' => array(
|
1689 |
array('amp-use-gtm-option', '=' , '0'),
|
1690 |
array('ampforwp-Chartbeat-switch', '=' , '1')),
|
1691 |
-
'subtitle' => __( 'Enter your Account ID.', 'accelerated-mobile-pages' ),
|
1692 |
),
|
1693 |
// Alexa Metrics
|
1694 |
array(
|
@@ -1708,7 +1933,7 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1708 |
array('amp-use-gtm-option', '=' , '0'),
|
1709 |
array('ampforwp-Alexa-switch', '=' , '1')
|
1710 |
),
|
1711 |
-
'subtitle' => __( 'Enter Account Number given by Alexa Metrics', 'accelerated-mobile-pages' ),
|
1712 |
'default' => '',
|
1713 |
),
|
1714 |
array(
|
@@ -1719,7 +1944,7 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1719 |
array('amp-use-gtm-option', '=' , '0'),
|
1720 |
array('ampforwp-Alexa-switch', '=' , '1')
|
1721 |
),
|
1722 |
-
'subtitle' => __( 'Enter the domain', 'accelerated-mobile-pages' ),
|
1723 |
'default' => '',
|
1724 |
),
|
1725 |
// AFS Analytics
|
@@ -1740,77 +1965,11 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1740 |
array('amp-use-gtm-option', '=' , '0'),
|
1741 |
array('ampforwp-afs-analytics-switch', '=' , '1')
|
1742 |
),
|
1743 |
-
'subtitle' => __( 'Enter the Website ID', 'accelerated-mobile-pages' ),
|
1744 |
'default' => '',
|
1745 |
'desc' => 'example: 00000003',
|
1746 |
),
|
1747 |
|
1748 |
-
//GTM
|
1749 |
-
array(
|
1750 |
-
'id' => 'amp-use-gtm-option',
|
1751 |
-
'type' => 'switch',
|
1752 |
-
'title' => __( 'Google Tag Manager', 'accelerated-mobile-pages' ),
|
1753 |
-
'subtitle' => __( 'Select your Analytics provider.', 'accelerated-mobile-pages' ),
|
1754 |
-
'default' => 0,
|
1755 |
-
),
|
1756 |
-
array(
|
1757 |
-
'id' =>'amp-gtm-id',
|
1758 |
-
'type' => 'text',
|
1759 |
-
'title' => __('Tag Manager ID (Container ID)','accelerated-mobile-pages'),
|
1760 |
-
'default' => '',
|
1761 |
-
'desc' => __('Eg: GTM-5XXXXXP (<a href="https://ampforwp.com/tutorials/article/gtm-in-amp/">Getting Started?</a>)','accelerated-mobile-pages'),
|
1762 |
-
// 'validate' => 'not_empty',
|
1763 |
-
'required' => array(
|
1764 |
-
array('amp-use-gtm-option', '=' , '1')
|
1765 |
-
),
|
1766 |
-
),
|
1767 |
-
array(
|
1768 |
-
'id' =>'amp-gtm-analytics-type',
|
1769 |
-
'type' => 'text',
|
1770 |
-
'title' => __('Analytics Type','accelerated-mobile-pages'),
|
1771 |
-
'default' => '',
|
1772 |
-
'desc' => __('Eg: googleanalytics','accelerated-mobile-pages'),
|
1773 |
-
// 'validate' => 'not_empty',
|
1774 |
-
'required' => array(
|
1775 |
-
array('amp-use-gtm-option', '=' , '1')
|
1776 |
-
),
|
1777 |
-
),
|
1778 |
-
array(
|
1779 |
-
'id' =>'amp-gtm-analytics-code',
|
1780 |
-
'type' => 'text',
|
1781 |
-
'title' => __('Analytics ID','accelerated-mobile-pages'),
|
1782 |
-
'default' => '',
|
1783 |
-
'desc' => 'Eg: UA-XXXXXX-Y',
|
1784 |
-
// 'validate' => 'not_empty',
|
1785 |
-
'required' => array(
|
1786 |
-
array('amp-use-gtm-option', '=' , '1')),
|
1787 |
-
),
|
1788 |
-
// Google Cliend ID API
|
1789 |
-
array(
|
1790 |
-
'id' => 'ampforwp-ga-clientid-api-gtm',
|
1791 |
-
'type' => 'info',
|
1792 |
-
'style' => 'info',
|
1793 |
-
'desc' => '<a href="https://ampforwp.com/tutorials/article/set-google-amp-client-id-api/" target="_blank">Check this Tutorial to set it up</a>',
|
1794 |
-
'title' => __('Set up Google AMP Client ID API', 'accelerated-mobile-pages'),
|
1795 |
-
'required' => array(
|
1796 |
-
array('amp-use-gtm-option', '=' , '1'),
|
1797 |
-
),
|
1798 |
-
),
|
1799 |
-
array(
|
1800 |
-
'id' =>'amp-fb-pixel',
|
1801 |
-
'type' => 'switch',
|
1802 |
-
'title' => __('Facebook Pixel','accelerated-mobile-pages'),
|
1803 |
-
'default' => 0,
|
1804 |
-
),
|
1805 |
-
array(
|
1806 |
-
'id' =>'amp-fb-pixel-id',
|
1807 |
-
'type' => 'text',
|
1808 |
-
'title' => __('Facebook Pixel ID','accelerated-mobile-pages'),
|
1809 |
-
'default' => '',
|
1810 |
-
'desc' => 'Example: 153246987501548',
|
1811 |
-
'required' => array(
|
1812 |
-
array('amp-fb-pixel', '=' , '1')),
|
1813 |
-
),
|
1814 |
|
1815 |
)
|
1816 |
)
|
@@ -1832,6 +1991,7 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1832 |
}
|
1833 |
}
|
1834 |
|
|
|
1835 |
add_filter('ampforwp_sd_custom_fields', 'ampforwp_add_extra_fields');
|
1836 |
function ampforwp_add_extra_fields($fields){
|
1837 |
$post_types = '';
|
@@ -1847,7 +2007,7 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1847 |
'id' => 'ampforwp-sd-type-'. $post_type,
|
1848 |
'type' => 'select',
|
1849 |
'title' => __($post_type, 'accelerated-mobile-pages'),
|
1850 |
-
'subtitle' => __('Select the Structured Data Type for '.$post_type, 'accelerated-mobile-pages'),
|
1851 |
'options' => ampforwp_get_sd_types(),
|
1852 |
'default' => 'BlogPosting',
|
1853 |
);
|
@@ -1856,94 +2016,127 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1856 |
}
|
1857 |
array_splice($fields, 2, 0, $extra_fields);
|
1858 |
return $fields;
|
1859 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1860 |
}
|
1861 |
-
|
|
|
1862 |
Redux::setSection( $opt_name, array(
|
1863 |
'title' => __( 'Structured Data', 'accelerated-mobile-pages' ),
|
1864 |
'id' => 'opt-structured-data',
|
1865 |
'subsection' => true,
|
1866 |
-
'fields' => apply_filters('ampforwp_sd_custom_fields', $fields = array(
|
1867 |
-
|
1868 |
-
'id' => 'ampforwp-sd-type-posts',
|
1869 |
-
'type' => 'select',
|
1870 |
-
'title' => __('Posts', 'accelerated-mobile-pages'),
|
1871 |
-
'subtitle' => __('Select the Structured Data Type for Posts', 'accelerated-mobile-pages'),
|
1872 |
-
'options' => ampforwp_get_sd_types(),
|
1873 |
-
'default' => 'BlogPosting',
|
1874 |
-
),
|
1875 |
-
array(
|
1876 |
-
'id' => 'ampforwp-sd-type-pages',
|
1877 |
-
'type' => 'select',
|
1878 |
-
'title' => __('Pages', 'accelerated-mobile-pages'),
|
1879 |
-
'subtitle' => __('Select the Structured Data Type for Pages', 'accelerated-mobile-pages'),
|
1880 |
-
'options' => ampforwp_get_sd_types(),
|
1881 |
-
'default' => 'BlogPosting',
|
1882 |
-
),
|
1883 |
-
array(
|
1884 |
-
'id' => 'amp-structured-data-logo',
|
1885 |
-
'type' => 'media',
|
1886 |
-
'url' => true,
|
1887 |
-
'title' => __('Default Structured Data Logo', 'accelerated-mobile-pages'),
|
1888 |
-
'subtitle' => __('Upload the logo you want to show in Google Structured Data. ', 'accelerated-mobile-pages'),
|
1889 |
-
),
|
1890 |
-
array(
|
1891 |
-
'id' => 'ampforwp-sd-logo-dimensions',
|
1892 |
-
'title' => __('Custom Logo Size', 'accelerated-mobile-pages'),
|
1893 |
-
'type' => 'switch',
|
1894 |
-
'default' => 0,
|
1895 |
-
),
|
1896 |
-
array(
|
1897 |
-
'id' => 'ampforwp-sd-logo-width',
|
1898 |
-
'type' => 'text',
|
1899 |
-
'title' => __('Logo Width', 'accelerated-mobile-pages'),
|
1900 |
-
'desc' => __('Default width is 600 pixels', 'accelerated-mobile-pages'),
|
1901 |
-
'default' => '600',
|
1902 |
-
'required'=>array('ampforwp-sd-logo-dimensions','=','1'),
|
1903 |
-
),
|
1904 |
-
array(
|
1905 |
-
'id' => 'ampforwp-sd-logo-height',
|
1906 |
-
'type' => 'text',
|
1907 |
-
'title' => __('Logo Height', 'accelerated-mobile-pages'),
|
1908 |
-
'desc' => __('Default height is 60 pixels', 'accelerated-mobile-pages'),
|
1909 |
-
'default' => '60',
|
1910 |
-
'required'=>array('ampforwp-sd-logo-dimensions','=','1'),
|
1911 |
-
|
1912 |
-
),
|
1913 |
-
array(
|
1914 |
-
'id' => 'amp-structured-data-placeholder-image',
|
1915 |
-
'type' => 'media',
|
1916 |
-
'url' => true,
|
1917 |
-
'title' => __('Default Post Image', 'accelerated-mobile-pages'),
|
1918 |
-
'subtitle' => __('Upload the Image you want to show as Placeholder Image.', 'accelerated-mobile-pages'),
|
1919 |
-
'placeholder' => __('when there is no featured image set in the post','accelerated-mobile-pages'),
|
1920 |
-
),
|
1921 |
-
array(
|
1922 |
-
'id' => 'amp-structured-data-placeholder-image-width',
|
1923 |
-
'title' => __('Default Post Image Width', 'accelerated-mobile-pages'),
|
1924 |
-
'type' => 'text',
|
1925 |
-
'placeholder' => '550',
|
1926 |
-
'subtitle' => __('Please don\'t add "PX" in the image size.','accelerated-mobile-pages'),
|
1927 |
-
'default' => '700'
|
1928 |
-
),
|
1929 |
-
array(
|
1930 |
-
'id' => 'amp-structured-data-placeholder-image-height',
|
1931 |
-
'title' => __('Default Post Image Height', 'accelerated-mobile-pages'),
|
1932 |
-
'type' => 'text',
|
1933 |
-
'placeholder' => '350',
|
1934 |
-
'subtitle' => __('Please don\'t add "PX" in the image size.','accelerated-mobile-pages'),
|
1935 |
-
'default' => '550'
|
1936 |
-
),
|
1937 |
-
array(
|
1938 |
-
'id' => 'amporwp-structured-data-video-thumb-url',
|
1939 |
-
'type' => 'media',
|
1940 |
-
'url' => true,
|
1941 |
-
'title' => __('Default Thumbnail for VideoObject', 'accelerated-mobile-pages'),
|
1942 |
-
'subtitle' => __('Upload the Thumbnail you want to show as Video Thumbnail.', 'accelerated-mobile-pages'),
|
1943 |
-
'placeholder' => __('When there is no thumbnail set for the video','accelerated-mobile-pages'),
|
1944 |
-
),
|
1945 |
-
)
|
1946 |
-
)
|
1947 |
) );
|
1948 |
|
1949 |
// Notifications SECTION
|
@@ -1953,32 +2146,102 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1953 |
'id' => 'amp-notifications',
|
1954 |
'subsection' => true,
|
1955 |
'fields' => array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1956 |
array(
|
1957 |
'id' =>'amp-enable-notifications',
|
1958 |
'type' => 'switch',
|
1959 |
-
'title' => __('
|
1960 |
'default' => '',
|
1961 |
-
'subtitle' => __('Show notifications on all of your AMP pages for cookie purposes, or anything else.', 'accelerated-mobile-pages'),
|
1962 |
'true' => 'Enabled',
|
1963 |
'false' => 'Disabled',
|
1964 |
),
|
1965 |
array(
|
|
|
1966 |
'id' => 'amp-notification-text',
|
1967 |
-
'title' => __('
|
1968 |
'type' => 'text',
|
1969 |
'required' => array('amp-enable-notifications', '=' , '1'),
|
1970 |
'default' => __('This website uses cookies.','accelerated-mobile-pages'),
|
1971 |
'placeholder' => __('Enter Text here','accelerated-mobile-pages'),
|
1972 |
),
|
1973 |
array(
|
|
|
1974 |
'id' => 'amp-accept-button-text',
|
1975 |
-
'title' => __('
|
1976 |
'type' => 'text',
|
1977 |
'required' => array('amp-enable-notifications', '=' , '1'),
|
1978 |
'default' => __('Accept','accelerated-mobile-pages'),
|
1979 |
'placeholder' => __('Enter Text here','accelerated-mobile-pages'),
|
1980 |
),
|
1981 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1982 |
),
|
1983 |
|
1984 |
) );
|
@@ -1991,20 +2254,32 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
1991 |
'desc' => " ",
|
1992 |
'subsection' => true,
|
1993 |
'fields' => array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1994 |
array(
|
1995 |
'id' => 'ampforwp-web-push-onesignal',
|
1996 |
'type' => 'switch',
|
1997 |
-
'title' => 'OneSignal
|
1998 |
-
'subtitle' => '<a href="https://ampforwp.com/tutorials/one-signal-in-amp/" target="_blank">View Integration Tutorial</a> (HTTPS is required)',
|
1999 |
'true' => 'true',
|
2000 |
'false' => 'false',
|
2001 |
'default' => 0,
|
2002 |
),
|
2003 |
array(
|
|
|
|
|
|
|
2004 |
'id' => 'ampforwp-one-signal-app-id',
|
2005 |
'type' => 'text',
|
2006 |
'title' => 'APP ID',
|
2007 |
-
'
|
2008 |
),
|
2009 |
array(
|
2010 |
'id' => 'ampforwp-onesignal-positioning',
|
@@ -2015,6 +2290,8 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
2015 |
array( 'amp-use-pot', '=' , 0 )
|
2016 |
),
|
2017 |
'indent' => true,
|
|
|
|
|
2018 |
),
|
2019 |
array(
|
2020 |
'id' => 'ampforwp-web-push-onesignal-below-content',
|
@@ -2023,7 +2300,7 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
2023 |
'true' => 'true',
|
2024 |
'false' => 'false',
|
2025 |
'default' => 1,
|
2026 |
-
'subtitle' => 'Show Subscribe Button Below the Content',
|
2027 |
'required' => array('ampforwp-web-push-onesignal', '=' , '1'),
|
2028 |
),
|
2029 |
array(
|
@@ -2033,18 +2310,16 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
2033 |
'true' => 'true',
|
2034 |
'false' => 'false',
|
2035 |
'default' => 0,
|
2036 |
-
'subtitle' => 'Show Subscribe Button Above the Content',
|
2037 |
'required' => array('ampforwp-web-push-onesignal', '=' , '1'),
|
2038 |
),
|
2039 |
array(
|
2040 |
'id' => 'translation',
|
2041 |
'type' => 'section',
|
2042 |
'title' => __('Translation', 'accelerated-mobile-pages'),
|
2043 |
-
'required' => array(
|
2044 |
-
array( 'ampforwp-web-push-onesignal', '=' , 1 ),
|
2045 |
-
array( 'amp-use-pot', '=' , 0 )
|
2046 |
-
),
|
2047 |
'indent' => true,
|
|
|
|
|
2048 |
),
|
2049 |
array(
|
2050 |
'id' => 'ampforwp-onesignal-translator-subscribe',
|
@@ -2069,12 +2344,14 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
2069 |
array( 'amp-use-pot', '=' , 0 )
|
2070 |
),
|
2071 |
'indent' => true,
|
|
|
|
|
2072 |
),
|
2073 |
array(
|
2074 |
'id' => 'ampforwp-onesignal-http-site',
|
2075 |
'type' => 'switch',
|
2076 |
'title' => 'HTTP Site',
|
2077 |
-
'subtitle' => 'For HTTP Sites Only',
|
2078 |
'required' => array('ampforwp-web-push-onesignal', '=' , '1'),
|
2079 |
'true' => 'true',
|
2080 |
'false' => 'false',
|
@@ -2093,6 +2370,14 @@ Redux::setArgs( "redux_builder_amp", $args );
|
|
2093 |
)
|
2094 |
);
|
2095 |
// contact form 7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2096 |
$forms_support[] = array(
|
2097 |
'id' =>'amp-enable-contactform',
|
2098 |
'type' => 'switch',
|
@@ -2111,8 +2396,16 @@ $forms_support[] = array(
|
|
2111 |
'desc' => '<div style=" background: #FFF9C4;padding: 12px;line-height: 1.6;margin:-45px -14px -18px -17px;"><b>ONE LAST STEP REQUIRED:</b> This feature requires <a href="https://ampforwp.com/contact-form-7/#utm_source=options-panel&utm_medium=cf7-tab_cf7_installation_link&utm_campaign=AMP%20Plugin" target="_blank">Contact Form 7 extension</a>.<br /> <div style="margin-top:4px;">(<a href="https://ampforwp.com/contact-form-7/#utm_source=options-panel&utm_medium=cf7-tab_cf7_installation_link&utm_campaign=AMP%20Plugin" target="_blank">Click here for more info</a>)</div></div>',
|
2112 |
);
|
2113 |
}
|
2114 |
-
|
2115 |
-
$forms_support[]= array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2116 |
'id' =>'amp-enable-gravityforms_support',
|
2117 |
'type' => 'switch',
|
2118 |
'title' => __('Gravity Forms Support', 'accelerated-mobile-pages'),
|
@@ -2132,7 +2425,7 @@ $forms_support[]= array(
|
|
2132 |
// Contact Form SECTION
|
2133 |
Redux::setSection( $opt_name, array(
|
2134 |
'title' => __( 'Contact Form', 'accelerated-mobile-pages' ),
|
2135 |
-
'desc' => 'Contact forms will automatically be converted into AMP compatible.',
|
2136 |
'id' => 'amp-contact',
|
2137 |
'subsection' => true,
|
2138 |
'fields' => $forms_support
|
@@ -2146,17 +2439,25 @@ $forms_support[]= array(
|
|
2146 |
'id' => 'disqus-comments',
|
2147 |
'subsection' => true,
|
2148 |
'fields' => array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2149 |
array(
|
2150 |
-
|
2151 |
-
|
2152 |
-
|
2153 |
-
|
2154 |
-
|
2155 |
-
),
|
2156 |
array(
|
|
|
2157 |
'id' => 'ampforwp-number-of-comments',
|
2158 |
'type' => 'text',
|
2159 |
-
'subtitle' => __('This refers to the normal comments','accelerated-mobile-pages'),
|
2160 |
'title' => __('No of Comments', 'accelerated-mobile-pages'),
|
2161 |
'default' => 10,
|
2162 |
'required' => array('wordpress-comments-support' , '=' , 1
|
@@ -2165,33 +2466,36 @@ $forms_support[]= array(
|
|
2165 |
array(
|
2166 |
'id' => 'ampforwp-disqus-comments-support',
|
2167 |
'type' => 'switch',
|
2168 |
-
'title' => __('Disqus
|
2169 |
-
'subtitle' => __('Enable/Disable Disqus comments using this switch.', 'accelerated-mobile-pages'),
|
2170 |
'default' => 0
|
2171 |
),
|
2172 |
array(
|
|
|
2173 |
'id' => 'ampforwp-disqus-comments-name',
|
2174 |
'type' => 'text',
|
2175 |
'title' => __('Disqus Name', 'accelerated-mobile-pages'),
|
2176 |
-
'subtitle' => __('Eg: https://xyz.disqus.com', 'accelerated-mobile-pages'),
|
2177 |
'required' => array('ampforwp-disqus-comments-support', '=' , '1'),
|
2178 |
'default' => ''
|
2179 |
),
|
2180 |
|
2181 |
array(
|
|
|
2182 |
'id' => 'ampforwp-disqus-host-position',
|
2183 |
'type' => 'switch',
|
2184 |
-
'title' => __('Host
|
2185 |
-
'subtitle' => __('Use AMPforWP secure servers to serve Comments file. Recommended if your site is non HTTPS', 'accelerated-mobile-pages'),
|
2186 |
'default' => 1,
|
2187 |
'required' => array('ampforwp-disqus-comments-support', '=' , '1'),
|
2188 |
),
|
2189 |
|
2190 |
array(
|
|
|
2191 |
'id' => 'ampforwp-disqus-host-file',
|
2192 |
'type' => 'text',
|
2193 |
'title' => __('Disqus Host File', 'accelerated-mobile-pages'),
|
2194 |
-
'subtitle' => __('<a href="https://ampforwp.com/host-disqus-comments/"> Click here to know, How to Setup Disqus Host file on your servers </a>', 'accelerated-mobile-pages'),
|
2195 |
'placeholder' => 'https://comments.example.com/disqus.php',
|
2196 |
'required' => array('ampforwp-disqus-host-position', '=' , '0'),
|
2197 |
),
|
@@ -2205,7 +2509,8 @@ $forms_support[]= array(
|
|
2205 |
),
|
2206 |
'default' => 'responsive',
|
2207 |
'required'=>array('ampforwp-disqus-comments-support','=','1'),
|
2208 |
-
|
|
|
2209 |
array(
|
2210 |
'id' => 'ampforwp-disqus-height',
|
2211 |
'type' => 'text',
|
@@ -2218,13 +2523,14 @@ $forms_support[]= array(
|
|
2218 |
'id' => 'ampforwp-facebook-comments-support',
|
2219 |
'type' => 'switch',
|
2220 |
'title' => __('Facebook Comments', 'accelerated-mobile-pages'),
|
2221 |
-
'subtitle' => __('Enable/Disable Facebook comments using this switch.', 'accelerated-mobile-pages'),
|
2222 |
'default' => 0,
|
2223 |
),
|
2224 |
array(
|
|
|
2225 |
'id' => 'ampforwp-number-of-fb-no-of-comments',
|
2226 |
'type' => 'text',
|
2227 |
-
'subtitle' => __('Enter the number of comments','accelerated-mobile-pages'),
|
2228 |
'title' => __('No of Comments', 'accelerated-mobile-pages'),
|
2229 |
'default' => 10,
|
2230 |
'required' => array(
|
@@ -2254,10 +2560,18 @@ Redux::setSection( $opt_name, array(
|
|
2254 |
'id' => 'fb-instant-article',
|
2255 |
'subsection' => true,
|
2256 |
'fields' => array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2257 |
array(
|
2258 |
'id' =>'fb-instant-article-switch',
|
2259 |
'type' => 'switch',
|
2260 |
-
'title' => __('
|
2261 |
'default' => 0,
|
2262 |
'true' => 'true',
|
2263 |
'false' => 'false',
|
@@ -2271,11 +2585,23 @@ Redux::setSection( $opt_name, array(
|
|
2271 |
'title' => __('Facebook Instant Articles Feed URL', 'accelerated-mobile-pages'),
|
2272 |
'required' => array('fb-instant-article-switch', '=', 1)
|
2273 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2274 |
array(
|
2275 |
'id' => 'ampforwp-fb-instant-article-posts',
|
2276 |
'type' => 'text',
|
2277 |
'title' => __('Number of Posts', 'accelerated-mobile-pages'),
|
2278 |
-
'subtitle' => __('Enter the number of posts to generate for Instant Articles.', 'accelerated-mobile-pages'),
|
2279 |
'desc' => __('Leave this empty to generate All Posts.', 'accelerated-mobile-pages'),
|
2280 |
'required' => array('fb-instant-article-switch', '=', 1),
|
2281 |
'default' => '50'
|
@@ -2283,11 +2609,11 @@ Redux::setSection( $opt_name, array(
|
|
2283 |
array(
|
2284 |
'id' => 'ampforwp-instant-article-author-bio',
|
2285 |
'type' => 'switch',
|
2286 |
-
'title' => __('
|
2287 |
'default' => 0,
|
2288 |
'true' => 'true',
|
2289 |
'false' => 'false',
|
2290 |
-
'subtitle' => __('Enable/Disable Author Bio', 'accelerated-mobile-pages'),
|
2291 |
'required' => array('fb-instant-article-switch', '=', 1)
|
2292 |
),
|
2293 |
array(
|
@@ -2304,7 +2630,7 @@ Redux::setSection( $opt_name, array(
|
|
2304 |
'id' => 'fb-instant-article-ad-id',
|
2305 |
'type' => 'text',
|
2306 |
'title' => __('Enter your Audience Network Placement ID', 'accelerated-mobile-pages'),
|
2307 |
-
'subtitle' => __('You can find out more about this <a href="https://developers.facebook.com/docs/instant-articles/monetization/audience-network">here</a>. ', 'accelerated-mobile-pages'),
|
2308 |
'required' => array('fb-instant-article-ads', '=', 1)
|
2309 |
),
|
2310 |
array(
|
@@ -2333,7 +2659,7 @@ Redux::setSection( $opt_name, array(
|
|
2333 |
'id' => 'fb-instant-article-analytics-code',
|
2334 |
'type' => 'textarea',
|
2335 |
'title' => __('Enter your Analytics script code', 'accelerated-mobile-pages'),
|
2336 |
-
'subtitle' => __('Do not enter iframe tag. Find out more about support <a href="https://developers.facebook.com/docs/instant-articles/analytics">here</a> ', 'accelerated-mobile-pages'),
|
2337 |
'required' => array('fb-instant-article-analytics', '=', 1)
|
2338 |
),
|
2339 |
),
|
@@ -2352,7 +2678,7 @@ Redux::setSection( $opt_name, array(
|
|
2352 |
'id' => 'amp-pages-meta-default',
|
2353 |
'type' => 'select',
|
2354 |
'title' => __( 'Individual AMP Page (Bulk Edit)', 'accelerated-mobile-pages' ),
|
2355 |
-
'subtitle' => __( 'Allows you to Show or Hide AMP from All pages, so it can be changed individually later. This option will change the Default value of AMP metabox in Pages', 'accelerated-mobile-pages' ),
|
2356 |
'desc' => __( 'NOTE: Changes will overwrite the previous settings.', 'accelerated-mobile-pages' ),
|
2357 |
'options' => array(
|
2358 |
'show' => __('Show by Default', 'accelerated-mobile-pages' ),
|
@@ -2365,7 +2691,7 @@ Redux::setSection( $opt_name, array(
|
|
2365 |
'id' =>'hide-amp-categories',
|
2366 |
'type' => 'checkbox',
|
2367 |
'title' => __('Select Categories to Hide AMP'),
|
2368 |
-
'subtitle' => __( 'Hide AMP from all the posts of a selected category.', 'accelerated-mobile-pages' ),
|
2369 |
'default' => 0,
|
2370 |
'data' => 'categories',
|
2371 |
),
|
@@ -2385,7 +2711,7 @@ Redux::setSection( $opt_name, array(
|
|
2385 |
'id' => 'ampforwp-homepage-on-off-support',
|
2386 |
'type' => 'switch',
|
2387 |
'title' => __('Homepage Support', 'accelerated-mobile-pages'),
|
2388 |
-
'subtitle' => __('Enable/Disable Home page using this switch.', 'accelerated-mobile-pages'),
|
2389 |
'default' => '1'
|
2390 |
),*/
|
2391 |
|
@@ -2393,7 +2719,7 @@ Redux::setSection( $opt_name, array(
|
|
2393 |
'id' => 'amp-mobile-redirection',
|
2394 |
'type' => 'switch',
|
2395 |
'title' => __('Mobile Redirection', 'accelerated-mobile-pages'),
|
2396 |
-
'subtitle' => __('
|
2397 |
Enable AMP for your mobile users. Give your visitors a Faster mobile User Experience.','accelerated-mobile-pages'),
|
2398 |
'default' => 0,
|
2399 |
|
@@ -2404,14 +2730,14 @@ Redux::setSection( $opt_name, array(
|
|
2404 |
'type' => 'switch',
|
2405 |
'title' => ('Change End Point to ?amp'),
|
2406 |
'default' => 0,
|
2407 |
-
'subtitle' => 'Enable this option when /amp/ is giving 404 after resaving the permalink settings.',
|
2408 |
'desc' => __( 'Making endpoints to ?amp will help you get the amp in tricky setups with taxonomies & post typs. Question mark in the url will not make any difference in the SEO.' ),
|
2409 |
),
|
2410 |
array(
|
2411 |
'id' => 'amp-header-text-area-for-html',
|
2412 |
'type' => 'textarea',
|
2413 |
'title' => __('Enter HTML in Head', 'accelerated-mobile-pages'),
|
2414 |
-
'subtitle' => __('please enter markup that is AMP validated', 'accelerated-mobile-pages'),
|
2415 |
'desc' => __('check your markup here (enter markup between HEAD tag) : https://validator.ampproject.org/', 'accelerated-mobile-pages'),
|
2416 |
'default' => ''
|
2417 |
),
|
@@ -2419,7 +2745,7 @@ Redux::setSection( $opt_name, array(
|
|
2419 |
'id' => 'amp-body-text-area',
|
2420 |
'type' => 'textarea',
|
2421 |
'title' => __('Enter HTML in Body (beginning of body tag) ', 'accelerated-mobile-pages'),
|
2422 |
-
'subtitle' => __('please enter markup that is AMP validated', 'accelerated-mobile-pages'),
|
2423 |
'desc' => __('check your markup here (enter markup in the beginning of body tag) : https://validator.ampproject.org/', 'accelerated-mobile-pages'),
|
2424 |
'default' => ''
|
2425 |
),
|
@@ -2427,7 +2753,7 @@ Redux::setSection( $opt_name, array(
|
|
2427 |
'id' => 'amp-footer-text-area-for-html',
|
2428 |
'type' => 'textarea',
|
2429 |
'title' => __('Enter HTML in Footer', 'accelerated-mobile-pages'),
|
2430 |
-
'subtitle' => __('please enter markup that is AMP validated', 'accelerated-mobile-pages'),
|
2431 |
'desc' => __('check your markup here (enter markup between BODY tag) : https://validator.ampproject.org/',
|
2432 |
'accelerated-mobile-pages'),
|
2433 |
'default' => ''
|
@@ -2436,29 +2762,29 @@ Redux::setSection( $opt_name, array(
|
|
2436 |
'id' => 'ampforwp-auto-amp-menu-link',
|
2437 |
'type' => 'switch',
|
2438 |
'title' => __('Auto Add AMP in Menu URL', 'accelerated-mobile-pages'),
|
2439 |
-
'subtitle' => __('Automatically add <code>AMP</code> at the end of menu url', 'accelerated-mobile-pages'),
|
2440 |
'true' => 'true',
|
2441 |
'false' => 'false',
|
2442 |
'default' => 0,
|
2443 |
//'required' => array('ampforwp-amp-menu', '=' , '1')
|
2444 |
),
|
2445 |
-
|
2446 |
-
|
2447 |
'id' => 'ampforwp-category-base-removel-link',
|
2448 |
'type' => 'switch',
|
2449 |
'title' => __('Category base remove in AMP', 'accelerated-mobile-pages'),
|
2450 |
-
'subtitle' => __('Category base removal in <code>AMP</code> from url', 'accelerated-mobile-pages'),
|
2451 |
'true' => 'true',
|
2452 |
'false' => 'false',
|
2453 |
'default' => 0,
|
2454 |
|
2455 |
),
|
2456 |
-
|
2457 |
-
|
2458 |
'id' => 'ampforwp-tag-base-removal-link',
|
2459 |
'type' => 'switch',
|
2460 |
'title' => __('Tag base remove in AMP', 'accelerated-mobile-pages'),
|
2461 |
-
'subtitle' => __('Tag base remove in <code>AMP</code> from url', 'accelerated-mobile-pages'),
|
2462 |
'true' => 'true',
|
2463 |
'false' => 'false',
|
2464 |
'default' => 0,
|
@@ -2469,7 +2795,7 @@ Redux::setSection( $opt_name, array(
|
|
2469 |
'id' => 'ampforwp-custom-fields-featured-image-switch',
|
2470 |
'type' => 'switch',
|
2471 |
'title' => __('Featured Image from Custom Fields', 'accelerated-mobile-pages'),
|
2472 |
-
'subtitle' => __('This will allow you to add Featured Image from Custom Fields', 'accelerated-mobile-pages'),
|
2473 |
'true' => 'true',
|
2474 |
'false' => 'false',
|
2475 |
'default' => 0,
|
@@ -2487,7 +2813,7 @@ Redux::setSection( $opt_name, array(
|
|
2487 |
'id' => 'ampforwp-featured-image-from-content',
|
2488 |
'type' => 'switch',
|
2489 |
'title' => __('Featured Image from The Content', 'accelerated-mobile-pages'),
|
2490 |
-
'subtitle' => __('Show the first image of the content as Featured Image if there is no featured image', 'accelerated-mobile-pages'),
|
2491 |
'true' => 'true',
|
2492 |
'false' => 'false',
|
2493 |
'default' => 0,
|
@@ -2497,11 +2823,19 @@ Redux::setSection( $opt_name, array(
|
|
2497 |
'id' => 'ampforwp-duplicate-featured-image',
|
2498 |
'type' => 'switch',
|
2499 |
'title' => __('Duplicate Featured Image', 'accelerated-mobile-pages'),
|
2500 |
-
'subtitle' => __('Turn On the support if you want to show the Featured Image if it already exists in post content.', 'accelerated-mobile-pages'),
|
2501 |
'true' => 'true',
|
2502 |
'false' => 'false',
|
2503 |
'default' => 0,
|
2504 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2505 |
array(
|
2506 |
'id' => 'amp-meta-permissions',
|
2507 |
'type' => 'select',
|
@@ -2516,7 +2850,7 @@ Redux::setSection( $opt_name, array(
|
|
2516 |
'id' => 'ampforwp-development-mode',
|
2517 |
'type' => 'switch',
|
2518 |
'title' => __('Dev Mode in AMP'),
|
2519 |
-
'subtitle' => __('This will enable the Development mode in AMP', 'accelerated-mobile-pages'),
|
2520 |
'true' => 'true',
|
2521 |
'false' => 'false',
|
2522 |
'default' => 0,
|
@@ -2533,7 +2867,7 @@ Redux::setSection( $opt_name, array(
|
|
2533 |
'id' => 'ampforwp-update-notification-bar',
|
2534 |
'type' => 'switch',
|
2535 |
'title' => __('Plugin Update Notification Bar'),
|
2536 |
-
'subtitle' => __('Enable/Disable the Plugin Update Notification Bar', 'accelerated-mobile-pages'),
|
2537 |
'true' => 'true',
|
2538 |
'false' => 'false',
|
2539 |
'default' => 1,
|
@@ -2542,7 +2876,7 @@ Redux::setSection( $opt_name, array(
|
|
2542 |
'id' => 'ampforwp-wptexturize',
|
2543 |
'type' => 'switch',
|
2544 |
'title' => __('Disable wptexturize'),
|
2545 |
-
'subtitle' => __('Enable this option to Disable wptexturize Globally', 'accelerated-mobile-pages'),
|
2546 |
'true' => 'true',
|
2547 |
'false' => 'false',
|
2548 |
'default' => 0,
|
@@ -2551,7 +2885,7 @@ Redux::setSection( $opt_name, array(
|
|
2551 |
'id' => 'ampforwp-content-builder',
|
2552 |
'type' => 'switch',
|
2553 |
'title' => __('Legacy Page Builder (widgets)', 'accelerated-mobile-pages'),
|
2554 |
-
'subtitle' => __('Build AMP Landing pages in minutes.', 'accelerated-mobile-pages'),
|
2555 |
'true' => 'true',
|
2556 |
'false' => 'false',
|
2557 |
'default' => 0
|
@@ -2562,7 +2896,7 @@ Redux::setSection( $opt_name, array(
|
|
2562 |
'type' => 'switch',
|
2563 |
'title' => __('Delete Data on Uninstall?', 'accelerated-mobile-pages'),
|
2564 |
'default' => 0,
|
2565 |
-
'subtitle' => __('Enable this if you would like AMPforWP to completely remove all of its data when uninstalling via Plugins > Delete.'),
|
2566 |
),
|
2567 |
),
|
2568 |
|
@@ -2580,7 +2914,7 @@ Redux::setSection( $opt_name, array(
|
|
2580 |
'id' => 'amp-use-pot',
|
2581 |
'type' => 'switch',
|
2582 |
'title' => __('Use POT file method of Translation', 'accelerated-mobile-pages'),
|
2583 |
-
'subtitle' => __('Else you can use normal translation method', 'accelerated-mobile-pages'),
|
2584 |
'desc' => __('Use this if you want Multilingual Translations', 'accelerated-mobile-pages'),
|
2585 |
'default' => 0
|
2586 |
),
|
@@ -2592,6 +2926,14 @@ Redux::setSection( $opt_name, array(
|
|
2592 |
'placeholder'=>__('write here','accelerated-mobile-pages'),
|
2593 |
'required' => array( 'amp-use-pot', '=' , 0 )
|
2594 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2595 |
array(
|
2596 |
'id' => 'amp-translator-show-more-posts-text',
|
2597 |
'type' => 'text',
|
@@ -2672,6 +3014,38 @@ Redux::setSection( $opt_name, array(
|
|
2672 |
'placeholder'=>__('write here','accelerated-mobile-pages'),
|
2673 |
'required' => array( 'amp-use-pot', '=' , 0 )
|
2674 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2675 |
array(
|
2676 |
'id' => 'amp-translator-footer-text',
|
2677 |
'type' => 'textarea',
|
@@ -2736,6 +3110,14 @@ Redux::setSection( $opt_name, array(
|
|
2736 |
'placeholder'=>__('write here','accelerated-mobile-pages'),
|
2737 |
'required' => array( 'amp-use-pot', '=' , 0 )
|
2738 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2739 |
array(
|
2740 |
'id' => 'amp-translator-at-text',
|
2741 |
'type' => 'text',
|
@@ -2853,7 +3235,9 @@ Redux::setSection( $opt_name, array(
|
|
2853 |
'type' => 'section',
|
2854 |
'title' => __('Search bar Translation Text', 'accelerated-mobile-pages'),
|
2855 |
'indent' => true,
|
2856 |
-
'required' => array( 'amp-use-pot', '=' , 0 )
|
|
|
|
|
2857 |
),
|
2858 |
array(
|
2859 |
'id' => 'ampforwp-search-placeholder',
|
@@ -2894,30 +3278,30 @@ Redux::setSection( $opt_name, array(
|
|
2894 |
}
|
2895 |
add_filter("extra_plugin_headers","amp_extra_plugin_theme_header");
|
2896 |
$themeDesign = array(
|
2897 |
-
|
2898 |
'demo_link' => 'https://ampforwp.com/demo/#one',
|
2899 |
-
|
2900 |
-
|
2901 |
-
|
2902 |
-
|
2903 |
-
|
2904 |
-
|
2905 |
-
|
2906 |
'demo_link' => 'https://ampforwp.com/demo/#two',
|
2907 |
-
|
2908 |
-
|
2909 |
-
|
2910 |
-
|
2911 |
-
|
2912 |
-
|
2913 |
-
|
2914 |
'demo_link' => 'https://ampforwp.com/demo/#three',
|
2915 |
-
|
2916 |
-
|
2917 |
-
|
2918 |
-
|
2919 |
-
|
2920 |
-
|
2921 |
array(
|
2922 |
'demo_link' => 'https://ampforwp.com/demo/amp-pagebuilder/amp/',
|
2923 |
'upgrade' => true,
|
@@ -2931,18 +3315,18 @@ Redux::setSection( $opt_name, array(
|
|
2931 |
foreach (get_plugins() as $key => $value) {
|
2932 |
$plugin = get_plugin_data(WP_PLUGIN_DIR.'/'.$key);
|
2933 |
if(!empty($plugin['AMP'])){//$plugin['AMP']
|
2934 |
-
|
2935 |
-
|
2936 |
-
|
2937 |
-
|
2938 |
$themeDesign[] = array(
|
2939 |
'demo_link' => $plugin['AMP Demo'],
|
2940 |
-
|
2941 |
-
|
2942 |
-
|
2943 |
-
|
2944 |
-
|
2945 |
-
|
2946 |
}
|
2947 |
}
|
2948 |
}
|
@@ -2956,6 +3340,7 @@ Redux::setSection( $opt_name, array(
|
|
2956 |
|
2957 |
array(
|
2958 |
'id' => 'amp-design-selector',
|
|
|
2959 |
'type' => 'demolink_image_select',
|
2960 |
'title' => __( 'Themes Selector', 'accelerated-mobile-pages' ),
|
2961 |
'subtitle' => __( 'Select your design from dropdown or <br /><a href="https://ampforwp.com/themes/" style="position: relative;
|
@@ -2968,7 +3353,7 @@ Redux::setSection( $opt_name, array(
|
|
2968 |
array(
|
2969 |
'id' => 'ampforwp_layouts_core',
|
2970 |
'type' => 'raw',
|
2971 |
-
'subtitle' => '<a class="amp-layouts-desc" href="https://ampforwp.com/
|
2972 |
'title' => __('AMP Layouts', 'accelerated-mobile-pages'),
|
2973 |
'full_width'=>true,
|
2974 |
'class' =>(!is_plugin_active('amp-layouts/amp-layouts.php')? '': 'hide'),//,
|
@@ -3004,12 +3389,14 @@ Redux::setSection( $opt_name, array(
|
|
3004 |
'type' => 'section',
|
3005 |
'title' => __('Color Scheme', 'accelerated-mobile-pages'),
|
3006 |
'indent' => true,
|
|
|
|
|
3007 |
),
|
3008 |
// Swift
|
3009 |
array(
|
3010 |
'id' => 'swift-color-scheme',
|
3011 |
'title' => __('Global Color Scheme', 'accelerated-mobile-pages'),
|
3012 |
-
'subtitle' => __('Choose the color for title, anchor link','accelerated-mobile-pages'),
|
3013 |
'type' => 'color_rgba',
|
3014 |
'default' => array(
|
3015 |
'color' => '#005be2',
|
@@ -3095,13 +3482,15 @@ Redux::setSection( $opt_name, array(
|
|
3095 |
'indent' => true,
|
3096 |
'required' => array(
|
3097 |
array('amp-design-selector', '=' , '4')
|
3098 |
-
)
|
|
|
|
|
3099 |
),
|
3100 |
array(
|
3101 |
'id' =>'google_font_api_key',
|
3102 |
'type' =>'text',
|
3103 |
'title' =>__('Google Font API key','accelerated-mobile-pages'),
|
3104 |
-
'subtitle' => __('You can get the Link <a target="_blank" href="https://developers.google.com/fonts/docs/developer_api?refresh=1&pli=1">form here</a>','accelerated-mobile-pages'),
|
3105 |
'default' =>'',
|
3106 |
'required' => array(
|
3107 |
array('amp-design-selector', '=' , '4')
|
@@ -3114,7 +3503,7 @@ Redux::setSection( $opt_name, array(
|
|
3114 |
'type' => 'select',
|
3115 |
'class' => 'ampforwp-google-font-class',
|
3116 |
'title' => __( 'Font Selector', 'accelerated-mobile-pages' ),
|
3117 |
-
'subtitle' => __( 'Select your design from dropdown or ', 'accelerated-mobile-pages' ),
|
3118 |
'options' => array(
|
3119 |
'1' => 'None',
|
3120 |
),
|
@@ -3131,7 +3520,7 @@ Redux::setSection( $opt_name, array(
|
|
3131 |
'class' => 'ampforwp-google-font-class',
|
3132 |
'multi' => true,
|
3133 |
'title' => __( 'Font Selector', 'accelerated-mobile-pages' ),
|
3134 |
-
'subtitle' => __( 'Select your design from dropdown', 'accelerated-mobile-pages' ),
|
3135 |
'options' => array(
|
3136 |
'1' => 'none',
|
3137 |
),
|
@@ -3158,12 +3547,14 @@ Redux::setSection( $opt_name, array(
|
|
3158 |
'type' => 'section',
|
3159 |
'title' => __('Advanced', 'accelerated-mobile-pages'),
|
3160 |
'indent' => true,
|
|
|
|
|
3161 |
),
|
3162 |
array(
|
3163 |
'id' => 'css_editor',
|
3164 |
'type' => 'ace_editor',
|
3165 |
'title' => __('Custom CSS', 'accelerated-mobile-pages'),
|
3166 |
-
'subtitle' => __('You can customize the Stylesheet of the AMP version by using this option.', 'accelerated-mobile-pages'),
|
3167 |
'mode' => 'css',
|
3168 |
'theme' => 'monokai',
|
3169 |
'desc' => '',
|
@@ -3192,17 +3583,14 @@ Redux::setSection( $opt_name, array(
|
|
3192 |
'fields' => array(
|
3193 |
// Swift
|
3194 |
// Tab 1
|
3195 |
-
|
3196 |
-
|
3197 |
-
|
3198 |
-
|
3199 |
-
|
3200 |
-
|
3201 |
-
|
3202 |
-
|
3203 |
-
array('amp-design-selector', '=' , '4')
|
3204 |
-
),*/
|
3205 |
-
),
|
3206 |
array(
|
3207 |
'id' => 'header-type',
|
3208 |
'title' => __('Header Type', 'accelerated-mobile-pages'),
|
@@ -3226,6 +3614,14 @@ Redux::setSection( $opt_name, array(
|
|
3226 |
// 'max-height'=> 60,
|
3227 |
'required' => array( array('amp-design-selector', '=' , '4') ),
|
3228 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3229 |
array(
|
3230 |
'id' => 'menu-type',
|
3231 |
'title' => __('Menu Type', 'accelerated-mobile-pages'),
|
@@ -3272,6 +3668,7 @@ Redux::setSection( $opt_name, array(
|
|
3272 |
'id' => 'primary-menu-padding-control',
|
3273 |
'type' => 'spacing',
|
3274 |
'output' => array('.p-menu'),
|
|
|
3275 |
'mode' => 'padding',
|
3276 |
'units' => array('px'),
|
3277 |
'units_extended' => 'false',
|
@@ -3288,6 +3685,7 @@ Redux::setSection( $opt_name, array(
|
|
3288 |
)
|
3289 |
),
|
3290 |
array(
|
|
|
3291 |
'id' => 'primary-menu-text-scheme',
|
3292 |
'title' => __('Alt Menu Text', 'accelerated-mobile-pages'),
|
3293 |
'type' => 'color_rgba',
|
@@ -3299,6 +3697,7 @@ Redux::setSection( $opt_name, array(
|
|
3299 |
)
|
3300 |
),
|
3301 |
array(
|
|
|
3302 |
'id' => 'primary-menu-background-scheme',
|
3303 |
'title' => __('Alt Menu Background', 'accelerated-mobile-pages'),
|
3304 |
'type' => 'color_rgba',
|
@@ -3312,7 +3711,7 @@ Redux::setSection( $opt_name, array(
|
|
3312 |
array(
|
3313 |
'id' => 'signin-button',
|
3314 |
'title' => __('Button Customize', 'accelerated-mobile-pages'),
|
3315 |
-
'subtitle' => __('You can do the customization here ','accelerated-mobile-pages'),
|
3316 |
'type' => 'switch',
|
3317 |
'default' => '0',
|
3318 |
'required' => array(
|
@@ -3322,7 +3721,7 @@ Redux::setSection( $opt_name, array(
|
|
3322 |
array(
|
3323 |
'id' => 'signin-button-text',
|
3324 |
'title' => __('Button Text', 'accelerated-mobile-pages'),
|
3325 |
-
'subtitle' => __('You can write your required text ','accelerated-mobile-pages'),
|
3326 |
'type' => 'text',
|
3327 |
'default' => 'Sign up free',
|
3328 |
'required' => array(
|
@@ -3332,7 +3731,7 @@ Redux::setSection( $opt_name, array(
|
|
3332 |
array(
|
3333 |
'id' => 'signin-button-link',
|
3334 |
'title' => __('Button Link', 'accelerated-mobile-pages'),
|
3335 |
-
'subtitle' => __('You can add the Link here ','accelerated-mobile-pages'),
|
3336 |
'type' => 'text',
|
3337 |
'default' => '#',
|
3338 |
'required' => array(
|
@@ -3342,7 +3741,7 @@ Redux::setSection( $opt_name, array(
|
|
3342 |
array(
|
3343 |
'id' => 'signin-button-style',
|
3344 |
'title' => __('Button Styles', 'accelerated-mobile-pages'),
|
3345 |
-
'subtitle' => __('You can change the button here','accelerated-mobile-pages'),
|
3346 |
'type' => 'switch',
|
3347 |
'default' => '0',
|
3348 |
'required' => array(
|
@@ -3352,7 +3751,7 @@ Redux::setSection( $opt_name, array(
|
|
3352 |
array(
|
3353 |
'id' => 'signin-button-border-line',
|
3354 |
'title' => __('Button Border Line', 'accelerated-mobile-pages'),
|
3355 |
-
'subtitle' => __('You can change the button border line','accelerated-mobile-pages'),
|
3356 |
'type' => 'text',
|
3357 |
'default' => '2',
|
3358 |
'required' => array(
|
@@ -3362,7 +3761,7 @@ Redux::setSection( $opt_name, array(
|
|
3362 |
array(
|
3363 |
'id' => 'signin-button-text-color',
|
3364 |
'title' => __('Button Text Color', 'accelerated-mobile-pages'),
|
3365 |
-
'subtitle' => __('Choose the color for Button Texxt','accelerated-mobile-pages'),
|
3366 |
'type' => 'color_rgba',
|
3367 |
'default' => array(
|
3368 |
'rgba' => 'rgb(0, 0, 0)',
|
@@ -3374,7 +3773,7 @@ Redux::setSection( $opt_name, array(
|
|
3374 |
array(
|
3375 |
'id' => 'signin-button-border-color',
|
3376 |
'title' => __('Button Border Line Color', 'accelerated-mobile-pages'),
|
3377 |
-
'subtitle' => __('Choose the color for Button Border Line','accelerated-mobile-pages'),
|
3378 |
'type' => 'color_rgba',
|
3379 |
'default' => array(
|
3380 |
'rgba' => 'rgb(0, 0, 0)',
|
@@ -3398,7 +3797,7 @@ Redux::setSection( $opt_name, array(
|
|
3398 |
array(
|
3399 |
'id' => 'border-radius',
|
3400 |
'title' => __('Customize Border Radius', 'accelerated-mobile-pages'),
|
3401 |
-
'subtitle' => __('You can change the border radius','accelerated-mobile-pages'),
|
3402 |
'type' => 'text',
|
3403 |
'default' => '10',
|
3404 |
'required' => array(
|
@@ -3410,13 +3809,21 @@ Redux::setSection( $opt_name, array(
|
|
3410 |
'type' => 'switch',
|
3411 |
'title' => __('Navigation Menu', 'accelerated-mobile-pages'),
|
3412 |
'desc' => __( 'Add Menus to your AMP pages by clicking on this <a href="'.trailingslashit(get_admin_url()).'nav-menus.php?action=locations">link</a>' , 'accelerated-mobile-pages'),
|
3413 |
-
'subtitle' => __('Enable/Disable Menu from header', 'accelerated-mobile-pages'),
|
3414 |
'true' => 'true',
|
3415 |
'false' => 'false',
|
3416 |
'default' => 1,
|
3417 |
'required' => array(array('amp-design-selector', '!=' , '4')),
|
3418 |
|
3419 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3420 |
// Call Now button
|
3421 |
array(
|
3422 |
'id' => 'ampforwp-callnow-button',
|
@@ -3431,6 +3838,7 @@ Redux::setSection( $opt_name, array(
|
|
3431 |
),
|
3432 |
array(
|
3433 |
'id' =>'enable-amp-call-numberfield',
|
|
|
3434 |
'type' => 'text',
|
3435 |
'required' => array(
|
3436 |
array('ampforwp-callnow-button', '=' , '1'),
|
@@ -3442,8 +3850,8 @@ Redux::setSection( $opt_name, array(
|
|
3442 |
array(
|
3443 |
'id' =>'amp-on-off-support-for-non-amp-home-page',
|
3444 |
'type' => 'switch',
|
3445 |
-
'title' => __('Non-AMP
|
3446 |
-
'subtitle' => __('If you want users in header to go to non-AMP website from the Header', 'accelerated-mobile-pages'),
|
3447 |
'default' => 0,
|
3448 |
),
|
3449 |
array(
|
@@ -3453,7 +3861,7 @@ Redux::setSection( $opt_name, array(
|
|
3453 |
'required' => array(
|
3454 |
array('amp-design-selector', '=' , '3')
|
3455 |
),
|
3456 |
-
'subtitle' => __('Turning it ON will remove the sticky head from the design.', 'accelerated-mobile-pages' ),
|
3457 |
'default' => '0'
|
3458 |
),
|
3459 |
array(
|
@@ -3494,7 +3902,15 @@ Redux::setSection( $opt_name, array(
|
|
3494 |
),
|
3495 |
'default' => '1'
|
3496 |
),
|
3497 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3498 |
array(
|
3499 |
'id' => 'amp-opt-color-rgba-headercolor',
|
3500 |
'type' => 'color_rgba',
|
@@ -3538,6 +3954,8 @@ Redux::setSection( $opt_name, array(
|
|
3538 |
'required' => array(
|
3539 |
array('amp-design-selector', '=' , '4')
|
3540 |
),
|
|
|
|
|
3541 |
),
|
3542 |
array(
|
3543 |
'id' => 'customize-options',
|
@@ -3548,6 +3966,7 @@ Redux::setSection( $opt_name, array(
|
|
3548 |
),
|
3549 |
array(
|
3550 |
'id' => 'swift-width-control',
|
|
|
3551 |
'type' => 'text',
|
3552 |
'title' => __('Header Width', 'accelerated-mobile-pages'),
|
3553 |
'default' => '1100px',
|
@@ -3556,6 +3975,7 @@ Redux::setSection( $opt_name, array(
|
|
3556 |
)
|
3557 |
),
|
3558 |
array(
|
|
|
3559 |
'id' => 'swift-height-control',
|
3560 |
'type' => 'text',
|
3561 |
'title' => __('Header Height', 'accelerated-mobile-pages'),
|
@@ -3565,6 +3985,7 @@ Redux::setSection( $opt_name, array(
|
|
3565 |
)
|
3566 |
),
|
3567 |
array(
|
|
|
3568 |
'id' => 'margin-padding-options',
|
3569 |
'type' => 'switch',
|
3570 |
'title' => __('Margin / Padding ', 'accelerated-mobile-pages'),
|
@@ -3574,11 +3995,12 @@ Redux::setSection( $opt_name, array(
|
|
3574 |
)
|
3575 |
),
|
3576 |
array(
|
|
|
3577 |
'id' => 'swift-padding-control',
|
3578 |
'type' => 'spacing',
|
3579 |
'output' => array('.header'),
|
3580 |
'mode' => 'padding',
|
3581 |
-
'units' => array('px'),
|
3582 |
'units_extended' => 'false',
|
3583 |
'title' => __('Padding', 'accelerated-mobile-pages'),
|
3584 |
'default' => array(
|
@@ -3593,6 +4015,7 @@ Redux::setSection( $opt_name, array(
|
|
3593 |
)
|
3594 |
),
|
3595 |
array(
|
|
|
3596 |
'id' => 'swift-margin-control',
|
3597 |
'type' => 'spacing',
|
3598 |
'output' => array('.header'),
|
@@ -3612,6 +4035,7 @@ Redux::setSection( $opt_name, array(
|
|
3612 |
)
|
3613 |
),
|
3614 |
array(
|
|
|
3615 |
'id' => 'border-line',
|
3616 |
'type' => 'switch',
|
3617 |
'title' => __('Border and Boxshadow', 'accelerated-mobile-pages'),
|
@@ -3622,16 +4046,18 @@ Redux::setSection( $opt_name, array(
|
|
3622 |
),
|
3623 |
|
3624 |
array(
|
|
|
3625 |
'id' => 'swift-border-line-control',
|
3626 |
'type' => 'text',
|
3627 |
'title' => __('Border', 'accelerated-mobile-pages'),
|
3628 |
-
'subtitle' => __('Border at the bottom', 'accelerated-mobile-pages'),
|
3629 |
'default' => '1',
|
3630 |
'required' => array(
|
3631 |
array('border-line','=',1)
|
3632 |
)
|
3633 |
),
|
3634 |
array(
|
|
|
3635 |
'id' => 'swift-border-color-control',
|
3636 |
'type' => 'color_rgba',
|
3637 |
'title' => __('Border Color', 'accelerated-mobile-pages'),
|
@@ -3643,6 +4069,7 @@ Redux::setSection( $opt_name, array(
|
|
3643 |
)
|
3644 |
),
|
3645 |
array(
|
|
|
3646 |
'id' => 'swift-boxshadow-checkbox-control',
|
3647 |
'type' => 'switch',
|
3648 |
'title' => __('Box Shadow', 'accelerated-mobile-pages'),
|
@@ -3654,6 +4081,7 @@ Redux::setSection( $opt_name, array(
|
|
3654 |
|
3655 |
|
3656 |
array(
|
|
|
3657 |
'id' => 'swift-background-scheme',
|
3658 |
'title' => __('Header Background', 'accelerated-mobile-pages'),
|
3659 |
'type' => 'color_rgba',
|
@@ -3665,6 +4093,7 @@ Redux::setSection( $opt_name, array(
|
|
3665 |
)
|
3666 |
),
|
3667 |
array(
|
|
|
3668 |
'id' => 'swift-header-overlay',
|
3669 |
'title' => __('Menu Background', 'accelerated-mobile-pages'),
|
3670 |
'type' => 'color_rgba',
|
@@ -3676,9 +4105,10 @@ Redux::setSection( $opt_name, array(
|
|
3676 |
)
|
3677 |
),
|
3678 |
array(
|
|
|
3679 |
'id' => 'swift-element-color-control',
|
3680 |
'title' => __('Header Elements', 'accelerated-mobile-pages'),
|
3681 |
-
'subtitle' => __('Color of the Text and Icons on top of Header','accelerated-mobile-pages'),
|
3682 |
'type' => 'color_rgba',
|
3683 |
'default' => array(
|
3684 |
'color' => '#333',
|
@@ -3688,8 +4118,9 @@ Redux::setSection( $opt_name, array(
|
|
3688 |
)
|
3689 |
),
|
3690 |
array(
|
|
|
3691 |
'id' => 'swift-element-overlay-color-control',
|
3692 |
-
'title' => __('Menu
|
3693 |
'type' => 'color_rgba',
|
3694 |
'default' => array(
|
3695 |
'rgba' => 'rgba(255, 255, 255, 0.8)',
|
@@ -3699,6 +4130,7 @@ Redux::setSection( $opt_name, array(
|
|
3699 |
)
|
3700 |
),
|
3701 |
array(
|
|
|
3702 |
'id' => 'swift-element-menu-border-color',
|
3703 |
'title' => __('Menu Border Color ', 'accelerated-mobile-pages'),
|
3704 |
'type' => 'color_rgba',
|
@@ -3712,6 +4144,7 @@ Redux::setSection( $opt_name, array(
|
|
3712 |
|
3713 |
|
3714 |
array(
|
|
|
3715 |
'id' => 'header-position-type',
|
3716 |
'title' => __('Menu Overlay Position', 'accelerated-mobile-pages'),
|
3717 |
'type' => 'select',
|
@@ -3725,6 +4158,7 @@ Redux::setSection( $opt_name, array(
|
|
3725 |
)
|
3726 |
),
|
3727 |
array(
|
|
|
3728 |
'id' => 'header-overlay-width',
|
3729 |
'type' => 'text',
|
3730 |
'title' => __('Menu Overlay Width', 'accelerated-mobile-pages'),
|
@@ -3733,6 +4167,7 @@ Redux::setSection( $opt_name, array(
|
|
3733 |
array('customize-options','=',1)
|
3734 |
)
|
3735 |
),
|
|
|
3736 |
// Tab 2 end
|
3737 |
/*array(
|
3738 |
'id' => 'header-tab-2-end',
|
@@ -3750,19 +4185,22 @@ Redux::setSection( $opt_name, array(
|
|
3750 |
|
3751 |
|
3752 |
//code for fetching ctegories to show as a list in redux settings
|
3753 |
-
|
3754 |
-
|
3755 |
-
|
3756 |
-
|
3757 |
-
|
3758 |
-
|
3759 |
-
|
3760 |
-
|
3761 |
-
|
3762 |
-
|
3763 |
-
|
3764 |
-
|
3765 |
-
|
|
|
|
|
|
|
3766 |
//End of code for fetching ctegories to show as a list in redux settings
|
3767 |
$ampforwp_home_loop = array();
|
3768 |
$ampforwp_home_loop = get_option('ampforwp_custom_post_types');
|
@@ -3780,6 +4218,8 @@ Redux::setSection( $opt_name, array(
|
|
3780 |
'type' => 'section',
|
3781 |
'title' => __('General', 'accelerated-mobile-pages'),
|
3782 |
'indent' => true,
|
|
|
|
|
3783 |
),
|
3784 |
array(
|
3785 |
'id' => 'amp-design-3-featured-slider',
|
@@ -3814,7 +4254,7 @@ Redux::setSection( $opt_name, array(
|
|
3814 |
array(
|
3815 |
'id' =>'amp-design-1-excerpt',
|
3816 |
'type' =>'text',
|
3817 |
-
'subtitle' =>__('Enter the number of words Eg: 10','accelerated-mobile-pages'),
|
3818 |
'title' =>__('Excerpt Length','accelerated-mobile-pages'),
|
3819 |
'required' => array(
|
3820 |
array('amp-design-selector', '=' , '1'),
|
@@ -3847,7 +4287,7 @@ Redux::setSection( $opt_name, array(
|
|
3847 |
array(
|
3848 |
'id' =>'amp-design-2-excerpt',
|
3849 |
'type' =>'text',
|
3850 |
-
'subtitle' =>__('Enter the number of words Eg: 10','accelerated-mobile-pages'),
|
3851 |
'title' =>__('Excerpt Length','accelerated-mobile-pages'),
|
3852 |
'required' => array(
|
3853 |
array('amp-design-selector', '=' , '2'),
|
@@ -3870,7 +4310,7 @@ Redux::setSection( $opt_name, array(
|
|
3870 |
array(
|
3871 |
'id' =>'amp-design-3-excerpt',
|
3872 |
'type' =>'text',
|
3873 |
-
'subtitle' =>__('Enter the number of words Eg: 10','accelerated-mobile-pages'),
|
3874 |
'title' =>__('Excerpt Length','accelerated-mobile-pages'),
|
3875 |
'required' => array(
|
3876 |
array('amp-design-selector', '=' , '3'),
|
@@ -3885,7 +4325,7 @@ Redux::setSection( $opt_name, array(
|
|
3885 |
'id' =>'amp-design-1-featured-time',
|
3886 |
'type' =>'switch',
|
3887 |
'title' =>__('Published Time','accelerated-mobile-pages'),
|
3888 |
-
'subtitle' => __('Display published time of the post on homepage', 'accelerated-mobile-pages'),
|
3889 |
'required' => array(array('amp-design-selector', '=' , '1') ),
|
3890 |
'default' =>'1',
|
3891 |
),
|
@@ -3894,7 +4334,7 @@ Redux::setSection( $opt_name, array(
|
|
3894 |
'id' =>'amp-design-3-featured-time',
|
3895 |
'type' =>'switch',
|
3896 |
'title' =>__('Published Time','accelerated-mobile-pages'),
|
3897 |
-
'subtitle' => __('Display published time of the post on homepage', 'accelerated-mobile-pages'),
|
3898 |
'required' => array(array('amp-design-selector', '=' , '3') ),
|
3899 |
'default' =>'1',
|
3900 |
),
|
@@ -3908,10 +4348,11 @@ Redux::setSection( $opt_name, array(
|
|
3908 |
'default' => 0,
|
3909 |
),
|
3910 |
array(
|
|
|
3911 |
'id' => 'ampforwp-homepage-posts-design-1-2-width',
|
3912 |
'type' => 'text',
|
3913 |
'title' => __('Image Width', 'accelerated-mobile-pages'),
|
3914 |
-
'subtitle' => __('Defaults to 100', 'accelerated-mobile-pages'),
|
3915 |
'default' => 100,
|
3916 |
'required' => array(
|
3917 |
array('amp-design-selector','!=',3),
|
@@ -3920,10 +4361,11 @@ Redux::setSection( $opt_name, array(
|
|
3920 |
)
|
3921 |
),
|
3922 |
array(
|
|
|
3923 |
'id' => 'ampforwp-homepage-posts-design-1-2-height',
|
3924 |
'type' => 'text',
|
3925 |
'title' => __('Image Height', 'accelerated-mobile-pages'),
|
3926 |
-
'subtitle' => __('Defaults to 75', 'accelerated-mobile-pages'),
|
3927 |
'default' => 75,
|
3928 |
'required' => array(
|
3929 |
array('amp-design-selector','!=',3),
|
@@ -3932,10 +4374,11 @@ Redux::setSection( $opt_name, array(
|
|
3932 |
)
|
3933 |
),
|
3934 |
array(
|
|
|
3935 |
'id' => 'ampforwp-swift-homepage-posts-width',
|
3936 |
'type' => 'text',
|
3937 |
'title' => __('Image Width', 'accelerated-mobile-pages'),
|
3938 |
-
'subtitle' => __('Defaults to 346', 'accelerated-mobile-pages'),
|
3939 |
'default' => 346,
|
3940 |
'required' => array(
|
3941 |
array('amp-design-selector','=',4),
|
@@ -3943,10 +4386,11 @@ Redux::setSection( $opt_name, array(
|
|
3943 |
)
|
3944 |
),
|
3945 |
array(
|
|
|
3946 |
'id' => 'ampforwp-swift-homepage-posts-height',
|
3947 |
'type' => 'text',
|
3948 |
'title' => __('Image Height', 'accelerated-mobile-pages'),
|
3949 |
-
'subtitle' => __('Defaults to 188', 'accelerated-mobile-pages'),
|
3950 |
'default' => 188,
|
3951 |
'required' => array(
|
3952 |
array('amp-design-selector','=',4),
|
@@ -3962,6 +4406,7 @@ Redux::setSection( $opt_name, array(
|
|
3962 |
),
|
3963 |
array(
|
3964 |
'id' => 'sidebar-bgcolor',
|
|
|
3965 |
'type' => 'color_rgba',
|
3966 |
'title' => __('Sidebar Background','accelerated-mobile-pages'),
|
3967 |
'default' => array(
|
@@ -3974,6 +4419,7 @@ Redux::setSection( $opt_name, array(
|
|
3974 |
array(
|
3975 |
'id' => 'sbr-heading-color',
|
3976 |
'type' => 'color_rgba',
|
|
|
3977 |
'title' => __('Heading', 'accelerated-mobile-pages'),
|
3978 |
'default' => array(
|
3979 |
'color' => '#333',
|
@@ -3985,6 +4431,7 @@ Redux::setSection( $opt_name, array(
|
|
3985 |
array(
|
3986 |
'id' => 'sbr-text-color',
|
3987 |
'type' => 'color_rgba',
|
|
|
3988 |
'title' => __('Text', 'accelerated-mobile-pages'),
|
3989 |
'default' => array(
|
3990 |
'color' => '#333',
|
@@ -3998,6 +4445,8 @@ Redux::setSection( $opt_name, array(
|
|
3998 |
'type' => 'section',
|
3999 |
'title' => __('Loop Display Controls', 'accelerated-mobile-pages'),
|
4000 |
'indent' => true,
|
|
|
|
|
4001 |
),
|
4002 |
array(
|
4003 |
'id' => 'ampforwp-homepage-loop-type',
|
@@ -4025,6 +4474,14 @@ Redux::setSection( $opt_name, array(
|
|
4025 |
'id' => 'amp-single',
|
4026 |
'subsection' => true,
|
4027 |
'fields' => array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4028 |
// Swift
|
4029 |
array(
|
4030 |
'id' => 'single-design-type',
|
@@ -4053,6 +4510,14 @@ Redux::setSection( $opt_name, array(
|
|
4053 |
'default' => 1,
|
4054 |
'required' => array( array('single-design-type', '=' , '4') ),
|
4055 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4056 |
array(
|
4057 |
'id' => 'swift-featued-image',
|
4058 |
'type' => 'switch',
|
@@ -4094,7 +4559,7 @@ Redux::setSection( $opt_name, array(
|
|
4094 |
'type' => 'switch',
|
4095 |
'default' => '1',
|
4096 |
'title' => __('Categories', 'accelerated-mobile-pages'),
|
4097 |
-
'subtitle' => __('Enable or Disable Categories in Single', 'accelerated-mobile-pages'),
|
4098 |
'required' => array( array('amp-design-selector', '!=' , '4') )
|
4099 |
),
|
4100 |
//Tags ON/OFF
|
@@ -4125,7 +4590,7 @@ Redux::setSection( $opt_name, array(
|
|
4125 |
'type' => 'switch',
|
4126 |
'title' => __('Excerpt', 'accelerated-mobile-pages'),
|
4127 |
'default' => 0,
|
4128 |
-
'subtitle' => __('Excerpt will be displayed above content', 'accelerated-mobile-pages'),
|
4129 |
),
|
4130 |
//deselectable next previous links
|
4131 |
array(
|
@@ -4149,23 +4614,17 @@ Redux::setSection( $opt_name, array(
|
|
4149 |
'title' => __( 'Author Bio', 'accelerated-mobile-pages' ),
|
4150 |
'default' => '1',
|
4151 |
),
|
4152 |
-
// Author Pages
|
4153 |
-
array(
|
4154 |
-
'id' => 'ampforwp-author-page-url',
|
4155 |
-
'type' => 'switch',
|
4156 |
-
'title' => __( 'Link to Author Pages', 'accelerated-mobile-pages' ),
|
4157 |
-
'default' => '0',
|
4158 |
-
),
|
4159 |
// Pagination //#1015
|
4160 |
array(
|
4161 |
'id' => 'amp-pagination',
|
4162 |
'type' => 'switch',
|
4163 |
'title' => __( 'Post Pagination', 'accelerated-mobile-pages' ),
|
4164 |
'default' => 1,
|
4165 |
-
'subtitle' => __('Enable the feature to add Pagination in single', 'accelerated-mobile-pages'),
|
4166 |
),
|
4167 |
array(
|
4168 |
'id' => 'ampforwp-pagination-select',
|
|
|
4169 |
'type' => 'select',
|
4170 |
'title' => __('Post Pagination Type', 'accelerated-mobile-pages'),
|
4171 |
'options' => array(
|
@@ -4175,6 +4634,14 @@ Redux::setSection( $opt_name, array(
|
|
4175 |
'default' => '1',
|
4176 |
'required' => array('amp-pagination' , '=' , '1'),
|
4177 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4178 |
// Related Post
|
4179 |
array(
|
4180 |
'id' => 'ampforwp-single-related-posts-switch',
|
@@ -4185,9 +4652,10 @@ Redux::setSection( $opt_name, array(
|
|
4185 |
array(
|
4186 |
'id' => 'ampforwp-single-select-type-of-related',
|
4187 |
'type' => 'select',
|
|
|
4188 |
'title' => __('Related Post by', 'accelerated-mobile-pages'),
|
4189 |
'data' => 'page',
|
4190 |
-
'subtitle' => __('select the type of related posts', 'accelerated-mobile-pages'),
|
4191 |
'options' => array(
|
4192 |
'1' => 'Tags',
|
4193 |
'2' => 'Categories',
|
@@ -4200,6 +4668,7 @@ Redux::setSection( $opt_name, array(
|
|
4200 |
array(
|
4201 |
'id' => 'ampforwp-single-related-posts-image',
|
4202 |
'type' => 'switch',
|
|
|
4203 |
'title' => __('Image in Related Post', 'accelerated-mobile-pages'),
|
4204 |
'default' => 1,
|
4205 |
'required' => array(
|
@@ -4209,6 +4678,7 @@ Redux::setSection( $opt_name, array(
|
|
4209 |
array(
|
4210 |
'id' => 'ampforwp-single-related-posts-excerpt',
|
4211 |
'type' => 'switch',
|
|
|
4212 |
'title' => __('Excerpt in Related Post', 'accelerated-mobile-pages'),
|
4213 |
'default' => 1,
|
4214 |
'required' => array(
|
@@ -4218,6 +4688,7 @@ Redux::setSection( $opt_name, array(
|
|
4218 |
array(
|
4219 |
'id' => 'ampforwp-single-order-of-related-posts',
|
4220 |
'type' => 'switch',
|
|
|
4221 |
'title' => __('Sort Related Posts Randomly', 'accelerated-mobile-pages'),
|
4222 |
'default' => 0,
|
4223 |
'required' => array(
|
@@ -4227,6 +4698,7 @@ Redux::setSection( $opt_name, array(
|
|
4227 |
array(
|
4228 |
'id' => 'ampforwp-number-of-related-posts',
|
4229 |
'type' => 'text',
|
|
|
4230 |
'title' => __('Number of Related Post', 'accelerated-mobile-pages'),
|
4231 |
'validate' => 'numeric',
|
4232 |
'default' => '3',
|
@@ -4234,24 +4706,26 @@ Redux::setSection( $opt_name, array(
|
|
4234 |
array('ampforwp-single-related-posts-switch', '=' , '1')
|
4235 |
),
|
4236 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4237 |
array(
|
4238 |
'id' => 'ampforwp-inline-related-posts',
|
4239 |
'type' => 'switch',
|
4240 |
'title' => __('In-Content Related Post', 'accelerated-mobile-pages'),
|
4241 |
-
'subtitle' => __('Insert Related Posts between the content', 'accelerated-mobile-pages'),
|
4242 |
'default' => 0,
|
4243 |
),
|
4244 |
-
array(
|
4245 |
-
'id' => 'ampforwp-swift-recent-posts',
|
4246 |
-
'type' => 'switch',
|
4247 |
-
'title' => __('Enable Recent Posts', 'accelerated-mobile-pages'),
|
4248 |
-
'subtitle' => __('To enable & disable recent posts', 'accelerated-mobile-pages'),
|
4249 |
-
'default' => 1,
|
4250 |
-
),
|
4251 |
array(
|
4252 |
'id' => 'ampforwp-inline-related-posts-type',
|
4253 |
'type' => 'select',
|
4254 |
'title' => __('In-content Related Post by', 'accelerated-mobile-pages'),
|
|
|
4255 |
'data' => 'page',
|
4256 |
'options' => array(
|
4257 |
'1' => 'Tags',
|
@@ -4264,6 +4738,7 @@ Redux::setSection( $opt_name, array(
|
|
4264 |
array(
|
4265 |
'id' => 'ampforwp-inline-related-posts-order',
|
4266 |
'type' => 'switch',
|
|
|
4267 |
'title' => __('Sort Related Posts Randomly', 'accelerated-mobile-pages'),
|
4268 |
'default' => 0,
|
4269 |
'required' => array( array('ampforwp-inline-related-posts', '=' , '1') ),
|
@@ -4271,7 +4746,8 @@ Redux::setSection( $opt_name, array(
|
|
4271 |
array(
|
4272 |
'id' => 'ampforwp-number-of-inline-related-posts',
|
4273 |
'type' => 'text',
|
4274 |
-
|
|
|
4275 |
'validate' => 'numeric',
|
4276 |
'default' => '3',
|
4277 |
'required' => array( array('ampforwp-inline-related-posts', '=' , '1') ),
|
@@ -4279,9 +4755,25 @@ Redux::setSection( $opt_name, array(
|
|
4279 |
array(
|
4280 |
'id' => 'single-tab-2',
|
4281 |
'type' => 'section',
|
4282 |
-
'title' => __('
|
4283 |
'indent' => true,
|
|
|
|
|
4284 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4285 |
array(
|
4286 |
'id' => 'single-new-features',
|
4287 |
'type' => 'switch',
|
@@ -4329,14 +4821,46 @@ Redux::setSection( $opt_name, array(
|
|
4329 |
'id' => 'amp-theme-footer-settings',
|
4330 |
'subsection' => true,
|
4331 |
'fields' => array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4332 |
// Swift
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4333 |
array(
|
4334 |
'id' => 'swift-menu',
|
4335 |
'type' => 'switch',
|
4336 |
'title' => __('Menu', 'accelerated-mobile-pages'),
|
4337 |
'default' => 1,
|
4338 |
'required' => array( array('amp-design-selector', '=' , '4') ),
|
4339 |
-
'
|
4340 |
),
|
4341 |
array(
|
4342 |
'id' => 'amp-footer-link-non-amp-page',
|
@@ -4357,27 +4881,12 @@ Redux::setSection( $opt_name, array(
|
|
4357 |
'required' => array(
|
4358 |
array('amp-design-selector', '!=' , '3')
|
4359 |
)
|
4360 |
-
),
|
4361 |
-
array(
|
4362 |
-
'id' => 'footer-type',
|
4363 |
-
'title' => __('Footer Type', 'accelerated-mobile-pages'),
|
4364 |
-
'type' => 'image_select',
|
4365 |
-
'options'=> array(
|
4366 |
-
'1' => array(
|
4367 |
-
'alt'=>' Footer Design 1 ',
|
4368 |
-
'img' =>AMPFORWP_PLUGIN_DIR_URI.'/images/footer-1.png'
|
4369 |
-
),
|
4370 |
-
),
|
4371 |
-
'default'=> '1',
|
4372 |
-
// 'max-width' => 200,
|
4373 |
-
// 'max-height'=> 60,
|
4374 |
-
'required' => array( array('amp-design-selector', '=' , '4') ),
|
4375 |
),
|
4376 |
array(
|
4377 |
'id' => 'ampforwp-footer-top-design3',
|
4378 |
'type' => 'switch',
|
4379 |
'title' => __('Back to Top link', 'accelerated-mobile-pages'),
|
4380 |
-
'subtitle' => __('Enable / Disable Link to top of the page in the footer', 'accelerated-mobile-pages'),
|
4381 |
'true' => 'true',
|
4382 |
'false' => 'false',
|
4383 |
'default' => 0,
|
@@ -4409,6 +4918,8 @@ Redux::setSection( $opt_name, array(
|
|
4409 |
'required' => array(
|
4410 |
array('amp-design-selector', '=' , '4')
|
4411 |
),
|
|
|
|
|
4412 |
),
|
4413 |
array(
|
4414 |
'id' => 'footer-customize-options',
|
@@ -4418,30 +4929,30 @@ Redux::setSection( $opt_name, array(
|
|
4418 |
'required' => array( array('amp-design-selector', '=' , '4') ),
|
4419 |
),
|
4420 |
array(
|
4421 |
-
'id' => 'swift-footer-
|
4422 |
-
'title' => __('Footer
|
4423 |
'type' => 'color_rgba',
|
4424 |
'default' => array(
|
4425 |
-
'color' => '#
|
4426 |
),
|
4427 |
'required' => array(
|
4428 |
array('footer-customize-options','=',1)
|
4429 |
)
|
4430 |
),
|
4431 |
array(
|
4432 |
-
'id' => 'swift-footer-
|
4433 |
-
'title' => __('
|
4434 |
'type' => 'color_rgba',
|
4435 |
'default' => array(
|
4436 |
-
'color' => '#
|
4437 |
),
|
4438 |
'required' => array(
|
4439 |
array('footer-customize-options','=',1)
|
4440 |
)
|
4441 |
),
|
4442 |
array(
|
4443 |
-
'id' => 'swift-footer-
|
4444 |
-
'title' => __('
|
4445 |
'type' => 'color_rgba',
|
4446 |
'default' => array(
|
4447 |
'color' => '#888888',
|
@@ -4451,22 +4962,65 @@ Redux::setSection( $opt_name, array(
|
|
4451 |
)
|
4452 |
),
|
4453 |
array(
|
4454 |
-
'id' => 'swift-footer-
|
4455 |
-
'title' => __('
|
4456 |
'type' => 'color_rgba',
|
4457 |
'default' => array(
|
4458 |
-
'color' => '#
|
4459 |
),
|
4460 |
'required' => array(
|
4461 |
array('footer-customize-options','=',1)
|
4462 |
)
|
4463 |
),
|
4464 |
array(
|
4465 |
-
'id' =>
|
4466 |
-
'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4467 |
'type' => 'color_rgba',
|
4468 |
'default' => array(
|
4469 |
-
'color' => '#
|
4470 |
),
|
4471 |
'required' => array(
|
4472 |
array('footer-customize-options','=',1)
|
@@ -4483,12 +5037,48 @@ Redux::setSection( $opt_name, array(
|
|
4483 |
array('footer-customize-options','=',1)
|
4484 |
)
|
4485 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4486 |
array(
|
4487 |
'id' => 'footer2-position-type',
|
4488 |
-
'title' => __('Footer Menu Position', 'accelerated-mobile-pages'),
|
4489 |
'type' => 'select',
|
4490 |
'options'=> array(
|
4491 |
-
'1' => '
|
4492 |
'2' => 'Inline'
|
4493 |
),
|
4494 |
'default'=> '1',
|
@@ -4513,6 +5103,15 @@ Redux::setSection( $opt_name, array(
|
|
4513 |
'title' => __('Pages', 'accelerated-mobile-pages'),
|
4514 |
'indent' => true,
|
4515 |
),*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4516 |
// Meta ON/OFF Pages
|
4517 |
array(
|
4518 |
'id' => 'meta_page',
|
@@ -4525,7 +5124,7 @@ Redux::setSection( $opt_name, array(
|
|
4525 |
'type' => 'switch',
|
4526 |
'default' => '0',
|
4527 |
'title' => __('Subpages/ChildPages', 'accelerated-mobile-pages'),
|
4528 |
-
'subtitle' => __('Shows a List of Subpages'),
|
4529 |
),
|
4530 |
)
|
4531 |
));
|
@@ -4540,13 +5139,12 @@ Redux::setSection( $opt_name, array(
|
|
4540 |
array(
|
4541 |
'id' => 'social-shre',
|
4542 |
'type' => 'section',
|
4543 |
-
'title' => __('Social
|
4544 |
'indent' => true,
|
4545 |
//'start' => true,
|
4546 |
//'label' => 'Tab 2',
|
4547 |
-
'
|
4548 |
-
|
4549 |
-
),
|
4550 |
),
|
4551 |
// Facebook Like
|
4552 |
array(
|
@@ -4567,7 +5165,7 @@ Redux::setSection( $opt_name, array(
|
|
4567 |
array(
|
4568 |
'id' => 'amp-facebook-app-id',
|
4569 |
'title' => __('Facebook App ID', 'accelerated-mobile-pages'),
|
4570 |
-
'subtitle' => __('In order to use Facebook share you need to register an app ID, you can register one here: https://developers.facebook.com/apps.', 'accelerated-mobile-pages'),
|
4571 |
'type' => 'text',
|
4572 |
'required' => array('enable-single-facebook-share', '=' , '1'),
|
4573 |
'placeholder' => __('Enter your facebook app id','accelerated-mobile-pages'),
|
@@ -4592,7 +5190,7 @@ Redux::setSection( $opt_name, array(
|
|
4592 |
'id' => 'enable-single-twitter-share-link',
|
4593 |
'type' => 'switch',
|
4594 |
'title' => __('Pretty Permalinks for Twitter Share?', 'accelerated-mobile-pages'),
|
4595 |
-
'subtitle' => __('Enable this to have pretty links for twitter sharing'),
|
4596 |
'default' => 0,
|
4597 |
'required' => array('enable-single-twitter-share', '=' , '1'),
|
4598 |
),
|
@@ -4714,16 +5312,24 @@ Redux::setSection( $opt_name, array(
|
|
4714 |
array(
|
4715 |
'id' => 'social-prfl',
|
4716 |
'type' => 'section',
|
4717 |
-
'title' => __('Social Profile', 'accelerated-mobile-pages'),
|
4718 |
'indent' => true,
|
4719 |
//'start' => true,
|
4720 |
//'label' => 'Tab 2',
|
|
|
|
|
|
|
|
|
|
|
4721 |
),
|
4722 |
array(
|
4723 |
'id' => 'menu-social',
|
4724 |
'type' => 'switch',
|
4725 |
'title' => __('Menu Social Profile', 'accelerated-mobile-pages'),
|
4726 |
-
'default' => 0
|
|
|
|
|
|
|
4727 |
),
|
4728 |
array(
|
4729 |
'id' => 'enbl-fb',
|
@@ -4731,7 +5337,7 @@ Redux::setSection( $opt_name, array(
|
|
4731 |
'title' => __('Facebook', 'accelerated-mobile-pages'),
|
4732 |
'default' => 1,
|
4733 |
'required' => array(
|
4734 |
-
array('menu-social','=',1)
|
4735 |
)
|
4736 |
),
|
4737 |
array(
|
@@ -4909,11 +5515,13 @@ Redux::setSection( $opt_name, array(
|
|
4909 |
'id' => 'social-media-profiles-subsection',
|
4910 |
'type' => 'section',
|
4911 |
'title' => __('Social Media Profiles (Design #3)', 'accelerated-mobile-pages'),
|
4912 |
-
'subtitle' => __('Please enter your personal/organizational social media profiles here', 'accelerated-mobile-pages'),
|
4913 |
'indent' => true,
|
4914 |
'required' => array(
|
4915 |
array('amp-design-selector', '=' , '3')
|
4916 |
),
|
|
|
|
|
4917 |
),
|
4918 |
//#1
|
4919 |
array(
|
@@ -5155,9 +5763,17 @@ Redux::setSection( $opt_name, array(
|
|
5155 |
'required' => array(
|
5156 |
array('amp-design-selector', '=' , '3')
|
5157 |
),
|
5158 |
-
'subtitle' => __('Display date along with author and category in posts', 'accelerated-mobile-pages' ),
|
5159 |
'default' => '0'
|
5160 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5161 |
// Show Date As
|
5162 |
array(
|
5163 |
'id' => 'ampforwp-post-date-global',
|
@@ -5174,7 +5790,7 @@ Redux::setSection( $opt_name, array(
|
|
5174 |
'id' =>'ampforwp-post-date-format',
|
5175 |
'type' =>'select',
|
5176 |
'title' =>__('Date Format','accelerated-mobile-pages'),
|
5177 |
-
'subtitle' => __('Select the Date Format of Posts', 'accelerated-mobile-pages'),
|
5178 |
'options' => array(
|
5179 |
'1' => 'Ago',
|
5180 |
'2' => 'Traditional view'
|
@@ -5195,7 +5811,7 @@ Redux::setSection( $opt_name, array(
|
|
5195 |
'type' => 'switch',
|
5196 |
'title' => __('Modified Date Notice', 'accelerated-mobile-pages'),
|
5197 |
'default' => 0,
|
5198 |
-
'subtitle' => __('Show Modified date of an article at the end of the post.', 'accelerated-mobile-pages'),
|
5199 |
),
|
5200 |
)
|
5201 |
|
@@ -5214,6 +5830,14 @@ Redux::setSection( $opt_name, array(
|
|
5214 |
'id' => 'amp-design',
|
5215 |
'subsection' => true,
|
5216 |
'fields' => array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5217 |
|
5218 |
// RTL
|
5219 |
array(
|
@@ -5221,7 +5845,7 @@ Redux::setSection( $opt_name, array(
|
|
5221 |
'type' => 'switch',
|
5222 |
'title' => __('RTL Support', 'accelerated-mobile-pages'),
|
5223 |
'default' => 0,
|
5224 |
-
'subtitle' => __('Enable Right to Left language support', 'accelerated-mobile-pages'),
|
5225 |
'true' => 'true',
|
5226 |
'false' => 'false',
|
5227 |
),
|
@@ -5229,7 +5853,7 @@ Redux::setSection( $opt_name, array(
|
|
5229 |
'id' => 'ampforwp-sub-categories-support',
|
5230 |
'type' => 'switch',
|
5231 |
'title' => __('Sub-Categories under Category', 'accelerated-mobile-pages'),
|
5232 |
-
'subtitle' => __('Display sub-categories on category pages', 'accelerated-mobile-pages'),
|
5233 |
'default' => '0'
|
5234 |
),
|
5235 |
)
|
38 |
'plugin_active_path'=> 'ads-for-wp/ads-for-wp.php',
|
39 |
'item_name'=>'ADS for WP',
|
40 |
'store_url'=>'https://accounts.ampforwp.com',
|
41 |
+
'is_activated'=>(is_plugin_active('ads-for-wp/ads-for-wp.php')? 1: 2),
|
42 |
+
'settingUrl'=>admin_url('edit.php?post_type=ads-for-wp-ads'),
|
43 |
),
|
44 |
array(
|
45 |
'name'=>'Advanced AMP ADS',
|
51 |
'item_name'=>'Advanced AMP Ads',
|
52 |
'store_url'=>'https://accounts.ampforwp.com',
|
53 |
'is_activated'=>(is_plugin_active('amp-incontent-ads/amptoolkit-incontent-ads.php')? 1:2),
|
54 |
+
'settingUrl'=>'{ampforwp-incontent-ads-subsection}',
|
55 |
),
|
56 |
array(
|
57 |
'name'=>'Contact Form 7',
|
63 |
'item_name'=>'Contact Form 7 for AMP',
|
64 |
'store_url'=>'https://accounts.ampforwp.com',
|
65 |
'is_activated'=>(is_plugin_active('amp-cf7/amp-cf7.php')? 1 : 2),
|
66 |
+
'settingUrl'=>'{ampforwp-cf7-subsection}',
|
67 |
),
|
68 |
array(
|
69 |
'name'=>'Gravity Forms',
|
75 |
'item_name'=>'Gravity Forms',
|
76 |
'store_url'=>'https://accounts.ampforwp.com',
|
77 |
'is_activated'=>(is_plugin_active('amp-gravity-forms/amp-gravity-forms.php')? 1 : 2),
|
78 |
+
'settingUrl'=>'{ampforwp-gf-subsection}',
|
79 |
),
|
80 |
array(
|
81 |
'name'=>'Email Opt-in Forms',
|
87 |
'item_name'=>'Opt-in-Forms for AMP',
|
88 |
'store_url'=>'https://accounts.ampforwp.com',
|
89 |
'is_activated'=>(is_plugin_active('amp-optin/amp-optin.php')? 1 : 2),
|
90 |
+
'settingUrl'=>'{ampforwp-optin-subsection}'
|
91 |
),
|
92 |
array(
|
93 |
'name'=>'AMP Cache',
|
99 |
'item_name'=>'AMP Cache',
|
100 |
'store_url'=>'https://accounts.ampforwp.com',
|
101 |
'is_activated'=>(is_plugin_active('amp-cache/ampforwp-cache.php')? 1 : 2),
|
102 |
+
'settingUrl'=>'{opt-go-amp-cache}',
|
103 |
),
|
104 |
array(
|
105 |
'name'=>'Call To Action (CTA)',
|
111 |
'item_name'=>'Call To Action for AMP',
|
112 |
'store_url'=>'https://accounts.ampforwp.com',
|
113 |
'is_activated'=>(is_plugin_active('amp-cta/amp-cta.php')? 1 : 2),
|
114 |
+
'settingUrl'=>'{ampforwp-cta-subsection}',
|
115 |
),
|
116 |
array(
|
117 |
'name'=>'AMP WooCommerce Pro',
|
123 |
'item_name'=>'WooCommerce',
|
124 |
'store_url'=>'https://accounts.ampforwp.com',
|
125 |
'is_activated'=>(is_plugin_active('amp-woocommerce-pro/amp-woocommerce.php')? 1 : 2),
|
126 |
+
'settingUrl'=>'{ampforwp-wcp-subsection}',
|
127 |
+
),
|
128 |
+
|
129 |
+
array(
|
130 |
+
'name'=> 'EDD for AMP',
|
131 |
+
'desc'=> 'EDD compatibility with AMP',
|
132 |
+
'img_src'=> AMPFORWP_IMAGE_DIR . '/click.png',
|
133 |
+
'price'=> '$19',
|
134 |
+
'url_link'=>'https://ampforwp.com/edd-for-amp/',
|
135 |
+
'plugin_active_path'=> 'edd-for-amp/edd-for-amp.php',
|
136 |
+
'item_name'=>'EDD for AMP',
|
137 |
+
'store_url'=>'https://accounts.ampforwp.com',
|
138 |
+
'is_activated'=>(is_plugin_active('edd-for-amp/edd-for-amp.php')? 1 : 2),
|
139 |
+
),
|
140 |
+
|
141 |
+
array(
|
142 |
+
'name'=>'AMP Layouts',
|
143 |
+
'desc'=>'layout system built for AMP that makes easy to create your own AMP templates.',
|
144 |
+
'img_src'=>AMPFORWP_IMAGE_DIR . '/email.png',
|
145 |
+
'price'=>'$89',
|
146 |
+
'url_link'=>'https://ampforwp.com/amp-layouts/',
|
147 |
+
'plugin_active_path'=> 'amp-layouts/amp-layouts.php',
|
148 |
+
'item_name'=>'AMP Layouts',
|
149 |
+
'store_url'=>'https://accounts.ampforwp.com',
|
150 |
+
'is_activated'=>(is_plugin_active('amp-layouts/amp-layouts.php')? 1 : 2),
|
151 |
+
'settingUrl'=>'{amp-theme-settings}',
|
152 |
),
|
153 |
|
154 |
array(
|
174 |
'item_name'=>'Newspaper Theme for AMP',
|
175 |
'store_url'=>'https://accounts.ampforwp.com',
|
176 |
'is_activated'=>(is_plugin_active('amp-newspaper-theme/ampforwp-custom-theme.php')? 1 : 2),
|
177 |
+
'settingUrl'=>'{ampforwp-theme-subsection}',
|
178 |
),
|
179 |
|
180 |
array(
|
187 |
'item_name'=>'ACF for AMP',
|
188 |
'store_url'=>'https://accounts.ampforwp.com',
|
189 |
'is_activated'=>(is_plugin_active('acf-for-amp-v2/amp-acf.php')? 1 : 2),
|
190 |
+
'settingUrl'=>admin_url('edit.php?post_type=amp_acf'),
|
191 |
),
|
192 |
array(
|
193 |
'name'=>'AMP Comments',
|
199 |
'item_name'=>'AMP Comments',
|
200 |
'store_url'=>'https://accounts.ampforwp.com',
|
201 |
'is_activated'=>(is_plugin_active('amp-comments/amp-comments.php')? 1: 2),
|
202 |
+
'settingUrl'=>'{ampforwp-cmt-subsection}',
|
203 |
),
|
204 |
array(
|
205 |
'name'=>'Star Ratings',
|
211 |
'item_name'=>'AMP Rating',
|
212 |
'store_url'=>'https://accounts.ampforwp.com',
|
213 |
'is_activated'=>(is_plugin_active('amp-rating/amp-rating.php')? 1 : 2),
|
214 |
+
'settingUrl'=>'{ampforwp-ratings-subsection}',
|
215 |
),
|
216 |
array(
|
217 |
'name'=>'Custom Post Type',
|
223 |
'item_name'=>'Custom Post Type Support for AMP',
|
224 |
'store_url'=>'https://accounts.ampforwp.com',
|
225 |
'is_activated'=>(is_plugin_active('amp-custom-post-type/amp-custom-post-type.php')? 1 : 2),
|
226 |
+
'settingUrl'=>'{ampforwp-cpt-subsection}',
|
227 |
),
|
228 |
array(
|
229 |
'name'=>'Structured Data for WP',
|
235 |
'item_name'=>'Structured Data for WP',
|
236 |
'store_url'=>'https://accounts.ampforwp.com',
|
237 |
'is_activated'=>(is_plugin_active('structured-data-for-wp/structured-data-for-wp.php')? 1: 2),
|
238 |
+
//'settingUrl'=>'',
|
239 |
),
|
240 |
array(
|
241 |
'name'=>'Polylang For AMP',
|
242 |
+
'desc'=>'Polylang compatibility with AMP',
|
243 |
'img_src'=>AMPFORWP_IMAGE_DIR . '/click.png',
|
244 |
+
'price'=>'$19',
|
245 |
'url_link'=>'https://ampforwp.com/polylang-for-amp/',
|
246 |
'plugin_active_path'=> 'polylang-for-amp/amp_polylang.php',
|
247 |
'item_name'=>'Polylang For AMP',
|
249 |
'is_activated'=>(is_plugin_active('polylang-for-amp/amp_polylang.php')? 1: 2),
|
250 |
),
|
251 |
array(
|
252 |
+
'name'=>'WPML For AMP',
|
253 |
'desc'=>'WPML compatibility with AMP',
|
254 |
'img_src'=>AMPFORWP_IMAGE_DIR . '/click.png',
|
255 |
+
'price'=>'$19',
|
256 |
'url_link'=>'https://ampforwp.com/wpml-for-amp/',
|
257 |
'plugin_active_path'=> 'wpml-for-amp/wpml_for_amp.php',
|
258 |
'item_name'=>'WPML For AMP',
|
269 |
'item_name'=>'AMP Teaser',
|
270 |
'store_url'=>'https://accounts.ampforwp.com',
|
271 |
'is_activated'=>(is_plugin_active('amp-teaser/amp-teaser.php')? 1: 2),
|
272 |
+
'settingUrl'=>'{ampforwp-teaser-subsection}',
|
273 |
),
|
274 |
array(
|
275 |
'name'=>'View All Extensions',
|
287 |
|
288 |
$extension_listing_array = apply_filters( 'ampforwp_extension_lists_filter', $extension_listing_array );
|
289 |
$ampforwp_extension_list_html = '';
|
|
|
290 |
$ampforwp_nameOfUser = "";
|
291 |
$ampforwp_is_productActivated = false;
|
292 |
usort($extension_listing_array, function($a, $b){
|
300 |
|
301 |
$onclickUrl = '<a href="'.$extension['url_link'].'" target="_blank">';
|
302 |
$onclickUrlclose = '</a>';
|
303 |
+
$settingPageUrl = '';
|
304 |
$pluginReview = '<div class="extension_btn">From: '.$extension['price'].'</div>';
|
305 |
if($extension['plugin_active_path'] != "" && is_plugin_active($extension['plugin_active_path']) ){
|
306 |
$ampforwp_is_productActivated = true;
|
307 |
$currentStatus = "not-active invalid";
|
308 |
$pathExploded = explode("/", $extension['plugin_active_path']);
|
309 |
$pathExploded = $pathExploded[0];
|
310 |
+
if(isset($extension['settingUrl']) && $extension['settingUrl']!=""){
|
311 |
+
|
312 |
+
$settingPageUrl = '<div class="extension-menu-call"><a href="'.$extension['settingUrl'].'" class="amp_extension_settings"><i class="dashicons-before dashicons-admin-generic"></i> Settings</a></div>';
|
313 |
+
}
|
314 |
|
315 |
$amplicense = '';
|
316 |
$onclickUrl = $onclickUrlclose= '';
|
340 |
}
|
341 |
|
342 |
}
|
343 |
+
$secondPageClickClass = '';
|
344 |
if($extension['is_activated']==1 && strpos($ampforwp_extension_list_html, "Your Installed Extensions")===false){
|
345 |
$ampforwp_extension_list_html .= "<h3 style='display:block;'>Your Installed Extensions</h3><ul>";
|
346 |
+
}elseif($extension['is_activated']==2 && strpos($ampforwp_extension_list_html, "All Extensions")===false){
|
347 |
+
$ampforwp_extension_list_html .= "</ul><h3 style='display:block;'>All Extensions</h3><ul>";
|
348 |
+
$secondPageClickClass = 'goToSecondPage';
|
349 |
}
|
350 |
+
$ampforwp_extension_list_html .= '<li class="first '.$currentStatus.' '.$secondPageClickClass.'" data-ext-details=\''.json_encode($extension).'\'>
|
351 |
+
'.$onclickUrl.'
|
352 |
<div class="align_left"><img src="'.$extension['img_src'].'" /></div>
|
353 |
<div class="extension_desc">
|
354 |
<h2>'.$extension['name'].'</h2>
|
355 |
<p>'.$extension['desc'].'</p>
|
356 |
'.$pluginReview.'
|
357 |
</div>
|
358 |
+
'.$onclickUrlclose.' '.$settingPageUrl.'</li>';
|
359 |
}
|
360 |
|
361 |
$extension_listing = '
|
501 |
$layouts = ampforwp_upcomming_layouts_demo();
|
502 |
if(is_array($layouts)){
|
503 |
foreach($layouts as $k=>$val){
|
504 |
+
$upcomingLayoutsDesign .= '<div class="amp_layout_upcomming">
|
505 |
<div class="amppb_ad-layout-layout">
|
506 |
<div class="amppb_ad-layout-wrapper">
|
507 |
<div class="amppb_ad-layout_pro"><a href="https://ampforwp.com/amp-layouts/" target="_blank">PRO</a></div>
|
564 |
|
565 |
);
|
566 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
567 |
|
568 |
Redux::setArgs( "redux_builder_amp", $args );
|
569 |
|
609 |
'id' => 'opt-blank',
|
610 |
'title' => __( 'Example Text', 'accelerated-mobile-pages' ),
|
611 |
'desc' => __( 'Example description.', 'accelerated-mobile-pages' ),
|
612 |
+
'tooltip-subtitle' => __( 'Example subtitle.', 'accelerated-mobile-pages' ),
|
613 |
)
|
614 |
)
|
615 |
) );
|
623 |
padding: 8px 11px;background: #4CAF50;
|
624 |
font-size: 13px;margin: -24px 0 0 10px;
|
625 |
border-radius: 5px;line-height: 22px;position:relative;top:30px"><a style="color: #fff;text-decoration: none;" href="https://wordpress.org/support/view/plugin-reviews/accelerated-mobile-pages?rate=5#postform">Like this plugin? <br /> Leave a 5 Star Rating</a></h2>We are actively working on updating the plugin. We have built user friendly options which allows you to make changes on your AMP version.', 'accelerated-mobile-pages' ), 'accelerated-mobile-pages' )
|
626 |
+
. '<div style="width:100%;margin:20px 0px 10px 0px" class="getstarted_wrapper">
|
627 |
<div class="getstarted_options">
|
628 |
<p><b>Getting Started</b></p>
|
629 |
+
<ul class="getstarted_ul">
|
630 |
+
<li><a href="https://ampforwp.com/tutorials/article-categories/installation-updating/" target="_blank">Installation & Setup</a></li>
|
631 |
+
<li><a href="https://ampforwp.com/tutorials/article-categories/settings-options/" target="_blank">Settings & Options</a></li>
|
632 |
+
<li><a href="https://ampforwp.com/tutorials/article-categories/setup-amp/" target="_blank">Setup AMP</a></li>
|
633 |
+
<li><a href="https://ampforwp.com/tutorials/article-categories/page-builder/" target="_blank">Page Builder</a></li>
|
634 |
+
</ul>
|
635 |
</div>
|
636 |
<div class="getstarted_options">
|
637 |
<p><b>Useful Links</b></p>
|
638 |
+
<ul class="getstarted_ul">
|
639 |
+
<li><a href="https://ampforwp.com/tutorials/article-categories/extension/" target="_blank">Extensions & Themes Docs</a></li>
|
640 |
+
<li><a href="https://ampforwp.com/tutorials/article-categories/extending/" target="_blank">Developers Docs</a></li>
|
641 |
+
<li><a href="https://ampforwp.com/amp-theme-framework/" target="_blank">Create a Custom Theme for AMP</a></li>
|
642 |
+
<li><a href="https://ampforwp.com/tutorials/article-categories/how-to/" target="_blank">General How To\'s</a></li>
|
643 |
+
</ul>
|
644 |
</div>
|
645 |
<div class="clear"></div>
|
646 |
</div>'
|
647 |
. '<p><strong>' . __( '1. <a href="https://ampforwp.com/priority-support/" target="_blank">Fixing AMP Validation Errors</a>: ', 'accelerated-mobile-pages' ) . '</strong>' . __( 'We will personally take care that your website’s AMP version is perfectly validated. We will make sure that your AMP version gets approved and indexed by Google Webmaster Tools properly and we will even keep an eye on AMP updates from Google and implement them into your website.' ) . '</p>'
|
648 |
+
. '<p><strong>' . __( '2. <a href="https://ampforwp.com/help/#support-forum" target="_blank">Community Support Forum</a>: ', 'accelerated-mobile-pages' ) . '</strong>' . __( 'We have a special community support forum where you can ask us questions and get help about your AMP related questions. Delivering a good user experience means alot to us and so we try our best to reply each and every question that gets asked.' ) . '</p>'
|
649 |
+
. '<p><strong>' . __( '3. <a href="https://ampforwp.com/help/#contact" target="_blank">Hire Us / Other queries</a>: ', 'accelerated-mobile-pages' ) . '</strong>' . __( 'We try to answer each and every email, so remember to give us some time. For any other queries, please use the contact form. Please be descriptive as possible.' ) . '</p>'
|
650 |
+
. '<p><strong>' . __( '4. <a href="http://ampforwp.com/new/" target="_blank"> What\'s New in this Version?</a>: ', 'accelerated-mobile-pages' ) . '</strong>' . __( 'If you want to know whats new in the latest version of the plugin, then please use this link. ') . '</p>'
|
651 |
|
652 |
+
. '</p></div>
|
653 |
<br /><p><h3>Take AMP to the Next Level with Premium Extensions</h3></p>
|
654 |
' .$gettingstarted_extension_listing
|
655 |
|
656 |
+
, 'accelerated-mobile-pages' ),
|
657 |
'icon' => 'el el-cogs'
|
658 |
) );
|
659 |
|
690 |
'id' => 'ampforwp-custom-type',
|
691 |
'type' => 'select',
|
692 |
'title' => __('Custom Post Types', 'accelerated-mobile-pages'),
|
693 |
+
'tooltip-subtitle' => __('Enable AMP Support on Custom Post Types', 'accelerated-mobile-pages'),
|
694 |
'multi' => true,
|
695 |
//'data' => 'post_type',
|
696 |
'options' => ampforwp_get_cpt_generated_post_types(),
|
697 |
);
|
698 |
}
|
699 |
+
|
700 |
+
// AMP to WP Default value
|
701 |
+
function ampforwp_amp2wp_default(){
|
702 |
+
$default = 0;
|
703 |
+
$theme = '';
|
704 |
+
$theme = wp_get_theme(); // gets the current theme
|
705 |
+
|
706 |
+
if ( 'AMP WordPress Theme' == $theme->name || 'AMP WordPress Theme' == $theme->parent_theme ) {
|
707 |
+
$default = 1;
|
708 |
+
}
|
709 |
+
return $default;
|
710 |
+
}
|
711 |
+
|
712 |
Redux::setSection( $opt_name, array(
|
713 |
'title' => __( 'General', 'accelerated-mobile-pages' ),
|
714 |
// 'desc' => __( 'For full documentation on this field, visit: ', 'accelerated-mobile-pages' ) . '<a href="http://docs.reduxframework.com/core/fields/text/" target="_blank">http://docs.reduxframework.com/core/fields/text/</a>',
|
715 |
'id' => 'opt-text-subsection',
|
716 |
'subsection' => true,
|
717 |
'fields' => array(
|
718 |
+
array(
|
719 |
+
'id' => 'amp-logo',
|
720 |
+
'type' => 'section',
|
721 |
+
'title' => __('Branding', 'accelerated-mobile-pages'),
|
722 |
+
'indent' => true,
|
723 |
+
'layout_type' => 'accordion',
|
724 |
+
'accordion-open'=> 1,
|
725 |
+
),
|
726 |
|
727 |
array(
|
728 |
'id' => 'opt-media',
|
729 |
'type' => 'media',
|
730 |
'url' => true,
|
731 |
'title' => __('Logo', 'accelerated-mobile-pages'),
|
732 |
+
'tooltip-subtitle'=>__('Upload a logo for the AMP version. (Recommended logo size: 190x36)', 'accelerated-mobile-pages'),
|
|
|
733 |
'default' => array('url' => ampforwp_default_logo_settings() ),
|
734 |
),
|
735 |
array(
|
736 |
'id' => 'ampforwp-custom-logo-dimensions',
|
737 |
+
'title' => __('Resize', 'accelerated-mobile-pages'),
|
738 |
'type' => 'switch',
|
739 |
'default' => 0,
|
740 |
),
|
742 |
'id' => 'ampforwp-custom-logo-dimensions-options',
|
743 |
'title' => __('Resize Method', 'accelerated-mobile-pages'),
|
744 |
'type' => 'select',
|
745 |
+
'class' => 'child_opt child_opt_arrow',
|
746 |
'default' => '100',
|
747 |
'options' => array(
|
748 |
'flexible' => 'Flexible Width',
|
755 |
'id' => 'ampforwp-custom-logo-dimensions-slider',
|
756 |
'title' => __('Resize Your Logo', 'accelerated-mobile-pages'),
|
757 |
'type' => 'amp_slider',
|
758 |
+
'class' => 'child_opt',
|
759 |
'default' => '100',
|
760 |
'min' => 0,
|
761 |
'max' => 100,
|
|
|
762 |
'required'=>array('ampforwp-custom-logo-dimensions-options','=','flexible'),
|
763 |
),
|
764 |
array(
|
765 |
+
'class' => 'child_opt',
|
766 |
'id' => 'opt-media-width',
|
767 |
'type' => 'text',
|
768 |
'title' => __('Logo Width', 'accelerated-mobile-pages'),
|
769 |
+
'tooltip-subtitle' => __('Default width is 190 pixels', 'accelerated-mobile-pages'),
|
770 |
'default' => '190',
|
771 |
'required'=>array('ampforwp-custom-logo-dimensions-options','=','prescribed'),
|
772 |
),
|
773 |
array(
|
774 |
+
'class' => 'child_opt',
|
775 |
'id' => 'opt-media-height',
|
776 |
'type' => 'text',
|
777 |
'title' => __('Logo Height', 'accelerated-mobile-pages'),
|
778 |
+
'tooltip-subtitle' => __('Default height is 36 pixels', 'accelerated-mobile-pages'),
|
779 |
'default' => '36',
|
780 |
'required'=>array('ampforwp-custom-logo-dimensions-options','=','prescribed'),
|
781 |
|
785 |
'type' => 'section',
|
786 |
'title' => __('AMP Support', 'accelerated-mobile-pages'),
|
787 |
'indent' => true,
|
788 |
+
'layout_type' => 'accordion',
|
789 |
+
'accordion-open'=> 1,
|
790 |
),
|
791 |
array(
|
792 |
'id' =>'amp-on-off-for-all-posts',
|
793 |
'type' => 'switch',
|
794 |
'title' => __('Posts', 'accelerated-mobile-pages'),
|
795 |
+
'tooltip-subtitle' => __('Enable AMP Support on Posts', 'accelerated-mobile-pages'),
|
796 |
'default' => 1,
|
797 |
// 'desc' => __( 'Re-Save permalink if you make changes in this option, please have a look <a href="https://ampforwp.com/flush-rewrite-urls/">here</a> on how to do it', 'accelerated-mobile-pages' ),
|
798 |
),
|
799 |
+
array(
|
800 |
'id' =>'amp-on-off-for-all-pages',
|
801 |
'type' => 'switch',
|
802 |
'title' => __('Pages', 'accelerated-mobile-pages'),
|
803 |
+
'tooltip-subtitle' => __('Enable AMP Support on Pages.', 'accelerated-mobile-pages'),
|
804 |
'default' => 1,
|
805 |
+
// 'tooltip-subtitle' => __( '<a href="https://ampforwp.com/flush-rewrite-urls/">Re-Save permalink</a> if you make changes in this option, please have a look here on how to do it', 'accelerated-mobile-pages' ),
|
806 |
),
|
807 |
array(
|
808 |
'id' => 'ampforwp-homepage-on-off-support',
|
809 |
'type' => 'switch',
|
810 |
'title' => __('Homepage', 'accelerated-mobile-pages'),
|
811 |
+
'tooltip-subtitle' => __('Enable AMP Support on Homepage.', 'accelerated-mobile-pages'),
|
812 |
'default' => '1'
|
813 |
),
|
814 |
array(
|
816 |
'type' => 'switch',
|
817 |
'title' => __('Custom Front Page', 'accelerated-mobile-pages'),
|
818 |
'default' => 0,
|
819 |
+
'tooltip-subtitle' => __('Set Custom Front Page as Homepage', 'accelerated-mobile-pages'),
|
820 |
'true' => 'true',
|
821 |
'false' => 'false',
|
822 |
'required' => array('ampforwp-homepage-on-off-support','=','1'),
|
825 |
array(
|
826 |
'id' => 'amp-frontpage-select-option-pages',
|
827 |
'type' => 'select',
|
828 |
+
'class' => 'child_opt child_opt_arrow',
|
829 |
'title' => __('Select Page as Front Page', 'accelerated-mobile-pages'),
|
830 |
'required' => array('amp-frontpage-select-option', '=' , '1'),
|
831 |
// Must provide key => value pairs for select options
|
839 |
array(
|
840 |
'id' => 'ampforwp-title-on-front-page',
|
841 |
'type' => 'switch',
|
842 |
+
'class' => 'child_opt',
|
843 |
'url' => true,
|
844 |
'title' => __('Title on Static Front Page', 'accelerated-mobile-pages'),
|
845 |
+
'tooltip-subtitle' => __('Enable/Disable display of title on the Static Front Page.', 'accelerated-mobile-pages'),
|
846 |
'default' => 0,
|
847 |
'required' => array('amp-frontpage-select-option', '=' , '1'),
|
848 |
),
|
849 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
850 |
array(
|
851 |
'id' => 'ampforwp-archive-support',
|
852 |
'type' => 'switch',
|
853 |
'title' => __('Archives [Category & Tags]', 'accelerated-mobile-pages'),
|
854 |
+
'tooltip-subtitle' => __('Enable AMP Support on Archives.', 'accelerated-mobile-pages'),
|
855 |
'default' => '0'
|
856 |
),
|
857 |
$amp_cpt_option,
|
859 |
'id' => 'ampforwp-amp-convert-to-wp',
|
860 |
'type' => 'switch',
|
861 |
'title' => __('Convert AMP to WP theme (Beta)', 'accelerated-mobile-pages'),
|
862 |
+
'tooltip-subtitle' => __('It makes your AMP & Non-AMP Same! (AMP will output AMP Compatible code, while WordPress will have the WP code but with the same design)', 'accelerated-mobile-pages'),
|
863 |
+
'default' => ampforwp_amp2wp_default(),
|
864 |
'required' => array('amp-design-selector', '=' , '4'),
|
865 |
),
|
866 |
array(
|
867 |
'id' => 'ampforwp-amp-takeover',
|
868 |
'type' => 'switch',
|
869 |
'title' => __('AMP Takeover (Beta)', 'accelerated-mobile-pages'),
|
870 |
+
'tooltip-subtitle' => __('Make your non-amp to load the AMP (AMP & NON-AMP both will be AMP with same design)', 'accelerated-mobile-pages'),
|
871 |
'default' => '0'
|
872 |
),
|
873 |
|
875 |
// 'id' => 'amp-ad-places',
|
876 |
// 'type' => 'select',
|
877 |
// 'title' => __( 'Ads on Page', 'accelerated-mobile-pages' ),
|
878 |
+
// 'tooltip-subtitle' => __( 'select your preferece for Ads on Post Types', 'accelerated-mobile-pages' ),
|
879 |
// 'options' => array(
|
880 |
// '1' => __('Only on Posts', 'accelerated-mobile-pages' ),
|
881 |
// '2' => __('Only on Pages', 'accelerated-mobile-pages' ),
|
906 |
line-height: 1.6;
|
907 |
position: absolute;
|
908 |
left: 0px;
|
909 |
+
top: 15px;
|
910 |
font-size: 15px;"><b>Introducing AMP Page Builder 3.0</b>, Re-Engineered in Vue.js! <br /> <a href="https://ampforwp.com/tutorials/article/amp-page-builder-installation/" target="_blank">Learn how to use this Feature</a></div>
|
911 |
|
912 |
<iframe style="position: absolute;left: 0px;margin-top: 67px;" width="600" height="400" src="https://www.youtube.com/embed/QTbkn2rHyqM" frameborder="0" allowfullscreen></iframe>
|
933 |
'id' => 'amp-ads',
|
934 |
'subsection' => true,
|
935 |
'fields' => array(
|
936 |
+
array(
|
937 |
+
'id' => 'amp-ads_1',
|
938 |
+
'type' => 'section',
|
939 |
+
'title' => __('Advertisement Positions', 'accelerated-mobile-pages'),
|
940 |
+
'indent' => true,
|
941 |
+
'layout_type' => 'accordion',
|
942 |
+
'accordion-open'=> 1,
|
943 |
+
),
|
944 |
// Ad 1 Starts
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
945 |
array(
|
946 |
'id' =>'enable-amp-ads-1',
|
947 |
'type' => 'switch',
|
948 |
'title' => __('AD #1', 'accelerated-mobile-pages'),
|
949 |
'default' => 0,
|
950 |
+
'desc' => __('Below the Header (SiteWide)', 'accelerated-mobile-pages'),
|
951 |
'true' => 'Enabled',
|
952 |
'false' => 'Disabled',
|
953 |
),
|
954 |
array(
|
955 |
+
'class' => 'child_opt child_opt_arrow',
|
956 |
'id' => 'enable-amp-ads-select-1',
|
957 |
'type' => 'select',
|
958 |
'title' => __('AD Size', 'accelerated-mobile-pages'),
|
969 |
'default' => '2',
|
970 |
),
|
971 |
array(
|
972 |
+
'class' => 'child_opt',
|
973 |
'id' =>'enable-amp-ads-text-feild-client-1',
|
974 |
'type' => 'text',
|
975 |
'required' => array('enable-amp-ads-1', '=' , '1'),
|
976 |
'title' => __('Data AD Client', 'accelerated-mobile-pages'),
|
977 |
+
'tooltip-subtitle' => __('Enter the Data Ad Client (data-ad-client) from the adsense ad code.', 'accelerated-mobile-pages'),
|
978 |
'default' => '',
|
979 |
'placeholder'=> 'ca-pub-2005XXXXXXXXX342'
|
980 |
),
|
981 |
array(
|
982 |
+
'class' => 'child_opt',
|
983 |
'id' => 'enable-amp-ads-text-feild-slot-1',
|
984 |
'type' => 'text',
|
985 |
'title' => __('Data AD Slot', 'accelerated-mobile-pages'),
|
986 |
+
'tooltip-subtitle' => __('Enter the Data Ad Slot (data-ad-slot) from the adsense ad code.', 'accelerated-mobile-pages'),
|
987 |
'default' => '',
|
988 |
'required' => array('enable-amp-ads-1', '=' , '1'),
|
989 |
'placeholder'=> '70XXXXXX12'
|
990 |
),
|
991 |
array(
|
992 |
+
'class' => 'child_opt',
|
993 |
'id' =>'enable-amp-ads-resp-1',
|
994 |
'type' => 'switch',
|
995 |
'title' => __('Responsive Ad unit', 'accelerated-mobile-pages'),
|
1004 |
'type' => 'switch',
|
1005 |
'title' => __('AD #2', 'accelerated-mobile-pages'),
|
1006 |
'default' => 0,
|
1007 |
+
'desc' => __('Below the Footer (SiteWide)', 'accelerated-mobile-pages'),
|
1008 |
'true' => 'Enabled',
|
1009 |
'false' => 'Disabled',
|
1010 |
),
|
1011 |
array(
|
1012 |
+
'class' => 'child_opt child_opt_arrow',
|
1013 |
'id' => 'enable-amp-ads-select-2',
|
1014 |
'type' => 'select',
|
1015 |
'title' => __('AD Size', 'accelerated-mobile-pages'),
|
1027 |
'default' => '2',
|
1028 |
),
|
1029 |
array(
|
1030 |
+
'class' => 'child_opt',
|
1031 |
'id' =>'enable-amp-ads-text-feild-client-2',
|
1032 |
'type' => 'text',
|
1033 |
'required' => array('enable-amp-ads-2', '=' , '1'),
|
1034 |
'title' => __('Data AD Client', 'accelerated-mobile-pages'),
|
1035 |
+
'tooltip-subtitle' => __('Enter the Data Ad Client (data-ad-client) from the adsense ad code.', 'accelerated-mobile-pages'),
|
1036 |
'default' => '',
|
1037 |
'placeholder'=> 'ca-pub-2005XXXXXXXXX342'
|
1038 |
),
|
1039 |
array(
|
1040 |
+
'class' => 'child_opt',
|
1041 |
'id' => 'enable-amp-ads-text-feild-slot-2',
|
1042 |
'type' => 'text',
|
1043 |
'title' => __('Data AD Slot', 'accelerated-mobile-pages'),
|
1044 |
+
'tooltip-subtitle' => __('Enter the Data Ad Slot (data-ad-slot) from the adsense ad code.', 'accelerated-mobile-pages'),
|
1045 |
'default' => '',
|
1046 |
'required' => array('enable-amp-ads-2', '=' , '1'),
|
1047 |
'placeholder'=> '70XXXXXX12'
|
1048 |
),
|
1049 |
array(
|
1050 |
+
'class' => 'child_opt',
|
1051 |
'id' =>'enable-amp-ads-resp-2',
|
1052 |
'type' => 'switch',
|
1053 |
'title' => __('Responsive Ad unit', 'accelerated-mobile-pages'),
|
1062 |
'type' => 'switch',
|
1063 |
'title' => __('AD #3', 'accelerated-mobile-pages'),
|
1064 |
'default' => 0,
|
1065 |
+
'desc' => __('Above the Post Content (Single Post)', 'accelerated-mobile-pages'),
|
1066 |
'true' => 'Enabled',
|
1067 |
'false' => 'Disabled',
|
1068 |
),
|
1069 |
array(
|
1070 |
+
'class' => 'child_opt child_opt_arrow',
|
1071 |
'id' => 'enable-amp-ads-select-3',
|
1072 |
'type' => 'select',
|
1073 |
'title' => __('AD Size', 'accelerated-mobile-pages'),
|
1085 |
'default' => '2',
|
1086 |
),
|
1087 |
array(
|
1088 |
+
'class' => 'child_opt',
|
1089 |
'id' =>'enable-amp-ads-text-feild-client-3',
|
1090 |
'type' => 'text',
|
1091 |
'required' => array('enable-amp-ads-3', '=' , '1'),
|
1092 |
'title' => __('Data AD Client', 'accelerated-mobile-pages'),
|
1093 |
+
'tooltip-subtitle' => __('Enter the Data Ad Client (data-ad-client) from the adsense ad code.', 'accelerated-mobile-pages'),
|
1094 |
'default' => '',
|
1095 |
'placeholder'=> 'ca-pub-2005XXXXXXXXX342'
|
1096 |
),
|
1097 |
array(
|
1098 |
+
'class' => 'child_opt',
|
1099 |
'id' => 'enable-amp-ads-text-feild-slot-3',
|
1100 |
'type' => 'text',
|
1101 |
'title' => __('Data AD Slot', 'accelerated-mobile-pages'),
|
1102 |
+
'tooltip-subtitle' => __('Enter the Data Ad Slot (data-ad-slot) from the adsense ad code.', 'accelerated-mobile-pages'),
|
1103 |
'default' => '',
|
1104 |
'required' => array('enable-amp-ads-3', '=' , '1'),
|
1105 |
'placeholder'=> '70XXXXXX12'
|
1106 |
),
|
1107 |
array(
|
1108 |
+
'class' => 'child_opt',
|
1109 |
'id' =>'enable-amp-ads-resp-3',
|
1110 |
'type' => 'switch',
|
1111 |
'title' => __('Responsive Ad unit', 'accelerated-mobile-pages'),
|
1120 |
'type' => 'switch',
|
1121 |
'title' => __('AD #4', 'accelerated-mobile-pages'),
|
1122 |
'default' => 0,
|
1123 |
+
'desc' => __('Below the Post Content (Single Post)', 'accelerated-mobile-pages'),
|
1124 |
'true' => 'Enabled',
|
1125 |
'false' => 'Disabled',
|
1126 |
),
|
1127 |
array(
|
1128 |
+
'class' => 'child_opt child_opt_arrow',
|
1129 |
'id' => 'enable-amp-ads-select-4',
|
1130 |
'type' => 'select',
|
1131 |
'title' => __('AD Size', 'accelerated-mobile-pages'),
|
1143 |
'default' => '2',
|
1144 |
),
|
1145 |
array(
|
1146 |
+
'class' => 'child_opt',
|
1147 |
'id' =>'enable-amp-ads-text-feild-client-4',
|
1148 |
'type' => 'text',
|
1149 |
'required' => array('enable-amp-ads-4', '=' , '1'),
|
1150 |
'title' => __('Data AD Client', 'accelerated-mobile-pages'),
|
1151 |
+
'tooltip-subtitle' => __('Enter the Data Ad Client (data-ad-client) from the adsense ad code.', 'accelerated-mobile-pages'),
|
1152 |
'default' => '',
|
1153 |
'placeholder'=> 'ca-pub-2005XXXXXXXXX342'
|
1154 |
),
|
1155 |
array(
|
1156 |
+
'class' => 'child_opt',
|
1157 |
'id' => 'enable-amp-ads-text-feild-slot-4',
|
1158 |
'type' => 'text',
|
1159 |
'title' => __('Data AD Slot', 'accelerated-mobile-pages'),
|
1160 |
+
'tooltip-subtitle' => __('Enter the Data Ad Slot (data-ad-slot) from the adsense ad code. ', 'accelerated-mobile-pages'),
|
1161 |
'default' => '',
|
1162 |
'required' => array('enable-amp-ads-4', '=' , '1'),
|
1163 |
'placeholder'=> '70XXXXXX12'
|
1164 |
),
|
1165 |
array(
|
1166 |
+
'class' => 'child_opt',
|
1167 |
'id' =>'enable-amp-ads-resp-4',
|
1168 |
'type' => 'switch',
|
1169 |
'title' => __('Responsive Ad unit', 'accelerated-mobile-pages'),
|
1178 |
'type' => 'switch',
|
1179 |
'title' => __('AD #5', 'accelerated-mobile-pages'),
|
1180 |
'default' => 0,
|
1181 |
+
'desc' => __('Below The Title (Single Post)', 'accelerated-mobile-pages'),
|
1182 |
'true' => 'Enabled',
|
1183 |
'false' => 'Disabled',
|
1184 |
),
|
1185 |
array(
|
1186 |
+
'class' => 'child_opt child_opt_arrow',
|
1187 |
'id' => 'enable-amp-ads-select-5',
|
1188 |
'type' => 'select',
|
1189 |
'title' => __('AD Size', 'accelerated-mobile-pages'),
|
1201 |
'default' => '2',
|
1202 |
),
|
1203 |
array(
|
1204 |
+
'class' => 'child_opt',
|
1205 |
'id' =>'enable-amp-ads-text-feild-client-5',
|
1206 |
'type' => 'text',
|
1207 |
'required' => array('enable-amp-ads-5', '=' , '1'),
|
1208 |
'title' => __('Data AD Client', 'accelerated-mobile-pages'),
|
1209 |
+
'tooltip-subtitle' => __('Enter the Data Ad Client (data-ad-client) from the adsense ad code.', 'accelerated-mobile-pages'),
|
1210 |
'default' => '',
|
1211 |
'placeholder'=> 'ca-pub-2005XXXXXXXXX342'
|
1212 |
),
|
1213 |
array(
|
1214 |
+
'class' => 'child_opt',
|
1215 |
'id' => 'enable-amp-ads-text-feild-slot-5',
|
1216 |
'type' => 'text',
|
1217 |
'title' => __('Data AD Slot', 'accelerated-mobile-pages'),
|
1218 |
+
'tooltip-subtitle' => __('Enter the Data Ad Slot (data-ad-slot) from the adsense ad code. ', 'accelerated-mobile-pages'),
|
1219 |
'default' => '',
|
1220 |
'required' => array('enable-amp-ads-5', '=' , '1'),
|
1221 |
'placeholder'=> '70XXXXXX12'
|
1222 |
),
|
1223 |
array(
|
1224 |
+
'class' => 'child_opt',
|
1225 |
'id' =>'enable-amp-ads-resp-5',
|
1226 |
'type' => 'switch',
|
1227 |
'title' => __('Responsive Ad unit', 'accelerated-mobile-pages'),
|
1235 |
'type' => 'switch',
|
1236 |
'title' => __('AD #6', 'accelerated-mobile-pages'),
|
1237 |
'default' => 0,
|
1238 |
+
'desc' => __('Above the Related Posts (Single Post)', 'accelerated-mobile-pages'),
|
1239 |
'true' => 'Enabled',
|
1240 |
'false' => 'Disabled',
|
1241 |
),
|
1242 |
array(
|
1243 |
+
'class' => 'child_opt child_opt_arrow',
|
1244 |
'id' => 'enable-amp-ads-select-6',
|
1245 |
'type' => 'select',
|
1246 |
'title' => __('AD Size', 'accelerated-mobile-pages'),
|
1258 |
'default' => '2',
|
1259 |
),
|
1260 |
array(
|
1261 |
+
'class' => 'child_opt',
|
1262 |
'id' =>'enable-amp-ads-text-feild-client-6',
|
1263 |
'type' => 'text',
|
1264 |
'required' => array('enable-amp-ads-6', '=' , '1'),
|
1265 |
'title' => __('Data AD Client', 'accelerated-mobile-pages'),
|
1266 |
+
'tooltip-subtitle' => __('Enter the Data Ad Client (data-ad-client) from the adsense ad code.', 'accelerated-mobile-pages'),
|
1267 |
'default' => '',
|
1268 |
'placeholder'=> 'ca-pub-2005XXXXXXXXX342'
|
1269 |
),
|
1270 |
array(
|
1271 |
+
'class' => 'child_opt',
|
1272 |
'id' => 'enable-amp-ads-text-feild-slot-6',
|
1273 |
'type' => 'text',
|
1274 |
'title' => __('Data AD Slot', 'accelerated-mobile-pages'),
|
1275 |
+
'tooltip-subtitle' => __('Enter the Data Ad Slot (data-ad-slot) from the adsense ad code. ', 'accelerated-mobile-pages'),
|
1276 |
'default' => '',
|
1277 |
'required' => array('enable-amp-ads-6', '=' , '1'),
|
1278 |
'placeholder'=> '70XXXXXX12'
|
1279 |
),
|
1280 |
array(
|
1281 |
+
'class' => 'child_opt',
|
1282 |
'id' =>'enable-amp-ads-resp-6',
|
1283 |
'type' => 'switch',
|
1284 |
'title' => __('Responsive Ad unit', 'accelerated-mobile-pages'),
|
1286 |
'required' => array('enable-amp-ads-6', '=' , '1'),
|
1287 |
),
|
1288 |
|
1289 |
+
array(
|
1290 |
+
'id' => 'amp-ads_2',
|
1291 |
+
'type' => 'section',
|
1292 |
+
'title' => __('Ad Performance', 'accelerated-mobile-pages'),
|
1293 |
+
'indent' => true,
|
1294 |
+
'layout_type' => 'accordion',
|
1295 |
+
'accordion-open'=> 1,
|
1296 |
+
),
|
1297 |
+
|
1298 |
+
array(
|
1299 |
+
'id' => 'amp-ads_2',
|
1300 |
+
'type' => 'section',
|
1301 |
+
'title' => __('Ad Performance', 'accelerated-mobile-pages'),
|
1302 |
+
'indent' => true,
|
1303 |
+
'layout_type' => 'accordion',
|
1304 |
+
'accordion-open'=> 1,
|
1305 |
+
),
|
1306 |
+
array(
|
1307 |
+
'id' =>'ampforwp-ads-data-loading-strategy',
|
1308 |
+
'type' => 'switch',
|
1309 |
+
'title' => __('Optimize For Viewability', 'accelerated-mobile-pages'),
|
1310 |
+
'default' => 0,
|
1311 |
+
'tooltip-subtitle' => __('This will increase the loading speed of the Ads', 'accelerated-mobile-pages'),
|
1312 |
+
'true' => 'Enabled',
|
1313 |
+
'false' => 'Disabled',
|
1314 |
+
),
|
1315 |
+
array(
|
1316 |
+
'id' => 'amp-ads_3',
|
1317 |
+
'type' => 'section',
|
1318 |
+
'title' => __('General', 'accelerated-mobile-pages'),
|
1319 |
+
'indent' => true,
|
1320 |
+
'layout_type' => 'accordion',
|
1321 |
+
'accordion-open'=> 1,
|
1322 |
+
),
|
1323 |
+
array(
|
1324 |
+
'id' =>'ampforwp-ads-sponsorship',
|
1325 |
+
'type' => 'switch',
|
1326 |
+
'title' => __('Sponsorship Label', 'accelerated-mobile-pages'),
|
1327 |
+
'default' => 0,
|
1328 |
+
'true' => 'Enabled',
|
1329 |
+
'false' => 'Disabled',
|
1330 |
+
),
|
1331 |
+
array(
|
1332 |
+
'id' =>'ampforwp-ads-sponsorship-label',
|
1333 |
+
'type' => 'text',
|
1334 |
+
'required' => array('ampforwp-ads-sponsorship', '=' , '1'),
|
1335 |
+
'title' => __('Sponsorship Label Text', 'accelerated-mobile-pages'),
|
1336 |
+
'class' => 'child_opt child_opt_arrow',
|
1337 |
+
'default' => '',
|
1338 |
+
'placeholder'=> 'Sponsored'
|
1339 |
+
),
|
1340 |
+
|
1341 |
),
|
1342 |
) );
|
1343 |
|
1365 |
'type' => 'section',
|
1366 |
'title' => __('General', 'accelerated-mobile-pages'),
|
1367 |
'indent' => true,
|
1368 |
+
'layout_type' => 'accordion',
|
1369 |
+
'accordion-open'=> 1,
|
1370 |
),
|
1371 |
array(
|
1372 |
'id' => 'ampforwp-seo-meta-description',
|
1373 |
'type' => 'switch',
|
1374 |
'title' => __('Meta Description', 'accelerated-mobile-pages'),
|
1375 |
+
'tooltip-subtitle' => __('The meta tag that displays in head', 'accelerated-mobile-pages'),
|
1376 |
'default' => 0
|
1377 |
),
|
1378 |
|
1379 |
array(
|
1380 |
'id' => 'ampforwp-seo-custom-additional-meta',
|
1381 |
'type' => 'textarea',
|
1382 |
+
'title' => __('Head Section', 'accelerated-mobile-pages'),
|
1383 |
+
'tooltip-subtitle' => __('Adds additional Meta to the head section', 'accelerated-mobile-pages', 'accelerated-mobile-pages'),
|
|
|
1384 |
'placeholder' => __('<!-- Paste your Additional HTML , that goes between <head> </head> tags -->','accelerated-mobile-pages')
|
1385 |
),
|
1386 |
array(
|
1388 |
'type' => 'section',
|
1389 |
'title' => __('SEO Plugin Integration', 'accelerated-mobile-pages'),
|
1390 |
'indent' => true,
|
1391 |
+
'layout_type' => 'accordion',
|
1392 |
+
'accordion-open'=> 1,
|
1393 |
),
|
1394 |
array(
|
1395 |
'id' => 'ampforwp-seo-selection',
|
1401 |
),
|
1402 |
'default' => ampforwp_seo_default(),
|
1403 |
),
|
1404 |
+
array(
|
1405 |
+
'class' => 'child_opt child_opt_arrow',
|
1406 |
'id' => 'ampforwp-seo-yoast-meta',
|
1407 |
'type' => 'switch',
|
1408 |
+
'tooltip-subtitle' => __('Adds Social and Open Graph Meta Tags from Yoast', 'accelerated-mobile-pages'),
|
1409 |
'title' => __( 'Meta Tags from Yoast', 'accelerated-mobile-pages' ),
|
1410 |
'default' => '1',
|
1411 |
'required' => array('ampforwp-seo-selection', '=' , '1'),
|
1412 |
),
|
1413 |
array(
|
1414 |
+
'class' => 'child_opt',
|
1415 |
'id' => 'ampforwp-seo-yoast-description',
|
1416 |
'type' => 'switch',
|
1417 |
+
'tooltip-subtitle' => __('Adds Yoast Custom description to ld+json for AMP page', 'accelerated-mobile-pages'),
|
1418 |
'title' => __( 'Yoast Description in ld+json', 'accelerated-mobile-pages' ),
|
1419 |
'default' => 0,
|
1420 |
'required' => array('ampforwp-seo-selection', '=' , '1'),
|
1429 |
array(
|
1430 |
'id' => 'ampforwp-seo-index-noindex-sub-section',
|
1431 |
'type' => 'section',
|
1432 |
+
'title' => __('Advanced Indexing', 'accelerated-mobile-pages'),
|
1433 |
+
'indent' => true,
|
1434 |
+
'layout_type' => 'accordion',
|
1435 |
+
'accordion-open'=> 0,
|
1436 |
),
|
1437 |
array(
|
1438 |
'id' => 'ampforwp-robots-archive-sub-pages-sitewide',
|
1439 |
'type' => 'switch',
|
1440 |
'title' => __('Archive subpages (sitewide)', 'accelerated-mobile-pages'),
|
1441 |
+
'tooltip-subtitle' => __("Such as /page/2 so on and so forth",'accelerated-mobile-pages'),
|
1442 |
'default' => 0,
|
1443 |
'on' => 'index',
|
1444 |
'off' => 'noindex'
|
1447 |
'id' => 'ampforwp-robots-archive-author-pages',
|
1448 |
'type' => 'switch',
|
1449 |
'title' => __('Author Archives', 'accelerated-mobile-pages'),
|
1450 |
+
'tooltip-subtitle' => __("Enable it to set Indexing for Author Archives",'accelerated-mobile-pages'),
|
1451 |
'default' => 1,
|
1452 |
'on' => 'index',
|
1453 |
'off' => 'noindex'
|
1457 |
'id' => 'ampforwp-robots-archive-date-pages',
|
1458 |
'type' => 'switch',
|
1459 |
'title' => __('Date Archives', 'accelerated-mobile-pages'),
|
1460 |
+
'tooltip-subtitle' => __("Enable it to set Indexing for Date Archives",'accelerated-mobile-pages'),
|
1461 |
'default' => 1,
|
1462 |
'on' => 'index',
|
1463 |
'off' => 'noindex'
|
1467 |
'id' => 'ampforwp-robots-archive-category-pages',
|
1468 |
'type' => 'switch',
|
1469 |
'title' => __('Categories', 'accelerated-mobile-pages'),
|
1470 |
+
'tooltip-subtitle' => __("Enable it to set Indexing for Categories",'accelerated-mobile-pages'),
|
1471 |
'default' => 1,
|
1472 |
'on' => 'index',
|
1473 |
'off' => 'noindex'
|
1476 |
'id' => 'ampforwp-robots-archive-tag-pages',
|
1477 |
'type' => 'switch',
|
1478 |
'title' => __('Tags', 'accelerated-mobile-pages'),
|
1479 |
+
'tooltip-subtitle' => __("Enable it to set Indexing for Tags",'accelerated-mobile-pages'),
|
1480 |
'default' => 1,
|
1481 |
'on' => 'index',
|
1482 |
'off' => 'noindex'
|
1496 |
'desc' => $cache_desc,
|
1497 |
'subsection' => true,
|
1498 |
'fields' => array(
|
1499 |
+
array(
|
1500 |
+
'id' => 'ampforwp-performance',
|
1501 |
+
'type' => 'section',
|
1502 |
+
'title' => __('Performance Enhancement', 'accelerated-mobile-pages'),
|
1503 |
+
'indent' => true,
|
1504 |
+
'layout_type' => 'accordion',
|
1505 |
+
'accordion-open'=> 1,
|
1506 |
+
),
|
1507 |
|
1508 |
array(
|
1509 |
'id' => 'ampforwp_cache_minimize_mode',
|
1510 |
'type' => 'switch',
|
1511 |
+
'title' => __('Minify', 'accelerated-mobile-pages'),
|
1512 |
+
'tooltip-subtitle' => __('Improve the Page Speed and Loading time with Minification option', 'accelerated-mobile-pages'),
|
1513 |
'default' => 0
|
1514 |
),
|
1515 |
|
1534 |
Redux::setSection( $opt_name, array(
|
1535 |
'title' => __('Analytics'),
|
1536 |
// 'icon' => 'el el-th-large',
|
|
|
1537 |
'subsection' => true,
|
1538 |
'fields' =>
|
1539 |
array(
|
1542 |
'type' => 'select',
|
1543 |
'title' => __( 'Analytics Type', 'accelerated-mobile-pages' ),
|
1544 |
'class' => 'hide',
|
1545 |
+
'tooltip-subtitle' => __( 'Select your Analytics provider.', 'accelerated-mobile-pages' ),
|
1546 |
'options' => array(
|
1547 |
'1' => __('Google Analytics', 'accelerated-mobile-pages' ),
|
1548 |
'2' => __('Segment Analytics', 'accelerated-mobile-pages' ),
|
1562 |
),
|
1563 |
'default' => '1',
|
1564 |
),
|
1565 |
+
|
1566 |
+
array(
|
1567 |
+
'id' => 'ampforwp-analytics_1',
|
1568 |
+
'type' => 'section',
|
1569 |
+
'title' => __('Primary Analytic Providers', 'accelerated-mobile-pages'),
|
1570 |
+
'indent' => true,
|
1571 |
+
'layout_type' => 'accordion',
|
1572 |
+
'accordion-open'=> 1,
|
1573 |
+
),
|
1574 |
+
// Google Analytics
|
1575 |
array(
|
1576 |
'id' => 'ampforwp-ga-switch',
|
1577 |
'type' => 'switch',
|
1582 |
),
|
1583 |
),
|
1584 |
array(
|
1585 |
+
'class' => 'child_opt child_opt_arrow',
|
1586 |
'id' => 'ga-feild',
|
1587 |
'type' => 'text',
|
1588 |
+
'title' => __( 'Tracking ID', 'accelerated-mobile-pages' ),
|
1589 |
'required' => array(
|
1590 |
array('amp-use-gtm-option', '=' , '0'),
|
1591 |
array('ampforwp-ga-switch', '=' , '1'),
|
1592 |
array('ampforwp-ga-field-advance-switch', '=' , '0')
|
1593 |
),
|
1594 |
+
'tooltip-subtitle' => __( 'Enter your Google Analytics ID. Example: UA-XXXXX-Y', 'accelerated-mobile-pages' ),
|
|
|
1595 |
'default' => 'UA-XXXXX-Y',
|
1596 |
),
|
1597 |
|
1598 |
// Advance Tracking options for Google Analytics
|
1599 |
array(
|
1600 |
+
'class' => 'child_opt',
|
1601 |
'id' => 'ampforwp-ga-field-advance-switch',
|
1602 |
'type' => 'switch',
|
1603 |
'title' => __( 'Advanced Google Analytics', 'accelerated-mobile-pages' ),
|
1608 |
'default' => 0,
|
1609 |
),
|
1610 |
array(
|
1611 |
+
'class' => 'child_opt',
|
1612 |
'id' => 'ampforwp-ga-field-advance',
|
1613 |
'type' => 'ace_editor',
|
1614 |
'title' => __('Analytics Code in JSON Format', 'accelerated-mobile-pages'),
|
1615 |
+
'tooltip-subtitle' => __('Tutorial: <a href="https://ampforwp.com/tutorials/article/add-advanced-google-analytics-amp/" target="_blank">How To Add Advanced Google Analytics in AMP?</a>', 'accelerated-mobile-pages'),
|
1616 |
'required' => array(
|
1617 |
array('amp-use-gtm-option', '=' , '0'),
|
1618 |
array('ampforwp-ga-switch', '=' , '1'),
|
1637 |
}
|
1638 |
}','accelerated-mobile-pages')
|
1639 |
),
|
1640 |
+
|
1641 |
+
//GTM
|
1642 |
+
array(
|
1643 |
+
'id' => 'amp-use-gtm-option',
|
1644 |
+
'type' => 'switch',
|
1645 |
+
'title' => __( 'Google Tag Manager', 'accelerated-mobile-pages' ),
|
1646 |
+
'tooltip-subtitle' => __( 'Enable GTM Support in AMP.', 'accelerated-mobile-pages' ),
|
1647 |
+
'default' => 1,
|
1648 |
+
),
|
1649 |
+
array(
|
1650 |
+
'class'=>'child_opt child_opt_arrow',
|
1651 |
+
'id' =>'amp-gtm-id',
|
1652 |
+
'type' => 'text',
|
1653 |
+
'title' => __('Tag Manager ID (Container ID)','accelerated-mobile-pages'),
|
1654 |
+
'default' => '',
|
1655 |
+
'tooltip-subtitle' => __('Eg: GTM-5XXXXXP (<a href="https://ampforwp.com/tutorials/article/gtm-in-amp/" style="color:#f1f1f1;">Getting Started?</a>)','accelerated-mobile-pages'),
|
1656 |
+
// 'validate' => 'not_empty',
|
1657 |
+
'required' => array(
|
1658 |
+
array('amp-use-gtm-option', '=' , '1')
|
1659 |
+
),
|
1660 |
+
),
|
1661 |
+
// array(
|
1662 |
+
// 'id' =>'amp-gtm-analytics-type',
|
1663 |
+
// 'type' => 'text',
|
1664 |
+
// 'title' => __('Analytics Type','accelerated-mobile-pages'),
|
1665 |
+
// 'default' => '',
|
1666 |
+
// 'desc' => __('Eg: googleanalytics','accelerated-mobile-pages'),
|
1667 |
+
// // 'validate' => 'not_empty',
|
1668 |
+
// 'required' => array(
|
1669 |
+
// array('amp-use-gtm-option', '=' , '1')
|
1670 |
+
// ),
|
1671 |
+
// ),
|
1672 |
+
array(
|
1673 |
+
'class'=>'child_opt',
|
1674 |
+
'id' =>'amp-gtm-analytics-code',
|
1675 |
+
'type' => 'text',
|
1676 |
+
'title' => __('Analytics ID','accelerated-mobile-pages'),
|
1677 |
+
'default' => '',
|
1678 |
+
'tooltip-subtitle' => 'Eg: UA-XXXXXX-Y',
|
1679 |
+
// 'validate' => 'not_empty',
|
1680 |
+
'required' => array(
|
1681 |
+
array('amp-use-gtm-option', '=' , '1')),
|
1682 |
+
),
|
1683 |
+
// Google Cliend ID API
|
1684 |
+
array(
|
1685 |
+
'id' => 'ampforwp-ga-clientid-api-gtm',
|
1686 |
+
'type' => 'info',
|
1687 |
+
'style' => 'info',
|
1688 |
+
'desc' => '<a href="https://ampforwp.com/tutorials/article/set-google-amp-client-id-api/" target="_blank">Check this Tutorial to set it up</a>',
|
1689 |
+
'title' => __('Set up Google AMP Client ID API', 'accelerated-mobile-pages'),
|
1690 |
+
'required' => array(
|
1691 |
+
array('amp-use-gtm-option', '=' , '1'),
|
1692 |
+
),
|
1693 |
+
),
|
1694 |
+
|
1695 |
+
|
1696 |
+
array(
|
1697 |
+
'required' => array(
|
1698 |
+
array('amp-use-gtm-option', '=' , '0'),
|
1699 |
+
),
|
1700 |
+
'id' => 'ampforwp-analytics_2',
|
1701 |
+
'type' => 'section',
|
1702 |
+
'title' => __('General Analytics Providers', 'accelerated-mobile-pages'),
|
1703 |
+
'indent' => true,
|
1704 |
+
'layout_type' => 'accordion',
|
1705 |
+
'accordion-open'=> 1,
|
1706 |
+
),
|
1707 |
+
array(
|
1708 |
+
'required' => array(
|
1709 |
+
array('amp-use-gtm-option', '=' , '0'),
|
1710 |
+
),
|
1711 |
+
'id' =>'amp-fb-pixel',
|
1712 |
+
'type' => 'switch',
|
1713 |
+
'title' => __('Facebook Pixel','accelerated-mobile-pages'),
|
1714 |
+
'default' => 0,
|
1715 |
+
),
|
1716 |
+
array(
|
1717 |
+
'id' =>'amp-fb-pixel-id',
|
1718 |
+
'type' => 'text',
|
1719 |
+
'title' => __('Facebook Pixel ID','accelerated-mobile-pages'),
|
1720 |
+
'default' => '',
|
1721 |
+
'desc' => 'Example: 153246987501548',
|
1722 |
+
'required' => array(
|
1723 |
+
array('amp-fb-pixel', '=' , '1')),
|
1724 |
+
), // Segment Analytics
|
1725 |
array(
|
1726 |
'id' => 'ampforwp-Segment-switch',
|
1727 |
'type' => 'switch',
|
1735 |
'id' => 'sa-feild',
|
1736 |
'type' => 'text',
|
1737 |
'title' => __( 'Segment Analytics', 'accelerated-mobile-pages' ),
|
1738 |
+
'tooltip-subtitle' => __( 'Enter your Segment Analytics Key.', 'accelerated-mobile-pages' ),
|
1739 |
'required' => array(
|
1740 |
array('amp-use-gtm-option', '=' , '0'),
|
1741 |
array('ampforwp-Segment-switch', '=' , '1')
|
1761 |
array('ampforwp-Piwik-switch', '=' , '1')
|
1762 |
),
|
1763 |
'desc' => __( 'Example: https://piwik.example.org/piwik.php?idsite=YOUR_SITE_ID&rec=1&action_name=TITLE&urlref=DOCUMENT_REFERRER&url=CANONICAL_URL&rand=RANDOM', 'accelerated-mobile-pages' ),
|
1764 |
+
'tooltip-subtitle' => __('Enter your Piwik Analytics URL.', 'accelerated-mobile-pages' ),
|
1765 |
'default' => '#',
|
1766 |
),
|
1767 |
// Quantcast
|
1827 |
array('ampforwp-Effective-switch', '=' , '1')
|
1828 |
),
|
1829 |
'desc' => __( 'Example: https://s.effectivemeasure.net/d/6/i?pu=CANONICAL_URL&ru=DOCUMENT_REFERRER&rnd=RANDOM', 'accelerated-mobile-pages' ),
|
1830 |
+
'tooltip-subtitle' => __('Enter your Effective Measure URL.', 'accelerated-mobile-pages' ),
|
1831 |
'default' => '#',
|
1832 |
),
|
1833 |
// StatCounter
|
1849 |
array('ampforwp-StatCounter-switch', '=' , '1')
|
1850 |
),
|
1851 |
'desc' => __( 'Example: https://c.statcounter.com/PROJECT_ID/0/SECURITY_CODE/1/', 'accelerated-mobile-pages' ),
|
1852 |
+
'tooltip-subtitle' => __('Enter your StatCounter URL.', 'accelerated-mobile-pages' ),
|
1853 |
'default' => '#',
|
1854 |
),
|
1855 |
// Histats Analytics
|
1870 |
array('amp-use-gtm-option', '=' , '0'),
|
1871 |
array('ampforwp-Histats-switch', '=' , '1')
|
1872 |
),
|
1873 |
+
'tooltip-subtitle' => __( 'Enter your Histats Analytics ID.', 'accelerated-mobile-pages' ),
|
1874 |
'desc' => 'Tutorial: <a href="https://ampforwp.com/tutorials/how-to-get-histats-analytics-id/">How to get Histats Analytics ID for AMP?</a>',
|
1875 |
'default' => '',
|
1876 |
),
|
1892 |
'required' => array(
|
1893 |
array('amp-use-gtm-option', '=' , '0'),
|
1894 |
array('ampforwp-Yandex-switch', '=' , '1')),
|
1895 |
+
'tooltip-subtitle' => __( 'Enter your Counter ID.', 'accelerated-mobile-pages' ),
|
1896 |
),
|
1897 |
// Chartbeat Analytics
|
1898 |
array(
|
1913 |
'required' => array(
|
1914 |
array('amp-use-gtm-option', '=' , '0'),
|
1915 |
array('ampforwp-Chartbeat-switch', '=' , '1')),
|
1916 |
+
'tooltip-subtitle' => __( 'Enter your Account ID.', 'accelerated-mobile-pages' ),
|
1917 |
),
|
1918 |
// Alexa Metrics
|
1919 |
array(
|
1933 |
array('amp-use-gtm-option', '=' , '0'),
|
1934 |
array('ampforwp-Alexa-switch', '=' , '1')
|
1935 |
),
|
1936 |
+
'tooltip-subtitle' => __( 'Enter Account Number given by Alexa Metrics', 'accelerated-mobile-pages' ),
|
1937 |
'default' => '',
|
1938 |
),
|
1939 |
array(
|
1944 |
array('amp-use-gtm-option', '=' , '0'),
|
1945 |
array('ampforwp-Alexa-switch', '=' , '1')
|
1946 |
),
|
1947 |
+
'tooltip-subtitle' => __( 'Enter the domain', 'accelerated-mobile-pages' ),
|
1948 |
'default' => '',
|
1949 |
),
|
1950 |
// AFS Analytics
|
1965 |
array('amp-use-gtm-option', '=' , '0'),
|
1966 |
array('ampforwp-afs-analytics-switch', '=' , '1')
|
1967 |
),
|
1968 |
+
'tooltip-subtitle' => __( 'Enter the Website ID', 'accelerated-mobile-pages' ),
|
1969 |
'default' => '',
|
1970 |
'desc' => 'example: 00000003',
|
1971 |
),
|
1972 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1973 |
|
1974 |
)
|
1975 |
)
|
1991 |
}
|
1992 |
}
|
1993 |
|
1994 |
+
if( ! is_plugin_active('structured-data-for-wp/structured-data-for-wp.php') ) {
|
1995 |
add_filter('ampforwp_sd_custom_fields', 'ampforwp_add_extra_fields');
|
1996 |
function ampforwp_add_extra_fields($fields){
|
1997 |
$post_types = '';
|
2007 |
'id' => 'ampforwp-sd-type-'. $post_type,
|
2008 |
'type' => 'select',
|
2009 |
'title' => __($post_type, 'accelerated-mobile-pages'),
|
2010 |
+
'tooltip-subtitle' => __('Select the Structured Data Type for '.$post_type, 'accelerated-mobile-pages'),
|
2011 |
'options' => ampforwp_get_sd_types(),
|
2012 |
'default' => 'BlogPosting',
|
2013 |
);
|
2016 |
}
|
2017 |
array_splice($fields, 2, 0, $extra_fields);
|
2018 |
return $fields;
|
2019 |
+
}
|
2020 |
+
}
|
2021 |
+
|
2022 |
+
add_filter('ampforwp_sd_custom_fields', 'ampforwp_add_sd_fields');
|
2023 |
+
function ampforwp_add_sd_fields($fields){
|
2024 |
+
if( is_plugin_active('structured-data-for-wp/structured-data-for-wp.php') ) {
|
2025 |
+
$fields[] = array(
|
2026 |
+
'id' => 'amp-cf7-SSL-info',
|
2027 |
+
'type' => 'info',
|
2028 |
+
'desc' =>"<div style='background: #FFF9C4;padding: 12px;line-height: 1.6;margin:-30px -14px -18px -17px;'><span style='color:#303F9F;'> Note: </span> Structure data Extension is activated, you can setup the <a href=".admin_url( 'admin.php?page=structured_data_options&tab=5' )." target='_blank' >Schema Type Here</a></div>"
|
2029 |
+
);
|
2030 |
+
|
2031 |
+
return $fields;
|
2032 |
+
}
|
2033 |
+
else {
|
2034 |
+
$fields[] = array(
|
2035 |
+
'id' => 'ampforwp-sd_1',
|
2036 |
+
'type' => 'section',
|
2037 |
+
'title' => __('Schema & Structured Data', 'accelerated-mobile-pages'),
|
2038 |
+
'indent' => true,
|
2039 |
+
'layout_type' => 'accordion',
|
2040 |
+
'accordion-open'=> 1,
|
2041 |
+
);
|
2042 |
+
$fields[] = array(
|
2043 |
+
'id' => 'ampforwp-sd-type-posts',
|
2044 |
+
'type' => 'select',
|
2045 |
+
'title' => __('Posts', 'accelerated-mobile-pages'),
|
2046 |
+
'tooltip-subtitle' => __('Select the Structured Data Type for Posts', 'accelerated-mobile-pages'),
|
2047 |
+
'options' => ampforwp_get_sd_types(),
|
2048 |
+
'default' => 'BlogPosting',
|
2049 |
+
);
|
2050 |
+
$fields[] = array(
|
2051 |
+
'id' => 'ampforwp-sd-type-pages',
|
2052 |
+
'type' => 'select',
|
2053 |
+
'title' => __('Pages', 'accelerated-mobile-pages'),
|
2054 |
+
'tooltip-subtitle' => __('Select the Structured Data Type for Pages', 'accelerated-mobile-pages'),
|
2055 |
+
'options' => ampforwp_get_sd_types(),
|
2056 |
+
'default' => 'BlogPosting',
|
2057 |
+
);
|
2058 |
+
$fields[] = array(
|
2059 |
+
'id' => 'ampforwp-sd_2',
|
2060 |
+
'type' => 'section',
|
2061 |
+
'title' => __('Default Values Setup', 'accelerated-mobile-pages'),
|
2062 |
+
'indent' => true,
|
2063 |
+
'layout_type' => 'accordion',
|
2064 |
+
'accordion-open'=> 1,
|
2065 |
+
);
|
2066 |
+
|
2067 |
+
$fields[] = array(
|
2068 |
+
'id' => 'amp-structured-data-logo',
|
2069 |
+
'type' => 'media',
|
2070 |
+
'url' => true,
|
2071 |
+
'title' => __('Default Structured Data Logo', 'accelerated-mobile-pages'),
|
2072 |
+
'tooltip-subtitle' => __('Upload the logo you want to show in Google Structured Data. ', 'accelerated-mobile-pages'),
|
2073 |
+
);
|
2074 |
+
$fields[] = array(
|
2075 |
+
'id' => 'ampforwp-sd-logo-dimensions',
|
2076 |
+
'title' => __('Custom Logo Size', 'accelerated-mobile-pages'),
|
2077 |
+
'type' => 'switch',
|
2078 |
+
'default' => 0,
|
2079 |
+
);
|
2080 |
+
$fields[] = array(
|
2081 |
+
'class'=>'child_opt child_opt_arrow',
|
2082 |
+
'id' => 'ampforwp-sd-logo-width',
|
2083 |
+
'type' => 'text',
|
2084 |
+
'title' => __('Logo Width', 'accelerated-mobile-pages'),
|
2085 |
+
'tooltip-subtitle' => __('Default width is 600 pixels', 'accelerated-mobile-pages'),
|
2086 |
+
'default' => '600',
|
2087 |
+
'required'=>array('ampforwp-sd-logo-dimensions','=','1'),
|
2088 |
+
);
|
2089 |
+
$fields[] = array(
|
2090 |
+
'class'=>'child_opt',
|
2091 |
+
'id' => 'ampforwp-sd-logo-height',
|
2092 |
+
'type' => 'text',
|
2093 |
+
'title' => __('Logo Height', 'accelerated-mobile-pages'),
|
2094 |
+
'tooltip-subtitle' => __('Default height is 60 pixels', 'accelerated-mobile-pages'),
|
2095 |
+
'default' => '60',
|
2096 |
+
'required'=>array('ampforwp-sd-logo-dimensions','=','1'),
|
2097 |
+
);
|
2098 |
+
$fields[] = array(
|
2099 |
+
'id' => 'amp-structured-data-placeholder-image',
|
2100 |
+
'type' => 'media',
|
2101 |
+
'url' => true,
|
2102 |
+
'title' => __('Default Post Image', 'accelerated-mobile-pages'),
|
2103 |
+
'tooltip-subtitle' => __('Upload the Image you want to show as Placeholder Image.', 'accelerated-mobile-pages'),
|
2104 |
+
'placeholder' => __('when there is no featured image set in the post','accelerated-mobile-pages'),
|
2105 |
+
);
|
2106 |
+
$fields[] = array(
|
2107 |
+
'id' => 'amp-structured-data-placeholder-image-width',
|
2108 |
+
'title' => __('Default Post Image Width', 'accelerated-mobile-pages'),
|
2109 |
+
'type' => 'text',
|
2110 |
+
'placeholder' => '550',
|
2111 |
+
'tooltip-subtitle' => __('Please don\'t add "PX" in the image size.','accelerated-mobile-pages'),
|
2112 |
+
'default' => '700'
|
2113 |
+
);
|
2114 |
+
$fields[] = array(
|
2115 |
+
'id' => 'amp-structured-data-placeholder-image-height',
|
2116 |
+
'title' => __('Default Post Image Height', 'accelerated-mobile-pages'),
|
2117 |
+
'type' => 'text',
|
2118 |
+
'placeholder' => '350',
|
2119 |
+
'tooltip-subtitle' => __('Please don\'t add "PX" in the image size.','accelerated-mobile-pages'),
|
2120 |
+
'default' => '550'
|
2121 |
+
);
|
2122 |
+
$fields[] = array(
|
2123 |
+
'id' => 'amporwp-structured-data-video-thumb-url',
|
2124 |
+
'type' => 'media',
|
2125 |
+
'url' => true,
|
2126 |
+
'title' => __('Default Thumbnail for VideoObject', 'accelerated-mobile-pages'),
|
2127 |
+
'tooltip-subtitle' => __('Upload the Thumbnail you want to show as Video Thumbnail.', 'accelerated-mobile-pages'),
|
2128 |
+
'placeholder' => __('When there is no thumbnail set for the video','accelerated-mobile-pages'),
|
2129 |
+
);
|
2130 |
+
return $fields;
|
2131 |
}
|
2132 |
+
}
|
2133 |
+
// Structured Data
|
2134 |
Redux::setSection( $opt_name, array(
|
2135 |
'title' => __( 'Structured Data', 'accelerated-mobile-pages' ),
|
2136 |
'id' => 'opt-structured-data',
|
2137 |
'subsection' => true,
|
2138 |
+
'fields' => apply_filters('ampforwp_sd_custom_fields', $fields = array()
|
2139 |
+
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2140 |
) );
|
2141 |
|
2142 |
// Notifications SECTION
|
2146 |
'id' => 'amp-notifications',
|
2147 |
'subsection' => true,
|
2148 |
'fields' => array(
|
2149 |
+
array(
|
2150 |
+
'id' => 'ampforwp-notice_2',
|
2151 |
+
'type' => 'section',
|
2152 |
+
'title' => __('Notice Bar (Cookie Consent)', 'accelerated-mobile-pages'),
|
2153 |
+
'indent' => true,
|
2154 |
+
'layout_type' => 'accordion',
|
2155 |
+
'accordion-open'=> 1,
|
2156 |
+
),
|
2157 |
+
|
2158 |
array(
|
2159 |
'id' =>'amp-enable-notifications',
|
2160 |
'type' => 'switch',
|
2161 |
+
'title' => __('Notifications', 'accelerated-mobile-pages'),
|
2162 |
'default' => '',
|
2163 |
+
'tooltip-subtitle' => __('Show notifications on all of your AMP pages for cookie purposes, or anything else.', 'accelerated-mobile-pages'),
|
2164 |
'true' => 'Enabled',
|
2165 |
'false' => 'Disabled',
|
2166 |
),
|
2167 |
array(
|
2168 |
+
'class' => 'child_opt child_opt_arrow',
|
2169 |
'id' => 'amp-notification-text',
|
2170 |
+
'title' => __('Notice Content', 'accelerated-mobile-pages'),
|
2171 |
'type' => 'text',
|
2172 |
'required' => array('amp-enable-notifications', '=' , '1'),
|
2173 |
'default' => __('This website uses cookies.','accelerated-mobile-pages'),
|
2174 |
'placeholder' => __('Enter Text here','accelerated-mobile-pages'),
|
2175 |
),
|
2176 |
array(
|
2177 |
+
'class' => 'child_opt',
|
2178 |
'id' => 'amp-accept-button-text',
|
2179 |
+
'title' => __('Button Text', 'accelerated-mobile-pages'),
|
2180 |
'type' => 'text',
|
2181 |
'required' => array('amp-enable-notifications', '=' , '1'),
|
2182 |
'default' => __('Accept','accelerated-mobile-pages'),
|
2183 |
'placeholder' => __('Enter Text here','accelerated-mobile-pages'),
|
2184 |
),
|
2185 |
|
2186 |
+
array(
|
2187 |
+
'id' => 'ampforwp-notice_1',
|
2188 |
+
'type' => 'section',
|
2189 |
+
'title' => __('GDPR (General Data Protection Regulation)', 'accelerated-mobile-pages'),
|
2190 |
+
'indent' => true,
|
2191 |
+
'layout_type' => 'accordion',
|
2192 |
+
'accordion-open'=> 1,
|
2193 |
+
),
|
2194 |
+
array(
|
2195 |
+
'id' =>'amp-gdpr-compliance-switch',
|
2196 |
+
'type' => 'switch',
|
2197 |
+
'title' => __('GDPR Compliancy', 'accelerated-mobile-pages'),
|
2198 |
+
'default' => 0,
|
2199 |
+
),
|
2200 |
+
array(
|
2201 |
+
'class' => 'child_opt child_opt_arrow',
|
2202 |
+
'id' =>'amp-gdpr-compliance-headline-text',
|
2203 |
+
'type' => 'text',
|
2204 |
+
'title' => __('Headline Text', 'accelerated-mobile-pages'),
|
2205 |
+
'default' => 'Headline',
|
2206 |
+
'required' => array('amp-gdpr-compliance-switch', '=' , '1'),
|
2207 |
+
),
|
2208 |
+
array(
|
2209 |
+
'class' => 'child_opt',
|
2210 |
+
'tooltip-subtitle' => 'This is the message that you want to share with the audience',
|
2211 |
+
'id' =>'amp-gdpr-compliance-textarea',
|
2212 |
+
'type' => 'textarea',
|
2213 |
+
'title' => __('Message to Visitor', 'accelerated-mobile-pages'),
|
2214 |
+
'subtitle' => __('', 'accelerated-mobile-pages'),
|
2215 |
+
'default' => '',
|
2216 |
+
'required' => array('amp-gdpr-compliance-switch', '=' , '1'),
|
2217 |
+
),
|
2218 |
+
|
2219 |
+
array(
|
2220 |
+
'class' => 'child_opt',
|
2221 |
+
'id' =>'amp-gdpr-compliance-accept-text',
|
2222 |
+
'type' => 'text',
|
2223 |
+
'title' => __('Accept Button Text', 'accelerated-mobile-pages'),
|
2224 |
+
'default' => 'Accept',
|
2225 |
+
'required' => array('amp-gdpr-compliance-switch', '=' , '1'),
|
2226 |
+
),
|
2227 |
+
array(
|
2228 |
+
'class' => 'child_opt',
|
2229 |
+
'id' =>'amp-gdpr-compliance-reject-text',
|
2230 |
+
'type' => 'text',
|
2231 |
+
'title' => __('Reject Button Text', 'accelerated-mobile-pages'),
|
2232 |
+
'default' => 'Reject',
|
2233 |
+
'required' => array('amp-gdpr-compliance-switch', '=' , '1'),
|
2234 |
+
),
|
2235 |
+
array(
|
2236 |
+
'class' => 'child_opt',
|
2237 |
+
'id' =>'amp-gdpr-compliance-settings-text',
|
2238 |
+
'type' => 'text',
|
2239 |
+
'title' => __('Settings Button Text', 'accelerated-mobile-pages'),
|
2240 |
+
'default' => 'Privacy Settings',
|
2241 |
+
'required' => array('amp-gdpr-compliance-switch', '=' , '1'),
|
2242 |
+
),
|
2243 |
+
|
2244 |
+
|
2245 |
),
|
2246 |
|
2247 |
) );
|
2254 |
'desc' => " ",
|
2255 |
'subsection' => true,
|
2256 |
'fields' => array(
|
2257 |
+
|
2258 |
+
array(
|
2259 |
+
'id' => 'ampforwp-pushnot-1',
|
2260 |
+
'type' => 'section',
|
2261 |
+
'title' => __('Push Notification Support', 'accelerated-mobile-pages'),
|
2262 |
+
'indent' => true,
|
2263 |
+
'layout_type' => 'accordion',
|
2264 |
+
'accordion-open'=> 1,
|
2265 |
+
),
|
2266 |
array(
|
2267 |
'id' => 'ampforwp-web-push-onesignal',
|
2268 |
'type' => 'switch',
|
2269 |
+
'title' => 'OneSignal',
|
2270 |
+
'tooltip-subtitle' => '<a href="https://ampforwp.com/tutorials/one-signal-in-amp/" target="_blank">View Integration Tutorial</a> (HTTPS is required)',
|
2271 |
'true' => 'true',
|
2272 |
'false' => 'false',
|
2273 |
'default' => 0,
|
2274 |
),
|
2275 |
array(
|
2276 |
+
'required' => array(
|
2277 |
+
array( 'ampforwp-web-push-onesignal', '=' , 1 ),
|
2278 |
+
),
|
2279 |
'id' => 'ampforwp-one-signal-app-id',
|
2280 |
'type' => 'text',
|
2281 |
'title' => 'APP ID',
|
2282 |
+
'class' => 'child_opt child_opt_arrow',
|
2283 |
),
|
2284 |
array(
|
2285 |
'id' => 'ampforwp-onesignal-positioning',
|
2290 |
array( 'amp-use-pot', '=' , 0 )
|
2291 |
),
|
2292 |
'indent' => true,
|
2293 |
+
'layout_type' => 'accordion',
|
2294 |
+
'accordion-open'=> 1,
|
2295 |
),
|
2296 |
array(
|
2297 |
'id' => 'ampforwp-web-push-onesignal-below-content',
|
2300 |
'true' => 'true',
|
2301 |
'false' => 'false',
|
2302 |
'default' => 1,
|
2303 |
+
'tooltip-subtitle' => 'Show Subscribe Button Below the Content',
|
2304 |
'required' => array('ampforwp-web-push-onesignal', '=' , '1'),
|
2305 |
),
|
2306 |
array(
|
2310 |
'true' => 'true',
|
2311 |
'false' => 'false',
|
2312 |
'default' => 0,
|
2313 |
+
'tooltip-subtitle' => 'Show Subscribe Button Above the Content',
|
2314 |
'required' => array('ampforwp-web-push-onesignal', '=' , '1'),
|
2315 |
),
|
2316 |
array(
|
2317 |
'id' => 'translation',
|
2318 |
'type' => 'section',
|
2319 |
'title' => __('Translation', 'accelerated-mobile-pages'),
|
|
|
|
|
|
|
|
|
2320 |
'indent' => true,
|
2321 |
+
'layout_type' => 'accordion',
|
2322 |
+
'accordion-open'=> 1,
|
2323 |
),
|
2324 |
array(
|
2325 |
'id' => 'ampforwp-onesignal-translator-subscribe',
|
2344 |
array( 'amp-use-pot', '=' , 0 )
|
2345 |
),
|
2346 |
'indent' => true,
|
2347 |
+
'layout_type' => 'accordion',
|
2348 |
+
'accordion-open'=> 1,
|
2349 |
),
|
2350 |
array(
|
2351 |
'id' => 'ampforwp-onesignal-http-site',
|
2352 |
'type' => 'switch',
|
2353 |
'title' => 'HTTP Site',
|
2354 |
+
'tooltip-subtitle' => 'For HTTP Sites Only',
|
2355 |
'required' => array('ampforwp-web-push-onesignal', '=' , '1'),
|
2356 |
'true' => 'true',
|
2357 |
'false' => 'false',
|
2370 |
)
|
2371 |
);
|
2372 |
// contact form 7
|
2373 |
+
$forms_support[] = array(
|
2374 |
+
'id' => 'ampforwp-cfs_1',
|
2375 |
+
'type' => 'section',
|
2376 |
+
'title' => __('CF7 Compatibility', 'accelerated-mobile-pages'),
|
2377 |
+
'indent' => true,
|
2378 |
+
'layout_type' => 'accordion',
|
2379 |
+
'accordion-open'=> 1,
|
2380 |
+
);
|
2381 |
$forms_support[] = array(
|
2382 |
'id' =>'amp-enable-contactform',
|
2383 |
'type' => 'switch',
|
2396 |
'desc' => '<div style=" background: #FFF9C4;padding: 12px;line-height: 1.6;margin:-45px -14px -18px -17px;"><b>ONE LAST STEP REQUIRED:</b> This feature requires <a href="https://ampforwp.com/contact-form-7/#utm_source=options-panel&utm_medium=cf7-tab_cf7_installation_link&utm_campaign=AMP%20Plugin" target="_blank">Contact Form 7 extension</a>.<br /> <div style="margin-top:4px;">(<a href="https://ampforwp.com/contact-form-7/#utm_source=options-panel&utm_medium=cf7-tab_cf7_installation_link&utm_campaign=AMP%20Plugin" target="_blank">Click here for more info</a>)</div></div>',
|
2397 |
);
|
2398 |
}
|
2399 |
+
// contact form 7
|
2400 |
+
$forms_support[] = array(
|
2401 |
+
'id' => 'ampforwp-cfs_2',
|
2402 |
+
'type' => 'section',
|
2403 |
+
'title' => __('Gravity Forms Compatibility', 'accelerated-mobile-pages'),
|
2404 |
+
'indent' => true,
|
2405 |
+
'layout_type' => 'accordion',
|
2406 |
+
'accordion-open'=> 1,
|
2407 |
+
);
|
2408 |
+
$forms_support[] = array(
|
2409 |
'id' =>'amp-enable-gravityforms_support',
|
2410 |
'type' => 'switch',
|
2411 |
'title' => __('Gravity Forms Support', 'accelerated-mobile-pages'),
|
2425 |
// Contact Form SECTION
|
2426 |
Redux::setSection( $opt_name, array(
|
2427 |
'title' => __( 'Contact Form', 'accelerated-mobile-pages' ),
|
2428 |
+
// 'desc' => 'Contact forms will automatically be converted into AMP compatible.',
|
2429 |
'id' => 'amp-contact',
|
2430 |
'subsection' => true,
|
2431 |
'fields' => $forms_support
|
2439 |
'id' => 'disqus-comments',
|
2440 |
'subsection' => true,
|
2441 |
'fields' => array(
|
2442 |
+
array(
|
2443 |
+
'id' => 'ampforwp-comments',
|
2444 |
+
'type' => 'section',
|
2445 |
+
'title' => __('Discussion', 'accelerated-mobile-pages'),
|
2446 |
+
'indent' => true,
|
2447 |
+
'layout_type' => 'accordion',
|
2448 |
+
'accordion-open'=> 1,
|
2449 |
+
),
|
2450 |
array(
|
2451 |
+
'title' =>__('WordPress Comments','accelerated-mobile-pages'),
|
2452 |
+
'id' => 'wordpress-comments-support',
|
2453 |
+
'tooltip-subtitle' => __('Enable/Disable WordPress comments using this switch.', 'accelerated-mobile-pages'),
|
2454 |
+
'type' => 'switch',
|
2455 |
+
),
|
|
|
2456 |
array(
|
2457 |
+
'class' => 'child_opt child_opt_arrow',
|
2458 |
'id' => 'ampforwp-number-of-comments',
|
2459 |
'type' => 'text',
|
2460 |
+
'tooltip-subtitle' => __('This refers to the normal comments','accelerated-mobile-pages'),
|
2461 |
'title' => __('No of Comments', 'accelerated-mobile-pages'),
|
2462 |
'default' => 10,
|
2463 |
'required' => array('wordpress-comments-support' , '=' , 1
|
2466 |
array(
|
2467 |
'id' => 'ampforwp-disqus-comments-support',
|
2468 |
'type' => 'switch',
|
2469 |
+
'title' => __('Disqus', 'accelerated-mobile-pages'),
|
2470 |
+
'tooltip-subtitle' => __('Enable/Disable Disqus comments using this switch.', 'accelerated-mobile-pages'),
|
2471 |
'default' => 0
|
2472 |
),
|
2473 |
array(
|
2474 |
+
'class' => 'child_opt child_opt_arrow',
|
2475 |
'id' => 'ampforwp-disqus-comments-name',
|
2476 |
'type' => 'text',
|
2477 |
'title' => __('Disqus Name', 'accelerated-mobile-pages'),
|
2478 |
+
'tooltip-subtitle' => __('Eg: https://xyz.disqus.com', 'accelerated-mobile-pages'),
|
2479 |
'required' => array('ampforwp-disqus-comments-support', '=' , '1'),
|
2480 |
'default' => ''
|
2481 |
),
|
2482 |
|
2483 |
array(
|
2484 |
+
'class' => 'child_opt',
|
2485 |
'id' => 'ampforwp-disqus-host-position',
|
2486 |
'type' => 'switch',
|
2487 |
+
'title' => __('Host on AMPforWP API', 'accelerated-mobile-pages'),
|
2488 |
+
'tooltip-subtitle' => __('Use AMPforWP secure servers to serve Comments file. Recommended if your site is non HTTPS', 'accelerated-mobile-pages'),
|
2489 |
'default' => 1,
|
2490 |
'required' => array('ampforwp-disqus-comments-support', '=' , '1'),
|
2491 |
),
|
2492 |
|
2493 |
array(
|
2494 |
+
'class' => 'child_opt',
|
2495 |
'id' => 'ampforwp-disqus-host-file',
|
2496 |
'type' => 'text',
|
2497 |
'title' => __('Disqus Host File', 'accelerated-mobile-pages'),
|
2498 |
+
'tooltip-subtitle' => __('<a href="https://ampforwp.com/host-disqus-comments/"> Click here to know, How to Setup Disqus Host file on your servers </a>', 'accelerated-mobile-pages'),
|
2499 |
'placeholder' => 'https://comments.example.com/disqus.php',
|
2500 |
'required' => array('ampforwp-disqus-host-position', '=' , '0'),
|
2501 |
),
|
2509 |
),
|
2510 |
'default' => 'responsive',
|
2511 |
'required'=>array('ampforwp-disqus-comments-support','=','1'),
|
2512 |
+
),
|
2513 |
+
|
2514 |
array(
|
2515 |
'id' => 'ampforwp-disqus-height',
|
2516 |
'type' => 'text',
|
2523 |
'id' => 'ampforwp-facebook-comments-support',
|
2524 |
'type' => 'switch',
|
2525 |
'title' => __('Facebook Comments', 'accelerated-mobile-pages'),
|
2526 |
+
'tooltip-subtitle' => __('Enable/Disable Facebook comments using this switch.', 'accelerated-mobile-pages'),
|
2527 |
'default' => 0,
|
2528 |
),
|
2529 |
array(
|
2530 |
+
'class' => 'child_opt child_opt_arrow',
|
2531 |
'id' => 'ampforwp-number-of-fb-no-of-comments',
|
2532 |
'type' => 'text',
|
2533 |
+
'tooltip-subtitle' => __('Enter the number of comments','accelerated-mobile-pages'),
|
2534 |
'title' => __('No of Comments', 'accelerated-mobile-pages'),
|
2535 |
'default' => 10,
|
2536 |
'required' => array(
|
2560 |
'id' => 'fb-instant-article',
|
2561 |
'subsection' => true,
|
2562 |
'fields' => array(
|
2563 |
+
array(
|
2564 |
+
'id' => 'ampforwp-fbia_1',
|
2565 |
+
'type' => 'section',
|
2566 |
+
'title' => __('Facebook Instant Articles Setup', 'accelerated-mobile-pages'),
|
2567 |
+
'indent' => true,
|
2568 |
+
'layout_type' => 'accordion',
|
2569 |
+
'accordion-open'=> 1,
|
2570 |
+
),
|
2571 |
array(
|
2572 |
'id' =>'fb-instant-article-switch',
|
2573 |
'type' => 'switch',
|
2574 |
+
'title' => __('Instant Articles', 'accelerated-mobile-pages'),
|
2575 |
'default' => 0,
|
2576 |
'true' => 'true',
|
2577 |
'false' => 'false',
|
2585 |
'title' => __('Facebook Instant Articles Feed URL', 'accelerated-mobile-pages'),
|
2586 |
'required' => array('fb-instant-article-switch', '=', 1)
|
2587 |
),
|
2588 |
+
|
2589 |
+
array(
|
2590 |
+
'required' => array('fb-instant-article-switch', '=', 1),
|
2591 |
+
'id' => 'amp-fbia_2',
|
2592 |
+
'type' => 'section',
|
2593 |
+
'title' => __('AMP Support', 'accelerated-mobile-pages'),
|
2594 |
+
'indent' => true,
|
2595 |
+
'layout_type' => 'accordion',
|
2596 |
+
'accordion-open'=> 1,
|
2597 |
+
),
|
2598 |
+
|
2599 |
+
|
2600 |
array(
|
2601 |
'id' => 'ampforwp-fb-instant-article-posts',
|
2602 |
'type' => 'text',
|
2603 |
'title' => __('Number of Posts', 'accelerated-mobile-pages'),
|
2604 |
+
'tooltip-subtitle' => __('Enter the number of posts to generate for Instant Articles.', 'accelerated-mobile-pages'),
|
2605 |
'desc' => __('Leave this empty to generate All Posts.', 'accelerated-mobile-pages'),
|
2606 |
'required' => array('fb-instant-article-switch', '=', 1),
|
2607 |
'default' => '50'
|
2609 |
array(
|
2610 |
'id' => 'ampforwp-instant-article-author-bio',
|
2611 |
'type' => 'switch',
|
2612 |
+
'title' => __('Bio', 'accelerated-mobile-pages'),
|
2613 |
'default' => 0,
|
2614 |
'true' => 'true',
|
2615 |
'false' => 'false',
|
2616 |
+
'tooltip-subtitle' => __('Enable/Disable Author Bio', 'accelerated-mobile-pages'),
|
2617 |
'required' => array('fb-instant-article-switch', '=', 1)
|
2618 |
),
|
2619 |
array(
|
2630 |
'id' => 'fb-instant-article-ad-id',
|
2631 |
'type' => 'text',
|
2632 |
'title' => __('Enter your Audience Network Placement ID', 'accelerated-mobile-pages'),
|
2633 |
+
'tooltip-subtitle' => __('You can find out more about this <a href="https://developers.facebook.com/docs/instant-articles/monetization/audience-network">here</a>. ', 'accelerated-mobile-pages'),
|
2634 |
'required' => array('fb-instant-article-ads', '=', 1)
|
2635 |
),
|
2636 |
array(
|
2659 |
'id' => 'fb-instant-article-analytics-code',
|
2660 |
'type' => 'textarea',
|
2661 |
'title' => __('Enter your Analytics script code', 'accelerated-mobile-pages'),
|
2662 |
+
'tooltip-subtitle' => __('Do not enter iframe tag. Find out more about support <a href="https://developers.facebook.com/docs/instant-articles/analytics">here</a> ', 'accelerated-mobile-pages'),
|
2663 |
'required' => array('fb-instant-article-analytics', '=', 1)
|
2664 |
),
|
2665 |
),
|
2678 |
'id' => 'amp-pages-meta-default',
|
2679 |
'type' => 'select',
|
2680 |
'title' => __( 'Individual AMP Page (Bulk Edit)', 'accelerated-mobile-pages' ),
|
2681 |
+
'tooltip-subtitle' => __( 'Allows you to Show or Hide AMP from All pages, so it can be changed individually later. This option will change the Default value of AMP metabox in Pages', 'accelerated-mobile-pages' ),
|
2682 |
'desc' => __( 'NOTE: Changes will overwrite the previous settings.', 'accelerated-mobile-pages' ),
|
2683 |
'options' => array(
|
2684 |
'show' => __('Show by Default', 'accelerated-mobile-pages' ),
|
2691 |
'id' =>'hide-amp-categories',
|
2692 |
'type' => 'checkbox',
|
2693 |
'title' => __('Select Categories to Hide AMP'),
|
2694 |
+
'tooltip-subtitle' => __( 'Hide AMP from all the posts of a selected category.', 'accelerated-mobile-pages' ),
|
2695 |
'default' => 0,
|
2696 |
'data' => 'categories',
|
2697 |
),
|
2711 |
'id' => 'ampforwp-homepage-on-off-support',
|
2712 |
'type' => 'switch',
|
2713 |
'title' => __('Homepage Support', 'accelerated-mobile-pages'),
|
2714 |
+
'tooltip-subtitle' => __('Enable/Disable Home page using this switch.', 'accelerated-mobile-pages'),
|
2715 |
'default' => '1'
|
2716 |
),*/
|
2717 |
|
2719 |
'id' => 'amp-mobile-redirection',
|
2720 |
'type' => 'switch',
|
2721 |
'title' => __('Mobile Redirection', 'accelerated-mobile-pages'),
|
2722 |
+
'tooltip-subtitle' => __('
|
2723 |
Enable AMP for your mobile users. Give your visitors a Faster mobile User Experience.','accelerated-mobile-pages'),
|
2724 |
'default' => 0,
|
2725 |
|
2730 |
'type' => 'switch',
|
2731 |
'title' => ('Change End Point to ?amp'),
|
2732 |
'default' => 0,
|
2733 |
+
'tooltip-subtitle' => 'Enable this option when /amp/ is giving 404 after resaving the permalink settings.',
|
2734 |
'desc' => __( 'Making endpoints to ?amp will help you get the amp in tricky setups with taxonomies & post typs. Question mark in the url will not make any difference in the SEO.' ),
|
2735 |
),
|
2736 |
array(
|
2737 |
'id' => 'amp-header-text-area-for-html',
|
2738 |
'type' => 'textarea',
|
2739 |
'title' => __('Enter HTML in Head', 'accelerated-mobile-pages'),
|
2740 |
+
'tooltip-subtitle' => __('please enter markup that is AMP validated', 'accelerated-mobile-pages'),
|
2741 |
'desc' => __('check your markup here (enter markup between HEAD tag) : https://validator.ampproject.org/', 'accelerated-mobile-pages'),
|
2742 |
'default' => ''
|
2743 |
),
|
2745 |
'id' => 'amp-body-text-area',
|
2746 |
'type' => 'textarea',
|
2747 |
'title' => __('Enter HTML in Body (beginning of body tag) ', 'accelerated-mobile-pages'),
|
2748 |
+
'tooltip-subtitle' => __('please enter markup that is AMP validated', 'accelerated-mobile-pages'),
|
2749 |
'desc' => __('check your markup here (enter markup in the beginning of body tag) : https://validator.ampproject.org/', 'accelerated-mobile-pages'),
|
2750 |
'default' => ''
|
2751 |
),
|
2753 |
'id' => 'amp-footer-text-area-for-html',
|
2754 |
'type' => 'textarea',
|
2755 |
'title' => __('Enter HTML in Footer', 'accelerated-mobile-pages'),
|
2756 |
+
'tooltip-subtitle' => __('please enter markup that is AMP validated', 'accelerated-mobile-pages'),
|
2757 |
'desc' => __('check your markup here (enter markup between BODY tag) : https://validator.ampproject.org/',
|
2758 |
'accelerated-mobile-pages'),
|
2759 |
'default' => ''
|
2762 |
'id' => 'ampforwp-auto-amp-menu-link',
|
2763 |
'type' => 'switch',
|
2764 |
'title' => __('Auto Add AMP in Menu URL', 'accelerated-mobile-pages'),
|
2765 |
+
'tooltip-subtitle' => __('Automatically add <code>AMP</code> at the end of menu url', 'accelerated-mobile-pages'),
|
2766 |
'true' => 'true',
|
2767 |
'false' => 'false',
|
2768 |
'default' => 0,
|
2769 |
//'required' => array('ampforwp-amp-menu', '=' , '1')
|
2770 |
),
|
2771 |
+
//Category Base Removal in AMP
|
2772 |
+
array(
|
2773 |
'id' => 'ampforwp-category-base-removel-link',
|
2774 |
'type' => 'switch',
|
2775 |
'title' => __('Category base remove in AMP', 'accelerated-mobile-pages'),
|
2776 |
+
'tooltip-subtitle' => __('Category base removal in <code>AMP</code> from url', 'accelerated-mobile-pages'),
|
2777 |
'true' => 'true',
|
2778 |
'false' => 'false',
|
2779 |
'default' => 0,
|
2780 |
|
2781 |
),
|
2782 |
+
//Tag base Removal in AMP
|
2783 |
+
array(
|
2784 |
'id' => 'ampforwp-tag-base-removal-link',
|
2785 |
'type' => 'switch',
|
2786 |
'title' => __('Tag base remove in AMP', 'accelerated-mobile-pages'),
|
2787 |
+
'tooltip-subtitle' => __('Tag base remove in <code>AMP</code> from url', 'accelerated-mobile-pages'),
|
2788 |
'true' => 'true',
|
2789 |
'false' => 'false',
|
2790 |
'default' => 0,
|
2795 |
'id' => 'ampforwp-custom-fields-featured-image-switch',
|
2796 |
'type' => 'switch',
|
2797 |
'title' => __('Featured Image from Custom Fields', 'accelerated-mobile-pages'),
|
2798 |
+
'tooltip-subtitle' => __('This will allow you to add Featured Image from Custom Fields', 'accelerated-mobile-pages'),
|
2799 |
'true' => 'true',
|
2800 |
'false' => 'false',
|
2801 |
'default' => 0,
|
2813 |
'id' => 'ampforwp-featured-image-from-content',
|
2814 |
'type' => 'switch',
|
2815 |
'title' => __('Featured Image from The Content', 'accelerated-mobile-pages'),
|
2816 |
+
'tooltip-subtitle' => __('Show the first image of the content as Featured Image if there is no featured image', 'accelerated-mobile-pages'),
|
2817 |
'true' => 'true',
|
2818 |
'false' => 'false',
|
2819 |
'default' => 0,
|
2823 |
'id' => 'ampforwp-duplicate-featured-image',
|
2824 |
'type' => 'switch',
|
2825 |
'title' => __('Duplicate Featured Image', 'accelerated-mobile-pages'),
|
2826 |
+
'tooltip-subtitle' => __('Turn On the support if you want to show the Featured Image if it already exists in post content.', 'accelerated-mobile-pages'),
|
2827 |
'true' => 'true',
|
2828 |
'false' => 'false',
|
2829 |
'default' => 0,
|
2830 |
),
|
2831 |
+
// Retina Images
|
2832 |
+
array(
|
2833 |
+
'id' => 'ampforwp-retina-images',
|
2834 |
+
'type' => 'switch',
|
2835 |
+
'title' => __('Retina Images', 'accelerated-mobile-pages'),
|
2836 |
+
'tooltip-subtitle' => __('Enable if your current images looking blured on Apple Devices.', 'accelerated-mobile-pages'),
|
2837 |
+
'default' => 0,
|
2838 |
+
),
|
2839 |
array(
|
2840 |
'id' => 'amp-meta-permissions',
|
2841 |
'type' => 'select',
|
2850 |
'id' => 'ampforwp-development-mode',
|
2851 |
'type' => 'switch',
|
2852 |
'title' => __('Dev Mode in AMP'),
|
2853 |
+
'tooltip-subtitle' => __('This will enable the Development mode in AMP', 'accelerated-mobile-pages'),
|
2854 |
'true' => 'true',
|
2855 |
'false' => 'false',
|
2856 |
'default' => 0,
|
2867 |
'id' => 'ampforwp-update-notification-bar',
|
2868 |
'type' => 'switch',
|
2869 |
'title' => __('Plugin Update Notification Bar'),
|
2870 |
+
'tooltip-subtitle' => __('Enable/Disable the Plugin Update Notification Bar', 'accelerated-mobile-pages'),
|
2871 |
'true' => 'true',
|
2872 |
'false' => 'false',
|
2873 |
'default' => 1,
|
2876 |
'id' => 'ampforwp-wptexturize',
|
2877 |
'type' => 'switch',
|
2878 |
'title' => __('Disable wptexturize'),
|
2879 |
+
'tooltip-subtitle' => __('Enable this option to Disable wptexturize Globally', 'accelerated-mobile-pages'),
|
2880 |
'true' => 'true',
|
2881 |
'false' => 'false',
|
2882 |
'default' => 0,
|
2885 |
'id' => 'ampforwp-content-builder',
|
2886 |
'type' => 'switch',
|
2887 |
'title' => __('Legacy Page Builder (widgets)', 'accelerated-mobile-pages'),
|
2888 |
+
'tooltip-subtitle' => __('Build AMP Landing pages in minutes.', 'accelerated-mobile-pages'),
|
2889 |
'true' => 'true',
|
2890 |
'false' => 'false',
|
2891 |
'default' => 0
|
2896 |
'type' => 'switch',
|
2897 |
'title' => __('Delete Data on Uninstall?', 'accelerated-mobile-pages'),
|
2898 |
'default' => 0,
|
2899 |
+
'tooltip-subtitle' => __('Enable this if you would like AMPforWP to completely remove all of its data when uninstalling via Plugins > Delete.'),
|
2900 |
),
|
2901 |
),
|
2902 |
|
2914 |
'id' => 'amp-use-pot',
|
2915 |
'type' => 'switch',
|
2916 |
'title' => __('Use POT file method of Translation', 'accelerated-mobile-pages'),
|
2917 |
+
'tooltip-subtitle' => __('Else you can use normal translation method', 'accelerated-mobile-pages'),
|
2918 |
'desc' => __('Use this if you want Multilingual Translations', 'accelerated-mobile-pages'),
|
2919 |
'default' => 0
|
2920 |
),
|
2926 |
'placeholder'=>__('write here','accelerated-mobile-pages'),
|
2927 |
'required' => array( 'amp-use-pot', '=' , 0 )
|
2928 |
),
|
2929 |
+
array(
|
2930 |
+
'id' => 'amp-translator-fourohfour',
|
2931 |
+
'type' => 'text',
|
2932 |
+
'title' => __('404 Error', 'accelerated-mobile-pages'),
|
2933 |
+
'default' => __('Oops! That page can’t be found.','accelerated-mobile-pages'),
|
2934 |
+
'placeholder'=>__('write here','accelerated-mobile-pages'),
|
2935 |
+
'required' => array( 'amp-use-pot', '=' , 0 )
|
2936 |
+
),
|
2937 |
array(
|
2938 |
'id' => 'amp-translator-show-more-posts-text',
|
2939 |
'type' => 'text',
|
3014 |
'placeholder'=>__('write here','accelerated-mobile-pages'),
|
3015 |
'required' => array( 'amp-use-pot', '=' , 0 )
|
3016 |
),
|
3017 |
+
array(
|
3018 |
+
'id' => 'amp-translator-page-text',
|
3019 |
+
'type' => 'text',
|
3020 |
+
'title' => __('Page', 'accelerated-mobile-pages'),
|
3021 |
+
'default' => __('Page','accelerated-mobile-pages'),
|
3022 |
+
'placeholder'=>__('write here','accelerated-mobile-pages'),
|
3023 |
+
'required' => array( 'amp-use-pot', '=' , 0 )
|
3024 |
+
),
|
3025 |
+
array(
|
3026 |
+
'id' => 'amp-translator-archives-text',
|
3027 |
+
'type' => 'text',
|
3028 |
+
'title' => __('Archives', 'accelerated-mobile-pages'),
|
3029 |
+
'default' => __('Archives','accelerated-mobile-pages'),
|
3030 |
+
'placeholder'=>__('write here','accelerated-mobile-pages'),
|
3031 |
+
'required' => array( 'amp-use-pot', '=' , 0 )
|
3032 |
+
),
|
3033 |
+
array(
|
3034 |
+
'id' => 'amp-translator-breadcrumbs-search-text',
|
3035 |
+
'type' => 'text',
|
3036 |
+
'title' => __('Search results for', 'accelerated-mobile-pages'),
|
3037 |
+
'default' => __('Search results for','accelerated-mobile-pages'),
|
3038 |
+
'placeholder'=>__('write here','accelerated-mobile-pages'),
|
3039 |
+
'required' => array( 'amp-use-pot', '=' , 0 )
|
3040 |
+
),
|
3041 |
+
array(
|
3042 |
+
'id' => 'amp-translator-error-404-text',
|
3043 |
+
'type' => 'text',
|
3044 |
+
'title' => __('Error 404', 'accelerated-mobile-pages'),
|
3045 |
+
'default' => __('Error 404','accelerated-mobile-pages'),
|
3046 |
+
'placeholder'=>__('write here','accelerated-mobile-pages'),
|
3047 |
+
'required' => array( 'amp-use-pot', '=' , 0 )
|
3048 |
+
),
|
3049 |
array(
|
3050 |
'id' => 'amp-translator-footer-text',
|
3051 |
'type' => 'textarea',
|
3110 |
'placeholder'=>__('write here','accelerated-mobile-pages'),
|
3111 |
'required' => array( 'amp-use-pot', '=' , 0 )
|
3112 |
),
|
3113 |
+
array(
|
3114 |
+
'id' => 'amp-translator-comments-closed',
|
3115 |
+
'type' => 'text',
|
3116 |
+
'title' => __('Comments are closed.', 'accelerated-mobile-pages'),
|
3117 |
+
'default' => __('Comments are closed.','accelerated-mobile-pages'),
|
3118 |
+
'placeholder'=>__('write here','accelerated-mobile-pages'),
|
3119 |
+
'required' => array( 'amp-use-pot', '=' , 0 )
|
3120 |
+
),
|
3121 |
array(
|
3122 |
'id' => 'amp-translator-at-text',
|
3123 |
'type' => 'text',
|
3235 |
'type' => 'section',
|
3236 |
'title' => __('Search bar Translation Text', 'accelerated-mobile-pages'),
|
3237 |
'indent' => true,
|
3238 |
+
'required' => array( 'amp-use-pot', '=' , 0 ),
|
3239 |
+
'layout_type' => 'accordion',
|
3240 |
+
'accordion-open'=> 0,
|
3241 |
),
|
3242 |
array(
|
3243 |
'id' => 'ampforwp-search-placeholder',
|
3278 |
}
|
3279 |
add_filter("extra_plugin_headers","amp_extra_plugin_theme_header");
|
3280 |
$themeDesign = array(
|
3281 |
+
array(
|
3282 |
'demo_link' => 'https://ampforwp.com/demo/#one',
|
3283 |
+
'upgrade'=>true,
|
3284 |
+
'title'=>__('Design One', 'accelerated-mobile-pages' ),
|
3285 |
+
'value'=>1,
|
3286 |
+
'alt'=>__('Design One', 'accelerated-mobile-pages' ),
|
3287 |
+
'img'=>AMPFORWP_PLUGIN_DIR_URI.'/images/design-1.png',
|
3288 |
+
),
|
3289 |
+
array(
|
3290 |
'demo_link' => 'https://ampforwp.com/demo/#two',
|
3291 |
+
'upgrade'=>true,
|
3292 |
+
'title'=>__('Design Two', 'accelerated-mobile-pages' ),
|
3293 |
+
'value'=>2,
|
3294 |
+
'alt'=>__('Design Two', 'accelerated-mobile-pages' ),
|
3295 |
+
'img'=>AMPFORWP_PLUGIN_DIR_URI.'/images/design-2.png',
|
3296 |
+
),
|
3297 |
+
array(
|
3298 |
'demo_link' => 'https://ampforwp.com/demo/#three',
|
3299 |
+
'upgrade'=>true,
|
3300 |
+
'title'=>__('Design Three', 'accelerated-mobile-pages' ),
|
3301 |
+
'value'=>3,
|
3302 |
+
'alt'=>__('Design Three', 'accelerated-mobile-pages' ),
|
3303 |
+
'img'=>AMPFORWP_PLUGIN_DIR_URI.'/images/design-3.png',
|
3304 |
+
),
|
3305 |
array(
|
3306 |
'demo_link' => 'https://ampforwp.com/demo/amp-pagebuilder/amp/',
|
3307 |
'upgrade' => true,
|
3315 |
foreach (get_plugins() as $key => $value) {
|
3316 |
$plugin = get_plugin_data(WP_PLUGIN_DIR.'/'.$key);
|
3317 |
if(!empty($plugin['AMP'])){//$plugin['AMP']
|
3318 |
+
$imageUrl = '';
|
3319 |
+
if(file_exists(AMPFORWP_MAIN_PLUGIN_DIR.$value['TextDomain'].'/screenshot.png')){
|
3320 |
+
$imageUrl = plugins_url($value['TextDomain'].'/screenshot.png');
|
3321 |
+
}
|
3322 |
$themeDesign[] = array(
|
3323 |
'demo_link' => $plugin['AMP Demo'],
|
3324 |
+
'upgrade'=>true,
|
3325 |
+
'title'=>$plugin['AMP'],
|
3326 |
+
'value'=>$value['TextDomain'],
|
3327 |
+
'alt'=>$plugin['AMP'],
|
3328 |
+
'img'=>$imageUrl,
|
3329 |
+
);
|
3330 |
}
|
3331 |
}
|
3332 |
}
|
3340 |
|
3341 |
array(
|
3342 |
'id' => 'amp-design-selector',
|
3343 |
+
'class' => 'amp-design-selector',
|
3344 |
'type' => 'demolink_image_select',
|
3345 |
'title' => __( 'Themes Selector', 'accelerated-mobile-pages' ),
|
3346 |
'subtitle' => __( 'Select your design from dropdown or <br /><a href="https://ampforwp.com/themes/" style="position: relative;
|
3353 |
array(
|
3354 |
'id' => 'ampforwp_layouts_core',
|
3355 |
'type' => 'raw',
|
3356 |
+
'subtitle' => '<a class="amp-layouts-desc" href="https://ampforwp.com/amp-layouts/" target="_blank">What is Layouts?</a>',
|
3357 |
'title' => __('AMP Layouts', 'accelerated-mobile-pages'),
|
3358 |
'full_width'=>true,
|
3359 |
'class' =>(!is_plugin_active('amp-layouts/amp-layouts.php')? '': 'hide'),//,
|
3389 |
'type' => 'section',
|
3390 |
'title' => __('Color Scheme', 'accelerated-mobile-pages'),
|
3391 |
'indent' => true,
|
3392 |
+
'layout_type' => 'accordion',
|
3393 |
+
'accordion-open'=> 1,
|
3394 |
),
|
3395 |
// Swift
|
3396 |
array(
|
3397 |
'id' => 'swift-color-scheme',
|
3398 |
'title' => __('Global Color Scheme', 'accelerated-mobile-pages'),
|
3399 |
+
'tooltip-subtitle' => __('Choose the color for title, anchor link','accelerated-mobile-pages'),
|
3400 |
'type' => 'color_rgba',
|
3401 |
'default' => array(
|
3402 |
'color' => '#005be2',
|
3482 |
'indent' => true,
|
3483 |
'required' => array(
|
3484 |
array('amp-design-selector', '=' , '4')
|
3485 |
+
),
|
3486 |
+
'layout_type' => 'accordion',
|
3487 |
+
'accordion-open'=> 1,
|
3488 |
),
|
3489 |
array(
|
3490 |
'id' =>'google_font_api_key',
|
3491 |
'type' =>'text',
|
3492 |
'title' =>__('Google Font API key','accelerated-mobile-pages'),
|
3493 |
+
'tooltip-subtitle' => __('You can get the Link <a target="_blank" href="https://developers.google.com/fonts/docs/developer_api?refresh=1&pli=1#APIKey">form here</a>','accelerated-mobile-pages'),
|
3494 |
'default' =>'',
|
3495 |
'required' => array(
|
3496 |
array('amp-design-selector', '=' , '4')
|
3503 |
'type' => 'select',
|
3504 |
'class' => 'ampforwp-google-font-class',
|
3505 |
'title' => __( 'Font Selector', 'accelerated-mobile-pages' ),
|
3506 |
+
'tooltip-subtitle' => __( 'Select your design from dropdown or ', 'accelerated-mobile-pages' ),
|
3507 |
'options' => array(
|
3508 |
'1' => 'None',
|
3509 |
),
|
3520 |
'class' => 'ampforwp-google-font-class',
|
3521 |
'multi' => true,
|
3522 |
'title' => __( 'Font Selector', 'accelerated-mobile-pages' ),
|
3523 |
+
'tooltip-subtitle' => __( 'Select your design from dropdown', 'accelerated-mobile-pages' ),
|
3524 |
'options' => array(
|
3525 |
'1' => 'none',
|
3526 |
),
|
3547 |
'type' => 'section',
|
3548 |
'title' => __('Advanced', 'accelerated-mobile-pages'),
|
3549 |
'indent' => true,
|
3550 |
+
'layout_type' => 'accordion',
|
3551 |
+
'accordion-open'=> 1,
|
3552 |
),
|
3553 |
array(
|
3554 |
'id' => 'css_editor',
|
3555 |
'type' => 'ace_editor',
|
3556 |
'title' => __('Custom CSS', 'accelerated-mobile-pages'),
|
3557 |
+
'tooltip-subtitle' => __('You can customize the Stylesheet of the AMP version by using this option.', 'accelerated-mobile-pages'),
|
3558 |
'mode' => 'css',
|
3559 |
'theme' => 'monokai',
|
3560 |
'desc' => '',
|
3583 |
'fields' => array(
|
3584 |
// Swift
|
3585 |
// Tab 1
|
3586 |
+
array(
|
3587 |
+
'id' => 'header_section_1',
|
3588 |
+
'type' => 'section',
|
3589 |
+
'title' => __('Header Design', 'accelerated-mobile-pages'),
|
3590 |
+
'indent' => true,
|
3591 |
+
'layout_type' => 'accordion',
|
3592 |
+
'accordion-open'=> 1,
|
3593 |
+
),
|
|
|
|
|
|
|
3594 |
array(
|
3595 |
'id' => 'header-type',
|
3596 |
'title' => __('Header Type', 'accelerated-mobile-pages'),
|
3614 |
// 'max-height'=> 60,
|
3615 |
'required' => array( array('amp-design-selector', '=' , '4') ),
|
3616 |
),
|
3617 |
+
array(
|
3618 |
+
'id' => 'header_section_2',
|
3619 |
+
'type' => 'section',
|
3620 |
+
'title' => __('Navigation Menu Design', 'accelerated-mobile-pages'),
|
3621 |
+
'indent' => true,
|
3622 |
+
'layout_type' => 'accordion',
|
3623 |
+
'accordion-open'=> 1,
|
3624 |
+
),
|
3625 |
array(
|
3626 |
'id' => 'menu-type',
|
3627 |
'title' => __('Menu Type', 'accelerated-mobile-pages'),
|
3668 |
'id' => 'primary-menu-padding-control',
|
3669 |
'type' => 'spacing',
|
3670 |
'output' => array('.p-menu'),
|
3671 |
+
'class' => 'child_opt child_opt_arrow',
|
3672 |
'mode' => 'padding',
|
3673 |
'units' => array('px'),
|
3674 |
'units_extended' => 'false',
|
3685 |
)
|
3686 |
),
|
3687 |
array(
|
3688 |
+
'class' => 'child_opt',
|
3689 |
'id' => 'primary-menu-text-scheme',
|
3690 |
'title' => __('Alt Menu Text', 'accelerated-mobile-pages'),
|
3691 |
'type' => 'color_rgba',
|
3697 |
)
|
3698 |
),
|
3699 |
array(
|
3700 |
+
'class' => 'child_opt',
|
3701 |
'id' => 'primary-menu-background-scheme',
|
3702 |
'title' => __('Alt Menu Background', 'accelerated-mobile-pages'),
|
3703 |
'type' => 'color_rgba',
|
3711 |
array(
|
3712 |
'id' => 'signin-button',
|
3713 |
'title' => __('Button Customize', 'accelerated-mobile-pages'),
|
3714 |
+
'tooltip-subtitle' => __('You can do the customization here ','accelerated-mobile-pages'),
|
3715 |
'type' => 'switch',
|
3716 |
'default' => '0',
|
3717 |
'required' => array(
|
3721 |
array(
|
3722 |
'id' => 'signin-button-text',
|
3723 |
'title' => __('Button Text', 'accelerated-mobile-pages'),
|
3724 |
+
'tooltip-subtitle' => __('You can write your required text ','accelerated-mobile-pages'),
|
3725 |
'type' => 'text',
|
3726 |
'default' => 'Sign up free',
|
3727 |
'required' => array(
|
3731 |
array(
|
3732 |
'id' => 'signin-button-link',
|
3733 |
'title' => __('Button Link', 'accelerated-mobile-pages'),
|
3734 |
+
'tooltip-subtitle' => __('You can add the Link here ','accelerated-mobile-pages'),
|
3735 |
'type' => 'text',
|
3736 |
'default' => '#',
|
3737 |
'required' => array(
|
3741 |
array(
|
3742 |
'id' => 'signin-button-style',
|
3743 |
'title' => __('Button Styles', 'accelerated-mobile-pages'),
|
3744 |
+
'tooltip-subtitle' => __('You can change the button here','accelerated-mobile-pages'),
|
3745 |
'type' => 'switch',
|
3746 |
'default' => '0',
|
3747 |
'required' => array(
|
3751 |
array(
|
3752 |
'id' => 'signin-button-border-line',
|
3753 |
'title' => __('Button Border Line', 'accelerated-mobile-pages'),
|
3754 |
+
'tooltip-subtitle' => __('You can change the button border line','accelerated-mobile-pages'),
|
3755 |
'type' => 'text',
|
3756 |
'default' => '2',
|
3757 |
'required' => array(
|
3761 |
array(
|
3762 |
'id' => 'signin-button-text-color',
|
3763 |
'title' => __('Button Text Color', 'accelerated-mobile-pages'),
|
3764 |
+
'tooltip-subtitle' => __('Choose the color for Button Texxt','accelerated-mobile-pages'),
|
3765 |
'type' => 'color_rgba',
|
3766 |
'default' => array(
|
3767 |
'rgba' => 'rgb(0, 0, 0)',
|
3773 |
array(
|
3774 |
'id' => 'signin-button-border-color',
|
3775 |
'title' => __('Button Border Line Color', 'accelerated-mobile-pages'),
|
3776 |
+
'tooltip-subtitle' => __('Choose the color for Button Border Line','accelerated-mobile-pages'),
|
3777 |
'type' => 'color_rgba',
|
3778 |
'default' => array(
|
3779 |
'rgba' => 'rgb(0, 0, 0)',
|
3797 |
array(
|
3798 |
'id' => 'border-radius',
|
3799 |
'title' => __('Customize Border Radius', 'accelerated-mobile-pages'),
|
3800 |
+
'tooltip-subtitle' => __('You can change the border radius','accelerated-mobile-pages'),
|
3801 |
'type' => 'text',
|
3802 |
'default' => '10',
|
3803 |
'required' => array(
|
3809 |
'type' => 'switch',
|
3810 |
'title' => __('Navigation Menu', 'accelerated-mobile-pages'),
|
3811 |
'desc' => __( 'Add Menus to your AMP pages by clicking on this <a href="'.trailingslashit(get_admin_url()).'nav-menus.php?action=locations">link</a>' , 'accelerated-mobile-pages'),
|
3812 |
+
'tooltip-subtitle' => __('Enable/Disable Menu from header', 'accelerated-mobile-pages'),
|
3813 |
'true' => 'true',
|
3814 |
'false' => 'false',
|
3815 |
'default' => 1,
|
3816 |
'required' => array(array('amp-design-selector', '!=' , '4')),
|
3817 |
|
3818 |
),
|
3819 |
+
array(
|
3820 |
+
'id' => 'header_section_3',
|
3821 |
+
'type' => 'section',
|
3822 |
+
'title' => __('Header Settings', 'accelerated-mobile-pages'),
|
3823 |
+
'indent' => true,
|
3824 |
+
'layout_type' => 'accordion',
|
3825 |
+
'accordion-open'=> 1,
|
3826 |
+
),
|
3827 |
// Call Now button
|
3828 |
array(
|
3829 |
'id' => 'ampforwp-callnow-button',
|
3838 |
),
|
3839 |
array(
|
3840 |
'id' =>'enable-amp-call-numberfield',
|
3841 |
+
'class' => 'child_opt child_opt_arrow',
|
3842 |
'type' => 'text',
|
3843 |
'required' => array(
|
3844 |
array('ampforwp-callnow-button', '=' , '1'),
|
3850 |
array(
|
3851 |
'id' =>'amp-on-off-support-for-non-amp-home-page',
|
3852 |
'type' => 'switch',
|
3853 |
+
'title' => __('Non-AMP link in Header', 'accelerated-mobile-pages'),
|
3854 |
+
'tooltip-subtitle' => __('If you want users in header to go to non-AMP website from the Header', 'accelerated-mobile-pages'),
|
3855 |
'default' => 0,
|
3856 |
),
|
3857 |
array(
|
3861 |
'required' => array(
|
3862 |
array('amp-design-selector', '=' , '3')
|
3863 |
),
|
3864 |
+
'tooltip-subtitle' => __('Turning it ON will remove the sticky head from the design.', 'accelerated-mobile-pages' ),
|
3865 |
'default' => '0'
|
3866 |
),
|
3867 |
array(
|
3902 |
),
|
3903 |
'default' => '1'
|
3904 |
),
|
3905 |
+
array(
|
3906 |
+
'id' => 'amp-sticky-header',
|
3907 |
+
"type" =>"switch",
|
3908 |
+
'title' =>"Sticky Header ",
|
3909 |
+
'default' => 0,
|
3910 |
+
'required' => array(
|
3911 |
+
array('amp-design-selector', '=' , '4')
|
3912 |
+
)
|
3913 |
+
),
|
3914 |
array(
|
3915 |
'id' => 'amp-opt-color-rgba-headercolor',
|
3916 |
'type' => 'color_rgba',
|
3954 |
'required' => array(
|
3955 |
array('amp-design-selector', '=' , '4')
|
3956 |
),
|
3957 |
+
'layout_type' => 'accordion',
|
3958 |
+
'accordion-open'=> 0,
|
3959 |
),
|
3960 |
array(
|
3961 |
'id' => 'customize-options',
|
3966 |
),
|
3967 |
array(
|
3968 |
'id' => 'swift-width-control',
|
3969 |
+
'class' => 'child_opt',
|
3970 |
'type' => 'text',
|
3971 |
'title' => __('Header Width', 'accelerated-mobile-pages'),
|
3972 |
'default' => '1100px',
|
3975 |
)
|
3976 |
),
|
3977 |
array(
|
3978 |
+
'class' => 'child_opt',
|
3979 |
'id' => 'swift-height-control',
|
3980 |
'type' => 'text',
|
3981 |
'title' => __('Header Height', 'accelerated-mobile-pages'),
|
3985 |
)
|
3986 |
),
|
3987 |
array(
|
3988 |
+
'class' => 'child_opt',
|
3989 |
'id' => 'margin-padding-options',
|
3990 |
'type' => 'switch',
|
3991 |
'title' => __('Margin / Padding ', 'accelerated-mobile-pages'),
|
3995 |
)
|
3996 |
),
|
3997 |
array(
|
3998 |
+
'class' => 'child_opt',
|
3999 |
'id' => 'swift-padding-control',
|
4000 |
'type' => 'spacing',
|
4001 |
'output' => array('.header'),
|
4002 |
'mode' => 'padding',
|
4003 |
+
'units' => array('px','%'),
|
4004 |
'units_extended' => 'false',
|
4005 |
'title' => __('Padding', 'accelerated-mobile-pages'),
|
4006 |
'default' => array(
|
4015 |
)
|
4016 |
),
|
4017 |
array(
|
4018 |
+
'class' => 'child_opt',
|
4019 |
'id' => 'swift-margin-control',
|
4020 |
'type' => 'spacing',
|
4021 |
'output' => array('.header'),
|
4035 |
)
|
4036 |
),
|
4037 |
array(
|
4038 |
+
'class' => 'child_opt',
|
4039 |
'id' => 'border-line',
|
4040 |
'type' => 'switch',
|
4041 |
'title' => __('Border and Boxshadow', 'accelerated-mobile-pages'),
|
4046 |
),
|
4047 |
|
4048 |
array(
|
4049 |
+
'class' => 'child_opt',
|
4050 |
'id' => 'swift-border-line-control',
|
4051 |
'type' => 'text',
|
4052 |
'title' => __('Border', 'accelerated-mobile-pages'),
|
4053 |
+
'tooltip-subtitle' => __('Border at the bottom', 'accelerated-mobile-pages'),
|
4054 |
'default' => '1',
|
4055 |
'required' => array(
|
4056 |
array('border-line','=',1)
|
4057 |
)
|
4058 |
),
|
4059 |
array(
|
4060 |
+
'class' => 'child_opt',
|
4061 |
'id' => 'swift-border-color-control',
|
4062 |
'type' => 'color_rgba',
|
4063 |
'title' => __('Border Color', 'accelerated-mobile-pages'),
|
4069 |
)
|
4070 |
),
|
4071 |
array(
|
4072 |
+
'class' => 'child_opt',
|
4073 |
'id' => 'swift-boxshadow-checkbox-control',
|
4074 |
'type' => 'switch',
|
4075 |
'title' => __('Box Shadow', 'accelerated-mobile-pages'),
|
4081 |
|
4082 |
|
4083 |
array(
|
4084 |
+
'class' => 'child_opt',
|
4085 |
'id' => 'swift-background-scheme',
|
4086 |
'title' => __('Header Background', 'accelerated-mobile-pages'),
|
4087 |
'type' => 'color_rgba',
|
4093 |
)
|
4094 |
),
|
4095 |
array(
|
4096 |
+
'class' => 'child_opt',
|
4097 |
'id' => 'swift-header-overlay',
|
4098 |
'title' => __('Menu Background', 'accelerated-mobile-pages'),
|
4099 |
'type' => 'color_rgba',
|
4105 |
)
|
4106 |
),
|
4107 |
array(
|
4108 |
+
'class' => 'child_opt',
|
4109 |
'id' => 'swift-element-color-control',
|
4110 |
'title' => __('Header Elements', 'accelerated-mobile-pages'),
|
4111 |
+
'tooltip-subtitle' => __('Color of the Text and Icons on top of Header','accelerated-mobile-pages'),
|
4112 |
'type' => 'color_rgba',
|
4113 |
'default' => array(
|
4114 |
'color' => '#333',
|
4118 |
)
|
4119 |
),
|
4120 |
array(
|
4121 |
+
'class' => 'child_opt',
|
4122 |
'id' => 'swift-element-overlay-color-control',
|
4123 |
+
'title' => __('Menu Color', 'accelerated-mobile-pages'),
|
4124 |
'type' => 'color_rgba',
|
4125 |
'default' => array(
|
4126 |
'rgba' => 'rgba(255, 255, 255, 0.8)',
|
4130 |
)
|
4131 |
),
|
4132 |
array(
|
4133 |
+
'class' => 'child_opt',
|
4134 |
'id' => 'swift-element-menu-border-color',
|
4135 |
'title' => __('Menu Border Color ', 'accelerated-mobile-pages'),
|
4136 |
'type' => 'color_rgba',
|
4144 |
|
4145 |
|
4146 |
array(
|
4147 |
+
'class' => 'child_opt',
|
4148 |
'id' => 'header-position-type',
|
4149 |
'title' => __('Menu Overlay Position', 'accelerated-mobile-pages'),
|
4150 |
'type' => 'select',
|
4158 |
)
|
4159 |
),
|
4160 |
array(
|
4161 |
+
'class' => 'child_opt',
|
4162 |
'id' => 'header-overlay-width',
|
4163 |
'type' => 'text',
|
4164 |
'title' => __('Menu Overlay Width', 'accelerated-mobile-pages'),
|
4167 |
array('customize-options','=',1)
|
4168 |
)
|
4169 |
),
|
4170 |
+
|
4171 |
// Tab 2 end
|
4172 |
/*array(
|
4173 |
'id' => 'header-tab-2-end',
|
4185 |
|
4186 |
|
4187 |
//code for fetching ctegories to show as a list in redux settings
|
4188 |
+
if(get_categories()){
|
4189 |
+
$categories = get_categories( array(
|
4190 |
+
'orderby' => 'name',
|
4191 |
+
'order' => 'ASC'
|
4192 |
+
) );
|
4193 |
+
|
4194 |
+
$categories_array = array();
|
4195 |
+
if ( $categories ) :
|
4196 |
+
foreach ($categories as $cat ) {
|
4197 |
+
$cat_id = $cat->cat_ID;
|
4198 |
+
$key = "".$cat_id;
|
4199 |
+
//building assosiative array of ID-cat_name
|
4200 |
+
$categories_array[ $key ] = $cat->name;
|
4201 |
+
}
|
4202 |
+
endif;
|
4203 |
+
}
|
4204 |
//End of code for fetching ctegories to show as a list in redux settings
|
4205 |
$ampforwp_home_loop = array();
|
4206 |
$ampforwp_home_loop = get_option('ampforwp_custom_post_types');
|
4218 |
'type' => 'section',
|
4219 |
'title' => __('General', 'accelerated-mobile-pages'),
|
4220 |
'indent' => true,
|
4221 |
+
'layout_type' => 'accordion',
|
4222 |
+
'accordion-open'=> 1,
|
4223 |
),
|
4224 |
array(
|
4225 |
'id' => 'amp-design-3-featured-slider',
|
4254 |
array(
|
4255 |
'id' =>'amp-design-1-excerpt',
|
4256 |
'type' =>'text',
|
4257 |
+
'tooltip-subtitle' =>__('Enter the number of words Eg: 10','accelerated-mobile-pages'),
|
4258 |
'title' =>__('Excerpt Length','accelerated-mobile-pages'),
|
4259 |
'required' => array(
|
4260 |
array('amp-design-selector', '=' , '1'),
|
4287 |
array(
|
4288 |
'id' =>'amp-design-2-excerpt',
|
4289 |
'type' =>'text',
|
4290 |
+
'tooltip-subtitle' =>__('Enter the number of words Eg: 10','accelerated-mobile-pages'),
|
4291 |
'title' =>__('Excerpt Length','accelerated-mobile-pages'),
|
4292 |
'required' => array(
|
4293 |
array('amp-design-selector', '=' , '2'),
|
4310 |
array(
|
4311 |
'id' =>'amp-design-3-excerpt',
|
4312 |
'type' =>'text',
|
4313 |
+
'tooltip-subtitle' =>__('Enter the number of words Eg: 10','accelerated-mobile-pages'),
|
4314 |
'title' =>__('Excerpt Length','accelerated-mobile-pages'),
|
4315 |
'required' => array(
|
4316 |
array('amp-design-selector', '=' , '3'),
|
4325 |
'id' =>'amp-design-1-featured-time',
|
4326 |
'type' =>'switch',
|
4327 |
'title' =>__('Published Time','accelerated-mobile-pages'),
|
4328 |
+
'tooltip-subtitle' => __('Display published time of the post on homepage', 'accelerated-mobile-pages'),
|
4329 |
'required' => array(array('amp-design-selector', '=' , '1') ),
|
4330 |
'default' =>'1',
|
4331 |
),
|
4334 |
'id' =>'amp-design-3-featured-time',
|
4335 |
'type' =>'switch',
|
4336 |
'title' =>__('Published Time','accelerated-mobile-pages'),
|
4337 |
+
'tooltip-subtitle' => __('Display published time of the post on homepage', 'accelerated-mobile-pages'),
|
4338 |
'required' => array(array('amp-design-selector', '=' , '3') ),
|
4339 |
'default' =>'1',
|
4340 |
),
|
4348 |
'default' => 0,
|
4349 |
),
|
4350 |
array(
|
4351 |
+
'class' => 'child_opt child_opt_arrow',
|
4352 |
'id' => 'ampforwp-homepage-posts-design-1-2-width',
|
4353 |
'type' => 'text',
|
4354 |
'title' => __('Image Width', 'accelerated-mobile-pages'),
|
4355 |
+
'tooltip-subtitle' => __('Defaults to 100', 'accelerated-mobile-pages'),
|
4356 |
'default' => 100,
|
4357 |
'required' => array(
|
4358 |
array('amp-design-selector','!=',3),
|
4361 |
)
|
4362 |
),
|
4363 |
array(
|
4364 |
+
'class' => 'child_opt',
|
4365 |
'id' => 'ampforwp-homepage-posts-design-1-2-height',
|
4366 |
'type' => 'text',
|
4367 |
'title' => __('Image Height', 'accelerated-mobile-pages'),
|
4368 |
+
'tooltip-subtitle' => __('Defaults to 75', 'accelerated-mobile-pages'),
|
4369 |
'default' => 75,
|
4370 |
'required' => array(
|
4371 |
array('amp-design-selector','!=',3),
|
4374 |
)
|
4375 |
),
|
4376 |
array(
|
4377 |
+
'class' => 'child_opt',
|
4378 |
'id' => 'ampforwp-swift-homepage-posts-width',
|
4379 |
'type' => 'text',
|
4380 |
'title' => __('Image Width', 'accelerated-mobile-pages'),
|
4381 |
+
'tooltip-subtitle' => __('Defaults to 346', 'accelerated-mobile-pages'),
|
4382 |
'default' => 346,
|
4383 |
'required' => array(
|
4384 |
array('amp-design-selector','=',4),
|
4386 |
)
|
4387 |
),
|
4388 |
array(
|
4389 |
+
'class' => 'child_opt',
|
4390 |
'id' => 'ampforwp-swift-homepage-posts-height',
|
4391 |
'type' => 'text',
|
4392 |
'title' => __('Image Height', 'accelerated-mobile-pages'),
|
4393 |
+
'tooltip-subtitle' => __('Defaults to 188', 'accelerated-mobile-pages'),
|
4394 |
'default' => 188,
|
4395 |
'required' => array(
|
4396 |
array('amp-design-selector','=',4),
|
4406 |
),
|
4407 |
array(
|
4408 |
'id' => 'sidebar-bgcolor',
|
4409 |
+
'class' => 'child_opt child_opt_arrow',
|
4410 |
'type' => 'color_rgba',
|
4411 |
'title' => __('Sidebar Background','accelerated-mobile-pages'),
|
4412 |
'default' => array(
|
4419 |
array(
|
4420 |
'id' => 'sbr-heading-color',
|
4421 |
'type' => 'color_rgba',
|
4422 |
+
'class' => 'child_opt',
|
4423 |
'title' => __('Heading', 'accelerated-mobile-pages'),
|
4424 |
'default' => array(
|
4425 |
'color' => '#333',
|
4431 |
array(
|
4432 |
'id' => 'sbr-text-color',
|
4433 |
'type' => 'color_rgba',
|
4434 |
+
'class' => 'child_opt',
|
4435 |
'title' => __('Text', 'accelerated-mobile-pages'),
|
4436 |
'default' => array(
|
4437 |
'color' => '#333',
|
4445 |
'type' => 'section',
|
4446 |
'title' => __('Loop Display Controls', 'accelerated-mobile-pages'),
|
4447 |
'indent' => true,
|
4448 |
+
'layout_type' => 'accordion',
|
4449 |
+
'accordion-open'=> 1,
|
4450 |
),
|
4451 |
array(
|
4452 |
'id' => 'ampforwp-homepage-loop-type',
|
4474 |
'id' => 'amp-single',
|
4475 |
'subsection' => true,
|
4476 |
'fields' => array(
|
4477 |
+
array(
|
4478 |
+
'id' => 'ampforwp-single_section_1',
|
4479 |
+
'type' => 'section',
|
4480 |
+
'title' => __('Single Post Design', 'accelerated-mobile-pages'),
|
4481 |
+
'indent' => true,
|
4482 |
+
'layout_type' => 'accordion',
|
4483 |
+
'accordion-open'=> 1,
|
4484 |
+
),
|
4485 |
// Swift
|
4486 |
array(
|
4487 |
'id' => 'single-design-type',
|
4510 |
'default' => 1,
|
4511 |
'required' => array( array('single-design-type', '=' , '4') ),
|
4512 |
),
|
4513 |
+
array(
|
4514 |
+
'id' => 'ampforwp-single_section_2',
|
4515 |
+
'type' => 'section',
|
4516 |
+
'title' => __('Single Elements', 'accelerated-mobile-pages'),
|
4517 |
+
'indent' => true,
|
4518 |
+
'layout_type' => 'accordion',
|
4519 |
+
'accordion-open'=> 1,
|
4520 |
+
),
|
4521 |
array(
|
4522 |
'id' => 'swift-featued-image',
|
4523 |
'type' => 'switch',
|
4559 |
'type' => 'switch',
|
4560 |
'default' => '1',
|
4561 |
'title' => __('Categories', 'accelerated-mobile-pages'),
|
4562 |
+
'tooltip-subtitle' => __('Enable or Disable Categories in Single', 'accelerated-mobile-pages'),
|
4563 |
'required' => array( array('amp-design-selector', '!=' , '4') )
|
4564 |
),
|
4565 |
//Tags ON/OFF
|
4590 |
'type' => 'switch',
|
4591 |
'title' => __('Excerpt', 'accelerated-mobile-pages'),
|
4592 |
'default' => 0,
|
4593 |
+
'tooltip-subtitle' => __('Excerpt will be displayed above content', 'accelerated-mobile-pages'),
|
4594 |
),
|
4595 |
//deselectable next previous links
|
4596 |
array(
|
4614 |
'title' => __( 'Author Bio', 'accelerated-mobile-pages' ),
|
4615 |
'default' => '1',
|
4616 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4617 |
// Pagination //#1015
|
4618 |
array(
|
4619 |
'id' => 'amp-pagination',
|
4620 |
'type' => 'switch',
|
4621 |
'title' => __( 'Post Pagination', 'accelerated-mobile-pages' ),
|
4622 |
'default' => 1,
|
4623 |
+
'tooltip-subtitle' => __('Enable the feature to add Pagination in single', 'accelerated-mobile-pages'),
|
4624 |
),
|
4625 |
array(
|
4626 |
'id' => 'ampforwp-pagination-select',
|
4627 |
+
'class' => 'child_opt child_opt_arrow',
|
4628 |
'type' => 'select',
|
4629 |
'title' => __('Post Pagination Type', 'accelerated-mobile-pages'),
|
4630 |
'options' => array(
|
4634 |
'default' => '1',
|
4635 |
'required' => array('amp-pagination' , '=' , '1'),
|
4636 |
),
|
4637 |
+
array(
|
4638 |
+
'id' => 'ampforwp-single_section_3',
|
4639 |
+
'type' => 'section',
|
4640 |
+
'title' => __('Related Post Settings', 'accelerated-mobile-pages'),
|
4641 |
+
'indent' => true,
|
4642 |
+
'layout_type' => 'accordion',
|
4643 |
+
'accordion-open'=> 1,
|
4644 |
+
),
|
4645 |
// Related Post
|
4646 |
array(
|
4647 |
'id' => 'ampforwp-single-related-posts-switch',
|
4652 |
array(
|
4653 |
'id' => 'ampforwp-single-select-type-of-related',
|
4654 |
'type' => 'select',
|
4655 |
+
'class' => 'child_opt child_opt_arrow',
|
4656 |
'title' => __('Related Post by', 'accelerated-mobile-pages'),
|
4657 |
'data' => 'page',
|
4658 |
+
'tooltip-subtitle' => __('select the type of related posts', 'accelerated-mobile-pages'),
|
4659 |
'options' => array(
|
4660 |
'1' => 'Tags',
|
4661 |
'2' => 'Categories',
|
4668 |
array(
|
4669 |
'id' => 'ampforwp-single-related-posts-image',
|
4670 |
'type' => 'switch',
|
4671 |
+
'class' => 'child_opt',
|
4672 |
'title' => __('Image in Related Post', 'accelerated-mobile-pages'),
|
4673 |
'default' => 1,
|
4674 |
'required' => array(
|
4678 |
array(
|
4679 |
'id' => 'ampforwp-single-related-posts-excerpt',
|
4680 |
'type' => 'switch',
|
4681 |
+
'class' => 'child_opt',
|
4682 |
'title' => __('Excerpt in Related Post', 'accelerated-mobile-pages'),
|
4683 |
'default' => 1,
|
4684 |
'required' => array(
|
4688 |
array(
|
4689 |
'id' => 'ampforwp-single-order-of-related-posts',
|
4690 |
'type' => 'switch',
|
4691 |
+
'class' => 'child_opt',
|
4692 |
'title' => __('Sort Related Posts Randomly', 'accelerated-mobile-pages'),
|
4693 |
'default' => 0,
|
4694 |
'required' => array(
|
4698 |
array(
|
4699 |
'id' => 'ampforwp-number-of-related-posts',
|
4700 |
'type' => 'text',
|
4701 |
+
'class' => 'child_opt',
|
4702 |
'title' => __('Number of Related Post', 'accelerated-mobile-pages'),
|
4703 |
'validate' => 'numeric',
|
4704 |
'default' => '3',
|
4706 |
array('ampforwp-single-related-posts-switch', '=' , '1')
|
4707 |
),
|
4708 |
),
|
4709 |
+
array(
|
4710 |
+
'id' => 'ampforwp-single_section_4',
|
4711 |
+
'type' => 'section',
|
4712 |
+
'title' => __('Inline Related Posts Settings', 'accelerated-mobile-pages'),
|
4713 |
+
'indent' => true,
|
4714 |
+
'layout_type' => 'accordion',
|
4715 |
+
'accordion-open'=> 0,
|
4716 |
+
),
|
4717 |
array(
|
4718 |
'id' => 'ampforwp-inline-related-posts',
|
4719 |
'type' => 'switch',
|
4720 |
'title' => __('In-Content Related Post', 'accelerated-mobile-pages'),
|
4721 |
+
'tooltip-subtitle' => __('Insert Related Posts between the content', 'accelerated-mobile-pages'),
|
4722 |
'default' => 0,
|
4723 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4724 |
array(
|
4725 |
'id' => 'ampforwp-inline-related-posts-type',
|
4726 |
'type' => 'select',
|
4727 |
'title' => __('In-content Related Post by', 'accelerated-mobile-pages'),
|
4728 |
+
'class' => 'child_opt child_opt_arrow',
|
4729 |
'data' => 'page',
|
4730 |
'options' => array(
|
4731 |
'1' => 'Tags',
|
4738 |
array(
|
4739 |
'id' => 'ampforwp-inline-related-posts-order',
|
4740 |
'type' => 'switch',
|
4741 |
+
'class' => 'child_opt',
|
4742 |
'title' => __('Sort Related Posts Randomly', 'accelerated-mobile-pages'),
|
4743 |
'default' => 0,
|
4744 |
'required' => array( array('ampforwp-inline-related-posts', '=' , '1') ),
|
4746 |
array(
|
4747 |
'id' => 'ampforwp-number-of-inline-related-posts',
|
4748 |
'type' => 'text',
|
4749 |
+
'class' => 'child_opt',
|
4750 |
+
'title' => __('Count', 'accelerated-mobile-pages'),
|
4751 |
'validate' => 'numeric',
|
4752 |
'default' => '3',
|
4753 |
'required' => array( array('ampforwp-inline-related-posts', '=' , '1') ),
|
4755 |
array(
|
4756 |
'id' => 'single-tab-2',
|
4757 |
'type' => 'section',
|
4758 |
+
'title' => __('General', 'accelerated-mobile-pages'),
|
4759 |
'indent' => true,
|
4760 |
+
'layout_type' => 'accordion',
|
4761 |
+
'accordion-open'=> 0,
|
4762 |
),
|
4763 |
+
// Author Pages
|
4764 |
+
array(
|
4765 |
+
'id' => 'ampforwp-author-page-url',
|
4766 |
+
'type' => 'switch',
|
4767 |
+
'title' => __( 'Link to Author Pages', 'accelerated-mobile-pages' ),
|
4768 |
+
'default' => '0',
|
4769 |
+
),
|
4770 |
+
array(
|
4771 |
+
'id' => 'ampforwp-swift-recent-posts',
|
4772 |
+
'type' => 'switch',
|
4773 |
+
'title' => __('Recent Posts', 'accelerated-mobile-pages'),
|
4774 |
+
'tooltip-subtitle' => __('To enable & disable recent posts', 'accelerated-mobile-pages'),
|
4775 |
+
'default' => 1,
|
4776 |
+
),
|
4777 |
array(
|
4778 |
'id' => 'single-new-features',
|
4779 |
'type' => 'switch',
|
4821 |
'id' => 'amp-theme-footer-settings',
|
4822 |
'subsection' => true,
|
4823 |
'fields' => array(
|
4824 |
+
array(
|
4825 |
+
'id' => 'footer-tab-1',
|
4826 |
+
'type' => 'section',
|
4827 |
+
'title' => __('Footer Design', 'accelerated-mobile-pages'),
|
4828 |
+
'indent' => true,
|
4829 |
+
'layout_type' => 'accordion',
|
4830 |
+
'accordion-open'=> 1,
|
4831 |
+
),
|
4832 |
// Swift
|
4833 |
+
array(
|
4834 |
+
'id' => 'footer-type',
|
4835 |
+
'title' => __('Footer Type', 'accelerated-mobile-pages'),
|
4836 |
+
'type' => 'image_select',
|
4837 |
+
'options'=> array(
|
4838 |
+
'1' => array(
|
4839 |
+
'alt'=>' Footer Design 1 ',
|
4840 |
+
'img' =>AMPFORWP_PLUGIN_DIR_URI.'/images/footer-1.png'
|
4841 |
+
),
|
4842 |
+
),
|
4843 |
+
'default'=> '1',
|
4844 |
+
// 'max-width' => 200,
|
4845 |
+
// 'max-height'=> 60,
|
4846 |
+
'required' => array( array('amp-design-selector', '=' , '4') ),
|
4847 |
+
),
|
4848 |
+
array(
|
4849 |
+
'id' => 'footer-tab-3',
|
4850 |
+
'type' => 'section',
|
4851 |
+
'title' => __('General', 'accelerated-mobile-pages'),
|
4852 |
+
'indent' => true,
|
4853 |
+
'layout_type' => 'accordion',
|
4854 |
+
'accordion-open'=> 1,
|
4855 |
+
),
|
4856 |
+
|
4857 |
array(
|
4858 |
'id' => 'swift-menu',
|
4859 |
'type' => 'switch',
|
4860 |
'title' => __('Menu', 'accelerated-mobile-pages'),
|
4861 |
'default' => 1,
|
4862 |
'required' => array( array('amp-design-selector', '=' , '4') ),
|
4863 |
+
'tooltip-subtitle' => __( 'Add Menus to your AMP pages by clicking on this <a href="'.trailingslashit(get_admin_url()).'nav-menus.php?action=locations">link</a>' , 'accelerated-mobile-pages'),
|
4864 |
),
|
4865 |
array(
|
4866 |
'id' => 'amp-footer-link-non-amp-page',
|
4881 |
'required' => array(
|
4882 |
array('amp-design-selector', '!=' , '3')
|
4883 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4884 |
),
|
4885 |
array(
|
4886 |
'id' => 'ampforwp-footer-top-design3',
|
4887 |
'type' => 'switch',
|
4888 |
'title' => __('Back to Top link', 'accelerated-mobile-pages'),
|
4889 |
+
'tooltip-subtitle' => __('Enable / Disable Link to top of the page in the footer', 'accelerated-mobile-pages'),
|
4890 |
'true' => 'true',
|
4891 |
'false' => 'false',
|
4892 |
'default' => 0,
|
4918 |
'required' => array(
|
4919 |
array('amp-design-selector', '=' , '4')
|
4920 |
),
|
4921 |
+
'layout_type' => 'accordion',
|
4922 |
+
'accordion-open'=> 0,
|
4923 |
),
|
4924 |
array(
|
4925 |
'id' => 'footer-customize-options',
|
4929 |
'required' => array( array('amp-design-selector', '=' , '4') ),
|
4930 |
),
|
4931 |
array(
|
4932 |
+
'id' => 'swift-footer-txt-clr',
|
4933 |
+
'title' => __('Footer Text Color', 'accelerated-mobile-pages'),
|
4934 |
'type' => 'color_rgba',
|
4935 |
'default' => array(
|
4936 |
+
'color' => '#888888',
|
4937 |
),
|
4938 |
'required' => array(
|
4939 |
array('footer-customize-options','=',1)
|
4940 |
)
|
4941 |
),
|
4942 |
array(
|
4943 |
+
'id' => 'swift-footer-link-clr',
|
4944 |
+
'title' => __('Footer Link Color', 'accelerated-mobile-pages'),
|
4945 |
'type' => 'color_rgba',
|
4946 |
'default' => array(
|
4947 |
+
'color' => '#fcc118',
|
4948 |
),
|
4949 |
'required' => array(
|
4950 |
array('footer-customize-options','=',1)
|
4951 |
)
|
4952 |
),
|
4953 |
array(
|
4954 |
+
'id' => 'swift-footer-link-hvr',
|
4955 |
+
'title' => __('Footer Link Hover Color', 'accelerated-mobile-pages'),
|
4956 |
'type' => 'color_rgba',
|
4957 |
'default' => array(
|
4958 |
'color' => '#888888',
|
4962 |
)
|
4963 |
),
|
4964 |
array(
|
4965 |
+
'id' => 'swift-footer-bg',
|
4966 |
+
'title' => __('Footer 1 Background', 'accelerated-mobile-pages'),
|
4967 |
'type' => 'color_rgba',
|
4968 |
'default' => array(
|
4969 |
+
'color' => '#182733',
|
4970 |
),
|
4971 |
'required' => array(
|
4972 |
array('footer-customize-options','=',1)
|
4973 |
)
|
4974 |
),
|
4975 |
array(
|
4976 |
+
'id' =>"ftr1-gapping",
|
4977 |
+
'type' =>'spacing',
|
4978 |
+
'title' => __('Footer 1 Gapping', 'accelerated-mobile-pages'),
|
4979 |
+
'units' => array('px','%'),
|
4980 |
+
'default' =>array(
|
4981 |
+
'padding-top' => '70px',
|
4982 |
+
'padding-right' => '0px',
|
4983 |
+
'padding-bottom' => '70px',
|
4984 |
+
'padding-left' => '0px',
|
4985 |
+
'units' => 'px',
|
4986 |
+
),
|
4987 |
+
'required' => array(
|
4988 |
+
array('footer-customize-options','=',1)
|
4989 |
+
)
|
4990 |
+
),
|
4991 |
+
array(
|
4992 |
+
'id' => 'swift-footer1-cntnsize',
|
4993 |
+
'type' => 'text',
|
4994 |
+
'title' => __('Footer 1 Font Size', 'accelerated-mobile-pages'),
|
4995 |
+
'default' => '14px',
|
4996 |
+
'required' => array(
|
4997 |
+
array('footer-customize-options','=',1)
|
4998 |
+
)
|
4999 |
+
),
|
5000 |
+
array(
|
5001 |
+
'id' => 'swift-head-size',
|
5002 |
+
'type' => 'text',
|
5003 |
+
'title' => __('Footer 1 Heading Font Size', 'accelerated-mobile-pages'),
|
5004 |
+
'default' => '12px',
|
5005 |
+
'required' => array(
|
5006 |
+
array('footer-customize-options','=',1)
|
5007 |
+
)
|
5008 |
+
),
|
5009 |
+
array(
|
5010 |
+
'id' => 'swift-head-fntwgth',
|
5011 |
+
'type' => 'text',
|
5012 |
+
'title' => __('Footer 1 Heading Font Weight', 'accelerated-mobile-pages'),
|
5013 |
+
'default' => '500',
|
5014 |
+
'required' => array(
|
5015 |
+
array('footer-customize-options','=',1)
|
5016 |
+
)
|
5017 |
+
),
|
5018 |
+
array(
|
5019 |
+
'id' => 'swift-footer-heading-clr',
|
5020 |
+
'title' => __('Footer 1 Heading Color', 'accelerated-mobile-pages'),
|
5021 |
'type' => 'color_rgba',
|
5022 |
'default' => array(
|
5023 |
+
'color' => '#999',
|
5024 |
),
|
5025 |
'required' => array(
|
5026 |
array('footer-customize-options','=',1)
|
5037 |
array('footer-customize-options','=',1)
|
5038 |
)
|
5039 |
),
|
5040 |
+
array(
|
5041 |
+
'id' =>"ftr2-gapping",
|
5042 |
+
'type' =>'spacing',
|
5043 |
+
'title' => __('Footer 2 Gapping', 'accelerated-mobile-pages'),
|
5044 |
+
'units' => array('px','%'),
|
5045 |
+
'default' =>array(
|
5046 |
+
'padding-top' => '50px',
|
5047 |
+
'padding-right' => '0px',
|
5048 |
+
'padding-bottom' => '50px',
|
5049 |
+
'padding-left' => '0px',
|
5050 |
+
'units' => 'px',
|
5051 |
+
),
|
5052 |
+
'required' => array(
|
5053 |
+
array('footer-customize-options','=',1)
|
5054 |
+
)
|
5055 |
+
),
|
5056 |
+
array(
|
5057 |
+
'id' => 'swift-footer2-fntsize',
|
5058 |
+
'type' => 'text',
|
5059 |
+
'title' => __('Footer 2 Font Size', 'accelerated-mobile-pages'),
|
5060 |
+
'default' => '12px',
|
5061 |
+
'required' => array(
|
5062 |
+
array('footer-customize-options','=',1)
|
5063 |
+
)
|
5064 |
+
),
|
5065 |
+
array(
|
5066 |
+
'id' => 'swift-footer-brdrclr',
|
5067 |
+
'title' => __('Footer 2 Border Color', 'accelerated-mobile-pages'),
|
5068 |
+
'type' => 'color_rgba',
|
5069 |
+
'default' => array(
|
5070 |
+
'color' => '#eee',
|
5071 |
+
),
|
5072 |
+
'required' => array(
|
5073 |
+
array('footer-customize-options','=',1)
|
5074 |
+
)
|
5075 |
+
),
|
5076 |
array(
|
5077 |
'id' => 'footer2-position-type',
|
5078 |
+
'title' => __('Footer 2 Menu Position', 'accelerated-mobile-pages'),
|
5079 |
'type' => 'select',
|
5080 |
'options'=> array(
|
5081 |
+
'1' => 'Center',
|
5082 |
'2' => 'Inline'
|
5083 |
),
|
5084 |
'default'=> '1',
|
5103 |
'title' => __('Pages', 'accelerated-mobile-pages'),
|
5104 |
'indent' => true,
|
5105 |
),*/
|
5106 |
+
array(
|
5107 |
+
'id' => 'page-tab-1',
|
5108 |
+
'type' => 'section',
|
5109 |
+
'title' => __('General', 'accelerated-mobile-pages'),
|
5110 |
+
'indent' => true,
|
5111 |
+
'layout_type' => 'accordion',
|
5112 |
+
'accordion-open'=> 1,
|
5113 |
+
),
|
5114 |
+
|
5115 |
// Meta ON/OFF Pages
|
5116 |
array(
|
5117 |
'id' => 'meta_page',
|
5124 |
'type' => 'switch',
|
5125 |
'default' => '0',
|
5126 |
'title' => __('Subpages/ChildPages', 'accelerated-mobile-pages'),
|
5127 |
+
'tooltip-subtitle' => __('Shows a List of Subpages'),
|
5128 |
),
|
5129 |
)
|
5130 |
));
|
5139 |
array(
|
5140 |
'id' => 'social-shre',
|
5141 |
'type' => 'section',
|
5142 |
+
'title' => __('Social Sharing', 'accelerated-mobile-pages'),
|
5143 |
'indent' => true,
|
5144 |
//'start' => true,
|
5145 |
//'label' => 'Tab 2',
|
5146 |
+
'layout_type' => 'accordion',
|
5147 |
+
'accordion-open'=> 1,
|
|
|
5148 |
),
|
5149 |
// Facebook Like
|
5150 |
array(
|
5165 |
array(
|
5166 |
'id' => 'amp-facebook-app-id',
|
5167 |
'title' => __('Facebook App ID', 'accelerated-mobile-pages'),
|
5168 |
+
'tooltip-subtitle' => __('In order to use Facebook share you need to register an app ID, you can register one here: https://developers.facebook.com/apps.', 'accelerated-mobile-pages'),
|
5169 |
'type' => 'text',
|
5170 |
'required' => array('enable-single-facebook-share', '=' , '1'),
|
5171 |
'placeholder' => __('Enter your facebook app id','accelerated-mobile-pages'),
|
5190 |
'id' => 'enable-single-twitter-share-link',
|
5191 |
'type' => 'switch',
|
5192 |
'title' => __('Pretty Permalinks for Twitter Share?', 'accelerated-mobile-pages'),
|
5193 |
+
'tooltip-subtitle' => __('Enable this to have pretty links for twitter sharing'),
|
5194 |
'default' => 0,
|
5195 |
'required' => array('enable-single-twitter-share', '=' , '1'),
|
5196 |
),
|
5312 |
array(
|
5313 |
'id' => 'social-prfl',
|
5314 |
'type' => 'section',
|
5315 |
+
'title' => __('Social Media Profile Links', 'accelerated-mobile-pages'),
|
5316 |
'indent' => true,
|
5317 |
//'start' => true,
|
5318 |
//'label' => 'Tab 2',
|
5319 |
+
'required' => array(
|
5320 |
+
array('amp-design-selector', '=' , '4')
|
5321 |
+
),
|
5322 |
+
'layout_type' => 'accordion',
|
5323 |
+
'accordion-open'=> 1,
|
5324 |
),
|
5325 |
array(
|
5326 |
'id' => 'menu-social',
|
5327 |
'type' => 'switch',
|
5328 |
'title' => __('Menu Social Profile', 'accelerated-mobile-pages'),
|
5329 |
+
'default' => 0,
|
5330 |
+
'required' => array(
|
5331 |
+
array('amp-design-selector', '=' , '4')
|
5332 |
+
),
|
5333 |
),
|
5334 |
array(
|
5335 |
'id' => 'enbl-fb',
|
5337 |
'title' => __('Facebook', 'accelerated-mobile-pages'),
|
5338 |
'default' => 1,
|
5339 |
'required' => array(
|
5340 |
+
array('menu-social', '=' ,1)
|
5341 |
)
|
5342 |
),
|
5343 |
array(
|
5515 |
'id' => 'social-media-profiles-subsection',
|
5516 |
'type' => 'section',
|
5517 |
'title' => __('Social Media Profiles (Design #3)', 'accelerated-mobile-pages'),
|
5518 |
+
'tooltip-subtitle' => __('Please enter your personal/organizational social media profiles here', 'accelerated-mobile-pages'),
|
5519 |
'indent' => true,
|
5520 |
'required' => array(
|
5521 |
array('amp-design-selector', '=' , '3')
|
5522 |
),
|
5523 |
+
'layout_type' => 'accordion',
|
5524 |
+
'accordion-open'=> 1,
|
5525 |
),
|
5526 |
//#1
|
5527 |
array(
|
5763 |
'required' => array(
|
5764 |
array('amp-design-selector', '=' , '3')
|
5765 |
),
|
5766 |
+
'tooltip-subtitle' => __('Display date along with author and category in posts', 'accelerated-mobile-pages' ),
|
5767 |
'default' => '0'
|
5768 |
),
|
5769 |
+
array(
|
5770 |
+
'id' => 'date-tab-1',
|
5771 |
+
'type' => 'section',
|
5772 |
+
'title' => __('General', 'accelerated-mobile-pages'),
|
5773 |
+
'indent' => true,
|
5774 |
+
'layout_type' => 'accordion',
|
5775 |
+
'accordion-open'=> 1,
|
5776 |
+
),
|
5777 |
// Show Date As
|
5778 |
array(
|
5779 |
'id' => 'ampforwp-post-date-global',
|
5790 |
'id' =>'ampforwp-post-date-format',
|
5791 |
'type' =>'select',
|
5792 |
'title' =>__('Date Format','accelerated-mobile-pages'),
|
5793 |
+
'tooltip-subtitle' => __('Select the Date Format of Posts', 'accelerated-mobile-pages'),
|
5794 |
'options' => array(
|
5795 |
'1' => 'Ago',
|
5796 |
'2' => 'Traditional view'
|
5811 |
'type' => 'switch',
|
5812 |
'title' => __('Modified Date Notice', 'accelerated-mobile-pages'),
|
5813 |
'default' => 0,
|
5814 |
+
'tooltip-subtitle' => __('Show Modified date of an article at the end of the post.', 'accelerated-mobile-pages'),
|
5815 |
),
|
5816 |
)
|
5817 |
|
5830 |
'id' => 'amp-design',
|
5831 |
'subsection' => true,
|
5832 |
'fields' => array(
|
5833 |
+
array(
|
5834 |
+
'id' => 'misc-tab-1',
|
5835 |
+
'type' => 'section',
|
5836 |
+
'title' => __('General', 'accelerated-mobile-pages'),
|
5837 |
+
'indent' => true,
|
5838 |
+
'layout_type' => 'accordion',
|
5839 |
+
'accordion-open'=> 1,
|
5840 |
+
),
|
5841 |
|
5842 |
// RTL
|
5843 |
array(
|
5845 |
'type' => 'switch',
|
5846 |
'title' => __('RTL Support', 'accelerated-mobile-pages'),
|
5847 |
'default' => 0,
|
5848 |
+
'tooltip-subtitle' => __('Enable Right to Left language support', 'accelerated-mobile-pages'),
|
5849 |
'true' => 'true',
|
5850 |
'false' => 'false',
|
5851 |
),
|
5853 |
'id' => 'ampforwp-sub-categories-support',
|
5854 |
'type' => 'switch',
|
5855 |
'title' => __('Sub-Categories under Category', 'accelerated-mobile-pages'),
|
5856 |
+
'tooltip-subtitle' => __('Display sub-categories on category pages', 'accelerated-mobile-pages'),
|
5857 |
'default' => '0'
|
5858 |
),
|
5859 |
)
|
@@ -1,61 +1,62 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* Redux Framework is free software: you can redistribute it and/or modify
|
5 |
-
* it under the terms of the GNU General Public License as published by
|
6 |
-
* the Free Software Foundation, either version 2 of the License, or
|
7 |
-
* any later version.
|
8 |
-
* Redux Framework is distributed in the hope that it will be useful,
|
9 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
11 |
-
* GNU General Public License for more details.
|
12 |
-
* You should have received a copy of the GNU General Public License
|
13 |
-
* along with Redux Framework. If not, see <http://www.gnu.org/licenses/>.
|
14 |
-
*
|
15 |
-
* @package ReduxFramework
|
16 |
-
* @author Kevin Provance (kprovance)
|
17 |
-
* @version 3.0.0
|
18 |
-
*/
|
19 |
-
|
20 |
-
// Exit if accessed directly
|
21 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
22 |
-
exit;
|
23 |
-
}
|
24 |
-
|
25 |
-
// Don't duplicate me!
|
26 |
-
if ( ! class_exists( 'ReduxFramework_extension_vendor_support' ) ) {
|
27 |
-
|
28 |
-
/**
|
29 |
-
* Main ReduxFramework custom_field extension class
|
30 |
-
*
|
31 |
-
* @since 3.1.6
|
32 |
-
*/
|
33 |
-
class ReduxFramework_extension_vendor_support {
|
34 |
-
|
35 |
-
static $version = "1.0.0";
|
36 |
-
|
37 |
-
/**
|
38 |
-
* Class Constructor. Defines the args for the extions class
|
39 |
-
*
|
40 |
-
* @since 1.0.0
|
41 |
-
* @access public
|
42 |
-
*
|
43 |
-
* @param array $sections Panel sections.
|
44 |
-
* @param array $args Class constructor arguments.
|
45 |
-
* @param array $extra_tabs Extra panel tabs.
|
46 |
-
*
|
47 |
-
* @return void
|
48 |
-
*/
|
49 |
-
public function __construct( $parent = null ) {
|
50 |
-
if ( empty( $this->extension_dir ) ) {
|
51 |
-
$this->extension_dir = trailingslashit( str_replace( '\\', '/', dirname( __FILE__ ) ) );
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
Redux_VendorURL::$
|
59 |
-
|
60 |
-
|
|
|
61 |
} // if
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Redux Framework is free software: you can redistribute it and/or modify
|
5 |
+
* it under the terms of the GNU General Public License as published by
|
6 |
+
* the Free Software Foundation, either version 2 of the License, or
|
7 |
+
* any later version.
|
8 |
+
* Redux Framework is distributed in the hope that it will be useful,
|
9 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
11 |
+
* GNU General Public License for more details.
|
12 |
+
* You should have received a copy of the GNU General Public License
|
13 |
+
* along with Redux Framework. If not, see <http://www.gnu.org/licenses/>.
|
14 |
+
*
|
15 |
+
* @package ReduxFramework
|
16 |
+
* @author Kevin Provance (kprovance)
|
17 |
+
* @version 3.0.0
|
18 |
+
*/
|
19 |
+
|
20 |
+
// Exit if accessed directly
|
21 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
22 |
+
exit;
|
23 |
+
}
|
24 |
+
|
25 |
+
// Don't duplicate me!
|
26 |
+
if ( ! class_exists( 'ReduxFramework_extension_vendor_support' ) ) {
|
27 |
+
|
28 |
+
/**
|
29 |
+
* Main ReduxFramework custom_field extension class
|
30 |
+
*
|
31 |
+
* @since 3.1.6
|
32 |
+
*/
|
33 |
+
class ReduxFramework_extension_vendor_support {
|
34 |
+
|
35 |
+
static $version = "1.0.0";
|
36 |
+
|
37 |
+
/**
|
38 |
+
* Class Constructor. Defines the args for the extions class
|
39 |
+
*
|
40 |
+
* @since 1.0.0
|
41 |
+
* @access public
|
42 |
+
*
|
43 |
+
* @param array $sections Panel sections.
|
44 |
+
* @param array $args Class constructor arguments.
|
45 |
+
* @param array $extra_tabs Extra panel tabs.
|
46 |
+
*
|
47 |
+
* @return void
|
48 |
+
*/
|
49 |
+
public function __construct( $parent = null ) {
|
50 |
+
if ( empty( $this->extension_dir ) ) {
|
51 |
+
$this->extension_dir = trailingslashit( str_replace( '\\', '/', dirname( __FILE__ ) ) );
|
52 |
+
//$this->extension_url = site_url( str_replace( trailingslashit( str_replace( '\\', '/', ABSPATH ) ), '', $this->extension_dir ) );
|
53 |
+
$this->extension_url = AMPFORWP_PLUGIN_DIR_URI.'includes/options/extensions/vendor_support/vendor_support/';
|
54 |
+
}
|
55 |
+
|
56 |
+
include_once $this->extension_dir . 'class.vendor-url.php';
|
57 |
+
|
58 |
+
Redux_VendorURL::$dir = $this->extension_dir;
|
59 |
+
Redux_VendorURL::$url = $this->extension_url;
|
60 |
+
}
|
61 |
+
} // class
|
62 |
} // if
|
@@ -1 +1 @@
|
|
1 |
-
.redux-main .button.remove-image,.redux-main .removeCSS{margin-left:10px;color:#ef521d}.redux-main .button.remove-image:hover,.redux-main .removeCSS:hover{color:red}.redux-main .upload_button_div{
|
1 |
+
.redux-main .button.remove-image,.redux-main .removeCSS{margin-left:10px;color:#ef521d}.redux-main .button.remove-image:hover,.redux-main .removeCSS:hover{color:red}.redux-main .upload_button_div{float: left; top: -1px; position: relative;}.redux-main .upload-error{float:left;color:#666;font-size:10px;font-weight:bold;text-decoration:none;text-shadow:1px 1px 0 #FFFFFF;margin:0 10px 0 0;padding:3px 10px;background:#FFDFEC;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.redux-main .reset-button{font-family:Arial, Verdana, sans-serif;float:left;margin:0;color:#ef521d;border-color:#bbb}.redux-main .redux-option-image{max-height:340px;max-width:340px;padding:5px;margin-bottom:0;margin-top:10px;margin-right:15px;border:1px solid #e3e3e3;background:#f7f7f7;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.redux-main .redux-main .upload{width:80% !important}.redux-main .button{margin-top:2px}
|
@@ -1,9 +1,67 @@
|
|
1 |
-
.spinner{visibility:hidden;display:block}.spinner.is-active{visibility:visible}.redux-main .description{margin-top:7px}.form-table>tbody>tr>th{width:30%}.redux-container{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
position: relative;
|
3 |
-
right: 50px;}.redux-container .redux-action_bar .spinner{float:left;margin-top:4px}.redux-container .redux-ajax-loading{display:none;background:red url(data:image/gif;base64,R0lGODlhEAAQAPUAAIiIiIqKio2NjZSUlJqamp6enqKioqSkpK+vr7i4uL+/v8PDw8XFxcnJyc/Pz9HR0dTU1NjY2Nzc3OLi4ubm5unp6ezs7PPz88vLy83NzdDQ0NXV1d3d3eHh4bu7u8zMzOvr6+3t7ZiYmNbW1sDAwMTExNra2s7OztPT09vb2+Xl5QAAAAAAAA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AIfkEAAoA/wAsAAAAABAAEAAABn/Ai3BILBovloXCchRaKpdRIDC6VJhEysHQoRgMlI7hQCFGBAENkukICCLE5JJYUSywSGjzUhYmBgxNDAMJSAYBCE0IAAZMEQkdTRwKVUMcHHhCFXpDERgYcJYEBZFDI58aFhoOFxpuoUIUGhoUZwJVGA6ZaxccBAQce0QdpUVBACH5BAAKAP8ALAAAAAAQABAAAAZ8wItwSCwaLyEFKXQUhioXSCAAuVSYRMrB0KEYDJSO4UAhmgQBDZKpCQhMxFBJgRVWlFkOtElhUj4NH3VEJQMJFx0NintFCAEGISEQH3BHHR5VThVlRRSMQh0FBBxEHAQFnEJnaRcfHxdtb0WKIWcCVSUNTYgEo7tEHR1HQQAh+QQACgD/ACwAAAAAEAAQAAAGdcCLcEgsGi8hhSJ0FHY6l1EgMLqAmEROo5HqGAwqL5g42qKsoAsqIEgRVacTdAhSLLBI1bWpwiYGDE0MAwlIBgEITQgBBkwjCRxNHQlVdCpGekUqBQSRQxwEBZdDKQIBZ3FqbG5EDYEjpikhW3hFoJ1NRU9HQQA7) no-repeat;width:16px;height:16px;margin:3px 4px 0;float:right}.redux-container #redux-intro-text{background:#f3f3f3;border-bottom:1px solid #dedede;-moz-box-shadow:inset 0 1px 0 #fcfcfc;-webkit-box-shadow:inset 0 1px 0 #fcfcfc;box-shadow:inset 0 1px 0 #fcfcfc;padding:3px;padding:10px 10px}.redux-container #redux-intro-text p{margin:0;font-family:"Lucida Grande", Sans-serif;color:#888}.redux-container .expand_options{cursor:pointer;display:block;height:22px;width:21px;float:left;font-size:0;text-indent:-9999px;margin:1px 0 0 5px;border:1px solid #bbb;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAyCAIAAAAm4OfBAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQhJREFUeNrslT0KhDAQhTeLR7ATT6IXSKGFYO0lciFrO1N4AU8TLNXKv0CaJbLJRAZxl1hYyJuXN+PoR/Z9fyFdBNNr27Zf8Oq6bhgGSGUYhpTSzyeBNi8hRFVVEK+6rrXaQFOs6yrvTdOYjcqyVEpTLqXI89yaSypBudq2xckF2TipOSvfmmhZFuAGnJV6Licvey5gj7fnwpwXvEfLfqnT0jQ1OBJCQLnUBvZ9b85VFAV076UU8g1ZckVRxBiDzD6OY62WzPOM9i+cpunvvcZxfCQfPWs9a91Ym2UZ5xyHtd/e8hXWng+/zlrD9jmz1tDj7bkw5wXv0Y210itJEs9az9oHsPYQYACveK0/IuB51AAAAABJRU5ErkJggg==) no-repeat -2px -26px}.redux-container .expand_options.expanded{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAyCAIAAAAm4OfBAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQhJREFUeNrslT0KhDAQhTeLR7ATT6IXSKGFYO0lciFrO1N4AU8TLNXKv0CaJbLJRAZxl1hYyJuXN+PoR/Z9fyFdBNNr27Zf8Oq6bhgGSGUYhpTSzyeBNi8hRFVVEK+6rrXaQFOs6yrvTdOYjcqyVEpTLqXI89yaSypBudq2xckF2TipOSvfmmhZFuAGnJV6Licvey5gj7fnwpwXvEfLfqnT0jQ1OBJCQLnUBvZ9b85VFAV076UU8g1ZckVRxBiDzD6OY62WzPOM9i+cpunvvcZxfCQfPWs9a91Ym2UZ5xyHtd/e8hXWng+/zlrD9jmz1tDj7bkw5wXv0Y210itJEs9az9oHsPYQYACveK0/IuB51AAAAABJRU5ErkJggg==) no-repeat -2px -1px}.redux-container .expand_options:hover{border-color:#888}.redux-container .sticky-footer-fixed{background:#f3f3f3;border-top:1px solid #dedede !important;-moz-box-shadow:inset 0 1px 0 #fcfcfc;-webkit-box-shadow:inset 0 1px 0 #fcfcfc;box-shadow:inset 0 1px 0 #fcfcfc}.redux-container .redux-sidebar,.redux-container .redux-main{min-height:300px}.no-js{border:1px solid #ffbaba;margin:0;border-bottom:1px solid #E7E7E7;background-color:#F2DEDE;color:#B94A48;padding:8px 35px 8px 14px;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.redux-main{background:#FCFCFC;margin-left:201px;border-left:1px solid #D8D8D8;padding:10px 20px;-moz-box-shadow:inset 0 1px 0 #fff;-webkit-box-shadow:inset 0 1px 0 #FFF;box-shadow:inset 0 1px 0 #FFF;position:relative}.redux-main #redux_ajax_overlay{position:absolute;top:0;left:0;right:0;bottom:0;-moz-opacity:0.10;-khtml-opacity:0.10;opacity:0.10;filter:progid:DXImageTransform.Microsoft.Alpha(opacity=10);filter:alpha(opacity=10);background:#000;z-index:200;display:none}.redux-main .form-table.no-border{border-top:none}.redux-main .form-table tr{border-bottom:1px solid #E7E7E7}.redux-main .form-table tr:last-child{border-bottom:none !important}.redux-main .form-table tr th,.redux-main .form-table tr td{color:#333}.redux-main .form-table tr td table.mceLayout,.redux-main .form-table tr td table.mceLayout tr,.redux-main .form-table tr td table.mceLayout tr td{padding:0;border-width:0}.redux-main .form-table tr td .redux-th-warning{font-size:1em;color:#C09853;font-weight:normal;display:block;margin-top:10px}.redux-main .form-table tr td .redux-field-warning{border-color:#C09853;margin-top:10px}.redux-main .form-table tr td .redux-th-error{font-size:1em;color:#B94A48;font-weight:normal;display:block;margin-top:10px}.redux-main input.large-text{width:100%}.redux-main .hide{display:none}.redux-main .redux-field-container{padding:20px 0}.redux-main .mini,.redux-main input[type=text].mini{width:60px;text-align:center}.redux-main input{line-height:19px}.redux-main img{max-width:100%;height:auto;width:auto !important}.redux-main .select2-default{width:auto !important}.redux-main .showDefaults{display:block;font-weight:normal;font-size:.8em;color:#888}.redux-main span.description{display:block;font-style:normal;font-weight:400}.redux-main #redux-system-info textarea{min-height:730px;width:100%}.redux-main .field-desc{clear:both;font-size:13px}.redux-main .data-full li{width:100%}.redux-main .data-half li{width:50%;float:left}.redux-main .data-third li{width:33.3%;float:left}.redux-main .data-quarter li{width:25%;float:left}.redux-main .ui-helper-hidden-accessible{top:inherit}.redux-main .form-table{clear:none;margin-top:0px !important}.redux-main .form-table tr:first-child th,.redux-main .form-table tr:first-child td{padding-top:0}.redux-main .input-append input{border-right:0;margin-bottom:0;border-top-right-radius:0;border-bottom-right-radius:0;margin-right:0;float:left;margin-top:0;display:block}.redux-main .input-append .add-on{border-top-right-radius:3px;border-bottom-right-radius:3px;margin-left:-2px;padding-top:4px !important;padding-bottom:2px !important}.redux-main .input-prepend input{border-left:0;margin-bottom:0;border-top-left-radius:0;border-bottom-left-radius:0;margin-left:0;padding-top:2px;padding-bottom:5px;float:left;margin-top:0;display:block}.redux-main .input-prepend .add-on{border-top-left-radius:3px;border-bottom-left-radius:3px;float:left}.redux-main .input-append{margin-right:10px;font-size:0;white-space:nowrap;float:left;display:inline-block;margin-bottom:6px}.redux-main .input-append .add-on,.redux-main .input-prepend .add-on{width:auto;display:inline-block;min-width:16px;padding:3px 4px;font-size:12px;font-weight:400;line-height:20px;text-align:center;text-shadow:0 1px 0 #ffffff;background-color:#eeeeee;border:1px solid #cccccc}.redux-main .input-prepend{font-size:0;white-space:nowrap;float:left;display:inline-block;margin-bottom:6px}.redux-sidebar{width:202px;float:left}.redux-sidebar .redux-group-menu{margin-top:0 !important}.redux-sidebar .redux-group-menu li{margin-top:0}.redux-sidebar .redux-group-menu li.active a,.redux-sidebar .redux-group-menu li.active a:hover,.redux-sidebar .redux-group-menu li.activeChild a,.redux-sidebar .redux-group-menu li.activeChild a:hover{background:#FCFCFC;color:#269ad6;width:184px;opacity:1}.redux-sidebar .redux-group-menu li.active a li a{background:#333;padding-left:5px}.redux-sidebar .redux-group-menu li.divide{padding:0;border-width:1px 0;border-style:solid;border-bottom-color:#E7E7E7;border-top-color:#F9F9F9}.redux-sidebar .redux-group-menu li a:first-child{border-top:none}.redux-sidebar .redux-group-menu li a{display:block;padding:10px 4px 10px 14px;background:#e0e0e0;background:transparent;border-width:1px 0;border-style:solid;border-bottom-color:#E7E7E7;border-top-color:#F9F9F9;opacity:0.7;color:#555;font-weight:600;text-decoration:none;-webkit-transition:none;transition:none}.redux-sidebar .redux-group-menu li a.custom-tab{background:#f6f6f6}.redux-sidebar .redux-group-menu li a img{width:16px;height:16px;position:absolute;left:15px}.redux-sidebar .redux-group-menu li a:hover{color:#fff;background: #444;opacity:1}.redux-sidebar .redux-menu-warning,.redux-sidebar .redux-menu-error,.redux-sidebar .hasSubSections .extraIconSubsections{display:inline-block;float:right;padding:6px 7px 4px 7px;margin-left:4px;font-family:sans-serif;font-size:9px;font-weight:600;line-height:9px;border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;border:0 solid transparent}.redux-sidebar .redux-menu-warning i,.redux-sidebar .redux-menu-error i,.redux-sidebar .hasSubSections .extraIconSubsections i{margin-left:-3px;margin-top:-3px}.redux-sidebar .redux-menu-error{background-color:#b94a48;color:#f2dede}.redux-sidebar .redux-menu-warning{background-color:#C09853;color:#FCF8E3}.redux-sidebar ul .subsection{display:none}.redux-sidebar .redux-group-tab-link-a{position:relative;outline:0}.redux-sidebar .redux-group-tab-link-a i{vertical-align:middle;font-size:1.35em;position:absolute;opacity:0.9}.redux-sidebar .redux-group-tab-link-a span{display:block}.redux-sidebar .redux-group-tab-link-a span.group_title{padding-left:30px}.redux-sidebar .redux-group-tab-link-li a.hasError span.group_title{padding-right:25px}.redux-sidebar #redux-header{text-align:center}.redux-sidebar #redux-header .display_header{float:none}.form-table th,.form-table td{margin:0;padding:0;width:auto}.redux_field_th{ font-weight: 500; padding: 20px 10px 20px 0px; display: block; font-size: 15px;}.redux_field_th span:first-child{ font-weight: normal;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
display: block;
|
5 |
color: #777;
|
6 |
-
font-size: 12px;}.farb-popup-wrapper{position:relative;display:block}.farb-popup{position:absolute;left:40px;top:40px;background-color:white;border:1px solid #222;padding:5px;z-index:100}#ui-datepicker-div{display:none}.mp6 .icon-themes{display:none}.mp6 .redux-container #info_bar{padding:6px 10px 6px 6px}.mp6 .redux-container #info_bar a{margin-top:2px}.redux-timer{text-align:center;font-size:10px;color:#888}.wrap{margin-top:0}@media screen and (max-width: 600px){.redux-sidebar{width:44px}.redux-sidebar .extraIconSubsections{display:none !important}.redux-sidebar .redux-group-menu li a,.redux-sidebar .redux-group-menu li a:hover,.redux-sidebar .redux-group-menu li.active a,.redux-sidebar .redux-group-menu li.active a:hover,.redux-sidebar .redux-group-menu li.activeChild a,.redux-sidebar .redux-group-menu li.activeChild a:hover{width:auto}.redux-sidebar .redux-group-tab-link-a{position:relative}.redux-sidebar .redux-group-tab-link-a i{position:inherit}.redux-sidebar .redux-group-tab-link-a span{display:none;position:absolute;top:0;left:44px;padding:12px;width:200px;background:#eeeeee;border:1px solid #ccc;-webkit-box-shadow:2px 2px 8px rgba(0,0,0,0.2);-moz-box-shadow:2px 2px 8px rgba(0,0,0,0.2);box-shadow:2px 2px 8px rgba(0,0,0,0.2);border-width:1px 1px 1px 0px;z-index:3}.redux-sidebar .redux-group-tab-link-a:hover>span{display:block}.redux-main{margin-left:43px;width:auto;max-width:100%}table.form-table,.form-table>thead,.form-table>tbody,.form-table>tbody>tr>th,.form-table>tbody>tr>td,.form-table>tbody>tr{display:block;width:100% !important;padding:0px !important}.form-table>tbody>tr>th,.form-table>tbody>tr>td{padding:10px !important}.form-table>tbody>tr>th,.form-table>tbody>tr>td{padding:10px !important}}@media screen and (max-width: 782px){.form-table>tbody>tr>th{width:100%}.redux_field_th{padding-bottom:0}.mp6 .redux-container #info_bar{height:auto;padding-bottom:1px}.mp6 .redux-container #info_bar a{margin-top:5px}.redux-container-switch label{padding:5px 10px !important}.redux-container-button_set label{padding:12px 10px}.redux-container #redux-footer #redux-share{line-height:34px}}pre{overflow:hidden}#redux-header h2{color:#fff}.admin-color-fresh .button.ui-datepicker-current,.admin-color-fresh button.ui-datepicker-close,.wp-customizer .button.ui-datepicker-current,.wp-customizer button.ui-datepicker-close{background-color:#007db9 !important}.admin-color-fresh .ui-datepicker-buttonpane button.ui-datepicker-current,.wp-customizer .ui-datepicker-buttonpane button.ui-datepicker-current{background:#1e8cbe !important;color:white !important;border:1px solid #104b66 !important}.admin-color-fresh .ui-datepicker-header .ui-icon,.wp-customizer .ui-datepicker-header .ui-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAADwCAMAAADYSUr5AAAA7VBMVEX8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vywC3+8AAAATnRSTlMAGBAyBAhQv4OZLiJUcEBmYBoSzQwgPBZCSEoeWiYwUiyFNIeBw2rJz8c4RBy9uXyrtaWNqa2zKP2fJO8KBgKPo2KVoa9s351GPm5+kWho0kj9AAAPhUlEQVR4nO1djWLbthEGyUiq5YSSLXtp7FpLOmfzkmxr126tmi2p03RJ1/Xe/3EGgARxPyAgRbIk2/hkSz4CJO4+HsE7AJSVysjI2AMUUOxahZ2iANhzBtZWr4BoIRSYAVN5u4QwDwQDRbcwfUi5KS3wFuDmFnQLa4Dtb//cqktwD5QEFFwfUs7PoCCA7y4bEJVFizcIob8KmhAplwwqVjt+9FBl3uINQniwEiryEyw9JHqGpQdEFNi+B4QQ7QOiHhysIPoAxUqxvdvvA9K42bsAv4S2fxfYOe57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zeEzAdw06F19R3juM7D1wita86GR0CKfDHgLuXCc4Bri6vMLdfjMc4VNSUNsdodo2xu/1+Xl/K5+az8jIyMhYG/z5gJTMF1GtKq/a3rpyCvz5gJTMl9GtKq/a3rpyCmfQ4WwZmS+kXFVetb115ST48wEf/AGcfG1iw+tWbpbS2vJ3nQxcVr3lH3z5h972FUTLzYpOVk7l5hD+eYcYwDcAnewOotrZ4OtrPDucqi/LRX0/RR4qx7Nn4U8g+qjffvuN6Gf+nC85vwauHjaYyubqvWYKY4VEfSUMitdnBCT1Ue63R5439m+OgCn6DroAAaHPVQxKth/wkJgHmG8bmQMsT0D6EjDfvhVRKO3ywOQUgRA7nmL1uawZmHf1k+DPBwQ6NdcJ+k6Md1LA5f5ONdhJ8vZ5J0vLHT99srkGOjmJbd/G1r2Nriqnse1AZt1AalU5jW2HsuuG0qvKGRkZGRkZGRG0gcONyXsP9v8D0/IdJADiBNiXl3327WRGgOL/9HC/0XwlIURkRhC4tz6Z/fu7fUf2gHvfB9z3u0BGRkZGRkbGplHcnkgguQoSqtUXuhbs/wPtMwqV0HUJAvj5vk32b8IDuL23yn7qAXZ5u32hbRX7d3o82Df1FZXvbh9QOfhyxldr/+3xgXU9oKmvsHyr7F/XA269/eveBXrsv7N9QALe/tvjA0kPWAXGbvebkbHn+D/J5nMcHzx1UAAAAABJRU5ErkJggg==) !important}.admin-color-fresh .ui-datepicker-header,.wp-customizer .ui-datepicker-header{background-color:#23282d !important;color:white !important}.admin-color-fresh .ui-datepicker td .ui-state-active,.wp-customizer .ui-datepicker td .ui-state-active{background-color:#007db9 !important;color:white !important}.admin-color-fresh .ui-datepicker td .ui-state-hover,.wp-customizer .ui-datepicker td .ui-state-hover{color:#007db9 !important}.admin-color-fresh .ui-datepicker td .ui-state-highlight,.wp-customizer .ui-datepicker td .ui-state-highlight{background:#0073aa !important;border:1px solid #23282d !important;color:white !important}.admin-color-fresh .redux-container-switch .cb-disable,.admin-color-fresh .redux-container-switch .cb-enable,.admin-color-fresh .ui-state-default,.admin-color-fresh .ui-widget-content .ui-state-default,.admin-color-fresh .ui-widget-header .ui-state-default,.wp-customizer .redux-container-switch .cb-disable,.wp-customizer .redux-container-switch .cb-enable,.wp-customizer .ui-state-default,.wp-customizer .ui-widget-content .ui-state-default,.wp-customizer .ui-widget-header .ui-state-default{background-color:#f5f5f5 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f5f5f5)) !important;background-image:-moz-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-ms-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #f8f8f8), color-stop(100%, #f5f5f5)) !important;background-image:-webkit-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-o-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-linear-gradient(top, #f8f8f8, #f5f5f5) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8', endColorstr='#f5f5f5', GradientType=0) !important;border-color:#ccc !important}.admin-color-fresh .ui-datepicker td .ui-state-active,.wp-customizer .ui-datepicker td .ui-state-active{color:black !important;font-weight:700 !important;background:white !important}.admin-color-fresh .redux-container-switch .cb-disable.selected,.wp-customizer .redux-container-switch .cb-disable.selected{background-color:#646464 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#929292), to(#646464)) !important;background-image:-moz-linear-gradient(top, #929292, #646464) !important;background-image:-ms-linear-gradient(top, #929292, #646464) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #929292), color-stop(100%, #646464)) !important;background-image:-webkit-linear-gradient(top, #929292, #646464) !important;background-image:-o-linear-gradient(top, #929292, #646464) !important;background-image:-linear-gradient(top, #929292, #646464) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#929292', endColorstr='#646464', GradientType=0) !important;border-color:#767676 !important}.admin-color-fresh .redux-container-switch .cb-enable.selected,.admin-color-fresh .redux-field-container .ui-buttonset .ui-state-active,.wp-customizer .redux-container-switch .cb-enable.selected,.wp-customizer .redux-field-container .ui-buttonset .ui-state-active{background-color:#0073aa !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#008bce), to(#0073aa)) !important;background-image:-moz-linear-gradient(top, #008bce, #0073aa) !important;background-image:-ms-linear-gradient(top, #008bce, #0073aa) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #008bce), color-stop(100%, #0073aa)) !important;background-image:-webkit-linear-gradient(top, #008bce, #0073aa) !important;background-image:-o-linear-gradient(top, #008bce, #0073aa) !important;background-image:-linear-gradient(top, #008bce, #0073aa) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#008bce', endColorstr='#0073aa', GradientType=0) !important;border-color:#003f5d !important;border-color:#005077 !important;-webkit-box-shadow:inset 0 1px 0 #00a7f6,0 1px 0 rgba(0,0,0,0.15) !important;box-shadow:inset 0 1px 0 #00a7f6,0 1px 0 rgba(0,0,0,0.15) !important}.admin-color-fresh #redux-header,.wp-customizer #redux-header{background:#23282d;border-color:#0073aa}.admin-color-fresh #redux-header .display_header span,.wp-customizer #redux-header .display_header span{color:#a0a5aa}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections a,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections a{position:relative}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections a:after,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:after,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:after{border:0 none !important;content:"\0020" !important}.admin-color-fresh .redux-sidebar .redux-group-menu li.hasSubSections .redux-menu-error,.wp-customizer .redux-sidebar .redux-group-menu li.hasSubSections .redux-menu-error{display:none;margin-right:5px}.admin-color-fresh .redux-sidebar .redux-group-menu li.hasSubSections a.hasError .extraIconSubsections,.wp-customizer .redux-sidebar .redux-group-menu li.hasSubSections a.hasError .extraIconSubsections{background-color:#b94a48;color:#f2dede}.admin-color-fresh .redux-sidebar .redux-group-menu li.hasSubSections a .extraIconSubsections,.wp-customizer .redux-sidebar .redux-group-menu li.hasSubSections a .extraIconSubsections{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;border:0 solid transparent;font-size:9px;height:9px;line-height:9px;margin-right:5px;padding:6px 7px 4px 7px;width:5px}.admin-color-fresh .redux-sidebar .redux-group-menu li.active a .extraIconSubsections,.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild a .extraIconSubsections,.wp-customizer .redux-sidebar .redux-group-menu li.active a .extraIconSubsections,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild a .extraIconSubsections{display:none}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections .redux-menu-error,.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .redux-menu-error,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections .redux-menu-error,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .redux-menu-error{display:block}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections .subsection .redux-menu-error,.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .subsection .redux-menu-error,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections .subsection .redux-menu-error,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .subsection .redux-menu-error{margin-right:2px}.admin-color-fresh .redux-sidebar .redux-group-menu li.active,.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild,.wp-customizer .redux-sidebar .redux-group-menu li.active,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild{border-left:0 none}.admin-color-fresh .redux-sidebar .redux-group-menu li.active a,.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild a,.wp-customizer .redux-sidebar .redux-group-menu li.active a,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild a{color:#23282d}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections .active a:after,.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .active a:after,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections .active a:after,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .active a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections a,.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections a,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{-webkit-transition:all 0.2s;-moz-transition:all 0.2s;transition:all 0.2s;color:#fff;width:auto;border-bottom:0}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li,.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li{border-top:0 none !important}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.active a:hover,.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a:hover,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.active a:hover,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a:hover{color:#fff}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a,.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{width:auto;border-top:0 !important;padding:7px;color:#fff;padding-left:15px;-webkit-transition:all 0.2;-moz-transition:all 0.2;-ms-transition:all 0.2;-o-transition:all 0.2;transition:all 0.2}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:hover,.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a:hover,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:hover,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a:hover{color:#1e8cbe;background:#0d0e10}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a span.group_title,.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a span.group_title,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a span.group_title,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a span.group_title{padding-left:5px !important}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a,.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a{padding-left:14px}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a span.group_title,.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a span.group_title,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a span.group_title,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a span.group_title{padding-left:30px !important}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections a,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections a{background:#0073aa}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a{background:#23282d}.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{background:#a0a5aa;text-shadow:1px 1px #54595d}.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{background:#23282d;text-shadow:none}.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a{background:#0073aa;text-shadow:1px 1px #002e44}.admin-color-fresh .redux-container-image_select .redux-image-select-selected img,.wp-customizer .redux-container-image_select .redux-image-select-selected img{border-color:#0073aa}.admin-color-fresh #redux-footer #redux-share a,.wp-customizer #redux-footer #redux-share a{color:#0073aa}.admin-color-fresh #redux-footer #redux-share a:hover,.wp-customizer #redux-footer #redux-share a:hover{color:#002e44}.admin-color-fresh .select2-results .select2-highlighted,.wp-customizer .select2-results .select2-highlighted{background:#0073aa}.admin-color-fresh .select2-drop-active,.admin-color-fresh .select2-container-multi.select2-container-active .select2-choices,.admin-color-fresh .select2-drop.select2-drop-above.select2-drop-active,.admin-color-fresh .select2-container-active .select2-choice,.admin-color-fresh .select2-container-active .select2-choices,.admin-color-fresh .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-fresh .select2-dropdown-open.select2-drop-above .select2-choices,.wp-customizer .select2-drop-active,.wp-customizer .select2-container-multi.select2-container-active .select2-choices,.wp-customizer .select2-drop.select2-drop-above.select2-drop-active,.wp-customizer .select2-container-active .select2-choice,.wp-customizer .select2-container-active .select2-choices,.wp-customizer .select2-dropdown-open.select2-drop-above .select2-choice,.wp-customizer .select2-dropdown-open.select2-drop-above .select2-choices{border-color:#0073aa}.admin-color-fresh .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-fresh .select2-dropdown-open.select2-drop-above .select2-choices,.wp-customizer .select2-dropdown-open.select2-drop-above .select2-choice,.wp-customizer .select2-dropdown-open.select2-drop-above .select2-choices{border-top:inherit}.admin-color-fresh .noUi-connect,.wp-customizer .noUi-connect{background-color:#007db9 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#0095dd), to(#007db9)) !important;background-image:-moz-linear-gradient(top, #0095dd, #007db9) !important;background-image:-ms-linear-gradient(top, #0095dd, #007db9) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #0095dd), color-stop(100%, #007db9)) !important;background-image:-webkit-linear-gradient(top, #0095dd, #007db9) !important;background-image:-o-linear-gradient(top, #0095dd, #007db9) !important;background-image:-linear-gradient(top, #0095dd, #007db9) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0095dd', endColorstr='#007db9', GradientType=0) !important}.admin-color-light .button.ui-datepicker-current,.admin-color-light button.ui-datepicker-close{background-color:#04b0db !important}.admin-color-light .ui-datepicker-buttonpane button.ui-datepicker-current{background:#0384a4 !important;color:white !important;border:1px solid #013340 !important}.admin-color-light .ui-datepicker-header .ui-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAADwCAMAAADYSUr5AAAA7VBMVEX8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz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23yn7qAXZ5u32hbRX7d3o82Df1FZXvbh9QOfhyxldr/+3xgXU9oKmvsHyr7F/XA269/eveBXrsv7N9QALe/tvjA0kPWAXGbvebkbHn+D/J5nMcHzx1UAAAAABJRU5ErkJggg==) !important}.admin-color-light .ui-datepicker-header{background-color:#888 !important;color:white !important}.admin-color-light .ui-datepicker td .ui-state-active{background-color:#04b0db !important;color:white !important}.admin-color-light .ui-datepicker td .ui-state-hover{color:#04b0db !important}.admin-color-light .ui-datepicker td .ui-state-highlight{background:#04a4cc !important;border:1px solid #888 !important;color:white !important}.admin-color-light .redux-container-switch .cb-disable,.admin-color-light .redux-container-switch .cb-enable,.admin-color-light .ui-state-default,.admin-color-light .ui-widget-content .ui-state-default,.admin-color-light .ui-widget-header .ui-state-default{background-color:#f5f5f5 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f5f5f5)) !important;background-image:-moz-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-ms-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #f8f8f8), color-stop(100%, #f5f5f5)) !important;background-image:-webkit-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-o-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-linear-gradient(top, #f8f8f8, #f5f5f5) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8', endColorstr='#f5f5f5', GradientType=0) !important;border-color:#ccc !important}.admin-color-light .ui-datepicker td .ui-state-active{color:black !important;font-weight:700 !important;background:white !important}.admin-color-light .redux-container-switch .cb-disable.selected{background-color:#646464 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#929292), to(#646464)) !important;background-image:-moz-linear-gradient(top, #929292, #646464) !important;background-image:-ms-linear-gradient(top, #929292, #646464) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #929292), color-stop(100%, #646464)) !important;background-image:-webkit-linear-gradient(top, #929292, #646464) !important;background-image:-o-linear-gradient(top, #929292, #646464) !important;background-image:-linear-gradient(top, #929292, #646464) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#929292', endColorstr='#646464', GradientType=0) !important;border-color:#767676 !important}.admin-color-light .redux-container-switch .cb-enable.selected,.admin-color-light .redux-field-container .ui-buttonset .ui-state-active{background-color:#04a4cc !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#05c0ef), to(#04a4cc)) !important;background-image:-moz-linear-gradient(top, #05c0ef, #04a4cc) !important;background-image:-ms-linear-gradient(top, #05c0ef, #04a4cc) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #05c0ef), color-stop(100%, #04a4cc)) !important;background-image:-webkit-linear-gradient(top, #05c0ef, #04a4cc) !important;background-image:-o-linear-gradient(top, #05c0ef, #04a4cc) !important;background-image:-linear-gradient(top, #05c0ef, #04a4cc) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#05c0ef', endColorstr='#04a4cc', GradientType=0) !important;border-color:#036881 !important;border-color:#037c9a !important;-webkit-box-shadow:inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,0.15) !important;box-shadow:inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,0.15) !important}.admin-color-light #redux-header{background:#888;border-color:#04a4cc}.admin-color-light #redux-header .display_header span{color:#e6e6e6}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections a{position:relative}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:after{border:0 none !important;content:"\0020" !important}.admin-color-light .redux-sidebar .redux-group-menu li.hasSubSections .redux-menu-error{display:none;margin-right:5px}.admin-color-light .redux-sidebar .redux-group-menu li.hasSubSections a.hasError .extraIconSubsections{background-color:#b94a48;color:#f2dede}.admin-color-light .redux-sidebar .redux-group-menu li.hasSubSections a .extraIconSubsections{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;border:0 solid transparent;font-size:9px;height:9px;line-height:9px;margin-right:5px;padding:6px 7px 4px 7px;width:5px}.admin-color-light .redux-sidebar .redux-group-menu li.active a .extraIconSubsections,.admin-color-light .redux-sidebar .redux-group-menu li.activeChild a .extraIconSubsections{display:none}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections .redux-menu-error,.admin-color-light .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .redux-menu-error{display:block}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections .subsection .redux-menu-error,.admin-color-light .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .subsection .redux-menu-error{margin-right:2px}.admin-color-light .redux-sidebar .redux-group-menu li.active,.admin-color-light .redux-sidebar .redux-group-menu li.activeChild{border-left:0 none}.admin-color-light .redux-sidebar .redux-group-menu li.active a,.admin-color-light .redux-sidebar .redux-group-menu li.activeChild a{color:#888}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections .active a:after,.admin-color-light .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .active a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections a,.admin-color-light .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{-webkit-transition:all 0.2s;-moz-transition:all 0.2s;transition:all 0.2s;color:#fff;width:auto;border-bottom:0}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li,.admin-color-light .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li{border-top:0 none !important}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.active a:hover,.admin-color-light .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a:hover{color:#fff}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a,.admin-color-light .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{width:auto;border-top:0 !important;padding:7px;color:#fff;padding-left:15px;-webkit-transition:all 0.2;-moz-transition:all 0.2;-ms-transition:all 0.2;-o-transition:all 0.2;transition:all 0.2}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:hover,.admin-color-light .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a:hover{color:#0384a4;background:#6f6f6f}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a span.group_title,.admin-color-light .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a span.group_title{padding-left:5px !important}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a,.admin-color-light .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a{padding-left:14px}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a span.group_title,.admin-color-light .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a span.group_title{padding-left:30px !important}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections a{background:#04a4cc}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a{background:#888}.admin-color-light .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{background:#e6e6e6;text-shadow:1px 1px #9a9a9a}.admin-color-light .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{background:#888;text-shadow:none}.admin-color-light .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a{background:#04a4cc;text-shadow:1px 1px #025468}.admin-color-light .redux-container-image_select .redux-image-select-selected img{border-color:#04a4cc}.admin-color-light #redux-footer #redux-share a{color:#04a4cc}.admin-color-light #redux-footer #redux-share a:hover{color:#025468}.admin-color-light .select2-results .select2-highlighted{background:#04a4cc}.admin-color-light .select2-drop-active,.admin-color-light .select2-container-multi.select2-container-active .select2-choices,.admin-color-light .select2-drop.select2-drop-above.select2-drop-active,.admin-color-light .select2-container-active .select2-choice,.admin-color-light .select2-container-active .select2-choices,.admin-color-light .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-light .select2-dropdown-open.select2-drop-above .select2-choices{border-color:#04a4cc}.admin-color-light .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-light .select2-dropdown-open.select2-drop-above .select2-choices{border-top:inherit}.admin-color-light .noUi-connect{background-color:#04b0db !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#09cafa), to(#04b0db)) !important;background-image:-moz-linear-gradient(top, #09cafa, #04b0db) !important;background-image:-ms-linear-gradient(top, #09cafa, #04b0db) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #09cafa), color-stop(100%, #04b0db)) !important;background-image:-webkit-linear-gradient(top, #09cafa, #04b0db) !important;background-image:-o-linear-gradient(top, #09cafa, #04b0db) !important;background-image:-linear-gradient(top, #09cafa, #04b0db) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#09cafa', endColorstr='#04b0db', GradientType=0) !important}.admin-color-blue .button.ui-datepicker-current,.admin-color-blue button.ui-datepicker-close{background-color:#509dba !important}.admin-color-blue .ui-datepicker-buttonpane button.ui-datepicker-current{background:#db9825 !important;color:white !important;border:1px solid #845c16 !important}.admin-color-blue .ui-datepicker-header .ui-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAADwCAMAAADYSUr5AAAA7VBMVEX8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/v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vfB9z3u0BGRkZGRkbGplHcnkgguQoSqtUXuhbs/wPtMwqV0HUJAvj5vk32b8IDuL23yn7qAXZ5u32hbRX7d3o82Df1FZXvbh9QOfhyxldr/+3xgXU9oKmvsHyr7F/XA269/eveBXrsv7N9QALe/tvjA0kPWAXGbvebkbHn+D/J5nMcHzx1UAAAAABJRU5ErkJggg==) !important}.admin-color-blue .ui-datepicker-header{background-color:#096484 !important;color:white !important}.admin-color-blue .ui-datepicker td .ui-state-active{background-color:#509dba !important;color:white !important}.admin-color-blue .ui-datepicker td .ui-state-hover{color:#509dba !important}.admin-color-blue .ui-datepicker td .ui-state-highlight{background:#4796b3 !important;border:1px solid #096484 !important;color:white !important}.admin-color-blue .redux-container-switch .cb-disable,.admin-color-blue .redux-container-switch .cb-enable,.admin-color-blue .ui-state-default,.admin-color-blue .ui-widget-content .ui-state-default,.admin-color-blue .ui-widget-header .ui-state-default{background-color:#f5f5f5 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f5f5f5)) !important;background-image:-moz-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-ms-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #f8f8f8), color-stop(100%, #f5f5f5)) !important;background-image:-webkit-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-o-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-linear-gradient(top, #f8f8f8, #f5f5f5) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8', endColorstr='#f5f5f5', GradientType=0) !important;border-color:#ccc !important}.admin-color-blue .ui-datepicker td .ui-state-active{color:black !important;font-weight:700 !important;background:white !important}.admin-color-blue .redux-container-switch .cb-disable.selected{background-color:#646464 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#929292), to(#646464)) !important;background-image:-moz-linear-gradient(top, #929292, #646464) !important;background-image:-ms-linear-gradient(top, #929292, #646464) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #929292), color-stop(100%, #646464)) !important;background-image:-webkit-linear-gradient(top, #929292, #646464) !important;background-image:-o-linear-gradient(top, #929292, #646464) !important;background-image:-linear-gradient(top, #929292, #646464) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#929292', endColorstr='#646464', GradientType=0) !important;border-color:#767676 !important}.admin-color-blue .redux-container-switch .cb-enable.selected,.admin-color-blue .redux-field-container .ui-buttonset .ui-state-active{background-color:#4796b3 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#5ea5bf), to(#4796b3)) !important;background-image:-moz-linear-gradient(top, #5ea5bf, #4796b3) !important;background-image:-ms-linear-gradient(top, #5ea5bf, #4796b3) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #5ea5bf), color-stop(100%, #4796b3)) !important;background-image:-webkit-linear-gradient(top, #5ea5bf, #4796b3) !important;background-image:-o-linear-gradient(top, #5ea5bf, #4796b3) !important;background-image:-linear-gradient(top, #5ea5bf, #4796b3) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5ea5bf', endColorstr='#4796b3', GradientType=0) !important;border-color:#31687c !important;border-color:#39778e !important;-webkit-box-shadow:inset 0 1px 0 #7cb6cb,0 1px 0 rgba(0,0,0,0.15) !important;box-shadow:inset 0 1px 0 #7cb6cb,0 1px 0 rgba(0,0,0,0.15) !important}.admin-color-blue #redux-header{background:#096484;border-color:#4796b3}.admin-color-blue #redux-header .display_header span{color:#e2ecf1}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections a{position:relative}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:after{border:0 none !important;content:"\0020" !important}.admin-color-blue .redux-sidebar .redux-group-menu li.hasSubSections .redux-menu-error{display:none;margin-right:5px}.admin-color-blue .redux-sidebar .redux-group-menu li.hasSubSections a.hasError .extraIconSubsections{background-color:#b94a48;color:#f2dede}.admin-color-blue .redux-sidebar .redux-group-menu li.hasSubSections a .extraIconSubsections{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;border:0 solid transparent;font-size:9px;height:9px;line-height:9px;margin-right:5px;padding:6px 7px 4px 7px;width:5px}.admin-color-blue .redux-sidebar .redux-group-menu li.active a .extraIconSubsections,.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild a .extraIconSubsections{display:none}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections .redux-menu-error,.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .redux-menu-error{display:block}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections .subsection .redux-menu-error,.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .subsection .redux-menu-error{margin-right:2px}.admin-color-blue .redux-sidebar .redux-group-menu li.active,.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild{border-left:0 none}.admin-color-blue .redux-sidebar .redux-group-menu li.active a,.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild a{color:#096484}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections .active a:after,.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .active a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections a,.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{-webkit-transition:all 0.2s;-moz-transition:all 0.2s;transition:all 0.2s;color:#fff;width:auto;border-bottom:0}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li,.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li{border-top:0 none !important}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.active a:hover,.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a:hover{color:#fff}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a,.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{width:auto;border-top:0 !important;padding:7px;color:#fff;padding-left:15px;-webkit-transition:all 0.2;-moz-transition:all 0.2;-ms-transition:all 0.2;-o-transition:all 0.2;transition:all 0.2}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:hover,.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a:hover{color:#db9825;background:#064054}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a span.group_title,.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a span.group_title{padding-left:5px !important}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a,.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a{padding-left:14px}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a span.group_title,.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a span.group_title{padding-left:30px !important}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections a{background:#4796b3}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a{background:#096484}.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{background:#e2ecf1;text-shadow:1px 1px #7ba8bf}.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{background:#096484;text-shadow:none}.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a{background:#4796b3;text-shadow:1px 1px #2a596a}.admin-color-blue .redux-container-image_select .redux-image-select-selected img{border-color:#4796b3}.admin-color-blue #redux-footer #redux-share a{color:#4796b3}.admin-color-blue #redux-footer #redux-share a:hover{color:#2a596a}.admin-color-blue .select2-results .select2-highlighted{background:#4796b3}.admin-color-blue .select2-drop-active,.admin-color-blue .select2-container-multi.select2-container-active .select2-choices,.admin-color-blue .select2-drop.select2-drop-above.select2-drop-active,.admin-color-blue .select2-container-active .select2-choice,.admin-color-blue .select2-container-active .select2-choices,.admin-color-blue .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-blue .select2-dropdown-open.select2-drop-above .select2-choices{border-color:#4796b3}.admin-color-blue .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-blue .select2-dropdown-open.select2-drop-above .select2-choices{border-top:inherit}.admin-color-blue .noUi-connect{background-color:#509dba !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#69abc4), to(#509dba)) !important;background-image:-moz-linear-gradient(top, #69abc4, #509dba) !important;background-image:-ms-linear-gradient(top, #69abc4, #509dba) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #69abc4), color-stop(100%, #509dba)) !important;background-image:-webkit-linear-gradient(top, #69abc4, #509dba) !important;background-image:-o-linear-gradient(top, #69abc4, #509dba) !important;background-image:-linear-gradient(top, #69abc4, #509dba) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#69abc4', endColorstr='#509dba', GradientType=0) !important}.admin-color-coffee .button.ui-datepicker-current,.admin-color-coffee button.ui-datepicker-close{background-color:#ccad93 !important}.admin-color-coffee .ui-datepicker-buttonpane button.ui-datepicker-current{background:#ba906d !important;color:white !important;border:1px solid #835d3e !important}.admin-color-coffee .ui-datepicker-header .ui-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAADwCAMAAADYSUr5AAAA7VBMVEX8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/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Z5J0vLHT99srkGOjmJbd/G1r2Nriqnse1AZt1AalU5jW2HsuuG0qvKGRkZGRkZGRG0gcONyXsP9v8D0/IdJADiBNiXl3327WRGgOL/9HC/0XwlIURkRhC4tz6Z/fu7fUf2gHvfB9z3u0BGRkZGRkbGplHcnkgguQoSqtUXuhbs/wPtMwqV0HUJAvj5vk32b8IDuL23yn7qAXZ5u32hbRX7d3o82Df1FZXvbh9QOfhyxldr/+3xgXU9oKmvsHyr7F/XA269/eveBXrsv7N9QALe/tvjA0kPWAXGbvebkbHn+D/J5nMcHzx1UAAAAABJRU5ErkJggg==) !important}.admin-color-coffee .ui-datepicker-header{background-color:#46403c !important;color:white !important}.admin-color-coffee .ui-datepicker td .ui-state-active{background-color:#ccad93 !important;color:white !important}.admin-color-coffee .ui-datepicker td .ui-state-hover{color:#ccad93 !important}.admin-color-coffee .ui-datepicker td .ui-state-highlight{background:#c7a589 !important;border:1px solid #46403c !important;color:white !important}.admin-color-coffee .redux-container-switch .cb-disable,.admin-color-coffee .redux-container-switch .cb-enable,.admin-color-coffee .ui-state-default,.admin-color-coffee .ui-widget-content .ui-state-default,.admin-color-coffee .ui-widget-header .ui-state-default{background-color:#f5f5f5 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f5f5f5)) !important;background-image:-moz-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-ms-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #f8f8f8), color-stop(100%, #f5f5f5)) !important;background-image:-webkit-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-o-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-linear-gradient(top, #f8f8f8, #f5f5f5) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8', endColorstr='#f5f5f5', GradientType=0) !important;border-color:#ccc !important}.admin-color-coffee .ui-datepicker td .ui-state-active{color:black !important;font-weight:700 !important;background:white !important}.admin-color-coffee .redux-container-switch .cb-disable.selected{background-color:#646464 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#929292), to(#646464)) !important;background-image:-moz-linear-gradient(top, #929292, #646464) !important;background-image:-ms-linear-gradient(top, #929292, #646464) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #929292), color-stop(100%, #646464)) !important;background-image:-webkit-linear-gradient(top, #929292, #646464) !important;background-image:-o-linear-gradient(top, #929292, #646464) !important;background-image:-linear-gradient(top, #929292, #646464) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#929292', endColorstr='#646464', GradientType=0) !important;border-color:#767676 !important}.admin-color-coffee .redux-container-switch .cb-enable.selected,.admin-color-coffee .redux-field-container .ui-buttonset .ui-state-active{background-color:#c7a589 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#d2b7a1), to(#c7a589)) !important;background-image:-moz-linear-gradient(top, #d2b7a1, #c7a589) !important;background-image:-ms-linear-gradient(top, #d2b7a1, #c7a589) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #d2b7a1), color-stop(100%, #c7a589)) !important;background-image:-webkit-linear-gradient(top, #d2b7a1, #c7a589) !important;background-image:-o-linear-gradient(top, #d2b7a1, #c7a589) !important;background-image:-linear-gradient(top, #d2b7a1, #c7a589) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#d2b7a1', endColorstr='#c7a589', GradientType=0) !important;border-color:#ae7d55 !important;border-color:#b78b66 !important;-webkit-box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,0.15) !important;box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,0.15) !important}.admin-color-coffee #redux-header{background:#46403c;border-color:#c7a589}.admin-color-coffee #redux-header .display_header span{color:#cdcbc9}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections a{position:relative}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:after{border:0 none !important;content:"\0020" !important}.admin-color-coffee .redux-sidebar .redux-group-menu li.hasSubSections .redux-menu-error{display:none;margin-right:5px}.admin-color-coffee .redux-sidebar .redux-group-menu li.hasSubSections a.hasError .extraIconSubsections{background-color:#b94a48;color:#f2dede}.admin-color-coffee .redux-sidebar .redux-group-menu li.hasSubSections a .extraIconSubsections{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;border:0 solid transparent;font-size:9px;height:9px;line-height:9px;margin-right:5px;padding:6px 7px 4px 7px;width:5px}.admin-color-coffee .redux-sidebar .redux-group-menu li.active a .extraIconSubsections,.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild a .extraIconSubsections{display:none}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections .redux-menu-error,.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .redux-menu-error{display:block}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections .subsection .redux-menu-error,.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .subsection .redux-menu-error{margin-right:2px}.admin-color-coffee .redux-sidebar .redux-group-menu li.active,.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild{border-left:0 none}.admin-color-coffee .redux-sidebar .redux-group-menu li.active a,.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild a{color:#46403c}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections .active a:after,.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .active a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections a,.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{-webkit-transition:all 0.2s;-moz-transition:all 0.2s;transition:all 0.2s;color:#fff;width:auto;border-bottom:0}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li,.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li{border-top:0 none !important}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.active a:hover,.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a:hover{color:#fff}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a,.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{width:auto;border-top:0 !important;padding:7px;color:#fff;padding-left:15px;-webkit-transition:all 0.2;-moz-transition:all 0.2;-ms-transition:all 0.2;-o-transition:all 0.2;transition:all 0.2}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:hover,.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a:hover{color:#ba906d;background:#2b2724}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a span.group_title,.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a span.group_title{padding-left:5px !important}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a,.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a{padding-left:14px}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a span.group_title,.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a span.group_title{padding-left:30px !important}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections a{background:#c7a589}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a{background:#46403c}.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{background:#cdcbc9;text-shadow:1px 1px #837e7a}.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{background:#46403c;text-shadow:none}.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a{background:#c7a589;text-shadow:1px 1px #9f714b}.admin-color-coffee .redux-container-image_select .redux-image-select-selected img{border-color:#c7a589}.admin-color-coffee #redux-footer #redux-share a{color:#c7a589}.admin-color-coffee #redux-footer #redux-share a:hover{color:#9f714b}.admin-color-coffee .select2-results .select2-highlighted{background:#c7a589}.admin-color-coffee .select2-drop-active,.admin-color-coffee .select2-container-multi.select2-container-active .select2-choices,.admin-color-coffee .select2-drop.select2-drop-above.select2-drop-active,.admin-color-coffee .select2-container-active .select2-choice,.admin-color-coffee .select2-container-active .select2-choices,.admin-color-coffee .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-coffee .select2-dropdown-open.select2-drop-above .select2-choices{border-color:#c7a589}.admin-color-coffee .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-coffee .select2-dropdown-open.select2-drop-above .select2-choices{border-top:inherit}.admin-color-coffee .noUi-connect{background-color:#ccad93 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#d7bfac), to(#ccad93)) !important;background-image:-moz-linear-gradient(top, #d7bfac, #ccad93) !important;background-image:-ms-linear-gradient(top, #d7bfac, #ccad93) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #d7bfac), color-stop(100%, #ccad93)) !important;background-image:-webkit-linear-gradient(top, #d7bfac, #ccad93) !important;background-image:-o-linear-gradient(top, #d7bfac, #ccad93) !important;background-image:-linear-gradient(top, #d7bfac, #ccad93) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#d7bfac', endColorstr='#ccad93', GradientType=0) !important}.admin-color-ectoplasm .button.ui-datepicker-current,.admin-color-ectoplasm button.ui-datepicker-close{background-color:#a9bd4f !important}.admin-color-ectoplasm .ui-datepicker-buttonpane button.ui-datepicker-current{background:#89993a !important;color:white !important;border:1px solid #474f1e !important}.admin-color-ectoplasm .ui-datepicker-header .ui-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAADwCAMAAADYSUr5AAAA7VBMVEX8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vywC3+8AAAATnRSTlMAGBAyBAhQv4OZLiJUcEBmYBoSzQwgPBZCSEoeWiYwUiyFNIeBw2rJz8c4RBy9uXyrtaWNqa2zKP2fJO8KBgKPo2KVoa9s351GPm5+kWho0kj9AAAPhUlEQVR4nO1djWLbthEGyUiq5YSSLXtp7FpLOmfzkmxr126tmi2p03RJ1/Xe/3EGgARxPyAgRbIk2/hkSz4CJO4+HsE7AJSVysjI2AMUUOxahZ2iANhzBtZWr4BoIRSYAVN5u4QwDwQDRbcwfUi5KS3wFuDmFnQLa4Dtb//cqktwD5QEFFwfUs7PoCCA7y4bEJVFizcIob8KmhAplwwqVjt+9FBl3uINQniwEiryEyw9JHqGpQdEFNi+B4QQ7QOiHhysIPoAxUqxvdvvA9K42bsAv4S2fxfYOe57IJSRkZGRkZGxx7jxSHDHcRBXQMTyIjInBgHwBJ/bEx8PEANC+uhbpSSggCBAVODVabpI1S/k4WLZpTn6NpMhoX9Y40hxYERFpMcqUs4AloCtDQdID1YhnyXZ2hLjAYWiO9Dy1PDB7tPhIqLx+uMB8grZaR+Qx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+tWbpbS2vJ3nQxcVr3lH3z5h972FUTLzYpOVk7l5hD+eYcYwDcAnewOotrZ4OtrPDucqi/LRX0/RR4qx7Nn4U8g+qjffvuN6Gf+nC85vwauHjaYyubqvWYKY4VEfSUMitdnBCT1Ue63R5439m+OgCn6DroAAaHPVQxKth/wkJgHmG8bmQMsT0D6EjDfvhVRKO3ywOQUgRA7nmL1uawZmHf1k+DPBwQ6NdcJ+k6Md1LA5f5ONdhJ8vZ5J0vLHT99srkGOjmJbd/G1r2Nriqnse1AZt1AalU5jW2HsuuG0qvKGRkZGRkZGRG0gcONyXsP9v8D0/IdJADiBNiXl3327WRGgOL/9HC/0XwlIURkRhC4tz6Z/fu7fUf2gHvfB9z3u0BGRkZGRkbGplHcnkgguQoSqtUXuhbs/wPtMwqV0HUJAvj5vk32b8IDuL23yn7qAXZ5u32hbRX7d3o82Df1FZXvbh9QOfhyxldr/+3xgXU9oKmvsHyr7F/XA269/eveBXrsv7N9QALe/tvjA0kPWAXGbvebkbHn+D/J5nMcHzx1UAAAAABJRU5ErkJggg==) !important}.admin-color-ectoplasm .ui-datepicker-header{background-color:#413256 !important;color:white !important}.admin-color-ectoplasm .ui-datepicker td .ui-state-active{background-color:#a9bd4f !important;color:white !important}.admin-color-ectoplasm .ui-datepicker td .ui-state-hover{color:#a9bd4f !important}.admin-color-ectoplasm .ui-datepicker td .ui-state-highlight{background:#a3b745 !important;border:1px solid #413256 !important;color:white !important}.admin-color-ectoplasm .redux-container-switch .cb-disable,.admin-color-ectoplasm .redux-container-switch .cb-enable,.admin-color-ectoplasm .ui-state-default,.admin-color-ectoplasm .ui-widget-content .ui-state-default,.admin-color-ectoplasm .ui-widget-header .ui-state-default{background-color:#f5f5f5 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f5f5f5)) !important;background-image:-moz-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-ms-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #f8f8f8), color-stop(100%, #f5f5f5)) !important;background-image:-webkit-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-o-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-linear-gradient(top, #f8f8f8, #f5f5f5) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8', endColorstr='#f5f5f5', GradientType=0) !important;border-color:#ccc !important}.admin-color-ectoplasm .ui-datepicker td .ui-state-active{color:black !important;font-weight:700 !important;background:white !important}.admin-color-ectoplasm .redux-container-switch .cb-disable.selected{background-color:#646464 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#929292), to(#646464)) !important;background-image:-moz-linear-gradient(top, #929292, #646464) !important;background-image:-ms-linear-gradient(top, #929292, #646464) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #929292), color-stop(100%, #646464)) !important;background-image:-webkit-linear-gradient(top, #929292, #646464) !important;background-image:-o-linear-gradient(top, #929292, #646464) !important;background-image:-linear-gradient(top, #929292, #646464) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#929292', endColorstr='#646464', GradientType=0) !important;border-color:#767676 !important}.admin-color-ectoplasm .redux-container-switch .cb-enable.selected,.admin-color-ectoplasm .redux-field-container .ui-buttonset .ui-state-active{background-color:#a3b745 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#b0c25e), to(#a3b745)) !important;background-image:-moz-linear-gradient(top, #b0c25e, #a3b745) !important;background-image:-ms-linear-gradient(top, #b0c25e, #a3b745) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #b0c25e), color-stop(100%, #a3b745)) !important;background-image:-webkit-linear-gradient(top, #b0c25e, #a3b745) !important;background-image:-o-linear-gradient(top, #b0c25e, #a3b745) !important;background-image:-linear-gradient(top, #b0c25e, #a3b745) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#b0c25e', endColorstr='#a3b745', GradientType=0) !important;border-color:#727f30 !important;border-color:#829237 !important;-webkit-box-shadow:inset 0 1px 0 #bfcd7b,0 1px 0 rgba(0,0,0,0.15) !important;box-shadow:inset 0 1px 0 #bfcd7b,0 1px 0 rgba(0,0,0,0.15) !important}.admin-color-ectoplasm #redux-header{background:#413256;border-color:#a3b745}.admin-color-ectoplasm #redux-header .display_header span{color:#cbc5d3}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections a{position:relative}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:after{border:0 none !important;content:"\0020" !important}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.hasSubSections .redux-menu-error{display:none;margin-right:5px}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.hasSubSections a.hasError .extraIconSubsections{background-color:#b94a48;color:#f2dede}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.hasSubSections a .extraIconSubsections{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;border:0 solid transparent;font-size:9px;height:9px;line-height:9px;margin-right:5px;padding:6px 7px 4px 7px;width:5px}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active a .extraIconSubsections,.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild a .extraIconSubsections{display:none}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections .redux-menu-error,.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .redux-menu-error{display:block}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections .subsection .redux-menu-error,.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .subsection .redux-menu-error{margin-right:2px}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active,.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild{border-left:0 none}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active a,.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild a{color:#413256}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections .active a:after,.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .active a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections a,.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{-webkit-transition:all 0.2s;-moz-transition:all 0.2s;transition:all 0.2s;color:#fff;width:auto;border-bottom:0}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li,.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li{border-top:0 none !important}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.active a:hover,.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a:hover{color:#fff}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a,.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{width:auto;border-top:0 !important;padding:7px;color:#fff;padding-left:15px;-webkit-transition:all 0.2;-moz-transition:all 0.2;-ms-transition:all 0.2;-o-transition:all 0.2;transition:all 0.2}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:hover,.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a:hover{color:#89993a;background:#291f36}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a span.group_title,.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a span.group_title{padding-left:5px !important}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a,.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a{padding-left:14px}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a span.group_title,.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a span.group_title{padding-left:30px !important}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections a{background:#a3b745}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a{background:#413256}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{background:#cbc5d3;text-shadow:1px 1px #7d6e91}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{background:#413256;text-shadow:none}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a{background:#a3b745;text-shadow:1px 1px #616d29}.admin-color-ectoplasm .redux-container-image_select .redux-image-select-selected img{border-color:#a3b745}.admin-color-ectoplasm #redux-footer #redux-share a{color:#a3b745}.admin-color-ectoplasm #redux-footer #redux-share a:hover{color:#616d29}.admin-color-ectoplasm .select2-results .select2-highlighted{background:#a3b745}.admin-color-ectoplasm .select2-drop-active,.admin-color-ectoplasm .select2-container-multi.select2-container-active .select2-choices,.admin-color-ectoplasm .select2-drop.select2-drop-above.select2-drop-active,.admin-color-ectoplasm .select2-container-active .select2-choice,.admin-color-ectoplasm .select2-container-active .select2-choices,.admin-color-ectoplasm .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-ectoplasm .select2-dropdown-open.select2-drop-above .select2-choices{border-color:#a3b745}.admin-color-ectoplasm .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-ectoplasm .select2-dropdown-open.select2-drop-above .select2-choices{border-top:inherit}.admin-color-ectoplasm .noUi-connect{background-color:#a9bd4f !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#b6c669), to(#a9bd4f)) !important;background-image:-moz-linear-gradient(top, #b6c669, #a9bd4f) !important;background-image:-ms-linear-gradient(top, #b6c669, #a9bd4f) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #b6c669), color-stop(100%, #a9bd4f)) !important;background-image:-webkit-linear-gradient(top, #b6c669, #a9bd4f) !important;background-image:-o-linear-gradient(top, #b6c669, #a9bd4f) !important;background-image:-linear-gradient(top, #b6c669, #a9bd4f) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#b6c669', endColorstr='#a9bd4f', GradientType=0) !important}.admin-color-midnight .button.ui-datepicker-current,.admin-color-midnight button.ui-datepicker-close{background-color:#e35950 !important}.admin-color-midnight .ui-datepicker-buttonpane button.ui-datepicker-current{background:#d92c23 !important;color:white !important;border:1px solid #811a15 !important}.admin-color-midnight .ui-datepicker-header .ui-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAADwCAMAAADYSUr5AAAA7VBMVEX8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vywC3+8AAAATnRSTlMAGBAyBAhQv4OZLiJUcEBmYBoSzQwgPBZCSEoeWiYwUiyFNIeBw2rJz8c4RBy9uXyrtaWNqa2zKP2fJO8KBgKPo2KVoa9s351GPm5+kWho0kj9AAAPhUlEQVR4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oywzm0FTMAoYBNvLyFu8v8HpLBtD1iKgC17wHb7AI6d9wFbvguAIGTHd4E9wG7jgIyMjIyM+434c2R3HeV/Ffx6jtZu6ijl8h59T655jhR+rdHzDOP6beABCheb8O8/WFXeOyzgf5oAhVYnKxP7CwaAf1afJu8bSrhS6tdaXeGnrRenOqOlz9d6QwYnA/3TLd+GE7qe3chA5YF5DfY0vK3adfOX/gyNp2BW25MHdxAB9qvRiiP3/XpQQFGYDU4+Mi///XumXG8pjvaUAOsBGlf4jJt+YYEzeEzAdw06F19R3juM7D1wita86GR0CKfDHgLuXCc4Bri6vMLdfjMc4VNSUNsdodo2xu/1+Xl/K5+az8jIyMhYG/z5gJTMF1GtKq/a3rpyCvz5gJTMl9GtKq/a3rpyCmfQ4WwZmS+kXFVetb115ST48wEf/AGcfG1iw+tWbpbS2vJ3nQxcVr3lH3z5h972FUTLzYpOVk7l5hD+eYcYwDcAnewOotrZ4OtrPDucqi/LRX0/RR4qx7Nn4U8g+qjffvuN6Gf+nC85vwauHjaYyubqvWYKY4VEfSUMitdnBCT1Ue63R5439m+OgCn6DroAAaHPVQxKth/wkJgHmG8bmQMsT0D6EjDfvhVRKO3ywOQUgRA7nmL1uawZmHf1k+DPBwQ6NdcJ+k6Md1LA5f5ONdhJ8vZ5J0vLHT99srkGOjmJbd/G1r2Nriqnse1AZt1AalU5jW2HsuuG0qvKGRkZGRkZGRG0gcONyXsP9v8D0/IdJADiBNiXl3327WRGgOL/9HC/0XwlIURkRhC4tz6Z/fu7fUf2gHvfB9z3u0BGRkZGRkbGplHcnkgguQoSqtUXuhbs/wPtMwqV0HUJAvj5vk32b8IDuL23yn7qAXZ5u32hbRX7d3o82Df1FZXvbh9QOfhyxldr/+3xgXU9oKmvsHyr7F/XA269/eveBXrsv7N9QALe/tvjA0kPWAXGbvebkbHn+D/J5nMcHzx1UAAAAABJRU5ErkJggg==) !important}.admin-color-midnight .ui-datepicker-header{background-color:#363b3f !important;color:white !important}.admin-color-midnight .ui-datepicker td .ui-state-active{background-color:#e35950 !important;color:white !important}.admin-color-midnight .ui-datepicker td .ui-state-hover{color:#e35950 !important}.admin-color-midnight .ui-datepicker td .ui-state-highlight{background:#e14d43 !important;border:1px solid #363b3f !important;color:white !important}.admin-color-midnight .redux-container-switch .cb-disable,.admin-color-midnight .redux-container-switch .cb-enable,.admin-color-midnight .ui-state-default,.admin-color-midnight .ui-widget-content .ui-state-default,.admin-color-midnight .ui-widget-header .ui-state-default{background-color:#f5f5f5 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f5f5f5)) !important;background-image:-moz-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-ms-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #f8f8f8), color-stop(100%, #f5f5f5)) !important;background-image:-webkit-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-o-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-linear-gradient(top, #f8f8f8, #f5f5f5) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8', endColorstr='#f5f5f5', GradientType=0) !important;border-color:#ccc !important}.admin-color-midnight .ui-datepicker td .ui-state-active{color:black !important;font-weight:700 !important;background:white !important}.admin-color-midnight .redux-container-switch .cb-disable.selected{background-color:#646464 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#929292), to(#646464)) !important;background-image:-moz-linear-gradient(top, #929292, #646464) !important;background-image:-ms-linear-gradient(top, #929292, #646464) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #929292), color-stop(100%, #646464)) !important;background-image:-webkit-linear-gradient(top, #929292, #646464) !important;background-image:-o-linear-gradient(top, #929292, #646464) !important;background-image:-linear-gradient(top, #929292, #646464) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#929292', endColorstr='#646464', GradientType=0) !important;border-color:#767676 !important}.admin-color-midnight .redux-container-switch .cb-enable.selected,.admin-color-midnight .redux-field-container .ui-buttonset .ui-state-active{background-color:#e14d43 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#e66a62), to(#e14d43)) !important;background-image:-moz-linear-gradient(top, #e66a62, #e14d43) !important;background-image:-ms-linear-gradient(top, #e66a62, #e14d43) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #e66a62), color-stop(100%, #e14d43)) !important;background-image:-webkit-linear-gradient(top, #e66a62, #e14d43) !important;background-image:-o-linear-gradient(top, #e66a62, #e14d43) !important;background-image:-linear-gradient(top, #e66a62, #e14d43) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e66a62', endColorstr='#e14d43', GradientType=0) !important;border-color:#ba281e !important;border-color:#d02c21 !important;-webkit-box-shadow:inset 0 1px 0 #ec8b85,0 1px 0 rgba(0,0,0,0.15) !important;box-shadow:inset 0 1px 0 #ec8b85,0 1px 0 rgba(0,0,0,0.15) !important}.admin-color-midnight #redux-header{background:#363b3f;border-color:#e14d43}.admin-color-midnight #redux-header .display_header span{color:#c2c4c5}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections a{position:relative}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:after{border:0 none !important;content:"\0020" !important}.admin-color-midnight .redux-sidebar .redux-group-menu li.hasSubSections .redux-menu-error{display:none;margin-right:5px}.admin-color-midnight .redux-sidebar .redux-group-menu li.hasSubSections a.hasError .extraIconSubsections{background-color:#b94a48;color:#f2dede}.admin-color-midnight .redux-sidebar .redux-group-menu li.hasSubSections a .extraIconSubsections{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;border:0 solid transparent;font-size:9px;height:9px;line-height:9px;margin-right:5px;padding:6px 7px 4px 7px;width:5px}.admin-color-midnight .redux-sidebar .redux-group-menu li.active a .extraIconSubsections,.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild a .extraIconSubsections{display:none}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections .redux-menu-error,.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .redux-menu-error{display:block}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections .subsection .redux-menu-error,.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .subsection .redux-menu-error{margin-right:2px}.admin-color-midnight .redux-sidebar .redux-group-menu li.active,.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild{border-left:0 none}.admin-color-midnight .redux-sidebar .redux-group-menu li.active a,.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild a{color:#363b3f}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections .active a:after,.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .active a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections a,.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{-webkit-transition:all 0.2s;-moz-transition:all 0.2s;transition:all 0.2s;color:#fff;width:auto;border-bottom:0}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li,.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li{border-top:0 none !important}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.active a:hover,.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a:hover{color:#fff}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a,.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{width:auto;border-top:0 !important;padding:7px;color:#fff;padding-left:15px;-webkit-transition:all 0.2;-moz-transition:all 0.2;-ms-transition:all 0.2;-o-transition:all 0.2;transition:all 0.2}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:hover,.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a:hover{color:#d92c23;background:#1e2124}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a span.group_title,.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a span.group_title{padding-left:5px !important}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a,.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a{padding-left:14px}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a span.group_title,.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a span.group_title{padding-left:30px !important}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections a{background:#e14d43}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a{background:#363b3f}.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{background:#c2c4c5;text-shadow:1px 1px #74787a}.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{background:#363b3f;text-shadow:none}.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a{background:#e14d43;text-shadow:1px 1px #a4231a}.admin-color-midnight .redux-container-image_select .redux-image-select-selected img{border-color:#e14d43}.admin-color-midnight #redux-footer #redux-share a{color:#e14d43}.admin-color-midnight #redux-footer #redux-share a:hover{color:#a4231a}.admin-color-midnight .select2-results .select2-highlighted{background:#e14d43}.admin-color-midnight .select2-drop-active,.admin-color-midnight .select2-container-multi.select2-container-active .select2-choices,.admin-color-midnight .select2-drop.select2-drop-above.select2-drop-active,.admin-color-midnight .select2-container-active .select2-choice,.admin-color-midnight .select2-container-active .select2-choices,.admin-color-midnight .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-midnight .select2-dropdown-open.select2-drop-above .select2-choices{border-color:#e14d43}.admin-color-midnight .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-midnight .select2-dropdown-open.select2-drop-above .select2-choices{border-top:inherit}.admin-color-midnight .noUi-connect{background-color:#e35950 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#e8776f), to(#e35950)) !important;background-image:-moz-linear-gradient(top, #e8776f, #e35950) !important;background-image:-ms-linear-gradient(top, #e8776f, #e35950) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #e8776f), color-stop(100%, #e35950)) !important;background-image:-webkit-linear-gradient(top, #e8776f, #e35950) !important;background-image:-o-linear-gradient(top, #e8776f, #e35950) !important;background-image:-linear-gradient(top, #e8776f, #e35950) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e8776f', endColorstr='#e35950', GradientType=0) !important}.admin-color-ocean .button.ui-datepicker-current,.admin-color-ocean button.ui-datepicker-close{background-color:#a7c0a9 !important}.admin-color-ocean .ui-datepicker-buttonpane button.ui-datepicker-current{background:#86a988 !important;color:white !important;border:1px solid #547555 !important}.admin-color-ocean .ui-datepicker-header .ui-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAADwCAMAAADYSUr5AAAA7VBMVEX8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz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vj5vk32b8IDuL23yn7qAXZ5u32hbRX7d3o82Df1FZXvbh9QOfhyxldr/+3xgXU9oKmvsHyr7F/XA269/eveBXrsv7N9QALe/tvjA0kPWAXGbvebkbHn+D/J5nMcHzx1UAAAAABJRU5ErkJggg==) !important}.admin-color-ocean .ui-datepicker-header{background-color:#627c83 !important;color:white !important}.admin-color-ocean .ui-datepicker td .ui-state-active{background-color:#a7c0a9 !important;color:white !important}.admin-color-ocean .ui-datepicker td .ui-state-hover{color:#a7c0a9 !important}.admin-color-ocean .ui-datepicker td .ui-state-highlight{background:#9ebaa0 !important;border:1px solid #627c83 !important;color:white !important}.admin-color-ocean .redux-container-switch .cb-disable,.admin-color-ocean .redux-container-switch .cb-enable,.admin-color-ocean .ui-state-default,.admin-color-ocean .ui-widget-content .ui-state-default,.admin-color-ocean .ui-widget-header .ui-state-default{background-color:#f5f5f5 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f5f5f5)) !important;background-image:-moz-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-ms-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #f8f8f8), color-stop(100%, #f5f5f5)) !important;background-image:-webkit-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-o-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-linear-gradient(top, #f8f8f8, #f5f5f5) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8', endColorstr='#f5f5f5', GradientType=0) !important;border-color:#ccc !important}.admin-color-ocean .ui-datepicker td .ui-state-active{color:black !important;font-weight:700 !important;background:white !important}.admin-color-ocean .redux-container-switch .cb-disable.selected{background-color:#646464 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#929292), to(#646464)) !important;background-image:-moz-linear-gradient(top, #929292, #646464) !important;background-image:-ms-linear-gradient(top, #929292, #646464) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #929292), color-stop(100%, #646464)) !important;background-image:-webkit-linear-gradient(top, #929292, #646464) !important;background-image:-o-linear-gradient(top, #929292, #646464) !important;background-image:-linear-gradient(top, #929292, #646464) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#929292', endColorstr='#646464', GradientType=0) !important;border-color:#767676 !important}.admin-color-ocean .redux-container-switch .cb-enable.selected,.admin-color-ocean .redux-field-container .ui-buttonset .ui-state-active{background-color:#9ebaa0 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#b3c9b4), to(#9ebaa0)) !important;background-image:-moz-linear-gradient(top, #b3c9b4, #9ebaa0) !important;background-image:-ms-linear-gradient(top, #b3c9b4, #9ebaa0) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #b3c9b4), color-stop(100%, #9ebaa0)) !important;background-image:-webkit-linear-gradient(top, #b3c9b4, #9ebaa0) !important;background-image:-o-linear-gradient(top, #b3c9b4, #9ebaa0) !important;background-image:-linear-gradient(top, #b3c9b4, #9ebaa0) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#b3c9b4', endColorstr='#9ebaa0', GradientType=0) !important;border-color:#719a74 !important;border-color:#80a583 !important;-webkit-box-shadow:inset 0 1px 0 #cbdacc,0 1px 0 rgba(0,0,0,0.15) !important;box-shadow:inset 0 1px 0 #cbdacc,0 1px 0 rgba(0,0,0,0.15) !important}.admin-color-ocean #redux-header{background:#627c83;border-color:#9ebaa0}.admin-color-ocean #redux-header .display_header span{color:#d5dddf}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections a{position:relative}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:after{border:0 none !important;content:"\0020" !important}.admin-color-ocean .redux-sidebar .redux-group-menu li.hasSubSections .redux-menu-error{display:none;margin-right:5px}.admin-color-ocean .redux-sidebar .redux-group-menu li.hasSubSections a.hasError .extraIconSubsections{background-color:#b94a48;color:#f2dede}.admin-color-ocean .redux-sidebar .redux-group-menu li.hasSubSections a .extraIconSubsections{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;border:0 solid transparent;font-size:9px;height:9px;line-height:9px;margin-right:5px;padding:6px 7px 4px 7px;width:5px}.admin-color-ocean .redux-sidebar .redux-group-menu li.active a .extraIconSubsections,.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild a .extraIconSubsections{display:none}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections .redux-menu-error,.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .redux-menu-error{display:block}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections .subsection .redux-menu-error,.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .subsection .redux-menu-error{margin-right:2px}.admin-color-ocean .redux-sidebar .redux-group-menu li.active,.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild{border-left:0 none}.admin-color-ocean .redux-sidebar .redux-group-menu li.active a,.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild a{color:#627c83}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections .active a:after,.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .active a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections a,.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{-webkit-transition:all 0.2s;-moz-transition:all 0.2s;transition:all 0.2s;color:#fff;width:auto;border-bottom:0}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li,.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li{border-top:0 none !important}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.active a:hover,.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a:hover{color:#fff}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a,.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{width:auto;border-top:0 !important;padding:7px;color:#fff;padding-left:15px;-webkit-transition:all 0.2;-moz-transition:all 0.2;-ms-transition:all 0.2;-o-transition:all 0.2;transition:all 0.2}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:hover,.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a:hover{color:#86a988;background:#4c6066}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a span.group_title,.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a span.group_title{padding-left:5px !important}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a,.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a{padding-left:14px}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a span.group_title,.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a span.group_title{padding-left:30px !important}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections a{background:#9ebaa0}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a{background:#627c83}.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{background:#d5dddf;text-shadow:1px 1px #7e979d}.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{background:#627c83;text-shadow:none}.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a{background:#9ebaa0;text-shadow:1px 1px #658d68}.admin-color-ocean .redux-container-image_select .redux-image-select-selected img{border-color:#9ebaa0}.admin-color-ocean #redux-footer #redux-share a{color:#9ebaa0}.admin-color-ocean #redux-footer #redux-share a:hover{color:#658d68}.admin-color-ocean .select2-results .select2-highlighted{background:#9ebaa0}.admin-color-ocean .select2-drop-active,.admin-color-ocean .select2-container-multi.select2-container-active .select2-choices,.admin-color-ocean .select2-drop.select2-drop-above.select2-drop-active,.admin-color-ocean .select2-container-active .select2-choice,.admin-color-ocean .select2-container-active .select2-choices,.admin-color-ocean .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-ocean .select2-dropdown-open.select2-drop-above .select2-choices{border-color:#9ebaa0}.admin-color-ocean .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-ocean .select2-dropdown-open.select2-drop-above .select2-choices{border-top:inherit}.admin-color-ocean .noUi-connect{background-color:#a7c0a9 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#bccfbd), to(#a7c0a9)) !important;background-image:-moz-linear-gradient(top, #bccfbd, #a7c0a9) !important;background-image:-ms-linear-gradient(top, #bccfbd, #a7c0a9) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #bccfbd), color-stop(100%, #a7c0a9)) !important;background-image:-webkit-linear-gradient(top, #bccfbd, #a7c0a9) !important;background-image:-o-linear-gradient(top, #bccfbd, #a7c0a9) !important;background-image:-linear-gradient(top, #bccfbd, #a7c0a9) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#bccfbd', endColorstr='#a7c0a9', GradientType=0) !important}.admin-color-sunrise .button.ui-datepicker-current,.admin-color-sunrise button.ui-datepicker-close{background-color:#df8a48 !important}.admin-color-sunrise .ui-datepicker-buttonpane button.ui-datepicker-current{background:#cc6c23 !important;color:white !important;border:1px solid #753e14 !important}.admin-color-sunrise .ui-datepicker-header .ui-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAD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63R5439m+OgCn6DroAAaHPVQxKth/wkJgHmG8bmQMsT0D6EjDfvhVRKO3ywOQUgRA7nmL1uawZmHf1k+DPBwQ6NdcJ+k6Md1LA5f5ONdhJ8vZ5J0vLHT99srkGOjmJbd/G1r2Nriqnse1AZt1AalU5jW2HsuuG0qvKGRkZGRkZGRG0gcONyXsP9v8D0/IdJADiBNiXl3327WRGgOL/9HC/0XwlIURkRhC4tz6Z/fu7fUf2gHvfB9z3u0BGRkZGRkbGplHcnkgguQoSqtUXuhbs/wPtMwqV0HUJAvj5vk32b8IDuL23yn7qAXZ5u32hbRX7d3o82Df1FZXvbh9QOfhyxldr/+3xgXU9oKmvsHyr7F/XA269/eveBXrsv7N9QALe/tvjA0kPWAXGbvebkbHn+D/J5nMcHzx1UAAAAABJRU5ErkJggg==) !important}.admin-color-sunrise .ui-datepicker-header{background-color:#b43c38 !important;color:white !important}.admin-color-sunrise .ui-datepicker td .ui-state-active{background-color:#df8a48 !important;color:white !important}.admin-color-sunrise .ui-datepicker td .ui-state-hover{color:#df8a48 !important}.admin-color-sunrise .ui-datepicker td .ui-state-highlight{background:#dd823b !important;border:1px solid #b43c38 !important;color:white !important}.admin-color-sunrise .redux-container-switch .cb-disable,.admin-color-sunrise .redux-container-switch .cb-enable,.admin-color-sunrise .ui-state-default,.admin-color-sunrise .ui-widget-content .ui-state-default,.admin-color-sunrise .ui-widget-header .ui-state-default{background-color:#f5f5f5 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f5f5f5)) !important;background-image:-moz-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-ms-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #f8f8f8), color-stop(100%, #f5f5f5)) !important;background-image:-webkit-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-o-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-linear-gradient(top, #f8f8f8, #f5f5f5) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8', endColorstr='#f5f5f5', GradientType=0) !important;border-color:#ccc !important}.admin-color-sunrise .ui-datepicker td .ui-state-active{color:black !important;font-weight:700 !important;background:white !important}.admin-color-sunrise .redux-container-switch .cb-disable.selected{background-color:#646464 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#929292), to(#646464)) !important;background-image:-moz-linear-gradient(top, #929292, #646464) !important;background-image:-ms-linear-gradient(top, #929292, #646464) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #929292), color-stop(100%, #646464)) !important;background-image:-webkit-linear-gradient(top, #929292, #646464) !important;background-image:-o-linear-gradient(top, #929292, #646464) !important;background-image:-linear-gradient(top, #929292, #646464) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#929292', endColorstr='#646464', GradientType=0) !important;border-color:#767676 !important}.admin-color-sunrise .redux-container-switch .cb-enable.selected,.admin-color-sunrise .redux-field-container .ui-buttonset .ui-state-active{background-color:#dd823b !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#e29559), to(#dd823b)) !important;background-image:-moz-linear-gradient(top, #e29559, #dd823b) !important;background-image:-ms-linear-gradient(top, #e29559, #dd823b) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #e29559), color-stop(100%, #dd823b)) !important;background-image:-webkit-linear-gradient(top, #e29559, #dd823b) !important;background-image:-o-linear-gradient(top, #e29559, #dd823b) !important;background-image:-linear-gradient(top, #e29559, #dd823b) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e29559', endColorstr='#dd823b', GradientType=0) !important;border-color:#ad5d1e !important;border-color:#c36922 !important;-webkit-box-shadow:inset 0 1px 0 #e8ac7c,0 1px 0 rgba(0,0,0,0.15) !important;box-shadow:inset 0 1px 0 #e8ac7c,0 1px 0 rgba(0,0,0,0.15) !important}.admin-color-sunrise #redux-header{background:#b43c38;border-color:#dd823b}.admin-color-sunrise #redux-header .display_header span{color:#f0c8c6}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections a{position:relative}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:after{border:0 none !important;content:"\0020" !important}.admin-color-sunrise .redux-sidebar .redux-group-menu li.hasSubSections .redux-menu-error{display:none;margin-right:5px}.admin-color-sunrise .redux-sidebar .redux-group-menu li.hasSubSections a.hasError .extraIconSubsections{background-color:#b94a48;color:#f2dede}.admin-color-sunrise .redux-sidebar .redux-group-menu li.hasSubSections a .extraIconSubsections{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;border:0 solid transparent;font-size:9px;height:9px;line-height:9px;margin-right:5px;padding:6px 7px 4px 7px;width:5px}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active a .extraIconSubsections,.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild a .extraIconSubsections{display:none}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections .redux-menu-error,.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .redux-menu-error{display:block}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections .subsection .redux-menu-error,.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .subsection .redux-menu-error{margin-right:2px}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active,.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild{border-left:0 none}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active a,.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild a{color:#b43c38}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections .active a:after,.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .active a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections a,.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{-webkit-transition:all 0.2s;-moz-transition:all 0.2s;transition:all 0.2s;color:#fff;width:auto;border-bottom:0}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li,.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li{border-top:0 none !important}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.active a:hover,.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a:hover{color:#fff}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a,.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{width:auto;border-top:0 !important;padding:7px;color:#fff;padding-left:15px;-webkit-transition:all 0.2;-moz-transition:all 0.2;-ms-transition:all 0.2;-o-transition:all 0.2;transition:all 0.2}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:hover,.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a:hover{color:#cc6c23;background:#8d2f2c}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a span.group_title,.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a span.group_title{padding-left:5px !important}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a,.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a{padding-left:14px}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a span.group_title,.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a span.group_title{padding-left:30px !important}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections a{background:#dd823b}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a{background:#b43c38}.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{background:#f0c8c6;text-shadow:1px 1px #d0534d}.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{background:#b43c38;text-shadow:none}.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a{background:#dd823b;text-shadow:1px 1px #98511a}.admin-color-sunrise .redux-container-image_select .redux-image-select-selected img{border-color:#dd823b}.admin-color-sunrise #redux-footer #redux-share a{color:#dd823b}.admin-color-sunrise #redux-footer #redux-share a:hover{color:#98511a}.admin-color-sunrise .select2-results .select2-highlighted{background:#dd823b}.admin-color-sunrise .select2-drop-active,.admin-color-sunrise .select2-container-multi.select2-container-active .select2-choices,.admin-color-sunrise .select2-drop.select2-drop-above.select2-drop-active,.admin-color-sunrise .select2-container-active .select2-choice,.admin-color-sunrise .select2-container-active .select2-choices,.admin-color-sunrise .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-sunrise .select2-dropdown-open.select2-drop-above .select2-choices{border-color:#dd823b}.admin-color-sunrise .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-sunrise .select2-dropdown-open.select2-drop-above .select2-choices{border-top:inherit}.admin-color-sunrise .noUi-connect{background-color:#df8a48 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#e59e66), to(#df8a48)) !important;background-image:-moz-linear-gradient(top, #e59e66, #df8a48) !important;background-image:-ms-linear-gradient(top, #e59e66, #df8a48) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #e59e66), color-stop(100%, #df8a48)) !important;background-image:-webkit-linear-gradient(top, #e59e66, #df8a48) !important;background-image:-o-linear-gradient(top, #e59e66, #df8a48) !important;background-image:-linear-gradient(top, #e59e66, #df8a48) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e59e66', endColorstr='#df8a48', GradientType=0) !important}@media screen and (max-width: 600px){.redux-group-tab-link-a{min-height:15px}.redux-group-tab-link-a span{padding:11px 12px;color:#555;-webkit-transition:all 0.3s;-moz-transition:all 0.3s;transition:all 0.3s;text-shadow:none !important}.redux-group-tab-link-a span:hover{background:#e5e5e5}}@media screen and (max-width: 782px){#redux-footer #redux-share{line-height:38px;font-size:18px}.sticky-save-warn .redux-save-warn{right:13px;top:46px}.redux-container .expand_options{margin-top:5px}.redux-action_bar input{margin-bottom:0 !important}}@media screen and (max-width: 600px){#redux-footer #redux-share,.redux-hint-qtip{display:none}.redux-container .redux-action_bar{float:none}}.redux-sidebar .icon-large,.redux-main .icon-large{background-image:inherit !important;width:inherit;height:inherit}.redux-main dd,.redux-main li,.redux-sidebar li{margin-bottom:0 !important}.fully-expanded .redux-sidebar{margin-left:-500px}.fully-expanded .redux-main{margin-left:0}.fully-expanded .redux-group-tab{display:block}@media screen and (max-width: 640px){#redux-defaults-section{display:none}}@media screen and (max-width: 730px){#redux-share{display:none}}@media screen and (max-width: 730px){#redux-defaults-section2{display:none}#redux-share{display:none}}@media screen and (max-width: 600px){.form-table>tbody>tr>th{padding-bottom:0 !important}.redux_field_th{padding-top:0;padding-bottom:0}.redux-main .redux-field-container{padding-top:0;padding-bottom:0}.redux-main .subsection a{min-height:15px}}@media screen and (min-width: 601px) and (max-width: 782px){.redux-container .sticky-save-warn .redux-save-warn{top:47px !important;right:13px !important}}@media screen and (max-width: 782px){.redux-main .form-table-section-indented input[type=text]{width:95% !important}.redux-main .redux-container-sortable input[type=text]{width:80%;display:initial}.redux-main .redux-typography-container .input_wrapper input.mini{font-size:16px !important;height:40px !important;padding:7px 10px !important;line-height:24px !important}.redux-main .redux-typography-container .picker-wrapper label{margin-top:16px !important}.redux-main .input-append{height:50px !important}.redux-main .input-append .add-on{font-size:16px;line-height:24px !important;padding:7px;height:32px !important;float:right;margin-top:-40px}.redux-main .redux-hint-qtip{float:left !important}.redux-main .redux-action_bar .button{margin-top:-1px}}@media screen and (max-width: 600px){.sticky-save-warn .redux-save-warn{top:0 !important;right:14px !important}}@media screen and (max-width: 570px){.redux-main .redux-container-sortable .checkbox-container{width:85%;padding-bottom:5px}.redux-main .redux-container-sortable .checkbox-container label{display:initial}}#redux-header{position:relative}.redux-main{position:relative}.redux-main #redux-sticky{min-height:32px;margin-left:-20px;margin-right:-20px;margin-top:-10px;margin-bottom:8px}.redux-main #redux-sticky #info_bar{height:32px}.redux-main #redux-sticky #info_bar .expand_options{margin-top:0px}.redux-main .redux_field_search{top:50px;right:5px
|
|
|
|
|
7 |
border-radius: 8px;
|
8 |
padding: 6px 15px 5px 13px;
|
9 |
position: relative;
|
@@ -16,8 +74,10 @@
|
|
16 |
/* custom css */
|
17 |
.redux-container{
|
18 |
position: relative;
|
|
|
|
|
19 |
border-radius: 3px;
|
20 |
-
}
|
21 |
#redux-intro-text{
|
22 |
position: absolute;
|
23 |
right: 0;
|
@@ -27,17 +87,18 @@
|
|
27 |
text-decoration: none
|
28 |
}
|
29 |
.admin-color-fresh #redux-header, .wp-customizer #redux-header{
|
30 |
-
background: #
|
31 |
}
|
32 |
.redux-container #redux-header{
|
33 |
-
border:
|
34 |
-
border-
|
35 |
}
|
36 |
.redux-container #redux-header .display_header{
|
37 |
margin: 0 14px
|
38 |
}
|
39 |
.redux-container #redux-header .display_header .redux-dev-mode-notice-container{
|
40 |
position: relative;
|
|
|
41 |
top: 0;
|
42 |
float: right;
|
43 |
left: 20px;
|
@@ -64,32 +125,30 @@
|
|
64 |
color: #eee;
|
65 |
font-size: 10px
|
66 |
}
|
67 |
-
.redux-sidebar{
|
68 |
-
margin-top: -1px
|
69 |
-
}
|
70 |
.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections a, .wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections a{
|
71 |
-
|
72 |
-
}
|
73 |
.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a, .wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{
|
74 |
-
background:
|
75 |
-
|
|
|
76 |
.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a, .wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a{
|
77 |
background: #fff;
|
78 |
-
text-shadow: none !important;
|
79 |
color: #444
|
80 |
}
|
81 |
.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a, .wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{
|
82 |
-
background: #fff;
|
83 |
text-shadow: none !important;
|
84 |
color: #444
|
85 |
}
|
86 |
.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:hover, .admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a:hover, .wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:hover, .wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a:hover{
|
87 |
-
background:
|
88 |
-
color: #fff
|
89 |
-
}
|
90 |
.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a, .wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a{
|
91 |
-
background: #
|
92 |
-
color: #fff
|
93 |
}
|
94 |
.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections .active a:after, .admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .active a:after, .wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections .active a:after, .wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .active a:after,
|
95 |
.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections a:after, .wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections a:after{
|
@@ -102,24 +161,31 @@
|
|
102 |
background: #4452a7;
|
103 |
text-shadow: none;
|
104 |
border: 0;
|
105 |
-
border-radius:
|
106 |
box-shadow: none;
|
107 |
-
padding: 12px
|
108 |
line-height: 1;
|
109 |
margin-left: 5px;
|
110 |
transition: all 100ms;
|
111 |
}
|
|
|
|
|
|
|
|
|
112 |
#redux_save:hover{
|
113 |
-
background: #
|
114 |
}
|
115 |
#redux-defaults-section,
|
116 |
#redux-defaults {
|
117 |
background: #f2f2f2;
|
118 |
-
color: #999
|
|
|
|
|
119 |
}
|
120 |
#redux-defaults-section:hover,
|
121 |
#redux-defaults:hover {
|
122 |
-
|
|
|
123 |
color: #555
|
124 |
}
|
125 |
|
@@ -172,6 +238,7 @@
|
|
172 |
.ampforwp-ad-img-banner{
|
173 |
width: 560px;
|
174 |
height: 99px !important;
|
|
|
175 |
}
|
176 |
.ampforwp-extension-ad-img-banner{
|
177 |
width: 345px;
|
@@ -188,6 +255,9 @@ img.ampforwp-post-builder-img{
|
|
188 |
.redux-main .form-table-section-indented{
|
189 |
margin-left: 0 !important
|
190 |
}
|
|
|
|
|
|
|
191 |
#info-info_normal{border: 0;background: 0;box-shadow: none;}
|
192 |
.redux-sidebar .redux-group-menu li a{opacity: 1}
|
193 |
/*extension listing*/
|
@@ -217,7 +287,15 @@ img.ampforwp-post-builder-img{
|
|
217 |
float: right;}
|
218 |
.extension_listing ul{display:flex;flex-flow: row wrap;}
|
219 |
.extension_listing li{
|
220 |
-
float:left;padding-bottom: 20px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
221 |
}
|
222 |
.extension_listing li{
|
223 |
background: #ffffff;
|
@@ -271,7 +349,7 @@ background: linear-gradient(45deg, #E47B49 0%, #ea4c89 100%);
|
|
271 |
.single_ex_listing .extension_btn{opacity: 0.75}
|
272 |
#info-info_theme_framework{
|
273 |
position: absolute;
|
274 |
-
top:
|
275 |
right: 20px;
|
276 |
width: 199px;
|
277 |
}
|
@@ -285,4 +363,132 @@ background: linear-gradient(45deg, #E47B49 0%, #ea4c89 100%);
|
|
285 |
.ampforwp-new-element {
|
286 |
position: relative;
|
287 |
}
|
288 |
-
.subsection .ampforwp-new-element:after {content: "new";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.spinner{visibility:hidden;display:block}.spinner.is-active{visibility:visible}.redux-main .description{margin-top:7px}.form-table>tbody>tr>th{width:30%}.redux-container{
|
2 |
+
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
|
3 |
+
|
4 |
+
-webkit-font-smoothing: antialiased;
|
5 |
+
-moz-osx-font-smoothing: grayscale;
|
6 |
+
-ms-interpolation-mode: nearest-neighbor;
|
7 |
+
image-rendering: optimizeQuality;
|
8 |
+
text-rendering: optimizeLegibility;
|
9 |
+
|
10 |
+
background-color:#f5f5f5;background-repeat:repeat-x;background-image:-moz-linear-gradient(top, #f2f2f2 0%, #f5f5f5 100%);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #f2f2f2), color-stop(100%, #f5f5f5));background-image:-webkit-linear-gradient(top, #f2f2f2 0%, #f5f5f5 100%);background-image:-ms-linear-gradient(top, #f2f2f2 0%, #f5f5f5 100%);background-image:-o-linear-gradient(top, #f2f2f2 0%, #f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#eeeeee', GradientType=0);background-image:-linear-gradient(top, #f2f2f2 0%, #f5f5f5 100%);border:1px solid #dedede;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.04);box-shadow:0 1px 1px rgba(0,0,0,0.04);-moz-box-shadow:0 1px 5px rgba(0,0,0,0.4);margin-top:5px;overflow:hidden}.redux-container a:focus{box-shadow:none}.redux-container #redux-header,.redux-container #redux-footer{ text-align: right;padding: 6px 10px;
|
11 |
+
}.redux-container #redux-footer{
|
12 |
+
background: #f5f6fa !important;
|
13 |
+
padding: 5px 10px 16px 10px;
|
14 |
+
margin-left: 6px;
|
15 |
+
}
|
16 |
+
.redux-container #redux-header{background:#f1f1f1;1px solid #f0f1f2 !important}.redux-container #redux-header .display_header{float:left;margin:20px 10px}.redux-container #redux-header .display_header h2{display:inline-block;font-style:normal;padding-right:5px;font-weight:normal}.redux-container #redux-header .display_header .redux-dev-mode-notice-container{position:absolute;top:67px;left:20px;bottom:auto;width:auto}.redux-container #redux-header .display_header span{color:#888}.redux-container #redux-header .display_header span.redux-dev-mode-notice{background-color:#f0ad4e;display:inline;padding:.2em .5em .2em;font-weight:700;line-height:1;color:#fff !important;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.redux-container #redux-header .icon32{float:right;margin:16px 16px 0}.redux-container #redux-footer{border-top:1px solid #E7E7E7;z-index:999}.redux-container #redux-footer #redux-share{float:left;line-height:28px;font-size:15px}.redux-container #redux-footer #redux-share a{text-decoration:none;margin-right:10px}.redux-container #redux-footer #redux-share a img{margin-bottom:-3px}.redux-container .notice-green{margin:0;border-bottom:1px solid #E7E7E7;background-color:#DFF0D8;color:#468847;padding:8px 35px 8px 14px;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.redux-container .notice-blue{margin:0;border-bottom:1px solid #BCE8F1;background-color:#D9EDF7;color:#3A87AD;padding:8px 35px 8px 14px;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.redux-container .notice-yellow{margin:0;border-bottom:1px solid #E7E7E7;background-color:#FCF8E3;color:#C09853;padding:8px 35px 8px 14px;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.redux-container .notice-red,.redux-container .redux-field-errors{margin:0;border-bottom:1px solid #E7E7E7;background-color:#F2DEDE;color:#B94A48;padding:8px 35px 8px 14px;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.redux-container .redux-field-error input,.redux-container .redux-field-error textarea,.redux-container .redux-field-error checkbox{background-color:#FFF6F6;color:#A00}.redux-container .redux-field-warning input,.redux-container .redux-field-warning textarea,.redux-container .redux-field-warning checkbox{background-color:#fcf8e3;color:#444}.redux-container .redux-field-errors,.redux-container .redux-field-warnings,.redux-container .redux-save-warn{display:none}.redux-container .sticky-save-warn{min-height:76px}.redux-container .sticky-save-warn .redux-save-warn{position:fixed;top:32px;right:21px;left:183px;opacity:1;z-index:9999}.redux-container #info_bar{background:#f3f3f3;border-bottom:1px solid #dedede;padding:6px 10px 6px 6px;text-align:right;-moz-box-shadow:inset 0 1px 0 #fcfcfc;-webkit-box-shadow:inset 0 1px 0 #fcfcfc;box-shadow:inset 0 1px 0 #fcfcfc}.redux-container .redux-group-tab{display:none;margin-bottom:15px}.redux-container .redux-group-tab .redux-theme-data{padding:20px 0;border-top:1px solid #E7E7E7}.redux-container .redux-group-tab .redux-theme-data.theme-description{padding:10px 0;border-width:0}.redux-container .redux-group-tab .redux-theme-data.theme-uri,.redux-container .redux-group-tab .redux-theme-data.theme-author,.redux-container .redux-group-tab .redux-theme-data.theme-version{padding:0;border-width:0}.redux-container .redux-group-tab h3{
|
17 |
+
line-height: 2em;
|
18 |
+
background: #fff;
|
19 |
+
z-index: 10;
|
20 |
+
position: relative;}.redux-container .redux-group-tab .redux-section-desc{margin-bottom:15px;color:#666;padding-top:15px;}.redux-container .redux-action_bar{float:right; float: right;
|
21 |
position: relative;
|
22 |
+
right: 50px;}.redux-container .redux-action_bar .spinner{float:left;margin-top:4px}.redux-container .redux-ajax-loading{display:none;background:red url(data:image/gif;base64,R0lGODlhEAAQAPUAAIiIiIqKio2NjZSUlJqamp6enqKioqSkpK+vr7i4uL+/v8PDw8XFxcnJyc/Pz9HR0dTU1NjY2Nzc3OLi4ubm5unp6ezs7PPz88vLy83NzdDQ0NXV1d3d3eHh4bu7u8zMzOvr6+3t7ZiYmNbW1sDAwMTExNra2s7OztPT09vb2+Xl5QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/i1NYWRlIGJ5IEtyYXNpbWlyYSBOZWpjaGV2YSAod3d3LmxvYWRpbmZvLm5ldCkAIfkEAAoA/wAsAAAAABAAEAAABXDgJY6XZZEoOTnOlI5WdUFNA5UnSR3FJNUSieFAIUUEgcdl4noEBBGSZaHIiSqKhTX2GhVFiQGjuxgkSoYAoosAGE6RhKQrUURHlS+pItMVCHMjEgQ9JBJISg+JT3ciFg4NFkcCNw0OViiDgF0oTC8hACH5BAAKAP8ALAAAAAAQABAAAAVx4CWOZGle1qJYp2hV1xYE29V1JXUYHWUcnQgGwyFFBAENiqUZ1kapFamTyeBcsNOLMkoMGC3GIIEyBBAtRMDAiiSKp04iQqpwc9kRpUCAizgEBVciEQNJFxpKGgECdFAYYBsCAjUMGS0XgAODmDacIyEAIfkEAAoA/wAsAAAAABAAEAAABnbAi3BILBovIMUidBSGQJdNIKBBMomUg6FDMRgoHcOBQowIqNaLJiCIEEMLxdWpnIfITRAHnxgwjiEfDR8UIQYBCEcgDYwdUR6ORxEfG3MgeFiFRB0FBBxEHAQFkUJmaBofamxuRB9/GwICGxeMTRehnrabpERBACH5BAAKAP8ALAAAAAAQABAAAAZ9wItwSCwaL5aFwnIUWiqXUSAwulSYRMrB0KEYDJSO4UAhRgQBDZLpCAgixOSSWFEssEho81IWJgYMTQwDCUgGAQhNCAEGTCMJHU0dCXBDFX1DFhwdeHwFIhxmGBihQxEDaRcOGhYao1WZGIFnAiMUDg6YRR0ioE57Fx2RRkEAIfkEAAoA/wAsAAAAABAAEAAABXLgJY5kaV7WolinaLGQEEBXxZLUUUyUYVATw4FCisg0NZYmIIiQUosKqaJY3FDS1oUoSgwYrcUggTIAEC1EwMCKJCatSYI2qnBx2dGkQOCQOAQFdxdGARoVGhCITE4kGBgWEI8QFgwYWhGTWiMWERFXIyEAIfkEAAoA/wAsAAAAABAAEAAABn/Ai3BILBovloXCchRaKpdRIDC6VJhEysHQoRgMlI7hQCFGBAENkukICCLE5JJYUSywSGjzUhYmBgxNDAMJSAYBCE0IAAZMEQkdTRwKVUMcHHhCFXpDERgYcJYEBZFDI58aFhoOFxpuoUIUGhoUZwJVGA6ZaxccBAQce0QdpUVBACH5BAAKAP8ALAAAAAAQABAAAAZ8wItwSCwaLyEFKXQUhioXSCAAuVSYRMrB0KEYDJSO4UAhmgQBDZKpCQhMxFBJgRVWlFkOtElhUj4NH3VEJQMJFx0NintFCAEGISEQH3BHHR5VThVlRRSMQh0FBBxEHAQFnEJnaRcfHxdtb0WKIWcCVSUNTYgEo7tEHR1HQQAh+QQACgD/ACwAAAAAEAAQAAAGdcCLcEgsGi8hhSJ0FHY6l1EgMLqAmEROo5HqGAwqL5g42qKsoAsqIEgRVacTdAhSLLBI1bWpwiYGDE0MAwlIBgEITQgBBkwjCRxNHQlVdCpGekUqBQSRQxwEBZdDKQIBZ3FqbG5EDYEjpikhW3hFoJ1NRU9HQQA7) no-repeat;width:16px;height:16px;margin:3px 4px 0;float:right}.redux-container #redux-intro-text{background:#f3f3f3;border-bottom:1px solid #dedede;-moz-box-shadow:inset 0 1px 0 #fcfcfc;-webkit-box-shadow:inset 0 1px 0 #fcfcfc;box-shadow:inset 0 1px 0 #fcfcfc;padding:3px;padding:10px 10px}.redux-container #redux-intro-text p{margin:0;font-family:"Lucida Grande", Sans-serif;color:#888}.redux-container .expand_options{cursor:pointer;display:block;height:22px;width:21px;float:left;font-size:0;text-indent:-9999px;margin:1px 0 0 5px;border:1px solid #bbb;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAyCAIAAAAm4OfBAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQhJREFUeNrslT0KhDAQhTeLR7ATT6IXSKGFYO0lciFrO1N4AU8TLNXKv0CaJbLJRAZxl1hYyJuXN+PoR/Z9fyFdBNNr27Zf8Oq6bhgGSGUYhpTSzyeBNi8hRFVVEK+6rrXaQFOs6yrvTdOYjcqyVEpTLqXI89yaSypBudq2xckF2TipOSvfmmhZFuAGnJV6Licvey5gj7fnwpwXvEfLfqnT0jQ1OBJCQLnUBvZ9b85VFAV076UU8g1ZckVRxBiDzD6OY62WzPOM9i+cpunvvcZxfCQfPWs9a91Ym2UZ5xyHtd/e8hXWng+/zlrD9jmz1tDj7bkw5wXv0Y210itJEs9az9oHsPYQYACveK0/IuB51AAAAABJRU5ErkJggg==) no-repeat -2px -26px}.redux-container .expand_options.expanded{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAyCAIAAAAm4OfBAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQhJREFUeNrslT0KhDAQhTeLR7ATT6IXSKGFYO0lciFrO1N4AU8TLNXKv0CaJbLJRAZxl1hYyJuXN+PoR/Z9fyFdBNNr27Zf8Oq6bhgGSGUYhpTSzyeBNi8hRFVVEK+6rrXaQFOs6yrvTdOYjcqyVEpTLqXI89yaSypBudq2xckF2TipOSvfmmhZFuAGnJV6Licvey5gj7fnwpwXvEfLfqnT0jQ1OBJCQLnUBvZ9b85VFAV076UU8g1ZckVRxBiDzD6OY62WzPOM9i+cpunvvcZxfCQfPWs9a91Ym2UZ5xyHtd/e8hXWng+/zlrD9jmz1tDj7bkw5wXv0Y210itJEs9az9oHsPYQYACveK0/IuB51AAAAABJRU5ErkJggg==) no-repeat -2px -1px}.redux-container .expand_options:hover{border-color:#888}.redux-container .sticky-footer-fixed{background:#f3f3f3;border-top:1px solid #dedede !important;-moz-box-shadow:inset 0 1px 0 #fcfcfc;-webkit-box-shadow:inset 0 1px 0 #fcfcfc;box-shadow:inset 0 1px 0 #fcfcfc}.redux-container .redux-sidebar,.redux-container .redux-main{min-height:300px}.no-js{border:1px solid #ffbaba;margin:0;border-bottom:1px solid #E7E7E7;background-color:#F2DEDE;color:#B94A48;padding:8px 35px 8px 14px;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.redux-main{ background: #fff;
|
23 |
+
border-left: 1px solid #f0f1f2;margin-left:201px; padding:0px 14px 0px 14px;-moz-box-shadow:inset 0 1px 0 #fff;-webkit-box-shadow:inset 0 1px 0 #FFF;box-shadow:inset 0 1px 0 #FFF;position:relative}.redux-main #redux_ajax_overlay{position:absolute;top:0;left:0;right:0;bottom:0;-moz-opacity:0.10;-khtml-opacity:0.10;opacity:0.10;filter:progid:DXImageTransform.Microsoft.Alpha(opacity=10);filter:alpha(opacity=10);background:#000;z-index:200;display:none}.redux-main .form-table.no-border{border-top: none;
|
24 |
+
background: #fff;
|
25 |
+
border-width: 0px 1px 1px 1px !important;
|
26 |
+
border: solid #e5e5e5;
|
27 |
+
width: 100%;
|
28 |
+
padding: 0;
|
29 |
+
display: inline-table;
|
30 |
+
background: rgb(255, 255, 255);
|
31 |
+
width: 100%;
|
32 |
+
margin: 0px;
|
33 |
+
padding: 0px;} .redux-main .form-table tr:last-child{border-bottom:none !important}.redux-main .form-table tr th,.redux-main .form-table tr td{color:#333}.redux-main .form-table tr td table.mceLayout,.redux-main .form-table tr td table.mceLayout tr,.redux-main .form-table tr td table.mceLayout tr td{padding:0;border-width:0}.redux-main .form-table tr td .redux-th-warning{font-size:1em;color:#C09853;font-weight:normal;display:block;margin-top:10px}.redux-main .form-table tr td .redux-field-warning{border-color:#C09853;margin-top:10px}.redux-main .form-table tr td .redux-th-error{font-size:1em;color:#B94A48;font-weight:normal;display:block;margin-top:10px}.redux-main input.large-text{ max-width: 400px;
|
34 |
+
float: left;}.redux-main .hide{display:none }.redux-main .redux-field-container{ padding: 18px 50px 18px 0;}.redux-main .mini,.redux-main input[type=text].mini{width:60px;text-align:center}.redux-main input{line-height:19px}.redux-main img{max-width:100%;height:auto;width:auto !important}.redux-main .select2-default{width:auto !important}.redux-main .showDefaults{display:block;font-weight:normal;font-size:.8em;color:#888}.redux-main span.description{font-style: normal;
|
35 |
+
left: 18px;}.redux-main #redux-system-info textarea{min-height:730px;width:100%}.redux-main .field-desc{clear:both;font-size:13px}.redux-main .data-full li{width:100%}.redux-main .data-half li{width:50%;float:left}.redux-main .data-third li{width:33.3%;float:left}.redux-main .data-quarter li{width:25%;float:left}.redux-main .ui-helper-hidden-accessible{top:inherit}.redux-main .form-table{clear:none;margin-top:0px !important}.redux-main .form-table tr:first-child th,.redux-main .form-table tr:first-child td{padding-top:0}.redux-main .input-append input{border-right:0;margin-bottom:0;border-top-right-radius:0;border-bottom-right-radius:0;margin-right:0;float:left;margin-top:0;display:block}.redux-main .input-append .add-on{border-top-right-radius:3px;border-bottom-right-radius:3px;margin-left:-2px;padding-top:4px !important;padding-bottom:2px !important}.redux-main .input-prepend input{border-left:0;margin-bottom:0;border-top-left-radius:0;border-bottom-left-radius:0;margin-left:0;padding-top:2px;padding-bottom:5px;float:left;margin-top:0;display:block}.redux-main .input-prepend .add-on{border-top-left-radius:3px;border-bottom-left-radius:3px;float:left}.redux-main .input-append{margin-right:10px;font-size:0;white-space:nowrap;float:left;display:inline-block;margin-bottom:6px}.redux-main .input-append .add-on,.redux-main .input-prepend .add-on{width:auto;display:inline-block;min-width:16px;padding:3px 4px;font-size:12px;font-weight:400;line-height:20px;text-align:center;text-shadow:0 1px 0 #ffffff;background-color:#eeeeee;border:1px solid #cccccc}.redux-main .input-prepend{font-size:0;white-space:nowrap;float:left;display:inline-block;margin-bottom:6px}.redux-sidebar{width:202px;float:left}.redux-sidebar .redux-group-menu{margin-top:0 !important}
|
36 |
+
|
37 |
+
.redux-sidebar .redux-group-menu li{margin-top:0}.redux-sidebar .redux-group-menu li.active a,.redux-sidebar .redux-group-menu li.active a:hover,.redux-sidebar .redux-group-menu li.activeChild a,.redux-sidebar .redux-group-menu li.activeChild a:hover{background:#FCFCFC;color:#269ad6;width:184px;opacity:1}.redux-sidebar .redux-group-menu li.active a li a{background:#333;padding-left:5px}.redux-sidebar .redux-group-menu li.divide{padding:0;border-width:1px 0;border-style:solid;border-bottom-color:#E7E7E7;border-top-color:#F9F9F9}.redux-sidebar .redux-group-menu li a:first-child{border-top:none}.redux-sidebar .redux-group-menu li a{display:block;padding:14px 4px 14px 10px;background:#e0e0e0;background:transparent;border-width:1px 0;border-style:solid;border-bottom-color:#E7E7E7;border-top-color:#F9F9F9;opacity:0.7;color:#555;font-weight:600;text-decoration:none;-webkit-transition:none;transition:none}.redux-sidebar .redux-group-menu li a.custom-tab{background:#f6f6f6}.redux-sidebar .redux-group-menu li a img{width:16px;height:16px;position:absolute;left:15px}.redux-sidebar .redux-group-menu li a:hover{color:#fff;background: #f45c43;background: linear-gradient(to right,#eb3349,#f45c43);opacity:1}.redux-sidebar .redux-menu-warning,.redux-sidebar .redux-menu-error,.redux-sidebar .hasSubSections .extraIconSubsections{display:inline-block;float:right;padding:6px 7px 4px 7px;margin-left:4px;font-family:sans-serif;font-size:9px;font-weight:600;line-height:9px;border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;border:0 solid transparent}.redux-sidebar .redux-menu-warning i,.redux-sidebar .redux-menu-error i,.redux-sidebar .hasSubSections .extraIconSubsections i{display: none}.redux-sidebar .redux-menu-error{background-color:#b94a48;color:#f2dede}.redux-sidebar .redux-menu-warning{background-color:#C09853;color:#FCF8E3}.redux-sidebar ul .subsection{display:none}.redux-sidebar .redux-group-tab-link-a{position:relative;outline:0}
|
38 |
+
.redux-sidebar .redux-group-tab-link-a i{ vertical-align: middle;
|
39 |
+
font-size: 26px;
|
40 |
+
position: absolute;
|
41 |
+
box-shadow: none;
|
42 |
+
text-shadow: none;
|
43 |
+
top: 11px;
|
44 |
+
right: 15px;
|
45 |
+
color: rgba(0, 0, 0, 0.30)}
|
46 |
+
.redux-group-menu .opt-go-premium i,.redux-group-menu .design i, .redux-group-menu .basic i{
|
47 |
+
top:20px;
|
48 |
+
}
|
49 |
+
.redux-sidebar .redux-group-tab-link-a span{display:block}.redux-sidebar .redux-group-tab-link-a span.group_title{ padding-left: 7px;
|
50 |
+
line-height: 19px;}.redux-sidebar .redux-group-tab-link-li a.hasError span.group_title{padding-right:25px}.redux-sidebar #redux-header{text-align:center}.redux-sidebar #redux-header .display_header{float:none}.form-table th,.form-table td{margin:0;padding:0px 10px 0px 18px;width:auto}.redux_field_th{ font-weight: normal;
|
51 |
+
padding: 24px 0px 23px 0px;
|
52 |
+
display: block;
|
53 |
+
font-size: 16px;
|
54 |
+
color: #333;}
|
55 |
+
.child_opt .redux_field_th span:first-child{
|
56 |
+
right: 60px;
|
57 |
+
}
|
58 |
+
.redux_field_th span:first-child{ z-index: 100; font-weight: normal;
|
59 |
+
position: absolute;
|
60 |
display: block;
|
61 |
color: #777;
|
62 |
+
font-size: 12px;
|
63 |
+
right: 4%;
|
64 |
+
margin-top: 5px;}.farb-popup-wrapper{position:relative;display:block}.farb-popup{position:absolute;left:40px;top:40px;background-color:white;border:1px solid #222;padding:5px;z-index:100}#ui-datepicker-div{display:none}.mp6 .icon-themes{display:none}.mp6 .redux-container #info_bar{padding:6px 10px 6px 6px}.mp6 .redux-container #info_bar a{margin-top:2px}.redux-timer{text-align:center;font-size:10px;color:#888}.wrap{margin-top:0}@media screen and (max-width: 600px){.redux-sidebar{width:44px}.redux-sidebar .extraIconSubsections{display:none !important}.redux-sidebar .redux-group-menu li a,.redux-sidebar .redux-group-menu li a:hover,.redux-sidebar .redux-group-menu li.active a,.redux-sidebar .redux-group-menu li.active a:hover,.redux-sidebar .redux-group-menu li.activeChild a,.redux-sidebar .redux-group-menu li.activeChild a:hover{width:auto}.redux-sidebar .redux-group-tab-link-a{position:relative}.redux-sidebar .redux-group-tab-link-a i{position:inherit}.redux-sidebar .redux-group-tab-link-a span{display:none;position:absolute;top:0;left:44px;padding:12px;width:200px;background:#eeeeee;border:1px solid #ccc;-webkit-box-shadow:2px 2px 8px rgba(0,0,0,0.2);-moz-box-shadow:2px 2px 8px rgba(0,0,0,0.2);box-shadow:2px 2px 8px rgba(0,0,0,0.2);border-width:1px 1px 1px 0px;z-index:3}.redux-sidebar .redux-group-tab-link-a:hover>span{display:block}.redux-main{margin-left:43px;width:auto;max-width:100%}table.form-table,.form-table>thead,.form-table>tbody,.form-table>tbody>tr>th,.form-table>tbody>tr>td,.form-table>tbody>tr{display:block;width:100% !important;padding:0px !important}.form-table>tbody>tr>th,.form-table>tbody>tr>td{padding:10px !important}.form-table>tbody>tr>th,.form-table>tbody>tr>td{padding:10px !important}}@media screen and (max-width: 782px){.form-table>tbody>tr>th{width:100%}.redux_field_th{padding-bottom:0}.mp6 .redux-container #info_bar{height:auto;padding-bottom:1px}.mp6 .redux-container #info_bar a{margin-top:5px}.redux-container-switch label{padding:5px 10px !important}.redux-container-button_set label{padding:12px 10px}.redux-container #redux-footer #redux-share{line-height:34px}}pre{overflow:hidden}#redux-header h2{color:#fff}.admin-color-fresh .button.ui-datepicker-current,.admin-color-fresh button.ui-datepicker-close,.wp-customizer .button.ui-datepicker-current,.wp-customizer button.ui-datepicker-close{background-color:#007db9 !important}.admin-color-fresh .ui-datepicker-buttonpane button.ui-datepicker-current,.wp-customizer .ui-datepicker-buttonpane button.ui-datepicker-current{background:#1e8cbe !important;color:white !important;border:1px solid #104b66 !important}.admin-color-fresh .ui-datepicker-header .ui-icon,.wp-customizer .ui-datepicker-header .ui-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAADwCAMAAADYSUr5AAAA7VBMVEX8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vywC3+8AAAATnRSTlMAGBAyBAhQv4OZLiJUcEBmYBoSzQwgPBZCSEoeWiYwUiyFNIeBw2rJz8c4RBy9uXyrtaWNqa2zKP2fJO8KBgKPo2KVoa9s351GPm5+kWho0kj9AAAPhUlEQVR4nO1djWLbthEGyUiq5YSSLXtp7FpLOmfzkmxr126tmi2p03RJ1/Xe/3EGgARxPyAgRbIk2/hkSz4CJO4+HsE7AJSVysjI2AMUUOxahZ2iANhzBtZWr4BoIRSYAVN5u4QwDwQDRbcwfUi5KS3wFuDmFnQLa4Dtb//cqktwD5QEFFwfUs7PoCCA7y4bEJVFizcIob8KmhAplwwqVjt+9FBl3uINQniwEiryEyw9JHqGpQdEFNi+B4QQ7QOiHhysIPoAxUqxvdvvA9K42bsAv4S2fxfYOe57IJSRkZGRkZGxx7jxSHDHcRBXQMTyIjInBgHwBJ/bEx8PEANC+uhbpSSggCBAVODVabpI1S/k4WLZpTn6NpMhoX9Y40hxYERFpMcqUs4AloCtDQdID1YhnyXZ2hLjAYWiO9Dy1PDB7tPhIqLx+uMB8grZaR+Qxl2/C2RkZGRkZGRk7A7rBf7J0DR5/LUTj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pOVk7l5hD+eYcYwDcAnewOotrZ4OtrPDucqi/LRX0/RR4qx7Nn4U8g+qjffvuN6Gf+nC85vwauHjaYyubqvWYKY4VEfSUMitdnBCT1Ue63R5439m+OgCn6DroAAaHPVQxKth/wkJgHmG8bmQMsT0D6EjDfvhVRKO3ywOQUgRA7nmL1uawZmHf1k+DPBwQ6NdcJ+k6Md1LA5f5ONdhJ8vZ5J0vLHT99srkGOjmJbd/G1r2Nriqnse1AZt1AalU5jW2HsuuG0qvKGRkZGRkZGRG0gcONyXsP9v8D0/IdJADiBNiXl3327WRGgOL/9HC/0XwlIURkRhC4tz6Z/fu7fUf2gHvfB9z3u0BGRkZGRkbGplHcnkgguQoSqtUXuhbs/wPtMwqV0HUJAvj5vk32b8IDuL23yn7qAXZ5u32hbRX7d3o82Df1FZXvbh9QOfhyxldr/+3xgXU9oKmvsHyr7F/XA269/eveBXrsv7N9QALe/tvjA0kPWAXGbvebkbHn+D/J5nMcHzx1UAAAAABJRU5ErkJggg==) !important}.admin-color-fresh .ui-datepicker-header,.wp-customizer .ui-datepicker-header{background-color:#23282d !important;color:white !important}.admin-color-fresh .ui-datepicker td .ui-state-active,.wp-customizer .ui-datepicker td .ui-state-active{background-color:#007db9 !important;color:white !important}.admin-color-fresh .ui-datepicker td .ui-state-hover,.wp-customizer .ui-datepicker td .ui-state-hover{color:#007db9 !important}.admin-color-fresh .ui-datepicker td .ui-state-highlight,.wp-customizer .ui-datepicker td .ui-state-highlight{background:#0073aa !important;border:1px solid #23282d !important;color:white !important}.admin-color-fresh .redux-container-switch .cb-disable,.admin-color-fresh .redux-container-switch .cb-enable,.admin-color-fresh .ui-state-default,.admin-color-fresh .ui-widget-content .ui-state-default,.admin-color-fresh .ui-widget-header .ui-state-default,.wp-customizer .redux-container-switch .cb-disable,.wp-customizer .redux-container-switch .cb-enable,.wp-customizer .ui-state-default,.wp-customizer .ui-widget-content .ui-state-default,.wp-customizer .ui-widget-header .ui-state-default{background-color:#f5f5f5 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f5f5f5)) !important;background-image:-moz-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-ms-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #f8f8f8), color-stop(100%, #f5f5f5)) !important;background-image:-webkit-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-o-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-linear-gradient(top, #f8f8f8, #f5f5f5) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8', endColorstr='#f5f5f5', GradientType=0) !important;border-color:#ccc !important}.admin-color-fresh .ui-datepicker td .ui-state-active,.wp-customizer .ui-datepicker td .ui-state-active{color:black !important;font-weight:700 !important;background:white !important}.admin-color-fresh .redux-container-switch .cb-disable.selected,.wp-customizer .redux-container-switch .cb-disable.selected{background-color:#646464 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#929292), to(#646464)) !important;background-image:-moz-linear-gradient(top, #929292, #646464) !important;background-image:-ms-linear-gradient(top, #929292, #646464) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #929292), color-stop(100%, #646464)) !important;background-image:-webkit-linear-gradient(top, #929292, #646464) !important;background-image:-o-linear-gradient(top, #929292, #646464) !important;background-image:-linear-gradient(top, #929292, #646464) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#929292', endColorstr='#646464', GradientType=0) !important;border-color:#767676 !important}.admin-color-fresh .redux-container-switch .cb-enable.selected,.admin-color-fresh .redux-field-container .ui-buttonset .ui-state-active,.wp-customizer .redux-container-switch .cb-enable.selected,.wp-customizer .redux-field-container .ui-buttonset .ui-state-active{background-color:#0073aa !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#008bce), to(#0073aa)) !important;background-image:-moz-linear-gradient(top, #008bce, #0073aa) !important;background-image:-ms-linear-gradient(top, #008bce, #0073aa) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #008bce), color-stop(100%, #0073aa)) !important;background-image:-webkit-linear-gradient(top, #008bce, #0073aa) !important;background-image:-o-linear-gradient(top, #008bce, #0073aa) !important;background-image:-linear-gradient(top, #008bce, #0073aa) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#008bce', endColorstr='#0073aa', GradientType=0) !important;border-color:#003f5d !important;border-color:#005077 !important;-webkit-box-shadow:inset 0 1px 0 #00a7f6,0 1px 0 rgba(0,0,0,0.15) !important;box-shadow:inset 0 1px 0 #00a7f6,0 1px 0 rgba(0,0,0,0.15) !important}.admin-color-fresh #redux-header,.wp-customizer #redux-header{background:#23282d;border-color:#0073aa}.admin-color-fresh #redux-header .display_header span,.wp-customizer #redux-header .display_header span{color:#a0a5aa}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections a,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections a{position:relative}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections a:after,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:after,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:after{border:0 none !important;content:"\0020" !important}.admin-color-fresh .redux-sidebar .redux-group-menu li.hasSubSections .redux-menu-error,.wp-customizer .redux-sidebar .redux-group-menu li.hasSubSections .redux-menu-error{display:none;margin-right:5px}.admin-color-fresh .redux-sidebar .redux-group-menu li.hasSubSections a.hasError .extraIconSubsections,.wp-customizer .redux-sidebar .redux-group-menu li.hasSubSections a.hasError .extraIconSubsections{background-color:#b94a48;color:#f2dede}.admin-color-fresh .redux-sidebar .redux-group-menu li.hasSubSections a .extraIconSubsections,.wp-customizer .redux-sidebar .redux-group-menu li.hasSubSections a .extraIconSubsections{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;border:0 solid transparent;font-size:9px;height:9px;line-height:9px;margin-right:5px;padding:6px 7px 4px 7px;width:5px}.admin-color-fresh .redux-sidebar .redux-group-menu li.active a .extraIconSubsections,.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild a .extraIconSubsections,.wp-customizer .redux-sidebar .redux-group-menu li.active a .extraIconSubsections,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild a .extraIconSubsections{display:none}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections .redux-menu-error,.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .redux-menu-error,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections .redux-menu-error,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .redux-menu-error{display:block}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections .subsection .redux-menu-error,.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .subsection .redux-menu-error,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections .subsection .redux-menu-error,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .subsection .redux-menu-error{margin-right:2px}.admin-color-fresh .redux-sidebar .redux-group-menu li.active,.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild,.wp-customizer .redux-sidebar .redux-group-menu li.active,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild{border-left:0 none}.admin-color-fresh .redux-sidebar .redux-group-menu li.active a,.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild a,.wp-customizer .redux-sidebar .redux-group-menu li.active a,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild a{color:#23282d}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections .active a:after,.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .active a:after,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections .active a:after,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .active a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections a,.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections a,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{-webkit-transition:all 0.2s;-moz-transition:all 0.2s;transition:all 0.2s;color:#fff;width:auto;border-bottom:0}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li,.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li{border-top:0 none !important}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.active a:hover,.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a:hover,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.active a:hover,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a:hover{color:#fff}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a,.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{width:auto;border-top:0 !important;padding:7px;color:#fff;padding-left:15px;-webkit-transition:all 0.2;-moz-transition:all 0.2;-ms-transition:all 0.2;-o-transition:all 0.2;transition:all 0.2}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:hover,.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a:hover,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:hover,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a:hover{color:#1e8cbe;background:#0d0e10}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a span.group_title,.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a span.group_title,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a span.group_title,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a span.group_title{padding-left:5px !important}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a,.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a{padding-left:14px}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a span.group_title,.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a span.group_title,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a span.group_title,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a span.group_title{padding-left:30px !important}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections a,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections a{background:#0073aa}.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a,.wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a{background:#23282d}.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{background:#a0a5aa;text-shadow:1px 1px #54595d}.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{background:#23282d;text-shadow:none}.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a,.wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a{background:#0073aa;text-shadow:1px 1px #002e44}.admin-color-fresh .redux-container-image_select .redux-image-select-selected img,.wp-customizer .redux-container-image_select .redux-image-select-selected img{border-color:#0073aa}.admin-color-fresh #redux-footer #redux-share a,.wp-customizer #redux-footer #redux-share a{color:#0073aa}.admin-color-fresh #redux-footer #redux-share a:hover,.wp-customizer #redux-footer #redux-share a:hover{color:#002e44}.admin-color-fresh .select2-results .select2-highlighted,.wp-customizer .select2-results .select2-highlighted{background:#0073aa}.admin-color-fresh .select2-drop-active,.admin-color-fresh .select2-container-multi.select2-container-active .select2-choices,.admin-color-fresh .select2-drop.select2-drop-above.select2-drop-active,.admin-color-fresh .select2-container-active .select2-choice,.admin-color-fresh .select2-container-active .select2-choices,.admin-color-fresh .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-fresh .select2-dropdown-open.select2-drop-above .select2-choices,.wp-customizer .select2-drop-active,.wp-customizer .select2-container-multi.select2-container-active .select2-choices,.wp-customizer .select2-drop.select2-drop-above.select2-drop-active,.wp-customizer .select2-container-active .select2-choice,.wp-customizer .select2-container-active .select2-choices,.wp-customizer .select2-dropdown-open.select2-drop-above .select2-choice,.wp-customizer .select2-dropdown-open.select2-drop-above .select2-choices{border-color:#0073aa}.admin-color-fresh .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-fresh .select2-dropdown-open.select2-drop-above .select2-choices,.wp-customizer .select2-dropdown-open.select2-drop-above .select2-choice,.wp-customizer .select2-dropdown-open.select2-drop-above .select2-choices{border-top:inherit}.admin-color-fresh .noUi-connect,.wp-customizer .noUi-connect{background-color:#007db9 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#0095dd), to(#007db9)) !important;background-image:-moz-linear-gradient(top, #0095dd, #007db9) !important;background-image:-ms-linear-gradient(top, #0095dd, #007db9) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #0095dd), color-stop(100%, #007db9)) !important;background-image:-webkit-linear-gradient(top, #0095dd, #007db9) !important;background-image:-o-linear-gradient(top, #0095dd, #007db9) !important;background-image:-linear-gradient(top, #0095dd, #007db9) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0095dd', endColorstr='#007db9', GradientType=0) !important}.admin-color-light .button.ui-datepicker-current,.admin-color-light button.ui-datepicker-close{background-color:#04b0db !important}.admin-color-light .ui-datepicker-buttonpane button.ui-datepicker-current{background:#0384a4 !important;color:white !important;border:1px solid #013340 !important}.admin-color-light .ui-datepicker-header .ui-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAADwCAMAAADYSUr5AAAA7VBMVEX8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vywC3+8AAAATnRSTlMAGBAyBAhQv4OZLiJUcEBmYBoSzQwgPBZCSEoeWiYwUiyFNIeBw2rJz8c4RBy9uXyrtaWNqa2zKP2fJO8KBgKPo2KVoa9s351GPm5+kWho0kj9AAAPhUlEQVR4nO1dj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0FTMAoYBNvLyFu8v8HpLBtD1iKgC17wHb7AI6d9wFbvguAIGTHd4E9wG7jgIyMjIyM+434c2R3HeV/Ffx6jtZu6ijl8h59T655jhR+rdHzDOP6beABCheb8O8/WFXeOyzgf5oAhVYnKxP7CwaAf1afJu8bSrhS6tdaXeGnrRenOqOlz9d6QwYnA/3TLd+GE7qe3chA5YF5DfY0vK3adfOX/gyNp2BW25MHdxAB9qvRiiP3/XpQQFGYDU4+Mi///XumXG8pjvaUAOsBGlf4jJt+YYEzeEzAdw06F19R3juM7D1wita86GR0CKfDHgLuXCc4Bri6vMLdfjMc4VNSUNsdodo2xu/1+Xl/K5+az8jIyMhYG/z5gJTMF1GtKq/a3rpyCvz5gJTMl9GtKq/a3rpyCmfQ4WwZmS+kXFVetb115ST48wEf/AGcfG1iw+tWbpbS2vJ3nQxcVr3lH3z5h972FUTLzYpOVk7l5hD+eYcYwDcAnewOotrZ4OtrPDucqi/LRX0/RR4qx7Nn4U8g+qjffvuN6Gf+nC85vwauHjaYyubqvWYKY4VEfSUMitdnBCT1Ue63R5439m+OgCn6DroAAaHPVQxKth/wkJgHmG8bmQMsT0D6EjDfvhVRKO3ywOQUgRA7nmL1uawZmHf1k+DPBwQ6NdcJ+k6Md1LA5f5ONdhJ8vZ5J0vLHT99srkGOjmJbd/G1r2Nriqnse1AZt1AalU5jW2HsuuG0qvKGRkZGRkZGRG0gcONyXsP9v8D0/IdJADiBNiXl3327WRGgOL/9HC/0XwlIURkRhC4tz6Z/fu7fUf2gHvfB9z3u0BGRkZGRkbGplHcnkgguQoSqtUXuhbs/wPtMwqV0HUJAvj5vk32b8IDuL23yn7qAXZ5u32hbRX7d3o82Df1FZXvbh9QOfhyxldr/+3xgXU9oKmvsHyr7F/XA269/eveBXrsv7N9QALe/tvjA0kPWAXGbvebkbHn+D/J5nMcHzx1UAAAAABJRU5ErkJggg==) !important}.admin-color-light .ui-datepicker-header{background-color:#888 !important;color:white !important}.admin-color-light .ui-datepicker td .ui-state-active{background-color:#04b0db !important;color:white !important}.admin-color-light .ui-datepicker td .ui-state-hover{color:#04b0db !important}.admin-color-light .ui-datepicker td .ui-state-highlight{background:#04a4cc !important;border:1px solid #888 !important;color:white !important}.admin-color-light .redux-container-switch .cb-disable,.admin-color-light .redux-container-switch .cb-enable,.admin-color-light .ui-state-default,.admin-color-light .ui-widget-content .ui-state-default,.admin-color-light .ui-widget-header .ui-state-default{background-color:#f5f5f5 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f5f5f5)) !important;background-image:-moz-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-ms-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #f8f8f8), color-stop(100%, #f5f5f5)) !important;background-image:-webkit-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-o-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-linear-gradient(top, #f8f8f8, #f5f5f5) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8', endColorstr='#f5f5f5', GradientType=0) !important;border-color:#ccc !important}.admin-color-light .ui-datepicker td .ui-state-active{color:black !important;font-weight:700 !important;background:white !important}.admin-color-light .redux-container-switch .cb-disable.selected{background-color:#646464 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#929292), to(#646464)) !important;background-image:-moz-linear-gradient(top, #929292, #646464) !important;background-image:-ms-linear-gradient(top, #929292, #646464) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #929292), color-stop(100%, #646464)) !important;background-image:-webkit-linear-gradient(top, #929292, #646464) !important;background-image:-o-linear-gradient(top, #929292, #646464) !important;background-image:-linear-gradient(top, #929292, #646464) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#929292', endColorstr='#646464', GradientType=0) !important;border-color:#767676 !important}.admin-color-light .redux-container-switch .cb-enable.selected,.admin-color-light .redux-field-container .ui-buttonset .ui-state-active{background-color:#04a4cc !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#05c0ef), to(#04a4cc)) !important;background-image:-moz-linear-gradient(top, #05c0ef, #04a4cc) !important;background-image:-ms-linear-gradient(top, #05c0ef, #04a4cc) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #05c0ef), color-stop(100%, #04a4cc)) !important;background-image:-webkit-linear-gradient(top, #05c0ef, #04a4cc) !important;background-image:-o-linear-gradient(top, #05c0ef, #04a4cc) !important;background-image:-linear-gradient(top, #05c0ef, #04a4cc) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#05c0ef', endColorstr='#04a4cc', GradientType=0) !important;border-color:#036881 !important;border-color:#037c9a !important;-webkit-box-shadow:inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,0.15) !important;box-shadow:inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,0.15) !important}.admin-color-light #redux-header{background:#888;border-color:#04a4cc}.admin-color-light #redux-header .display_header span{color:#e6e6e6}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections a{position:relative}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:after{border:0 none !important;content:"\0020" !important}.admin-color-light .redux-sidebar .redux-group-menu li.hasSubSections .redux-menu-error{display:none;margin-right:5px}.admin-color-light .redux-sidebar .redux-group-menu li.hasSubSections a.hasError .extraIconSubsections{background-color:#b94a48;color:#f2dede}.admin-color-light .redux-sidebar .redux-group-menu li.hasSubSections a .extraIconSubsections{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;border:0 solid transparent;font-size:9px;height:9px;line-height:9px;margin-right:5px;padding:6px 7px 4px 7px;width:5px}.admin-color-light .redux-sidebar .redux-group-menu li.active a .extraIconSubsections,.admin-color-light .redux-sidebar .redux-group-menu li.activeChild a .extraIconSubsections{display:none}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections .redux-menu-error,.admin-color-light .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .redux-menu-error{display:block}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections .subsection .redux-menu-error,.admin-color-light .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .subsection .redux-menu-error{margin-right:2px}.admin-color-light .redux-sidebar .redux-group-menu li.active,.admin-color-light .redux-sidebar .redux-group-menu li.activeChild{border-left:0 none}.admin-color-light .redux-sidebar .redux-group-menu li.active a,.admin-color-light .redux-sidebar .redux-group-menu li.activeChild a{color:#888}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections .active a:after,.admin-color-light .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .active a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections a,.admin-color-light .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{-webkit-transition:all 0.2s;-moz-transition:all 0.2s;transition:all 0.2s;color:#fff;width:auto;border-bottom:0}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li,.admin-color-light .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li{border-top:0 none !important}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.active a:hover,.admin-color-light .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a:hover{color:#fff}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a,.admin-color-light .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{width:auto;border-top:0 !important;padding:7px;color:#fff;padding-left:15px;-webkit-transition:all 0.2;-moz-transition:all 0.2;-ms-transition:all 0.2;-o-transition:all 0.2;transition:all 0.2}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:hover,.admin-color-light .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a:hover{color:#0384a4;background:#6f6f6f}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a span.group_title,.admin-color-light .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a span.group_title{padding-left:5px !important}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a,.admin-color-light .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a{padding-left:14px}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a span.group_title,.admin-color-light .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a span.group_title{padding-left:30px !important}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections a{background:#04a4cc}.admin-color-light .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a{background:#888}.admin-color-light .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{background:#e6e6e6;text-shadow:1px 1px #9a9a9a}.admin-color-light .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{background:#888;text-shadow:none}.admin-color-light .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a{background:#04a4cc;text-shadow:1px 1px #025468}.admin-color-light .redux-container-image_select .redux-image-select-selected img{border-color:#04a4cc}.admin-color-light #redux-footer #redux-share a{color:#04a4cc}.admin-color-light #redux-footer #redux-share a:hover{color:#025468}.admin-color-light .select2-results .select2-highlighted{background:#04a4cc}.admin-color-light .select2-drop-active,.admin-color-light .select2-container-multi.select2-container-active .select2-choices,.admin-color-light .select2-drop.select2-drop-above.select2-drop-active,.admin-color-light .select2-container-active .select2-choice,.admin-color-light .select2-container-active .select2-choices,.admin-color-light .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-light .select2-dropdown-open.select2-drop-above .select2-choices{border-color:#04a4cc}.admin-color-light .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-light .select2-dropdown-open.select2-drop-above .select2-choices{border-top:inherit}.admin-color-light .noUi-connect{background-color:#04b0db !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#09cafa), to(#04b0db)) !important;background-image:-moz-linear-gradient(top, #09cafa, #04b0db) !important;background-image:-ms-linear-gradient(top, #09cafa, #04b0db) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #09cafa), color-stop(100%, #04b0db)) !important;background-image:-webkit-linear-gradient(top, #09cafa, #04b0db) !important;background-image:-o-linear-gradient(top, #09cafa, #04b0db) !important;background-image:-linear-gradient(top, #09cafa, #04b0db) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#09cafa', endColorstr='#04b0db', GradientType=0) !important}.admin-color-blue .button.ui-datepicker-current,.admin-color-blue button.ui-datepicker-close{background-color:#509dba !important}.admin-color-blue .ui-datepicker-buttonpane button.ui-datepicker-current{background:#db9825 !important;color:white !important;border:1px solid #845c16 !important}.admin-color-blue .ui-datepicker-header .ui-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAADwCAMAAADYSUr5AAAA7VBMVEX8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vywC3+8AAAATnRSTlMAGBAyBAhQv4OZLiJUcEBmYBoSzQwgPBZCSEoeWiYwUiyFNIeBw2rJz8c4RBy9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) !important}.admin-color-blue .ui-datepicker-header{background-color:#096484 !important;color:white !important}.admin-color-blue .ui-datepicker td .ui-state-active{background-color:#509dba !important;color:white !important}.admin-color-blue .ui-datepicker td .ui-state-hover{color:#509dba !important}.admin-color-blue .ui-datepicker td .ui-state-highlight{background:#4796b3 !important;border:1px solid #096484 !important;color:white !important}.admin-color-blue .redux-container-switch .cb-disable,.admin-color-blue .redux-container-switch .cb-enable,.admin-color-blue .ui-state-default,.admin-color-blue .ui-widget-content .ui-state-default,.admin-color-blue .ui-widget-header .ui-state-default{background-color:#f5f5f5 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f5f5f5)) !important;background-image:-moz-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-ms-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #f8f8f8), color-stop(100%, #f5f5f5)) !important;background-image:-webkit-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-o-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-linear-gradient(top, #f8f8f8, #f5f5f5) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8', endColorstr='#f5f5f5', GradientType=0) !important;border-color:#ccc !important}.admin-color-blue .ui-datepicker td .ui-state-active{color:black !important;font-weight:700 !important;background:white !important}.admin-color-blue .redux-container-switch .cb-disable.selected{background-color:#646464 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#929292), to(#646464)) !important;background-image:-moz-linear-gradient(top, #929292, #646464) !important;background-image:-ms-linear-gradient(top, #929292, #646464) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #929292), color-stop(100%, #646464)) !important;background-image:-webkit-linear-gradient(top, #929292, #646464) !important;background-image:-o-linear-gradient(top, #929292, #646464) !important;background-image:-linear-gradient(top, #929292, #646464) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#929292', endColorstr='#646464', GradientType=0) !important;border-color:#767676 !important}.admin-color-blue .redux-container-switch .cb-enable.selected,.admin-color-blue .redux-field-container .ui-buttonset .ui-state-active{background-color:#4796b3 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#5ea5bf), to(#4796b3)) !important;background-image:-moz-linear-gradient(top, #5ea5bf, #4796b3) !important;background-image:-ms-linear-gradient(top, #5ea5bf, #4796b3) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #5ea5bf), color-stop(100%, #4796b3)) !important;background-image:-webkit-linear-gradient(top, #5ea5bf, #4796b3) !important;background-image:-o-linear-gradient(top, #5ea5bf, #4796b3) !important;background-image:-linear-gradient(top, #5ea5bf, #4796b3) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5ea5bf', endColorstr='#4796b3', GradientType=0) !important;border-color:#31687c !important;border-color:#39778e !important;-webkit-box-shadow:inset 0 1px 0 #7cb6cb,0 1px 0 rgba(0,0,0,0.15) !important;box-shadow:inset 0 1px 0 #7cb6cb,0 1px 0 rgba(0,0,0,0.15) !important}.admin-color-blue #redux-header{background:#096484;border-color:#4796b3}.admin-color-blue #redux-header .display_header span{color:#e2ecf1}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections a{position:relative}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:after{border:0 none !important;content:"\0020" !important}.admin-color-blue .redux-sidebar .redux-group-menu li.hasSubSections .redux-menu-error{display:none;margin-right:5px}.admin-color-blue .redux-sidebar .redux-group-menu li.hasSubSections a.hasError .extraIconSubsections{background-color:#b94a48;color:#f2dede}.admin-color-blue .redux-sidebar .redux-group-menu li.hasSubSections a .extraIconSubsections{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;border:0 solid transparent;font-size:9px;height:9px;line-height:9px;margin-right:5px;padding:6px 7px 4px 7px;width:5px}.admin-color-blue .redux-sidebar .redux-group-menu li.active a .extraIconSubsections,.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild a .extraIconSubsections{display:none}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections .redux-menu-error,.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .redux-menu-error{display:block}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections .subsection .redux-menu-error,.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .subsection .redux-menu-error{margin-right:2px}.admin-color-blue .redux-sidebar .redux-group-menu li.active,.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild{border-left:0 none}.admin-color-blue .redux-sidebar .redux-group-menu li.active a,.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild a{color:#096484}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections .active a:after,.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .active a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections a,.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{-webkit-transition:all 0.2s;-moz-transition:all 0.2s;transition:all 0.2s;color:#fff;width:auto;border-bottom:0}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li,.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li{border-top:0 none !important}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.active a:hover,.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a:hover{color:#fff}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a,.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{width:auto;border-top:0 !important;padding:7px;color:#fff;padding-left:15px;-webkit-transition:all 0.2;-moz-transition:all 0.2;-ms-transition:all 0.2;-o-transition:all 0.2;transition:all 0.2}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:hover,.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a:hover{color:#db9825;background:#064054}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a span.group_title,.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a span.group_title{padding-left:5px !important}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a,.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a{padding-left:14px}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a span.group_title,.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a span.group_title{padding-left:30px !important}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections a{background:#4796b3}.admin-color-blue .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a{background:#096484}.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{background:#e2ecf1;text-shadow:1px 1px #7ba8bf}.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{background:#096484;text-shadow:none}.admin-color-blue .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a{background:#4796b3;text-shadow:1px 1px #2a596a}.admin-color-blue .redux-container-image_select .redux-image-select-selected img{border-color:#4796b3}.admin-color-blue #redux-footer #redux-share a{color:#4796b3}.admin-color-blue #redux-footer #redux-share a:hover{color:#2a596a}.admin-color-blue .select2-results .select2-highlighted{background:#4796b3}.admin-color-blue .select2-drop-active,.admin-color-blue .select2-container-multi.select2-container-active .select2-choices,.admin-color-blue .select2-drop.select2-drop-above.select2-drop-active,.admin-color-blue .select2-container-active .select2-choice,.admin-color-blue .select2-container-active .select2-choices,.admin-color-blue .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-blue .select2-dropdown-open.select2-drop-above .select2-choices{border-color:#4796b3}.admin-color-blue .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-blue .select2-dropdown-open.select2-drop-above .select2-choices{border-top:inherit}.admin-color-blue .noUi-connect{background-color:#509dba !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#69abc4), to(#509dba)) !important;background-image:-moz-linear-gradient(top, #69abc4, #509dba) !important;background-image:-ms-linear-gradient(top, #69abc4, #509dba) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #69abc4), color-stop(100%, #509dba)) !important;background-image:-webkit-linear-gradient(top, #69abc4, #509dba) !important;background-image:-o-linear-gradient(top, #69abc4, #509dba) !important;background-image:-linear-gradient(top, #69abc4, #509dba) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#69abc4', endColorstr='#509dba', GradientType=0) !important}.admin-color-coffee .button.ui-datepicker-current,.admin-color-coffee button.ui-datepicker-close{background-color:#ccad93 !important}.admin-color-coffee .ui-datepicker-buttonpane button.ui-datepicker-current{background:#ba906d !important;color:white !important;border:1px solid #835d3e !important}.admin-color-coffee .ui-datepicker-header .ui-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAADwCAMAAADYSUr5AAAA7VBMVEX8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/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uL23yn7qAXZ5u32hbRX7d3o82Df1FZXvbh9QOfhyxldr/+3xgXU9oKmvsHyr7F/XA269/eveBXrsv7N9QALe/tvjA0kPWAXGbvebkbHn+D/J5nMcHzx1UAAAAABJRU5ErkJggg==) !important}.admin-color-coffee .ui-datepicker-header{background-color:#46403c !important;color:white !important}.admin-color-coffee .ui-datepicker td .ui-state-active{background-color:#ccad93 !important;color:white !important}.admin-color-coffee .ui-datepicker td .ui-state-hover{color:#ccad93 !important}.admin-color-coffee .ui-datepicker td .ui-state-highlight{background:#c7a589 !important;border:1px solid #46403c !important;color:white !important}.admin-color-coffee .redux-container-switch .cb-disable,.admin-color-coffee .redux-container-switch .cb-enable,.admin-color-coffee .ui-state-default,.admin-color-coffee .ui-widget-content .ui-state-default,.admin-color-coffee .ui-widget-header .ui-state-default{background-color:#f5f5f5 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f5f5f5)) !important;background-image:-moz-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-ms-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #f8f8f8), color-stop(100%, #f5f5f5)) !important;background-image:-webkit-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-o-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-linear-gradient(top, #f8f8f8, #f5f5f5) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8', endColorstr='#f5f5f5', GradientType=0) !important;border-color:#ccc !important}.admin-color-coffee .ui-datepicker td .ui-state-active{color:black !important;font-weight:700 !important;background:white !important}.admin-color-coffee .redux-container-switch .cb-disable.selected{background-color:#646464 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#929292), to(#646464)) !important;background-image:-moz-linear-gradient(top, #929292, #646464) !important;background-image:-ms-linear-gradient(top, #929292, #646464) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #929292), color-stop(100%, #646464)) !important;background-image:-webkit-linear-gradient(top, #929292, #646464) !important;background-image:-o-linear-gradient(top, #929292, #646464) !important;background-image:-linear-gradient(top, #929292, #646464) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#929292', endColorstr='#646464', GradientType=0) !important;border-color:#767676 !important}.admin-color-coffee .redux-container-switch .cb-enable.selected,.admin-color-coffee .redux-field-container .ui-buttonset .ui-state-active{background-color:#c7a589 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#d2b7a1), to(#c7a589)) !important;background-image:-moz-linear-gradient(top, #d2b7a1, #c7a589) !important;background-image:-ms-linear-gradient(top, #d2b7a1, #c7a589) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #d2b7a1), color-stop(100%, #c7a589)) !important;background-image:-webkit-linear-gradient(top, #d2b7a1, #c7a589) !important;background-image:-o-linear-gradient(top, #d2b7a1, #c7a589) !important;background-image:-linear-gradient(top, #d2b7a1, #c7a589) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#d2b7a1', endColorstr='#c7a589', GradientType=0) !important;border-color:#ae7d55 !important;border-color:#b78b66 !important;-webkit-box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,0.15) !important;box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,0.15) !important}.admin-color-coffee #redux-header{background:#46403c;border-color:#c7a589}.admin-color-coffee #redux-header .display_header span{color:#cdcbc9}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections a{position:relative}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:after{border:0 none !important;content:"\0020" !important}.admin-color-coffee .redux-sidebar .redux-group-menu li.hasSubSections .redux-menu-error{display:none;margin-right:5px}.admin-color-coffee .redux-sidebar .redux-group-menu li.hasSubSections a.hasError .extraIconSubsections{background-color:#b94a48;color:#f2dede}.admin-color-coffee .redux-sidebar .redux-group-menu li.hasSubSections a .extraIconSubsections{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;border:0 solid transparent;font-size:9px;height:9px;line-height:9px;margin-right:5px;padding:6px 7px 4px 7px;width:5px}.admin-color-coffee .redux-sidebar .redux-group-menu li.active a .extraIconSubsections,.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild a .extraIconSubsections{display:none}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections .redux-menu-error,.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .redux-menu-error{display:block}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections .subsection .redux-menu-error,.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .subsection .redux-menu-error{margin-right:2px}.admin-color-coffee .redux-sidebar .redux-group-menu li.active,.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild{border-left:0 none}.admin-color-coffee .redux-sidebar .redux-group-menu li.active a,.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild a{color:#46403c}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections .active a:after,.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .active a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections a,.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{-webkit-transition:all 0.2s;-moz-transition:all 0.2s;transition:all 0.2s;color:#fff;width:auto;border-bottom:0}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li,.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li{border-top:0 none !important}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.active a:hover,.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a:hover{color:#fff}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a,.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{width:auto;border-top:0 !important;padding:7px;color:#fff;padding-left:15px;-webkit-transition:all 0.2;-moz-transition:all 0.2;-ms-transition:all 0.2;-o-transition:all 0.2;transition:all 0.2}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:hover,.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a:hover{color:#ba906d;background:#2b2724}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a span.group_title,.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a span.group_title{padding-left:5px !important}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a,.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a{padding-left:14px}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a span.group_title,.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a span.group_title{padding-left:30px !important}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections a{background:#c7a589}.admin-color-coffee .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a{background:#46403c}.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{background:#cdcbc9;text-shadow:1px 1px #837e7a}.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{background:#46403c;text-shadow:none}.admin-color-coffee .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a{background:#c7a589;text-shadow:1px 1px #9f714b}.admin-color-coffee .redux-container-image_select .redux-image-select-selected img{border-color:#c7a589}.admin-color-coffee #redux-footer #redux-share a{color:#c7a589}.admin-color-coffee #redux-footer #redux-share a:hover{color:#9f714b}.admin-color-coffee .select2-results .select2-highlighted{background:#c7a589}.admin-color-coffee .select2-drop-active,.admin-color-coffee .select2-container-multi.select2-container-active .select2-choices,.admin-color-coffee .select2-drop.select2-drop-above.select2-drop-active,.admin-color-coffee .select2-container-active .select2-choice,.admin-color-coffee .select2-container-active .select2-choices,.admin-color-coffee .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-coffee .select2-dropdown-open.select2-drop-above .select2-choices{border-color:#c7a589}.admin-color-coffee .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-coffee .select2-dropdown-open.select2-drop-above .select2-choices{border-top:inherit}.admin-color-coffee .noUi-connect{background-color:#ccad93 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#d7bfac), to(#ccad93)) !important;background-image:-moz-linear-gradient(top, #d7bfac, #ccad93) !important;background-image:-ms-linear-gradient(top, #d7bfac, #ccad93) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #d7bfac), color-stop(100%, #ccad93)) !important;background-image:-webkit-linear-gradient(top, #d7bfac, #ccad93) !important;background-image:-o-linear-gradient(top, #d7bfac, #ccad93) !important;background-image:-linear-gradient(top, #d7bfac, #ccad93) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#d7bfac', endColorstr='#ccad93', GradientType=0) !important}.admin-color-ectoplasm .button.ui-datepicker-current,.admin-color-ectoplasm button.ui-datepicker-close{background-color:#a9bd4f !important}.admin-color-ectoplasm .ui-datepicker-buttonpane button.ui-datepicker-current{background:#89993a !important;color:white !important;border:1px solid #474f1e !important}.admin-color-ectoplasm .ui-datepicker-header .ui-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAADwCAMAAADYSUr5AAAA7VBMVEX8/vz8/vz8/vz8/vz8/vz8/vz8/vz8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ywOQUgRA7nmL1uawZmHf1k+DPBwQ6NdcJ+k6Md1LA5f5ONdhJ8vZ5J0vLHT99srkGOjmJbd/G1r2Nriqnse1AZt1AalU5jW2HsuuG0qvKGRkZGRkZGRG0gcONyXsP9v8D0/IdJADiBNiXl3327WRGgOL/9HC/0XwlIURkRhC4tz6Z/fu7fUf2gHvfB9z3u0BGRkZGRkbGplHcnkgguQoSqtUXuhbs/wPtMwqV0HUJAvj5vk32b8IDuL23yn7qAXZ5u32hbRX7d3o82Df1FZXvbh9QOfhyxldr/+3xgXU9oKmvsHyr7F/XA269/eveBXrsv7N9QALe/tvjA0kPWAXGbvebkbHn+D/J5nMcHzx1UAAAAABJRU5ErkJggg==) !important}.admin-color-ectoplasm .ui-datepicker-header{background-color:#413256 !important;color:white !important}.admin-color-ectoplasm .ui-datepicker td .ui-state-active{background-color:#a9bd4f !important;color:white !important}.admin-color-ectoplasm .ui-datepicker td .ui-state-hover{color:#a9bd4f !important}.admin-color-ectoplasm .ui-datepicker td .ui-state-highlight{background:#a3b745 !important;border:1px solid #413256 !important;color:white !important}.admin-color-ectoplasm .redux-container-switch .cb-disable,.admin-color-ectoplasm .redux-container-switch .cb-enable,.admin-color-ectoplasm .ui-state-default,.admin-color-ectoplasm .ui-widget-content .ui-state-default,.admin-color-ectoplasm .ui-widget-header .ui-state-default{background-color:#f5f5f5 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f5f5f5)) !important;background-image:-moz-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-ms-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #f8f8f8), color-stop(100%, #f5f5f5)) !important;background-image:-webkit-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-o-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-linear-gradient(top, #f8f8f8, #f5f5f5) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8', endColorstr='#f5f5f5', GradientType=0) !important;border-color:#ccc !important}.admin-color-ectoplasm .ui-datepicker td .ui-state-active{color:black !important;font-weight:700 !important;background:white !important}.admin-color-ectoplasm .redux-container-switch .cb-disable.selected{background-color:#646464 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#929292), to(#646464)) !important;background-image:-moz-linear-gradient(top, #929292, #646464) !important;background-image:-ms-linear-gradient(top, #929292, #646464) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #929292), color-stop(100%, #646464)) !important;background-image:-webkit-linear-gradient(top, #929292, #646464) !important;background-image:-o-linear-gradient(top, #929292, #646464) !important;background-image:-linear-gradient(top, #929292, #646464) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#929292', endColorstr='#646464', GradientType=0) !important;border-color:#767676 !important}.admin-color-ectoplasm .redux-container-switch .cb-enable.selected,.admin-color-ectoplasm .redux-field-container .ui-buttonset .ui-state-active{background-color:#a3b745 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#b0c25e), to(#a3b745)) !important;background-image:-moz-linear-gradient(top, #b0c25e, #a3b745) !important;background-image:-ms-linear-gradient(top, #b0c25e, #a3b745) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #b0c25e), color-stop(100%, #a3b745)) !important;background-image:-webkit-linear-gradient(top, #b0c25e, #a3b745) !important;background-image:-o-linear-gradient(top, #b0c25e, #a3b745) !important;background-image:-linear-gradient(top, #b0c25e, #a3b745) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#b0c25e', endColorstr='#a3b745', GradientType=0) !important;border-color:#727f30 !important;border-color:#829237 !important;-webkit-box-shadow:inset 0 1px 0 #bfcd7b,0 1px 0 rgba(0,0,0,0.15) !important;box-shadow:inset 0 1px 0 #bfcd7b,0 1px 0 rgba(0,0,0,0.15) !important}.admin-color-ectoplasm #redux-header{background:#413256;border-color:#a3b745}.admin-color-ectoplasm #redux-header .display_header span{color:#cbc5d3}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections a{position:relative}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:after{border:0 none !important;content:"\0020" !important}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.hasSubSections .redux-menu-error{display:none;margin-right:5px}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.hasSubSections a.hasError .extraIconSubsections{background-color:#b94a48;color:#f2dede}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.hasSubSections a .extraIconSubsections{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;border:0 solid transparent;font-size:9px;height:9px;line-height:9px;margin-right:5px;padding:6px 7px 4px 7px;width:5px}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active a .extraIconSubsections,.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild a .extraIconSubsections{display:none}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections .redux-menu-error,.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .redux-menu-error{display:block}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections .subsection .redux-menu-error,.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .subsection .redux-menu-error{margin-right:2px}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active,.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild{border-left:0 none}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active a,.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild a{color:#413256}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections .active a:after,.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .active a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections a,.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{-webkit-transition:all 0.2s;-moz-transition:all 0.2s;transition:all 0.2s;color:#fff;width:auto;border-bottom:0}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li,.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li{border-top:0 none !important}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.active a:hover,.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a:hover{color:#fff}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a,.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{width:auto;border-top:0 !important;padding:7px;color:#fff;padding-left:15px;-webkit-transition:all 0.2;-moz-transition:all 0.2;-ms-transition:all 0.2;-o-transition:all 0.2;transition:all 0.2}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:hover,.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a:hover{color:#89993a;background:#291f36}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a span.group_title,.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a span.group_title{padding-left:5px !important}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a,.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a{padding-left:14px}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a span.group_title,.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a span.group_title{padding-left:30px !important}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections a{background:#a3b745}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a{background:#413256}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{background:#cbc5d3;text-shadow:1px 1px #7d6e91}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{background:#413256;text-shadow:none}.admin-color-ectoplasm .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a{background:#a3b745;text-shadow:1px 1px #616d29}.admin-color-ectoplasm .redux-container-image_select .redux-image-select-selected img{border-color:#a3b745}.admin-color-ectoplasm #redux-footer #redux-share a{color:#a3b745}.admin-color-ectoplasm #redux-footer #redux-share a:hover{color:#616d29}.admin-color-ectoplasm .select2-results .select2-highlighted{background:#a3b745}.admin-color-ectoplasm .select2-drop-active,.admin-color-ectoplasm .select2-container-multi.select2-container-active .select2-choices,.admin-color-ectoplasm .select2-drop.select2-drop-above.select2-drop-active,.admin-color-ectoplasm .select2-container-active .select2-choice,.admin-color-ectoplasm .select2-container-active .select2-choices,.admin-color-ectoplasm .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-ectoplasm .select2-dropdown-open.select2-drop-above .select2-choices{border-color:#a3b745}.admin-color-ectoplasm .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-ectoplasm .select2-dropdown-open.select2-drop-above .select2-choices{border-top:inherit}.admin-color-ectoplasm .noUi-connect{background-color:#a9bd4f !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#b6c669), to(#a9bd4f)) !important;background-image:-moz-linear-gradient(top, #b6c669, #a9bd4f) !important;background-image:-ms-linear-gradient(top, #b6c669, #a9bd4f) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #b6c669), color-stop(100%, #a9bd4f)) !important;background-image:-webkit-linear-gradient(top, #b6c669, #a9bd4f) !important;background-image:-o-linear-gradient(top, #b6c669, #a9bd4f) !important;background-image:-linear-gradient(top, #b6c669, #a9bd4f) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#b6c669', endColorstr='#a9bd4f', GradientType=0) !important}.admin-color-midnight .button.ui-datepicker-current,.admin-color-midnight button.ui-datepicker-close{background-color:#e35950 !important}.admin-color-midnight .ui-datepicker-buttonpane button.ui-datepicker-current{background:#d92c23 !important;color:white !important;border:1px solid #811a15 !important}.admin-color-midnight .ui-datepicker-header .ui-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAADwCAMAAADYSUr5AAAA7VBMVEX8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vywC3+8AAAATnRSTlMAGBAyBAhQv4OZLiJUcEBmYBoSzQwgPBZCSEoeWiYwUiyFNIeBw2rJz8c4RBy9uXyrtaWNqa2zKP2fJO8KBgKPo2KVoa9s351GPm5+kWho0kj9AAAPhUlEQVR4nO1djWLbthEGyUiq5YSSLXtp7FpLOmfzkmxr126tmi2p03RJ1/Xe/3EGgARxPyAgRbIk2/hkSz4CJO4+HsE7AJSVysjI2AMUUOxahZ2iANhzBtZWr4BoIRSYAVN5u4QwDwQDRbcwfUi5KS3wFuDmFnQLa4Dtb//cqktwD5QEFFwfUs7PoCCA7y4bEJVFizcI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7qe3chA5YF5DfY0vK3adfOX/gyNp2BW25MHdxAB9qvRiiP3/XpQQFGYDU4+Mi///XumXG8pjvaUAOsBGlf4jJt+YYEzeEzAdw06F19R3juM7D1wita86GR0CKfDHgLuXCc4Bri6vMLdfjMc4VNSUNsdodo2xu/1+Xl/K5+az8jIyMhYG/z5gJTMF1GtKq/a3rpyCvz5gJTMl9GtKq/a3rpyCmfQ4WwZmS+kXFVetb115ST48wEf/AGcfG1iw+tWbpbS2vJ3nQxcVr3lH3z5h972FUTLzYpOVk7l5hD+eYcYwDcAnewOotrZ4OtrPDucqi/LRX0/RR4qx7Nn4U8g+qjffvuN6Gf+nC85vwauHjaYyubqvWYKY4VEfSUMitdnBCT1Ue63R5439m+OgCn6DroAAaHPVQxKth/wkJgHmG8bmQMsT0D6EjDfvhVRKO3ywOQUgRA7nmL1uawZmHf1k+DPBwQ6NdcJ+k6Md1LA5f5ONdhJ8vZ5J0vLHT99srkGOjmJbd/G1r2Nriqnse1AZt1AalU5jW2HsuuG0qvKGRkZGRkZGRG0gcONyXsP9v8D0/IdJADiBNiXl3327WRGgOL/9HC/0XwlIURkRhC4tz6Z/fu7fUf2gHvfB9z3u0BGRkZGRkbGplHcnkgguQoSqtUXuhbs/wPtMwqV0HUJAvj5vk32b8IDuL23yn7qAXZ5u32hbRX7d3o82Df1FZXvbh9QOfhyxldr/+3xgXU9oKmvsHyr7F/XA269/eveBXrsv7N9QALe/tvjA0kPWAXGbvebkbHn+D/J5nMcHzx1UAAAAABJRU5ErkJggg==) !important}.admin-color-midnight .ui-datepicker-header{background-color:#363b3f !important;color:white !important}.admin-color-midnight .ui-datepicker td .ui-state-active{background-color:#e35950 !important;color:white !important}.admin-color-midnight .ui-datepicker td .ui-state-hover{color:#e35950 !important}.admin-color-midnight .ui-datepicker td .ui-state-highlight{background:#e14d43 !important;border:1px solid #363b3f !important;color:white !important}.admin-color-midnight .redux-container-switch .cb-disable,.admin-color-midnight .redux-container-switch .cb-enable,.admin-color-midnight .ui-state-default,.admin-color-midnight .ui-widget-content .ui-state-default,.admin-color-midnight .ui-widget-header .ui-state-default{background-color:#f5f5f5 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f5f5f5)) !important;background-image:-moz-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-ms-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #f8f8f8), color-stop(100%, #f5f5f5)) !important;background-image:-webkit-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-o-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-linear-gradient(top, #f8f8f8, #f5f5f5) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8', endColorstr='#f5f5f5', GradientType=0) !important;border-color:#ccc !important}.admin-color-midnight .ui-datepicker td .ui-state-active{color:black !important;font-weight:700 !important;background:white !important}.admin-color-midnight .redux-container-switch .cb-disable.selected{background-color:#646464 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#929292), to(#646464)) !important;background-image:-moz-linear-gradient(top, #929292, #646464) !important;background-image:-ms-linear-gradient(top, #929292, #646464) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #929292), color-stop(100%, #646464)) !important;background-image:-webkit-linear-gradient(top, #929292, #646464) !important;background-image:-o-linear-gradient(top, #929292, #646464) !important;background-image:-linear-gradient(top, #929292, #646464) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#929292', endColorstr='#646464', GradientType=0) !important;border-color:#767676 !important}.admin-color-midnight .redux-container-switch .cb-enable.selected,.admin-color-midnight .redux-field-container .ui-buttonset .ui-state-active{background-color:#e14d43 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#e66a62), to(#e14d43)) !important;background-image:-moz-linear-gradient(top, #e66a62, #e14d43) !important;background-image:-ms-linear-gradient(top, #e66a62, #e14d43) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #e66a62), color-stop(100%, #e14d43)) !important;background-image:-webkit-linear-gradient(top, #e66a62, #e14d43) !important;background-image:-o-linear-gradient(top, #e66a62, #e14d43) !important;background-image:-linear-gradient(top, #e66a62, #e14d43) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e66a62', endColorstr='#e14d43', GradientType=0) !important;border-color:#ba281e !important;border-color:#d02c21 !important;-webkit-box-shadow:inset 0 1px 0 #ec8b85,0 1px 0 rgba(0,0,0,0.15) !important;box-shadow:inset 0 1px 0 #ec8b85,0 1px 0 rgba(0,0,0,0.15) !important}.admin-color-midnight #redux-header{background:#363b3f;border-color:#e14d43}.admin-color-midnight #redux-header .display_header span{color:#c2c4c5}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections a{position:relative}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:after{border:0 none !important;content:"\0020" !important}.admin-color-midnight .redux-sidebar .redux-group-menu li.hasSubSections .redux-menu-error{display:none;margin-right:5px}.admin-color-midnight .redux-sidebar .redux-group-menu li.hasSubSections a.hasError .extraIconSubsections{background-color:#b94a48;color:#f2dede}.admin-color-midnight .redux-sidebar .redux-group-menu li.hasSubSections a .extraIconSubsections{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;border:0 solid transparent;font-size:9px;height:9px;line-height:9px;margin-right:5px;padding:6px 7px 4px 7px;width:5px}.admin-color-midnight .redux-sidebar .redux-group-menu li.active a .extraIconSubsections,.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild a .extraIconSubsections{display:none}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections .redux-menu-error,.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .redux-menu-error{display:block}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections .subsection .redux-menu-error,.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .subsection .redux-menu-error{margin-right:2px}.admin-color-midnight .redux-sidebar .redux-group-menu li.active,.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild{border-left:0 none}.admin-color-midnight .redux-sidebar .redux-group-menu li.active a,.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild a{color:#363b3f}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections .active a:after,.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .active a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections a,.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{-webkit-transition:all 0.2s;-moz-transition:all 0.2s;transition:all 0.2s;color:#fff;width:auto;border-bottom:0}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li,.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li{border-top:0 none !important}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.active a:hover,.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a:hover{color:#fff}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a,.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{width:auto;border-top:0 !important;padding:7px;color:#fff;padding-left:15px;-webkit-transition:all 0.2;-moz-transition:all 0.2;-ms-transition:all 0.2;-o-transition:all 0.2;transition:all 0.2}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:hover,.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a:hover{color:#d92c23;background:#1e2124}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a span.group_title,.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a span.group_title{padding-left:5px !important}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a,.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a{padding-left:14px}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a span.group_title,.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a span.group_title{padding-left:30px !important}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections a{background:#e14d43}.admin-color-midnight .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a{background:#363b3f}.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{background:#c2c4c5;text-shadow:1px 1px #74787a}.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{background:#363b3f;text-shadow:none}.admin-color-midnight .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a{background:#e14d43;text-shadow:1px 1px #a4231a}.admin-color-midnight .redux-container-image_select .redux-image-select-selected img{border-color:#e14d43}.admin-color-midnight #redux-footer #redux-share a{color:#e14d43}.admin-color-midnight #redux-footer #redux-share a:hover{color:#a4231a}.admin-color-midnight .select2-results .select2-highlighted{background:#e14d43}.admin-color-midnight .select2-drop-active,.admin-color-midnight .select2-container-multi.select2-container-active .select2-choices,.admin-color-midnight .select2-drop.select2-drop-above.select2-drop-active,.admin-color-midnight .select2-container-active .select2-choice,.admin-color-midnight .select2-container-active .select2-choices,.admin-color-midnight .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-midnight .select2-dropdown-open.select2-drop-above .select2-choices{border-color:#e14d43}.admin-color-midnight .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-midnight .select2-dropdown-open.select2-drop-above .select2-choices{border-top:inherit}.admin-color-midnight .noUi-connect{background-color:#e35950 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#e8776f), to(#e35950)) !important;background-image:-moz-linear-gradient(top, #e8776f, #e35950) !important;background-image:-ms-linear-gradient(top, #e8776f, #e35950) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #e8776f), color-stop(100%, #e35950)) !important;background-image:-webkit-linear-gradient(top, #e8776f, #e35950) !important;background-image:-o-linear-gradient(top, #e8776f, #e35950) !important;background-image:-linear-gradient(top, #e8776f, #e35950) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e8776f', endColorstr='#e35950', GradientType=0) !important}.admin-color-ocean .button.ui-datepicker-current,.admin-color-ocean button.ui-datepicker-close{background-color:#a7c0a9 !important}.admin-color-ocean .ui-datepicker-buttonpane button.ui-datepicker-current{background:#86a988 !important;color:white !important;border:1px solid #547555 !important}.admin-color-ocean .ui-datepicker-header .ui-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAADwCAMAAADYSUr5AAAA7VBMVEX8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vywC3+8AAAATnRSTlMAGBAyBAhQv4OZLiJUcEBmYBoSzQwgPBZCSEoeWiYwUiyFNIeBw2rJz8c4RBy9uXyrtaWNqa2zKP2fJO8KBgKPo2KVoa9s351GPm5+kWho0kj9AAAP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Xb4o1XSfoywzm0FTMAoYBNvLyFu8v8HpLBtD1iKgC17wHb7AI6d9wFbvguAIGTHd4E9wG7jgIyMjIyM+434c2R3HeV/Ffx6jtZu6ijl8h59T655jhR+rdHzDOP6beABCheb8O8/WFXeOyzgf5oAhVYnKxP7CwaAf1afJu8bSrhS6tdaXeGnrRenOqOlz9d6QwYnA/3TLd+GE7qe3chA5YF5DfY0vK3adfOX/gyNp2BW25MHdxAB9qvRiiP3/XpQQFGYDU4+Mi///XumXG8pjvaUAOsBGlf4jJt+YYEzeEzAdw06F19R3juM7D1wita86GR0CKfDHgLuXCc4Bri6vMLdfjMc4VNSUNsdodo2xu/1+Xl/K5+az8jIyMhYG/z5gJTMF1GtKq/a3rpyCvz5gJTMl9GtKq/a3rpyCmfQ4WwZmS+kXFVetb115ST48wEf/AGcfG1iw+tWbpbS2vJ3nQxcVr3lH3z5h972FUTLzYpOVk7l5hD+eYcYwDcAnewOotrZ4OtrPDucqi/LRX0/RR4qx7Nn4U8g+qjffvuN6Gf+nC85vwauHjaYyubqvWYKY4VEfSUMitdnBCT1Ue63R5439m+OgCn6DroAAaHPVQxKth/wkJgHmG8bmQMsT0D6EjDfvhVRKO3ywOQUgRA7nmL1uawZmHf1k+DPBwQ6NdcJ+k6Md1LA5f5ONdhJ8vZ5J0vLHT99srkGOjmJbd/G1r2Nriqnse1AZt1AalU5jW2HsuuG0qvKGRkZGRkZGRG0gcONyXsP9v8D0/IdJADiBNiXl3327WRGgOL/9HC/0XwlIURkRhC4tz6Z/fu7fUf2gHvfB9z3u0BGRkZGRkbGplHcnkgguQoSqtUXuhbs/wPtMwqV0HUJAvj5vk32b8IDuL23yn7qAXZ5u32hbRX7d3o82Df1FZXvbh9QOfhyxldr/+3xgXU9oKmvsHyr7F/XA269/eveBXrsv7N9QALe/tvjA0kPWAXGbvebkbHn+D/J5nMcHzx1UAAAAABJRU5ErkJggg==) !important}.admin-color-ocean .ui-datepicker-header{background-color:#627c83 !important;color:white !important}.admin-color-ocean .ui-datepicker td .ui-state-active{background-color:#a7c0a9 !important;color:white !important}.admin-color-ocean .ui-datepicker td .ui-state-hover{color:#a7c0a9 !important}.admin-color-ocean .ui-datepicker td .ui-state-highlight{background:#9ebaa0 !important;border:1px solid #627c83 !important;color:white !important}.admin-color-ocean .redux-container-switch .cb-disable,.admin-color-ocean .redux-container-switch .cb-enable,.admin-color-ocean .ui-state-default,.admin-color-ocean .ui-widget-content .ui-state-default,.admin-color-ocean .ui-widget-header .ui-state-default{background-color:#f5f5f5 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f5f5f5)) !important;background-image:-moz-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-ms-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #f8f8f8), color-stop(100%, #f5f5f5)) !important;background-image:-webkit-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-o-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-linear-gradient(top, #f8f8f8, #f5f5f5) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8', endColorstr='#f5f5f5', GradientType=0) !important;border-color:#ccc !important}.admin-color-ocean .ui-datepicker td .ui-state-active{color:black !important;font-weight:700 !important;background:white !important}.admin-color-ocean .redux-container-switch .cb-disable.selected{background-color:#646464 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#929292), to(#646464)) !important;background-image:-moz-linear-gradient(top, #929292, #646464) !important;background-image:-ms-linear-gradient(top, #929292, #646464) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #929292), color-stop(100%, #646464)) !important;background-image:-webkit-linear-gradient(top, #929292, #646464) !important;background-image:-o-linear-gradient(top, #929292, #646464) !important;background-image:-linear-gradient(top, #929292, #646464) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#929292', endColorstr='#646464', GradientType=0) !important;border-color:#767676 !important}.admin-color-ocean .redux-container-switch .cb-enable.selected,.admin-color-ocean .redux-field-container .ui-buttonset .ui-state-active{background-color:#9ebaa0 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#b3c9b4), to(#9ebaa0)) !important;background-image:-moz-linear-gradient(top, #b3c9b4, #9ebaa0) !important;background-image:-ms-linear-gradient(top, #b3c9b4, #9ebaa0) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #b3c9b4), color-stop(100%, #9ebaa0)) !important;background-image:-webkit-linear-gradient(top, #b3c9b4, #9ebaa0) !important;background-image:-o-linear-gradient(top, #b3c9b4, #9ebaa0) !important;background-image:-linear-gradient(top, #b3c9b4, #9ebaa0) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#b3c9b4', endColorstr='#9ebaa0', GradientType=0) !important;border-color:#719a74 !important;border-color:#80a583 !important;-webkit-box-shadow:inset 0 1px 0 #cbdacc,0 1px 0 rgba(0,0,0,0.15) !important;box-shadow:inset 0 1px 0 #cbdacc,0 1px 0 rgba(0,0,0,0.15) !important}.admin-color-ocean #redux-header{background:#627c83;border-color:#9ebaa0}.admin-color-ocean #redux-header .display_header span{color:#d5dddf}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections a{position:relative}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:after{border:0 none !important;content:"\0020" !important}.admin-color-ocean .redux-sidebar .redux-group-menu li.hasSubSections .redux-menu-error{display:none;margin-right:5px}.admin-color-ocean .redux-sidebar .redux-group-menu li.hasSubSections a.hasError .extraIconSubsections{background-color:#b94a48;color:#f2dede}.admin-color-ocean .redux-sidebar .redux-group-menu li.hasSubSections a .extraIconSubsections{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;border:0 solid transparent;font-size:9px;height:9px;line-height:9px;margin-right:5px;padding:6px 7px 4px 7px;width:5px}.admin-color-ocean .redux-sidebar .redux-group-menu li.active a .extraIconSubsections,.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild a .extraIconSubsections{display:none}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections .redux-menu-error,.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .redux-menu-error{display:block}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections .subsection .redux-menu-error,.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .subsection .redux-menu-error{margin-right:2px}.admin-color-ocean .redux-sidebar .redux-group-menu li.active,.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild{border-left:0 none}.admin-color-ocean .redux-sidebar .redux-group-menu li.active a,.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild a{color:#627c83}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections .active a:after,.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .active a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections a,.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{-webkit-transition:all 0.2s;-moz-transition:all 0.2s;transition:all 0.2s;color:#fff;width:auto;border-bottom:0}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li,.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li{border-top:0 none !important}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.active a:hover,.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a:hover{color:#fff}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a,.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{width:auto;border-top:0 !important;padding:7px;color:#fff;padding-left:15px;-webkit-transition:all 0.2;-moz-transition:all 0.2;-ms-transition:all 0.2;-o-transition:all 0.2;transition:all 0.2}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:hover,.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a:hover{color:#86a988;background:#4c6066}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a span.group_title,.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a span.group_title{padding-left:5px !important}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a,.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a{padding-left:14px}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a span.group_title,.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a span.group_title{padding-left:30px !important}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections a{background:#9ebaa0}.admin-color-ocean .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a{background:#627c83}.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{background:#d5dddf;text-shadow:1px 1px #7e979d}.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{background:#627c83;text-shadow:none}.admin-color-ocean .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a{background:#9ebaa0;text-shadow:1px 1px #658d68}.admin-color-ocean .redux-container-image_select .redux-image-select-selected img{border-color:#9ebaa0}.admin-color-ocean #redux-footer #redux-share a{color:#9ebaa0}.admin-color-ocean #redux-footer #redux-share a:hover{color:#658d68}.admin-color-ocean .select2-results .select2-highlighted{background:#9ebaa0}.admin-color-ocean .select2-drop-active,.admin-color-ocean .select2-container-multi.select2-container-active .select2-choices,.admin-color-ocean .select2-drop.select2-drop-above.select2-drop-active,.admin-color-ocean .select2-container-active .select2-choice,.admin-color-ocean .select2-container-active .select2-choices,.admin-color-ocean .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-ocean .select2-dropdown-open.select2-drop-above .select2-choices{border-color:#9ebaa0}.admin-color-ocean .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-ocean .select2-dropdown-open.select2-drop-above .select2-choices{border-top:inherit}.admin-color-ocean .noUi-connect{background-color:#a7c0a9 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#bccfbd), to(#a7c0a9)) !important;background-image:-moz-linear-gradient(top, #bccfbd, #a7c0a9) !important;background-image:-ms-linear-gradient(top, #bccfbd, #a7c0a9) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #bccfbd), color-stop(100%, #a7c0a9)) !important;background-image:-webkit-linear-gradient(top, #bccfbd, #a7c0a9) !important;background-image:-o-linear-gradient(top, #bccfbd, #a7c0a9) !important;background-image:-linear-gradient(top, #bccfbd, #a7c0a9) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#bccfbd', endColorstr='#a7c0a9', GradientType=0) !important}.admin-color-sunrise .button.ui-datepicker-current,.admin-color-sunrise button.ui-datepicker-close{background-color:#df8a48 !important}.admin-color-sunrise .ui-datepicker-buttonpane button.ui-datepicker-current{background:#cc6c23 !important;color:white !important;border:1px solid #753e14 !important}.admin-color-sunrise .ui-datepicker-header .ui-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAADwCAMAAADYSUr5AAAA7VBMVEX8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8/vz8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ADiBNiXl3327WRGgOL/9HC/0XwlIURkRhC4tz6Z/fu7fUf2gHvfB9z3u0BGRkZGRkbGplHcnkgguQoSqtUXuhbs/wPtMwqV0HUJAvj5vk32b8IDuL23yn7qAXZ5u32hbRX7d3o82Df1FZXvbh9QOfhyxldr/+3xgXU9oKmvsHyr7F/XA269/eveBXrsv7N9QALe/tvjA0kPWAXGbvebkbHn+D/J5nMcHzx1UAAAAABJRU5ErkJggg==) !important}.admin-color-sunrise .ui-datepicker-header{background-color:#b43c38 !important;color:white !important}.admin-color-sunrise .ui-datepicker td .ui-state-active{background-color:#df8a48 !important;color:white !important}.admin-color-sunrise .ui-datepicker td .ui-state-hover{color:#df8a48 !important}.admin-color-sunrise .ui-datepicker td .ui-state-highlight{background:#dd823b !important;border:1px solid #b43c38 !important;color:white !important}.admin-color-sunrise .redux-container-switch .cb-disable,.admin-color-sunrise .redux-container-switch .cb-enable,.admin-color-sunrise .ui-state-default,.admin-color-sunrise .ui-widget-content .ui-state-default,.admin-color-sunrise .ui-widget-header .ui-state-default{background-color:#f5f5f5 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f5f5f5)) !important;background-image:-moz-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-ms-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #f8f8f8), color-stop(100%, #f5f5f5)) !important;background-image:-webkit-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-o-linear-gradient(top, #f8f8f8, #f5f5f5) !important;background-image:-linear-gradient(top, #f8f8f8, #f5f5f5) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8', endColorstr='#f5f5f5', GradientType=0) !important;border-color:#ccc !important}.admin-color-sunrise .ui-datepicker td .ui-state-active{color:black !important;font-weight:700 !important;background:white !important}.admin-color-sunrise .redux-container-switch .cb-disable.selected{background-color:#646464 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#929292), to(#646464)) !important;background-image:-moz-linear-gradient(top, #929292, #646464) !important;background-image:-ms-linear-gradient(top, #929292, #646464) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #929292), color-stop(100%, #646464)) !important;background-image:-webkit-linear-gradient(top, #929292, #646464) !important;background-image:-o-linear-gradient(top, #929292, #646464) !important;background-image:-linear-gradient(top, #929292, #646464) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#929292', endColorstr='#646464', GradientType=0) !important;border-color:#767676 !important}.admin-color-sunrise .redux-container-switch .cb-enable.selected,.admin-color-sunrise .redux-field-container .ui-buttonset .ui-state-active{background-color:#dd823b !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#e29559), to(#dd823b)) !important;background-image:-moz-linear-gradient(top, #e29559, #dd823b) !important;background-image:-ms-linear-gradient(top, #e29559, #dd823b) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #e29559), color-stop(100%, #dd823b)) !important;background-image:-webkit-linear-gradient(top, #e29559, #dd823b) !important;background-image:-o-linear-gradient(top, #e29559, #dd823b) !important;background-image:-linear-gradient(top, #e29559, #dd823b) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e29559', endColorstr='#dd823b', GradientType=0) !important;border-color:#ad5d1e !important;border-color:#c36922 !important;-webkit-box-shadow:inset 0 1px 0 #e8ac7c,0 1px 0 rgba(0,0,0,0.15) !important;box-shadow:inset 0 1px 0 #e8ac7c,0 1px 0 rgba(0,0,0,0.15) !important}.admin-color-sunrise #redux-header{background:#b43c38;border-color:#dd823b}.admin-color-sunrise #redux-header .display_header span{color:#f0c8c6}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections a{position:relative}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:after{border:0 none !important;content:"\0020" !important}.admin-color-sunrise .redux-sidebar .redux-group-menu li.hasSubSections .redux-menu-error{display:none;margin-right:5px}.admin-color-sunrise .redux-sidebar .redux-group-menu li.hasSubSections a.hasError .extraIconSubsections{background-color:#b94a48;color:#f2dede}.admin-color-sunrise .redux-sidebar .redux-group-menu li.hasSubSections a .extraIconSubsections{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;border:0 solid transparent;font-size:9px;height:9px;line-height:9px;margin-right:5px;padding:6px 7px 4px 7px;width:5px}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active a .extraIconSubsections,.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild a .extraIconSubsections{display:none}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections .redux-menu-error,.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .redux-menu-error{display:block}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections .subsection .redux-menu-error,.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .subsection .redux-menu-error{margin-right:2px}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active,.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild{border-left:0 none}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active a,.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild a{color:#b43c38}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections .active a:after,.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .active a:after{right:0;border:solid 8px transparent;content:"\0020";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#fff;top:50%;margin-top:-8px}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections a,.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{-webkit-transition:all 0.2s;-moz-transition:all 0.2s;transition:all 0.2s;color:#fff;width:auto;border-bottom:0}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li,.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li{border-top:0 none !important}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.active a:hover,.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a:hover{color:#fff}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a,.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{width:auto;border-top:0 !important;padding:7px;color:#fff;padding-left:15px;-webkit-transition:all 0.2;-moz-transition:all 0.2;-ms-transition:all 0.2;-o-transition:all 0.2;transition:all 0.2}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:hover,.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a:hover{color:#cc6c23;background:#8d2f2c}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a span.group_title,.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a span.group_title{padding-left:5px !important}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a,.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a{padding-left:14px}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li.hasIcon a span.group_title,.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.hasIcon a span.group_title{padding-left:30px !important}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections a{background:#dd823b}.admin-color-sunrise .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a{background:#b43c38}.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{background:#f0c8c6;text-shadow:1px 1px #d0534d}.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{background:#b43c38;text-shadow:none}.admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a{background:#dd823b;text-shadow:1px 1px #98511a}.admin-color-sunrise .redux-container-image_select .redux-image-select-selected img{border-color:#dd823b}.admin-color-sunrise #redux-footer #redux-share a{color:#dd823b}.admin-color-sunrise #redux-footer #redux-share a:hover{color:#98511a}.admin-color-sunrise .select2-results .select2-highlighted{background:#dd823b}.admin-color-sunrise .select2-drop-active,.admin-color-sunrise .select2-container-multi.select2-container-active .select2-choices,.admin-color-sunrise .select2-drop.select2-drop-above.select2-drop-active,.admin-color-sunrise .select2-container-active .select2-choice,.admin-color-sunrise .select2-container-active .select2-choices,.admin-color-sunrise .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-sunrise .select2-dropdown-open.select2-drop-above .select2-choices{border-color:#dd823b}.admin-color-sunrise .select2-dropdown-open.select2-drop-above .select2-choice,.admin-color-sunrise .select2-dropdown-open.select2-drop-above .select2-choices{border-top:inherit}.admin-color-sunrise .noUi-connect{background-color:#df8a48 !important;background-image:-khtml-gradient(linear, left top, left bottom, from(#e59e66), to(#df8a48)) !important;background-image:-moz-linear-gradient(top, #e59e66, #df8a48) !important;background-image:-ms-linear-gradient(top, #e59e66, #df8a48) !important;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #e59e66), color-stop(100%, #df8a48)) !important;background-image:-webkit-linear-gradient(top, #e59e66, #df8a48) !important;background-image:-o-linear-gradient(top, #e59e66, #df8a48) !important;background-image:-linear-gradient(top, #e59e66, #df8a48) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e59e66', endColorstr='#df8a48', GradientType=0) !important}@media screen and (max-width: 600px){.redux-group-tab-link-a{min-height:15px}.redux-group-tab-link-a span{padding:11px 12px;color:#555;-webkit-transition:all 0.3s;-moz-transition:all 0.3s;transition:all 0.3s;text-shadow:none !important}.redux-group-tab-link-a span:hover{background:#e5e5e5}}@media screen and (max-width: 782px){#redux-footer #redux-share{line-height:38px;font-size:18px}.sticky-save-warn .redux-save-warn{right:13px;top:46px}.redux-container .expand_options{margin-top:5px}.redux-action_bar input{margin-bottom:0 !important}}@media screen and (max-width: 600px){#redux-footer #redux-share,.redux-hint-qtip{display:none}.redux-container .redux-action_bar{float:none}}.redux-sidebar .icon-large,.redux-main .icon-large{background-image:inherit !important;width:inherit;height:inherit}.redux-main dd,.redux-main li,.redux-sidebar li{margin-bottom:0 !important}.fully-expanded .redux-sidebar{margin-left:-500px}.fully-expanded .redux-main{margin-left:0}.fully-expanded .redux-group-tab{display:block}@media screen and (max-width: 640px){#redux-defaults-section{display:none}}@media screen and (max-width: 730px){#redux-share{display:none}}@media screen and (max-width: 730px){#redux-defaults-section2{display:none}#redux-share{display:none}}@media screen and (max-width: 600px){.form-table>tbody>tr>th{padding-bottom:0 !important}.redux_field_th{padding-top:0;padding-bottom:0}.redux-main .redux-field-container{padding-top:0;padding-bottom:0}.redux-main .subsection a{min-height:15px}}@media screen and (min-width: 601px) and (max-width: 782px){.redux-container .sticky-save-warn .redux-save-warn{top:47px !important;right:13px !important}}@media screen and (max-width: 782px){.redux-main .form-table-section-indented input[type=text]{width:95% !important}.redux-main .redux-container-sortable input[type=text]{width:80%;display:initial}.redux-main .redux-typography-container .input_wrapper input.mini{font-size:16px !important;height:40px !important;padding:7px 10px !important;line-height:24px !important}.redux-main .redux-typography-container .picker-wrapper label{margin-top:16px !important}.redux-main .input-append{height:50px !important}.redux-main .input-append .add-on{font-size:16px;line-height:24px !important;padding:7px;height:32px !important;float:right;margin-top:-40px}.redux-main .redux-hint-qtip{float:left !important}.redux-main .redux-action_bar .button{margin-top:-1px}}@media screen and (max-width: 600px){.sticky-save-warn .redux-save-warn{top:0 !important;right:14px !important}}@media screen and (max-width: 570px){.redux-main .redux-container-sortable .checkbox-container{width:85%;padding-bottom:5px}.redux-main .redux-container-sortable .checkbox-container label{display:initial}}#redux-header{position:relative}.redux-main{position:relative}.redux-main #redux-sticky{min-height:32px;margin-left:-16px;margin-right:-20px;margin-top:-10px;}.redux-main #redux-sticky #info_bar{height:32px}.redux-main #redux-sticky #info_bar .expand_options{margin-top:0px}.redux-main .redux_field_search{top:50px;right:5px
|
65 |
border-radius: 8px;
|
66 |
padding: 6px 15px 5px 13px;
|
67 |
position: relative;
|
74 |
/* custom css */
|
75 |
.redux-container{
|
76 |
position: relative;
|
77 |
+
background: #f5f6fa;
|
78 |
+
max-width: 1300px;
|
79 |
border-radius: 3px;
|
80 |
+
margin-right: 20px;}
|
81 |
#redux-intro-text{
|
82 |
position: absolute;
|
83 |
right: 0;
|
87 |
text-decoration: none
|
88 |
}
|
89 |
.admin-color-fresh #redux-header, .wp-customizer #redux-header{
|
90 |
+
background: #fff
|
91 |
}
|
92 |
.redux-container #redux-header{
|
93 |
+
border-radius: 3px 3px 0px 0px;
|
94 |
+
border-bottom: 1px solid #f0f1f2;
|
95 |
}
|
96 |
.redux-container #redux-header .display_header{
|
97 |
margin: 0 14px
|
98 |
}
|
99 |
.redux-container #redux-header .display_header .redux-dev-mode-notice-container{
|
100 |
position: relative;
|
101 |
+
display: none;
|
102 |
top: 0;
|
103 |
float: right;
|
104 |
left: 20px;
|
125 |
color: #eee;
|
126 |
font-size: 10px
|
127 |
}
|
|
|
|
|
|
|
128 |
.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections a, .wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections a{
|
129 |
+
background: rgb(245, 246, 250);
|
130 |
+
color: #000;}
|
131 |
.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a, .wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a{
|
132 |
+
background: #fff;
|
133 |
+
text-shadow:none;
|
134 |
+
color: #333;}
|
135 |
.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a, .wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a{
|
136 |
background: #fff;
|
137 |
+
text-shadow: none !important;transition: 0s;
|
138 |
color: #444
|
139 |
}
|
140 |
.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a, .wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a{
|
141 |
+
background: #fff; transition: 0s;
|
142 |
text-shadow: none !important;
|
143 |
color: #444
|
144 |
}
|
145 |
.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:hover, .admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a:hover, .wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections ul.subsection li a:hover, .wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li a:hover{
|
146 |
+
background: #ee1e25;
|
147 |
+
color: #fff !important;
|
148 |
+
background: linear-gradient(to right,#eb3349,#f45c43);}
|
149 |
.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a, .wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a{
|
150 |
+
background: #222;
|
151 |
+
color: #fff !important;border: 0px !important
|
152 |
}
|
153 |
.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections .active a:after, .admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .active a:after, .wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections .active a:after, .wp-customizer .redux-sidebar .redux-group-menu li.activeChild.hasSubSections .active a:after,
|
154 |
.admin-color-fresh .redux-sidebar .redux-group-menu li.active.hasSubSections a:after, .wp-customizer .redux-sidebar .redux-group-menu li.active.hasSubSections a:after{
|
161 |
background: #4452a7;
|
162 |
text-shadow: none;
|
163 |
border: 0;
|
164 |
+
border-radius: 6px;
|
165 |
box-shadow: none;
|
166 |
+
padding: 12px 18px 26px 18px;
|
167 |
line-height: 1;
|
168 |
margin-left: 5px;
|
169 |
transition: all 100ms;
|
170 |
}
|
171 |
+
#redux_save{
|
172 |
+
font-weight: bold;
|
173 |
+
box-shadow: 1px 1px 7px 0px #00000036;
|
174 |
+
}
|
175 |
#redux_save:hover{
|
176 |
+
background: #13a315;
|
177 |
}
|
178 |
#redux-defaults-section,
|
179 |
#redux-defaults {
|
180 |
background: #f2f2f2;
|
181 |
+
color: #999;
|
182 |
+
border: 1px solid #f6f6fa;
|
183 |
+
|
184 |
}
|
185 |
#redux-defaults-section:hover,
|
186 |
#redux-defaults:hover {
|
187 |
+
border: 1px solid #e8e7e8;
|
188 |
+
background: #f4f4f4;
|
189 |
color: #555
|
190 |
}
|
191 |
|
238 |
.ampforwp-ad-img-banner{
|
239 |
width: 560px;
|
240 |
height: 99px !important;
|
241 |
+
margin-bottom: -17px;
|
242 |
}
|
243 |
.ampforwp-extension-ad-img-banner{
|
244 |
width: 345px;
|
255 |
.redux-main .form-table-section-indented{
|
256 |
margin-left: 0 !important
|
257 |
}
|
258 |
+
.redux-main .form-table-section:hover .redux_field_th{
|
259 |
+
color: #000;
|
260 |
+
}
|
261 |
#info-info_normal{border: 0;background: 0;box-shadow: none;}
|
262 |
.redux-sidebar .redux-group-menu li a{opacity: 1}
|
263 |
/*extension listing*/
|
287 |
float: right;}
|
288 |
.extension_listing ul{display:flex;flex-flow: row wrap;}
|
289 |
.extension_listing li{
|
290 |
+
float:left;padding-bottom: 20px;
|
291 |
+
}
|
292 |
+
.amp_extension_settings{
|
293 |
+
background: #303e9f;
|
294 |
+
text-decoration: none;
|
295 |
+
color: #fff;
|
296 |
+
padding: 6px 10px 8px 10px;
|
297 |
+
right: 0;
|
298 |
+
border-radius: 40px;
|
299 |
}
|
300 |
.extension_listing li{
|
301 |
background: #ffffff;
|
349 |
.single_ex_listing .extension_btn{opacity: 0.75}
|
350 |
#info-info_theme_framework{
|
351 |
position: absolute;
|
352 |
+
top: 105px;
|
353 |
right: 20px;
|
354 |
width: 199px;
|
355 |
}
|
363 |
.ampforwp-new-element {
|
364 |
position: relative;
|
365 |
}
|
366 |
+
.subsection .ampforwp-new-element:after { content: "new";
|
367 |
+
font-size: 9px;
|
368 |
+
position: absolute;
|
369 |
+
right: 7px;
|
370 |
+
top: 7px;
|
371 |
+
color: #fff;
|
372 |
+
background: #607D8B;
|
373 |
+
text-transform: uppercase;
|
374 |
+
border-radius: 47px;
|
375 |
+
padding: 1px 5px 0px 6px;}
|
376 |
+
.redux-main .upload_button_div{
|
377 |
+
left: 8px; top: -2px;
|
378 |
+
position: relative;
|
379 |
+
float: left;}
|
380 |
+
.redux-container .redux-sidebar ul li a{
|
381 |
+
text-transform: uppercase;
|
382 |
+
font-size: 14px;
|
383 |
+
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif !important;
|
384 |
+
margin-bottom: 0px;
|
385 |
+
text-shadow: none;
|
386 |
+
font-size: 14px;
|
387 |
+
line-height: 1.46154;
|
388 |
+
font-weight: 700;
|
389 |
+
letter-spacing: -0.08px;
|
390 |
+
text-transform: uppercase;
|
391 |
+
color: #fff;
|
392 |
+
-webkit-font-smoothing: antialiased;
|
393 |
+
-moz-osx-font-smoothing: grayscale;
|
394 |
+
color: #333;
|
395 |
+
-ms-interpolation-mode: nearest-neighbor;
|
396 |
+
image-rendering: optimizeQuality;
|
397 |
+
text-rendering: optimizeLegibility;}
|
398 |
+
.redux-container .redux-sidebar ul li ul li a{
|
399 |
+
font-size: 14px;
|
400 |
+
text-transform: none;
|
401 |
+
font-weight: normal;
|
402 |
+
color: #000 !important;
|
403 |
+
font-size: 13px;
|
404 |
+
padding: 7px 8px 7px 15px;
|
405 |
+
font-weight: 500;
|
406 |
+
}
|
407 |
+
.redux-group-menu .basic .el+.group_title:after{
|
408 |
+
content: "Setup AMP Features";
|
409 |
+
display: inline-block;
|
410 |
+
font-size: 10px;
|
411 |
+
text-transform: none;
|
412 |
+
width: 100%;
|
413 |
+
font-weight: normal;
|
414 |
+
}
|
415 |
+
.redux-group-menu .design .el+.group_title:after{
|
416 |
+
|
417 |
+
content: "Customize Look & Feel";
|
418 |
+
display: inline-block;
|
419 |
+
font-size: 10px;
|
420 |
+
text-transform: none;
|
421 |
+
width: 100%;
|
422 |
+
font-weight: normal;
|
423 |
+
}
|
424 |
+
.redux-group-menu .opt-go-premium .el+.group_title:after{
|
425 |
+
content: "Advanced Features";
|
426 |
+
display: inline-block;
|
427 |
+
font-size: 10px;
|
428 |
+
text-transform: none;
|
429 |
+
width: 100%;
|
430 |
+
font-weight: normal;
|
431 |
+
}
|
432 |
+
.admin-color-fresh .redux-sidebar .redux-group-menu li.active > a.redux-group-tab-link-a,
|
433 |
+
.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild > a.redux-group-tab-link-a{
|
434 |
+
border-left: 3px solid #ed1d24 !important;
|
435 |
+
background: #f5f6fa;}
|
436 |
+
.admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild > a.redux-group-tab-link-a:before{
|
437 |
+
content: "";
|
438 |
+
width: 0;
|
439 |
+
height: 0;
|
440 |
+
border-style: solid;
|
441 |
+
border-width: 0 10px 10px 10px;
|
442 |
+
border-color: transparent transparent #ffffff transparent;
|
443 |
+
position: absolute;
|
444 |
+
right: 16px;
|
445 |
+
bottom: -1px;}
|
446 |
+
.admin-color-fresh .redux-sidebar .redux-group-menu .opt-go-premium+.active > a{
|
447 |
+
border-bottom: 1px solid #E7E7E7 !important
|
448 |
+
}
|
449 |
+
/*fold*/
|
450 |
+
.redux-main .form-table tr{
|
451 |
+
border-top: 1px solid #f3f3f3;
|
452 |
+
}
|
453 |
+
.redux-main .form-table tr + .child_opt{
|
454 |
+
border: 0px;
|
455 |
+
}
|
456 |
+
.redux-main .child_opt th, .redux-main .child_opt td {
|
457 |
+
padding: 0px 5px 0px 18px !important;
|
458 |
+
}
|
459 |
+
|
460 |
+
.redux-main .form-table tr th, .redux-main .form-table tr td {
|
461 |
+
color: #333;
|
462 |
+
}
|
463 |
+
.redux-main .child_opt td, .redux-main .child_opt th{
|
464 |
+
padding: 10px 18px;
|
465 |
+
margin: 0;
|
466 |
+
line-height: 0;
|
467 |
+
}
|
468 |
+
.redux-main .child_opt fieldset{
|
469 |
+
padding: 10px 10px 10px 0px;
|
470 |
+
}
|
471 |
+
.child_opt .redux_field_th, .child_opt .redux_field_td{
|
472 |
+
font-size: 14px;
|
473 |
+
}
|
474 |
+
.redux_field_th {
|
475 |
+
font-weight: normal;
|
476 |
+
padding: 24px 0px 23px 0px;
|
477 |
+
display: block;
|
478 |
+
font-size: 16px;
|
479 |
+
color: #333;
|
480 |
+
}
|
481 |
+
.redux-main .form-table tr + .child_opt>.redux_feild_th:before{
|
482 |
+
content: "test";
|
483 |
+
background: red;
|
484 |
+
position: absolute
|
485 |
+
}
|
486 |
+
.redux-main .form-table tr + .child_opt:first-child{
|
487 |
+
padding: 10px !important
|
488 |
+
}
|
489 |
+
.redux-container-spacing{
|
490 |
+
padding: 8px 19px 8px 20px !important;
|
491 |
+
margin: 0px;
|
492 |
+
height: 30px;
|
493 |
+
vertical-align: middle;
|
494 |
+
}
|
@@ -1,6 +1,104 @@
|
|
1 |
-
.redux-container-ace_editor .ace-wrapper{position:static}.redux-container-ace_editor .ace_editor{height:200px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.redux-container-ace_editor .ace_gutter{z-index:1!important}.redux-main .redux-container-background .redux-background-attachment,.redux-main .redux-container-background .redux-background-attachment select,.redux-main .redux-container-background .redux-background-clip,.redux-main .redux-container-background .redux-background-clip select,.redux-main .redux-container-background .redux-background-origin,.redux-main .redux-container-background .redux-background-origin select,.redux-main .redux-container-background .redux-background-position,.redux-main .redux-container-background .redux-background-position select,.redux-main .redux-container-background .redux-background-repeat,.redux-main .redux-container-background .redux-background-repeat select,.redux-main .redux-container-background .redux-background-size,.redux-main .redux-container-background .redux-background-size select{width:200px!important;margin-right:10px;margin-bottom:7px}.redux-main .redux-container-background .background-preview{display:block;width:100%;margin:5px 0 10px;border:1px dotted #d3d3d3}.redux-main .redux-container-background .select2-container{margin-right:10px;margin-bottom:10px}.redux-main .redux-container-background .wp-picker-container{margin-bottom:10px}.redux-main .redux-container-background .upload{width:100%;margin-bottom:8px}.redux-main .redux-container-select li.ui-state-highlight{height:20px;margin-top:2px;margin-left:5px;width:64px;margin-bottom:0}.wp-customizer .redux-container-background .redux-background-attachment,.wp-customizer .redux-container-background .redux-background-attachment select,.wp-customizer .redux-container-background .redux-background-clip,.wp-customizer .redux-container-background .redux-background-clip select,.wp-customizer .redux-container-background .redux-background-origin,.wp-customizer .redux-container-background .redux-background-origin select,.wp-customizer .redux-container-background .redux-background-position,.wp-customizer .redux-container-background .redux-background-position select,.wp-customizer .redux-container-background .redux-background-repeat,.wp-customizer .redux-container-background .redux-background-repeat select,.wp-customizer .redux-container-background .redux-background-size,.wp-customizer .redux-container-background .redux-background-size select{width:100%!important}.redux-container-border .select2-container{float:left;display:block;margin-right:10px}.redux-container-border .select_wrapper{float:left;width:inherit}.redux-container-border .select_wrapper select{width:80px;float:left}.redux-container-border .field-border-input{margin-right:10px;margin-bottom:7px}.redux-container-border .wp-picker-container{margin-top:2px}@media screen and (max-width:782px){.redux-container-border .field-border-input input{display:inline-block!important;width:100px!important}.redux-container-border .field-border-input .add-on{padding:7px 4px;font-size:16px;line-height:1.5}.redux-container-border .select_wrapper{margin-top:6px}}.redux-container-checkbox label{vertical-align:top;width:100%}.redux-container-checkbox label .field-desc{margin-top:0;float:left;width:93%;clear:none}.redux-container-color_gradient .colorGradient{display:inline-block}.redux-container-color_gradient .toLabel{padding-left:18px}@media screen and (max-width:660px){.redux-container-color_gradient .colorGradient{display:block;text-align:center!important}}.sp-container,.sp-replacer{color:#555;border-color:#ccc;background:#f7f7f7;-webkit-box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);vertical-align:top}.sp-replacer.focus,.sp-replacer.hover,.sp-replacer:focus,.sp-replacer:hover{background:#fafafa;border-color:#999;color:#222}.sp-replacer.focus,.sp-replacer:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.sp-replacer.active:focus{-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.sp-replacer.active,.sp-replacer.active:hover,.sp-replacer:active{background:#eee;border-color:#999;color:#333;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}#ui-datepicker-div{z-index:15!important}.ui-datepicker-header{background-color:#00abef}.redux-dimensions-container .select_wrapper,.redux-dimensions-container select{width:65px!important;float:left}.redux-dimensions-container .field-dimensions-input{margin-right:10px;margin-bottom:7px}@media screen and (max-width:782px){.redux-dimensions-container .field-dimensions-input input{display:inline-block!important;width:100px!important}.redux-dimensions-container .field-dimensions-input .add-on{padding:7px 4px;font-size:16px;line-height:1.5}.redux-dimensions-container .select_wrapper{margin-top:6px}}.redux-main .divide{float:none;border-color:#E7E7E7;display:block;width:100%;height:35px!important;line-height:35px!important;position:relative;margin:15px 0 10px}.redux-main .divide .inner,.redux-main .divide .inner span{background-color:#FCFCFC;border-color:#E7E7E7;position:absolute}.redux-main .divide .inner{width:42%!important;left:40%!important;margin-left:-6%;height:1px;top:50%;margin-top:-1px;border-top-width:1px;border-top-style:solid}.redux-main .divide .inner span{height:5px;width:5px;border-width:2px;border-style:solid;display:block;left:50%;margin-left:-5px;margin-top:-5px}.wp-customizer .redux-container-divide .divide .inner{width:82%!important;left:18%!important;margin-left:-8%}.redux-container-editor .mceLayout td{border-width:1px;margin:0;padding:1px}.redux-container-editor input,.redux-container-editor textarea{margin:inherit}.redux-container-editor textarea{border:0}.redux-container-editor .wp-editor-container{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.redux-container-editor .wp-editor-container textarea{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;border-style:inherit}.redux-container-editor .quicktags-toolbar input{margin:2px 1px 4px;line-height:18px;display:inline-block;min-width:26px;padding:2px 4px;font:12px/18px Arial,Helvetica,sans-serif normal;color:#464646;border:1px solid #c3c3c3;-webkit-border-radius:3px;border-radius:3px;background:#eee;background-image:-webkit-gradient(linear,left bottom,left top,from(#e3e3e3),to(#fff));background-image:-webkit-linear-gradient(bottom,#e3e3e3,#fff);background-image:-moz-linear-gradient(bottom,#e3e3e3,#fff);background-image:-o-linear-gradient(bottom,#e3e3e3,#fff);background-image:linear-gradient(to top,#e3e3e3,#fff)}.redux-container-image_select .redux-table-container{display:table;table-layout:fixed;width:100%}.redux-container-image_select .redux-image-select{margin:0!important}.redux-container-image_select .redux-image-select .tiles{display:block;background-color:#FFF;background-repeat:repeat;width:40px;height:40px}.redux-container-image_select .redux-image-select .tiles,.redux-container-image_select .redux-image-select img{border-color:#d9d9d9}.redux-container-image_select .redux-image-select li:last-child{margin-bottom:0}.redux-container-image_select .redux-image-select input[type=radio]{display:none}.redux-container-image_select .redux-image-select-presets img{width:100%}.redux-container-image_select ul.redux-image-select li{margin:0 10px 3px;display:inline-block;padding:2px 2px 2px 0}.redux-container-image_select .redux-image-select-selected{background-color:#f9f9f9}.redux-container-image_select .redux-image-select .tiles,.redux-container-image_select .redux-image-select img,.redux-container-image_select .redux-image-select-selected .tiles,.redux-container-image_select .redux-image-select-selected img{border-width:4px;border-style:solid}.redux-container-image_select .redux-image-select-selected .tiles{border-color:#7a7a7a}.redux-info-field .redux-info-icon i,.redux-notice-field .redux-info-icon i{font-size:2em}.redux-info-field .redux-info-desc,.redux-notice-field .redux-info-desc{display:inline-block;vertical-align:top}.redux-info-field{min-height:20px;padding:8px 19px;margin:10px 0;border-radius:4px;border:1px solid;position:relative}.redux-info-field h1,.redux-info-field h2,.redux-info-field h3,.redux-info-field h4,.redux-info-field h5,.redux-info-field h6{border-bottom:0!important}.redux-info-field h3{color:#777}.redux-info-field .redux-info-icon{display:inline-block;margin-right:15px}.redux-info-field.redux-normal{background-color:#eee;border-color:#ccc;color:#666}.redux-info-field.redux-normal i{color:#c5c5c5}.redux-info-field.redux-warning{background-color:#fbeba4;border-color:#d7c281;color:#958234}.redux-info-field.redux-warning i{color:#dcca81}.redux-info-field.redux-success{background-color:#c4ee91;border-color:#71af5d;color:#4d7615}.redux-info-field.redux-success i{color:#a0ca6c}.redux-info-field.redux-critical{background-color:#fba1a3;border-color:#b84f5b;color:#981225}.redux-info-field.redux-critical i{color:#dd767d}.redux-info-field.redux-info{background-color:#d3e4f4;border-color:#a9b6c2;color:#5c80a1}.redux-info-field.redux-info i{color:#afc6da}.redux-notice-field{margin:15px 0 0;background-color:#fff;border:0;border-left:4px solid #f3f3f3;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);padding:1px 12px}.redux-notice-field h1,.redux-notice-field h2,.redux-notice-field h3,.redux-notice-field h4,.redux-notice-field h5,.redux-notice-field h6{border-bottom:0!important}.redux-notice-field p{margin:.5em 0;padding:2px}.redux-notice-field .redux-info-icon{display:inline-block;margin-right:15px}.redux-notice-field.redux-info{border-left:4px solid #0099d5}.redux-notice-field.redux-success{border-left:4px solid #7ad03a}.redux-notice-field.redux-warning{border-left:4px solid #fbeba4}.redux-notice-field.redux-critical{border-left:4px solid #dd3d36}.redux-main .redux-field-container.redux-container-info{padding:0}.wp-customizer .hasIcon.redux-info-field .redux-info-desc,.wp-customizer .hasIcon.redux-notice-field .redux-info-desc{display:block;margin-left:43px}.wp-customizer .hasIcon.redux-info-field .redux-info-icon,.wp-customizer .hasIcon.redux-notice-field .redux-info-icon{float:left}.wp-customizer .redux-main .customize-control.customize-control-redux-info{border-bottom:0}.redux-container-link_color .linkColor{display:inline-block;padding-right:10px;padding-bottom:7px}.redux-main .button.remove-image,.redux-main .removeCSS{margin-left:10px;color:#ef521d}.redux-main .button.remove-image:hover,.redux-main .removeCSS:hover{color:red}.redux-main .upload_button_div{margin-bottom:5px}.redux-main .upload-error{float:left;color:#666;font-size:10px;font-weight:700;text-decoration:none;text-shadow:1px 1px 0 #FFF;margin:0 10px 0 0;padding:3px 10px;background:#FFDFEC;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.redux-main .reset-button{font-family:Arial,Verdana,sans-serif;float:left;margin:0;color:#ef521d;border-color:#bbb}.redux-main .redux-option-image{max-height:340px;max-width:340px;padding:5px;margin-bottom:0;margin-top:10px;margin-right:15px;border:1px solid #e3e3e3;background:#f7f7f7;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.redux-main .redux-main .upload{width:80%!important}.redux-main .button{margin-top:2px}.redux-container-multi_text ul.redux-multi-text{margin:0;padding:0}.redux-container-multi_text .redux-multi-text-add{clear:both;margin:5px 0}.redux-container-multi_text a.redux-multi-text-remove.deletion{color:red;padding:2px 4px;margin-left:5px}.redux-container-multi_text a.redux-multi-text-remove.deletion:hover{background:red;color:#fff;text-decoration:none}@media screen and (max-width:782px){.redux-container-multi_text input{clear:both}.redux-container-multi_text .redux-multi-text-remove{margin:0;float:right}}.wp-customizer .redux-container-multi_text .button{float:right}.wp-customizer .redux-container-multi_text .redux-multi-text-remove{float:right;margin-bottom:5px}.wp-customizer .redux-container-multi_text ul.redux-multi-text input{width:100%!important}.redux-container-palette label{border:3px solid transparent;border-color:transparent!important;border-radius:0;width:100%!important;display:block}.redux-container-palette label.ui-button.ui-widget{width:95%;background:0 0;padding:0}.redux-container-palette label.ui-button.ui-widget .ui-button-text{display:flex}.redux-container-palette label.ui-button.ui-widget .ui-button-text span{padding:10px;flex-grow:1;font-size:0;line-height:10px;color:transparent;-webkit-transition:all 200ms ease-in-out;-moz-transition:all 200ms ease-in-out;-ms-transition:all 200ms ease-in-out;-o-transition:all 200ms ease-in-out;transition:all 200ms ease-in-out;text-shadow:0}.redux-container-palette label.ui-button.ui-widget .ui-button-text span:hover{flex-grow:3;font-weight:700;min-width:60px;font-size:12px;line-height:10px;color:#333;text-shadow:0 0 8px #fff,0 0 8px #fff}.redux-container-palette label.ui-state-active{border:3px solid #333!important}.wp-customizer .redux-main .redux-container-palette label{margin-bottom:3px}.redux-main .form-table-section-indented{width:95%;margin-left:5%}.redux-main .form-table-section tr:first-of-type th:first-of-type{padding:0!important}.redux-main h3{margin-top:10px}.redux-main .form-table-section-indented>tbody>tr:first-child{display:none}.redux-main .form-table-section-indented>tbody>tr:nth-last-child(2){border-bottom:0}.redux-container-select li.ui-state-highlight{height:20px;margin-top:2px;margin-left:5px;width:64px;margin-bottom:0}.redux-container-select_image{margin-top:2px;margin-left:5px;width:100%;margin-bottom:0}.redux-preview-image{max-height:250px;max-width:250px;padding:5px;margin-top:10px;border:1px solid #e3e3e3;background:#f7f7f7;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.redux-container-slider .redux-slider-container{margin-left:25px;margin-right:25px;width:200px;display:inline-block;vertical-align:middle}.redux-container-slider .redux-slider-input,.redux-container-slider .redux-slider-select-one,.redux-container-slider .redux-slider-select-two{width:100px!important;text-align:center}.redux-container-slider .redux-slider-label{position:absolute;margin-left:-5px}.redux-container-slider .redux-slider-label-one{position:absolute;margin-left:-22px}.redux-container-slider .redux-slider-label-two{position:absolute;margin-top:-21px;margin-left:245px}@media screen and (max-width:782px){.redux-container-slider input{display:inline-block!important}}@media screen and (max-width:570px){.redux-container-slider{text-align:center}.redux-container-slider .redux-slider-label,.redux-container-slider .select2-container,.redux-container-slider input,.redux-container-slider select{display:block!important;position:inherit;margin:10px auto}.redux-container-slider .redux-slider-container{margin-top:3px;width:80%}}.wp-customizer .redux-container-slider .redux-slider-label{float:left;position:inherit;width:25%;text-align:center;margin-left:0}.wp-customizer .redux-container-slider .redux-slider-input,.wp-customizer .redux-container-slider .redux-slider-select-one,.wp-customizer .redux-container-slider .redux-slider-select-two{width:25%!important}.wp-customizer .redux-container-slider .redux-slider-container{width:70%;margin-right:0;margin-left:5%}.noUi-target,.noUi-target *{-webkit-touch-callout:none;-webkit-user-select:none;-ms-touch-action:none;-ms-user-select:none;-moz-user-select:none;-moz-box-sizing:border-box;box-sizing:border-box}.noUi-base{width:100%;height:100%;position:relative}.noUi-origin{position:absolute;right:0;top:0;left:0;bottom:0;border-radius:2px}.noUi-handle{position:relative;z-index:1}.noUi-stacking .noUi-handle{z-index:10}.noUi-state-tap .noUi-origin{-webkit-transition:left .3s,top .3s;transition:left .3s,top .3s}.noUi-state-drag *{cursor:inherit!important}.noUi-horizontal{height:18px}.noUi-horizontal .noUi-handle{width:34px;height:28px;left:-17px;top:-6px}.noUi-horizontal.noUi-extended{padding:0 15px}.noUi-horizontal.noUi-extended .noUi-origin{right:-15px}.noUi-vertical{width:18px}.noUi-vertical .noUi-handle{width:28px;height:34px;left:-6px;top:-17px}.noUi-vertical.noUi-extended{padding:15px 0}.noUi-vertical.noUi-extended .noUi-origin{bottom:-15px}.noUi-background{background:#FAFAFA;box-shadow:inset 0 1px 1px #f0f0f0}.noUi-connect{background:#3FB8AF;box-shadow:inset 0 0 3px rgba(51,51,51,.45);-webkit-transition:background 450ms;transition:background 450ms}.noUi-target{border-radius:4px;border:1px solid #D3D3D3;box-shadow:inset 0 1px 1px #F0F0F0,0 3px 6px -5px #BBB}.noUi-target.noUi-connect{box-shadow:inset 0 0 3px rgba(51,51,51,.45),0 3px 6px -5px #BBB}.noUi-dragable{cursor:w-resize}.noUi-vertical .noUi-dragable{cursor:n-resize}.noUi-handle{border:1px solid #D9D9D9;border-radius:3px;background:#FFF;cursor:default;box-shadow:inset 0 0 1px #FFF,inset 0 1px 7px #EBEBEB,0 3px 6px -3px #BBB}.noUi-active{box-shadow:inset 0 0 1px #FFF,inset 0 1px 7px #DDD,0 3px 6px -3px #BBB}.noUi-handle:after,.noUi-handle:before{content:"";display:block;position:absolute;height:14px;width:1px;background:#E8E7E6;left:14px;top:6px}.noUi-handle:after{left:17px}.noUi-vertical .noUi-handle:after,.noUi-vertical .noUi-handle:before{width:14px;height:1px;left:6px;top:14px}.noUi-vertical .noUi-handle:after{top:17px}[disabled] .noUi-connect,[disabled].noUi-connect{background:#B8B8B8}[disabled] .noUi-handle{cursor:not-allowed}.noUi-state-blocked .noUi-connect,.noUi-state-blocked.noUi-connect{background:#4FDACF}.redux-container-slides .redux-slides-list .select2-container{margin-bottom:10px;width:100%}.redux-container-slides .ui-accordion-header{margin-bottom:0}.redux-container-slides .full-text,.redux-container-slides .large-text{width:100%}.redux-container-slides .redux-slides-accordion-group{border:1px solid #dfdfdf!important;border-radius:3px!important;margin-top:0!important;margin-bottom:10px;background:#f9f9f9;padding:5px}.redux-container-slides .redux-slides-accordion-group h3{border:1px solid #dfdfdf;cursor:move!important;font-weight:700;padding:0 10px!important;height:40px;line-height:40px!important;background-color:#f1f1f1;background-image:-ms-linear-gradient(top,#f9f9f9,#ececec);background-image:-moz-linear-gradient(top,#f9f9f9,#ececec);background-image:-o-linear-gradient(top,#f9f9f9,#ececec);background-image:-webkit-gradient(linear,left top,left bottom,from(#f9f9f9),to(#ececec));background-image:-webkit-linear-gradient(top,#f9f9f9,#ececec);background-image:linear-gradient(top,#f9f9f9,#ececec);overflow:hidden;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-moz-box-shadow:inset 0 1px 0 #fff;-webkit-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff;text-align:center}.redux-container-slides #redux-slides-accordion .redux-slides-image{height:250px;padding:5px;margin-top:10px;margin-bottom:10px;border:1px solid #e3e3e3;background:#f7f7f7;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.redux-container-slides .redux-slides-add{float:right;margin-right:10%;display:block;margin-bottom:10px}.redux-container-slides .redux-slides-remove{color:#ef521d!important;float:right;margin-top:5px}.redux-container-slides .redux-slides-header{font-weight:700}.redux-container-slides .redux_slides_add_remove{margin-bottom:10px}.redux-container-slides input{width:100%!important}.wp-customizer .redux-container-slides .ui-accordion .ui-accordion-content{padding:10px}.redux-container-sortable i.el{cursor:move}.redux-container-sortable label{margin-right:10px;width:300px}.redux-container-sortable label.bugger{margin-bottom:0!important;font-size:12px!important;color:#999}.redux-container-sortable input{margin-right:10px}.redux-container-sortable .checkbox-container{width:364px}.redux-container-sortable .checkbox-container .drag{float:right;margin-left:10px}.redux-container-sortable ul.labeled li{line-height:1.4em!important}.redux-container-sortable li{line-height:30px!important}.redux-container-sortable li.ui-state-highlight{height:30px;width:364px;margin-bottom:13px}.redux-container-sortable li.placeholder{height:30px;margin:10px 0}.wp-customizer .redux-sortable input[type=text]{width:92%}.wp-customizer .redux-sortable i.el{margin-left:5px}.wp-customizer .redux-container-sortable .checkbox-container{width:inherit}.wp-customizer .redux-container-sortable .ui-draggable-handle{margin-left:3%}.redux-container-sorter{margin-right:-20px}.redux-container-sorter ul{background:#F9F9F9;border:1px solid #E3E3E3;min-height:40px;padding:10px 10px 0;width:145px;float:left;margin:0 15px 0 0}.redux-container-sorter ul.filled{opacity:.7;filter:alpha(opacity=70);background:#efecec}.redux-container-sorter ul li{border:1px solid #DFDFDF;cursor:move;font-weight:700;margin-bottom:10px!important;padding:0 10px;height:40px;line-height:40px!important;background-color:#F1F1F1;background-image:-ms-linear-gradient(top,#f9f9f9,#ececec);background-image:-moz-linear-gradient(top,#f9f9f9,#ececec);background-image:-o-linear-gradient(top,#f9f9f9,#ececec);background-image:-webkit-gradient(linear,left top,left bottom,from(#f9f9f9),to(#ececec));background-image:-webkit-linear-gradient(top,#f9f9f9,#ececec);background-image:linear-gradient(top,#f9f9f9,#ececec);overflow:hidden;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-moz-box-shadow:inset 0 1px 0 #fff;-webkit-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff;text-align:center}.redux-container-sorter ul li h3{margin:0 0 10px;text-align:center;color:#777;text-transform:capitalize;word-wrap:break-word}.redux-container-sorter ul li.placeholder{height:40px}.wp-customizer .redux-container-sorter ul{width:85%;margin:0 0 5px}.redux-container-spacing .select_wrapper,.redux-container-spacing select{width:80px!important;float:left}.redux-container-spacing .field-spacing-input{margin-right:10px;margin-bottom:7px}@media screen and (max-width:782px){.redux-container-spacing .field-spacing-input input{display:inline-block!important;width:70px!important}.redux-container-spacing .field-spacing-input .add-on{padding:7px 4px;font-size:16px;line-height:1.5}.redux-container-spacing .select_wrapper{margin-top:6px}}.redux-container-spinner .spinner-wrpr{position:relative;display:block;height:30px;overflow:hidden}.redux-container-spinner .spinner-wrpr .spinner-input{position:relative!important;z-index:1;width:45px!important;height:30px!important;background:#e7e7e7!important;border:1px solid #bfbfbf!important;border-right:0!important;border-left:0!important;-webkit-border-radius:0!important;-moz-border-radius:0!important;border-radius:0!important}.redux-container-spinner .ui-spinner{position:static;display:inline}.redux-container-spinner .ui-spinner-buttons{position:absolute;padding:0}.redux-container-spinner .ui-widget .ui-spinner-button{position:absolute;top:0;padding:0 0 30px;overflow:hidden;cursor:pointer;background:-moz-linear-gradient(#fff,#f3f3f3);background:-o-linear-gradient(#fff,#f3f3f3);background:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#f3f3f3));background:linear-gradient(#fff,#f3f3f3);background-color:#fff;border:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.redux-container-spinner .ui-spinner-button:hover,.redux-container-spinner .ui-state-hover{background:-moz-linear-gradient(#f3f3f3,#fff);background:-o-linear-gradient(#f3f3f3,#fff);background:-webkit-gradient(linear,left top,left bottom,from(#f3f3f3),to(#fff));background:linear-gradient(#f3f3f3,#fff);background-color:#f3f3f3}.redux-container-spinner .ui-corner-tr,.redux-container-spinner .ui-spinner-button .ui-icon-triangle-1-n{-webkit-border-radius:0 5px 5px 0;-moz-border-radius:0 5px 5px 0;border-radius:0 5px 5px 0}.redux-container-spinner .ui-corner-br,.redux-container-spinner .ui-spinner-button .ui-icon-triangle-1-s{-webkit-border-radius:5px 0 0 5px;-moz-border-radius:5px 0 0 5px;border-radius:5px 0 0 5px}.redux-container-spinner .ui-spinner-button .ui-icon{top:0;display:block;width:28px;height:28px;margin:0;border:1px solid #b7b7b7}.redux-container-spinner .ui-spinner-button .ui-icon-triangle-1-n{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAKCAYAAACXDi8zAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADxJREFUeNpsjwsKADAIQu3u3tsRY6M5gz7w0AqSQFLdZ3ZRgmf44JQ/EOZ9oYOsiDviVemP2oYoWCwBBgDpO6VXVo3RyQAAAABJRU5ErkJggg==) 10px 10px no-repeat!important}.redux-container-spinner .ui-spinner-button .ui-icon-triangle-1-s{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAKCAYAAACXDi8zAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADhJREFUeNpi+P//PwM6bmlpwS4IorEKokggC8Il0AVhEv9x6sAmiaz9P05XIUsygmVRAUiAESDAAFHcpVdWtdj/AAAAAElFTkSuQmCC) 10px 10px no-repeat!important}.redux-container-switch .cb-disable.selected,.redux-container-switch .cb-enable.selected{color:#fff}.redux-container-switch .switch-options{min-height:30px;margin-right:10px}.redux-container-switch .switch-options label{cursor:pointer; font-size: 11px !important;text-indent: unset !important;}.redux-container-switch .switch-options input{display:none}.redux-container-switch .cb-disable,.redux-container-switch .cb-enable{padding:0 10px;border-width:1px;border-style:solid;-webkit-appearance:none;white-space:nowrap;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.redux-container-switch .cb-disable span,.redux-container-switch .cb-enable span{line-height:30px;font-weight:700;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;-ms-user-select:none;user-select:none}.redux-container-switch .cb-disable,.redux-container-switch .cb-disable span,.redux-container-switch .cb-enable,.redux-container-switch .cb-enable span{display:block;float:left}.redux-container-switch .cb-enable{border-right:0;border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;-webkit-border-radius:3px 0 0 3px}.redux-container-switch .cb-disable{border-left:0;border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;-webkit-border-radius:0 3px 3px 0}.redux-container-text label{display:block;position:relative;font-size:12px!important;text-align:left;color:#999;margin:4px 0 2px!important;cursor:default;top:5px;width:100px}.redux-container-text input{clear:left}.redux-container-text .input_wrapper{display:block;position:relative;padding:0;width:23%;max-width:23%;min-width:70px;float:left;clear:left;height:57px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box;vertical-align:baseline}.wp-customizer .redux-container-text .input_wrapper{width:100%;max-width:100%;height:auto}.redux-main .redux-typography-container{display:block;position:relative;margin:0;padding:0;width:100%;max-width:660px}.redux-main .redux-typography-container .clearfix{clear:both}.redux-main .redux-typography-container .clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.redux-main .redux-typography-container .redux-typography-color,.redux-main .redux-typography-container input.wp-picker-default{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box;height:24px;padding:0 14px!important;margin-top:0;margin-bottom:0;margin-left:4px!important;font-size:12px!important}.redux-main .redux-typography-container .select_wrapper{display:block;position:relative;float:left;clear:none;margin:0 10px 0 0;width:48%!important;min-width:210px!important;max-width:324px!important;height:57px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box}.redux-main .redux-typography-container .select_wrapper:nth-child(even),.redux-main .redux-typography-container .select_wrapper:nth-child(odd){margin-right:10px!important}.redux-main .redux-typography-container .select_wrapper.typography-family .select2-container{width:100%}.redux-main .redux-typography-container .select_wrapper .redux-typography{font-size:14px!important;display:block;float:left;height:28px!important;line-height:50px!important;padding:0!important;width:100%!important;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box}.redux-main .redux-typography-container .wp-picker-container{float:left;clear:left;margin-bottom:12px;padding:3px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.redux-main .redux-typography-container .input_wrapper{display:block;position:relative;margin:0 4px 0 5px;padding:0;width:23%;max-width:23%;min-width:70px;float:left;clear:none;height:57px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box;vertical-align:baseline}.redux-main .redux-typography-container .input_wrapper.font-size{margin-left:0}.redux-main .redux-typography-container .input_wrapper input.mini{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box;width:78%;text-align:center;margin:0;height:28px;top:3px;padding:0 2px 0 5px;text-decoration:none;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.redux-main .redux-typography-container .picker-wrapper{display:block;position:relative;margin:0;padding:0;width:23%;width:100%;max-width:23%;min-width:70px;min-width:100%;clear:none;height:57px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box;vertical-align:baseline}.redux-main .redux-typography-container label{display:block;position:relative;font-size:12px!important;text-align:left;color:#999;margin:4px 0 2px!important;cursor:default}.redux-main .redux-typography-container .typography-preview{display:none;width:100%;border:1px dotted #d3d3d3;max-width:850px;padding:10px;font-size:10pt;height:auto;margin:5px 0 10px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.redux-main .redux-typography-container .typography-color{border:0;margin:0}.redux-main .redux-typography-container ::-webkit-input-placeholder{line-height:19px}@media screen and (max-width:540px){.redux-main .redux-main .redux-typography-container{max-width:230px;margin:0 auto}.redux-main .redux-main .redux-typography-container .select_wrapper{max-width:210px;min-width:210px;width:210px;margin-left:0!important;margin-right:0!important}.redux-main .redux-main .redux-typography-container .input_wrapper{max-width:101px;min-width:101px;width:101px;margin-left:0!important;margin-right:5px!important}.redux-main .redux-main .redux-typography-container .input_wrapper input.mini{width:73%}.redux-main .redux-main .redux-typography-container .input-append .add-on{width:30%;padding:5px!important}.redux-main .redux-main .redux-main .wp-picker-container .wp-picker-input-wrap{margin-top:7px}}@media screen and (max-width:360px){.redux-main .redux-typography-container .iris-picker .iris-square{margin-right:3%}}.wp-customizer .redux-typography-container .input_wrapper{width:40%;max-width:40%;min-width:20%}.wp-customizer .redux-typography-container .input_wrapper input.mini{width:70%}.wp-customizer .redux-typography-container .select_wrapper{width:100%!important}.redux-main input.redux-color{float:left;width:70px;margin-left:5px}.redux-main input.color-transparency{margin-left:10px;margin-right:3px}.redux-main input.wp-color-picker{width:80px!important}.redux-main .section-color .controls{width:345px}.redux-main .section-color .explain{width:225px}.redux-main .iris-picker .iris-strip .ui-slider-handle{position:absolute;background:0 0!important;right:-3px;left:-3px;border:4px solid #aaa!important;border-width:4px 3px;width:auto;border-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,.2);opacity:.9;z-index:5;cursor:ns-resize}.redux-main .iris-picker .iris-slider-offset{position:absolute;top:2px;left:0;right:0;bottom:4px;width:28px;background:0 0!important;border:0!important;height:auto}.redux-main .wp-picker-container input{margin-bottom:inherit;margin-top:inherit;padding:3px 5px}.redux-main .wp-picker-container .wp-color-result{outline:0;margin:0}.redux-main .wp-picker-container .wp-picker-default{padding:0 10px 1px}.redux-main .redux-color-gradient{line-height:24px}.redux-main .color-transparency-check{line-height:1;margin-top:0!important}.redux-main .wp-picker-clear{margin-top:0!important}.wp-customizer .redux-main .redux-typography-container .redux-typography-color,.wp-customizer .redux-main .redux-typography-container input.wp-picker-default,.wp-customizer .redux-main input.wp-picker-default{padding:0 4px!important}.wp-customizer .redux-main input.wp-color-picker{width:65px!important;margin-left:5px!important}.redux-main .button.remove-image,.redux-main .removeCSS{margin-left:10px;color:#ef521d}.redux-main .button.remove-image:hover,.redux-main .removeCSS:hover{color:red}.redux-main .upload_button_div{margin-bottom:5px}.redux-main .upload-error{float:left;color:#666;font-size:10px;font-weight:700;text-decoration:none;text-shadow:1px 1px 0 #FFF;margin:0 10px 0 0;padding:3px 10px;background:#FFDFEC;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.redux-main .reset-button{font-family:Arial,Verdana,sans-serif;float:left;margin:0;color:#ef521d;border-color:#bbb}.redux-main .redux-option-image{max-height:340px;max-width:340px;padding:5px;margin-bottom:0;margin-top:10px;margin-right:15px;border:1px solid #e3e3e3;background:#f7f7f7;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.redux-main .redux-main .upload{width:80%!important}.redux-main .button{margin-top:2px}
|
2 |
/*field switch css as iphone*/
|
3 |
-
.ios7-switch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
/*** Menu Types CSS ***/
|
5 |
#redux_builder_amp-menu-type ul.redux-image-select li{
|
6 |
width:45% ;
|
1 |
+
.redux-container-ace_editor .ace-wrapper{position:static;margin-top:30px;}.redux-container-ace_editor .ace_editor{height:200px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.redux-container-ace_editor .ace_gutter{z-index:1!important}.redux-main .redux-container-background .redux-background-attachment,.redux-main .redux-container-background .redux-background-attachment select,.redux-main .redux-container-background .redux-background-clip,.redux-main .redux-container-background .redux-background-clip select,.redux-main .redux-container-background .redux-background-origin,.redux-main .redux-container-background .redux-background-origin select,.redux-main .redux-container-background .redux-background-position,.redux-main .redux-container-background .redux-background-position select,.redux-main .redux-container-background .redux-background-repeat,.redux-main .redux-container-background .redux-background-repeat select,.redux-main .redux-container-background .redux-background-size,.redux-main .redux-container-background .redux-background-size select{width:200px!important;margin-right:10px;margin-bottom:7px}.redux-main .redux-container-background .background-preview{display:block;width:100%;margin:5px 0 10px;border:1px dotted #d3d3d3}.redux-main .redux-container-background .select2-container{margin-right:10px;margin-bottom:10px}.redux-main .redux-container-background .wp-picker-container{margin-bottom:10px}.redux-main .redux-container-background .upload{width:100%;margin-bottom:8px}.redux-main .redux-container-select li.ui-state-highlight{height:20px;margin-top:2px;margin-left:5px;width:64px;margin-bottom:0}.wp-customizer .redux-container-background .redux-background-attachment,.wp-customizer .redux-container-background .redux-background-attachment select,.wp-customizer .redux-container-background .redux-background-clip,.wp-customizer .redux-container-background .redux-background-clip select,.wp-customizer .redux-container-background .redux-background-origin,.wp-customizer .redux-container-background .redux-background-origin select,.wp-customizer .redux-container-background .redux-background-position,.wp-customizer .redux-container-background .redux-background-position select,.wp-customizer .redux-container-background .redux-background-repeat,.wp-customizer .redux-container-background .redux-background-repeat select,.wp-customizer .redux-container-background .redux-background-size,.wp-customizer .redux-container-background .redux-background-size select{width:100%!important}.redux-container-border .select2-container{float:left;display:block;margin-right:10px}.redux-container-border .select_wrapper{float:left;width:inherit}.redux-container-border .select_wrapper select{width:80px;float:left}.redux-container-border .field-border-input{margin-right:10px;margin-bottom:7px}.redux-container-border .wp-picker-container{margin-top:2px}@media screen and (max-width:782px){.redux-container-border .field-border-input input{display:inline-block!important;width:100px!important}.redux-container-border .field-border-input .add-on{padding:7px 4px;font-size:16px;line-height:1.5}.redux-container-border .select_wrapper{margin-top:6px}}.redux-container-checkbox label{vertical-align:top;width:100%}.redux-container-checkbox label .field-desc{margin-top:0;float:left;width:93%;clear:none}.redux-container-color_gradient .colorGradient{display:inline-block}.redux-container-color_gradient .toLabel{padding-left:18px}@media screen and (max-width:660px){.redux-container-color_gradient .colorGradient{display:block;text-align:center!important}}.sp-container,.sp-replacer{color:#555;border-color:#ccc;background:#f7f7f7;-webkit-box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);vertical-align:top}.sp-replacer.focus,.sp-replacer.hover,.sp-replacer:focus,.sp-replacer:hover{background:#fafafa;border-color:#999;color:#222}.sp-replacer.focus,.sp-replacer:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.sp-replacer.active:focus{-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.sp-replacer.active,.sp-replacer.active:hover,.sp-replacer:active{background:#eee;border-color:#999;color:#333;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}#ui-datepicker-div{z-index:15!important}.ui-datepicker-header{background-color:#00abef}.redux-dimensions-container .select_wrapper,.redux-dimensions-container select{width:65px!important;float:left}.redux-dimensions-container .field-dimensions-input{margin-right:10px;margin-bottom:7px}@media screen and (max-width:782px){.redux-dimensions-container .field-dimensions-input input{display:inline-block!important;width:100px!important}.redux-dimensions-container .field-dimensions-input .add-on{padding:7px 4px;font-size:16px;line-height:1.5}.redux-dimensions-container .select_wrapper{margin-top:6px}}.redux-main .divide{float:none;border-color:#E7E7E7;display:block;width:100%;height:35px!important;line-height:35px!important;position:relative;margin:15px 0 10px}.redux-main .divide .inner,.redux-main .divide .inner span{background-color:#FCFCFC;border-color:#E7E7E7;position:absolute}.redux-main .divide .inner{width:42%!important;left:40%!important;margin-left:-6%;height:1px;top:50%;margin-top:-1px;border-top-width:1px;border-top-style:solid}.redux-main .divide .inner span{height:5px;width:5px;border-width:2px;border-style:solid;display:block;left:50%;margin-left:-5px;margin-top:-5px}.wp-customizer .redux-container-divide .divide .inner{width:82%!important;left:18%!important;margin-left:-8%}.redux-container-editor .mceLayout td{border-width:1px;margin:0;padding:1px}.redux-container-editor input,.redux-container-editor textarea{margin:inherit}.redux-container-editor textarea{border:0}.redux-container-editor .wp-editor-container{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.redux-container-editor .wp-editor-container textarea{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;border-style:inherit}.redux-container-editor .quicktags-toolbar input{margin:2px 1px 4px;line-height:18px;display:inline-block;min-width:26px;padding:2px 4px;font:12px/18px Arial,Helvetica,sans-serif normal;color:#464646;border:1px solid #c3c3c3;-webkit-border-radius:3px;border-radius:3px;background:#eee;background-image:-webkit-gradient(linear,left bottom,left top,from(#e3e3e3),to(#fff));background-image:-webkit-linear-gradient(bottom,#e3e3e3,#fff);background-image:-moz-linear-gradient(bottom,#e3e3e3,#fff);background-image:-o-linear-gradient(bottom,#e3e3e3,#fff);background-image:linear-gradient(to top,#e3e3e3,#fff)}.redux-container-image_select .redux-table-container{display:table;table-layout:fixed;width:100%}.redux-container-image_select .redux-image-select{margin:0!important}.redux-container-image_select .redux-image-select .tiles{display:block;background-color:#FFF;background-repeat:repeat;width:40px;height:40px}.redux-container-image_select .redux-image-select .tiles,.redux-container-image_select .redux-image-select img{border-color:#d9d9d9}.redux-container-image_select .redux-image-select li:last-child{margin-bottom:0}.redux-container-image_select .redux-image-select input[type=radio]{display:none}.redux-container-image_select .redux-image-select-presets img{width:100%}.redux-container-image_select ul.redux-image-select li{margin:0 10px 3px;display:inline-block;padding:2px 2px 2px 0}.redux-container-image_select .redux-image-select-selected{background-color:#f9f9f9}.redux-container-image_select .redux-image-select .tiles,.redux-container-image_select .redux-image-select img,.redux-container-image_select .redux-image-select-selected .tiles,.redux-container-image_select .redux-image-select-selected img{border-width:4px;border-style:solid}.redux-container-image_select .redux-image-select-selected .tiles{border-color:#7a7a7a}.redux-info-field .redux-info-icon i,.redux-notice-field .redux-info-icon i{font-size:2em}.redux-info-field .redux-info-desc,.redux-notice-field .redux-info-desc{display:inline-block;vertical-align:top}.redux-info-field{min-height:20px;padding:8px 19px;margin:10px 0;border-radius:4px;border:1px solid;position:relative}.redux-info-field h1,.redux-info-field h2,.redux-info-field h3,.redux-info-field h4,.redux-info-field h5,.redux-info-field h6{border-bottom:0!important}.redux-info-field h3{color:#777}.redux-info-field .redux-info-icon{display:inline-block;margin-right:15px}.redux-info-field.redux-normal{background-color:#eee;border-color:#ccc;color:#666}.redux-info-field.redux-normal i{color:#c5c5c5}.redux-info-field.redux-warning{background-color:#fbeba4;border-color:#d7c281;color:#958234}.redux-info-field.redux-warning i{color:#dcca81}.redux-info-field.redux-success{background-color:#c4ee91;border-color:#71af5d;color:#4d7615}.redux-info-field.redux-success i{color:#a0ca6c}.redux-info-field.redux-critical{background-color:#fba1a3;border-color:#b84f5b;color:#981225}.redux-info-field.redux-critical i{color:#dd767d}.redux-info-field.redux-info{background-color:#d3e4f4;border-color:#a9b6c2;color:#5c80a1}.redux-info-field.redux-info i{color:#afc6da}.redux-notice-field{margin:15px 0 0;background-color:#fff;border:0;border-left:4px solid #f3f3f3;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);padding:1px 12px}.redux-notice-field h1,.redux-notice-field h2,.redux-notice-field h3,.redux-notice-field h4,.redux-notice-field h5,.redux-notice-field h6{border-bottom:0!important}.redux-notice-field p{margin:.5em 0;padding:2px}.redux-notice-field .redux-info-icon{display:inline-block;margin-right:15px}.redux-notice-field.redux-info{border-left:4px solid #0099d5}.redux-notice-field.redux-success{border-left:4px solid #7ad03a}.redux-notice-field.redux-warning{border-left:4px solid #fbeba4}.redux-notice-field.redux-critical{border-left:4px solid #dd3d36}.redux-main .redux-field-container.redux-container-info{padding:0}.wp-customizer .hasIcon.redux-info-field .redux-info-desc,.wp-customizer .hasIcon.redux-notice-field .redux-info-desc{display:block;margin-left:43px}.wp-customizer .hasIcon.redux-info-field .redux-info-icon,.wp-customizer .hasIcon.redux-notice-field .redux-info-icon{float:left}.wp-customizer .redux-main .customize-control.customize-control-redux-info{border-bottom:0}.redux-container-link_color .linkColor{display:inline-block;padding-right:10px;padding-bottom:7px}.redux-main .button.remove-image,.redux-main .removeCSS{margin-left:10px;color:#ef521d}.redux-main .button.remove-image:hover,.redux-main .removeCSS:hover{color:red}.redux-main .upload_button_div{float: left}.redux-main .upload-error{float:left;color:#666;font-size:10px;font-weight:700;text-decoration:none;text-shadow:1px 1px 0 #FFF;margin:0 10px 0 0;padding:3px 10px;background:#FFDFEC;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.redux-main .reset-button{font-family:Arial,Verdana,sans-serif;float:left;margin:0;color:#ef521d;border-color:#bbb}.redux-main .redux-option-image{max-height:340px;max-width:340px;padding:5px;margin-bottom:0;margin-top:10px;margin-right:15px;border:1px solid #e3e3e3;background:#f7f7f7;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.redux-main .redux-main .upload{width:80%!important}.redux-main .button{margin-top:2px}.redux-container-multi_text ul.redux-multi-text{margin:0;padding:0}.redux-container-multi_text .redux-multi-text-add{clear:both;margin:5px 0}.redux-container-multi_text a.redux-multi-text-remove.deletion{color:red;padding:2px 4px;margin-left:5px}.redux-container-multi_text a.redux-multi-text-remove.deletion:hover{background:red;color:#fff;text-decoration:none}@media screen and (max-width:782px){.redux-container-multi_text input{clear:both}.redux-container-multi_text .redux-multi-text-remove{margin:0;float:right}}.wp-customizer .redux-container-multi_text .button{float:right}.wp-customizer .redux-container-multi_text .redux-multi-text-remove{float:right;margin-bottom:5px}.wp-customizer .redux-container-multi_text ul.redux-multi-text input{width:100%!important}.redux-container-palette label{border:3px solid transparent;border-color:transparent!important;border-radius:0;width:100%!important;display:block}.redux-container-palette label.ui-button.ui-widget{width:95%;background:0 0;padding:0}.redux-container-palette label.ui-button.ui-widget .ui-button-text{display:flex}.redux-container-palette label.ui-button.ui-widget .ui-button-text span{padding:10px;flex-grow:1;font-size:0;line-height:10px;color:transparent;-webkit-transition:all 200ms ease-in-out;-moz-transition:all 200ms ease-in-out;-ms-transition:all 200ms ease-in-out;-o-transition:all 200ms ease-in-out;transition:all 200ms ease-in-out;text-shadow:0}.redux-container-palette label.ui-button.ui-widget .ui-button-text span:hover{flex-grow:3;font-weight:700;min-width:60px;font-size:12px;line-height:10px;color:#333;text-shadow:0 0 8px #fff,0 0 8px #fff}.redux-container-palette label.ui-state-active{border:3px solid #333!important}.wp-customizer .redux-main .redux-container-palette label{margin-bottom:3px}.redux-main .form-table-section-indented{width:95%;margin-left:5%}.redux-main .form-table-section tr:first-of-type th:first-of-type{padding:0!important}.redux-main h3{margin-top:10px}.redux-main .form-table-section-indented>tbody>tr:first-child{display:none}.redux-main .form-table-section-indented>tbody>tr:nth-last-child(2){border-bottom:0}.redux-container-select li.ui-state-highlight{height:20px;margin-top:2px;margin-left:5px;width:64px;margin-bottom:0}.redux-container-select_image{margin-top:2px;margin-left:5px;width:100%;margin-bottom:0}.redux-preview-image{max-height:250px;max-width:250px;padding:5px;margin-top:10px;border:1px solid #e3e3e3;background:#f7f7f7;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.redux-container-slider .redux-slider-container{margin-left:25px;margin-right:25px;width:200px;display:inline-block;vertical-align:middle}.redux-container-slider .redux-slider-input,.redux-container-slider .redux-slider-select-one,.redux-container-slider .redux-slider-select-two{width:100px!important;text-align:center}.redux-container-slider .redux-slider-label{position:absolute;margin-left:-5px}.redux-container-slider .redux-slider-label-one{position:absolute;margin-left:-22px}.redux-container-slider .redux-slider-label-two{position:absolute;margin-top:-21px;margin-left:245px}@media screen and (max-width:782px){.redux-container-slider input{display:inline-block!important}}@media screen and (max-width:570px){.redux-container-slider{text-align:center}.redux-container-slider .redux-slider-label,.redux-container-slider .select2-container,.redux-container-slider input,.redux-container-slider select{display:block!important;position:inherit;margin:10px auto}.redux-container-slider .redux-slider-container{margin-top:3px;width:80%}}.wp-customizer .redux-container-slider .redux-slider-label{float:left;position:inherit;width:25%;text-align:center;margin-left:0}.wp-customizer .redux-container-slider .redux-slider-input,.wp-customizer .redux-container-slider .redux-slider-select-one,.wp-customizer .redux-container-slider .redux-slider-select-two{width:25%!important}.wp-customizer .redux-container-slider .redux-slider-container{width:70%;margin-right:0;margin-left:5%}.noUi-target,.noUi-target *{-webkit-touch-callout:none;-webkit-user-select:none;-ms-touch-action:none;-ms-user-select:none;-moz-user-select:none;-moz-box-sizing:border-box;box-sizing:border-box}.noUi-base{width:100%;height:100%;position:relative}.noUi-origin{position:absolute;right:0;top:0;left:0;bottom:0;border-radius:2px}.noUi-handle{position:relative;z-index:1}.noUi-stacking .noUi-handle{z-index:10}.noUi-state-tap .noUi-origin{-webkit-transition:left .3s,top .3s;transition:left .3s,top .3s}.noUi-state-drag *{cursor:inherit!important}.noUi-horizontal{height:18px}.noUi-horizontal .noUi-handle{width:34px;height:28px;left:-17px;top:-6px}.noUi-horizontal.noUi-extended{padding:0 15px}.noUi-horizontal.noUi-extended .noUi-origin{right:-15px}.noUi-vertical{width:18px}.noUi-vertical .noUi-handle{width:28px;height:34px;left:-6px;top:-17px}.noUi-vertical.noUi-extended{padding:15px 0}.noUi-vertical.noUi-extended .noUi-origin{bottom:-15px}.noUi-background{background:#FAFAFA;box-shadow:inset 0 1px 1px #f0f0f0}.noUi-connect{background:#3FB8AF;box-shadow:inset 0 0 3px rgba(51,51,51,.45);-webkit-transition:background 450ms;transition:background 450ms}.noUi-target{border-radius:4px;border:1px solid #D3D3D3;box-shadow:inset 0 1px 1px #F0F0F0,0 3px 6px -5px #BBB}.noUi-target.noUi-connect{box-shadow:inset 0 0 3px rgba(51,51,51,.45),0 3px 6px -5px #BBB}.noUi-dragable{cursor:w-resize}.noUi-vertical .noUi-dragable{cursor:n-resize}.noUi-handle{border:1px solid #D9D9D9;border-radius:3px;background:#FFF;cursor:default;box-shadow:inset 0 0 1px #FFF,inset 0 1px 7px #EBEBEB,0 3px 6px -3px #BBB}.noUi-active{box-shadow:inset 0 0 1px #FFF,inset 0 1px 7px #DDD,0 3px 6px -3px #BBB}.noUi-handle:after,.noUi-handle:before{content:"";display:block;position:absolute;height:14px;width:1px;background:#E8E7E6;left:14px;top:6px}.noUi-handle:after{left:17px}.noUi-vertical .noUi-handle:after,.noUi-vertical .noUi-handle:before{width:14px;height:1px;left:6px;top:14px}.noUi-vertical .noUi-handle:after{top:17px}[disabled] .noUi-connect,[disabled].noUi-connect{background:#B8B8B8}[disabled] .noUi-handle{cursor:not-allowed}.noUi-state-blocked .noUi-connect,.noUi-state-blocked.noUi-connect{background:#4FDACF}.redux-container-slides .redux-slides-list .select2-container{margin-bottom:10px;width:100%}.redux-container-slides .ui-accordion-header{margin-bottom:0}.redux-container-slides .full-text,.redux-container-slides .large-text{width:100%}.redux-container-slides .redux-slides-accordion-group{border:1px solid #dfdfdf!important;border-radius:3px!important;margin-top:0!important;margin-bottom:10px;background:#f9f9f9;padding:5px}.redux-container-slides .redux-slides-accordion-group h3{border:1px solid #dfdfdf;cursor:move!important;font-weight:700;padding:0 10px!important;height:40px;line-height:40px!important;background-color:#f1f1f1;background-image:-ms-linear-gradient(top,#f9f9f9,#ececec);background-image:-moz-linear-gradient(top,#f9f9f9,#ececec);background-image:-o-linear-gradient(top,#f9f9f9,#ececec);background-image:-webkit-gradient(linear,left top,left bottom,from(#f9f9f9),to(#ececec));background-image:-webkit-linear-gradient(top,#f9f9f9,#ececec);background-image:linear-gradient(top,#f9f9f9,#ececec);overflow:hidden;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-moz-box-shadow:inset 0 1px 0 #fff;-webkit-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff;text-align:center}.redux-container-slides #redux-slides-accordion .redux-slides-image{height:250px;padding:5px;margin-top:10px;margin-bottom:10px;border:1px solid #e3e3e3;background:#f7f7f7;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.redux-container-slides .redux-slides-add{float:right;margin-right:10%;display:block;margin-bottom:10px}.redux-container-slides .redux-slides-remove{color:#ef521d!important;float:right;margin-top:5px}.redux-container-slides .redux-slides-header{font-weight:700}.redux-container-slides .redux_slides_add_remove{margin-bottom:10px}.redux-container-slides input{width:100%!important}.wp-customizer .redux-container-slides .ui-accordion .ui-accordion-content{padding:10px}.redux-container-sortable i.el{cursor:move}.redux-container-sortable label{margin-right:10px;width:300px}.redux-container-sortable label.bugger{margin-bottom:0!important;font-size:12px!important;color:#999}.redux-container-sortable input{margin-right:10px}.redux-container-sortable .checkbox-container{width:364px}.redux-container-sortable .checkbox-container .drag{float:right;margin-left:10px}.redux-container-sortable ul.labeled li{line-height:1.4em!important}.redux-container-sortable li{line-height:30px!important}.redux-container-sortable li.ui-state-highlight{height:30px;width:364px;margin-bottom:13px}.redux-container-sortable li.placeholder{height:30px;margin:10px 0}.wp-customizer .redux-sortable input[type=text]{width:92%}.wp-customizer .redux-sortable i.el{margin-left:5px}.wp-customizer .redux-container-sortable .checkbox-container{width:inherit}.wp-customizer .redux-container-sortable .ui-draggable-handle{margin-left:3%}.redux-container-sorter{margin-right:-20px}.redux-container-sorter ul{background:#F9F9F9;border:1px solid #E3E3E3;min-height:40px;padding:10px 10px 0;width:145px;float:left;margin:0 15px 0 0}.redux-container-sorter ul.filled{opacity:.7;filter:alpha(opacity=70);background:#efecec}.redux-container-sorter ul li{border:1px solid #DFDFDF;cursor:move;font-weight:700;margin-bottom:10px!important;padding:0 10px;height:40px;line-height:40px!important;background-color:#F1F1F1;background-image:-ms-linear-gradient(top,#f9f9f9,#ececec);background-image:-moz-linear-gradient(top,#f9f9f9,#ececec);background-image:-o-linear-gradient(top,#f9f9f9,#ececec);background-image:-webkit-gradient(linear,left top,left bottom,from(#f9f9f9),to(#ececec));background-image:-webkit-linear-gradient(top,#f9f9f9,#ececec);background-image:linear-gradient(top,#f9f9f9,#ececec);overflow:hidden;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-moz-box-shadow:inset 0 1px 0 #fff;-webkit-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff;text-align:center}.redux-container-sorter ul li h3{margin:0 0 10px;text-align:center;color:#777;text-transform:capitalize;word-wrap:break-word}.redux-container-sorter ul li.placeholder{height:40px}.wp-customizer .redux-container-sorter ul{width:85%;margin:0 0 5px}.redux-container-spacing .select_wrapper,.redux-container-spacing select{width:80px!important;float:left}.redux-container-spacing .field-spacing-input{margin-right:10px;margin-bottom:7px}@media screen and (max-width:782px){.redux-container-spacing .field-spacing-input input{display:inline-block!important;width:70px!important}.redux-container-spacing .field-spacing-input .add-on{padding:7px 4px;font-size:16px;line-height:1.5}.redux-container-spacing .select_wrapper{margin-top:6px}}.redux-container-spinner .spinner-wrpr{position:relative;display:block;height:30px;overflow:hidden}.redux-container-spinner .spinner-wrpr .spinner-input{position:relative!important;z-index:1;width:45px!important;height:30px!important;background:#e7e7e7!important;border:1px solid #bfbfbf!important;border-right:0!important;border-left:0!important;-webkit-border-radius:0!important;-moz-border-radius:0!important;border-radius:0!important}.redux-container-spinner .ui-spinner{position:static;display:inline}.redux-container-spinner .ui-spinner-buttons{position:absolute;padding:0}.redux-container-spinner .ui-widget .ui-spinner-button{position:absolute;top:0;padding:0 0 30px;overflow:hidden;cursor:pointer;background:-moz-linear-gradient(#fff,#f3f3f3);background:-o-linear-gradient(#fff,#f3f3f3);background:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#f3f3f3));background:linear-gradient(#fff,#f3f3f3);background-color:#fff;border:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.redux-container-spinner .ui-spinner-button:hover,.redux-container-spinner .ui-state-hover{background:-moz-linear-gradient(#f3f3f3,#fff);background:-o-linear-gradient(#f3f3f3,#fff);background:-webkit-gradient(linear,left top,left bottom,from(#f3f3f3),to(#fff));background:linear-gradient(#f3f3f3,#fff);background-color:#f3f3f3}.redux-container-spinner .ui-corner-tr,.redux-container-spinner .ui-spinner-button .ui-icon-triangle-1-n{-webkit-border-radius:0 5px 5px 0;-moz-border-radius:0 5px 5px 0;border-radius:0 5px 5px 0}.redux-container-spinner .ui-corner-br,.redux-container-spinner .ui-spinner-button .ui-icon-triangle-1-s{-webkit-border-radius:5px 0 0 5px;-moz-border-radius:5px 0 0 5px;border-radius:5px 0 0 5px}.redux-container-spinner .ui-spinner-button .ui-icon{top:0;display:block;width:28px;height:28px;margin:0;border:1px solid #b7b7b7}.redux-container-spinner .ui-spinner-button .ui-icon-triangle-1-n{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAKCAYAAACXDi8zAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADxJREFUeNpsjwsKADAIQu3u3tsRY6M5gz7w0AqSQFLdZ3ZRgmf44JQ/EOZ9oYOsiDviVemP2oYoWCwBBgDpO6VXVo3RyQAAAABJRU5ErkJggg==) 10px 10px no-repeat!important}.redux-container-spinner .ui-spinner-button .ui-icon-triangle-1-s{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAKCAYAAACXDi8zAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADhJREFUeNpi+P//PwM6bmlpwS4IorEKokggC8Il0AVhEv9x6sAmiaz9P05XIUsygmVRAUiAESDAAFHcpVdWtdj/AAAAAElFTkSuQmCC) 10px 10px no-repeat!important}.redux-container-switch .cb-disable.selected,.redux-container-switch .cb-enable.selected{color:#fff}.redux-container-switch .switch-options{min-height:30px;margin-right:10px}.redux-container-switch .switch-options label{cursor:pointer; font-size: 11px !important;text-indent: unset !important;}.redux-container-switch .switch-options input{display:none}.redux-container-switch .cb-disable,.redux-container-switch .cb-enable{padding:0 10px;border-width:1px;border-style:solid;-webkit-appearance:none;white-space:nowrap;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.redux-container-switch .cb-disable span,.redux-container-switch .cb-enable span{line-height:30px;font-weight:700;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;-ms-user-select:none;user-select:none}.redux-container-switch .cb-disable,.redux-container-switch .cb-disable span,.redux-container-switch .cb-enable,.redux-container-switch .cb-enable span{display:block;float:left}.redux-container-switch .cb-enable{border-right:0;border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;-webkit-border-radius:3px 0 0 3px}.redux-container-switch .cb-disable{border-left:0;border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;-webkit-border-radius:0 3px 3px 0}.redux-container-text label{display:block;position:relative;font-size:12px!important;text-align:left;color:#999;margin:4px 0 2px!important;cursor:default;top:5px;width:100px}.redux-container-text input{clear:left}.redux-container-text .input_wrapper{display:block;position:relative;padding:0;width:23%;max-width:23%;min-width:70px;float:left;clear:left;height:57px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box;vertical-align:baseline}.wp-customizer .redux-container-text .input_wrapper{width:100%;max-width:100%;height:auto}.redux-main .redux-typography-container{display:block;position:relative;margin:0;padding:0;width:100%;max-width:660px}.redux-main .redux-typography-container .clearfix{clear:both}.redux-main .redux-typography-container .clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.redux-main .redux-typography-container .redux-typography-color,.redux-main .redux-typography-container input.wp-picker-default{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box;height:24px;padding:0 14px!important;margin-top:0;margin-bottom:0;margin-left:4px!important;font-size:12px!important}.redux-main .redux-typography-container .select_wrapper{display:block;position:relative;float:left;clear:none;margin:0 10px 0 0;width:48%!important;min-width:210px!important;max-width:324px!important;height:57px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box}.redux-main .redux-typography-container .select_wrapper:nth-child(even),.redux-main .redux-typography-container .select_wrapper:nth-child(odd){margin-right:10px!important}.redux-main .redux-typography-container .select_wrapper.typography-family .select2-container{width:100%}.redux-main .redux-typography-container .select_wrapper .redux-typography{font-size:14px!important;display:block;float:left;height:28px!important;line-height:50px!important;padding:0!important;width:100%!important;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box}.redux-main .redux-typography-container .wp-picker-container{float:left;clear:left;margin-bottom:12px;padding:3px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.redux-main .redux-typography-container .input_wrapper{display:block;position:relative;margin:0 4px 0 5px;padding:0;width:23%;max-width:23%;min-width:70px;float:left;clear:none;height:57px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box;vertical-align:baseline}.redux-main .redux-typography-container .input_wrapper.font-size{margin-left:0}.redux-main .redux-typography-container .input_wrapper input.mini{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box;width:78%;text-align:center;margin:0;height:28px;top:3px;padding:0 2px 0 5px;text-decoration:none;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.redux-main .redux-typography-container .picker-wrapper{display:block;position:relative;margin:0;padding:0;width:23%;width:100%;max-width:23%;min-width:70px;min-width:100%;clear:none;height:57px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box;vertical-align:baseline}.redux-main .redux-typography-container label{display:block;position:relative;font-size:12px!important;text-align:left;color:#999;margin:4px 0 2px!important;cursor:default}.redux-main .redux-typography-container .typography-preview{display:none;width:100%;border:1px dotted #d3d3d3;max-width:850px;padding:10px;font-size:10pt;height:auto;margin:5px 0 10px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.redux-main .redux-typography-container .typography-color{border:0;margin:0}.redux-main .redux-typography-container ::-webkit-input-placeholder{line-height:19px}@media screen and (max-width:540px){.redux-main .redux-main .redux-typography-container{max-width:230px;margin:0 auto}.redux-main .redux-main .redux-typography-container .select_wrapper{max-width:210px;min-width:210px;width:210px;margin-left:0!important;margin-right:0!important}.redux-main .redux-main .redux-typography-container .input_wrapper{max-width:101px;min-width:101px;width:101px;margin-left:0!important;margin-right:5px!important}.redux-main .redux-main .redux-typography-container .input_wrapper input.mini{width:73%}.redux-main .redux-main .redux-typography-container .input-append .add-on{width:30%;padding:5px!important}.redux-main .redux-main .redux-main .wp-picker-container .wp-picker-input-wrap{margin-top:7px}}@media screen and (max-width:360px){.redux-main .redux-typography-container .iris-picker .iris-square{margin-right:3%}}.wp-customizer .redux-typography-container .input_wrapper{width:40%;max-width:40%;min-width:20%}.wp-customizer .redux-typography-container .input_wrapper input.mini{width:70%}.wp-customizer .redux-typography-container .select_wrapper{width:100%!important}.redux-main input.redux-color{float:left;width:70px;margin-left:5px}.redux-main input.color-transparency{margin-left:10px;margin-right:3px}.redux-main input.wp-color-picker{width:80px!important}.redux-main .section-color .controls{width:345px}.redux-main .section-color .explain{width:225px}.redux-main .iris-picker .iris-strip .ui-slider-handle{position:absolute;background:0 0!important;right:-3px;left:-3px;border:4px solid #aaa!important;border-width:4px 3px;width:auto;border-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,.2);opacity:.9;z-index:5;cursor:ns-resize}.redux-main .iris-picker .iris-slider-offset{position:absolute;top:2px;left:0;right:0;bottom:4px;width:28px;background:0 0!important;border:0!important;height:auto}.redux-main .wp-picker-container input{margin-bottom:inherit;margin-top:inherit;padding:3px 5px}.redux-main .wp-picker-container .wp-color-result{outline:0;margin:0}.redux-main .wp-picker-container .wp-picker-default{padding:0 10px 1px}.redux-main .redux-color-gradient{line-height:24px}.redux-main .color-transparency-check{line-height:1;margin-top:0!important}.redux-main .wp-picker-clear{margin-top:0!important}.wp-customizer .redux-main .redux-typography-container .redux-typography-color,.wp-customizer .redux-main .redux-typography-container input.wp-picker-default,.wp-customizer .redux-main input.wp-picker-default{padding:0 4px!important}.wp-customizer .redux-main input.wp-color-picker{width:65px!important;margin-left:5px!important}.redux-main .button.remove-image,.redux-main .removeCSS{margin-left:10px;color:#ef521d}.redux-main .button.remove-image:hover,.redux-main .removeCSS:hover{color:red}.redux-main .upload_button_div{float:left}.redux-main .upload-error{float:left;color:#666;font-size:10px;font-weight:700;text-decoration:none;text-shadow:1px 1px 0 #FFF;margin:0 10px 0 0;padding:3px 10px;background:#FFDFEC;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.redux-main .reset-button{font-family:Arial,Verdana,sans-serif;float:left;margin:0;color:#ef521d;border-color:#bbb}.redux-main .redux-option-image{max-height:340px;max-width:340px;padding:5px;margin-bottom:0;margin-top:10px;margin-right:15px;border:1px solid #e3e3e3;background:#f7f7f7;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.redux-main .redux-main .upload{width:80%!important}.redux-main .button{margin-top:2px}
|
2 |
/*field switch css as iphone*/
|
3 |
+
.ios7-switch {
|
4 |
+
/* display: inline-block; */
|
5 |
+
position: relative;
|
6 |
+
cursor: pointer;
|
7 |
+
-webkit-user-select: none;
|
8 |
+
-moz-user-select: none;
|
9 |
+
-ms-user-select: none;
|
10 |
+
user-select: none;
|
11 |
+
-webkit-tap-highlight-color: transparent;
|
12 |
+
tap-highlight-color: transparent;
|
13 |
+
}
|
14 |
+
|
15 |
+
.ios7-switch input {
|
16 |
+
opacity: 0;
|
17 |
+
position: absolute;
|
18 |
+
}
|
19 |
+
|
20 |
+
.ios7-switch input + span {
|
21 |
+
position: relative;
|
22 |
+
display: inline-block;
|
23 |
+
width: 42px;
|
24 |
+
height: 14px;
|
25 |
+
background: rgb(124, 144, 164);
|
26 |
+
/* box-shadow: inset 0 0 0 0.0625em #cacaca; */
|
27 |
+
border-radius: 22em;
|
28 |
+
vertical-align: -0.15em;
|
29 |
+
transition: all 0.40s cubic-bezier(.17,.67,.43,.98);
|
30 |
+
}
|
31 |
+
|
32 |
+
.ios7-switch:active input + span,
|
33 |
+
.ios7-switch input + span:active {
|
34 |
+
box-shadow: inset 0 0 0 2em #ccc;
|
35 |
+
}
|
36 |
+
|
37 |
+
.ios7-switch input + span:after {
|
38 |
+
position: absolute;
|
39 |
+
display: block;
|
40 |
+
content: '';
|
41 |
+
width: 22px;
|
42 |
+
height: 22px;
|
43 |
+
border-radius: 10em;
|
44 |
+
top: -4px;
|
45 |
+
left:0px;
|
46 |
+
background: white;
|
47 |
+
box-shadow: inset 0 0 0 0.01em rgba(0,0,0,0.25), 0 0 0.15em rgba(0,0,0,0.20), 0.1em 0.04em 0.2em rgba(0,0,0,0.25);
|
48 |
+
transition: all 0.25s ease-out;
|
49 |
+
}
|
50 |
+
|
51 |
+
.ios7-switch:active input + span:after,
|
52 |
+
.ios7-switch input + span:active:after {
|
53 |
+
width:2.7em;
|
54 |
+
}
|
55 |
+
|
56 |
+
.ios7-switch input:checked + span {
|
57 |
+
box-shadow: inset 0 0 0 2em rgb(19, 163, 21);
|
58 |
+
}
|
59 |
+
|
60 |
+
.ios7-switch input:checked + span:after {
|
61 |
+
left: 22px;
|
62 |
+
background: rgb(0, 193, 26);
|
63 |
+
box-shadow: rgba(0, 0, 0, 0.24) 0px 2px 3px 0px;
|
64 |
+
}
|
65 |
+
|
66 |
+
.ios7-switch:active input:checked + span:after,
|
67 |
+
.ios7-switch input:checked + span:active:after {
|
68 |
+
left: 2.25em;
|
69 |
+
}
|
70 |
+
|
71 |
+
/* accessibility styles */
|
72 |
+
.ios7-switch input:focus + span:after {
|
73 |
+
box-shadow: inset 0 0 0 0.03em rgba(0,0,0,0.15),
|
74 |
+
0 0 0.05em rgba(0,0,0,0.08),
|
75 |
+
0 0.1em 0.2em rgba(0,0,0,0.3);
|
76 |
+
background: #fff;
|
77 |
+
}
|
78 |
+
|
79 |
+
.ios7-switch input:focus + span {
|
80 |
+
/* box-shadow: inset 0 0 0 1.0625em #dadada;*/
|
81 |
+
}
|
82 |
+
|
83 |
+
.ios7-switch input:focus:checked + span {
|
84 |
+
box-shadow: inset 0 0 0 2em #31409e;
|
85 |
+
}
|
86 |
+
|
87 |
+
/* reset accessibility style on hover */
|
88 |
+
.ios7-switch:hover input:focus + span:after {
|
89 |
+
box-shadow: inset 0 0 0 0.03em rgba(0,0,0,0.1),
|
90 |
+
0 0 0.05em rgba(0,0,0,0.05),
|
91 |
+
0 0.1em 0.2em rgba(0,0,0,0.2);
|
92 |
+
background: #fff;
|
93 |
+
}
|
94 |
+
|
95 |
+
.ios7-switch:hover input:focus + span {
|
96 |
+
box-shadow: inset 0 0 0 0.0625em #ccc;
|
97 |
+
}
|
98 |
+
|
99 |
+
.ios7-switch:hover input:focus:checked + span {
|
100 |
+
box-shadow: inset 0 0 0 2em #31409e;
|
101 |
+
}
|
102 |
/*** Menu Types CSS ***/
|
103 |
#redux_builder_amp-menu-type ul.redux-image-select li{
|
104 |
width:45% ;
|
@@ -366,7 +366,7 @@ See http://bgrins.github.io/spectrum/themes/ for instructions.
|
|
366 |
margin:0;
|
367 |
overflow:hidden;
|
368 |
cursor:pointer;
|
369 |
-
padding:
|
370 |
display:inline-block;
|
371 |
*zoom: 1;
|
372 |
*display: inline;
|
366 |
margin:0;
|
367 |
overflow:hidden;
|
368 |
cursor:pointer;
|
369 |
+
padding: 3px 10px 3px 3px;
|
370 |
display:inline-block;
|
371 |
*zoom: 1;
|
372 |
*display: inline;
|
@@ -1 +1 @@
|
|
1 |
-
.sp-container{position:absolute;top:0;left:0;display:inline-block;*display:inline;*zoom:1;z-index:9999994;overflow:hidden}.sp-container.sp-flat{position:relative}.sp-container,.sp-container *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.sp-top{position:relative;width:100%;display:inline-block}.sp-top-inner{position:absolute;top:0;left:0;bottom:0;right:0}.sp-color{position:absolute;top:0;left:0;bottom:0;right:20%}.sp-hue{position:absolute;top:0;right:0;bottom:0;left:84%;height:100%}.sp-clear-enabled .sp-hue{top:33px;height:77.5%}.sp-fill{padding-top:80%}.sp-sat,.sp-val{position:absolute;top:0;left:0;right:0;bottom:0}.sp-alpha-enabled .sp-top{margin-bottom:18px}.sp-alpha-enabled .sp-alpha{display:block}.sp-alpha-handle{position:absolute;top:-4px;bottom:-4px;width:6px;left:50%;cursor:pointer;border:1px solid black;background:white;opacity:.8}.sp-alpha{display:none;position:absolute;bottom:-14px;right:0;left:0;height:8px}.sp-alpha-inner{border:solid 1px #333}.sp-clear{display:none}.sp-clear.sp-clear-display{background-position:center}.sp-clear-enabled .sp-clear{display:block;position:absolute;top:0;right:0;bottom:0;left:84%;height:28px}.sp-container,.sp-replacer,.sp-preview,.sp-dragger,.sp-slider,.sp-alpha,.sp-clear,.sp-alpha-handle,.sp-container.sp-dragging .sp-input,.sp-container button{-webkit-user-select:none;-moz-user-select:-moz-none;-o-user-select:none;user-select:none}.sp-container.sp-input-disabled .sp-input-container{display:none}.sp-container.sp-buttons-disabled .sp-button-container{display:none}.sp-container.sp-palette-buttons-disabled .sp-palette-button-container{display:none}.sp-palette-only .sp-picker-container{display:none}.sp-palette-disabled .sp-palette-container{display:none}.sp-initial-disabled .sp-initial{display:none}.sp-sat{background-image:-webkit-gradient(linear,0 0,100% 0,from(#FFF),to(rgba(204,154,129,0)));background-image:-webkit-linear-gradient(left,#FFF,rgba(204,154,129,0));background-image:-moz-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:-o-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:-ms-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:linear-gradient(to right,#fff,rgba(204,154,129,0));-ms-filter:"progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr=#FFFFFFFF, endColorstr=#00CC9A81)";filter:progid:DXImageTransform.Microsoft.gradient(GradientType = 1,startColorstr='#FFFFFFFF',endColorstr='#00CC9A81')}.sp-val{background-image:-webkit-gradient(linear,0 100%,0 0,from(#000),to(rgba(204,154,129,0)));background-image:-webkit-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-moz-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-o-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-ms-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:linear-gradient(to top,#000,rgba(204,154,129,0));-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#00CC9A81, endColorstr=#FF000000)";filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00CC9A81',endColorstr='#FF000000')}.sp-hue{background:-moz-linear-gradient(top,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%);background:-ms-linear-gradient(top,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%);background:-o-linear-gradient(top,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%);background:-webkit-gradient(linear,left top,left bottom,from(#f00),color-stop(0.17,#ff0),color-stop(0.33,#0f0),color-stop(0.5,#0ff),color-stop(0.67,#00f),color-stop(0.83,#f0f),to(#f00));background:-webkit-linear-gradient(top,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%);background:linear-gradient(to bottom,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%)}.sp-1{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0000',endColorstr='#ffff00')}.sp-2{height:16%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff00',endColorstr='#00ff00')}.sp-3{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ff00',endColorstr='#00ffff')}.sp-4{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffff',endColorstr='#0000ff')}.sp-5{height:16%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0000ff',endColorstr='#ff00ff')}.sp-6{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff00ff',endColorstr='#ff0000')}.sp-hidden{display:none!important}.sp-cf:before,.sp-cf:after{content:"";display:table}.sp-cf:after{clear:both}.sp-cf{*zoom:1}@media(max-device-width:480px){.sp-color{right:40%}.sp-hue{left:63%}.sp-fill{padding-top:60%}}.sp-dragger{border-radius:5px;height:5px;width:5px;border:1px solid #fff;background:#000;cursor:pointer;position:absolute;top:0;left:0}.sp-slider{position:absolute;top:0;cursor:pointer;height:3px;left:-1px;right:-1px;border:1px solid #000;background:white;opacity:.8}.sp-container{border-radius:0;background-color:#ececec;border:solid 1px #f0c49b;padding:0}.sp-container,.sp-container button,.sp-container input,.sp-color,.sp-hue,.sp-clear{font:normal 12px "Lucida Grande","Lucida Sans Unicode","Lucida Sans",Geneva,Verdana,sans-serif;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.sp-top{margin-bottom:3px}.sp-color,.sp-hue,.sp-clear{border:solid 1px #666}.sp-input-container{float:right;width:100px;margin-bottom:4px}.sp-initial-disabled .sp-input-container{width:100%}.sp-input{font-size:12px!important;border:1px inset;padding:4px 5px;margin:0;width:100%;background:transparent;border-radius:3px;color:#222}.sp-input:focus{border:1px solid orange}.sp-input.sp-validation-error{border:1px solid red;background:#fdd}.sp-picker-container,.sp-palette-container{float:left;position:relative;padding:10px;padding-bottom:300px;margin-bottom:-290px}.sp-picker-container{width:172px;border-left:solid 1px #fff}.sp-palette-container{border-right:solid 1px #ccc}.sp-palette-only .sp-palette-container{border:0}.sp-palette .sp-thumb-el{display:block;position:relative;float:left;width:24px;height:15px;margin:3px;cursor:pointer;border:solid 2px transparent}.sp-palette .sp-thumb-el:hover,.sp-palette .sp-thumb-el.sp-thumb-active{border-color:orange}.sp-thumb-el{position:relative}.sp-initial{float:left;border:solid 1px #333}.sp-initial span{width:30px;height:25px;border:0;display:block;float:left;margin:0}.sp-initial .sp-clear-display{background-position:center}.sp-palette-button-container,.sp-button-container{float:right}.sp-replacer{margin:0;overflow:hidden;cursor:pointer;padding:4px;display:inline-block;*zoom:1;*display:inline;border:solid 1px #91765d;background:#eee;color:#333;vertical-align:middle}.sp-replacer:hover,.sp-replacer.sp-active{border-color:#f0c49b;color:#111}.sp-replacer.sp-disabled{cursor:default;border-color:silver;color:silver}.sp-dd{padding:2px 0;height:16px;line-height:16px;float:left;font-size:10px}.sp-preview{position:relative;width:25px;height:20px;border:solid 1px #222;margin-right:5px;float:left;z-index:0}.sp-palette{*width:220px;max-width:220px}.sp-palette .sp-thumb-el{width:16px;height:16px;margin:2px 1px;border:solid 1px #d0d0d0}.sp-container{padding-bottom:0}.sp-container button{background-color:#eee;background-image:-webkit-linear-gradient(top,#eee,#ccc);background-image:-moz-linear-gradient(top,#eee,#ccc);background-image:-ms-linear-gradient(top,#eee,#ccc);background-image:-o-linear-gradient(top,#eee,#ccc);background-image:linear-gradient(to bottom,#eee,#ccc);border:1px solid #ccc;border-bottom:1px solid #bbb;border-radius:3px;color:#333;font-size:14px;line-height:1;padding:5px 4px;text-align:center;text-shadow:0 1px 0 #eee;vertical-align:middle}.sp-container button:hover{background-color:#ddd;background-image:-webkit-linear-gradient(top,#ddd,#bbb);background-image:-moz-linear-gradient(top,#ddd,#bbb);background-image:-ms-linear-gradient(top,#ddd,#bbb);background-image:-o-linear-gradient(top,#ddd,#bbb);background-image:linear-gradient(to bottom,#ddd,#bbb);border:1px solid #bbb;border-bottom:1px solid #999;cursor:pointer;text-shadow:0 1px 0 #ddd}.sp-container button:active{border:1px solid #aaa;border-bottom:1px solid #888;-webkit-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;-moz-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;-ms-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;-o-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee}.sp-cancel{font-size:11px;color:#d93f3f!important;margin:0;padding:2px;margin-right:5px;vertical-align:middle;text-decoration:none}.sp-cancel:hover{color:#d93f3f!important;text-decoration:underline}.sp-palette span:hover,.sp-palette span.sp-thumb-active{border-color:#000}.sp-preview,.sp-alpha,.sp-thumb-el{position:relative;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.sp-preview-inner,.sp-alpha-inner,.sp-thumb-inner{display:block;position:absolute;top:0;left:0;bottom:0;right:0}.sp-palette .sp-thumb-inner{background-position:50% 50%;background-repeat:no-repeat}.sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=)}.sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAP8ALAAAAAAUABQAAAihAP9FoPCvoMGDBy08+EdhQAIJCCMybCDAAYUEARBAlFiQQoMABQhKUJBxY0SPICEYHBnggEmDKAuoPMjS5cGYMxHW3IiT478JJA8M/CjTZ0GgLRekNGpwAsYABHIypcAgQMsITDtWJYBR6NSqMico9cqR6tKfY7GeBCuVwlipDNmefAtTrkSzB1RaIAoXodsABiZAEFB06gIBWC1mLVgBa0AAOw==)}
|
1 |
+
.sp-container{position:absolute;top:0;left:0;display:inline-block;*display:inline;*zoom:1;z-index:9999994;overflow:hidden}.sp-container.sp-flat{position:relative}.sp-container,.sp-container *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.sp-top{position:relative;width:100%;display:inline-block}.sp-top-inner{position:absolute;top:0;left:0;bottom:0;right:0}.sp-color{position:absolute;top:0;left:0;bottom:0;right:20%}.sp-hue{position:absolute;top:0;right:0;bottom:0;left:84%;height:100%}.sp-clear-enabled .sp-hue{top:33px;height:77.5%}.sp-fill{padding-top:80%}.sp-sat,.sp-val{position:absolute;top:0;left:0;right:0;bottom:0}.sp-alpha-enabled .sp-top{margin-bottom:18px}.sp-alpha-enabled .sp-alpha{display:block}.sp-alpha-handle{position:absolute;top:-4px;bottom:-4px;width:6px;left:50%;cursor:pointer;border:1px solid black;background:white;opacity:.8}.sp-alpha{display:none;position:absolute;bottom:-14px;right:0;left:0;height:8px}.sp-alpha-inner{border:solid 1px #333}.sp-clear{display:none}.sp-clear.sp-clear-display{background-position:center}.sp-clear-enabled .sp-clear{display:block;position:absolute;top:0;right:0;bottom:0;left:84%;height:28px}.sp-container,.sp-replacer,.sp-preview,.sp-dragger,.sp-slider,.sp-alpha,.sp-clear,.sp-alpha-handle,.sp-container.sp-dragging .sp-input,.sp-container button{-webkit-user-select:none;-moz-user-select:-moz-none;-o-user-select:none;user-select:none}.sp-container.sp-input-disabled .sp-input-container{display:none}.sp-container.sp-buttons-disabled .sp-button-container{display:none}.sp-container.sp-palette-buttons-disabled .sp-palette-button-container{display:none}.sp-palette-only .sp-picker-container{display:none}.sp-palette-disabled .sp-palette-container{display:none}.sp-initial-disabled .sp-initial{display:none}.sp-sat{background-image:-webkit-gradient(linear,0 0,100% 0,from(#FFF),to(rgba(204,154,129,0)));background-image:-webkit-linear-gradient(left,#FFF,rgba(204,154,129,0));background-image:-moz-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:-o-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:-ms-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:linear-gradient(to right,#fff,rgba(204,154,129,0));-ms-filter:"progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr=#FFFFFFFF, endColorstr=#00CC9A81)";filter:progid:DXImageTransform.Microsoft.gradient(GradientType = 1,startColorstr='#FFFFFFFF',endColorstr='#00CC9A81')}.sp-val{background-image:-webkit-gradient(linear,0 100%,0 0,from(#000),to(rgba(204,154,129,0)));background-image:-webkit-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-moz-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-o-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-ms-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:linear-gradient(to top,#000,rgba(204,154,129,0));-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#00CC9A81, endColorstr=#FF000000)";filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00CC9A81',endColorstr='#FF000000')}.sp-hue{background:-moz-linear-gradient(top,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%);background:-ms-linear-gradient(top,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%);background:-o-linear-gradient(top,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%);background:-webkit-gradient(linear,left top,left bottom,from(#f00),color-stop(0.17,#ff0),color-stop(0.33,#0f0),color-stop(0.5,#0ff),color-stop(0.67,#00f),color-stop(0.83,#f0f),to(#f00));background:-webkit-linear-gradient(top,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%);background:linear-gradient(to bottom,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%)}.sp-1{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0000',endColorstr='#ffff00')}.sp-2{height:16%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff00',endColorstr='#00ff00')}.sp-3{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ff00',endColorstr='#00ffff')}.sp-4{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffff',endColorstr='#0000ff')}.sp-5{height:16%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0000ff',endColorstr='#ff00ff')}.sp-6{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff00ff',endColorstr='#ff0000')}.sp-hidden{display:none!important}.sp-cf:before,.sp-cf:after{content:"";display:table}.sp-cf:after{clear:both}.sp-cf{*zoom:1}@media(max-device-width:480px){.sp-color{right:40%}.sp-hue{left:63%}.sp-fill{padding-top:60%}}.sp-dragger{border-radius:5px;height:5px;width:5px;border:1px solid #fff;background:#000;cursor:pointer;position:absolute;top:0;left:0}.sp-slider{position:absolute;top:0;cursor:pointer;height:3px;left:-1px;right:-1px;border:1px solid #000;background:white;opacity:.8}.sp-container{border-radius:0;background-color:#ececec;border:solid 1px #f0c49b;padding:0}.sp-container,.sp-container button,.sp-container input,.sp-color,.sp-hue,.sp-clear{font:normal 12px "Lucida Grande","Lucida Sans Unicode","Lucida Sans",Geneva,Verdana,sans-serif;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.sp-top{margin-bottom:3px}.sp-color,.sp-hue,.sp-clear{border:solid 1px #666}.sp-input-container{float:right;width:100px;margin-bottom:4px}.sp-initial-disabled .sp-input-container{width:100%}.sp-input{font-size:12px!important;border:1px inset;padding:4px 5px;margin:0;width:100%;background:transparent;border-radius:3px;color:#222}.sp-input:focus{border:1px solid orange}.sp-input.sp-validation-error{border:1px solid red;background:#fdd}.sp-picker-container,.sp-palette-container{float:left;position:relative;padding:10px;padding-bottom:300px;margin-bottom:-290px}.sp-picker-container{width:172px;border-left:solid 1px #fff}.sp-palette-container{border-right:solid 1px #ccc}.sp-palette-only .sp-palette-container{border:0}.sp-palette .sp-thumb-el{display:block;position:relative;float:left;width:24px;height:15px;margin:3px;cursor:pointer;border:solid 2px transparent}.sp-palette .sp-thumb-el:hover,.sp-palette .sp-thumb-el.sp-thumb-active{border-color:orange}.sp-thumb-el{position:relative}.sp-initial{float:left;border:solid 1px #333}.sp-initial span{width:30px;height:25px;border:0;display:block;float:left;margin:0}.sp-initial .sp-clear-display{background-position:center}.sp-palette-button-container,.sp-button-container{float:right} .sp-replacer{margin:0;overflow:hidden;cursor:pointer;padding:3px 10px 3px 3px;display:inline-block;*zoom:1;*display:inline;border:solid 1px #91765d;background:#eee;color:#333;vertical-align:middle}.sp-replacer:hover,.sp-replacer.sp-active{border-color:#f0c49b;color:#111}.sp-replacer.sp-disabled{cursor:default;border-color:silver;color:silver}.sp-dd{padding:2px 0;height:16px;line-height:16px;float:left;font-size:10px}.sp-preview{position:relative;width:25px;height:20px;border:solid 1px #222;margin-right:5px;float:left;z-index:0}.sp-palette{*width:220px;max-width:220px}.sp-palette .sp-thumb-el{width:16px;height:16px;margin:2px 1px;border:solid 1px #d0d0d0}.sp-container{padding-bottom:0}.sp-container button{background-color:#eee;background-image:-webkit-linear-gradient(top,#eee,#ccc);background-image:-moz-linear-gradient(top,#eee,#ccc);background-image:-ms-linear-gradient(top,#eee,#ccc);background-image:-o-linear-gradient(top,#eee,#ccc);background-image:linear-gradient(to bottom,#eee,#ccc);border:1px solid #ccc;border-bottom:1px solid #bbb;border-radius:3px;color:#333;font-size:14px;line-height:1;padding:5px 4px;text-align:center;text-shadow:0 1px 0 #eee;vertical-align:middle}.sp-container button:hover{background-color:#ddd;background-image:-webkit-linear-gradient(top,#ddd,#bbb);background-image:-moz-linear-gradient(top,#ddd,#bbb);background-image:-ms-linear-gradient(top,#ddd,#bbb);background-image:-o-linear-gradient(top,#ddd,#bbb);background-image:linear-gradient(to bottom,#ddd,#bbb);border:1px solid #bbb;border-bottom:1px solid #999;cursor:pointer;text-shadow:0 1px 0 #ddd}.sp-container button:active{border:1px solid #aaa;border-bottom:1px solid #888;-webkit-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;-moz-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;-ms-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;-o-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee}.sp-cancel{font-size:11px;color:#d93f3f!important;margin:0;padding:2px;margin-right:5px;vertical-align:middle;text-decoration:none}.sp-cancel:hover{color:#d93f3f!important;text-decoration:underline}.sp-palette span:hover,.sp-palette span.sp-thumb-active{border-color:#000}.sp-preview,.sp-alpha,.sp-thumb-el{position:relative;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.sp-preview-inner,.sp-alpha-inner,.sp-thumb-inner{display:block;position:absolute;top:0;left:0;bottom:0;right:0}.sp-palette .sp-thumb-inner{background-position:50% 50%;background-repeat:no-repeat}.sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=)}.sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAMdJREFUOE+tkgsNwzAMRMugEAahEAahEAZhEAqlEAZhEAohEAYh81X2dIm8fKpEspLGvudPOsUYpxE2BIJCroJmEW9qJ+MKaBFhEMNabSy9oIcIPwrB+afvAUFoK4H0tMaQ3XtlrggDhOVVMuT4E5MMG0FBbCEYzjYT7OxLEvIHQLY2zWwQ3D+9luyOQTfKDiFD3iUIfPk8VqrKjgAiSfGFPecrg6HN6m/iBcwiDAo7WiBeawa+Kwh7tZoSCGLMqwlSAzVDhoK+6v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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAP8ALAAAAAAUABQAAAihAP9FoPCvoMGDBy08+EdhQAIJCCMybCDAAYUEARBAlFiQQoMABQhKUJBxY0SPICEYHBnggEmDKAuoPMjS5cGYMxHW3IiT478JJA8M/CjTZ0GgLRekNGpwAsYABHIypcAgQMsITDtWJYBR6NSqMico9cqR6tKfY7GeBCuVwlipDNmefAtTrkSzB1RaIAoXodsABiZAEFB06gIBWC1mLVgBa0AAOw==)}
|
@@ -1980,7 +1980,31 @@
|
|
1980 |
}
|
1981 |
}
|
1982 |
|
1983 |
-
if ( isset ( $field['subtitle'] ) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1984 |
$th .= '<span class="description">' . $field['subtitle'] . '</span>';
|
1985 |
}
|
1986 |
}
|
@@ -3200,6 +3224,16 @@
|
|
3200 |
$subsectionsClass = $subsections ? ' hasSubSections' : '';
|
3201 |
$subsectionsClass .= ( ! isset ( $section['fields'] ) || empty ( $section['fields'] ) ) ? ' empty_section' : '';
|
3202 |
$extra_icon = $subsections ? '<span class="extraIconSubsections"><i class="el el-chevron-down"> </i></span>' : '';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3203 |
$string .= '<li id="' . esc_attr( $k . $suffix ) . '_section_group_li" class="redux-group-tab-link-li '.$addClass.'' . esc_attr( $hide_section ) . esc_attr( $section['class'] ) . esc_attr( $subsectionsClass ) . ' ' . strtolower( wp_kses_post( $section['id'] )) . '" '.$style.'>';
|
3204 |
$string .= '<a href="javascript:void(0);" id="' . esc_attr( $k . $suffix ) . '_section_group_li_a" class="redux-group-tab-link-a" data-key="' . esc_attr( $k ) . '" data-rel="' . esc_attr( $k . $suffix ) . '">' . $extra_icon . $icon . '<span class="group_title">' . wp_kses_post( $section['title'] ) . '</span></a>';
|
3205 |
|
@@ -3305,7 +3339,13 @@
|
|
3305 |
$id = str_replace($this->args['opt_name'], '', $id);
|
3306 |
|
3307 |
if ( isset ( $this->sections[ $id ]['desc'] ) && ! empty ( $this->sections[ $id ]['desc'] ) ) {
|
3308 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
3309 |
}
|
3310 |
}
|
3311 |
|
1980 |
}
|
1981 |
}
|
1982 |
|
1983 |
+
if ( isset ( $field['tooltip-subtitle'] ) ) {
|
1984 |
+
// $th .= '<span class="afw-tooltip" title="' . $field['subtitle'] . ' <div><a targe="blank" href="https://google.com/">Create</a></div>"><i class="el el-question-sign "></i></span>';
|
1985 |
+
$bottomTool = '';
|
1986 |
+
if(isset($field['tooltip-audio']) || isset($field['tooltip-video'])){
|
1987 |
+
$videoLink = $audioLink = '';
|
1988 |
+
if(isset($field['tooltip-video'])){
|
1989 |
+
$videoLink = '<span class="help-wrap"><a href="' . $field['tooltip-video'] . '"><i class="dashicons-before dashicons-video-alt3"></i> See Video
|
1990 |
+
</span>';
|
1991 |
+
}
|
1992 |
+
if(isset($field['tooltip-audio'])){
|
1993 |
+
$audioLink = ' <span class="help-wrap amp-opt-playAudio" data-audio-url="' . $field['tooltip-audio'] . '">
|
1994 |
+
<i class="dashicons-before dashicons-controls-play"></i>
|
1995 |
+
Listen
|
1996 |
+
</span>';
|
1997 |
+
}
|
1998 |
+
$bottomTool = '<div class="afw-tootip-bottom">
|
1999 |
+
'. $audioLink .'
|
2000 |
+
'. $videoLink .'
|
2001 |
+
</div>';
|
2002 |
+
}
|
2003 |
+
$th .= '<span class="afw-tooltip"><i class="el el-question-sign "></i>
|
2004 |
+
<span class="afw-help-subtitle">' . $field['tooltip-subtitle'] . $bottomTool. '</span>
|
2005 |
+
</span>';
|
2006 |
+
}
|
2007 |
+
if(isset($field['subtitle'])){
|
2008 |
$th .= '<span class="description">' . $field['subtitle'] . '</span>';
|
2009 |
}
|
2010 |
}
|
3224 |
$subsectionsClass = $subsections ? ' hasSubSections' : '';
|
3225 |
$subsectionsClass .= ( ! isset ( $section['fields'] ) || empty ( $section['fields'] ) ) ? ' empty_section' : '';
|
3226 |
$extra_icon = $subsections ? '<span class="extraIconSubsections"><i class="el el-chevron-down"> </i></span>' : '';
|
3227 |
+
$addClass = ''; $style="";
|
3228 |
+
$current_screen = get_current_screen();
|
3229 |
+
if(is_object($current_screen) && $current_screen->parent_base=='amp_options'){
|
3230 |
+
$enabledOptions = array('basic', 'design', 'opt-go-premium');
|
3231 |
+
if(!in_array($section['id'], $enabledOptions)){
|
3232 |
+
$addClass = 'otherSectionFields';
|
3233 |
+
$style="style='display:none;'";
|
3234 |
+
}
|
3235 |
+
}
|
3236 |
+
|
3237 |
$string .= '<li id="' . esc_attr( $k . $suffix ) . '_section_group_li" class="redux-group-tab-link-li '.$addClass.'' . esc_attr( $hide_section ) . esc_attr( $section['class'] ) . esc_attr( $subsectionsClass ) . ' ' . strtolower( wp_kses_post( $section['id'] )) . '" '.$style.'>';
|
3238 |
$string .= '<a href="javascript:void(0);" id="' . esc_attr( $k . $suffix ) . '_section_group_li_a" class="redux-group-tab-link-a" data-key="' . esc_attr( $k ) . '" data-rel="' . esc_attr( $k . $suffix ) . '">' . $extra_icon . $icon . '<span class="group_title">' . wp_kses_post( $section['title'] ) . '</span></a>';
|
3239 |
|
3339 |
$id = str_replace($this->args['opt_name'], '', $id);
|
3340 |
|
3341 |
if ( isset ( $this->sections[ $id ]['desc'] ) && ! empty ( $this->sections[ $id ]['desc'] ) ) {
|
3342 |
+
$descriptions = $this->sections[ $id ]['desc'];
|
3343 |
+
foreach ($this->sections as $key => $value) {
|
3344 |
+
if(strpos($descriptions, '{'.$value['id'].'}')!==false){
|
3345 |
+
$descriptions = str_replace('{'.$value['id'].'}', 'admin.php?page=amp_options&tab='.$key, $descriptions);
|
3346 |
+
}
|
3347 |
+
}
|
3348 |
+
echo '<div class="redux-section-desc">' . $descriptions . '</div>';
|
3349 |
}
|
3350 |
}
|
3351 |
|
@@ -1 +1 @@
|
|
1 |
-
.redux-container-ace_editor .ace-wrapper{position:static}.redux-container-ace_editor .ace_editor{height:200px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.redux-container-ace_editor .ace_gutter{z-index:1 !important}
|
1 |
+
.redux-container-ace_editor .ace-wrapper{position:static;margin-top: 30px;}.redux-container-ace_editor .ace_editor{height:200px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.redux-container-ace_editor .ace_gutter{z-index:1 !important}
|
@@ -77,7 +77,18 @@
|
|
77 |
|
78 |
echo '<input type="hidden" id="' . esc_attr($this->field['id']) . '-marker"></td></tr></table>';
|
79 |
|
80 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
|
82 |
if ( ! empty( $this->field['title'] ) ) {
|
83 |
echo '<h3>' . esc_html($this->field['title']) . '</h3>';
|
77 |
|
78 |
echo '<input type="hidden" id="' . esc_attr($this->field['id']) . '-marker"></td></tr></table>';
|
79 |
|
80 |
+
$classModify = "";
|
81 |
+
if(isset($this->field['layout_type']) && $this->field['layout_type']=='accordion'){
|
82 |
+
$classModify .= " afw-accordion-header";
|
83 |
+
}
|
84 |
+
if(isset($this->field['accordion-open']) && $this->field['accordion-open']==1){
|
85 |
+
$classModify .= " afw-accordion-tab-open";
|
86 |
+
}
|
87 |
+
elseif(isset($this->field['accordion-open']) && $this->field['accordion-open']==0){
|
88 |
+
$classModify .= " afw-accordion-tab-close";
|
89 |
+
}
|
90 |
+
|
91 |
+
echo '<div id="section-' . esc_attr($this->field['id']) . '" class="redux-section-field redux-field ' . esc_attr($this->field['style']) . ' ' . esc_attr($this->field['class']) . ' '.$classModify.'">';
|
92 |
|
93 |
if ( ! empty( $this->field['title'] ) ) {
|
94 |
echo '<h3>' . esc_html($this->field['title']) . '</h3>';
|
@@ -1,8 +1,8 @@
|
|
1 |
-
.redux-container-switch .switch-options{min-height:30px;margin-right:10px}.redux-container-switch .switch-options label{cursor:pointer}.redux-container-switch .switch-options input{display:none}.redux-container-switch .cb-enable,.redux-container-switch .cb-disable{padding:0 10px;border-width:1px;border-style:solid;-webkit-appearance:none;white-space:nowrap;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.redux-container-switch .cb-enable span,.redux-container-switch .cb-disable span{line-height:30px;display:block;font-weight:700;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;-ms-user-select:none;user-select:none}.redux-container-switch .cb-enable,.redux-container-switch .cb-disable,.redux-container-switch .cb-enable span,.redux-container-switch .cb-disable span{display:block;float:left}.redux-container-switch .cb-enable{border-right:0;border-radius:3px 0px 0px 3px;-moz-border-radius:3px 0px 0px 3px;-webkit-border-radius:3px 0px 0px 3px}.redux-container-switch .cb-enable.selected{color:#fff}.redux-container-switch .cb-disable{border-left:0;border-radius:0px 3px 3px 0px;-moz-border-radius:0px 3px 3px 0px;-webkit-border-radius:0px 3px 3px 0px}.redux-container-switch .cb-disable.selected{color:#fff}
|
2 |
|
3 |
|
4 |
.ios7-switch {
|
5 |
-
display: inline-block;
|
6 |
position: relative;
|
7 |
cursor: pointer;
|
8 |
-webkit-user-select: none;
|
@@ -21,11 +21,11 @@
|
|
21 |
.ios7-switch input + span {
|
22 |
position: relative;
|
23 |
display: inline-block;
|
24 |
-
width:
|
25 |
-
height:
|
26 |
-
background:
|
27 |
-
box-shadow: inset 0 0 0 0.0625em #cacaca;
|
28 |
-
border-radius:
|
29 |
vertical-align: -0.15em;
|
30 |
transition: all 0.40s cubic-bezier(.17,.67,.43,.98);
|
31 |
}
|
@@ -39,11 +39,11 @@
|
|
39 |
position: absolute;
|
40 |
display: block;
|
41 |
content: '';
|
42 |
-
width:
|
43 |
-
height:
|
44 |
border-radius: 10em;
|
45 |
-
top:
|
46 |
-
left:
|
47 |
background: white;
|
48 |
box-shadow: inset 0 0 0 0.01em rgba(0,0,0,0.25), 0 0 0.15em rgba(0,0,0,0.20), 0.1em 0.04em 0.2em rgba(0,0,0,0.25);
|
49 |
transition: all 0.25s ease-out;
|
@@ -55,11 +55,13 @@
|
|
55 |
}
|
56 |
|
57 |
.ios7-switch input:checked + span {
|
58 |
-
box-shadow: inset 0 0 0 2em
|
59 |
}
|
60 |
|
61 |
.ios7-switch input:checked + span:after {
|
62 |
-
left:
|
|
|
|
|
63 |
}
|
64 |
|
65 |
.ios7-switch:active input:checked + span:after,
|
1 |
+
.redux-container-switch .switch-options{min-height:30px;margin-right:10px;top: 6px;position: relative;}.redux-container-switch .switch-options label{cursor:pointer}.redux-container-switch .switch-options input{display:none}.redux-container-switch .cb-enable,.redux-container-switch .cb-disable{padding:0 10px;border-width:1px;border-style:solid;-webkit-appearance:none;white-space:nowrap;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.redux-container-switch .cb-enable span,.redux-container-switch .cb-disable span{line-height:30px;display:block;font-weight:700;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;-ms-user-select:none;user-select:none}.redux-container-switch .cb-enable,.redux-container-switch .cb-disable,.redux-container-switch .cb-enable span,.redux-container-switch .cb-disable span{display:block;float:left}.redux-container-switch .cb-enable{border-right:0;border-radius:3px 0px 0px 3px;-moz-border-radius:3px 0px 0px 3px;-webkit-border-radius:3px 0px 0px 3px}.redux-container-switch .cb-enable.selected{color:#fff}.redux-container-switch .cb-disable{border-left:0;border-radius:0px 3px 3px 0px;-moz-border-radius:0px 3px 3px 0px;-webkit-border-radius:0px 3px 3px 0px}.redux-container-switch .cb-disable.selected{color:#fff}
|
2 |
|
3 |
|
4 |
.ios7-switch {
|
5 |
+
/* display: inline-block; */
|
6 |
position: relative;
|
7 |
cursor: pointer;
|
8 |
-webkit-user-select: none;
|
21 |
.ios7-switch input + span {
|
22 |
position: relative;
|
23 |
display: inline-block;
|
24 |
+
width: 42px;
|
25 |
+
height: 14px;
|
26 |
+
background: rgb(124, 144, 164);
|
27 |
+
/* box-shadow: inset 0 0 0 0.0625em #cacaca; */
|
28 |
+
border-radius: 22em;
|
29 |
vertical-align: -0.15em;
|
30 |
transition: all 0.40s cubic-bezier(.17,.67,.43,.98);
|
31 |
}
|
39 |
position: absolute;
|
40 |
display: block;
|
41 |
content: '';
|
42 |
+
width: 22px;
|
43 |
+
height: 22px;
|
44 |
border-radius: 10em;
|
45 |
+
top: -4px;
|
46 |
+
left:0px;
|
47 |
background: white;
|
48 |
box-shadow: inset 0 0 0 0.01em rgba(0,0,0,0.25), 0 0 0.15em rgba(0,0,0,0.20), 0.1em 0.04em 0.2em rgba(0,0,0,0.25);
|
49 |
transition: all 0.25s ease-out;
|
55 |
}
|
56 |
|
57 |
.ios7-switch input:checked + span {
|
58 |
+
box-shadow: inset 0 0 0 2em rgb(19, 163, 21);
|
59 |
}
|
60 |
|
61 |
.ios7-switch input:checked + span:after {
|
62 |
+
left: 22px;
|
63 |
+
background: rgb(0, 193, 26);
|
64 |
+
box-shadow: rgba(0, 0, 0, 0.24) 0px 2px 3px 0px;
|
65 |
}
|
66 |
|
67 |
.ios7-switch:active input:checked + span:after,
|
@@ -2,6 +2,7 @@
|
|
2 |
.redux-container{
|
3 |
position: relative;
|
4 |
border-radius: 3px;
|
|
|
5 |
}
|
6 |
#redux-intro-text{
|
7 |
position: absolute;
|
@@ -12,14 +13,14 @@
|
|
12 |
text-decoration: none
|
13 |
}
|
14 |
.admin-color-fresh #redux-header, .wp-customizer #redux-header{
|
15 |
-
background: #
|
16 |
}
|
17 |
.redux-container #redux-header{
|
18 |
border: 0;
|
19 |
border-radius: 3px 3px 0px 0px
|
20 |
}
|
21 |
.redux-container #redux-header .display_header{
|
22 |
-
margin: 0
|
23 |
}
|
24 |
.redux-container #redux-header .display_header .redux-dev-mode-notice-container{
|
25 |
position: relative;
|
@@ -141,6 +142,7 @@
|
|
141 |
.ampforwp-ad-img-banner{
|
142 |
width: 560px;
|
143 |
max-height: 99px;
|
|
|
144 |
}
|
145 |
.ampforwp-extension-ad-img-banner{
|
146 |
width: 345px;
|
2 |
.redux-container{
|
3 |
position: relative;
|
4 |
border-radius: 3px;
|
5 |
+
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif !important;
|
6 |
}
|
7 |
#redux-intro-text{
|
8 |
position: absolute;
|
13 |
text-decoration: none
|
14 |
}
|
15 |
.admin-color-fresh #redux-header, .wp-customizer #redux-header{
|
16 |
+
background: #fff
|
17 |
}
|
18 |
.redux-container #redux-header{
|
19 |
border: 0;
|
20 |
border-radius: 3px 3px 0px 0px
|
21 |
}
|
22 |
.redux-container #redux-header .display_header{
|
23 |
+
margin: 0 10px
|
24 |
}
|
25 |
.redux-container #redux-header .display_header .redux-dev-mode-notice-container{
|
26 |
position: relative;
|
142 |
.ampforwp-ad-img-banner{
|
143 |
width: 560px;
|
144 |
max-height: 99px;
|
145 |
+
margin-bottom: -17px;
|
146 |
}
|
147 |
.ampforwp-extension-ad-img-banner{
|
148 |
width: 345px;
|
@@ -90,6 +90,19 @@ function ampforwp_page_template_redirect() {
|
|
90 |
$supported_types = ampforwp_get_all_post_types();
|
91 |
$supported_types = apply_filters('get_amp_supported_post_types',$supported_types);
|
92 |
$post_type = get_post_type();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
$supported_amp_post_types = in_array( $post_type , $supported_types );
|
94 |
$url_to_redirect = ampforwp_amphtml_generator();
|
95 |
|
@@ -195,6 +208,7 @@ add_action( 'template_redirect', 'ampforwp_page_template_redirect_archive', 10 )
|
|
195 |
function ampforwp_page_template_redirect_archive() {
|
196 |
|
197 |
if ( is_404() ) {
|
|
|
198 |
if ( ampforwp_is_amp_endpoint() ) {
|
199 |
global $wp;
|
200 |
$ampforwp_404_url = add_query_arg( '', '', home_url( $wp->request ) );
|
90 |
$supported_types = ampforwp_get_all_post_types();
|
91 |
$supported_types = apply_filters('get_amp_supported_post_types',$supported_types);
|
92 |
$post_type = get_post_type();
|
93 |
+
|
94 |
+
if(is_home() || is_front_page()){
|
95 |
+
if(isset($redux_builder_amp['ampforwp-homepage-on-off-support'])
|
96 |
+
&& $redux_builder_amp['ampforwp-homepage-on-off-support'] == 1
|
97 |
+
&& isset($redux_builder_amp['amp-on-off-for-all-posts'])
|
98 |
+
&& $redux_builder_amp['amp-on-off-for-all-posts'] == 0
|
99 |
+
&& isset($redux_builder_amp['amp-on-off-for-all-pages'])
|
100 |
+
&& $redux_builder_amp['amp-on-off-for-all-pages'] == 0 ){
|
101 |
+
|
102 |
+
$supported_types['post'] = 'post';
|
103 |
+
}
|
104 |
+
}
|
105 |
+
|
106 |
$supported_amp_post_types = in_array( $post_type , $supported_types );
|
107 |
$url_to_redirect = ampforwp_amphtml_generator();
|
108 |
|
208 |
function ampforwp_page_template_redirect_archive() {
|
209 |
|
210 |
if ( is_404() ) {
|
211 |
+
return;
|
212 |
if ( ampforwp_is_amp_endpoint() ) {
|
213 |
global $wp;
|
214 |
$ampforwp_404_url = add_query_arg( '', '', home_url( $wp->request ) );
|
@@ -64,6 +64,7 @@ if(!function_exists('ampforwp_amp_nonamp_convert')){
|
|
64 |
img{height:auto;}
|
65 |
.amp-featured-image img{width:100%;height:auto;}
|
66 |
.content-wrapper, .header, .header-2, .header-3{width:100% !important;}
|
|
|
67 |
|
68 |
';
|
69 |
$re = '/<style type="text\/css">(.*?)<\/style>/';
|
64 |
img{height:auto;}
|
65 |
.amp-featured-image img{width:100%;height:auto;}
|
66 |
.content-wrapper, .header, .header-2, .header-3{width:100% !important;}
|
67 |
+
.image-mod img{width:100%}
|
68 |
|
69 |
';
|
70 |
$re = '/<style type="text\/css">(.*?)<\/style>/';
|
@@ -64,8 +64,7 @@ function ampforwp_get_licence_activate_update(){
|
|
64 |
break;
|
65 |
|
66 |
case 'missing' :
|
67 |
-
|
68 |
-
$message = __( 'Please enter the license key.', 'ampforwp-extension-updater' );
|
69 |
break;
|
70 |
|
71 |
case 'invalid' :
|
64 |
break;
|
65 |
|
66 |
case 'missing' :
|
67 |
+
$message = __( 'Invalid license.', 'ampforwp-extension-updater' );
|
|
|
68 |
break;
|
69 |
|
70 |
case 'invalid' :
|
@@ -1,7 +1,7 @@
|
|
1 |
<?php $post_author = $this->get( 'post_author' ); ?>
|
2 |
<li class="amp-wp-byline">
|
3 |
<?php if ( function_exists( 'get_avatar_url' ) ) : ?>
|
4 |
-
<amp-img src="<?php echo esc_url( get_avatar_url( $post_author->user_email, array(
|
5 |
'size' => 24,
|
6 |
) ) ); ?>" width="24" height="24" layout="fixed"></amp-img>
|
7 |
<?php endif; ?>
|
1 |
<?php $post_author = $this->get( 'post_author' ); ?>
|
2 |
<li class="amp-wp-byline">
|
3 |
<?php if ( function_exists( 'get_avatar_url' ) ) : ?>
|
4 |
+
<amp-img data-block-on-consent src="<?php echo esc_url( get_avatar_url( $post_author->user_email, array(
|
5 |
'size' => 24,
|
6 |
) ) ); ?>" width="24" height="24" layout="fixed"></amp-img>
|
7 |
<?php endif; ?>
|
@@ -11,7 +11,7 @@ function amp_post_template_add_title( $amp_template ) {
|
|
11 |
add_action( 'amp_post_template_head', 'amp_post_template_add_canonical' );
|
12 |
function amp_post_template_add_canonical( $amp_template ) {
|
13 |
?>
|
14 |
-
<link rel="canonical" href="<?php echo esc_url(
|
15 |
<?php
|
16 |
}
|
17 |
|
@@ -40,8 +40,8 @@ function amp_post_template_add_boilerplate_css( $amp_template ) {
|
|
40 |
<style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript>
|
41 |
<?php
|
42 |
}
|
43 |
-
|
44 |
-
add_action( '
|
45 |
function amp_post_template_add_schemaorg_metadata( $amp_template ) {
|
46 |
$metadata = $amp_template->get( 'metadata' );
|
47 |
if ( empty( $metadata ) ) {
|
@@ -51,6 +51,7 @@ function amp_post_template_add_schemaorg_metadata( $amp_template ) {
|
|
51 |
<script type="application/ld+json"><?php echo wp_json_encode( $metadata ); ?></script>
|
52 |
<?php
|
53 |
}
|
|
|
54 |
|
55 |
add_action( 'amp_post_template_css', 'amp_post_template_add_styles', 99 );
|
56 |
function amp_post_template_add_styles( $amp_template ) {
|
11 |
add_action( 'amp_post_template_head', 'amp_post_template_add_canonical' );
|
12 |
function amp_post_template_add_canonical( $amp_template ) {
|
13 |
?>
|
14 |
+
<link rel="canonical" href="<?php echo esc_url( apply_filters('ampforwp_modify_rel_url',$amp_template->get( 'canonical_url' ) ) ); ?>" />
|
15 |
<?php
|
16 |
}
|
17 |
|
40 |
<style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript>
|
41 |
<?php
|
42 |
}
|
43 |
+
if(! is_plugin_active('structured-data-for-wp/structured-data-for-wp.php')):
|
44 |
+
add_action( 'amp_post_template_footer', 'amp_post_template_add_schemaorg_metadata' );
|
45 |
function amp_post_template_add_schemaorg_metadata( $amp_template ) {
|
46 |
$metadata = $amp_template->get( 'metadata' );
|
47 |
if ( empty( $metadata ) ) {
|
51 |
<script type="application/ld+json"><?php echo wp_json_encode( $metadata ); ?></script>
|
52 |
<?php
|
53 |
}
|
54 |
+
endif;
|
55 |
|
56 |
add_action( 'amp_post_template_css', 'amp_post_template_add_styles', 99 );
|
57 |
function amp_post_template_add_styles( $amp_template ) {
|
@@ -39,10 +39,11 @@ class AMP_Post_Template {
|
|
39 |
|
40 |
public function __construct( $post_id ) {
|
41 |
$this->template_dir = apply_filters( 'amp_post_template_dir', AMP__DIR__ . '/templates' );
|
42 |
-
|
|
|
|
|
43 |
$this->ID = $post_id;
|
44 |
$this->post = get_post( $post_id );
|
45 |
-
|
46 |
$content_max_width = self::CONTENT_MAX_WIDTH;
|
47 |
if ( isset( $GLOBALS['content_width'] ) && $GLOBALS['content_width'] > 0 ) {
|
48 |
$content_max_width = $GLOBALS['content_width'];
|
@@ -245,8 +246,12 @@ class AMP_Post_Template {
|
|
245 |
}
|
246 |
|
247 |
private function build_post_content() {
|
248 |
-
if(!empty($this->post->post_content)){
|
249 |
-
$
|
|
|
|
|
|
|
|
|
250 |
apply_filters( 'amp_content_embed_handlers', array(
|
251 |
'AMP_Twitter_Embed_Handler' => array(),
|
252 |
'AMP_YouTube_Embed_Handler' => array(),
|
@@ -437,6 +442,7 @@ class AMP_Post_Template {
|
|
437 |
private function locate_template( $file ) {
|
438 |
$location = 'ampforwp';
|
439 |
$location = apply_filters("ampforwp_template_locate",$location);
|
|
|
440 |
$search_file = sprintf( $location.'/%s', basename( $file ) );
|
441 |
return locate_template( array( $search_file ), false );
|
442 |
}
|
39 |
|
40 |
public function __construct( $post_id ) {
|
41 |
$this->template_dir = apply_filters( 'amp_post_template_dir', AMP__DIR__ . '/templates' );
|
42 |
+
if ( ampforwp_get_frontpage_id() ) {
|
43 |
+
$post_id = ampforwp_get_frontpage_id();
|
44 |
+
}
|
45 |
$this->ID = $post_id;
|
46 |
$this->post = get_post( $post_id );
|
|
|
47 |
$content_max_width = self::CONTENT_MAX_WIDTH;
|
48 |
if ( isset( $GLOBALS['content_width'] ) && $GLOBALS['content_width'] > 0 ) {
|
49 |
$content_max_width = $GLOBALS['content_width'];
|
246 |
}
|
247 |
|
248 |
private function build_post_content() {
|
249 |
+
if( !empty($this->post->post_content) && false === ampforwp_is_home() && false === is_archive() ){
|
250 |
+
$new_post_content = $this->post->post_content;
|
251 |
+
// #2001 Filter to remove the unused JS from the paginated post
|
252 |
+
$new_post_content = apply_filters( 'ampforwp_post_content_filter', $new_post_content );
|
253 |
+
|
254 |
+
$amp_content = new AMP_Content( $new_post_content,
|
255 |
apply_filters( 'amp_content_embed_handlers', array(
|
256 |
'AMP_Twitter_Embed_Handler' => array(),
|
257 |
'AMP_YouTube_Embed_Handler' => array(),
|
442 |
private function locate_template( $file ) {
|
443 |
$location = 'ampforwp';
|
444 |
$location = apply_filters("ampforwp_template_locate",$location);
|
445 |
+
|
446 |
$search_file = sprintf( $location.'/%s', basename( $file ) );
|
447 |
return locate_template( array( $search_file ), false );
|
448 |
}
|
@@ -87,6 +87,7 @@ class AMP_DailyMotion_Embed_Handler extends AMP_Base_Embed_Handler {
|
|
87 |
'layout' => 'responsive',
|
88 |
'width' => $this->args['width'],
|
89 |
'height' => $this->args['height'],
|
|
|
90 |
)
|
91 |
);
|
92 |
}
|
87 |
'layout' => 'responsive',
|
88 |
'width' => $this->args['width'],
|
89 |
'height' => $this->args['height'],
|
90 |
+
'data-block-on-consent' => '',
|
91 |
)
|
92 |
);
|
93 |
}
|
@@ -49,6 +49,7 @@ class AMP_Facebook_Embed_Handler extends AMP_Base_Embed_Handler {
|
|
49 |
'layout' => 'responsive',
|
50 |
'width' => $this->args['width'],
|
51 |
'height' => $this->args['height'],
|
|
|
52 |
)
|
53 |
);
|
54 |
}
|
49 |
'layout' => 'responsive',
|
50 |
'width' => $this->args['width'],
|
51 |
'height' => $this->args['height'],
|
52 |
+
'data-block-on-consent' => '',
|
53 |
)
|
54 |
);
|
55 |
}
|
@@ -75,6 +75,7 @@ class AMP_Instagram_Embed_Handler extends AMP_Base_Embed_Handler {
|
|
75 |
'width' => $this->args['width'],
|
76 |
'height' => $this->args['height'],
|
77 |
'data-captioned' => '',
|
|
|
78 |
)
|
79 |
);
|
80 |
}
|
75 |
'width' => $this->args['width'],
|
76 |
'height' => $this->args['height'],
|
77 |
'data-captioned' => '',
|
78 |
+
'data-block-on-consent' => '',
|
79 |
)
|
80 |
);
|
81 |
}
|
@@ -55,6 +55,7 @@ class AMP_Pinterest_Embed_Handler extends AMP_Base_Embed_Handler {
|
|
55 |
'data-do' => "embedPin",
|
56 |
'data-url' => $args['url'],
|
57 |
'layout' => 'responsive',
|
|
|
58 |
)
|
59 |
);
|
60 |
}
|
55 |
'data-do' => "embedPin",
|
56 |
'data-url' => $args['url'],
|
57 |
'layout' => 'responsive',
|
58 |
+
'data-block-on-consent' => '',
|
59 |
)
|
60 |
);
|
61 |
}
|
@@ -81,6 +81,7 @@ class AMP_SoundCloud_Embed_Handler extends AMP_Base_Embed_Handler {
|
|
81 |
'data-trackid' => $args['track_id'],
|
82 |
'layout' => 'fixed-height',
|
83 |
'height' => $this->args['height'],
|
|
|
84 |
)
|
85 |
);
|
86 |
}
|
81 |
'data-trackid' => $args['track_id'],
|
82 |
'layout' => 'fixed-height',
|
83 |
'height' => $this->args['height'],
|
84 |
+
'data-block-on-consent' => '',
|
85 |
)
|
86 |
);
|
87 |
}
|
@@ -59,6 +59,7 @@ class AMP_Twitter_Embed_Handler extends AMP_Base_Embed_Handler {
|
|
59 |
'layout' => 'responsive',
|
60 |
'width' => $this->args['width'],
|
61 |
'height' => $this->args['height'],
|
|
|
62 |
)
|
63 |
);
|
64 |
}
|
59 |
'layout' => 'responsive',
|
60 |
'width' => $this->args['width'],
|
61 |
'height' => $this->args['height'],
|
62 |
+
'data-block-on-consent' => '',
|
63 |
)
|
64 |
);
|
65 |
}
|
@@ -91,6 +91,7 @@ class AMP_Vimeo_Embed_Handler extends AMP_Base_Embed_Handler {
|
|
91 |
'layout' => 'responsive',
|
92 |
'width' => $this->args['width'],
|
93 |
'height' => $this->args['height'],
|
|
|
94 |
)
|
95 |
);
|
96 |
}
|
91 |
'layout' => 'responsive',
|
92 |
'width' => $this->args['width'],
|
93 |
'height' => $this->args['height'],
|
94 |
+
'data-block-on-consent' => '',
|
95 |
)
|
96 |
);
|
97 |
}
|
@@ -50,6 +50,7 @@ class AMP_Vine_Embed_Handler extends AMP_Base_Embed_Handler {
|
|
50 |
'layout' => 'responsive',
|
51 |
'width' => $this->args['width'],
|
52 |
'height' => $this->args['height'],
|
|
|
53 |
)
|
54 |
);
|
55 |
}
|
50 |
'layout' => 'responsive',
|
51 |
'width' => $this->args['width'],
|
52 |
'height' => $this->args['height'],
|
53 |
+
'data-block-on-consent' => '',
|
54 |
)
|
55 |
);
|
56 |
}
|
@@ -86,6 +86,7 @@ class AMP_YouTube_Embed_Handler extends AMP_Base_Embed_Handler {
|
|
86 |
'layout' => 'responsive',
|
87 |
'width' => $this->args['width'],
|
88 |
'height' => $this->args['height'],
|
|
|
89 |
)
|
90 |
);
|
91 |
}
|
86 |
'layout' => 'responsive',
|
87 |
'width' => $this->args['width'],
|
88 |
'height' => $this->args['height'],
|
89 |
+
'data-block-on-consent' => '',
|
90 |
)
|
91 |
);
|
92 |
}
|
@@ -204,7 +204,7 @@ class AMP_Blacklist_Sanitizer extends AMP_Base_Sanitizer {
|
|
204 |
}
|
205 |
|
206 |
private function get_blacklisted_tags() {
|
207 |
-
return $this->merge_defaults_with_args( 'add_blacklisted_tags', array(
|
208 |
'script',
|
209 |
'noscript',
|
210 |
'style',
|
@@ -213,12 +213,12 @@ class AMP_Blacklist_Sanitizer extends AMP_Base_Sanitizer {
|
|
213 |
'object',
|
214 |
'param',
|
215 |
'applet',
|
216 |
-
'form',
|
217 |
-
'label',
|
218 |
-
'input',
|
219 |
'textarea',
|
220 |
-
'select',
|
221 |
-
'option',
|
222 |
'link',
|
223 |
'picture',
|
224 |
'canvas',
|
@@ -235,7 +235,7 @@ class AMP_Blacklist_Sanitizer extends AMP_Base_Sanitizer {
|
|
235 |
//'video',
|
236 |
//'audio',
|
237 |
//'iframe',
|
238 |
-
) );
|
239 |
}
|
240 |
|
241 |
private function get_blacklisted_attributes() {
|
204 |
}
|
205 |
|
206 |
private function get_blacklisted_tags() {
|
207 |
+
return $this->merge_defaults_with_args( 'add_blacklisted_tags', apply_filters('amp_blacklisted_tags' , array(
|
208 |
'script',
|
209 |
'noscript',
|
210 |
'style',
|
213 |
'object',
|
214 |
'param',
|
215 |
'applet',
|
216 |
+
//'form',
|
217 |
+
//'label',
|
218 |
+
//'input',
|
219 |
'textarea',
|
220 |
+
//'select',
|
221 |
+
//'option',
|
222 |
'link',
|
223 |
'picture',
|
224 |
'canvas',
|
235 |
//'video',
|
236 |
//'audio',
|
237 |
//'iframe',
|
238 |
+
) ) );
|
239 |
}
|
240 |
|
241 |
private function get_blacklisted_attributes() {
|
@@ -120,6 +120,10 @@ class AMP_Iframe_Sanitizer extends AMP_Base_Sanitizer {
|
|
120 |
$out['sandbox'] = self::SANDBOX_DEFAULTS;
|
121 |
}
|
122 |
|
|
|
|
|
|
|
|
|
123 |
return $out;
|
124 |
}
|
125 |
|
120 |
$out['sandbox'] = self::SANDBOX_DEFAULTS;
|
121 |
}
|
122 |
|
123 |
+
if ( ! isset( $out['data-block-on-consent'] ) ) {
|
124 |
+
$out['data-block-on-consent'] = '';
|
125 |
+
}
|
126 |
+
|
127 |
return $out;
|
128 |
}
|
129 |
|
@@ -12,6 +12,8 @@ class AMP_Img_Sanitizer extends AMP_Base_Sanitizer {
|
|
12 |
|
13 |
protected $is_lightbox = false;
|
14 |
|
|
|
|
|
15 |
public static $tag = 'img';
|
16 |
|
17 |
private static $anim_extension = '.gif';
|
@@ -107,7 +109,9 @@ class AMP_Img_Sanitizer extends AMP_Base_Sanitizer {
|
|
107 |
$new_node = AMP_DOM_Utils::create_node( $this->dom, $new_tag, $new_attributes );
|
108 |
$node->parentNode->replaceChild( $new_node, $node );
|
109 |
if ( isset($new_attributes['on']) && '' != $new_attributes['on'] ) {
|
110 |
-
|
|
|
|
|
111 |
$this->is_lightbox = true;
|
112 |
}
|
113 |
}
|
@@ -127,13 +131,14 @@ class AMP_Img_Sanitizer extends AMP_Base_Sanitizer {
|
|
127 |
|
128 |
public function get_scripts() {
|
129 |
if ( $this->is_lightbox ) {
|
130 |
-
|
131 |
-
|
132 |
}
|
133 |
-
|
134 |
-
|
|
|
135 |
}
|
136 |
-
|
|
|
137 |
}
|
138 |
|
139 |
private function filter_attributes( $attributes ) {
|
@@ -149,6 +154,7 @@ class AMP_Img_Sanitizer extends AMP_Base_Sanitizer {
|
|
149 |
case 'on':
|
150 |
case 'role':
|
151 |
case 'tabindex':
|
|
|
152 |
$out[ $name ] = $value;
|
153 |
break;
|
154 |
|
12 |
|
13 |
protected $is_lightbox = false;
|
14 |
|
15 |
+
protected $scripts = array();
|
16 |
+
|
17 |
public static $tag = 'img';
|
18 |
|
19 |
private static $anim_extension = '.gif';
|
109 |
$new_node = AMP_DOM_Utils::create_node( $this->dom, $new_tag, $new_attributes );
|
110 |
$node->parentNode->replaceChild( $new_node, $node );
|
111 |
if ( isset($new_attributes['on']) && '' != $new_attributes['on'] ) {
|
112 |
+
if(is_singular() || ampforwp_is_front_page()){
|
113 |
+
add_action('amp_post_template_footer', 'ampforwp_amp_img_lightbox');
|
114 |
+
}
|
115 |
$this->is_lightbox = true;
|
116 |
}
|
117 |
}
|
131 |
|
132 |
public function get_scripts() {
|
133 |
if ( $this->is_lightbox ) {
|
134 |
+
$this->scripts[self::$script_slug_lightbox] = self::$script_src_lightbox;
|
|
|
135 |
}
|
136 |
+
|
137 |
+
if ( $this->did_convert_elements ) {
|
138 |
+
$this->scripts[self::$script_slug] = self::$script_src;
|
139 |
}
|
140 |
+
|
141 |
+
return $this->scripts;
|
142 |
}
|
143 |
|
144 |
private function filter_attributes( $attributes ) {
|
154 |
case 'on':
|
155 |
case 'role':
|
156 |
case 'tabindex':
|
157 |
+
case 'layout':
|
158 |
$out[ $name ] = $value;
|
159 |
break;
|
160 |
|
@@ -106,6 +106,10 @@ class AMP_Playbuzz_Sanitizer extends AMP_Base_Sanitizer {
|
|
106 |
|
107 |
$out['height'] = self::$height;
|
108 |
|
|
|
|
|
|
|
|
|
109 |
return $out;
|
110 |
}
|
111 |
}
|
106 |
|
107 |
$out['height'] = self::$height;
|
108 |
|
109 |
+
if ( ! isset( $out['data-block-on-consent'] ) ) {
|
110 |
+
$out['data-block-on-consent'] = '';
|
111 |
+
}
|
112 |
+
|
113 |
return $out;
|
114 |
}
|
115 |
}
|
@@ -100,6 +100,10 @@ class AMP_Video_Sanitizer extends AMP_Base_Sanitizer {
|
|
100 |
}
|
101 |
}
|
102 |
|
|
|
|
|
|
|
|
|
103 |
return $out;
|
104 |
}
|
105 |
}
|
100 |
}
|
101 |
}
|
102 |
|
103 |
+
if ( ! isset( $out['data-block-on-consent'] ) ) {
|
104 |
+
$out['data-block-on-consent'] = '';
|
105 |
+
}
|
106 |
+
|
107 |
return $out;
|
108 |
}
|
109 |
}
|
@@ -3,7 +3,7 @@
|
|
3 |
<?php $author_avatar_url = get_avatar_url( $post_author->user_email, array( 'size' => 24 ) ); ?>
|
4 |
<div class="amp-wp-meta amp-wp-byline">
|
5 |
<?php if ( function_exists( 'get_avatar_url' ) ) : ?>
|
6 |
-
<amp-img src="<?php echo esc_url( $author_avatar_url ); ?>" width="24" height="24" layout="fixed"></amp-img>
|
7 |
<?php endif; ?>
|
8 |
<span class="amp-wp-author author vcard"><?php echo esc_html( $post_author->display_name ); ?></span>
|
9 |
</div>
|
3 |
<?php $author_avatar_url = get_avatar_url( $post_author->user_email, array( 'size' => 24 ) ); ?>
|
4 |
<div class="amp-wp-meta amp-wp-byline">
|
5 |
<?php if ( function_exists( 'get_avatar_url' ) ) : ?>
|
6 |
+
<amp-img data-block-on-consent src="<?php echo esc_url( $author_avatar_url ); ?>" width="24" height="24" layout="fixed"></amp-img>
|
7 |
<?php endif; ?>
|
8 |
<span class="amp-wp-author author vcard"><?php echo esc_html( $post_author->display_name ); ?></span>
|
9 |
</div>
|
@@ -77,23 +77,23 @@ if(!class_exists('Aq_Resize')) {
|
|
77 |
$upload_info = wp_upload_dir();
|
78 |
$upload_dir = $upload_info['basedir'];
|
79 |
$upload_url = $upload_info['baseurl'];
|
80 |
-
|
81 |
$http_prefix = "http://";
|
82 |
$https_prefix = "https://";
|
83 |
$relative_prefix = "//"; // The protocol-relative URL
|
84 |
-
|
85 |
-
/* if the $url scheme differs from $upload_url scheme, make them match
|
86 |
if the schemes differe, images don't show up. */
|
87 |
if(!strncmp($url,$https_prefix,strlen($https_prefix))){ //if url begins with https:// make $upload_url begin with https:// as well
|
88 |
$upload_url = str_replace($http_prefix,$https_prefix,$upload_url);
|
89 |
}
|
90 |
elseif(!strncmp($url,$http_prefix,strlen($http_prefix))){ //if url begins with http:// make $upload_url begin with http:// as well
|
91 |
-
$upload_url = str_replace($https_prefix,$http_prefix,$upload_url);
|
92 |
}
|
93 |
elseif(!strncmp($url,$relative_prefix,strlen($relative_prefix))){ //if url begins with // make $upload_url begin with // as well
|
94 |
$upload_url = str_replace(array( 0 => "$http_prefix", 1 => "$https_prefix"),$relative_prefix,$upload_url);
|
95 |
}
|
96 |
-
|
97 |
|
98 |
// Check if $img_url is local.
|
99 |
if ( false === strpos( $url, $upload_url ) ) {
|
@@ -148,8 +148,15 @@ if(!class_exists('Aq_Resize')) {
|
|
148 |
$editor = wp_get_image_editor( $img_path );
|
149 |
|
150 |
if ( is_wp_error( $editor ) || is_wp_error( $editor->resize( $width, $height, $crop ) ) ) {
|
151 |
-
|
152 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
153 |
}
|
154 |
|
155 |
$resized_file = $editor->save();
|
@@ -158,7 +165,7 @@ if(!class_exists('Aq_Resize')) {
|
|
158 |
$resized_rel_path = str_replace( $upload_dir, '', $resized_file['path'] );
|
159 |
$img_url = $upload_url . $resized_rel_path;
|
160 |
} else {
|
161 |
-
throw new Aq_Exception('Unable to save resized image file: ' . $
|
162 |
}
|
163 |
|
164 |
}
|
77 |
$upload_info = wp_upload_dir();
|
78 |
$upload_dir = $upload_info['basedir'];
|
79 |
$upload_url = $upload_info['baseurl'];
|
80 |
+
|
81 |
$http_prefix = "http://";
|
82 |
$https_prefix = "https://";
|
83 |
$relative_prefix = "//"; // The protocol-relative URL
|
84 |
+
|
85 |
+
/* if the $url scheme differs from $upload_url scheme, make them match
|
86 |
if the schemes differe, images don't show up. */
|
87 |
if(!strncmp($url,$https_prefix,strlen($https_prefix))){ //if url begins with https:// make $upload_url begin with https:// as well
|
88 |
$upload_url = str_replace($http_prefix,$https_prefix,$upload_url);
|
89 |
}
|
90 |
elseif(!strncmp($url,$http_prefix,strlen($http_prefix))){ //if url begins with http:// make $upload_url begin with http:// as well
|
91 |
+
$upload_url = str_replace($https_prefix,$http_prefix,$upload_url);
|
92 |
}
|
93 |
elseif(!strncmp($url,$relative_prefix,strlen($relative_prefix))){ //if url begins with // make $upload_url begin with // as well
|
94 |
$upload_url = str_replace(array( 0 => "$http_prefix", 1 => "$https_prefix"),$relative_prefix,$upload_url);
|
95 |
}
|
96 |
+
|
97 |
|
98 |
// Check if $img_url is local.
|
99 |
if ( false === strpos( $url, $upload_url ) ) {
|
148 |
$editor = wp_get_image_editor( $img_path );
|
149 |
|
150 |
if ( is_wp_error( $editor ) || is_wp_error( $editor->resize( $width, $height, $crop ) ) ) {
|
151 |
+
|
152 |
+
// Return the Original array
|
153 |
+
return array (
|
154 |
+
0 => $url,
|
155 |
+
1 => $width,
|
156 |
+
2 => $height
|
157 |
+
);
|
158 |
+
/* throw new Aq_Exception('Unable to get WP_Image_Editor: ' .
|
159 |
+
$editor->get_error_message() . ' (is GD or ImageMagick installed?)');*/
|
160 |
}
|
161 |
|
162 |
$resized_file = $editor->save();
|
165 |
$resized_rel_path = str_replace( $upload_dir, '', $resized_file['path'] );
|
166 |
$img_url = $upload_url . $resized_rel_path;
|
167 |
} else {
|
168 |
+
throw new Aq_Exception('Unable to save resized image file: ' . $resized_file->get_error_message());
|
169 |
}
|
170 |
|
171 |
}
|
@@ -43,5 +43,7 @@ Reason: To extend the functionality of sidebars and Pagebuilder
|
|
43 |
16. ampforwp_end_point_controller added in amp-helper-functions on line no 15 #1561
|
44 |
17. folder name updated from amp to ampforwp to avoid conflict in class-amp-post-template.php on line no 440 #1742
|
45 |
18. 'amp_fetch_image_mode_type' filter added in class-amp-image-dimension-extractor.php #1833
|
46 |
-
19. Modifications in class-amp-img-sanitizer.php for Lightbox support #1892
|
47 |
-
20. Modification is class-amp-blacklist-sanitizer.php #1958
|
|
|
|
43 |
16. ampforwp_end_point_controller added in amp-helper-functions on line no 15 #1561
|
44 |
17. folder name updated from amp to ampforwp to avoid conflict in class-amp-post-template.php on line no 440 #1742
|
45 |
18. 'amp_fetch_image_mode_type' filter added in class-amp-image-dimension-extractor.php #1833
|
46 |
+
19. Modifications in class-amp-img-sanitizer.php for Lightbox support #1892 #2032
|
47 |
+
20. Modification is class-amp-blacklist-sanitizer.php #1958
|
48 |
+
21. ampforwp_post_content_filter filter added in class-amp-post-template.php #2001
|
49 |
+
22. hook action changed from amp_post_template_head to amp_post_template_footer for function amp_post_template_add_schemaorg_metadata() in amp-post-template-actions.php #1945
|
@@ -340,6 +340,9 @@ function ampforwp_add_welcome_styling(){
|
|
340 |
$current = "";
|
341 |
$current = get_current_screen();
|
342 |
|
|
|
|
|
|
|
343 |
if ( 'amp_page_ampforwp-welcome-page' == $current->base || 'toplevel_page_amp_options' == $current->base ) {
|
344 |
?>
|
345 |
<style>
|
340 |
$current = "";
|
341 |
$current = get_current_screen();
|
342 |
|
343 |
+
if(!is_object($current)){
|
344 |
+
return ;
|
345 |
+
}
|
346 |
if ( 'amp_page_ampforwp-welcome-page' == $current->base || 'toplevel_page_amp_options' == $current->base ) {
|
347 |
?>
|
348 |
<style>
|
@@ -61,12 +61,18 @@ $front_css = '
|
|
61 |
background-repeat: no-repeat;
|
62 |
background-size: cover;
|
63 |
height: auto;
|
|
|
64 |
}
|
65 |
{{row-class}}.amppb-fluid{width:{{fluid-width}};}
|
66 |
{{row-class}}.amppb-fluid .col{margin:0 auto;max-width:{{fluid-wrapper}}; }
|
67 |
{{row-class}}.amppb-fixed .col {max-width:{{content-width}};width:{{fixed-width}};margin: 0 auto;}
|
68 |
|
69 |
{{row-class}}{
|
|
|
|
|
|
|
|
|
|
|
70 |
color: {{font_color_picker}};
|
71 |
background-color: {{color_picker}};
|
72 |
{{if_selected_gradient}}{{selected_gradient}};{{ifend_selected_gradient}}
|
@@ -75,7 +81,21 @@ $front_css = '
|
|
75 |
|
76 |
{{shadow}}
|
77 |
}
|
|
|
|
|
|
|
|
|
78 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
';
|
80 |
$front_common_css = '.amppb-fluid .col{margin:0 auto;max-width:{{fluid-width}}; }
|
81 |
.amppb-fixed .col {max-width: {{fixed-width}};width:1125px;margin: 0 auto;}';
|
@@ -157,7 +177,7 @@ $containerCommonSettings = array(
|
|
157 |
array(
|
158 |
'type' =>'text',
|
159 |
'name' =>"fluid-wrapper",
|
160 |
-
'label' =>'
|
161 |
'tab' =>'customizer',
|
162 |
'default' =>'90%',
|
163 |
'content_type'=>'css',
|
@@ -187,6 +207,19 @@ $containerCommonSettings = array(
|
|
187 |
'content_type'=>'css',
|
188 |
'output_format'=>''
|
189 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
190 |
array(
|
191 |
'type' =>'upload',
|
192 |
'name' =>"row_background_image",
|
@@ -291,12 +324,12 @@ $containerCommonSettings = array(
|
|
291 |
'label' =>'Set Margin',
|
292 |
'tab' =>'container_css',
|
293 |
'default' =>
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
'content_type'=>'css',
|
301 |
),
|
302 |
array(
|
@@ -313,6 +346,102 @@ $containerCommonSettings = array(
|
|
313 |
'content_type'=>'css',
|
314 |
'output_format'=>"padding: %left% %right% %top% %bottom%"
|
315 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
316 |
),
|
317 |
'front_template_start'=>$output,
|
318 |
'front_template_end'=>$outputEnd,
|
61 |
background-repeat: no-repeat;
|
62 |
background-size: cover;
|
63 |
height: auto;
|
64 |
+
background-position:{{align_type}};
|
65 |
}
|
66 |
{{row-class}}.amppb-fluid{width:{{fluid-width}};}
|
67 |
{{row-class}}.amppb-fluid .col{margin:0 auto;max-width:{{fluid-wrapper}}; }
|
68 |
{{row-class}}.amppb-fixed .col {max-width:{{content-width}};width:{{fixed-width}};margin: 0 auto;}
|
69 |
|
70 |
{{row-class}}{
|
71 |
+
{{if_condition_check_for_brdr==1}}
|
72 |
+
border-width:{{border_sz}};
|
73 |
+
border-color: {{border_clr_pkr}};
|
74 |
+
border-style: solid;
|
75 |
+
{{ifend_condition_check_for_brdr_1}}
|
76 |
color: {{font_color_picker}};
|
77 |
background-color: {{color_picker}};
|
78 |
{{if_selected_gradient}}{{selected_gradient}};{{ifend_selected_gradient}}
|
81 |
|
82 |
{{shadow}}
|
83 |
}
|
84 |
+
@media(max-width:768px){
|
85 |
+
{{row-class}}.amppb-fluid{width:100%;}
|
86 |
+
{{row-class}}.amppb-fluid .col{max-width:90%;}
|
87 |
+
}
|
88 |
|
89 |
+
@media(max-width:425px){
|
90 |
+
{{row-class}}{
|
91 |
+
{{if_condition_check_for_pdng==1}}
|
92 |
+
padding:{{res_pdng}};
|
93 |
+
{{ifend_condition_check_for_pdng_1}}
|
94 |
+
{{if_condition_check_for_mrgn==1}}
|
95 |
+
margin: {{res_mrgn}};
|
96 |
+
{{ifend_condition_check_for_mrgn_1}}
|
97 |
+
}
|
98 |
+
}
|
99 |
';
|
100 |
$front_common_css = '.amppb-fluid .col{margin:0 auto;max-width:{{fluid-width}}; }
|
101 |
.amppb-fixed .col {max-width: {{fixed-width}};width:1125px;margin: 0 auto;}';
|
177 |
array(
|
178 |
'type' =>'text',
|
179 |
'name' =>"fluid-wrapper",
|
180 |
+
'label' =>'Wrapper',
|
181 |
'tab' =>'customizer',
|
182 |
'default' =>'90%',
|
183 |
'content_type'=>'css',
|
207 |
'content_type'=>'css',
|
208 |
'output_format'=>''
|
209 |
),
|
210 |
+
array(
|
211 |
+
'type' =>'select',
|
212 |
+
'name' =>'align_type',
|
213 |
+
'label' =>"Background Position",
|
214 |
+
'tab' =>'customizer',
|
215 |
+
'default' =>'center',
|
216 |
+
'options_details'=>array(
|
217 |
+
'center' =>'Center',
|
218 |
+
'left' =>'Left',
|
219 |
+
'right' =>'Right', ),
|
220 |
+
'content_type'=>'css',
|
221 |
+
'required' => array('background_type'=>'image')
|
222 |
+
),
|
223 |
array(
|
224 |
'type' =>'upload',
|
225 |
'name' =>"row_background_image",
|
324 |
'label' =>'Set Margin',
|
325 |
'tab' =>'container_css',
|
326 |
'default' =>
|
327 |
+
array(
|
328 |
+
'top'=>'0px',
|
329 |
+
'right'=>'auto',
|
330 |
+
'bottom'=>'0px',
|
331 |
+
'left'=>'auto',
|
332 |
+
),
|
333 |
'content_type'=>'css',
|
334 |
),
|
335 |
array(
|
346 |
'content_type'=>'css',
|
347 |
'output_format'=>"padding: %left% %right% %top% %bottom%"
|
348 |
),
|
349 |
+
array(
|
350 |
+
'type' =>'checkbox_bool',
|
351 |
+
'name' =>"check_for_brdr",
|
352 |
+
'label' => 'Border',
|
353 |
+
'tab' =>'container_css',
|
354 |
+
'default' =>0,
|
355 |
+
'options' =>array(
|
356 |
+
array(
|
357 |
+
'label'=>'Yes',
|
358 |
+
'value'=>1,
|
359 |
+
)
|
360 |
+
),
|
361 |
+
'content_type'=>'css',
|
362 |
+
),
|
363 |
+
array(
|
364 |
+
'type' =>'spacing',
|
365 |
+
'name' =>"border_sz",
|
366 |
+
'label' =>'Border width',
|
367 |
+
'tab' =>'container_css',
|
368 |
+
'default' =>array(
|
369 |
+
'top'=>'0px',
|
370 |
+
'right'=>'0px',
|
371 |
+
'bottom'=>'0px',
|
372 |
+
'left'=>'0px'
|
373 |
+
),
|
374 |
+
'required' => array('check_for_brdr'=>1),
|
375 |
+
'content_type'=>'css',
|
376 |
+
),
|
377 |
+
array(
|
378 |
+
'type' =>'color-picker',
|
379 |
+
'name' =>"border_clr_pkr",
|
380 |
+
'label' =>'Border Color',
|
381 |
+
'tab' =>'container_css',
|
382 |
+
'default' =>'#ccc',
|
383 |
+
'required' => array('check_for_brdr'=>1),
|
384 |
+
'content_type'=>'css',
|
385 |
+
|
386 |
+
),
|
387 |
+
array(
|
388 |
+
'type' =>'checkbox_bool',
|
389 |
+
'name' =>"check_for_pdng",
|
390 |
+
'label' => 'Responsive Padding',
|
391 |
+
'tab' =>'container_css',
|
392 |
+
'default' =>0,
|
393 |
+
'options' =>array(
|
394 |
+
array(
|
395 |
+
'label'=>'Yes',
|
396 |
+
'value'=>1,
|
397 |
+
)
|
398 |
+
),
|
399 |
+
'content_type'=>'css',
|
400 |
+
),
|
401 |
+
array(
|
402 |
+
'type' =>'spacing',
|
403 |
+
'name' =>"res_pdng",
|
404 |
+
'label' =>'Set Padding',
|
405 |
+
'tab' =>'container_css',
|
406 |
+
'default' =>array(
|
407 |
+
'top'=>'0px',
|
408 |
+
'right'=>'0px',
|
409 |
+
'bottom'=>'0px',
|
410 |
+
'left'=>'0px'
|
411 |
+
),
|
412 |
+
'content_type'=>'css',
|
413 |
+
'required' => array('check_for_pdng'=>1),
|
414 |
+
|
415 |
+
),
|
416 |
+
array(
|
417 |
+
'type' =>'checkbox_bool',
|
418 |
+
'name' =>"check_for_mrgn",
|
419 |
+
'label' => 'Responsive Margin',
|
420 |
+
'tab' =>'container_css',
|
421 |
+
'default' =>0,
|
422 |
+
'options' =>array(
|
423 |
+
array(
|
424 |
+
'label'=>'Yes',
|
425 |
+
'value'=>1,
|
426 |
+
)
|
427 |
+
),
|
428 |
+
'content_type'=>'css',
|
429 |
+
),
|
430 |
+
array(
|
431 |
+
'type' =>'spacing',
|
432 |
+
'name' =>"res_mrgn",
|
433 |
+
'label' =>'Set Margin',
|
434 |
+
'tab' =>'container_css',
|
435 |
+
'default' =>
|
436 |
+
array(
|
437 |
+
'top'=>'0px',
|
438 |
+
'right'=>'auto',
|
439 |
+
'bottom'=>'0px',
|
440 |
+
'left'=>'auto',
|
441 |
+
),
|
442 |
+
'content_type'=>'css',
|
443 |
+
'required' => array('check_for_mrgn'=>1),
|
444 |
+
),
|
445 |
),
|
446 |
'front_template_start'=>$output,
|
447 |
'front_template_end'=>$outputEnd,
|
@@ -31,21 +31,22 @@ function amppbbase_admin_scripts( $hook_suffix ){
|
|
31 |
add_action( 'admin_print_footer_scripts', array( '_WP_Editors', 'print_default_editor_scripts' ) );
|
32 |
$amp_current_post_id = $postId = get_the_ID();
|
33 |
|
34 |
-
wp_enqueue_script( 'vuejs', AMP_PAGE_BUILDER_URL. 'inc/node_modules/vue/dist/vue.min.js', array(),AMPFORWP_VERSION, true);
|
35 |
-
wp_enqueue_script( 'vuejs-resource', AMP_PAGE_BUILDER_URL. 'inc/node_modules/vue-resource/dist/vue-resource.min.js', array(), AMPFORWP_VERSION, true);//For Http Clients
|
36 |
-
wp_enqueue_script( 'vueSortable', AMP_PAGE_BUILDER_URL. 'inc/node_modules/sortablejs/Sortable.min.js', array(), AMPFORWP_VERSION, true);
|
37 |
-
wp_enqueue_script( 'vuedraggable', AMP_PAGE_BUILDER_URL. 'inc/node_modules/vuedraggable/dist/vuedraggable.js' ,array(),AMPFORWP_VERSION, true);
|
38 |
-
wp_enqueue_script( 'vuedropdrag', AMP_PAGE_BUILDER_URL. 'inc/node_modules/vue-drag-drop/dist/vue-drag-drop.browser.js', array(), AMPFORWP_VERSION, true);
|
39 |
|
40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
'jquery',
|
42 |
'wp-color-picker',
|
43 |
'vuejs',
|
44 |
'vuejs-resource',
|
45 |
'vueSortable',
|
46 |
'vuedraggable',
|
47 |
-
'vuedropdrag'
|
48 |
-
),AMPFORWP_VERSION, true );
|
49 |
|
50 |
|
51 |
$previousData = get_post_meta($postId,'amp-page-builder');
|
@@ -100,6 +101,7 @@ function amppbbase_admin_scripts( $hook_suffix ){
|
|
100 |
"checkedPageBuilder"=>get_post_meta($postId,'ampforwp_page_builder_enable', true),
|
101 |
);
|
102 |
wp_localize_script( 'amppb-admin', 'amppb_panel_options',$components_options);
|
|
|
103 |
add_action( 'admin_footer', 'js_templates',9999);
|
104 |
|
105 |
|
@@ -116,13 +118,18 @@ function js_templates() {
|
|
116 |
}
|
117 |
function checkAMPforPageBuilderStatus($postId){
|
118 |
global $post, $redux_builder_amp;
|
119 |
-
$postId = $post->ID;
|
120 |
-
|
|
|
121 |
$postId = ampforwp_get_frontpage_id();
|
122 |
}
|
123 |
-
|
124 |
-
|
125 |
-
|
|
|
|
|
|
|
|
|
126 |
return true;
|
127 |
}else{
|
128 |
return false;
|
31 |
add_action( 'admin_print_footer_scripts', array( '_WP_Editors', 'print_default_editor_scripts' ) );
|
32 |
$amp_current_post_id = $postId = get_the_ID();
|
33 |
|
|
|
|
|
|
|
|
|
|
|
34 |
|
35 |
+
wp_enqueue_script( 'vuejs', AMP_PAGE_BUILDER_URL. 'inc/assets/vue/vue.min.js', array(),AMPFORWP_VERSION, true);
|
36 |
+
wp_enqueue_script( 'vuejs-resource', AMP_PAGE_BUILDER_URL. 'inc/assets/vuejs-resource/vue-resource.min.js', array(), AMPFORWP_VERSION, true);//For Http Clients
|
37 |
+
wp_enqueue_script( 'vueSortable', AMP_PAGE_BUILDER_URL. 'inc/assets/vue.draggable/Sortable.min.js', array(), AMPFORWP_VERSION, true);
|
38 |
+
wp_enqueue_script( 'vuedraggable', AMP_PAGE_BUILDER_URL. 'inc/assets/vue.draggable/vuedraggable.min.js' ,array(),AMPFORWP_VERSION, true);
|
39 |
+
wp_enqueue_script( 'vuedropdrag', AMP_PAGE_BUILDER_URL. 'inc/assets/vue-drag-drop/vue-drag-drop.browser.js', array(), AMPFORWP_VERSION, true);
|
40 |
+
|
41 |
+
wp_register_script( 'amppb-admin', AMP_PAGE_BUILDER_URL. 'inc/admin-amp-page-builder.js', array(
|
42 |
'jquery',
|
43 |
'wp-color-picker',
|
44 |
'vuejs',
|
45 |
'vuejs-resource',
|
46 |
'vueSortable',
|
47 |
'vuedraggable',
|
48 |
+
'vuedropdrag'
|
49 |
+
),AMPFORWP_VERSION, true );
|
50 |
|
51 |
|
52 |
$previousData = get_post_meta($postId,'amp-page-builder');
|
101 |
"checkedPageBuilder"=>get_post_meta($postId,'ampforwp_page_builder_enable', true),
|
102 |
);
|
103 |
wp_localize_script( 'amppb-admin', 'amppb_panel_options',$components_options);
|
104 |
+
wp_enqueue_script('amppb-admin');
|
105 |
add_action( 'admin_footer', 'js_templates',9999);
|
106 |
|
107 |
|
118 |
}
|
119 |
function checkAMPforPageBuilderStatus($postId){
|
120 |
global $post, $redux_builder_amp;
|
121 |
+
$postId = (is_object($post)? $post->ID: '');
|
122 |
+
|
123 |
+
if( ampforwp_is_front_page() ){
|
124 |
$postId = ampforwp_get_frontpage_id();
|
125 |
}
|
126 |
+
if ( empty( $postId ) ) {
|
127 |
+
return false;
|
128 |
+
}
|
129 |
+
|
130 |
+
$ampforwp_pagebuilder_enable = get_post_meta($postId,'ampforwp_page_builder_enable', true);
|
131 |
+
|
132 |
+
if( $ampforwp_pagebuilder_enable=='yes'){
|
133 |
return true;
|
134 |
}else{
|
135 |
return false;
|
@@ -912,7 +912,7 @@ Layout css
|
|
912 |
-moz-box-sizing: border-box;
|
913 |
-webkit-box-sizing: border-box;
|
914 |
box-sizing: border-box;
|
915 |
-
|
916 |
padding: 0px;
|
917 |
width: 25%;
|
918 |
margin-right:30px;
|
912 |
-moz-box-sizing: border-box;
|
913 |
-webkit-box-sizing: border-box;
|
914 |
box-sizing: border-box;
|
915 |
+
display:inline-flex;
|
916 |
padding: 0px;
|
917 |
width: 25%;
|
918 |
margin-right:30px;
|
@@ -213,6 +213,9 @@ Vue.component('amp-pagebuilder-module-modal', {
|
|
213 |
var a = {};
|
214 |
fields.forEach(function(fieldData,fieldKey){
|
215 |
a[fieldData.name] = fieldData.default
|
|
|
|
|
|
|
216 |
});
|
217 |
|
218 |
Vue.set( rowData, 'data', a );
|
@@ -313,7 +316,7 @@ function openModulePopup(event,type){
|
|
313 |
}
|
314 |
|
315 |
|
316 |
-
if('object' != typeof(
|
317 |
userValues = decodeURIComponent(encodeURIComponent(userValues));
|
318 |
|
319 |
}
|
@@ -485,8 +488,14 @@ Vue.component('fields-data',{
|
|
485 |
|
486 |
},
|
487 |
refresh_image: function(the_id,currentSelectfield,type,field){
|
|
|
488 |
if(type=='tag'){
|
489 |
jQuery(currentSelectfield.$el).find('img').attr('src','../wp-includes/images/spinner.gif');
|
|
|
|
|
|
|
|
|
|
|
490 |
}else{
|
491 |
console.log(jQuery(currentSelectfield).parents('p'))
|
492 |
jQuery(currentSelectfield).parents('p').find('img').attr('src','../wp-includes/images/spinner.gif');
|
@@ -546,25 +555,47 @@ Vue.component('fields-data',{
|
|
546 |
this.$forceUpdate();
|
547 |
},
|
548 |
fieldShowHideCheck: function(field){
|
549 |
-
var returnOpt =
|
|
|
550 |
if(field.required){
|
551 |
var requiredCondition = field.required;
|
552 |
-
|
553 |
-
//console.log(conditionval+' => '+conditionKey);
|
554 |
app.modalcontent.fields.forEach(function(maindata, key){
|
555 |
if(requiredCondition[maindata.name]){
|
556 |
-
if(
|
557 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
558 |
}else{
|
559 |
-
returnOpt
|
560 |
}
|
561 |
}
|
562 |
});
|
563 |
-
//})
|
564 |
}
|
565 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
566 |
}
|
567 |
-
|
568 |
|
569 |
}
|
570 |
});
|
@@ -585,7 +616,8 @@ Vue.component('color-picker', {
|
|
585 |
hide: true,
|
586 |
// show a group of common colors beneath the square
|
587 |
// or, supply an array of colors to customize further
|
588 |
-
palettes: true,
|
|
|
589 |
change: function(event, ui) {
|
590 |
var element = event.target;
|
591 |
var color = ui.color.toString();
|
213 |
var a = {};
|
214 |
fields.forEach(function(fieldData,fieldKey){
|
215 |
a[fieldData.name] = fieldData.default
|
216 |
+
if(fieldData[fieldData.name+"_image_data"]){
|
217 |
+
a[fieldData.name+"_image_data"] = fieldData[fieldData.name+"_image_data"];
|
218 |
+
}
|
219 |
});
|
220 |
|
221 |
Vue.set( rowData, 'data', a );
|
316 |
}
|
317 |
|
318 |
|
319 |
+
if('object' != typeof(userValues)){
|
320 |
userValues = decodeURIComponent(encodeURIComponent(userValues));
|
321 |
|
322 |
}
|
488 |
|
489 |
},
|
490 |
refresh_image: function(the_id,currentSelectfield,type,field){
|
491 |
+
console.log(type);
|
492 |
if(type=='tag'){
|
493 |
jQuery(currentSelectfield.$el).find('img').attr('src','../wp-includes/images/spinner.gif');
|
494 |
+
if(field[field['name']+'_image_data']){
|
495 |
+
var demoImage = field[field['name']+'_image_data'];
|
496 |
+
jQuery(currentSelectfield).parents('p').find('img').attr('src',demoImage[0]);
|
497 |
+
return ;
|
498 |
+
}
|
499 |
}else{
|
500 |
console.log(jQuery(currentSelectfield).parents('p'))
|
501 |
jQuery(currentSelectfield).parents('p').find('img').attr('src','../wp-includes/images/spinner.gif');
|
555 |
this.$forceUpdate();
|
556 |
},
|
557 |
fieldShowHideCheck: function(field){
|
558 |
+
var returnOpt = [];
|
559 |
+
returnOpt.push(true);
|
560 |
if(field.required){
|
561 |
var requiredCondition = field.required;
|
562 |
+
|
|
|
563 |
app.modalcontent.fields.forEach(function(maindata, key){
|
564 |
if(requiredCondition[maindata.name]){
|
565 |
+
if( Array.isArray(requiredCondition[maindata.name]) ){
|
566 |
+
var length = requiredCondition[maindata.name].length
|
567 |
+
var checkingInArray = false;
|
568 |
+
for(var i = 0; i < length; i++) {
|
569 |
+
if(requiredCondition[maindata.name][i] == maindata.default){
|
570 |
+
checkingInArray = true;
|
571 |
+
return false;
|
572 |
+
}
|
573 |
+
}
|
574 |
+
if(checkingInArray){
|
575 |
+
returnOpt.push(true);
|
576 |
+
}else{
|
577 |
+
returnOpt.push(false);
|
578 |
+
}
|
579 |
+
}else if( maindata.default==requiredCondition[maindata.name]){
|
580 |
+
returnOpt.push(true);
|
581 |
}else{
|
582 |
+
returnOpt.push(false);
|
583 |
}
|
584 |
}
|
585 |
});
|
|
|
586 |
}
|
587 |
+
|
588 |
+
returnOpt = returnOpt.filter(function(value, index, self) {
|
589 |
+
return self.indexOf(value) === index;
|
590 |
+
});
|
591 |
+
|
592 |
+
if(returnOpt.length==1 && returnOpt[0]==true){
|
593 |
+
return true;
|
594 |
+
}else{
|
595 |
+
return false;
|
596 |
+
}
|
597 |
+
return false;
|
598 |
}
|
|
|
599 |
|
600 |
}
|
601 |
});
|
616 |
hide: true,
|
617 |
// show a group of common colors beneath the square
|
618 |
// or, supply an array of colors to customize further
|
619 |
+
//palettes: true,
|
620 |
+
palettes: ['#000000', 'transparent','#ffffff','#dd3333','#dd9933','#eeee22','#81d742','#1e73be'],
|
621 |
change: function(event, ui) {
|
622 |
var element = event.target;
|
623 |
var color = ui.color.toString();
|
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(root,factory){"object"==typeof exports&&"object"==typeof module?module.exports=factory():"function"==typeof define&&define.amd?define([],factory):"object"==typeof exports?exports.VueDragDrop=factory():root.VueDragDrop=factory()}(this,function(){return function(modules){function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={i:moduleId,l:!1,exports:{}};return modules[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.l=!0,module.exports}var installedModules={};return __webpack_require__.m=modules,__webpack_require__.c=installedModules,__webpack_require__.d=function(exports,name,getter){__webpack_require__.o(exports,name)||Object.defineProperty(exports,name,{configurable:!1,enumerable:!0,get:getter})},__webpack_require__.n=function(module){var getter=module&&module.__esModule?function(){return module.default}:function(){return module};return __webpack_require__.d(getter,"a",getter),getter},__webpack_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=19)}([function(module,exports){var global=module.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=global)},function(module,exports){var core=module.exports={version:"2.5.3"};"number"==typeof __e&&(__e=core)},function(module,exports){module.exports=function(it){return"object"==typeof it?null!==it:"function"==typeof it}},function(module,exports,__webpack_require__){var dP=__webpack_require__(23),createDesc=__webpack_require__(28);module.exports=__webpack_require__(4)?function(object,key,value){return dP.f(object,key,createDesc(1,value))}:function(object,key,value){return object[key]=value,object}},function(module,exports,__webpack_require__){module.exports=!__webpack_require__(6)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(module,exports,__webpack_require__){var global=__webpack_require__(0),core=__webpack_require__(1),hide=__webpack_require__(3),redefine=__webpack_require__(29),ctx=__webpack_require__(8),$export=function(type,name,source){var key,own,out,exp,IS_FORCED=type&$export.F,IS_GLOBAL=type&$export.G,IS_STATIC=type&$export.S,IS_PROTO=type&$export.P,IS_BIND=type&$export.B,target=IS_GLOBAL?global:IS_STATIC?global[name]||(global[name]={}):(global[name]||{}).prototype,exports=IS_GLOBAL?core:core[name]||(core[name]={}),expProto=exports.prototype||(exports.prototype={});IS_GLOBAL&&(source=name);for(key in source)own=!IS_FORCED&&target&&void 0!==target[key],out=(own?target:source)[key],exp=IS_BIND&&own?ctx(out,global):IS_PROTO&&"function"==typeof out?ctx(Function.call,out):out,target&&redefine(target,key,out,type&$export.U),exports[key]!=out&&hide(exports,key,exp),IS_PROTO&&expProto[key]!=out&&(expProto[key]=out)};global.core=core,$export.F=1,$export.G=2,$export.S=4,$export.P=8,$export.B=16,$export.W=32,$export.U=64,$export.R=128,module.exports=$export},function(module,exports){module.exports=function(exec){try{return!!exec()}catch(e){return!0}}},function(module,exports){var id=0,px=Math.random();module.exports=function(key){return"Symbol(".concat(void 0===key?"":key,")_",(++id+px).toString(36))}},function(module,exports,__webpack_require__){var aFunction=__webpack_require__(31);module.exports=function(fn,that,length){if(aFunction(fn),void 0===that)return fn;switch(length){case 1:return function(a){return fn.call(that,a)};case 2:return function(a,b){return fn.call(that,a,b)};case 3:return function(a,b,c){return fn.call(that,a,b,c)}}return function(){return fn.apply(that,arguments)}}},function(module,exports,__webpack_require__){var cof=__webpack_require__(10);module.exports=Object("z").propertyIsEnumerable(0)?Object:function(it){return"String"==cof(it)?it.split(""):Object(it)}},function(module,exports){var toString={}.toString;module.exports=function(it){return toString.call(it).slice(8,-1)}},function(module,exports){module.exports=function(it){if(void 0==it)throw TypeError("Can't call method on "+it);return it}},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(13),min=Math.min;module.exports=function(it){return it>0?min(toInteger(it),9007199254740991):0}},function(module,exports){var ceil=Math.ceil,floor=Math.floor;module.exports=function(it){return isNaN(it=+it)?0:(it>0?floor:ceil)(it)}},function(module,exports,__webpack_require__){var UNSCOPABLES=__webpack_require__(15)("unscopables"),ArrayProto=Array.prototype;void 0==ArrayProto[UNSCOPABLES]&&__webpack_require__(3)(ArrayProto,UNSCOPABLES,{}),module.exports=function(key){ArrayProto[UNSCOPABLES][key]=!0}},function(module,exports,__webpack_require__){var store=__webpack_require__(35)("wks"),uid=__webpack_require__(7),Symbol=__webpack_require__(0).Symbol,USE_SYMBOL="function"==typeof Symbol;(module.exports=function(name){return store[name]||(store[name]=USE_SYMBOL&&Symbol[name]||(USE_SYMBOL?Symbol:uid)("Symbol."+name))}).store=store},function(module,exports){module.exports=function(rawScriptExports,compiledTemplate,injectStyles,scopeId,moduleIdentifier){var esModule,scriptExports=rawScriptExports=rawScriptExports||{},type=typeof rawScriptExports.default;"object"!==type&&"function"!==type||(esModule=rawScriptExports,scriptExports=rawScriptExports.default);var options="function"==typeof scriptExports?scriptExports.options:scriptExports;compiledTemplate&&(options.render=compiledTemplate.render,options.staticRenderFns=compiledTemplate.staticRenderFns),scopeId&&(options._scopeId=scopeId);var hook;if(moduleIdentifier?(hook=function(context){context=context||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,context||"undefined"==typeof __VUE_SSR_CONTEXT__||(context=__VUE_SSR_CONTEXT__),injectStyles&&injectStyles.call(this,context),context&&context._registeredComponents&&context._registeredComponents.add(moduleIdentifier)},options._ssrRegister=hook):injectStyles&&(hook=injectStyles),hook){var functional=options.functional,existing=functional?options.render:options.beforeCreate;functional?options.render=function(h,context){return hook.call(context),existing(h,context)}:options.beforeCreate=existing?[].concat(existing,hook):[hook]}return{esModule:esModule,exports:scriptExports,options:options}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.transferDataStore={}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var keyMirror=function(keys){return keys.reduce(function(acc,k){return(acc[k]=k)&&acc},{})},mimeType=exports.mimeType="text/x-vue-drag-drop-key",mimeDelimiter=exports.mimeDelimiter=":";exports.smuggleKeyMimeType=""+mimeType+mimeDelimiter,exports.events=keyMirror(["drag","dragend","dragenter","dragleave","dragstart","dragover","drop"]),exports.dropEffects=keyMirror(["copy","move","link","none"]),exports.effectsAllowed=keyMirror(["none","copy","copyLink","copyMove","link","linkMove","move","all","uninitialized"])},function(module,exports,__webpack_require__){__webpack_require__(20),module.exports=__webpack_require__(43)},function(module,exports,__webpack_require__){"use strict";__webpack_require__(21),__webpack_require__(36)},function(module,exports,__webpack_require__){__webpack_require__(22),module.exports=__webpack_require__(1).Array.includes},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(5),$includes=__webpack_require__(32)(!0);$export($export.P,"Array",{includes:function(el){return $includes(this,el,arguments.length>1?arguments[1]:void 0)}}),__webpack_require__(14)("includes")},function(module,exports,__webpack_require__){var anObject=__webpack_require__(24),IE8_DOM_DEFINE=__webpack_require__(25),toPrimitive=__webpack_require__(27),dP=Object.defineProperty;exports.f=__webpack_require__(4)?Object.defineProperty:function(O,P,Attributes){if(anObject(O),P=toPrimitive(P,!0),anObject(Attributes),IE8_DOM_DEFINE)try{return dP(O,P,Attributes)}catch(e){}if("get"in Attributes||"set"in Attributes)throw TypeError("Accessors not supported!");return"value"in Attributes&&(O[P]=Attributes.value),O}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(2);module.exports=function(it){if(!isObject(it))throw TypeError(it+" is not an object!");return it}},function(module,exports,__webpack_require__){module.exports=!__webpack_require__(4)&&!__webpack_require__(6)(function(){return 7!=Object.defineProperty(__webpack_require__(26)("div"),"a",{get:function(){return 7}}).a})},function(module,exports,__webpack_require__){var isObject=__webpack_require__(2),document=__webpack_require__(0).document,is=isObject(document)&&isObject(document.createElement);module.exports=function(it){return is?document.createElement(it):{}}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(2);module.exports=function(it,S){if(!isObject(it))return it;var fn,val;if(S&&"function"==typeof(fn=it.toString)&&!isObject(val=fn.call(it)))return val;if("function"==typeof(fn=it.valueOf)&&!isObject(val=fn.call(it)))return val;if(!S&&"function"==typeof(fn=it.toString)&&!isObject(val=fn.call(it)))return val;throw TypeError("Can't convert object to primitive value")}},function(module,exports){module.exports=function(bitmap,value){return{enumerable:!(1&bitmap),configurable:!(2&bitmap),writable:!(4&bitmap),value:value}}},function(module,exports,__webpack_require__){var global=__webpack_require__(0),hide=__webpack_require__(3),has=__webpack_require__(30),SRC=__webpack_require__(7)("src"),$toString=Function.toString,TPL=(""+$toString).split("toString");__webpack_require__(1).inspectSource=function(it){return $toString.call(it)},(module.exports=function(O,key,val,safe){var isFunction="function"==typeof val;isFunction&&(has(val,"name")||hide(val,"name",key)),O[key]!==val&&(isFunction&&(has(val,SRC)||hide(val,SRC,O[key]?""+O[key]:TPL.join(String(key)))),O===global?O[key]=val:safe?O[key]?O[key]=val:hide(O,key,val):(delete O[key],hide(O,key,val)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[SRC]||$toString.call(this)})},function(module,exports){var hasOwnProperty={}.hasOwnProperty;module.exports=function(it,key){return hasOwnProperty.call(it,key)}},function(module,exports){module.exports=function(it){if("function"!=typeof it)throw TypeError(it+" is not a function!");return it}},function(module,exports,__webpack_require__){var toIObject=__webpack_require__(33),toLength=__webpack_require__(12),toAbsoluteIndex=__webpack_require__(34);module.exports=function(IS_INCLUDES){return function($this,el,fromIndex){var value,O=toIObject($this),length=toLength(O.length),index=toAbsoluteIndex(fromIndex,length);if(IS_INCLUDES&&el!=el){for(;length>index;)if((value=O[index++])!=value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}}},function(module,exports,__webpack_require__){var IObject=__webpack_require__(9),defined=__webpack_require__(11);module.exports=function(it){return IObject(defined(it))}},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(13),max=Math.max,min=Math.min;module.exports=function(index,length){return index=toInteger(index),index<0?max(index+length,0):min(index,length)}},function(module,exports,__webpack_require__){var global=__webpack_require__(0),store=global["__core-js_shared__"]||(global["__core-js_shared__"]={});module.exports=function(key){return store[key]||(store[key]={})}},function(module,exports,__webpack_require__){__webpack_require__(37),module.exports=__webpack_require__(1).Array.find},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(5),$find=__webpack_require__(38)(5),forced=!0;"find"in[]&&Array(1).find(function(){forced=!1}),$export($export.P+$export.F*forced,"Array",{find:function(callbackfn){return $find(this,callbackfn,arguments.length>1?arguments[1]:void 0)}}),__webpack_require__(14)("find")},function(module,exports,__webpack_require__){var ctx=__webpack_require__(8),IObject=__webpack_require__(9),toObject=__webpack_require__(39),toLength=__webpack_require__(12),asc=__webpack_require__(40);module.exports=function(TYPE,$create){var IS_MAP=1==TYPE,IS_FILTER=2==TYPE,IS_SOME=3==TYPE,IS_EVERY=4==TYPE,IS_FIND_INDEX=6==TYPE,NO_HOLES=5==TYPE||IS_FIND_INDEX,create=$create||asc;return function($this,callbackfn,that){for(var val,res,O=toObject($this),self=IObject(O),f=ctx(callbackfn,that,3),length=toLength(self.length),index=0,result=IS_MAP?create($this,length):IS_FILTER?create($this,0):void 0;length>index;index++)if((NO_HOLES||index in self)&&(val=self[index],res=f(val,index,O),TYPE))if(IS_MAP)result[index]=res;else if(res)switch(TYPE){case 3:return!0;case 5:return val;case 6:return index;case 2:result.push(val)}else if(IS_EVERY)return!1;return IS_FIND_INDEX?-1:IS_SOME||IS_EVERY?IS_EVERY:result}}},function(module,exports,__webpack_require__){var defined=__webpack_require__(11);module.exports=function(it){return Object(defined(it))}},function(module,exports,__webpack_require__){var speciesConstructor=__webpack_require__(41);module.exports=function(original,length){return new(speciesConstructor(original))(length)}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(2),isArray=__webpack_require__(42),SPECIES=__webpack_require__(15)("species");module.exports=function(original){var C;return isArray(original)&&(C=original.constructor,"function"!=typeof C||C!==Array&&!isArray(C.prototype)||(C=void 0),isObject(C)&&null===(C=C[SPECIES])&&(C=void 0)),void 0===C?Array:C}},function(module,exports,__webpack_require__){var cof=__webpack_require__(10);module.exports=Array.isArray||function(arg){return"Array"==cof(arg)}},function(module,exports,__webpack_require__){"use strict";(function(global){function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function install(Vue){Vue.component("drag",_Drag2.default),Vue.component("drop",_Drop2.default)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.Drop=exports.Drag=void 0,exports.install=install;var _Drag=__webpack_require__(45),_Drag2=_interopRequireDefault(_Drag),_Drop=__webpack_require__(51),_Drop2=_interopRequireDefault(_Drop);exports.Drag=_Drag2.default,exports.Drop=_Drop2.default;var plugin={version:"0.2.4",install:install};exports.default=plugin;var GlobalVue=null;"undefined"!=typeof window?GlobalVue=window.Vue:void 0!==global&&(GlobalVue=global.Vue),GlobalVue&&GlobalVue.use(plugin)}).call(exports,__webpack_require__(44))},function(module,exports){var g;g=function(){return this}();try{g=g||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(g=window)}module.exports=g},function(module,__webpack_exports__,__webpack_require__){"use strict";Object.defineProperty(__webpack_exports__,"__esModule",{value:!0});var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Drag_vue__=__webpack_require__(46),__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Drag_vue___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Drag_vue__),__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_9d486dca_hasScoped_false_node_modules_vue_loader_lib_selector_type_template_index_0_Drag_vue__=__webpack_require__(50),normalizeComponent=__webpack_require__(16),Component=normalizeComponent(__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Drag_vue___default.a,__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_9d486dca_hasScoped_false_node_modules_vue_loader_lib_selector_type_template_index_0_Drag_vue__.a,null,null,null);__webpack_exports__.default=Component.exports},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _uniqid=__webpack_require__(47),_uniqid2=function(obj){return obj&&obj.__esModule?obj:{default:obj}}(_uniqid),_stores=__webpack_require__(17),_constants=__webpack_require__(18);exports.default={props:{draggable:{type:Boolean,default:!0},transferData:{},dropEffect:{validator:function(value){return value in _constants.dropEffects}},effectAllowed:{validator:function(value){return value in _constants.effectsAllowed}},image:String,imageXOffset:{type:Number,default:0},imageYOffset:{type:Number,default:0},hideImageHtml:{type:Boolean,default:!0},tag:{type:String,default:"div"}},data:function(){return{id:(0,_uniqid2.default)(),dragging:!1}},computed:{events:function(){return _constants.events},scopedData:function(){return this.dragging&&this.transferData},hideImageStyle:function(){return{position:"fixed",top:"-1000px"}}},methods:{emitEvent:function(name,nativeEvent){var transfer=nativeEvent.dataTransfer;if([_constants.events.dragenter,_constants.events.dragover].includes(name)&&this.dropEffect&&(transfer.dropEffect=this.dropEffect),name===_constants.events.dragstart){if(this.effectsAllowed&&(transfer.effectsAllowed=this.effectsAllowed),this.image||this.$slots.image){var image=void 0;this.image?(image=new Image,image.src=this.image):this.$slots.image&&(image=this.$slots.image[0].elm),transfer.setDragImage&&transfer.setDragImage(image,this.imageXOffset,this.imageYOffset)}void 0!==this.transferData&&(this.$set(_stores.transferDataStore,this.id,this.transferData),transfer.setData(_constants.mimeType,this.id),transfer.setData(""+_constants.smuggleKeyMimeType+this.id,this.id)),this.dragging=!0}this.$emit(name,this.transferData,nativeEvent),name===_constants.events.dragend&&(this.$delete(_stores.transferDataStore,this.id),this.dragging=!1)}}}},function(module,exports,__webpack_require__){(function(process,module){function now(){var time=Date.now(),last=now.last||time;return now.last=time>last?time:last+1}var pid=process&&process.pid?process.pid.toString(36):"",mac=null,address=mac?parseInt(mac.replace(/\:|\D+/gi,"")).toString(36):"";module.exports=function(prefix){return(prefix||"")+address+pid+now().toString(36)},module.exports.process=function(prefix){return(prefix||"")+pid+now().toString(36)},module.exports.time=function(prefix){return(prefix||"")+now().toString(36)}}).call(exports,__webpack_require__(48),__webpack_require__(49)(module))},function(module,exports){function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e){return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{return cachedClearTimeout(marker)}catch(e){try{return cachedClearTimeout.call(null,marker)}catch(e){return cachedClearTimeout.call(this,marker)}}}function cleanUpNextTick(){draining&¤tQueue&&(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&¤tQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}function Item(fun,array){this.fun=fun,this.array=array}function noop(){}var cachedSetTimeout,cachedClearTimeout,process=module.exports={};!function(){try{cachedSetTimeout="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{cachedClearTimeout="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){cachedClearTimeout=defaultClearTimeout}}();var currentQueue,queue=[],draining=!1,queueIndex=-1;process.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),1!==queue.length||draining||runTimeout(drainQueue)},Item.prototype.run=function(){this.fun.apply(null,this.array)},process.title="browser",process.browser=!0,process.env={},process.argv=[],process.version="",process.versions={},process.on=noop,process.addListener=noop,process.once=noop,process.off=noop,process.removeListener=noop,process.removeAllListeners=noop,process.emit=noop,process.prependListener=noop,process.prependOnceListener=noop,process.listeners=function(name){return[]},process.binding=function(name){throw new Error("process.binding is not supported")},process.cwd=function(){return"/"},process.chdir=function(dir){throw new Error("process.chdir is not supported")},process.umask=function(){return 0}},function(module,exports){module.exports=function(module){return module.webpackPolyfill||(module.deprecate=function(){},module.paths=[],module.children||(module.children=[]),Object.defineProperty(module,"loaded",{enumerable:!0,get:function(){return module.l}}),Object.defineProperty(module,"id",{enumerable:!0,get:function(){return module.i}}),module.webpackPolyfill=1),module}},function(module,__webpack_exports__,__webpack_require__){"use strict";var render=function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c(_vm.tag,{tag:"component",attrs:{draggable:_vm.draggable},on:{drag:function($event){_vm.emitEvent(_vm.events.drag,$event)},dragstart:function($event){_vm.emitEvent(_vm.events.dragstart,$event)},dragenter:function($event){_vm.emitEvent(_vm.events.dragenter,$event)},dragleave:function($event){_vm.emitEvent(_vm.events.dragleave,$event)},dragend:function($event){_vm.emitEvent(_vm.events.dragend,$event)}}},[_vm._t("default",null,{transferData:_vm.scopedData}),_vm._v(" "),_vm.hideImageHtml?_c("div",{style:_vm.hideImageStyle},[_vm._t("image",null,{transferData:_vm.scopedData})],2):_vm._t("image",null,{transferData:_vm.scopedData})],2)},staticRenderFns=[],esExports={render:render,staticRenderFns:staticRenderFns};__webpack_exports__.a=esExports},function(module,__webpack_exports__,__webpack_require__){"use strict";Object.defineProperty(__webpack_exports__,"__esModule",{value:!0});var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Drop_vue__=__webpack_require__(52),__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Drop_vue___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Drop_vue__),__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_6c831554_hasScoped_false_node_modules_vue_loader_lib_selector_type_template_index_0_Drop_vue__=__webpack_require__(53),normalizeComponent=__webpack_require__(16),Component=normalizeComponent(__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Drop_vue___default.a,__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_6c831554_hasScoped_false_node_modules_vue_loader_lib_selector_type_template_index_0_Drop_vue__.a,null,null,null);__webpack_exports__.default=Component.exports},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _stores=__webpack_require__(17),_constants=__webpack_require__(18),insideElements=new Set;exports.default={props:{tag:{type:String,default:"div"}},data:function(){return{dataKey:null}},computed:{events:function(){return _constants.events},transferDataStore:function(){return _stores.transferDataStore},transferData:function(){return this.transferDataStore[this.dataKey]}},methods:{emitEvent:function(name,nativeEvent){if(name===_constants.events.drop)this.dataKey=nativeEvent.dataTransfer.getData(_constants.mimeType);else if(!this.dataKey){for(var types=nativeEvent.dataTransfer.types,typesArray=[],i=types.length>>>0;i--;)typesArray[i]=types[i];var type=typesArray.find(function(t){return t.startsWith(_constants.smuggleKeyMimeType)});type&&(this.dataKey=type.split(_constants.mimeDelimiter)[1])}this.$emit(name,this.transferData,nativeEvent),name===_constants.events.dragenter&&(insideElements.size||nativeEvent.target===this.$el)&&insideElements.add(nativeEvent.target),name===_constants.events.dragleave&&(insideElements.delete(nativeEvent.target),insideElements.size||(this.dataKey=null)),name===_constants.events.drop&&(this.dataKey=null,insideElements.clear())}}}},function(module,__webpack_exports__,__webpack_require__){"use strict";var render=function(){var _vm=this,_h=_vm.$createElement;return(_vm._self._c||_h)(_vm.tag,{tag:"component",on:{dragenter:function($event){_vm.emitEvent(_vm.events.dragenter,$event)},dragleave:function($event){_vm.emitEvent(_vm.events.dragleave,$event)},dragover:function($event){$event.preventDefault(),_vm.emitEvent(_vm.events.dragover,$event)},drop:function($event){_vm.emitEvent(_vm.events.drop,$event)}}},[_vm._t("default",null,{transferData:_vm.transferData})],2)},staticRenderFns=[],esExports={render:render,staticRenderFns:staticRenderFns};__webpack_exports__.a=esExports}])});
|
@@ -0,0 +1 @@
|
|
|
1 |
+
module.exports=function(modules){function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={i:moduleId,l:!1,exports:{}};return modules[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.l=!0,module.exports}var installedModules={};return __webpack_require__.m=modules,__webpack_require__.c=installedModules,__webpack_require__.d=function(exports,name,getter){__webpack_require__.o(exports,name)||Object.defineProperty(exports,name,{configurable:!1,enumerable:!0,get:getter})},__webpack_require__.n=function(module){var getter=module&&module.__esModule?function(){return module.default}:function(){return module};return __webpack_require__.d(getter,"a",getter),getter},__webpack_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=19)}([function(module,exports){var global=module.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=global)},function(module,exports){var core=module.exports={version:"2.5.3"};"number"==typeof __e&&(__e=core)},function(module,exports){module.exports=function(it){return"object"==typeof it?null!==it:"function"==typeof it}},function(module,exports,__webpack_require__){var dP=__webpack_require__(23),createDesc=__webpack_require__(28);module.exports=__webpack_require__(4)?function(object,key,value){return dP.f(object,key,createDesc(1,value))}:function(object,key,value){return object[key]=value,object}},function(module,exports,__webpack_require__){module.exports=!__webpack_require__(6)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(module,exports,__webpack_require__){var global=__webpack_require__(0),core=__webpack_require__(1),hide=__webpack_require__(3),redefine=__webpack_require__(29),ctx=__webpack_require__(8),$export=function(type,name,source){var key,own,out,exp,IS_FORCED=type&$export.F,IS_GLOBAL=type&$export.G,IS_STATIC=type&$export.S,IS_PROTO=type&$export.P,IS_BIND=type&$export.B,target=IS_GLOBAL?global:IS_STATIC?global[name]||(global[name]={}):(global[name]||{}).prototype,exports=IS_GLOBAL?core:core[name]||(core[name]={}),expProto=exports.prototype||(exports.prototype={});IS_GLOBAL&&(source=name);for(key in source)own=!IS_FORCED&&target&&void 0!==target[key],out=(own?target:source)[key],exp=IS_BIND&&own?ctx(out,global):IS_PROTO&&"function"==typeof out?ctx(Function.call,out):out,target&&redefine(target,key,out,type&$export.U),exports[key]!=out&&hide(exports,key,exp),IS_PROTO&&expProto[key]!=out&&(expProto[key]=out)};global.core=core,$export.F=1,$export.G=2,$export.S=4,$export.P=8,$export.B=16,$export.W=32,$export.U=64,$export.R=128,module.exports=$export},function(module,exports){module.exports=function(exec){try{return!!exec()}catch(e){return!0}}},function(module,exports){var id=0,px=Math.random();module.exports=function(key){return"Symbol(".concat(void 0===key?"":key,")_",(++id+px).toString(36))}},function(module,exports,__webpack_require__){var aFunction=__webpack_require__(31);module.exports=function(fn,that,length){if(aFunction(fn),void 0===that)return fn;switch(length){case 1:return function(a){return fn.call(that,a)};case 2:return function(a,b){return fn.call(that,a,b)};case 3:return function(a,b,c){return fn.call(that,a,b,c)}}return function(){return fn.apply(that,arguments)}}},function(module,exports,__webpack_require__){var cof=__webpack_require__(10);module.exports=Object("z").propertyIsEnumerable(0)?Object:function(it){return"String"==cof(it)?it.split(""):Object(it)}},function(module,exports){var toString={}.toString;module.exports=function(it){return toString.call(it).slice(8,-1)}},function(module,exports){module.exports=function(it){if(void 0==it)throw TypeError("Can't call method on "+it);return it}},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(13),min=Math.min;module.exports=function(it){return it>0?min(toInteger(it),9007199254740991):0}},function(module,exports){var ceil=Math.ceil,floor=Math.floor;module.exports=function(it){return isNaN(it=+it)?0:(it>0?floor:ceil)(it)}},function(module,exports,__webpack_require__){var UNSCOPABLES=__webpack_require__(15)("unscopables"),ArrayProto=Array.prototype;void 0==ArrayProto[UNSCOPABLES]&&__webpack_require__(3)(ArrayProto,UNSCOPABLES,{}),module.exports=function(key){ArrayProto[UNSCOPABLES][key]=!0}},function(module,exports,__webpack_require__){var store=__webpack_require__(35)("wks"),uid=__webpack_require__(7),Symbol=__webpack_require__(0).Symbol,USE_SYMBOL="function"==typeof Symbol;(module.exports=function(name){return store[name]||(store[name]=USE_SYMBOL&&Symbol[name]||(USE_SYMBOL?Symbol:uid)("Symbol."+name))}).store=store},function(module,exports){module.exports=function(rawScriptExports,compiledTemplate,injectStyles,scopeId,moduleIdentifier){var esModule,scriptExports=rawScriptExports=rawScriptExports||{},type=typeof rawScriptExports.default;"object"!==type&&"function"!==type||(esModule=rawScriptExports,scriptExports=rawScriptExports.default);var options="function"==typeof scriptExports?scriptExports.options:scriptExports;compiledTemplate&&(options.render=compiledTemplate.render,options.staticRenderFns=compiledTemplate.staticRenderFns),scopeId&&(options._scopeId=scopeId);var hook;if(moduleIdentifier?(hook=function(context){context=context||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,context||"undefined"==typeof __VUE_SSR_CONTEXT__||(context=__VUE_SSR_CONTEXT__),injectStyles&&injectStyles.call(this,context),context&&context._registeredComponents&&context._registeredComponents.add(moduleIdentifier)},options._ssrRegister=hook):injectStyles&&(hook=injectStyles),hook){var functional=options.functional,existing=functional?options.render:options.beforeCreate;functional?options.render=function(h,context){return hook.call(context),existing(h,context)}:options.beforeCreate=existing?[].concat(existing,hook):[hook]}return{esModule:esModule,exports:scriptExports,options:options}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.transferDataStore={}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var keyMirror=function(keys){return keys.reduce(function(acc,k){return(acc[k]=k)&&acc},{})},mimeType=exports.mimeType="text/x-vue-drag-drop-key",mimeDelimiter=exports.mimeDelimiter=":";exports.smuggleKeyMimeType=""+mimeType+mimeDelimiter,exports.events=keyMirror(["drag","dragend","dragenter","dragleave","dragstart","dragover","drop"]),exports.dropEffects=keyMirror(["copy","move","link","none"]),exports.effectsAllowed=keyMirror(["none","copy","copyLink","copyMove","link","linkMove","move","all","uninitialized"])},function(module,exports,__webpack_require__){__webpack_require__(20),module.exports=__webpack_require__(43)},function(module,exports,__webpack_require__){"use strict";__webpack_require__(21),__webpack_require__(36)},function(module,exports,__webpack_require__){__webpack_require__(22),module.exports=__webpack_require__(1).Array.includes},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(5),$includes=__webpack_require__(32)(!0);$export($export.P,"Array",{includes:function(el){return $includes(this,el,arguments.length>1?arguments[1]:void 0)}}),__webpack_require__(14)("includes")},function(module,exports,__webpack_require__){var anObject=__webpack_require__(24),IE8_DOM_DEFINE=__webpack_require__(25),toPrimitive=__webpack_require__(27),dP=Object.defineProperty;exports.f=__webpack_require__(4)?Object.defineProperty:function(O,P,Attributes){if(anObject(O),P=toPrimitive(P,!0),anObject(Attributes),IE8_DOM_DEFINE)try{return dP(O,P,Attributes)}catch(e){}if("get"in Attributes||"set"in Attributes)throw TypeError("Accessors not supported!");return"value"in Attributes&&(O[P]=Attributes.value),O}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(2);module.exports=function(it){if(!isObject(it))throw TypeError(it+" is not an object!");return it}},function(module,exports,__webpack_require__){module.exports=!__webpack_require__(4)&&!__webpack_require__(6)(function(){return 7!=Object.defineProperty(__webpack_require__(26)("div"),"a",{get:function(){return 7}}).a})},function(module,exports,__webpack_require__){var isObject=__webpack_require__(2),document=__webpack_require__(0).document,is=isObject(document)&&isObject(document.createElement);module.exports=function(it){return is?document.createElement(it):{}}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(2);module.exports=function(it,S){if(!isObject(it))return it;var fn,val;if(S&&"function"==typeof(fn=it.toString)&&!isObject(val=fn.call(it)))return val;if("function"==typeof(fn=it.valueOf)&&!isObject(val=fn.call(it)))return val;if(!S&&"function"==typeof(fn=it.toString)&&!isObject(val=fn.call(it)))return val;throw TypeError("Can't convert object to primitive value")}},function(module,exports){module.exports=function(bitmap,value){return{enumerable:!(1&bitmap),configurable:!(2&bitmap),writable:!(4&bitmap),value:value}}},function(module,exports,__webpack_require__){var global=__webpack_require__(0),hide=__webpack_require__(3),has=__webpack_require__(30),SRC=__webpack_require__(7)("src"),$toString=Function.toString,TPL=(""+$toString).split("toString");__webpack_require__(1).inspectSource=function(it){return $toString.call(it)},(module.exports=function(O,key,val,safe){var isFunction="function"==typeof val;isFunction&&(has(val,"name")||hide(val,"name",key)),O[key]!==val&&(isFunction&&(has(val,SRC)||hide(val,SRC,O[key]?""+O[key]:TPL.join(String(key)))),O===global?O[key]=val:safe?O[key]?O[key]=val:hide(O,key,val):(delete O[key],hide(O,key,val)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[SRC]||$toString.call(this)})},function(module,exports){var hasOwnProperty={}.hasOwnProperty;module.exports=function(it,key){return hasOwnProperty.call(it,key)}},function(module,exports){module.exports=function(it){if("function"!=typeof it)throw TypeError(it+" is not a function!");return it}},function(module,exports,__webpack_require__){var toIObject=__webpack_require__(33),toLength=__webpack_require__(12),toAbsoluteIndex=__webpack_require__(34);module.exports=function(IS_INCLUDES){return function($this,el,fromIndex){var value,O=toIObject($this),length=toLength(O.length),index=toAbsoluteIndex(fromIndex,length);if(IS_INCLUDES&&el!=el){for(;length>index;)if((value=O[index++])!=value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}}},function(module,exports,__webpack_require__){var IObject=__webpack_require__(9),defined=__webpack_require__(11);module.exports=function(it){return IObject(defined(it))}},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(13),max=Math.max,min=Math.min;module.exports=function(index,length){return index=toInteger(index),index<0?max(index+length,0):min(index,length)}},function(module,exports,__webpack_require__){var global=__webpack_require__(0),store=global["__core-js_shared__"]||(global["__core-js_shared__"]={});module.exports=function(key){return store[key]||(store[key]={})}},function(module,exports,__webpack_require__){__webpack_require__(37),module.exports=__webpack_require__(1).Array.find},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(5),$find=__webpack_require__(38)(5),forced=!0;"find"in[]&&Array(1).find(function(){forced=!1}),$export($export.P+$export.F*forced,"Array",{find:function(callbackfn){return $find(this,callbackfn,arguments.length>1?arguments[1]:void 0)}}),__webpack_require__(14)("find")},function(module,exports,__webpack_require__){var ctx=__webpack_require__(8),IObject=__webpack_require__(9),toObject=__webpack_require__(39),toLength=__webpack_require__(12),asc=__webpack_require__(40);module.exports=function(TYPE,$create){var IS_MAP=1==TYPE,IS_FILTER=2==TYPE,IS_SOME=3==TYPE,IS_EVERY=4==TYPE,IS_FIND_INDEX=6==TYPE,NO_HOLES=5==TYPE||IS_FIND_INDEX,create=$create||asc;return function($this,callbackfn,that){for(var val,res,O=toObject($this),self=IObject(O),f=ctx(callbackfn,that,3),length=toLength(self.length),index=0,result=IS_MAP?create($this,length):IS_FILTER?create($this,0):void 0;length>index;index++)if((NO_HOLES||index in self)&&(val=self[index],res=f(val,index,O),TYPE))if(IS_MAP)result[index]=res;else if(res)switch(TYPE){case 3:return!0;case 5:return val;case 6:return index;case 2:result.push(val)}else if(IS_EVERY)return!1;return IS_FIND_INDEX?-1:IS_SOME||IS_EVERY?IS_EVERY:result}}},function(module,exports,__webpack_require__){var defined=__webpack_require__(11);module.exports=function(it){return Object(defined(it))}},function(module,exports,__webpack_require__){var speciesConstructor=__webpack_require__(41);module.exports=function(original,length){return new(speciesConstructor(original))(length)}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(2),isArray=__webpack_require__(42),SPECIES=__webpack_require__(15)("species");module.exports=function(original){var C;return isArray(original)&&(C=original.constructor,"function"!=typeof C||C!==Array&&!isArray(C.prototype)||(C=void 0),isObject(C)&&null===(C=C[SPECIES])&&(C=void 0)),void 0===C?Array:C}},function(module,exports,__webpack_require__){var cof=__webpack_require__(10);module.exports=Array.isArray||function(arg){return"Array"==cof(arg)}},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function install(Vue){Vue.component("drag",_Drag2.default),Vue.component("drop",_Drop2.default)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.Drop=exports.Drag=void 0,exports.install=install;var _Drag=__webpack_require__(44),_Drag2=_interopRequireDefault(_Drag),_Drop=__webpack_require__(49),_Drop2=_interopRequireDefault(_Drop);exports.Drag=_Drag2.default,exports.Drop=_Drop2.default;var plugin={version:"0.2.4",install:install};exports.default=plugin;var GlobalVue=null;"undefined"!=typeof window?GlobalVue=window.Vue:"undefined"!=typeof global&&(GlobalVue=global.Vue),GlobalVue&&GlobalVue.use(plugin)},function(module,__webpack_exports__,__webpack_require__){"use strict";Object.defineProperty(__webpack_exports__,"__esModule",{value:!0});var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Drag_vue__=__webpack_require__(45),__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Drag_vue___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Drag_vue__),__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_9d486dca_hasScoped_false_node_modules_vue_loader_lib_selector_type_template_index_0_Drag_vue__=__webpack_require__(48),normalizeComponent=__webpack_require__(16),Component=normalizeComponent(__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Drag_vue___default.a,__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_9d486dca_hasScoped_false_node_modules_vue_loader_lib_selector_type_template_index_0_Drag_vue__.a,null,null,"98274e0e");__webpack_exports__.default=Component.exports},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _uniqid=__webpack_require__(46),_uniqid2=function(obj){return obj&&obj.__esModule?obj:{default:obj}}(_uniqid),_stores=__webpack_require__(17),_constants=__webpack_require__(18);exports.default={props:{draggable:{type:Boolean,default:!0},transferData:{},dropEffect:{validator:function(value){return value in _constants.dropEffects}},effectAllowed:{validator:function(value){return value in _constants.effectsAllowed}},image:String,imageXOffset:{type:Number,default:0},imageYOffset:{type:Number,default:0},hideImageHtml:{type:Boolean,default:!0},tag:{type:String,default:"div"}},data:function(){return{id:(0,_uniqid2.default)(),dragging:!1}},computed:{events:function(){return _constants.events},scopedData:function(){return this.dragging&&this.transferData},hideImageStyle:function(){return{position:"fixed",top:"-1000px"}}},methods:{emitEvent:function(name,nativeEvent){var transfer=nativeEvent.dataTransfer;if([_constants.events.dragenter,_constants.events.dragover].includes(name)&&this.dropEffect&&(transfer.dropEffect=this.dropEffect),name===_constants.events.dragstart){if(this.effectsAllowed&&(transfer.effectsAllowed=this.effectsAllowed),this.image||this.$slots.image){var image=void 0;this.image?(image=new Image,image.src=this.image):this.$slots.image&&(image=this.$slots.image[0].elm),transfer.setDragImage&&transfer.setDragImage(image,this.imageXOffset,this.imageYOffset)}void 0!==this.transferData&&(this.$set(_stores.transferDataStore,this.id,this.transferData),transfer.setData(_constants.mimeType,this.id),transfer.setData(""+_constants.smuggleKeyMimeType+this.id,this.id)),this.dragging=!0}this.$emit(name,this.transferData,nativeEvent),name===_constants.events.dragend&&(this.$delete(_stores.transferDataStore,this.id),this.dragging=!1)}}}},function(module,exports,__webpack_require__){(function(module){function now(){var time=Date.now(),last=now.last||time;return now.last=time>last?time:last+1}var pid=process&&process.pid?process.pid.toString(36):"",mac=null,address=mac?parseInt(mac.replace(/\:|\D+/gi,"")).toString(36):"";module.exports=function(prefix){return(prefix||"")+address+pid+now().toString(36)},module.exports.process=function(prefix){return(prefix||"")+pid+now().toString(36)},module.exports.time=function(prefix){return(prefix||"")+now().toString(36)}}).call(exports,__webpack_require__(47)(module))},function(module,exports){module.exports=function(module){return module.webpackPolyfill||(module.deprecate=function(){},module.paths=[],module.children||(module.children=[]),Object.defineProperty(module,"loaded",{enumerable:!0,get:function(){return module.l}}),Object.defineProperty(module,"id",{enumerable:!0,get:function(){return module.i}}),module.webpackPolyfill=1),module}},function(module,__webpack_exports__,__webpack_require__){"use strict";var render=function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c(_vm.tag,{tag:"component",attrs:{draggable:_vm.draggable},on:{drag:function($event){_vm.emitEvent(_vm.events.drag,$event)},dragstart:function($event){_vm.emitEvent(_vm.events.dragstart,$event)},dragenter:function($event){_vm.emitEvent(_vm.events.dragenter,$event)},dragleave:function($event){_vm.emitEvent(_vm.events.dragleave,$event)},dragend:function($event){_vm.emitEvent(_vm.events.dragend,$event)}}},[_vm._t("default",null,{transferData:_vm.scopedData}),_vm._v(" "),_vm.hideImageHtml?_c("div",{style:_vm.hideImageStyle},[_vm._t("image",null,{transferData:_vm.scopedData})],2):_vm._t("image",null,{transferData:_vm.scopedData})],2)},staticRenderFns=[],esExports={render:render,staticRenderFns:staticRenderFns};__webpack_exports__.a=esExports},function(module,__webpack_exports__,__webpack_require__){"use strict";Object.defineProperty(__webpack_exports__,"__esModule",{value:!0});var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Drop_vue__=__webpack_require__(50),__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Drop_vue___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Drop_vue__),__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_6c831554_hasScoped_false_node_modules_vue_loader_lib_selector_type_template_index_0_Drop_vue__=__webpack_require__(51),normalizeComponent=__webpack_require__(16),Component=normalizeComponent(__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Drop_vue___default.a,__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_6c831554_hasScoped_false_node_modules_vue_loader_lib_selector_type_template_index_0_Drop_vue__.a,null,null,"6761f598");__webpack_exports__.default=Component.exports},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _stores=__webpack_require__(17),_constants=__webpack_require__(18),insideElements=new Set;exports.default={props:{tag:{type:String,default:"div"}},data:function(){return{dataKey:null}},computed:{events:function(){return _constants.events},transferDataStore:function(){return _stores.transferDataStore},transferData:function(){return this.transferDataStore[this.dataKey]}},methods:{emitEvent:function(name,nativeEvent){if(name===_constants.events.drop)this.dataKey=nativeEvent.dataTransfer.getData(_constants.mimeType);else if(!this.dataKey){for(var types=nativeEvent.dataTransfer.types,typesArray=[],i=types.length>>>0;i--;)typesArray[i]=types[i];var type=typesArray.find(function(t){return t.startsWith(_constants.smuggleKeyMimeType)});type&&(this.dataKey=type.split(_constants.mimeDelimiter)[1])}this.$emit(name,this.transferData,nativeEvent),name===_constants.events.dragenter&&(insideElements.size||nativeEvent.target===this.$el)&&insideElements.add(nativeEvent.target),name===_constants.events.dragleave&&(insideElements.delete(nativeEvent.target),insideElements.size||(this.dataKey=null)),name===_constants.events.drop&&(this.dataKey=null,insideElements.clear())}}}},function(module,__webpack_exports__,__webpack_require__){"use strict";var render=function(){var _vm=this,_h=_vm.$createElement;return(_vm._self._c||_h)(_vm.tag,{tag:"component",on:{dragenter:function($event){_vm.emitEvent(_vm.events.dragenter,$event)},dragleave:function($event){_vm.emitEvent(_vm.events.dragleave,$event)},dragover:function($event){$event.preventDefault(),_vm.emitEvent(_vm.events.dragover,$event)},drop:function($event){_vm.emitEvent(_vm.events.drop,$event)}}},[_vm._t("default",null,{transferData:_vm.transferData})],2)},staticRenderFns=[],esExports={render:render,staticRenderFns:staticRenderFns};__webpack_exports__.a=esExports}]);
|
File without changes
|
@@ -0,0 +1 @@
|
|
|
1 |
+
"use strict";function _toConsumableArray(t){if(Array.isArray(t)){for(var n=0,e=Array(t.length);n<t.length;n++)e[n]=t[n];return e}return Array.from(t)}var _extends=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t};!function(){function t(t,n,e){return void 0==e?t:(t=null==t?{}:t,t[n]=e,t)}function n(n){function e(t){t.parentElement.removeChild(t)}function o(t,n,e){var o=0===e?t.children[0]:t.children[e-1].nextSibling;t.insertBefore(n,o)}function i(t,n){return t.map(function(t){return t.elm}).indexOf(n)}function r(t,n,e){if(!t)return[];var o=t.map(function(t){return t.elm}),i=[].concat(_toConsumableArray(n)).map(function(t){return o.indexOf(t)});return e?i.filter(function(t){return t!==-1}):i}function s(t,n){var e=this;this.$nextTick(function(){return e.$emit(t.toLowerCase(),n)})}function a(t){var n=this;return function(e){null!==n.realList&&n["onDrag"+t](e),s.call(n,t,e)}}var l=["Start","Add","Remove","Update","End"],u=["Choose","Sort","Filter","Clone"],c=["Move"].concat(l,u).map(function(t){return"on"+t}),d=null,f={options:Object,list:{type:Array,required:!1,"default":null},value:{type:Array,required:!1,"default":null},noTransitionOnDrag:{type:Boolean,"default":!1},clone:{type:Function,"default":function(t){return t}},element:{type:String,"default":"div"},move:{type:Function,"default":null},componentData:{type:Object,required:!1,"default":null}},h={name:"draggable",props:f,data:function(){return{transitionMode:!1,noneFunctionalComponentMode:!1,init:!1}},render:function(n){var e=this.$slots["default"];if(e&&1===e.length){var o=e[0];o.componentOptions&&"transition-group"===o.componentOptions.tag&&(this.transitionMode=!0)}var i=e,r=this.$slots.footer;r&&(i=e?[].concat(_toConsumableArray(e),_toConsumableArray(r)):[].concat(_toConsumableArray(r)));var s=null,a=function(n,e){s=t(s,n,e)};if(a("attrs",this.$attrs),this.componentData){var l=this.componentData,u=l.on,c=l.props;a("on",u),a("props",c)}return n(this.element,s,i)},mounted:function(){var t=this;if(this.noneFunctionalComponentMode=this.element.toLowerCase()!==this.$el.nodeName.toLowerCase(),this.noneFunctionalComponentMode&&this.transitionMode)throw new Error("Transition-group inside component is not supported. Please alter element value or remove transition-group. Current element value: "+this.element);var e={};l.forEach(function(n){e["on"+n]=a.call(t,n)}),u.forEach(function(n){e["on"+n]=s.bind(t,n)});var o=_extends({},this.options,e,{onMove:function(n,e){return t.onDragMove(n,e)}});!("draggable"in o)&&(o.draggable=">*"),this._sortable=new n(this.rootContainer,o),this.computeIndexes()},beforeDestroy:function(){this._sortable.destroy()},computed:{rootContainer:function(){return this.transitionMode?this.$el.children[0]:this.$el},isCloning:function(){return!!this.options&&!!this.options.group&&"clone"===this.options.group.pull},realList:function(){return this.list?this.list:this.value}},watch:{options:{handler:function(t){for(var n in t)c.indexOf(n)==-1&&this._sortable.option(n,t[n])},deep:!0},realList:function(){this.computeIndexes()}},methods:{getChildrenNodes:function(){if(this.init||(this.noneFunctionalComponentMode=this.noneFunctionalComponentMode&&1==this.$children.length,this.init=!0),this.noneFunctionalComponentMode)return this.$children[0].$slots["default"];var t=this.$slots["default"];return this.transitionMode?t[0].child.$slots["default"]:t},computeIndexes:function(){var t=this;this.$nextTick(function(){t.visibleIndexes=r(t.getChildrenNodes(),t.rootContainer.children,t.transitionMode)})},getUnderlyingVm:function(t){var n=i(this.getChildrenNodes()||[],t);if(n===-1)return null;var e=this.realList[n];return{index:n,element:e}},getUnderlyingPotencialDraggableComponent:function(t){var n=t.__vue__;return n&&n.$options&&"transition-group"===n.$options._componentTag?n.$parent:n},emitChanges:function(t){var n=this;this.$nextTick(function(){n.$emit("change",t)})},alterList:function(t){if(this.list)t(this.list);else{var n=[].concat(_toConsumableArray(this.value));t(n),this.$emit("input",n)}},spliceList:function m(){var t=arguments,m=function(n){return n.splice.apply(n,t)};this.alterList(m)},updatePosition:function p(t,n){var p=function(e){return e.splice(n,0,e.splice(t,1)[0])};this.alterList(p)},getRelatedContextFromMoveEvent:function(t){var n=t.to,e=t.related,o=this.getUnderlyingPotencialDraggableComponent(n);if(!o)return{component:o};var i=o.realList,r={list:i,component:o};if(n!==e&&i&&o.getUnderlyingVm){var s=o.getUnderlyingVm(e);if(s)return _extends(s,r)}return r},getVmIndex:function(t){var n=this.visibleIndexes,e=n.length;return t>e-1?e:n[t]},getComponent:function(){return this.$slots["default"][0].componentInstance},resetTransitionData:function(t){if(this.noTransitionOnDrag&&this.transitionMode){var n=this.getChildrenNodes();n[t].data=null;var e=this.getComponent();e.children=[],e.kept=void 0}},onDragStart:function(t){this.context=this.getUnderlyingVm(t.item),t.item._underlying_vm_=this.clone(this.context.element),d=t.item},onDragAdd:function(t){var n=t.item._underlying_vm_;if(void 0!==n){e(t.item);var o=this.getVmIndex(t.newIndex);this.spliceList(o,0,n),this.computeIndexes();var i={element:n,newIndex:o};this.emitChanges({added:i})}},onDragRemove:function(t){if(o(this.rootContainer,t.item,t.oldIndex),this.isCloning)return void e(t.clone);var n=this.context.index;this.spliceList(n,1);var i={element:this.context.element,oldIndex:n};this.resetTransitionData(n),this.emitChanges({removed:i})},onDragUpdate:function(t){e(t.item),o(t.from,t.item,t.oldIndex);var n=this.context.index,i=this.getVmIndex(t.newIndex);this.updatePosition(n,i);var r={element:this.context.element,oldIndex:n,newIndex:i};this.emitChanges({moved:r})},computeFutureIndex:function(t,n){if(!t.element)return 0;var e=[].concat(_toConsumableArray(n.to.children)).filter(function(t){return"none"!==t.style.display}),o=e.indexOf(n.related),i=t.component.getVmIndex(o),r=e.indexOf(d)!=-1;return r||!n.willInsertAfter?i:i+1},onDragMove:function(t,n){var e=this.move;if(!e||!this.realList)return!0;var o=this.getRelatedContextFromMoveEvent(t),i=this.context,r=this.computeFutureIndex(o,t);return _extends(i,{futureIndex:r}),_extends(t,{relatedContext:o,draggedContext:i}),e(t,n)},onDragEnd:function(t){this.computeIndexes(),d=null}}};return h}if(Array.from||(Array.from=function(t){return[].slice.call(t)}),(typeof exports == "object")){var e=require("sortablejs");module.exports=n(e)}else if("function"==typeof define&&define.amd)define(["sortablejs"],function(t){return n(t)});else if(window&&window.Vue&&window.Sortable){var o=n(window.Sortable);Vue.component("draggable",o)}}();
|
@@ -0,0 +1,10947 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* Vue.js v2.5.16
|
3 |
+
* (c) 2014-2018 Evan You
|
4 |
+
* Released under the MIT License.
|
5 |
+
*/
|
6 |
+
(function (global, factory) {
|
7 |
+
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
8 |
+
typeof define === 'function' && define.amd ? define(factory) :
|
9 |
+
(global.Vue = factory());
|
10 |
+
}(this, (function () { 'use strict';
|
11 |
+
|
12 |
+
/* */
|
13 |
+
|
14 |
+
var emptyObject = Object.freeze({});
|
15 |
+
|
16 |
+
// these helpers produces better vm code in JS engines due to their
|
17 |
+
// explicitness and function inlining
|
18 |
+
function isUndef (v) {
|
19 |
+
return v === undefined || v === null
|
20 |
+
}
|
21 |
+
|
22 |
+
function isDef (v) {
|
23 |
+
return v !== undefined && v !== null
|
24 |
+
}
|
25 |
+
|
26 |
+
function isTrue (v) {
|
27 |
+
return v === true
|
28 |
+
}
|
29 |
+
|
30 |
+
function isFalse (v) {
|
31 |
+
return v === false
|
32 |
+
}
|
33 |
+
|
34 |
+
/**
|
35 |
+
* Check if value is primitive
|
36 |
+
*/
|
37 |
+
function isPrimitive (value) {
|
38 |
+
return (
|
39 |
+
typeof value === 'string' ||
|
40 |
+
typeof value === 'number' ||
|
41 |
+
// $flow-disable-line
|
42 |
+
typeof value === 'symbol' ||
|
43 |
+
typeof value === 'boolean'
|
44 |
+
)
|
45 |
+
}
|
46 |
+
|
47 |
+
/**
|
48 |
+
* Quick object check - this is primarily used to tell
|
49 |
+
* Objects from primitive values when we know the value
|
50 |
+
* is a JSON-compliant type.
|
51 |
+
*/
|
52 |
+
function isObject (obj) {
|
53 |
+
return obj !== null && typeof obj === 'object'
|
54 |
+
}
|
55 |
+
|
56 |
+
/**
|
57 |
+
* Get the raw type string of a value e.g. [object Object]
|
58 |
+
*/
|
59 |
+
var _toString = Object.prototype.toString;
|
60 |
+
|
61 |
+
function toRawType (value) {
|
62 |
+
return _toString.call(value).slice(8, -1)
|
63 |
+
}
|
64 |
+
|
65 |
+
/**
|
66 |
+
* Strict object type check. Only returns true
|
67 |
+
* for plain JavaScript objects.
|
68 |
+
*/
|
69 |
+
function isPlainObject (obj) {
|
70 |
+
return _toString.call(obj) === '[object Object]'
|
71 |
+
}
|
72 |
+
|
73 |
+
function isRegExp (v) {
|
74 |
+
return _toString.call(v) === '[object RegExp]'
|
75 |
+
}
|
76 |
+
|
77 |
+
/**
|
78 |
+
* Check if val is a valid array index.
|
79 |
+
*/
|
80 |
+
function isValidArrayIndex (val) {
|
81 |
+
var n = parseFloat(String(val));
|
82 |
+
return n >= 0 && Math.floor(n) === n && isFinite(val)
|
83 |
+
}
|
84 |
+
|
85 |
+
/**
|
86 |
+
* Convert a value to a string that is actually rendered.
|
87 |
+
*/
|
88 |
+
function toString (val) {
|
89 |
+
return val == null
|
90 |
+
? ''
|
91 |
+
: typeof val === 'object'
|
92 |
+
? JSON.stringify(val, null, 2)
|
93 |
+
: String(val)
|
94 |
+
}
|
95 |
+
|
96 |
+
/**
|
97 |
+
* Convert a input value to a number for persistence.
|
98 |
+
* If the conversion fails, return original string.
|
99 |
+
*/
|
100 |
+
function toNumber (val) {
|
101 |
+
var n = parseFloat(val);
|
102 |
+
return isNaN(n) ? val : n
|
103 |
+
}
|
104 |
+
|
105 |
+
/**
|
106 |
+
* Make a map and return a function for checking if a key
|
107 |
+
* is in that map.
|
108 |
+
*/
|
109 |
+
function makeMap (
|
110 |
+
str,
|
111 |
+
expectsLowerCase
|
112 |
+
) {
|
113 |
+
var map = Object.create(null);
|
114 |
+
var list = str.split(',');
|
115 |
+
for (var i = 0; i < list.length; i++) {
|
116 |
+
map[list[i]] = true;
|
117 |
+
}
|
118 |
+
return expectsLowerCase
|
119 |
+
? function (val) { return map[val.toLowerCase()]; }
|
120 |
+
: function (val) { return map[val]; }
|
121 |
+
}
|
122 |
+
|
123 |
+
/**
|
124 |
+
* Check if a tag is a built-in tag.
|
125 |
+
*/
|
126 |
+
var isBuiltInTag = makeMap('slot,component', true);
|
127 |
+
|
128 |
+
/**
|
129 |
+
* Check if a attribute is a reserved attribute.
|
130 |
+
*/
|
131 |
+
var isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');
|
132 |
+
|
133 |
+
/**
|
134 |
+
* Remove an item from an array
|
135 |
+
*/
|
136 |
+
function remove (arr, item) {
|
137 |
+
if (arr.length) {
|
138 |
+
var index = arr.indexOf(item);
|
139 |
+
if (index > -1) {
|
140 |
+
return arr.splice(index, 1)
|
141 |
+
}
|
142 |
+
}
|
143 |
+
}
|
144 |
+
|
145 |
+
/**
|
146 |
+
* Check whether the object has the property.
|
147 |
+
*/
|
148 |
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
149 |
+
function hasOwn (obj, key) {
|
150 |
+
return hasOwnProperty.call(obj, key)
|
151 |
+
}
|
152 |
+
|
153 |
+
/**
|
154 |
+
* Create a cached version of a pure function.
|
155 |
+
*/
|
156 |
+
function cached (fn) {
|
157 |
+
var cache = Object.create(null);
|
158 |
+
return (function cachedFn (str) {
|
159 |
+
var hit = cache[str];
|
160 |
+
return hit || (cache[str] = fn(str))
|
161 |
+
})
|
162 |
+
}
|
163 |
+
|
164 |
+
/**
|
165 |
+
* Camelize a hyphen-delimited string.
|
166 |
+
*/
|
167 |
+
var camelizeRE = /-(\w)/g;
|
168 |
+
var camelize = cached(function (str) {
|
169 |
+
return str.replace(camelizeRE, function (_, c) { return c ? c.toUpperCase() : ''; })
|
170 |
+
});
|
171 |
+
|
172 |
+
/**
|
173 |
+
* Capitalize a string.
|
174 |
+
*/
|
175 |
+
var capitalize = cached(function (str) {
|
176 |
+
return str.charAt(0).toUpperCase() + str.slice(1)
|
177 |
+
});
|
178 |
+
|
179 |
+
/**
|
180 |
+
* Hyphenate a camelCase string.
|
181 |
+
*/
|
182 |
+
var hyphenateRE = /\B([A-Z])/g;
|
183 |
+
var hyphenate = cached(function (str) {
|
184 |
+
return str.replace(hyphenateRE, '-$1').toLowerCase()
|
185 |
+
});
|
186 |
+
|
187 |
+
/**
|
188 |
+
* Simple bind polyfill for environments that do not support it... e.g.
|
189 |
+
* PhantomJS 1.x. Technically we don't need this anymore since native bind is
|
190 |
+
* now more performant in most browsers, but removing it would be breaking for
|
191 |
+
* code that was able to run in PhantomJS 1.x, so this must be kept for
|
192 |
+
* backwards compatibility.
|
193 |
+
*/
|
194 |
+
|
195 |
+
/* istanbul ignore next */
|
196 |
+
function polyfillBind (fn, ctx) {
|
197 |
+
function boundFn (a) {
|
198 |
+
var l = arguments.length;
|
199 |
+
return l
|
200 |
+
? l > 1
|
201 |
+
? fn.apply(ctx, arguments)
|
202 |
+
: fn.call(ctx, a)
|
203 |
+
: fn.call(ctx)
|
204 |
+
}
|
205 |
+
|
206 |
+
boundFn._length = fn.length;
|
207 |
+
return boundFn
|
208 |
+
}
|
209 |
+
|
210 |
+
function nativeBind (fn, ctx) {
|
211 |
+
return fn.bind(ctx)
|
212 |
+
}
|
213 |
+
|
214 |
+
var bind = Function.prototype.bind
|
215 |
+
? nativeBind
|
216 |
+
: polyfillBind;
|
217 |
+
|
218 |
+
/**
|
219 |
+
* Convert an Array-like object to a real Array.
|
220 |
+
*/
|
221 |
+
function toArray (list, start) {
|
222 |
+
start = start || 0;
|
223 |
+
var i = list.length - start;
|
224 |
+
var ret = new Array(i);
|
225 |
+
while (i--) {
|
226 |
+
ret[i] = list[i + start];
|
227 |
+
}
|
228 |
+
return ret
|
229 |
+
}
|
230 |
+
|
231 |
+
/**
|
232 |
+
* Mix properties into target object.
|
233 |
+
*/
|
234 |
+
function extend (to, _from) {
|
235 |
+
for (var key in _from) {
|
236 |
+
to[key] = _from[key];
|
237 |
+
}
|
238 |
+
return to
|
239 |
+
}
|
240 |
+
|
241 |
+
/**
|
242 |
+
* Merge an Array of Objects into a single Object.
|
243 |
+
*/
|
244 |
+
function toObject (arr) {
|
245 |
+
var res = {};
|
246 |
+
for (var i = 0; i < arr.length; i++) {
|
247 |
+
if (arr[i]) {
|
248 |
+
extend(res, arr[i]);
|
249 |
+
}
|
250 |
+
}
|
251 |
+
return res
|
252 |
+
}
|
253 |
+
|
254 |
+
/**
|
255 |
+
* Perform no operation.
|
256 |
+
* Stubbing args to make Flow happy without leaving useless transpiled code
|
257 |
+
* with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/)
|
258 |
+
*/
|
259 |
+
function noop (a, b, c) {}
|
260 |
+
|
261 |
+
/**
|
262 |
+
* Always return false.
|
263 |
+
*/
|
264 |
+
var no = function (a, b, c) { return false; };
|
265 |
+
|
266 |
+
/**
|
267 |
+
* Return same value
|
268 |
+
*/
|
269 |
+
var identity = function (_) { return _; };
|
270 |
+
|
271 |
+
/**
|
272 |
+
* Generate a static keys string from compiler modules.
|
273 |
+
*/
|
274 |
+
function genStaticKeys (modules) {
|
275 |
+
return modules.reduce(function (keys, m) {
|
276 |
+
return keys.concat(m.staticKeys || [])
|
277 |
+
}, []).join(',')
|
278 |
+
}
|
279 |
+
|
280 |
+
/**
|
281 |
+
* Check if two values are loosely equal - that is,
|
282 |
+
* if they are plain objects, do they have the same shape?
|
283 |
+
*/
|
284 |
+
function looseEqual (a, b) {
|
285 |
+
if (a === b) { return true }
|
286 |
+
var isObjectA = isObject(a);
|
287 |
+
var isObjectB = isObject(b);
|
288 |
+
if (isObjectA && isObjectB) {
|
289 |
+
try {
|
290 |
+
var isArrayA = Array.isArray(a);
|
291 |
+
var isArrayB = Array.isArray(b);
|
292 |
+
if (isArrayA && isArrayB) {
|
293 |
+
return a.length === b.length && a.every(function (e, i) {
|
294 |
+
return looseEqual(e, b[i])
|
295 |
+
})
|
296 |
+
} else if (!isArrayA && !isArrayB) {
|
297 |
+
var keysA = Object.keys(a);
|
298 |
+
var keysB = Object.keys(b);
|
299 |
+
return keysA.length === keysB.length && keysA.every(function (key) {
|
300 |
+
return looseEqual(a[key], b[key])
|
301 |
+
})
|
302 |
+
} else {
|
303 |
+
/* istanbul ignore next */
|
304 |
+
return false
|
305 |
+
}
|
306 |
+
} catch (e) {
|
307 |
+
/* istanbul ignore next */
|
308 |
+
return false
|
309 |
+
}
|
310 |
+
} else if (!isObjectA && !isObjectB) {
|
311 |
+
return String(a) === String(b)
|
312 |
+
} else {
|
313 |
+
return false
|
314 |
+
}
|
315 |
+
}
|
316 |
+
|
317 |
+
function looseIndexOf (arr, val) {
|
318 |
+
for (var i = 0; i < arr.length; i++) {
|
319 |
+
if (looseEqual(arr[i], val)) { return i }
|
320 |
+
}
|
321 |
+
return -1
|
322 |
+
}
|
323 |
+
|
324 |
+
/**
|
325 |
+
* Ensure a function is called only once.
|
326 |
+
*/
|
327 |
+
function once (fn) {
|
328 |
+
var called = false;
|
329 |
+
return function () {
|
330 |
+
if (!called) {
|
331 |
+
called = true;
|
332 |
+
fn.apply(this, arguments);
|
333 |
+
}
|
334 |
+
}
|
335 |
+
}
|
336 |
+
|
337 |
+
var SSR_ATTR = 'data-server-rendered';
|
338 |
+
|
339 |
+
var ASSET_TYPES = [
|
340 |
+
'component',
|
341 |
+
'directive',
|
342 |
+
'filter'
|
343 |
+
];
|
344 |
+
|
345 |
+
var LIFECYCLE_HOOKS = [
|
346 |
+
'beforeCreate',
|
347 |
+
'created',
|
348 |
+
'beforeMount',
|
349 |
+
'mounted',
|
350 |
+
'beforeUpdate',
|
351 |
+
'updated',
|
352 |
+
'beforeDestroy',
|
353 |
+
'destroyed',
|
354 |
+
'activated',
|
355 |
+
'deactivated',
|
356 |
+
'errorCaptured'
|
357 |
+
];
|
358 |
+
|
359 |
+
/* */
|
360 |
+
|
361 |
+
var config = ({
|
362 |
+
/**
|
363 |
+
* Option merge strategies (used in core/util/options)
|
364 |
+
*/
|
365 |
+
// $flow-disable-line
|
366 |
+
optionMergeStrategies: Object.create(null),
|
367 |
+
|
368 |
+
/**
|
369 |
+
* Whether to suppress warnings.
|
370 |
+
*/
|
371 |
+
silent: false,
|
372 |
+
|
373 |
+
/**
|
374 |
+
* Show production mode tip message on boot?
|
375 |
+
*/
|
376 |
+
productionTip: "development" !== 'production',
|
377 |
+
|
378 |
+
/**
|
379 |
+
* Whether to enable devtools
|
380 |
+
*/
|
381 |
+
devtools: "development" !== 'production',
|
382 |
+
|
383 |
+
/**
|
384 |
+
* Whether to record perf
|
385 |
+
*/
|
386 |
+
performance: false,
|
387 |
+
|
388 |
+
/**
|
389 |
+
* Error handler for watcher errors
|
390 |
+
*/
|
391 |
+
errorHandler: null,
|
392 |
+
|
393 |
+
/**
|
394 |
+
* Warn handler for watcher warns
|
395 |
+
*/
|
396 |
+
warnHandler: null,
|
397 |
+
|
398 |
+
/**
|
399 |
+
* Ignore certain custom elements
|
400 |
+
*/
|
401 |
+
ignoredElements: [],
|
402 |
+
|
403 |
+
/**
|
404 |
+
* Custom user key aliases for v-on
|
405 |
+
*/
|
406 |
+
// $flow-disable-line
|
407 |
+
keyCodes: Object.create(null),
|
408 |
+
|
409 |
+
/**
|
410 |
+
* Check if a tag is reserved so that it cannot be registered as a
|
411 |
+
* component. This is platform-dependent and may be overwritten.
|
412 |
+
*/
|
413 |
+
isReservedTag: no,
|
414 |
+
|
415 |
+
/**
|
416 |
+
* Check if an attribute is reserved so that it cannot be used as a component
|
417 |
+
* prop. This is platform-dependent and may be overwritten.
|
418 |
+
*/
|
419 |
+
isReservedAttr: no,
|
420 |
+
|
421 |
+
/**
|
422 |
+
* Check if a tag is an unknown element.
|
423 |
+
* Platform-dependent.
|
424 |
+
*/
|
425 |
+
isUnknownElement: no,
|
426 |
+
|
427 |
+
/**
|
428 |
+
* Get the namespace of an element
|
429 |
+
*/
|
430 |
+
getTagNamespace: noop,
|
431 |
+
|
432 |
+
/**
|
433 |
+
* Parse the real tag name for the specific platform.
|
434 |
+
*/
|
435 |
+
parsePlatformTagName: identity,
|
436 |
+
|
437 |
+
/**
|
438 |
+
* Check if an attribute must be bound using property, e.g. value
|
439 |
+
* Platform-dependent.
|
440 |
+
*/
|
441 |
+
mustUseProp: no,
|
442 |
+
|
443 |
+
/**
|
444 |
+
* Exposed for legacy reasons
|
445 |
+
*/
|
446 |
+
_lifecycleHooks: LIFECYCLE_HOOKS
|
447 |
+
})
|
448 |
+
|
449 |
+
/* */
|
450 |
+
|
451 |
+
/**
|
452 |
+
* Check if a string starts with $ or _
|
453 |
+
*/
|
454 |
+
function isReserved (str) {
|
455 |
+
var c = (str + '').charCodeAt(0);
|
456 |
+
return c === 0x24 || c === 0x5F
|
457 |
+
}
|
458 |
+
|
459 |
+
/**
|
460 |
+
* Define a property.
|
461 |
+
*/
|
462 |
+
function def (obj, key, val, enumerable) {
|
463 |
+
Object.defineProperty(obj, key, {
|
464 |
+
value: val,
|
465 |
+
enumerable: !!enumerable,
|
466 |
+
writable: true,
|
467 |
+
configurable: true
|
468 |
+
});
|
469 |
+
}
|
470 |
+
|
471 |
+
/**
|
472 |
+
* Parse simple path.
|
473 |
+
*/
|
474 |
+
var bailRE = /[^\w.$]/;
|
475 |
+
function parsePath (path) {
|
476 |
+
if (bailRE.test(path)) {
|
477 |
+
return
|
478 |
+
}
|
479 |
+
var segments = path.split('.');
|
480 |
+
return function (obj) {
|
481 |
+
for (var i = 0; i < segments.length; i++) {
|
482 |
+
if (!obj) { return }
|
483 |
+
obj = obj[segments[i]];
|
484 |
+
}
|
485 |
+
return obj
|
486 |
+
}
|
487 |
+
}
|
488 |
+
|
489 |
+
/* */
|
490 |
+
|
491 |
+
// can we use __proto__?
|
492 |
+
var hasProto = '__proto__' in {};
|
493 |
+
|
494 |
+
// Browser environment sniffing
|
495 |
+
var inBrowser = typeof window !== 'undefined';
|
496 |
+
var inWeex = typeof WXEnvironment !== 'undefined' && !!WXEnvironment.platform;
|
497 |
+
var weexPlatform = inWeex && WXEnvironment.platform.toLowerCase();
|
498 |
+
var UA = inBrowser && window.navigator.userAgent.toLowerCase();
|
499 |
+
var isIE = UA && /msie|trident/.test(UA);
|
500 |
+
var isIE9 = UA && UA.indexOf('msie 9.0') > 0;
|
501 |
+
var isEdge = UA && UA.indexOf('edge/') > 0;
|
502 |
+
var isAndroid = (UA && UA.indexOf('android') > 0) || (weexPlatform === 'android');
|
503 |
+
var isIOS = (UA && /iphone|ipad|ipod|ios/.test(UA)) || (weexPlatform === 'ios');
|
504 |
+
var isChrome = UA && /chrome\/\d+/.test(UA) && !isEdge;
|
505 |
+
|
506 |
+
// Firefox has a "watch" function on Object.prototype...
|
507 |
+
var nativeWatch = ({}).watch;
|
508 |
+
|
509 |
+
var supportsPassive = false;
|
510 |
+
if (inBrowser) {
|
511 |
+
try {
|
512 |
+
var opts = {};
|
513 |
+
Object.defineProperty(opts, 'passive', ({
|
514 |
+
get: function get () {
|
515 |
+
/* istanbul ignore next */
|
516 |
+
supportsPassive = true;
|
517 |
+
}
|
518 |
+
})); // https://github.com/facebook/flow/issues/285
|
519 |
+
window.addEventListener('test-passive', null, opts);
|
520 |
+
} catch (e) {}
|
521 |
+
}
|
522 |
+
|
523 |
+
// this needs to be lazy-evaled because vue may be required before
|
524 |
+
// vue-server-renderer can set VUE_ENV
|
525 |
+
var _isServer;
|
526 |
+
var isServerRendering = function () {
|
527 |
+
if (_isServer === undefined) {
|
528 |
+
/* istanbul ignore if */
|
529 |
+
if (!inBrowser && !inWeex && typeof global !== 'undefined') {
|
530 |
+
// detect presence of vue-server-renderer and avoid
|
531 |
+
// Webpack shimming the process
|
532 |
+
_isServer = global['process'].env.VUE_ENV === 'server';
|
533 |
+
} else {
|
534 |
+
_isServer = false;
|
535 |
+
}
|
536 |
+
}
|
537 |
+
return _isServer
|
538 |
+
};
|
539 |
+
|
540 |
+
// detect devtools
|
541 |
+
var devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
542 |
+
|
543 |
+
/* istanbul ignore next */
|
544 |
+
function isNative (Ctor) {
|
545 |
+
return typeof Ctor === 'function' && /native code/.test(Ctor.toString())
|
546 |
+
}
|
547 |
+
|
548 |
+
var hasSymbol =
|
549 |
+
typeof Symbol !== 'undefined' && isNative(Symbol) &&
|
550 |
+
typeof Reflect !== 'undefined' && isNative(Reflect.ownKeys);
|
551 |
+
|
552 |
+
var _Set;
|
553 |
+
/* istanbul ignore if */ // $flow-disable-line
|
554 |
+
if (typeof Set !== 'undefined' && isNative(Set)) {
|
555 |
+
// use native Set when available.
|
556 |
+
_Set = Set;
|
557 |
+
} else {
|
558 |
+
// a non-standard Set polyfill that only works with primitive keys.
|
559 |
+
_Set = (function () {
|
560 |
+
function Set () {
|
561 |
+
this.set = Object.create(null);
|
562 |
+
}
|
563 |
+
Set.prototype.has = function has (key) {
|
564 |
+
return this.set[key] === true
|
565 |
+
};
|
566 |
+
Set.prototype.add = function add (key) {
|
567 |
+
this.set[key] = true;
|
568 |
+
};
|
569 |
+
Set.prototype.clear = function clear () {
|
570 |
+
this.set = Object.create(null);
|
571 |
+
};
|
572 |
+
|
573 |
+
return Set;
|
574 |
+
}());
|
575 |
+
}
|
576 |
+
|
577 |
+
/* */
|
578 |
+
|
579 |
+
var warn = noop;
|
580 |
+
var tip = noop;
|
581 |
+
var generateComponentTrace = (noop); // work around flow check
|
582 |
+
var formatComponentName = (noop);
|
583 |
+
|
584 |
+
{
|
585 |
+
var hasConsole = typeof console !== 'undefined';
|
586 |
+
var classifyRE = /(?:^|[-_])(\w)/g;
|
587 |
+
var classify = function (str) { return str
|
588 |
+
.replace(classifyRE, function (c) { return c.toUpperCase(); })
|
589 |
+
.replace(/[-_]/g, ''); };
|
590 |
+
|
591 |
+
warn = function (msg, vm) {
|
592 |
+
var trace = vm ? generateComponentTrace(vm) : '';
|
593 |
+
|
594 |
+
if (config.warnHandler) {
|
595 |
+
config.warnHandler.call(null, msg, vm, trace);
|
596 |
+
} else if (hasConsole && (!config.silent)) {
|
597 |
+
console.error(("[Vue warn]: " + msg + trace));
|
598 |
+
}
|
599 |
+
};
|
600 |
+
|
601 |
+
tip = function (msg, vm) {
|
602 |
+
if (hasConsole && (!config.silent)) {
|
603 |
+
console.warn("[Vue tip]: " + msg + (
|
604 |
+
vm ? generateComponentTrace(vm) : ''
|
605 |
+
));
|
606 |
+
}
|
607 |
+
};
|
608 |
+
|
609 |
+
formatComponentName = function (vm, includeFile) {
|
610 |
+
if (vm.$root === vm) {
|
611 |
+
return '<Root>'
|
612 |
+
}
|
613 |
+
var options = typeof vm === 'function' && vm.cid != null
|
614 |
+
? vm.options
|
615 |
+
: vm._isVue
|
616 |
+
? vm.$options || vm.constructor.options
|
617 |
+
: vm || {};
|
618 |
+
var name = options.name || options._componentTag;
|
619 |
+
var file = options.__file;
|
620 |
+
if (!name && file) {
|
621 |
+
var match = file.match(/([^/\\]+)\.vue$/);
|
622 |
+
name = match && match[1];
|
623 |
+
}
|
624 |
+
|
625 |
+
return (
|
626 |
+
(name ? ("<" + (classify(name)) + ">") : "<Anonymous>") +
|
627 |
+
(file && includeFile !== false ? (" at " + file) : '')
|
628 |
+
)
|
629 |
+
};
|
630 |
+
|
631 |
+
var repeat = function (str, n) {
|
632 |
+
var res = '';
|
633 |
+
while (n) {
|
634 |
+
if (n % 2 === 1) { res += str; }
|
635 |
+
if (n > 1) { str += str; }
|
636 |
+
n >>= 1;
|
637 |
+
}
|
638 |
+
return res
|
639 |
+
};
|
640 |
+
|
641 |
+
generateComponentTrace = function (vm) {
|
642 |
+
if (vm._isVue && vm.$parent) {
|
643 |
+
var tree = [];
|
644 |
+
var currentRecursiveSequence = 0;
|
645 |
+
while (vm) {
|
646 |
+
if (tree.length > 0) {
|
647 |
+
var last = tree[tree.length - 1];
|
648 |
+
if (last.constructor === vm.constructor) {
|
649 |
+
currentRecursiveSequence++;
|
650 |
+
vm = vm.$parent;
|
651 |
+
continue
|
652 |
+
} else if (currentRecursiveSequence > 0) {
|
653 |
+
tree[tree.length - 1] = [last, currentRecursiveSequence];
|
654 |
+
currentRecursiveSequence = 0;
|
655 |
+
}
|
656 |
+
}
|
657 |
+
tree.push(vm);
|
658 |
+
vm = vm.$parent;
|
659 |
+
}
|
660 |
+
return '\n\nfound in\n\n' + tree
|
661 |
+
.map(function (vm, i) { return ("" + (i === 0 ? '---> ' : repeat(' ', 5 + i * 2)) + (Array.isArray(vm)
|
662 |
+
? ((formatComponentName(vm[0])) + "... (" + (vm[1]) + " recursive calls)")
|
663 |
+
: formatComponentName(vm))); })
|
664 |
+
.join('\n')
|
665 |
+
} else {
|
666 |
+
return ("\n\n(found in " + (formatComponentName(vm)) + ")")
|
667 |
+
}
|
668 |
+
};
|
669 |
+
}
|
670 |
+
|
671 |
+
/* */
|
672 |
+
|
673 |
+
|
674 |
+
var uid = 0;
|
675 |
+
|
676 |
+
/**
|
677 |
+
* A dep is an observable that can have multiple
|
678 |
+
* directives subscribing to it.
|
679 |
+
*/
|
680 |
+
var Dep = function Dep () {
|
681 |
+
this.id = uid++;
|
682 |
+
this.subs = [];
|
683 |
+
};
|
684 |
+
|
685 |
+
Dep.prototype.addSub = function addSub (sub) {
|
686 |
+
this.subs.push(sub);
|
687 |
+
};
|
688 |
+
|
689 |
+
Dep.prototype.removeSub = function removeSub (sub) {
|
690 |
+
remove(this.subs, sub);
|
691 |
+
};
|
692 |
+
|
693 |
+
Dep.prototype.depend = function depend () {
|
694 |
+
if (Dep.target) {
|
695 |
+
Dep.target.addDep(this);
|
696 |
+
}
|
697 |
+
};
|
698 |
+
|
699 |
+
Dep.prototype.notify = function notify () {
|
700 |
+
// stabilize the subscriber list first
|
701 |
+
var subs = this.subs.slice();
|
702 |
+
for (var i = 0, l = subs.length; i < l; i++) {
|
703 |
+
subs[i].update();
|
704 |
+
}
|
705 |
+
};
|
706 |
+
|
707 |
+
// the current target watcher being evaluated.
|
708 |
+
// this is globally unique because there could be only one
|
709 |
+
// watcher being evaluated at any time.
|
710 |
+
Dep.target = null;
|
711 |
+
var targetStack = [];
|
712 |
+
|
713 |
+
function pushTarget (_target) {
|
714 |
+
if (Dep.target) { targetStack.push(Dep.target); }
|
715 |
+
Dep.target = _target;
|
716 |
+
}
|
717 |
+
|
718 |
+
function popTarget () {
|
719 |
+
Dep.target = targetStack.pop();
|
720 |
+
}
|
721 |
+
|
722 |
+
/* */
|
723 |
+
|
724 |
+
var VNode = function VNode (
|
725 |
+
tag,
|
726 |
+
data,
|
727 |
+
children,
|
728 |
+
text,
|
729 |
+
elm,
|
730 |
+
context,
|
731 |
+
componentOptions,
|
732 |
+
asyncFactory
|
733 |
+
) {
|
734 |
+
this.tag = tag;
|
735 |
+
this.data = data;
|
736 |
+
this.children = children;
|
737 |
+
this.text = text;
|
738 |
+
this.elm = elm;
|
739 |
+
this.ns = undefined;
|
740 |
+
this.context = context;
|
741 |
+
this.fnContext = undefined;
|
742 |
+
this.fnOptions = undefined;
|
743 |
+
this.fnScopeId = undefined;
|
744 |
+
this.key = data && data.key;
|
745 |
+
this.componentOptions = componentOptions;
|
746 |
+
this.componentInstance = undefined;
|
747 |
+
this.parent = undefined;
|
748 |
+
this.raw = false;
|
749 |
+
this.isStatic = false;
|
750 |
+
this.isRootInsert = true;
|
751 |
+
this.isComment = false;
|
752 |
+
this.isCloned = false;
|
753 |
+
this.isOnce = false;
|
754 |
+
this.asyncFactory = asyncFactory;
|
755 |
+
this.asyncMeta = undefined;
|
756 |
+
this.isAsyncPlaceholder = false;
|
757 |
+
};
|
758 |
+
|
759 |
+
var prototypeAccessors = { child: { configurable: true } };
|
760 |
+
|
761 |
+
// DEPRECATED: alias for componentInstance for backwards compat.
|
762 |
+
/* istanbul ignore next */
|
763 |
+
prototypeAccessors.child.get = function () {
|
764 |
+
return this.componentInstance
|
765 |
+
};
|
766 |
+
|
767 |
+
Object.defineProperties( VNode.prototype, prototypeAccessors );
|
768 |
+
|
769 |
+
var createEmptyVNode = function (text) {
|
770 |
+
if ( text === void 0 ) text = '';
|
771 |
+
|
772 |
+
var node = new VNode();
|
773 |
+
node.text = text;
|
774 |
+
node.isComment = true;
|
775 |
+
return node
|
776 |
+
};
|
777 |
+
|
778 |
+
function createTextVNode (val) {
|
779 |
+
return new VNode(undefined, undefined, undefined, String(val))
|
780 |
+
}
|
781 |
+
|
782 |
+
// optimized shallow clone
|
783 |
+
// used for static nodes and slot nodes because they may be reused across
|
784 |
+
// multiple renders, cloning them avoids errors when DOM manipulations rely
|
785 |
+
// on their elm reference.
|
786 |
+
function cloneVNode (vnode) {
|
787 |
+
var cloned = new VNode(
|
788 |
+
vnode.tag,
|
789 |
+
vnode.data,
|
790 |
+
vnode.children,
|
791 |
+
vnode.text,
|
792 |
+
vnode.elm,
|
793 |
+
vnode.context,
|
794 |
+
vnode.componentOptions,
|
795 |
+
vnode.asyncFactory
|
796 |
+
);
|
797 |
+
cloned.ns = vnode.ns;
|
798 |
+
cloned.isStatic = vnode.isStatic;
|
799 |
+
cloned.key = vnode.key;
|
800 |
+
cloned.isComment = vnode.isComment;
|
801 |
+
cloned.fnContext = vnode.fnContext;
|
802 |
+
cloned.fnOptions = vnode.fnOptions;
|
803 |
+
cloned.fnScopeId = vnode.fnScopeId;
|
804 |
+
cloned.isCloned = true;
|
805 |
+
return cloned
|
806 |
+
}
|
807 |
+
|
808 |
+
/*
|
809 |
+
* not type checking this file because flow doesn't play well with
|
810 |
+
* dynamically accessing methods on Array prototype
|
811 |
+
*/
|
812 |
+
|
813 |
+
var arrayProto = Array.prototype;
|
814 |
+
var arrayMethods = Object.create(arrayProto);
|
815 |
+
|
816 |
+
var methodsToPatch = [
|
817 |
+
'push',
|
818 |
+
'pop',
|
819 |
+
'shift',
|
820 |
+
'unshift',
|
821 |
+
'splice',
|
822 |
+
'sort',
|
823 |
+
'reverse'
|
824 |
+
];
|
825 |
+
|
826 |
+
/**
|
827 |
+
* Intercept mutating methods and emit events
|
828 |
+
*/
|
829 |
+
methodsToPatch.forEach(function (method) {
|
830 |
+
// cache original method
|
831 |
+
var original = arrayProto[method];
|
832 |
+
def(arrayMethods, method, function mutator () {
|
833 |
+
var args = [], len = arguments.length;
|
834 |
+
while ( len-- ) args[ len ] = arguments[ len ];
|
835 |
+
|
836 |
+
var result = original.apply(this, args);
|
837 |
+
var ob = this.__ob__;
|
838 |
+
var inserted;
|
839 |
+
switch (method) {
|
840 |
+
case 'push':
|
841 |
+
case 'unshift':
|
842 |
+
inserted = args;
|
843 |
+
break
|
844 |
+
case 'splice':
|
845 |
+
inserted = args.slice(2);
|
846 |
+
break
|
847 |
+
}
|
848 |
+
if (inserted) { ob.observeArray(inserted); }
|
849 |
+
// notify change
|
850 |
+
ob.dep.notify();
|
851 |
+
return result
|
852 |
+
});
|
853 |
+
});
|
854 |
+
|
855 |
+
/* */
|
856 |
+
|
857 |
+
var arrayKeys = Object.getOwnPropertyNames(arrayMethods);
|
858 |
+
|
859 |
+
/**
|
860 |
+
* In some cases we may want to disable observation inside a component's
|
861 |
+
* update computation.
|
862 |
+
*/
|
863 |
+
var shouldObserve = true;
|
864 |
+
|
865 |
+
function toggleObserving (value) {
|
866 |
+
shouldObserve = value;
|
867 |
+
}
|
868 |
+
|
869 |
+
/**
|
870 |
+
* Observer class that is attached to each observed
|
871 |
+
* object. Once attached, the observer converts the target
|
872 |
+
* object's property keys into getter/setters that
|
873 |
+
* collect dependencies and dispatch updates.
|
874 |
+
*/
|
875 |
+
var Observer = function Observer (value) {
|
876 |
+
this.value = value;
|
877 |
+
this.dep = new Dep();
|
878 |
+
this.vmCount = 0;
|
879 |
+
def(value, '__ob__', this);
|
880 |
+
if (Array.isArray(value)) {
|
881 |
+
var augment = hasProto
|
882 |
+
? protoAugment
|
883 |
+
: copyAugment;
|
884 |
+
augment(value, arrayMethods, arrayKeys);
|
885 |
+
this.observeArray(value);
|
886 |
+
} else {
|
887 |
+
this.walk(value);
|
888 |
+
}
|
889 |
+
};
|
890 |
+
|
891 |
+
/**
|
892 |
+
* Walk through each property and convert them into
|
893 |
+
* getter/setters. This method should only be called when
|
894 |
+
* value type is Object.
|
895 |
+
*/
|
896 |
+
Observer.prototype.walk = function walk (obj) {
|
897 |
+
var keys = Object.keys(obj);
|
898 |
+
for (var i = 0; i < keys.length; i++) {
|
899 |
+
defineReactive(obj, keys[i]);
|
900 |
+
}
|
901 |
+
};
|
902 |
+
|
903 |
+
/**
|
904 |
+
* Observe a list of Array items.
|
905 |
+
*/
|
906 |
+
Observer.prototype.observeArray = function observeArray (items) {
|
907 |
+
for (var i = 0, l = items.length; i < l; i++) {
|
908 |
+
observe(items[i]);
|
909 |
+
}
|
910 |
+
};
|
911 |
+
|
912 |
+
// helpers
|
913 |
+
|
914 |
+
/**
|
915 |
+
* Augment an target Object or Array by intercepting
|
916 |
+
* the prototype chain using __proto__
|
917 |
+
*/
|
918 |
+
function protoAugment (target, src, keys) {
|
919 |
+
/* eslint-disable no-proto */
|
920 |
+
target.__proto__ = src;
|
921 |
+
/* eslint-enable no-proto */
|
922 |
+
}
|
923 |
+
|
924 |
+
/**
|
925 |
+
* Augment an target Object or Array by defining
|
926 |
+
* hidden properties.
|
927 |
+
*/
|
928 |
+
/* istanbul ignore next */
|
929 |
+
function copyAugment (target, src, keys) {
|
930 |
+
for (var i = 0, l = keys.length; i < l; i++) {
|
931 |
+
var key = keys[i];
|
932 |
+
def(target, key, src[key]);
|
933 |
+
}
|
934 |
+
}
|
935 |
+
|
936 |
+
/**
|
937 |
+
* Attempt to create an observer instance for a value,
|
938 |
+
* returns the new observer if successfully observed,
|
939 |
+
* or the existing observer if the value already has one.
|
940 |
+
*/
|
941 |
+
function observe (value, asRootData) {
|
942 |
+
if (!isObject(value) || value instanceof VNode) {
|
943 |
+
return
|
944 |
+
}
|
945 |
+
var ob;
|
946 |
+
if (hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {
|
947 |
+
ob = value.__ob__;
|
948 |
+
} else if (
|
949 |
+
shouldObserve &&
|
950 |
+
!isServerRendering() &&
|
951 |
+
(Array.isArray(value) || isPlainObject(value)) &&
|
952 |
+
Object.isExtensible(value) &&
|
953 |
+
!value._isVue
|
954 |
+
) {
|
955 |
+
ob = new Observer(value);
|
956 |
+
}
|
957 |
+
if (asRootData && ob) {
|
958 |
+
ob.vmCount++;
|
959 |
+
}
|
960 |
+
return ob
|
961 |
+
}
|
962 |
+
|
963 |
+
/**
|
964 |
+
* Define a reactive property on an Object.
|
965 |
+
*/
|
966 |
+
function defineReactive (
|
967 |
+
obj,
|
968 |
+
key,
|
969 |
+
val,
|
970 |
+
customSetter,
|
971 |
+
shallow
|
972 |
+
) {
|
973 |
+
var dep = new Dep();
|
974 |
+
|
975 |
+
var property = Object.getOwnPropertyDescriptor(obj, key);
|
976 |
+
if (property && property.configurable === false) {
|
977 |
+
return
|
978 |
+
}
|
979 |
+
|
980 |
+
// cater for pre-defined getter/setters
|
981 |
+
var getter = property && property.get;
|
982 |
+
if (!getter && arguments.length === 2) {
|
983 |
+
val = obj[key];
|
984 |
+
}
|
985 |
+
var setter = property && property.set;
|
986 |
+
|
987 |
+
var childOb = !shallow && observe(val);
|
988 |
+
Object.defineProperty(obj, key, {
|
989 |
+
enumerable: true,
|
990 |
+
configurable: true,
|
991 |
+
get: function reactiveGetter () {
|
992 |
+
var value = getter ? getter.call(obj) : val;
|
993 |
+
if (Dep.target) {
|
994 |
+
dep.depend();
|
995 |
+
if (childOb) {
|
996 |
+
childOb.dep.depend();
|
997 |
+
if (Array.isArray(value)) {
|
998 |
+
dependArray(value);
|
999 |
+
}
|
1000 |
+
}
|
1001 |
+
}
|
1002 |
+
return value
|
1003 |
+
},
|
1004 |
+
set: function reactiveSetter (newVal) {
|
1005 |
+
var value = getter ? getter.call(obj) : val;
|
1006 |
+
/* eslint-disable no-self-compare */
|
1007 |
+
if (newVal === value || (newVal !== newVal && value !== value)) {
|
1008 |
+
return
|
1009 |
+
}
|
1010 |
+
/* eslint-enable no-self-compare */
|
1011 |
+
if ("development" !== 'production' && customSetter) {
|
1012 |
+
customSetter();
|
1013 |
+
}
|
1014 |
+
if (setter) {
|
1015 |
+
setter.call(obj, newVal);
|
1016 |
+
} else {
|
1017 |
+
val = newVal;
|
1018 |
+
}
|
1019 |
+
childOb = !shallow && observe(newVal);
|
1020 |
+
dep.notify();
|
1021 |
+
}
|
1022 |
+
});
|
1023 |
+
}
|
1024 |
+
|
1025 |
+
/**
|
1026 |
+
* Set a property on an object. Adds the new property and
|
1027 |
+
* triggers change notification if the property doesn't
|
1028 |
+
* already exist.
|
1029 |
+
*/
|
1030 |
+
function set (target, key, val) {
|
1031 |
+
if ("development" !== 'production' &&
|
1032 |
+
(isUndef(target) || isPrimitive(target))
|
1033 |
+
) {
|
1034 |
+
warn(("Cannot set reactive property on undefined, null, or primitive value: " + ((target))));
|
1035 |
+
}
|
1036 |
+
if (Array.isArray(target) && isValidArrayIndex(key)) {
|
1037 |
+
target.length = Math.max(target.length, key);
|
1038 |
+
target.splice(key, 1, val);
|
1039 |
+
return val
|
1040 |
+
}
|
1041 |
+
if (key in target && !(key in Object.prototype)) {
|
1042 |
+
target[key] = val;
|
1043 |
+
return val
|
1044 |
+
}
|
1045 |
+
var ob = (target).__ob__;
|
1046 |
+
if (target._isVue || (ob && ob.vmCount)) {
|
1047 |
+
"development" !== 'production' && warn(
|
1048 |
+
'Avoid adding reactive properties to a Vue instance or its root $data ' +
|
1049 |
+
'at runtime - declare it upfront in the data option.'
|
1050 |
+
);
|
1051 |
+
return val
|
1052 |
+
}
|
1053 |
+
if (!ob) {
|
1054 |
+
target[key] = val;
|
1055 |
+
return val
|
1056 |
+
}
|
1057 |
+
defineReactive(ob.value, key, val);
|
1058 |
+
ob.dep.notify();
|
1059 |
+
return val
|
1060 |
+
}
|
1061 |
+
|
1062 |
+
/**
|
1063 |
+
* Delete a property and trigger change if necessary.
|
1064 |
+
*/
|
1065 |
+
function del (target, key) {
|
1066 |
+
if ("development" !== 'production' &&
|
1067 |
+
(isUndef(target) || isPrimitive(target))
|
1068 |
+
) {
|
1069 |
+
warn(("Cannot delete reactive property on undefined, null, or primitive value: " + ((target))));
|
1070 |
+
}
|
1071 |
+
if (Array.isArray(target) && isValidArrayIndex(key)) {
|
1072 |
+
target.splice(key, 1);
|
1073 |
+
return
|
1074 |
+
}
|
1075 |
+
var ob = (target).__ob__;
|
1076 |
+
if (target._isVue || (ob && ob.vmCount)) {
|
1077 |
+
"development" !== 'production' && warn(
|
1078 |
+
'Avoid deleting properties on a Vue instance or its root $data ' +
|
1079 |
+
'- just set it to null.'
|
1080 |
+
);
|
1081 |
+
return
|
1082 |
+
}
|
1083 |
+
if (!hasOwn(target, key)) {
|
1084 |
+
return
|
1085 |
+
}
|
1086 |
+
delete target[key];
|
1087 |
+
if (!ob) {
|
1088 |
+
return
|
1089 |
+
}
|
1090 |
+
ob.dep.notify();
|
1091 |
+
}
|
1092 |
+
|
1093 |
+
/**
|
1094 |
+
* Collect dependencies on array elements when the array is touched, since
|
1095 |
+
* we cannot intercept array element access like property getters.
|
1096 |
+
*/
|
1097 |
+
function dependArray (value) {
|
1098 |
+
for (var e = (void 0), i = 0, l = value.length; i < l; i++) {
|
1099 |
+
e = value[i];
|
1100 |
+
e && e.__ob__ && e.__ob__.dep.depend();
|
1101 |
+
if (Array.isArray(e)) {
|
1102 |
+
dependArray(e);
|
1103 |
+
}
|
1104 |
+
}
|
1105 |
+
}
|
1106 |
+
|
1107 |
+
/* */
|
1108 |
+
|
1109 |
+
/**
|
1110 |
+
* Option overwriting strategies are functions that handle
|
1111 |
+
* how to merge a parent option value and a child option
|
1112 |
+
* value into the final value.
|
1113 |
+
*/
|
1114 |
+
var strats = config.optionMergeStrategies;
|
1115 |
+
|
1116 |
+
/**
|
1117 |
+
* Options with restrictions
|
1118 |
+
*/
|
1119 |
+
{
|
1120 |
+
strats.el = strats.propsData = function (parent, child, vm, key) {
|
1121 |
+
if (!vm) {
|
1122 |
+
warn(
|
1123 |
+
"option \"" + key + "\" can only be used during instance " +
|
1124 |
+
'creation with the `new` keyword.'
|
1125 |
+
);
|
1126 |
+
}
|
1127 |
+
return defaultStrat(parent, child)
|
1128 |
+
};
|
1129 |
+
}
|
1130 |
+
|
1131 |
+
/**
|
1132 |
+
* Helper that recursively merges two data objects together.
|
1133 |
+
*/
|
1134 |
+
function mergeData (to, from) {
|
1135 |
+
if (!from) { return to }
|
1136 |
+
var key, toVal, fromVal;
|
1137 |
+
var keys = Object.keys(from);
|
1138 |
+
for (var i = 0; i < keys.length; i++) {
|
1139 |
+
key = keys[i];
|
1140 |
+
toVal = to[key];
|
1141 |
+
fromVal = from[key];
|
1142 |
+
if (!hasOwn(to, key)) {
|
1143 |
+
set(to, key, fromVal);
|
1144 |
+
} else if (isPlainObject(toVal) && isPlainObject(fromVal)) {
|
1145 |
+
mergeData(toVal, fromVal);
|
1146 |
+
}
|
1147 |
+
}
|
1148 |
+
return to
|
1149 |
+
}
|
1150 |
+
|
1151 |
+
/**
|
1152 |
+
* Data
|
1153 |
+
*/
|
1154 |
+
function mergeDataOrFn (
|
1155 |
+
parentVal,
|
1156 |
+
childVal,
|
1157 |
+
vm
|
1158 |
+
) {
|
1159 |
+
if (!vm) {
|
1160 |
+
// in a Vue.extend merge, both should be functions
|
1161 |
+
if (!childVal) {
|
1162 |
+
return parentVal
|
1163 |
+
}
|
1164 |
+
if (!parentVal) {
|
1165 |
+
return childVal
|
1166 |
+
}
|
1167 |
+
// when parentVal & childVal are both present,
|
1168 |
+
// we need to return a function that returns the
|
1169 |
+
// merged result of both functions... no need to
|
1170 |
+
// check if parentVal is a function here because
|
1171 |
+
// it has to be a function to pass previous merges.
|
1172 |
+
return function mergedDataFn () {
|
1173 |
+
return mergeData(
|
1174 |
+
typeof childVal === 'function' ? childVal.call(this, this) : childVal,
|
1175 |
+
typeof parentVal === 'function' ? parentVal.call(this, this) : parentVal
|
1176 |
+
)
|
1177 |
+
}
|
1178 |
+
} else {
|
1179 |
+
return function mergedInstanceDataFn () {
|
1180 |
+
// instance merge
|
1181 |
+
var instanceData = typeof childVal === 'function'
|
1182 |
+
? childVal.call(vm, vm)
|
1183 |
+
: childVal;
|
1184 |
+
var defaultData = typeof parentVal === 'function'
|
1185 |
+
? parentVal.call(vm, vm)
|
1186 |
+
: parentVal;
|
1187 |
+
if (instanceData) {
|
1188 |
+
return mergeData(instanceData, defaultData)
|
1189 |
+
} else {
|
1190 |
+
return defaultData
|
1191 |
+
}
|
1192 |
+
}
|
1193 |
+
}
|
1194 |
+
}
|
1195 |
+
|
1196 |
+
strats.data = function (
|
1197 |
+
parentVal,
|
1198 |
+
childVal,
|
1199 |
+
vm
|
1200 |
+
) {
|
1201 |
+
if (!vm) {
|
1202 |
+
if (childVal && typeof childVal !== 'function') {
|
1203 |
+
"development" !== 'production' && warn(
|
1204 |
+
'The "data" option should be a function ' +
|
1205 |
+
'that returns a per-instance value in component ' +
|
1206 |
+
'definitions.',
|
1207 |
+
vm
|
1208 |
+
);
|
1209 |
+
|
1210 |
+
return parentVal
|
1211 |
+
}
|
1212 |
+
return mergeDataOrFn(parentVal, childVal)
|
1213 |
+
}
|
1214 |
+
|
1215 |
+
return mergeDataOrFn(parentVal, childVal, vm)
|
1216 |
+
};
|
1217 |
+
|
1218 |
+
/**
|
1219 |
+
* Hooks and props are merged as arrays.
|
1220 |
+
*/
|
1221 |
+
function mergeHook (
|
1222 |
+
parentVal,
|
1223 |
+
childVal
|
1224 |
+
) {
|
1225 |
+
return childVal
|
1226 |
+
? parentVal
|
1227 |
+
? parentVal.concat(childVal)
|
1228 |
+
: Array.isArray(childVal)
|
1229 |
+
? childVal
|
1230 |
+
: [childVal]
|
1231 |
+
: parentVal
|
1232 |
+
}
|
1233 |
+
|
1234 |
+
LIFECYCLE_HOOKS.forEach(function (hook) {
|
1235 |
+
strats[hook] = mergeHook;
|
1236 |
+
});
|
1237 |
+
|
1238 |
+
/**
|
1239 |
+
* Assets
|
1240 |
+
*
|
1241 |
+
* When a vm is present (instance creation), we need to do
|
1242 |
+
* a three-way merge between constructor options, instance
|
1243 |
+
* options and parent options.
|
1244 |
+
*/
|
1245 |
+
function mergeAssets (
|
1246 |
+
parentVal,
|
1247 |
+
childVal,
|
1248 |
+
vm,
|
1249 |
+
key
|
1250 |
+
) {
|
1251 |
+
var res = Object.create(parentVal || null);
|
1252 |
+
if (childVal) {
|
1253 |
+
"development" !== 'production' && assertObjectType(key, childVal, vm);
|
1254 |
+
return extend(res, childVal)
|
1255 |
+
} else {
|
1256 |
+
return res
|
1257 |
+
}
|
1258 |
+
}
|
1259 |
+
|
1260 |
+
ASSET_TYPES.forEach(function (type) {
|
1261 |
+
strats[type + 's'] = mergeAssets;
|
1262 |
+
});
|
1263 |
+
|
1264 |
+
/**
|
1265 |
+
* Watchers.
|
1266 |
+
*
|
1267 |
+
* Watchers hashes should not overwrite one
|
1268 |
+
* another, so we merge them as arrays.
|
1269 |
+
*/
|
1270 |
+
strats.watch = function (
|
1271 |
+
parentVal,
|
1272 |
+
childVal,
|
1273 |
+
vm,
|
1274 |
+
key
|
1275 |
+
) {
|
1276 |
+
// work around Firefox's Object.prototype.watch...
|
1277 |
+
if (parentVal === nativeWatch) { parentVal = undefined; }
|
1278 |
+
if (childVal === nativeWatch) { childVal = undefined; }
|
1279 |
+
/* istanbul ignore if */
|
1280 |
+
if (!childVal) { return Object.create(parentVal || null) }
|
1281 |
+
{
|
1282 |
+
assertObjectType(key, childVal, vm);
|
1283 |
+
}
|
1284 |
+
if (!parentVal) { return childVal }
|
1285 |
+
var ret = {};
|
1286 |
+
extend(ret, parentVal);
|
1287 |
+
for (var key$1 in childVal) {
|
1288 |
+
var parent = ret[key$1];
|
1289 |
+
var child = childVal[key$1];
|
1290 |
+
if (parent && !Array.isArray(parent)) {
|
1291 |
+
parent = [parent];
|
1292 |
+
}
|
1293 |
+
ret[key$1] = parent
|
1294 |
+
? parent.concat(child)
|
1295 |
+
: Array.isArray(child) ? child : [child];
|
1296 |
+
}
|
1297 |
+
return ret
|
1298 |
+
};
|
1299 |
+
|
1300 |
+
/**
|
1301 |
+
* Other object hashes.
|
1302 |
+
*/
|
1303 |
+
strats.props =
|
1304 |
+
strats.methods =
|
1305 |
+
strats.inject =
|
1306 |
+
strats.computed = function (
|
1307 |
+
parentVal,
|
1308 |
+
childVal,
|
1309 |
+
vm,
|
1310 |
+
key
|
1311 |
+
) {
|
1312 |
+
if (childVal && "development" !== 'production') {
|
1313 |
+
assertObjectType(key, childVal, vm);
|
1314 |
+
}
|
1315 |
+
if (!parentVal) { return childVal }
|
1316 |
+
var ret = Object.create(null);
|
1317 |
+
extend(ret, parentVal);
|
1318 |
+
if (childVal) { extend(ret, childVal); }
|
1319 |
+
return ret
|
1320 |
+
};
|
1321 |
+
strats.provide = mergeDataOrFn;
|
1322 |
+
|
1323 |
+
/**
|
1324 |
+
* Default strategy.
|
1325 |
+
*/
|
1326 |
+
var defaultStrat = function (parentVal, childVal) {
|
1327 |
+
return childVal === undefined
|
1328 |
+
? parentVal
|
1329 |
+
: childVal
|
1330 |
+
};
|
1331 |
+
|
1332 |
+
/**
|
1333 |
+
* Validate component names
|
1334 |
+
*/
|
1335 |
+
function checkComponents (options) {
|
1336 |
+
for (var key in options.components) {
|
1337 |
+
validateComponentName(key);
|
1338 |
+
}
|
1339 |
+
}
|
1340 |
+
|
1341 |
+
function validateComponentName (name) {
|
1342 |
+
if (!/^[a-zA-Z][\w-]*$/.test(name)) {
|
1343 |
+
warn(
|
1344 |
+
'Invalid component name: "' + name + '". Component names ' +
|
1345 |
+
'can only contain alphanumeric characters and the hyphen, ' +
|
1346 |
+
'and must start with a letter.'
|
1347 |
+
);
|
1348 |
+
}
|
1349 |
+
if (isBuiltInTag(name) || config.isReservedTag(name)) {
|
1350 |
+
warn(
|
1351 |
+
'Do not use built-in or reserved HTML elements as component ' +
|
1352 |
+
'id: ' + name
|
1353 |
+
);
|
1354 |
+
}
|
1355 |
+
}
|
1356 |
+
|
1357 |
+
/**
|
1358 |
+
* Ensure all props option syntax are normalized into the
|
1359 |
+
* Object-based format.
|
1360 |
+
*/
|
1361 |
+
function normalizeProps (options, vm) {
|
1362 |
+
var props = options.props;
|
1363 |
+
if (!props) { return }
|
1364 |
+
var res = {};
|
1365 |
+
var i, val, name;
|
1366 |
+
if (Array.isArray(props)) {
|
1367 |
+
i = props.length;
|
1368 |
+
while (i--) {
|
1369 |
+
val = props[i];
|
1370 |
+
if (typeof val === 'string') {
|
1371 |
+
name = camelize(val);
|
1372 |
+
res[name] = { type: null };
|
1373 |
+
} else {
|
1374 |
+
warn('props must be strings when using array syntax.');
|
1375 |
+
}
|
1376 |
+
}
|
1377 |
+
} else if (isPlainObject(props)) {
|
1378 |
+
for (var key in props) {
|
1379 |
+
val = props[key];
|
1380 |
+
name = camelize(key);
|
1381 |
+
res[name] = isPlainObject(val)
|
1382 |
+
? val
|
1383 |
+
: { type: val };
|
1384 |
+
}
|
1385 |
+
} else {
|
1386 |
+
warn(
|
1387 |
+
"Invalid value for option \"props\": expected an Array or an Object, " +
|
1388 |
+
"but got " + (toRawType(props)) + ".",
|
1389 |
+
vm
|
1390 |
+
);
|
1391 |
+
}
|
1392 |
+
options.props = res;
|
1393 |
+
}
|
1394 |
+
|
1395 |
+
/**
|
1396 |
+
* Normalize all injections into Object-based format
|
1397 |
+
*/
|
1398 |
+
function normalizeInject (options, vm) {
|
1399 |
+
var inject = options.inject;
|
1400 |
+
if (!inject) { return }
|
1401 |
+
var normalized = options.inject = {};
|
1402 |
+
if (Array.isArray(inject)) {
|
1403 |
+
for (var i = 0; i < inject.length; i++) {
|
1404 |
+
normalized[inject[i]] = { from: inject[i] };
|
1405 |
+
}
|
1406 |
+
} else if (isPlainObject(inject)) {
|
1407 |
+
for (var key in inject) {
|
1408 |
+
var val = inject[key];
|
1409 |
+
normalized[key] = isPlainObject(val)
|
1410 |
+
? extend({ from: key }, val)
|
1411 |
+
: { from: val };
|
1412 |
+
}
|
1413 |
+
} else {
|
1414 |
+
warn(
|
1415 |
+
"Invalid value for option \"inject\": expected an Array or an Object, " +
|
1416 |
+
"but got " + (toRawType(inject)) + ".",
|
1417 |
+
vm
|
1418 |
+
);
|
1419 |
+
}
|
1420 |
+
}
|
1421 |
+
|
1422 |
+
/**
|
1423 |
+
* Normalize raw function directives into object format.
|
1424 |
+
*/
|
1425 |
+
function normalizeDirectives (options) {
|
1426 |
+
var dirs = options.directives;
|
1427 |
+
if (dirs) {
|
1428 |
+
for (var key in dirs) {
|
1429 |
+
var def = dirs[key];
|
1430 |
+
if (typeof def === 'function') {
|
1431 |
+
dirs[key] = { bind: def, update: def };
|
1432 |
+
}
|
1433 |
+
}
|
1434 |
+
}
|
1435 |
+
}
|
1436 |
+
|
1437 |
+
function assertObjectType (name, value, vm) {
|
1438 |
+
if (!isPlainObject(value)) {
|
1439 |
+
warn(
|
1440 |
+
"Invalid value for option \"" + name + "\": expected an Object, " +
|
1441 |
+
"but got " + (toRawType(value)) + ".",
|
1442 |
+
vm
|
1443 |
+
);
|
1444 |
+
}
|
1445 |
+
}
|
1446 |
+
|
1447 |
+
/**
|
1448 |
+
* Merge two option objects into a new one.
|
1449 |
+
* Core utility used in both instantiation and inheritance.
|
1450 |
+
*/
|
1451 |
+
function mergeOptions (
|
1452 |
+
parent,
|
1453 |
+
child,
|
1454 |
+
vm
|
1455 |
+
) {
|
1456 |
+
{
|
1457 |
+
checkComponents(child);
|
1458 |
+
}
|
1459 |
+
|
1460 |
+
if (typeof child === 'function') {
|
1461 |
+
child = child.options;
|
1462 |
+
}
|
1463 |
+
|
1464 |
+
normalizeProps(child, vm);
|
1465 |
+
normalizeInject(child, vm);
|
1466 |
+
normalizeDirectives(child);
|
1467 |
+
var extendsFrom = child.extends;
|
1468 |
+
if (extendsFrom) {
|
1469 |
+
parent = mergeOptions(parent, extendsFrom, vm);
|
1470 |
+
}
|
1471 |
+
if (child.mixins) {
|
1472 |
+
for (var i = 0, l = child.mixins.length; i < l; i++) {
|
1473 |
+
parent = mergeOptions(parent, child.mixins[i], vm);
|
1474 |
+
}
|
1475 |
+
}
|
1476 |
+
var options = {};
|
1477 |
+
var key;
|
1478 |
+
for (key in parent) {
|
1479 |
+
mergeField(key);
|
1480 |
+
}
|
1481 |
+
for (key in child) {
|
1482 |
+
if (!hasOwn(parent, key)) {
|
1483 |
+
mergeField(key);
|
1484 |
+
}
|
1485 |
+
}
|
1486 |
+
function mergeField (key) {
|
1487 |
+
var strat = strats[key] || defaultStrat;
|
1488 |
+
options[key] = strat(parent[key], child[key], vm, key);
|
1489 |
+
}
|
1490 |
+
return options
|
1491 |
+
}
|
1492 |
+
|
1493 |
+
/**
|
1494 |
+
* Resolve an asset.
|
1495 |
+
* This function is used because child instances need access
|
1496 |
+
* to assets defined in its ancestor chain.
|
1497 |
+
*/
|
1498 |
+
function resolveAsset (
|
1499 |
+
options,
|
1500 |
+
type,
|
1501 |
+
id,
|
1502 |
+
warnMissing
|
1503 |
+
) {
|
1504 |
+
/* istanbul ignore if */
|
1505 |
+
if (typeof id !== 'string') {
|
1506 |
+
return
|
1507 |
+
}
|
1508 |
+
var assets = options[type];
|
1509 |
+
// check local registration variations first
|
1510 |
+
if (hasOwn(assets, id)) { return assets[id] }
|
1511 |
+
var camelizedId = camelize(id);
|
1512 |
+
if (hasOwn(assets, camelizedId)) { return assets[camelizedId] }
|
1513 |
+
var PascalCaseId = capitalize(camelizedId);
|
1514 |
+
if (hasOwn(assets, PascalCaseId)) { return assets[PascalCaseId] }
|
1515 |
+
// fallback to prototype chain
|
1516 |
+
var res = assets[id] || assets[camelizedId] || assets[PascalCaseId];
|
1517 |
+
if ("development" !== 'production' && warnMissing && !res) {
|
1518 |
+
warn(
|
1519 |
+
'Failed to resolve ' + type.slice(0, -1) + ': ' + id,
|
1520 |
+
options
|
1521 |
+
);
|
1522 |
+
}
|
1523 |
+
return res
|
1524 |
+
}
|
1525 |
+
|
1526 |
+
/* */
|
1527 |
+
|
1528 |
+
function validateProp (
|
1529 |
+
key,
|
1530 |
+
propOptions,
|
1531 |
+
propsData,
|
1532 |
+
vm
|
1533 |
+
) {
|
1534 |
+
var prop = propOptions[key];
|
1535 |
+
var absent = !hasOwn(propsData, key);
|
1536 |
+
var value = propsData[key];
|
1537 |
+
// boolean casting
|
1538 |
+
var booleanIndex = getTypeIndex(Boolean, prop.type);
|
1539 |
+
if (booleanIndex > -1) {
|
1540 |
+
if (absent && !hasOwn(prop, 'default')) {
|
1541 |
+
value = false;
|
1542 |
+
} else if (value === '' || value === hyphenate(key)) {
|
1543 |
+
// only cast empty string / same name to boolean if
|
1544 |
+
// boolean has higher priority
|
1545 |
+
var stringIndex = getTypeIndex(String, prop.type);
|
1546 |
+
if (stringIndex < 0 || booleanIndex < stringIndex) {
|
1547 |
+
value = true;
|
1548 |
+
}
|
1549 |
+
}
|
1550 |
+
}
|
1551 |
+
// check default value
|
1552 |
+
if (value === undefined) {
|
1553 |
+
value = getPropDefaultValue(vm, prop, key);
|
1554 |
+
// since the default value is a fresh copy,
|
1555 |
+
// make sure to observe it.
|
1556 |
+
var prevShouldObserve = shouldObserve;
|
1557 |
+
toggleObserving(true);
|
1558 |
+
observe(value);
|
1559 |
+
toggleObserving(prevShouldObserve);
|
1560 |
+
}
|
1561 |
+
{
|
1562 |
+
assertProp(prop, key, value, vm, absent);
|
1563 |
+
}
|
1564 |
+
return value
|
1565 |
+
}
|
1566 |
+
|
1567 |
+
/**
|
1568 |
+
* Get the default value of a prop.
|
1569 |
+
*/
|
1570 |
+
function getPropDefaultValue (vm, prop, key) {
|
1571 |
+
// no default, return undefined
|
1572 |
+
if (!hasOwn(prop, 'default')) {
|
1573 |
+
return undefined
|
1574 |
+
}
|
1575 |
+
var def = prop.default;
|
1576 |
+
// warn against non-factory defaults for Object & Array
|
1577 |
+
if ("development" !== 'production' && isObject(def)) {
|
1578 |
+
warn(
|
1579 |
+
'Invalid default value for prop "' + key + '": ' +
|
1580 |
+
'Props with type Object/Array must use a factory function ' +
|
1581 |
+
'to return the default value.',
|
1582 |
+
vm
|
1583 |
+
);
|
1584 |
+
}
|
1585 |
+
// the raw prop value was also undefined from previous render,
|
1586 |
+
// return previous default value to avoid unnecessary watcher trigger
|
1587 |
+
if (vm && vm.$options.propsData &&
|
1588 |
+
vm.$options.propsData[key] === undefined &&
|
1589 |
+
vm._props[key] !== undefined
|
1590 |
+
) {
|
1591 |
+
return vm._props[key]
|
1592 |
+
}
|
1593 |
+
// call factory function for non-Function types
|
1594 |
+
// a value is Function if its prototype is function even across different execution context
|
1595 |
+
return typeof def === 'function' && getType(prop.type) !== 'Function'
|
1596 |
+
? def.call(vm)
|
1597 |
+
: def
|
1598 |
+
}
|
1599 |
+
|
1600 |
+
/**
|
1601 |
+
* Assert whether a prop is valid.
|
1602 |
+
*/
|
1603 |
+
function assertProp (
|
1604 |
+
prop,
|
1605 |
+
name,
|
1606 |
+
value,
|
1607 |
+
vm,
|
1608 |
+
absent
|
1609 |
+
) {
|
1610 |
+
if (prop.required && absent) {
|
1611 |
+
warn(
|
1612 |
+
'Missing required prop: "' + name + '"',
|
1613 |
+
vm
|
1614 |
+
);
|
1615 |
+
return
|
1616 |
+
}
|
1617 |
+
if (value == null && !prop.required) {
|
1618 |
+
return
|
1619 |
+
}
|
1620 |
+
var type = prop.type;
|
1621 |
+
var valid = !type || type === true;
|
1622 |
+
var expectedTypes = [];
|
1623 |
+
if (type) {
|
1624 |
+
if (!Array.isArray(type)) {
|
1625 |
+
type = [type];
|
1626 |
+
}
|
1627 |
+
for (var i = 0; i < type.length && !valid; i++) {
|
1628 |
+
var assertedType = assertType(value, type[i]);
|
1629 |
+
expectedTypes.push(assertedType.expectedType || '');
|
1630 |
+
valid = assertedType.valid;
|
1631 |
+
}
|
1632 |
+
}
|
1633 |
+
if (!valid) {
|
1634 |
+
warn(
|
1635 |
+
"Invalid prop: type check failed for prop \"" + name + "\"." +
|
1636 |
+
" Expected " + (expectedTypes.map(capitalize).join(', ')) +
|
1637 |
+
", got " + (toRawType(value)) + ".",
|
1638 |
+
vm
|
1639 |
+
);
|
1640 |
+
return
|
1641 |
+
}
|
1642 |
+
var validator = prop.validator;
|
1643 |
+
if (validator) {
|
1644 |
+
if (!validator(value)) {
|
1645 |
+
warn(
|
1646 |
+
'Invalid prop: custom validator check failed for prop "' + name + '".',
|
1647 |
+
vm
|
1648 |
+
);
|
1649 |
+
}
|
1650 |
+
}
|
1651 |
+
}
|
1652 |
+
|
1653 |
+
var simpleCheckRE = /^(String|Number|Boolean|Function|Symbol)$/;
|
1654 |
+
|
1655 |
+
function assertType (value, type) {
|
1656 |
+
var valid;
|
1657 |
+
var expectedType = getType(type);
|
1658 |
+
if (simpleCheckRE.test(expectedType)) {
|
1659 |
+
var t = typeof value;
|
1660 |
+
valid = t === expectedType.toLowerCase();
|
1661 |
+
// for primitive wrapper objects
|
1662 |
+
if (!valid && t === 'object') {
|
1663 |
+
valid = value instanceof type;
|
1664 |
+
}
|
1665 |
+
} else if (expectedType === 'Object') {
|
1666 |
+
valid = isPlainObject(value);
|
1667 |
+
} else if (expectedType === 'Array') {
|
1668 |
+
valid = Array.isArray(value);
|
1669 |
+
} else {
|
1670 |
+
valid = value instanceof type;
|
1671 |
+
}
|
1672 |
+
return {
|
1673 |
+
valid: valid,
|
1674 |
+
expectedType: expectedType
|
1675 |
+
}
|
1676 |
+
}
|
1677 |
+
|
1678 |
+
/**
|
1679 |
+
* Use function string name to check built-in types,
|
1680 |
+
* because a simple equality check will fail when running
|
1681 |
+
* across different vms / iframes.
|
1682 |
+
*/
|
1683 |
+
function getType (fn) {
|
1684 |
+
var match = fn && fn.toString().match(/^\s*function (\w+)/);
|
1685 |
+
return match ? match[1] : ''
|
1686 |
+
}
|
1687 |
+
|
1688 |
+
function isSameType (a, b) {
|
1689 |
+
return getType(a) === getType(b)
|
1690 |
+
}
|
1691 |
+
|
1692 |
+
function getTypeIndex (type, expectedTypes) {
|
1693 |
+
if (!Array.isArray(expectedTypes)) {
|
1694 |
+
return isSameType(expectedTypes, type) ? 0 : -1
|
1695 |
+
}
|
1696 |
+
for (var i = 0, len = expectedTypes.length; i < len; i++) {
|
1697 |
+
if (isSameType(expectedTypes[i], type)) {
|
1698 |
+
return i
|
1699 |
+
}
|
1700 |
+
}
|
1701 |
+
return -1
|
1702 |
+
}
|
1703 |
+
|
1704 |
+
/* */
|
1705 |
+
|
1706 |
+
function handleError (err, vm, info) {
|
1707 |
+
if (vm) {
|
1708 |
+
var cur = vm;
|
1709 |
+
while ((cur = cur.$parent)) {
|
1710 |
+
var hooks = cur.$options.errorCaptured;
|
1711 |
+
if (hooks) {
|
1712 |
+
for (var i = 0; i < hooks.length; i++) {
|
1713 |
+
try {
|
1714 |
+
var capture = hooks[i].call(cur, err, vm, info) === false;
|
1715 |
+
if (capture) { return }
|
1716 |
+
} catch (e) {
|
1717 |
+
globalHandleError(e, cur, 'errorCaptured hook');
|
1718 |
+
}
|
1719 |
+
}
|
1720 |
+
}
|
1721 |
+
}
|
1722 |
+
}
|
1723 |
+
globalHandleError(err, vm, info);
|
1724 |
+
}
|
1725 |
+
|
1726 |
+
function globalHandleError (err, vm, info) {
|
1727 |
+
if (config.errorHandler) {
|
1728 |
+
try {
|
1729 |
+
return config.errorHandler.call(null, err, vm, info)
|
1730 |
+
} catch (e) {
|
1731 |
+
logError(e, null, 'config.errorHandler');
|
1732 |
+
}
|
1733 |
+
}
|
1734 |
+
logError(err, vm, info);
|
1735 |
+
}
|
1736 |
+
|
1737 |
+
function logError (err, vm, info) {
|
1738 |
+
{
|
1739 |
+
warn(("Error in " + info + ": \"" + (err.toString()) + "\""), vm);
|
1740 |
+
}
|
1741 |
+
/* istanbul ignore else */
|
1742 |
+
if ((inBrowser || inWeex) && typeof console !== 'undefined') {
|
1743 |
+
console.error(err);
|
1744 |
+
} else {
|
1745 |
+
throw err
|
1746 |
+
}
|
1747 |
+
}
|
1748 |
+
|
1749 |
+
/* */
|
1750 |
+
/* globals MessageChannel */
|
1751 |
+
|
1752 |
+
var callbacks = [];
|
1753 |
+
var pending = false;
|
1754 |
+
|
1755 |
+
function flushCallbacks () {
|
1756 |
+
pending = false;
|
1757 |
+
var copies = callbacks.slice(0);
|
1758 |
+
callbacks.length = 0;
|
1759 |
+
for (var i = 0; i < copies.length; i++) {
|
1760 |
+
copies[i]();
|
1761 |
+
}
|
1762 |
+
}
|
1763 |
+
|
1764 |
+
// Here we have async deferring wrappers using both microtasks and (macro) tasks.
|
1765 |
+
// In < 2.4 we used microtasks everywhere, but there are some scenarios where
|
1766 |
+
// microtasks have too high a priority and fire in between supposedly
|
1767 |
+
// sequential events (e.g. #4521, #6690) or even between bubbling of the same
|
1768 |
+
// event (#6566). However, using (macro) tasks everywhere also has subtle problems
|
1769 |
+
// when state is changed right before repaint (e.g. #6813, out-in transitions).
|
1770 |
+
// Here we use microtask by default, but expose a way to force (macro) task when
|
1771 |
+
// needed (e.g. in event handlers attached by v-on).
|
1772 |
+
var microTimerFunc;
|
1773 |
+
var macroTimerFunc;
|
1774 |
+
var useMacroTask = false;
|
1775 |
+
|
1776 |
+
// Determine (macro) task defer implementation.
|
1777 |
+
// Technically setImmediate should be the ideal choice, but it's only available
|
1778 |
+
// in IE. The only polyfill that consistently queues the callback after all DOM
|
1779 |
+
// events triggered in the same loop is by using MessageChannel.
|
1780 |
+
/* istanbul ignore if */
|
1781 |
+
if (typeof setImmediate !== 'undefined' && isNative(setImmediate)) {
|
1782 |
+
macroTimerFunc = function () {
|
1783 |
+
setImmediate(flushCallbacks);
|
1784 |
+
};
|
1785 |
+
} else if (typeof MessageChannel !== 'undefined' && (
|
1786 |
+
isNative(MessageChannel) ||
|
1787 |
+
// PhantomJS
|
1788 |
+
MessageChannel.toString() === '[object MessageChannelConstructor]'
|
1789 |
+
)) {
|
1790 |
+
var channel = new MessageChannel();
|
1791 |
+
var port = channel.port2;
|
1792 |
+
channel.port1.onmessage = flushCallbacks;
|
1793 |
+
macroTimerFunc = function () {
|
1794 |
+
port.postMessage(1);
|
1795 |
+
};
|
1796 |
+
} else {
|
1797 |
+
/* istanbul ignore next */
|
1798 |
+
macroTimerFunc = function () {
|
1799 |
+
setTimeout(flushCallbacks, 0);
|
1800 |
+
};
|
1801 |
+
}
|
1802 |
+
|
1803 |
+
// Determine microtask defer implementation.
|
1804 |
+
/* istanbul ignore next, $flow-disable-line */
|
1805 |
+
if (typeof Promise !== 'undefined' && isNative(Promise)) {
|
1806 |
+
var p = Promise.resolve();
|
1807 |
+
microTimerFunc = function () {
|
1808 |
+
p.then(flushCallbacks);
|
1809 |
+
// in problematic UIWebViews, Promise.then doesn't completely break, but
|
1810 |
+
// it can get stuck in a weird state where callbacks are pushed into the
|
1811 |
+
// microtask queue but the queue isn't being flushed, until the browser
|
1812 |
+
// needs to do some other work, e.g. handle a timer. Therefore we can
|
1813 |
+
// "force" the microtask queue to be flushed by adding an empty timer.
|
1814 |
+
if (isIOS) { setTimeout(noop); }
|
1815 |
+
};
|
1816 |
+
} else {
|
1817 |
+
// fallback to macro
|
1818 |
+
microTimerFunc = macroTimerFunc;
|
1819 |
+
}
|
1820 |
+
|
1821 |
+
/**
|
1822 |
+
* Wrap a function so that if any code inside triggers state change,
|
1823 |
+
* the changes are queued using a (macro) task instead of a microtask.
|
1824 |
+
*/
|
1825 |
+
function withMacroTask (fn) {
|
1826 |
+
return fn._withTask || (fn._withTask = function () {
|
1827 |
+
useMacroTask = true;
|
1828 |
+
var res = fn.apply(null, arguments);
|
1829 |
+
useMacroTask = false;
|
1830 |
+
return res
|
1831 |
+
})
|
1832 |
+
}
|
1833 |
+
|
1834 |
+
function nextTick (cb, ctx) {
|
1835 |
+
var _resolve;
|
1836 |
+
callbacks.push(function () {
|
1837 |
+
if (cb) {
|
1838 |
+
try {
|
1839 |
+
cb.call(ctx);
|
1840 |
+
} catch (e) {
|
1841 |
+
handleError(e, ctx, 'nextTick');
|
1842 |
+
}
|
1843 |
+
} else if (_resolve) {
|
1844 |
+
_resolve(ctx);
|
1845 |
+
}
|
1846 |
+
});
|
1847 |
+
if (!pending) {
|
1848 |
+
pending = true;
|
1849 |
+
if (useMacroTask) {
|
1850 |
+
macroTimerFunc();
|
1851 |
+
} else {
|
1852 |
+
microTimerFunc();
|
1853 |
+
}
|
1854 |
+
}
|
1855 |
+
// $flow-disable-line
|
1856 |
+
if (!cb && typeof Promise !== 'undefined') {
|
1857 |
+
return new Promise(function (resolve) {
|
1858 |
+
_resolve = resolve;
|
1859 |
+
})
|
1860 |
+
}
|
1861 |
+
}
|
1862 |
+
|
1863 |
+
/* */
|
1864 |
+
|
1865 |
+
var mark;
|
1866 |
+
var measure;
|
1867 |
+
|
1868 |
+
{
|
1869 |
+
var perf = inBrowser && window.performance;
|
1870 |
+
/* istanbul ignore if */
|
1871 |
+
if (
|
1872 |
+
perf &&
|
1873 |
+
perf.mark &&
|
1874 |
+
perf.measure &&
|
1875 |
+
perf.clearMarks &&
|
1876 |
+
perf.clearMeasures
|
1877 |
+
) {
|
1878 |
+
mark = function (tag) { return perf.mark(tag); };
|
1879 |
+
measure = function (name, startTag, endTag) {
|
1880 |
+
perf.measure(name, startTag, endTag);
|
1881 |
+
perf.clearMarks(startTag);
|
1882 |
+
perf.clearMarks(endTag);
|
1883 |
+
perf.clearMeasures(name);
|
1884 |
+
};
|
1885 |
+
}
|
1886 |
+
}
|
1887 |
+
|
1888 |
+
/* not type checking this file because flow doesn't play well with Proxy */
|
1889 |
+
|
1890 |
+
var initProxy;
|
1891 |
+
|
1892 |
+
{
|
1893 |
+
var allowedGlobals = makeMap(
|
1894 |
+
'Infinity,undefined,NaN,isFinite,isNaN,' +
|
1895 |
+
'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' +
|
1896 |
+
'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' +
|
1897 |
+
'require' // for Webpack/Browserify
|
1898 |
+
);
|
1899 |
+
|
1900 |
+
var warnNonPresent = function (target, key) {
|
1901 |
+
warn(
|
1902 |
+
"Property or method \"" + key + "\" is not defined on the instance but " +
|
1903 |
+
'referenced during render. Make sure that this property is reactive, ' +
|
1904 |
+
'either in the data option, or for class-based components, by ' +
|
1905 |
+
'initializing the property. ' +
|
1906 |
+
'See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',
|
1907 |
+
target
|
1908 |
+
);
|
1909 |
+
};
|
1910 |
+
|
1911 |
+
var hasProxy =
|
1912 |
+
typeof Proxy !== 'undefined' && isNative(Proxy);
|
1913 |
+
|
1914 |
+
if (hasProxy) {
|
1915 |
+
var isBuiltInModifier = makeMap('stop,prevent,self,ctrl,shift,alt,meta,exact');
|
1916 |
+
config.keyCodes = new Proxy(config.keyCodes, {
|
1917 |
+
set: function set (target, key, value) {
|
1918 |
+
if (isBuiltInModifier(key)) {
|
1919 |
+
warn(("Avoid overwriting built-in modifier in config.keyCodes: ." + key));
|
1920 |
+
return false
|
1921 |
+
} else {
|
1922 |
+
target[key] = value;
|
1923 |
+
return true
|
1924 |
+
}
|
1925 |
+
}
|
1926 |
+
});
|
1927 |
+
}
|
1928 |
+
|
1929 |
+
var hasHandler = {
|
1930 |
+
has: function has (target, key) {
|
1931 |
+
var has = key in target;
|
1932 |
+
var isAllowed = allowedGlobals(key) || key.charAt(0) === '_';
|
1933 |
+
if (!has && !isAllowed) {
|
1934 |
+
warnNonPresent(target, key);
|
1935 |
+
}
|
1936 |
+
return has || !isAllowed
|
1937 |
+
}
|
1938 |
+
};
|
1939 |
+
|
1940 |
+
var getHandler = {
|
1941 |
+
get: function get (target, key) {
|
1942 |
+
if (typeof key === 'string' && !(key in target)) {
|
1943 |
+
warnNonPresent(target, key);
|
1944 |
+
}
|
1945 |
+
return target[key]
|
1946 |
+
}
|
1947 |
+
};
|
1948 |
+
|
1949 |
+
initProxy = function initProxy (vm) {
|
1950 |
+
if (hasProxy) {
|
1951 |
+
// determine which proxy handler to use
|
1952 |
+
var options = vm.$options;
|
1953 |
+
var handlers = options.render && options.render._withStripped
|
1954 |
+
? getHandler
|
1955 |
+
: hasHandler;
|
1956 |
+
vm._renderProxy = new Proxy(vm, handlers);
|
1957 |
+
} else {
|
1958 |
+
vm._renderProxy = vm;
|
1959 |
+
}
|
1960 |
+
};
|
1961 |
+
}
|
1962 |
+
|
1963 |
+
/* */
|
1964 |
+
|
1965 |
+
var seenObjects = new _Set();
|
1966 |
+
|
1967 |
+
/**
|
1968 |
+
* Recursively traverse an object to evoke all converted
|
1969 |
+
* getters, so that every nested property inside the object
|
1970 |
+
* is collected as a "deep" dependency.
|
1971 |
+
*/
|
1972 |
+
function traverse (val) {
|
1973 |
+
_traverse(val, seenObjects);
|
1974 |
+
seenObjects.clear();
|
1975 |
+
}
|
1976 |
+
|
1977 |
+
function _traverse (val, seen) {
|
1978 |
+
var i, keys;
|
1979 |
+
var isA = Array.isArray(val);
|
1980 |
+
if ((!isA && !isObject(val)) || Object.isFrozen(val) || val instanceof VNode) {
|
1981 |
+
return
|
1982 |
+
}
|
1983 |
+
if (val.__ob__) {
|
1984 |
+
var depId = val.__ob__.dep.id;
|
1985 |
+
if (seen.has(depId)) {
|
1986 |
+
return
|
1987 |
+
}
|
1988 |
+
seen.add(depId);
|
1989 |
+
}
|
1990 |
+
if (isA) {
|
1991 |
+
i = val.length;
|
1992 |
+
while (i--) { _traverse(val[i], seen); }
|
1993 |
+
} else {
|
1994 |
+
keys = Object.keys(val);
|
1995 |
+
i = keys.length;
|
1996 |
+
while (i--) { _traverse(val[keys[i]], seen); }
|
1997 |
+
}
|
1998 |
+
}
|
1999 |
+
|
2000 |
+
/* */
|
2001 |
+
|
2002 |
+
var normalizeEvent = cached(function (name) {
|
2003 |
+
var passive = name.charAt(0) === '&';
|
2004 |
+
name = passive ? name.slice(1) : name;
|
2005 |
+
var once$$1 = name.charAt(0) === '~'; // Prefixed last, checked first
|
2006 |
+
name = once$$1 ? name.slice(1) : name;
|
2007 |
+
var capture = name.charAt(0) === '!';
|
2008 |
+
name = capture ? name.slice(1) : name;
|
2009 |
+
return {
|
2010 |
+
name: name,
|
2011 |
+
once: once$$1,
|
2012 |
+
capture: capture,
|
2013 |
+
passive: passive
|
2014 |
+
}
|
2015 |
+
});
|
2016 |
+
|
2017 |
+
function createFnInvoker (fns) {
|
2018 |
+
function invoker () {
|
2019 |
+
var arguments$1 = arguments;
|
2020 |
+
|
2021 |
+
var fns = invoker.fns;
|
2022 |
+
if (Array.isArray(fns)) {
|
2023 |
+
var cloned = fns.slice();
|
2024 |
+
for (var i = 0; i < cloned.length; i++) {
|
2025 |
+
cloned[i].apply(null, arguments$1);
|
2026 |
+
}
|
2027 |
+
} else {
|
2028 |
+
// return handler return value for single handlers
|
2029 |
+
return fns.apply(null, arguments)
|
2030 |
+
}
|
2031 |
+
}
|
2032 |
+
invoker.fns = fns;
|
2033 |
+
return invoker
|
2034 |
+
}
|
2035 |
+
|
2036 |
+
function updateListeners (
|
2037 |
+
on,
|
2038 |
+
oldOn,
|
2039 |
+
add,
|
2040 |
+
remove$$1,
|
2041 |
+
vm
|
2042 |
+
) {
|
2043 |
+
var name, def, cur, old, event;
|
2044 |
+
for (name in on) {
|
2045 |
+
def = cur = on[name];
|
2046 |
+
old = oldOn[name];
|
2047 |
+
event = normalizeEvent(name);
|
2048 |
+
/* istanbul ignore if */
|
2049 |
+
if (isUndef(cur)) {
|
2050 |
+
"development" !== 'production' && warn(
|
2051 |
+
"Invalid handler for event \"" + (event.name) + "\": got " + String(cur),
|
2052 |
+
vm
|
2053 |
+
);
|
2054 |
+
} else if (isUndef(old)) {
|
2055 |
+
if (isUndef(cur.fns)) {
|
2056 |
+
cur = on[name] = createFnInvoker(cur);
|
2057 |
+
}
|
2058 |
+
add(event.name, cur, event.once, event.capture, event.passive, event.params);
|
2059 |
+
} else if (cur !== old) {
|
2060 |
+
old.fns = cur;
|
2061 |
+
on[name] = old;
|
2062 |
+
}
|
2063 |
+
}
|
2064 |
+
for (name in oldOn) {
|
2065 |
+
if (isUndef(on[name])) {
|
2066 |
+
event = normalizeEvent(name);
|
2067 |
+
remove$$1(event.name, oldOn[name], event.capture);
|
2068 |
+
}
|
2069 |
+
}
|
2070 |
+
}
|
2071 |
+
|
2072 |
+
/* */
|
2073 |
+
|
2074 |
+
function mergeVNodeHook (def, hookKey, hook) {
|
2075 |
+
if (def instanceof VNode) {
|
2076 |
+
def = def.data.hook || (def.data.hook = {});
|
2077 |
+
}
|
2078 |
+
var invoker;
|
2079 |
+
var oldHook = def[hookKey];
|
2080 |
+
|
2081 |
+
function wrappedHook () {
|
2082 |
+
hook.apply(this, arguments);
|
2083 |
+
// important: remove merged hook to ensure it's called only once
|
2084 |
+
// and prevent memory leak
|
2085 |
+
remove(invoker.fns, wrappedHook);
|
2086 |
+
}
|
2087 |
+
|
2088 |
+
if (isUndef(oldHook)) {
|
2089 |
+
// no existing hook
|
2090 |
+
invoker = createFnInvoker([wrappedHook]);
|
2091 |
+
} else {
|
2092 |
+
/* istanbul ignore if */
|
2093 |
+
if (isDef(oldHook.fns) && isTrue(oldHook.merged)) {
|
2094 |
+
// already a merged invoker
|
2095 |
+
invoker = oldHook;
|
2096 |
+
invoker.fns.push(wrappedHook);
|
2097 |
+
} else {
|
2098 |
+
// existing plain hook
|
2099 |
+
invoker = createFnInvoker([oldHook, wrappedHook]);
|
2100 |
+
}
|
2101 |
+
}
|
2102 |
+
|
2103 |
+
invoker.merged = true;
|
2104 |
+
def[hookKey] = invoker;
|
2105 |
+
}
|
2106 |
+
|
2107 |
+
/* */
|
2108 |
+
|
2109 |
+
function extractPropsFromVNodeData (
|
2110 |
+
data,
|
2111 |
+
Ctor,
|
2112 |
+
tag
|
2113 |
+
) {
|
2114 |
+
// we are only extracting raw values here.
|
2115 |
+
// validation and default values are handled in the child
|
2116 |
+
// component itself.
|
2117 |
+
var propOptions = Ctor.options.props;
|
2118 |
+
if (isUndef(propOptions)) {
|
2119 |
+
return
|
2120 |
+
}
|
2121 |
+
var res = {};
|
2122 |
+
var attrs = data.attrs;
|
2123 |
+
var props = data.props;
|
2124 |
+
if (isDef(attrs) || isDef(props)) {
|
2125 |
+
for (var key in propOptions) {
|
2126 |
+
var altKey = hyphenate(key);
|
2127 |
+
{
|
2128 |
+
var keyInLowerCase = key.toLowerCase();
|
2129 |
+
if (
|
2130 |
+
key !== keyInLowerCase &&
|
2131 |
+
attrs && hasOwn(attrs, keyInLowerCase)
|
2132 |
+
) {
|
2133 |
+
tip(
|
2134 |
+
"Prop \"" + keyInLowerCase + "\" is passed to component " +
|
2135 |
+
(formatComponentName(tag || Ctor)) + ", but the declared prop name is" +
|
2136 |
+
" \"" + key + "\". " +
|
2137 |
+
"Note that HTML attributes are case-insensitive and camelCased " +
|
2138 |
+
"props need to use their kebab-case equivalents when using in-DOM " +
|
2139 |
+
"templates. You should probably use \"" + altKey + "\" instead of \"" + key + "\"."
|
2140 |
+
);
|
2141 |
+
}
|
2142 |
+
}
|
2143 |
+
checkProp(res, props, key, altKey, true) ||
|
2144 |
+
checkProp(res, attrs, key, altKey, false);
|
2145 |
+
}
|
2146 |
+
}
|
2147 |
+
return res
|
2148 |
+
}
|
2149 |
+
|
2150 |
+
function checkProp (
|
2151 |
+
res,
|
2152 |
+
hash,
|
2153 |
+
key,
|
2154 |
+
altKey,
|
2155 |
+
preserve
|
2156 |
+
) {
|
2157 |
+
if (isDef(hash)) {
|
2158 |
+
if (hasOwn(hash, key)) {
|
2159 |
+
res[key] = hash[key];
|
2160 |
+
if (!preserve) {
|
2161 |
+
delete hash[key];
|
2162 |
+
}
|
2163 |
+
return true
|
2164 |
+
} else if (hasOwn(hash, altKey)) {
|
2165 |
+
res[key] = hash[altKey];
|
2166 |
+
if (!preserve) {
|
2167 |
+
delete hash[altKey];
|
2168 |
+
}
|
2169 |
+
return true
|
2170 |
+
}
|
2171 |
+
}
|
2172 |
+
return false
|
2173 |
+
}
|
2174 |
+
|
2175 |
+
/* */
|
2176 |
+
|
2177 |
+
// The template compiler attempts to minimize the need for normalization by
|
2178 |
+
// statically analyzing the template at compile time.
|
2179 |
+
//
|
2180 |
+
// For plain HTML markup, normalization can be completely skipped because the
|
2181 |
+
// generated render function is guaranteed to return Array<VNode>. There are
|
2182 |
+
// two cases where extra normalization is needed:
|
2183 |
+
|
2184 |
+
// 1. When the children contains components - because a functional component
|
2185 |
+
// may return an Array instead of a single root. In this case, just a simple
|
2186 |
+
// normalization is needed - if any child is an Array, we flatten the whole
|
2187 |
+
// thing with Array.prototype.concat. It is guaranteed to be only 1-level deep
|
2188 |
+
// because functional components already normalize their own children.
|
2189 |
+
function simpleNormalizeChildren (children) {
|
2190 |
+
for (var i = 0; i < children.length; i++) {
|
2191 |
+
if (Array.isArray(children[i])) {
|
2192 |
+
return Array.prototype.concat.apply([], children)
|
2193 |
+
}
|
2194 |
+
}
|
2195 |
+
return children
|
2196 |
+
}
|
2197 |
+
|
2198 |
+
// 2. When the children contains constructs that always generated nested Arrays,
|
2199 |
+
// e.g. <template>, <slot>, v-for, or when the children is provided by user
|
2200 |
+
// with hand-written render functions / JSX. In such cases a full normalization
|
2201 |
+
// is needed to cater to all possible types of children values.
|
2202 |
+
function normalizeChildren (children) {
|
2203 |
+
return isPrimitive(children)
|
2204 |
+
? [createTextVNode(children)]
|
2205 |
+
: Array.isArray(children)
|
2206 |
+
? normalizeArrayChildren(children)
|
2207 |
+
: undefined
|
2208 |
+
}
|
2209 |
+
|
2210 |
+
function isTextNode (node) {
|
2211 |
+
return isDef(node) && isDef(node.text) && isFalse(node.isComment)
|
2212 |
+
}
|
2213 |
+
|
2214 |
+
function normalizeArrayChildren (children, nestedIndex) {
|
2215 |
+
var res = [];
|
2216 |
+
var i, c, lastIndex, last;
|
2217 |
+
for (i = 0; i < children.length; i++) {
|
2218 |
+
c = children[i];
|
2219 |
+
if (isUndef(c) || typeof c === 'boolean') { continue }
|
2220 |
+
lastIndex = res.length - 1;
|
2221 |
+
last = res[lastIndex];
|
2222 |
+
// nested
|
2223 |
+
if (Array.isArray(c)) {
|
2224 |
+
if (c.length > 0) {
|
2225 |
+
c = normalizeArrayChildren(c, ((nestedIndex || '') + "_" + i));
|
2226 |
+
// merge adjacent text nodes
|
2227 |
+
if (isTextNode(c[0]) && isTextNode(last)) {
|
2228 |
+
res[lastIndex] = createTextVNode(last.text + (c[0]).text);
|
2229 |
+
c.shift();
|
2230 |
+
}
|
2231 |
+
res.push.apply(res, c);
|
2232 |
+
}
|
2233 |
+
} else if (isPrimitive(c)) {
|
2234 |
+
if (isTextNode(last)) {
|
2235 |
+
// merge adjacent text nodes
|
2236 |
+
// this is necessary for SSR hydration because text nodes are
|
2237 |
+
// essentially merged when rendered to HTML strings
|
2238 |
+
res[lastIndex] = createTextVNode(last.text + c);
|
2239 |
+
} else if (c !== '') {
|
2240 |
+
// convert primitive to vnode
|
2241 |
+
res.push(createTextVNode(c));
|
2242 |
+
}
|
2243 |
+
} else {
|
2244 |
+
if (isTextNode(c) && isTextNode(last)) {
|
2245 |
+
// merge adjacent text nodes
|
2246 |
+
res[lastIndex] = createTextVNode(last.text + c.text);
|
2247 |
+
} else {
|
2248 |
+
// default key for nested array children (likely generated by v-for)
|
2249 |
+
if (isTrue(children._isVList) &&
|
2250 |
+
isDef(c.tag) &&
|
2251 |
+
isUndef(c.key) &&
|
2252 |
+
isDef(nestedIndex)) {
|
2253 |
+
c.key = "__vlist" + nestedIndex + "_" + i + "__";
|
2254 |
+
}
|
2255 |
+
res.push(c);
|
2256 |
+
}
|
2257 |
+
}
|
2258 |
+
}
|
2259 |
+
return res
|
2260 |
+
}
|
2261 |
+
|
2262 |
+
/* */
|
2263 |
+
|
2264 |
+
function ensureCtor (comp, base) {
|
2265 |
+
if (
|
2266 |
+
comp.__esModule ||
|
2267 |
+
(hasSymbol && comp[Symbol.toStringTag] === 'Module')
|
2268 |
+
) {
|
2269 |
+
comp = comp.default;
|
2270 |
+
}
|
2271 |
+
return isObject(comp)
|
2272 |
+
? base.extend(comp)
|
2273 |
+
: comp
|
2274 |
+
}
|
2275 |
+
|
2276 |
+
function createAsyncPlaceholder (
|
2277 |
+
factory,
|
2278 |
+
data,
|
2279 |
+
context,
|
2280 |
+
children,
|
2281 |
+
tag
|
2282 |
+
) {
|
2283 |
+
var node = createEmptyVNode();
|
2284 |
+
node.asyncFactory = factory;
|
2285 |
+
node.asyncMeta = { data: data, context: context, children: children, tag: tag };
|
2286 |
+
return node
|
2287 |
+
}
|
2288 |
+
|
2289 |
+
function resolveAsyncComponent (
|
2290 |
+
factory,
|
2291 |
+
baseCtor,
|
2292 |
+
context
|
2293 |
+
) {
|
2294 |
+
if (isTrue(factory.error) && isDef(factory.errorComp)) {
|
2295 |
+
return factory.errorComp
|
2296 |
+
}
|
2297 |
+
|
2298 |
+
if (isDef(factory.resolved)) {
|
2299 |
+
return factory.resolved
|
2300 |
+
}
|
2301 |
+
|
2302 |
+
if (isTrue(factory.loading) && isDef(factory.loadingComp)) {
|
2303 |
+
return factory.loadingComp
|
2304 |
+
}
|
2305 |
+
|
2306 |
+
if (isDef(factory.contexts)) {
|
2307 |
+
// already pending
|
2308 |
+
factory.contexts.push(context);
|
2309 |
+
} else {
|
2310 |
+
var contexts = factory.contexts = [context];
|
2311 |
+
var sync = true;
|
2312 |
+
|
2313 |
+
var forceRender = function () {
|
2314 |
+
for (var i = 0, l = contexts.length; i < l; i++) {
|
2315 |
+
contexts[i].$forceUpdate();
|
2316 |
+
}
|
2317 |
+
};
|
2318 |
+
|
2319 |
+
var resolve = once(function (res) {
|
2320 |
+
// cache resolved
|
2321 |
+
factory.resolved = ensureCtor(res, baseCtor);
|
2322 |
+
// invoke callbacks only if this is not a synchronous resolve
|
2323 |
+
// (async resolves are shimmed as synchronous during SSR)
|
2324 |
+
if (!sync) {
|
2325 |
+
forceRender();
|
2326 |
+
}
|
2327 |
+
});
|
2328 |
+
|
2329 |
+
var reject = once(function (reason) {
|
2330 |
+
"development" !== 'production' && warn(
|
2331 |
+
"Failed to resolve async component: " + (String(factory)) +
|
2332 |
+
(reason ? ("\nReason: " + reason) : '')
|
2333 |
+
);
|
2334 |
+
if (isDef(factory.errorComp)) {
|
2335 |
+
factory.error = true;
|
2336 |
+
forceRender();
|
2337 |
+
}
|
2338 |
+
});
|
2339 |
+
|
2340 |
+
var res = factory(resolve, reject);
|
2341 |
+
|
2342 |
+
if (isObject(res)) {
|
2343 |
+
if (typeof res.then === 'function') {
|
2344 |
+
// () => Promise
|
2345 |
+
if (isUndef(factory.resolved)) {
|
2346 |
+
res.then(resolve, reject);
|
2347 |
+
}
|
2348 |
+
} else if (isDef(res.component) && typeof res.component.then === 'function') {
|
2349 |
+
res.component.then(resolve, reject);
|
2350 |
+
|
2351 |
+
if (isDef(res.error)) {
|
2352 |
+
factory.errorComp = ensureCtor(res.error, baseCtor);
|
2353 |
+
}
|
2354 |
+
|
2355 |
+
if (isDef(res.loading)) {
|
2356 |
+
factory.loadingComp = ensureCtor(res.loading, baseCtor);
|
2357 |
+
if (res.delay === 0) {
|
2358 |
+
factory.loading = true;
|
2359 |
+
} else {
|
2360 |
+
setTimeout(function () {
|
2361 |
+
if (isUndef(factory.resolved) && isUndef(factory.error)) {
|
2362 |
+
factory.loading = true;
|
2363 |
+
forceRender();
|
2364 |
+
}
|
2365 |
+
}, res.delay || 200);
|
2366 |
+
}
|
2367 |
+
}
|
2368 |
+
|
2369 |
+
if (isDef(res.timeout)) {
|
2370 |
+
setTimeout(function () {
|
2371 |
+
if (isUndef(factory.resolved)) {
|
2372 |
+
reject(
|
2373 |
+
"timeout (" + (res.timeout) + "ms)"
|
2374 |
+
);
|
2375 |
+
}
|
2376 |
+
}, res.timeout);
|
2377 |
+
}
|
2378 |
+
}
|
2379 |
+
}
|
2380 |
+
|
2381 |
+
sync = false;
|
2382 |
+
// return in case resolved synchronously
|
2383 |
+
return factory.loading
|
2384 |
+
? factory.loadingComp
|
2385 |
+
: factory.resolved
|
2386 |
+
}
|
2387 |
+
}
|
2388 |
+
|
2389 |
+
/* */
|
2390 |
+
|
2391 |
+
function isAsyncPlaceholder (node) {
|
2392 |
+
return node.isComment && node.asyncFactory
|
2393 |
+
}
|
2394 |
+
|
2395 |
+
/* */
|
2396 |
+
|
2397 |
+
function getFirstComponentChild (children) {
|
2398 |
+
if (Array.isArray(children)) {
|
2399 |
+
for (var i = 0; i < children.length; i++) {
|
2400 |
+
var c = children[i];
|
2401 |
+
if (isDef(c) && (isDef(c.componentOptions) || isAsyncPlaceholder(c))) {
|
2402 |
+
return c
|
2403 |
+
}
|
2404 |
+
}
|
2405 |
+
}
|
2406 |
+
}
|
2407 |
+
|
2408 |
+
/* */
|
2409 |
+
|
2410 |
+
/* */
|
2411 |
+
|
2412 |
+
function initEvents (vm) {
|
2413 |
+
vm._events = Object.create(null);
|
2414 |
+
vm._hasHookEvent = false;
|
2415 |
+
// init parent attached events
|
2416 |
+
var listeners = vm.$options._parentListeners;
|
2417 |
+
if (listeners) {
|
2418 |
+
updateComponentListeners(vm, listeners);
|
2419 |
+
}
|
2420 |
+
}
|
2421 |
+
|
2422 |
+
var target;
|
2423 |
+
|
2424 |
+
function add (event, fn, once) {
|
2425 |
+
if (once) {
|
2426 |
+
target.$once(event, fn);
|
2427 |
+
} else {
|
2428 |
+
target.$on(event, fn);
|
2429 |
+
}
|
2430 |
+
}
|
2431 |
+
|
2432 |
+
function remove$1 (event, fn) {
|
2433 |
+
target.$off(event, fn);
|
2434 |
+
}
|
2435 |
+
|
2436 |
+
function updateComponentListeners (
|
2437 |
+
vm,
|
2438 |
+
listeners,
|
2439 |
+
oldListeners
|
2440 |
+
) {
|
2441 |
+
target = vm;
|
2442 |
+
updateListeners(listeners, oldListeners || {}, add, remove$1, vm);
|
2443 |
+
target = undefined;
|
2444 |
+
}
|
2445 |
+
|
2446 |
+
function eventsMixin (Vue) {
|
2447 |
+
var hookRE = /^hook:/;
|
2448 |
+
Vue.prototype.$on = function (event, fn) {
|
2449 |
+
var this$1 = this;
|
2450 |
+
|
2451 |
+
var vm = this;
|
2452 |
+
if (Array.isArray(event)) {
|
2453 |
+
for (var i = 0, l = event.length; i < l; i++) {
|
2454 |
+
this$1.$on(event[i], fn);
|
2455 |
+
}
|
2456 |
+
} else {
|
2457 |
+
(vm._events[event] || (vm._events[event] = [])).push(fn);
|
2458 |
+
// optimize hook:event cost by using a boolean flag marked at registration
|
2459 |
+
// instead of a hash lookup
|
2460 |
+
if (hookRE.test(event)) {
|
2461 |
+
vm._hasHookEvent = true;
|
2462 |
+
}
|
2463 |
+
}
|
2464 |
+
return vm
|
2465 |
+
};
|
2466 |
+
|
2467 |
+
Vue.prototype.$once = function (event, fn) {
|
2468 |
+
var vm = this;
|
2469 |
+
function on () {
|
2470 |
+
vm.$off(event, on);
|
2471 |
+
fn.apply(vm, arguments);
|
2472 |
+
}
|
2473 |
+
on.fn = fn;
|
2474 |
+
vm.$on(event, on);
|
2475 |
+
return vm
|
2476 |
+
};
|
2477 |
+
|
2478 |
+
Vue.prototype.$off = function (event, fn) {
|
2479 |
+
var this$1 = this;
|
2480 |
+
|
2481 |
+
var vm = this;
|
2482 |
+
// all
|
2483 |
+
if (!arguments.length) {
|
2484 |
+
vm._events = Object.create(null);
|
2485 |
+
return vm
|
2486 |
+
}
|
2487 |
+
// array of events
|
2488 |
+
if (Array.isArray(event)) {
|
2489 |
+
for (var i = 0, l = event.length; i < l; i++) {
|
2490 |
+
this$1.$off(event[i], fn);
|
2491 |
+
}
|
2492 |
+
return vm
|
2493 |
+
}
|
2494 |
+
// specific event
|
2495 |
+
var cbs = vm._events[event];
|
2496 |
+
if (!cbs) {
|
2497 |
+
return vm
|
2498 |
+
}
|
2499 |
+
if (!fn) {
|
2500 |
+
vm._events[event] = null;
|
2501 |
+
return vm
|
2502 |
+
}
|
2503 |
+
if (fn) {
|
2504 |
+
// specific handler
|
2505 |
+
var cb;
|
2506 |
+
var i$1 = cbs.length;
|
2507 |
+
while (i$1--) {
|
2508 |
+
cb = cbs[i$1];
|
2509 |
+
if (cb === fn || cb.fn === fn) {
|
2510 |
+
cbs.splice(i$1, 1);
|
2511 |
+
break
|
2512 |
+
}
|
2513 |
+
}
|
2514 |
+
}
|
2515 |
+
return vm
|
2516 |
+
};
|
2517 |
+
|
2518 |
+
Vue.prototype.$emit = function (event) {
|
2519 |
+
var vm = this;
|
2520 |
+
{
|
2521 |
+
var lowerCaseEvent = event.toLowerCase();
|
2522 |
+
if (lowerCaseEvent !== event && vm._events[lowerCaseEvent]) {
|
2523 |
+
tip(
|
2524 |
+
"Event \"" + lowerCaseEvent + "\" is emitted in component " +
|
2525 |
+
(formatComponentName(vm)) + " but the handler is registered for \"" + event + "\". " +
|
2526 |
+
"Note that HTML attributes are case-insensitive and you cannot use " +
|
2527 |
+
"v-on to listen to camelCase events when using in-DOM templates. " +
|
2528 |
+
"You should probably use \"" + (hyphenate(event)) + "\" instead of \"" + event + "\"."
|
2529 |
+
);
|
2530 |
+
}
|
2531 |
+
}
|
2532 |
+
var cbs = vm._events[event];
|
2533 |
+
if (cbs) {
|
2534 |
+
cbs = cbs.length > 1 ? toArray(cbs) : cbs;
|
2535 |
+
var args = toArray(arguments, 1);
|
2536 |
+
for (var i = 0, l = cbs.length; i < l; i++) {
|
2537 |
+
try {
|
2538 |
+
cbs[i].apply(vm, args);
|
2539 |
+
} catch (e) {
|
2540 |
+
handleError(e, vm, ("event handler for \"" + event + "\""));
|
2541 |
+
}
|
2542 |
+
}
|
2543 |
+
}
|
2544 |
+
return vm
|
2545 |
+
};
|
2546 |
+
}
|
2547 |
+
|
2548 |
+
/* */
|
2549 |
+
|
2550 |
+
|
2551 |
+
|
2552 |
+
/**
|
2553 |
+
* Runtime helper for resolving raw children VNodes into a slot object.
|
2554 |
+
*/
|
2555 |
+
function resolveSlots (
|
2556 |
+
children,
|
2557 |
+
context
|
2558 |
+
) {
|
2559 |
+
var slots = {};
|
2560 |
+
if (!children) {
|
2561 |
+
return slots
|
2562 |
+
}
|
2563 |
+
for (var i = 0, l = children.length; i < l; i++) {
|
2564 |
+
var child = children[i];
|
2565 |
+
var data = child.data;
|
2566 |
+
// remove slot attribute if the node is resolved as a Vue slot node
|
2567 |
+
if (data && data.attrs && data.attrs.slot) {
|
2568 |
+
delete data.attrs.slot;
|
2569 |
+
}
|
2570 |
+
// named slots should only be respected if the vnode was rendered in the
|
2571 |
+
// same context.
|
2572 |
+
if ((child.context === context || child.fnContext === context) &&
|
2573 |
+
data && data.slot != null
|
2574 |
+
) {
|
2575 |
+
var name = data.slot;
|
2576 |
+
var slot = (slots[name] || (slots[name] = []));
|
2577 |
+
if (child.tag === 'template') {
|
2578 |
+
slot.push.apply(slot, child.children || []);
|
2579 |
+
} else {
|
2580 |
+
slot.push(child);
|
2581 |
+
}
|
2582 |
+
} else {
|
2583 |
+
(slots.default || (slots.default = [])).push(child);
|
2584 |
+
}
|
2585 |
+
}
|
2586 |
+
// ignore slots that contains only whitespace
|
2587 |
+
for (var name$1 in slots) {
|
2588 |
+
if (slots[name$1].every(isWhitespace)) {
|
2589 |
+
delete slots[name$1];
|
2590 |
+
}
|
2591 |
+
}
|
2592 |
+
return slots
|
2593 |
+
}
|
2594 |
+
|
2595 |
+
function isWhitespace (node) {
|
2596 |
+
return (node.isComment && !node.asyncFactory) || node.text === ' '
|
2597 |
+
}
|
2598 |
+
|
2599 |
+
function resolveScopedSlots (
|
2600 |
+
fns, // see flow/vnode
|
2601 |
+
res
|
2602 |
+
) {
|
2603 |
+
res = res || {};
|
2604 |
+
for (var i = 0; i < fns.length; i++) {
|
2605 |
+
if (Array.isArray(fns[i])) {
|
2606 |
+
resolveScopedSlots(fns[i], res);
|
2607 |
+
} else {
|
2608 |
+
res[fns[i].key] = fns[i].fn;
|
2609 |
+
}
|
2610 |
+
}
|
2611 |
+
return res
|
2612 |
+
}
|
2613 |
+
|
2614 |
+
/* */
|
2615 |
+
|
2616 |
+
var activeInstance = null;
|
2617 |
+
var isUpdatingChildComponent = false;
|
2618 |
+
|
2619 |
+
function initLifecycle (vm) {
|
2620 |
+
var options = vm.$options;
|
2621 |
+
|
2622 |
+
// locate first non-abstract parent
|
2623 |
+
var parent = options.parent;
|
2624 |
+
if (parent && !options.abstract) {
|
2625 |
+
while (parent.$options.abstract && parent.$parent) {
|
2626 |
+
parent = parent.$parent;
|
2627 |
+
}
|
2628 |
+
parent.$children.push(vm);
|
2629 |
+
}
|
2630 |
+
|
2631 |
+
vm.$parent = parent;
|
2632 |
+
vm.$root = parent ? parent.$root : vm;
|
2633 |
+
|
2634 |
+
vm.$children = [];
|
2635 |
+
vm.$refs = {};
|
2636 |
+
|
2637 |
+
vm._watcher = null;
|
2638 |
+
vm._inactive = null;
|
2639 |
+
vm._directInactive = false;
|
2640 |
+
vm._isMounted = false;
|
2641 |
+
vm._isDestroyed = false;
|
2642 |
+
vm._isBeingDestroyed = false;
|
2643 |
+
}
|
2644 |
+
|
2645 |
+
function lifecycleMixin (Vue) {
|
2646 |
+
Vue.prototype._update = function (vnode, hydrating) {
|
2647 |
+
var vm = this;
|
2648 |
+
if (vm._isMounted) {
|
2649 |
+
callHook(vm, 'beforeUpdate');
|
2650 |
+
}
|
2651 |
+
var prevEl = vm.$el;
|
2652 |
+
var prevVnode = vm._vnode;
|
2653 |
+
var prevActiveInstance = activeInstance;
|
2654 |
+
activeInstance = vm;
|
2655 |
+
vm._vnode = vnode;
|
2656 |
+
// Vue.prototype.__patch__ is injected in entry points
|
2657 |
+
// based on the rendering backend used.
|
2658 |
+
if (!prevVnode) {
|
2659 |
+
// initial render
|
2660 |
+
vm.$el = vm.__patch__(
|
2661 |
+
vm.$el, vnode, hydrating, false /* removeOnly */,
|
2662 |
+
vm.$options._parentElm,
|
2663 |
+
vm.$options._refElm
|
2664 |
+
);
|
2665 |
+
// no need for the ref nodes after initial patch
|
2666 |
+
// this prevents keeping a detached DOM tree in memory (#5851)
|
2667 |
+
vm.$options._parentElm = vm.$options._refElm = null;
|
2668 |
+
} else {
|
2669 |
+
// updates
|
2670 |
+
vm.$el = vm.__patch__(prevVnode, vnode);
|
2671 |
+
}
|
2672 |
+
activeInstance = prevActiveInstance;
|
2673 |
+
// update __vue__ reference
|
2674 |
+
if (prevEl) {
|
2675 |
+
prevEl.__vue__ = null;
|
2676 |
+
}
|
2677 |
+
if (vm.$el) {
|
2678 |
+
vm.$el.__vue__ = vm;
|
2679 |
+
}
|
2680 |
+
// if parent is an HOC, update its $el as well
|
2681 |
+
if (vm.$vnode && vm.$parent && vm.$vnode === vm.$parent._vnode) {
|
2682 |
+
vm.$parent.$el = vm.$el;
|
2683 |
+
}
|
2684 |
+
// updated hook is called by the scheduler to ensure that children are
|
2685 |
+
// updated in a parent's updated hook.
|
2686 |
+
};
|
2687 |
+
|
2688 |
+
Vue.prototype.$forceUpdate = function () {
|
2689 |
+
var vm = this;
|
2690 |
+
if (vm._watcher) {
|
2691 |
+
vm._watcher.update();
|
2692 |
+
}
|
2693 |
+
};
|
2694 |
+
|
2695 |
+
Vue.prototype.$destroy = function () {
|
2696 |
+
var vm = this;
|
2697 |
+
if (vm._isBeingDestroyed) {
|
2698 |
+
return
|
2699 |
+
}
|
2700 |
+
callHook(vm, 'beforeDestroy');
|
2701 |
+
vm._isBeingDestroyed = true;
|
2702 |
+
// remove self from parent
|
2703 |
+
var parent = vm.$parent;
|
2704 |
+
if (parent && !parent._isBeingDestroyed && !vm.$options.abstract) {
|
2705 |
+
remove(parent.$children, vm);
|
2706 |
+
}
|
2707 |
+
// teardown watchers
|
2708 |
+
if (vm._watcher) {
|
2709 |
+
vm._watcher.teardown();
|
2710 |
+
}
|
2711 |
+
var i = vm._watchers.length;
|
2712 |
+
while (i--) {
|
2713 |
+
vm._watchers[i].teardown();
|
2714 |
+
}
|
2715 |
+
// remove reference from data ob
|
2716 |
+
// frozen object may not have observer.
|
2717 |
+
if (vm._data.__ob__) {
|
2718 |
+
vm._data.__ob__.vmCount--;
|
2719 |
+
}
|
2720 |
+
// call the last hook...
|
2721 |
+
vm._isDestroyed = true;
|
2722 |
+
// invoke destroy hooks on current rendered tree
|
2723 |
+
vm.__patch__(vm._vnode, null);
|
2724 |
+
// fire destroyed hook
|
2725 |
+
callHook(vm, 'destroyed');
|
2726 |
+
// turn off all instance listeners.
|
2727 |
+
vm.$off();
|
2728 |
+
// remove __vue__ reference
|
2729 |
+
if (vm.$el) {
|
2730 |
+
vm.$el.__vue__ = null;
|
2731 |
+
}
|
2732 |
+
// release circular reference (#6759)
|
2733 |
+
if (vm.$vnode) {
|
2734 |
+
vm.$vnode.parent = null;
|
2735 |
+
}
|
2736 |
+
};
|
2737 |
+
}
|
2738 |
+
|
2739 |
+
function mountComponent (
|
2740 |
+
vm,
|
2741 |
+
el,
|
2742 |
+
hydrating
|
2743 |
+
) {
|
2744 |
+
vm.$el = el;
|
2745 |
+
if (!vm.$options.render) {
|
2746 |
+
vm.$options.render = createEmptyVNode;
|
2747 |
+
{
|
2748 |
+
/* istanbul ignore if */
|
2749 |
+
if ((vm.$options.template && vm.$options.template.charAt(0) !== '#') ||
|
2750 |
+
vm.$options.el || el) {
|
2751 |
+
warn(
|
2752 |
+
'You are using the runtime-only build of Vue where the template ' +
|
2753 |
+
'compiler is not available. Either pre-compile the templates into ' +
|
2754 |
+
'render functions, or use the compiler-included build.',
|
2755 |
+
vm
|
2756 |
+
);
|
2757 |
+
} else {
|
2758 |
+
warn(
|
2759 |
+
'Failed to mount component: template or render function not defined.',
|
2760 |
+
vm
|
2761 |
+
);
|
2762 |
+
}
|
2763 |
+
}
|
2764 |
+
}
|
2765 |
+
callHook(vm, 'beforeMount');
|
2766 |
+
|
2767 |
+
var updateComponent;
|
2768 |
+
/* istanbul ignore if */
|
2769 |
+
if ("development" !== 'production' && config.performance && mark) {
|
2770 |
+
updateComponent = function () {
|
2771 |
+
var name = vm._name;
|
2772 |
+
var id = vm._uid;
|
2773 |
+
var startTag = "vue-perf-start:" + id;
|
2774 |
+
var endTag = "vue-perf-end:" + id;
|
2775 |
+
|
2776 |
+
mark(startTag);
|
2777 |
+
var vnode = vm._render();
|
2778 |
+
mark(endTag);
|
2779 |
+
measure(("vue " + name + " render"), startTag, endTag);
|
2780 |
+
|
2781 |
+
mark(startTag);
|
2782 |
+
vm._update(vnode, hydrating);
|
2783 |
+
mark(endTag);
|
2784 |
+
measure(("vue " + name + " patch"), startTag, endTag);
|
2785 |
+
};
|
2786 |
+
} else {
|
2787 |
+
updateComponent = function () {
|
2788 |
+
vm._update(vm._render(), hydrating);
|
2789 |
+
};
|
2790 |
+
}
|
2791 |
+
|
2792 |
+
// we set this to vm._watcher inside the watcher's constructor
|
2793 |
+
// since the watcher's initial patch may call $forceUpdate (e.g. inside child
|
2794 |
+
// component's mounted hook), which relies on vm._watcher being already defined
|
2795 |
+
new Watcher(vm, updateComponent, noop, null, true /* isRenderWatcher */);
|
2796 |
+
hydrating = false;
|
2797 |
+
|
2798 |
+
// manually mounted instance, call mounted on self
|
2799 |
+
// mounted is called for render-created child components in its inserted hook
|
2800 |
+
if (vm.$vnode == null) {
|
2801 |
+
vm._isMounted = true;
|
2802 |
+
callHook(vm, 'mounted');
|
2803 |
+
}
|
2804 |
+
return vm
|
2805 |
+
}
|
2806 |
+
|
2807 |
+
function updateChildComponent (
|
2808 |
+
vm,
|
2809 |
+
propsData,
|
2810 |
+
listeners,
|
2811 |
+
parentVnode,
|
2812 |
+
renderChildren
|
2813 |
+
) {
|
2814 |
+
{
|
2815 |
+
isUpdatingChildComponent = true;
|
2816 |
+
}
|
2817 |
+
|
2818 |
+
// determine whether component has slot children
|
2819 |
+
// we need to do this before overwriting $options._renderChildren
|
2820 |
+
var hasChildren = !!(
|
2821 |
+
renderChildren || // has new static slots
|
2822 |
+
vm.$options._renderChildren || // has old static slots
|
2823 |
+
parentVnode.data.scopedSlots || // has new scoped slots
|
2824 |
+
vm.$scopedSlots !== emptyObject // has old scoped slots
|
2825 |
+
);
|
2826 |
+
|
2827 |
+
vm.$options._parentVnode = parentVnode;
|
2828 |
+
vm.$vnode = parentVnode; // update vm's placeholder node without re-render
|
2829 |
+
|
2830 |
+
if (vm._vnode) { // update child tree's parent
|
2831 |
+
vm._vnode.parent = parentVnode;
|
2832 |
+
}
|
2833 |
+
vm.$options._renderChildren = renderChildren;
|
2834 |
+
|
2835 |
+
// update $attrs and $listeners hash
|
2836 |
+
// these are also reactive so they may trigger child update if the child
|
2837 |
+
// used them during render
|
2838 |
+
vm.$attrs = parentVnode.data.attrs || emptyObject;
|
2839 |
+
vm.$listeners = listeners || emptyObject;
|
2840 |
+
|
2841 |
+
// update props
|
2842 |
+
if (propsData && vm.$options.props) {
|
2843 |
+
toggleObserving(false);
|
2844 |
+
var props = vm._props;
|
2845 |
+
var propKeys = vm.$options._propKeys || [];
|
2846 |
+
for (var i = 0; i < propKeys.length; i++) {
|
2847 |
+
var key = propKeys[i];
|
2848 |
+
var propOptions = vm.$options.props; // wtf flow?
|
2849 |
+
props[key] = validateProp(key, propOptions, propsData, vm);
|
2850 |
+
}
|
2851 |
+
toggleObserving(true);
|
2852 |
+
// keep a copy of raw propsData
|
2853 |
+
vm.$options.propsData = propsData;
|
2854 |
+
}
|
2855 |
+
|
2856 |
+
// update listeners
|
2857 |
+
listeners = listeners || emptyObject;
|
2858 |
+
var oldListeners = vm.$options._parentListeners;
|
2859 |
+
vm.$options._parentListeners = listeners;
|
2860 |
+
updateComponentListeners(vm, listeners, oldListeners);
|
2861 |
+
|
2862 |
+
// resolve slots + force update if has children
|
2863 |
+
if (hasChildren) {
|
2864 |
+
vm.$slots = resolveSlots(renderChildren, parentVnode.context);
|
2865 |
+
vm.$forceUpdate();
|
2866 |
+
}
|
2867 |
+
|
2868 |
+
{
|
2869 |
+
isUpdatingChildComponent = false;
|
2870 |
+
}
|
2871 |
+
}
|
2872 |
+
|
2873 |
+
function isInInactiveTree (vm) {
|
2874 |
+
while (vm && (vm = vm.$parent)) {
|
2875 |
+
if (vm._inactive) { return true }
|
2876 |
+
}
|
2877 |
+
return false
|
2878 |
+
}
|
2879 |
+
|
2880 |
+
function activateChildComponent (vm, direct) {
|
2881 |
+
if (direct) {
|
2882 |
+
vm._directInactive = false;
|
2883 |
+
if (isInInactiveTree(vm)) {
|
2884 |
+
return
|
2885 |
+
}
|
2886 |
+
} else if (vm._directInactive) {
|
2887 |
+
return
|
2888 |
+
}
|
2889 |
+
if (vm._inactive || vm._inactive === null) {
|
2890 |
+
vm._inactive = false;
|
2891 |
+
for (var i = 0; i < vm.$children.length; i++) {
|
2892 |
+
activateChildComponent(vm.$children[i]);
|
2893 |
+
}
|
2894 |
+
callHook(vm, 'activated');
|
2895 |
+
}
|
2896 |
+
}
|
2897 |
+
|
2898 |
+
function deactivateChildComponent (vm, direct) {
|
2899 |
+
if (direct) {
|
2900 |
+
vm._directInactive = true;
|
2901 |
+
if (isInInactiveTree(vm)) {
|
2902 |
+
return
|
2903 |
+
}
|
2904 |
+
}
|
2905 |
+
if (!vm._inactive) {
|
2906 |
+
vm._inactive = true;
|
2907 |
+
for (var i = 0; i < vm.$children.length; i++) {
|
2908 |
+
deactivateChildComponent(vm.$children[i]);
|
2909 |
+
}
|
2910 |
+
callHook(vm, 'deactivated');
|
2911 |
+
}
|
2912 |
+
}
|
2913 |
+
|
2914 |
+
function callHook (vm, hook) {
|
2915 |
+
// #7573 disable dep collection when invoking lifecycle hooks
|
2916 |
+
pushTarget();
|
2917 |
+
var handlers = vm.$options[hook];
|
2918 |
+
if (handlers) {
|
2919 |
+
for (var i = 0, j = handlers.length; i < j; i++) {
|
2920 |
+
try {
|
2921 |
+
handlers[i].call(vm);
|
2922 |
+
} catch (e) {
|
2923 |
+
handleError(e, vm, (hook + " hook"));
|
2924 |
+
}
|
2925 |
+
}
|
2926 |
+
}
|
2927 |
+
if (vm._hasHookEvent) {
|
2928 |
+
vm.$emit('hook:' + hook);
|
2929 |
+
}
|
2930 |
+
popTarget();
|
2931 |
+
}
|
2932 |
+
|
2933 |
+
/* */
|
2934 |
+
|
2935 |
+
|
2936 |
+
var MAX_UPDATE_COUNT = 100;
|
2937 |
+
|
2938 |
+
var queue = [];
|
2939 |
+
var activatedChildren = [];
|
2940 |
+
var has = {};
|
2941 |
+
var circular = {};
|
2942 |
+
var waiting = false;
|
2943 |
+
var flushing = false;
|
2944 |
+
var index = 0;
|
2945 |
+
|
2946 |
+
/**
|
2947 |
+
* Reset the scheduler's state.
|
2948 |
+
*/
|
2949 |
+
function resetSchedulerState () {
|
2950 |
+
index = queue.length = activatedChildren.length = 0;
|
2951 |
+
has = {};
|
2952 |
+
{
|
2953 |
+
circular = {};
|
2954 |
+
}
|
2955 |
+
waiting = flushing = false;
|
2956 |
+
}
|
2957 |
+
|
2958 |
+
/**
|
2959 |
+
* Flush both queues and run the watchers.
|
2960 |
+
*/
|
2961 |
+
function flushSchedulerQueue () {
|
2962 |
+
flushing = true;
|
2963 |
+
var watcher, id;
|
2964 |
+
|
2965 |
+
// Sort queue before flush.
|
2966 |
+
// This ensures that:
|
2967 |
+
// 1. Components are updated from parent to child. (because parent is always
|
2968 |
+
// created before the child)
|
2969 |
+
// 2. A component's user watchers are run before its render watcher (because
|
2970 |
+
// user watchers are created before the render watcher)
|
2971 |
+
// 3. If a component is destroyed during a parent component's watcher run,
|
2972 |
+
// its watchers can be skipped.
|
2973 |
+
queue.sort(function (a, b) { return a.id - b.id; });
|
2974 |
+
|
2975 |
+
// do not cache length because more watchers might be pushed
|
2976 |
+
// as we run existing watchers
|
2977 |
+
for (index = 0; index < queue.length; index++) {
|
2978 |
+
watcher = queue[index];
|
2979 |
+
id = watcher.id;
|
2980 |
+
has[id] = null;
|
2981 |
+
watcher.run();
|
2982 |
+
// in dev build, check and stop circular updates.
|
2983 |
+
if ("development" !== 'production' && has[id] != null) {
|
2984 |
+
circular[id] = (circular[id] || 0) + 1;
|
2985 |
+
if (circular[id] > MAX_UPDATE_COUNT) {
|
2986 |
+
warn(
|
2987 |
+
'You may have an infinite update loop ' + (
|
2988 |
+
watcher.user
|
2989 |
+
? ("in watcher with expression \"" + (watcher.expression) + "\"")
|
2990 |
+
: "in a component render function."
|
2991 |
+
),
|
2992 |
+
watcher.vm
|
2993 |
+
);
|
2994 |
+
break
|
2995 |
+
}
|
2996 |
+
}
|
2997 |
+
}
|
2998 |
+
|
2999 |
+
// keep copies of post queues before resetting state
|
3000 |
+
var activatedQueue = activatedChildren.slice();
|
3001 |
+
var updatedQueue = queue.slice();
|
3002 |
+
|
3003 |
+
resetSchedulerState();
|
3004 |
+
|
3005 |
+
// call component updated and activated hooks
|
3006 |
+
callActivatedHooks(activatedQueue);
|
3007 |
+
callUpdatedHooks(updatedQueue);
|
3008 |
+
|
3009 |
+
// devtool hook
|
3010 |
+
/* istanbul ignore if */
|
3011 |
+
if (devtools && config.devtools) {
|
3012 |
+
devtools.emit('flush');
|
3013 |
+
}
|
3014 |
+
}
|
3015 |
+
|
3016 |
+
function callUpdatedHooks (queue) {
|
3017 |
+
var i = queue.length;
|
3018 |
+
while (i--) {
|
3019 |
+
var watcher = queue[i];
|
3020 |
+
var vm = watcher.vm;
|
3021 |
+
if (vm._watcher === watcher && vm._isMounted) {
|
3022 |
+
callHook(vm, 'updated');
|
3023 |
+
}
|
3024 |
+
}
|
3025 |
+
}
|
3026 |
+
|
3027 |
+
/**
|
3028 |
+
* Queue a kept-alive component that was activated during patch.
|
3029 |
+
* The queue will be processed after the entire tree has been patched.
|
3030 |
+
*/
|
3031 |
+
function queueActivatedComponent (vm) {
|
3032 |
+
// setting _inactive to false here so that a render function can
|
3033 |
+
// rely on checking whether it's in an inactive tree (e.g. router-view)
|
3034 |
+
vm._inactive = false;
|
3035 |
+
activatedChildren.push(vm);
|
3036 |
+
}
|
3037 |
+
|
3038 |
+
function callActivatedHooks (queue) {
|
3039 |
+
for (var i = 0; i < queue.length; i++) {
|
3040 |
+
queue[i]._inactive = true;
|
3041 |
+
activateChildComponent(queue[i], true /* true */);
|
3042 |
+
}
|
3043 |
+
}
|
3044 |
+
|
3045 |
+
/**
|
3046 |
+
* Push a watcher into the watcher queue.
|
3047 |
+
* Jobs with duplicate IDs will be skipped unless it's
|
3048 |
+
* pushed when the queue is being flushed.
|
3049 |
+
*/
|
3050 |
+
function queueWatcher (watcher) {
|
3051 |
+
var id = watcher.id;
|
3052 |
+
if (has[id] == null) {
|
3053 |
+
has[id] = true;
|
3054 |
+
if (!flushing) {
|
3055 |
+
queue.push(watcher);
|
3056 |
+
} else {
|
3057 |
+
// if already flushing, splice the watcher based on its id
|
3058 |
+
// if already past its id, it will be run next immediately.
|
3059 |
+
var i = queue.length - 1;
|
3060 |
+
while (i > index && queue[i].id > watcher.id) {
|
3061 |
+
i--;
|
3062 |
+
}
|
3063 |
+
queue.splice(i + 1, 0, watcher);
|
3064 |
+
}
|
3065 |
+
// queue the flush
|
3066 |
+
if (!waiting) {
|
3067 |
+
waiting = true;
|
3068 |
+
nextTick(flushSchedulerQueue);
|
3069 |
+
}
|
3070 |
+
}
|
3071 |
+
}
|
3072 |
+
|
3073 |
+
/* */
|
3074 |
+
|
3075 |
+
var uid$1 = 0;
|
3076 |
+
|
3077 |
+
/**
|
3078 |
+
* A watcher parses an expression, collects dependencies,
|
3079 |
+
* and fires callback when the expression value changes.
|
3080 |
+
* This is used for both the $watch() api and directives.
|
3081 |
+
*/
|
3082 |
+
var Watcher = function Watcher (
|
3083 |
+
vm,
|
3084 |
+
expOrFn,
|
3085 |
+
cb,
|
3086 |
+
options,
|
3087 |
+
isRenderWatcher
|
3088 |
+
) {
|
3089 |
+
this.vm = vm;
|
3090 |
+
if (isRenderWatcher) {
|
3091 |
+
vm._watcher = this;
|
3092 |
+
}
|
3093 |
+
vm._watchers.push(this);
|
3094 |
+
// options
|
3095 |
+
if (options) {
|
3096 |
+
this.deep = !!options.deep;
|
3097 |
+
this.user = !!options.user;
|
3098 |
+
this.lazy = !!options.lazy;
|
3099 |
+
this.sync = !!options.sync;
|
3100 |
+
} else {
|
3101 |
+
this.deep = this.user = this.lazy = this.sync = false;
|
3102 |
+
}
|
3103 |
+
this.cb = cb;
|
3104 |
+
this.id = ++uid$1; // uid for batching
|
3105 |
+
this.active = true;
|
3106 |
+
this.dirty = this.lazy; // for lazy watchers
|
3107 |
+
this.deps = [];
|
3108 |
+
this.newDeps = [];
|
3109 |
+
this.depIds = new _Set();
|
3110 |
+
this.newDepIds = new _Set();
|
3111 |
+
this.expression = expOrFn.toString();
|
3112 |
+
// parse expression for getter
|
3113 |
+
if (typeof expOrFn === 'function') {
|
3114 |
+
this.getter = expOrFn;
|
3115 |
+
} else {
|
3116 |
+
this.getter = parsePath(expOrFn);
|
3117 |
+
if (!this.getter) {
|
3118 |
+
this.getter = function () {};
|
3119 |
+
"development" !== 'production' && warn(
|
3120 |
+
"Failed watching path: \"" + expOrFn + "\" " +
|
3121 |
+
'Watcher only accepts simple dot-delimited paths. ' +
|
3122 |
+
'For full control, use a function instead.',
|
3123 |
+
vm
|
3124 |
+
);
|
3125 |
+
}
|
3126 |
+
}
|
3127 |
+
this.value = this.lazy
|
3128 |
+
? undefined
|
3129 |
+
: this.get();
|
3130 |
+
};
|
3131 |
+
|
3132 |
+
/**
|
3133 |
+
* Evaluate the getter, and re-collect dependencies.
|
3134 |
+
*/
|
3135 |
+
Watcher.prototype.get = function get () {
|
3136 |
+
pushTarget(this);
|
3137 |
+
var value;
|
3138 |
+
var vm = this.vm;
|
3139 |
+
try {
|
3140 |
+
value = this.getter.call(vm, vm);
|
3141 |
+
} catch (e) {
|
3142 |
+
if (this.user) {
|
3143 |
+
handleError(e, vm, ("getter for watcher \"" + (this.expression) + "\""));
|
3144 |
+
} else {
|
3145 |
+
throw e
|
3146 |
+
}
|
3147 |
+
} finally {
|
3148 |
+
// "touch" every property so they are all tracked as
|
3149 |
+
// dependencies for deep watching
|
3150 |
+
if (this.deep) {
|
3151 |
+
traverse(value);
|
3152 |
+
}
|
3153 |
+
popTarget();
|
3154 |
+
this.cleanupDeps();
|
3155 |
+
}
|
3156 |
+
return value
|
3157 |
+
};
|
3158 |
+
|
3159 |
+
/**
|
3160 |
+
* Add a dependency to this directive.
|
3161 |
+
*/
|
3162 |
+
Watcher.prototype.addDep = function addDep (dep) {
|
3163 |
+
var id = dep.id;
|
3164 |
+
if (!this.newDepIds.has(id)) {
|
3165 |
+
this.newDepIds.add(id);
|
3166 |
+
this.newDeps.push(dep);
|
3167 |
+
if (!this.depIds.has(id)) {
|
3168 |
+
dep.addSub(this);
|
3169 |
+
}
|
3170 |
+
}
|
3171 |
+
};
|
3172 |
+
|
3173 |
+
/**
|
3174 |
+
* Clean up for dependency collection.
|
3175 |
+
*/
|
3176 |
+
Watcher.prototype.cleanupDeps = function cleanupDeps () {
|
3177 |
+
var this$1 = this;
|
3178 |
+
|
3179 |
+
var i = this.deps.length;
|
3180 |
+
while (i--) {
|
3181 |
+
var dep = this$1.deps[i];
|
3182 |
+
if (!this$1.newDepIds.has(dep.id)) {
|
3183 |
+
dep.removeSub(this$1);
|
3184 |
+
}
|
3185 |
+
}
|
3186 |
+
var tmp = this.depIds;
|
3187 |
+
this.depIds = this.newDepIds;
|
3188 |
+
this.newDepIds = tmp;
|
3189 |
+
this.newDepIds.clear();
|
3190 |
+
tmp = this.deps;
|
3191 |
+
this.deps = this.newDeps;
|
3192 |
+
this.newDeps = tmp;
|
3193 |
+
this.newDeps.length = 0;
|
3194 |
+
};
|
3195 |
+
|
3196 |
+
/**
|
3197 |
+
* Subscriber interface.
|
3198 |
+
* Will be called when a dependency changes.
|
3199 |
+
*/
|
3200 |
+
Watcher.prototype.update = function update () {
|
3201 |
+
/* istanbul ignore else */
|
3202 |
+
if (this.lazy) {
|
3203 |
+
this.dirty = true;
|
3204 |
+
} else if (this.sync) {
|
3205 |
+
this.run();
|
3206 |
+
} else {
|
3207 |
+
queueWatcher(this);
|
3208 |
+
}
|
3209 |
+
};
|
3210 |
+
|
3211 |
+
/**
|
3212 |
+
* Scheduler job interface.
|
3213 |
+
* Will be called by the scheduler.
|
3214 |
+
*/
|
3215 |
+
Watcher.prototype.run = function run () {
|
3216 |
+
if (this.active) {
|
3217 |
+
var value = this.get();
|
3218 |
+
if (
|
3219 |
+
value !== this.value ||
|
3220 |
+
// Deep watchers and watchers on Object/Arrays should fire even
|
3221 |
+
// when the value is the same, because the value may
|
3222 |
+
// have mutated.
|
3223 |
+
isObject(value) ||
|
3224 |
+
this.deep
|
3225 |
+
) {
|
3226 |
+
// set new value
|
3227 |
+
var oldValue = this.value;
|
3228 |
+
this.value = value;
|
3229 |
+
if (this.user) {
|
3230 |
+
try {
|
3231 |
+
this.cb.call(this.vm, value, oldValue);
|
3232 |
+
} catch (e) {
|
3233 |
+
handleError(e, this.vm, ("callback for watcher \"" + (this.expression) + "\""));
|
3234 |
+
}
|
3235 |
+
} else {
|
3236 |
+
this.cb.call(this.vm, value, oldValue);
|
3237 |
+
}
|
3238 |
+
}
|
3239 |
+
}
|
3240 |
+
};
|
3241 |
+
|
3242 |
+
/**
|
3243 |
+
* Evaluate the value of the watcher.
|
3244 |
+
* This only gets called for lazy watchers.
|
3245 |
+
*/
|
3246 |
+
Watcher.prototype.evaluate = function evaluate () {
|
3247 |
+
this.value = this.get();
|
3248 |
+
this.dirty = false;
|
3249 |
+
};
|
3250 |
+
|
3251 |
+
/**
|
3252 |
+
* Depend on all deps collected by this watcher.
|
3253 |
+
*/
|
3254 |
+
Watcher.prototype.depend = function depend () {
|
3255 |
+
var this$1 = this;
|
3256 |
+
|
3257 |
+
var i = this.deps.length;
|
3258 |
+
while (i--) {
|
3259 |
+
this$1.deps[i].depend();
|
3260 |
+
}
|
3261 |
+
};
|
3262 |
+
|
3263 |
+
/**
|
3264 |
+
* Remove self from all dependencies' subscriber list.
|
3265 |
+
*/
|
3266 |
+
Watcher.prototype.teardown = function teardown () {
|
3267 |
+
var this$1 = this;
|
3268 |
+
|
3269 |
+
if (this.active) {
|
3270 |
+
// remove self from vm's watcher list
|
3271 |
+
// this is a somewhat expensive operation so we skip it
|
3272 |
+
// if the vm is being destroyed.
|
3273 |
+
if (!this.vm._isBeingDestroyed) {
|
3274 |
+
remove(this.vm._watchers, this);
|
3275 |
+
}
|
3276 |
+
var i = this.deps.length;
|
3277 |
+
while (i--) {
|
3278 |
+
this$1.deps[i].removeSub(this$1);
|
3279 |
+
}
|
3280 |
+
this.active = false;
|
3281 |
+
}
|
3282 |
+
};
|
3283 |
+
|
3284 |
+
/* */
|
3285 |
+
|
3286 |
+
var sharedPropertyDefinition = {
|
3287 |
+
enumerable: true,
|
3288 |
+
configurable: true,
|
3289 |
+
get: noop,
|
3290 |
+
set: noop
|
3291 |
+
};
|
3292 |
+
|
3293 |
+
function proxy (target, sourceKey, key) {
|
3294 |
+
sharedPropertyDefinition.get = function proxyGetter () {
|
3295 |
+
return this[sourceKey][key]
|
3296 |
+
};
|
3297 |
+
sharedPropertyDefinition.set = function proxySetter (val) {
|
3298 |
+
this[sourceKey][key] = val;
|
3299 |
+
};
|
3300 |
+
Object.defineProperty(target, key, sharedPropertyDefinition);
|
3301 |
+
}
|
3302 |
+
|
3303 |
+
function initState (vm) {
|
3304 |
+
vm._watchers = [];
|
3305 |
+
var opts = vm.$options;
|
3306 |
+
if (opts.props) { initProps(vm, opts.props); }
|
3307 |
+
if (opts.methods) { initMethods(vm, opts.methods); }
|
3308 |
+
if (opts.data) {
|
3309 |
+
initData(vm);
|
3310 |
+
} else {
|
3311 |
+
observe(vm._data = {}, true /* asRootData */);
|
3312 |
+
}
|
3313 |
+
if (opts.computed) { initComputed(vm, opts.computed); }
|
3314 |
+
if (opts.watch && opts.watch !== nativeWatch) {
|
3315 |
+
initWatch(vm, opts.watch);
|
3316 |
+
}
|
3317 |
+
}
|
3318 |
+
|
3319 |
+
function initProps (vm, propsOptions) {
|
3320 |
+
var propsData = vm.$options.propsData || {};
|
3321 |
+
var props = vm._props = {};
|
3322 |
+
// cache prop keys so that future props updates can iterate using Array
|
3323 |
+
// instead of dynamic object key enumeration.
|
3324 |
+
var keys = vm.$options._propKeys = [];
|
3325 |
+
var isRoot = !vm.$parent;
|
3326 |
+
// root instance props should be converted
|
3327 |
+
if (!isRoot) {
|
3328 |
+
toggleObserving(false);
|
3329 |
+
}
|
3330 |
+
var loop = function ( key ) {
|
3331 |
+
keys.push(key);
|
3332 |
+
var value = validateProp(key, propsOptions, propsData, vm);
|
3333 |
+
/* istanbul ignore else */
|
3334 |
+
{
|
3335 |
+
var hyphenatedKey = hyphenate(key);
|
3336 |
+
if (isReservedAttribute(hyphenatedKey) ||
|
3337 |
+
config.isReservedAttr(hyphenatedKey)) {
|
3338 |
+
warn(
|
3339 |
+
("\"" + hyphenatedKey + "\" is a reserved attribute and cannot be used as component prop."),
|
3340 |
+
vm
|
3341 |
+
);
|
3342 |
+
}
|
3343 |
+
defineReactive(props, key, value, function () {
|
3344 |
+
if (vm.$parent && !isUpdatingChildComponent) {
|
3345 |
+
warn(
|
3346 |
+
"Avoid mutating a prop directly since the value will be " +
|
3347 |
+
"overwritten whenever the parent component re-renders. " +
|
3348 |
+
"Instead, use a data or computed property based on the prop's " +
|
3349 |
+
"value. Prop being mutated: \"" + key + "\"",
|
3350 |
+
vm
|
3351 |
+
);
|
3352 |
+
}
|
3353 |
+
});
|
3354 |
+
}
|
3355 |
+
// static props are already proxied on the component's prototype
|
3356 |
+
// during Vue.extend(). We only need to proxy props defined at
|
3357 |
+
// instantiation here.
|
3358 |
+
if (!(key in vm)) {
|
3359 |
+
proxy(vm, "_props", key);
|
3360 |
+
}
|
3361 |
+
};
|
3362 |
+
|
3363 |
+
for (var key in propsOptions) loop( key );
|
3364 |
+
toggleObserving(true);
|
3365 |
+
}
|
3366 |
+
|
3367 |
+
function initData (vm) {
|
3368 |
+
var data = vm.$options.data;
|
3369 |
+
data = vm._data = typeof data === 'function'
|
3370 |
+
? getData(data, vm)
|
3371 |
+
: data || {};
|
3372 |
+
if (!isPlainObject(data)) {
|
3373 |
+
data = {};
|
3374 |
+
"development" !== 'production' && warn(
|
3375 |
+
'data functions should return an object:\n' +
|
3376 |
+
'https://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function',
|
3377 |
+
vm
|
3378 |
+
);
|
3379 |
+
}
|
3380 |
+
// proxy data on instance
|
3381 |
+
var keys = Object.keys(data);
|
3382 |
+
var props = vm.$options.props;
|
3383 |
+
var methods = vm.$options.methods;
|
3384 |
+
var i = keys.length;
|
3385 |
+
while (i--) {
|
3386 |
+
var key = keys[i];
|
3387 |
+
{
|
3388 |
+
if (methods && hasOwn(methods, key)) {
|
3389 |
+
warn(
|
3390 |
+
("Method \"" + key + "\" has already been defined as a data property."),
|
3391 |
+
vm
|
3392 |
+
);
|
3393 |
+
}
|
3394 |
+
}
|
3395 |
+
if (props && hasOwn(props, key)) {
|
3396 |
+
"development" !== 'production' && warn(
|
3397 |
+
"The data property \"" + key + "\" is already declared as a prop. " +
|
3398 |
+
"Use prop default value instead.",
|
3399 |
+
vm
|
3400 |
+
);
|
3401 |
+
} else if (!isReserved(key)) {
|
3402 |
+
proxy(vm, "_data", key);
|
3403 |
+
}
|
3404 |
+
}
|
3405 |
+
// observe data
|
3406 |
+
observe(data, true /* asRootData */);
|
3407 |
+
}
|
3408 |
+
|
3409 |
+
function getData (data, vm) {
|
3410 |
+
// #7573 disable dep collection when invoking data getters
|
3411 |
+
pushTarget();
|
3412 |
+
try {
|
3413 |
+
return data.call(vm, vm)
|
3414 |
+
} catch (e) {
|
3415 |
+
handleError(e, vm, "data()");
|
3416 |
+
return {}
|
3417 |
+
} finally {
|
3418 |
+
popTarget();
|
3419 |
+
}
|
3420 |
+
}
|
3421 |
+
|
3422 |
+
var computedWatcherOptions = { lazy: true };
|
3423 |
+
|
3424 |
+
function initComputed (vm, computed) {
|
3425 |
+
// $flow-disable-line
|
3426 |
+
var watchers = vm._computedWatchers = Object.create(null);
|
3427 |
+
// computed properties are just getters during SSR
|
3428 |
+
var isSSR = isServerRendering();
|
3429 |
+
|
3430 |
+
for (var key in computed) {
|
3431 |
+
var userDef = computed[key];
|
3432 |
+
var getter = typeof userDef === 'function' ? userDef : userDef.get;
|
3433 |
+
if ("development" !== 'production' && getter == null) {
|
3434 |
+
warn(
|
3435 |
+
("Getter is missing for computed property \"" + key + "\"."),
|
3436 |
+
vm
|
3437 |
+
);
|
3438 |
+
}
|
3439 |
+
|
3440 |
+
if (!isSSR) {
|
3441 |
+
// create internal watcher for the computed property.
|
3442 |
+
watchers[key] = new Watcher(
|
3443 |
+
vm,
|
3444 |
+
getter || noop,
|
3445 |
+
noop,
|
3446 |
+
computedWatcherOptions
|
3447 |
+
);
|
3448 |
+
}
|
3449 |
+
|
3450 |
+
// component-defined computed properties are already defined on the
|
3451 |
+
// component prototype. We only need to define computed properties defined
|
3452 |
+
// at instantiation here.
|
3453 |
+
if (!(key in vm)) {
|
3454 |
+
defineComputed(vm, key, userDef);
|
3455 |
+
} else {
|
3456 |
+
if (key in vm.$data) {
|
3457 |
+
warn(("The computed property \"" + key + "\" is already defined in data."), vm);
|
3458 |
+
} else if (vm.$options.props && key in vm.$options.props) {
|
3459 |
+
warn(("The computed property \"" + key + "\" is already defined as a prop."), vm);
|
3460 |
+
}
|
3461 |
+
}
|
3462 |
+
}
|
3463 |
+
}
|
3464 |
+
|
3465 |
+
function defineComputed (
|
3466 |
+
target,
|
3467 |
+
key,
|
3468 |
+
userDef
|
3469 |
+
) {
|
3470 |
+
var shouldCache = !isServerRendering();
|
3471 |
+
if (typeof userDef === 'function') {
|
3472 |
+
sharedPropertyDefinition.get = shouldCache
|
3473 |
+
? createComputedGetter(key)
|
3474 |
+
: userDef;
|
3475 |
+
sharedPropertyDefinition.set = noop;
|
3476 |
+
} else {
|
3477 |
+
sharedPropertyDefinition.get = userDef.get
|
3478 |
+
? shouldCache && userDef.cache !== false
|
3479 |
+
? createComputedGetter(key)
|
3480 |
+
: userDef.get
|
3481 |
+
: noop;
|
3482 |
+
sharedPropertyDefinition.set = userDef.set
|
3483 |
+
? userDef.set
|
3484 |
+
: noop;
|
3485 |
+
}
|
3486 |
+
if ("development" !== 'production' &&
|
3487 |
+
sharedPropertyDefinition.set === noop) {
|
3488 |
+
sharedPropertyDefinition.set = function () {
|
3489 |
+
warn(
|
3490 |
+
("Computed property \"" + key + "\" was assigned to but it has no setter."),
|
3491 |
+
this
|
3492 |
+
);
|
3493 |
+
};
|
3494 |
+
}
|
3495 |
+
Object.defineProperty(target, key, sharedPropertyDefinition);
|
3496 |
+
}
|
3497 |
+
|
3498 |
+
function createComputedGetter (key) {
|
3499 |
+
return function computedGetter () {
|
3500 |
+
var watcher = this._computedWatchers && this._computedWatchers[key];
|
3501 |
+
if (watcher) {
|
3502 |
+
if (watcher.dirty) {
|
3503 |
+
watcher.evaluate();
|
3504 |
+
}
|
3505 |
+
if (Dep.target) {
|
3506 |
+
watcher.depend();
|
3507 |
+
}
|
3508 |
+
return watcher.value
|
3509 |
+
}
|
3510 |
+
}
|
3511 |
+
}
|
3512 |
+
|
3513 |
+
function initMethods (vm, methods) {
|
3514 |
+
var props = vm.$options.props;
|
3515 |
+
for (var key in methods) {
|
3516 |
+
{
|
3517 |
+
if (methods[key] == null) {
|
3518 |
+
warn(
|
3519 |
+
"Method \"" + key + "\" has an undefined value in the component definition. " +
|
3520 |
+
"Did you reference the function correctly?",
|
3521 |
+
vm
|
3522 |
+
);
|
3523 |
+
}
|
3524 |
+
if (props && hasOwn(props, key)) {
|
3525 |
+
warn(
|
3526 |
+
("Method \"" + key + "\" has already been defined as a prop."),
|
3527 |
+
vm
|
3528 |
+
);
|
3529 |
+
}
|
3530 |
+
if ((key in vm) && isReserved(key)) {
|
3531 |
+
warn(
|
3532 |
+
"Method \"" + key + "\" conflicts with an existing Vue instance method. " +
|
3533 |
+
"Avoid defining component methods that start with _ or $."
|
3534 |
+
);
|
3535 |
+
}
|
3536 |
+
}
|
3537 |
+
vm[key] = methods[key] == null ? noop : bind(methods[key], vm);
|
3538 |
+
}
|
3539 |
+
}
|
3540 |
+
|
3541 |
+
function initWatch (vm, watch) {
|
3542 |
+
for (var key in watch) {
|
3543 |
+
var handler = watch[key];
|
3544 |
+
if (Array.isArray(handler)) {
|
3545 |
+
for (var i = 0; i < handler.length; i++) {
|
3546 |
+
createWatcher(vm, key, handler[i]);
|
3547 |
+
}
|
3548 |
+
} else {
|
3549 |
+
createWatcher(vm, key, handler);
|
3550 |
+
}
|
3551 |
+
}
|
3552 |
+
}
|
3553 |
+
|
3554 |
+
function createWatcher (
|
3555 |
+
vm,
|
3556 |
+
expOrFn,
|
3557 |
+
handler,
|
3558 |
+
options
|
3559 |
+
) {
|
3560 |
+
if (isPlainObject(handler)) {
|
3561 |
+
options = handler;
|
3562 |
+
handler = handler.handler;
|
3563 |
+
}
|
3564 |
+
if (typeof handler === 'string') {
|
3565 |
+
handler = vm[handler];
|
3566 |
+
}
|
3567 |
+
return vm.$watch(expOrFn, handler, options)
|
3568 |
+
}
|
3569 |
+
|
3570 |
+
function stateMixin (Vue) {
|
3571 |
+
// flow somehow has problems with directly declared definition object
|
3572 |
+
// when using Object.defineProperty, so we have to procedurally build up
|
3573 |
+
// the object here.
|
3574 |
+
var dataDef = {};
|
3575 |
+
dataDef.get = function () { return this._data };
|
3576 |
+
var propsDef = {};
|
3577 |
+
propsDef.get = function () { return this._props };
|
3578 |
+
{
|
3579 |
+
dataDef.set = function (newData) {
|
3580 |
+
warn(
|
3581 |
+
'Avoid replacing instance root $data. ' +
|
3582 |
+
'Use nested data properties instead.',
|
3583 |
+
this
|
3584 |
+
);
|
3585 |
+
};
|
3586 |
+
propsDef.set = function () {
|
3587 |
+
warn("$props is readonly.", this);
|
3588 |
+
};
|
3589 |
+
}
|
3590 |
+
Object.defineProperty(Vue.prototype, '$data', dataDef);
|
3591 |
+
Object.defineProperty(Vue.prototype, '$props', propsDef);
|
3592 |
+
|
3593 |
+
Vue.prototype.$set = set;
|
3594 |
+
Vue.prototype.$delete = del;
|
3595 |
+
|
3596 |
+
Vue.prototype.$watch = function (
|
3597 |
+
expOrFn,
|
3598 |
+
cb,
|
3599 |
+
options
|
3600 |
+
) {
|
3601 |
+
var vm = this;
|
3602 |
+
if (isPlainObject(cb)) {
|
3603 |
+
return createWatcher(vm, expOrFn, cb, options)
|
3604 |
+
}
|
3605 |
+
options = options || {};
|
3606 |
+
options.user = true;
|
3607 |
+
var watcher = new Watcher(vm, expOrFn, cb, options);
|
3608 |
+
if (options.immediate) {
|
3609 |
+
cb.call(vm, watcher.value);
|
3610 |
+
}
|
3611 |
+
return function unwatchFn () {
|
3612 |
+
watcher.teardown();
|
3613 |
+
}
|
3614 |
+
};
|
3615 |
+
}
|
3616 |
+
|
3617 |
+
/* */
|
3618 |
+
|
3619 |
+
function initProvide (vm) {
|
3620 |
+
var provide = vm.$options.provide;
|
3621 |
+
if (provide) {
|
3622 |
+
vm._provided = typeof provide === 'function'
|
3623 |
+
? provide.call(vm)
|
3624 |
+
: provide;
|
3625 |
+
}
|
3626 |
+
}
|
3627 |
+
|
3628 |
+
function initInjections (vm) {
|
3629 |
+
var result = resolveInject(vm.$options.inject, vm);
|
3630 |
+
if (result) {
|
3631 |
+
toggleObserving(false);
|
3632 |
+
Object.keys(result).forEach(function (key) {
|
3633 |
+
/* istanbul ignore else */
|
3634 |
+
{
|
3635 |
+
defineReactive(vm, key, result[key], function () {
|
3636 |
+
warn(
|
3637 |
+
"Avoid mutating an injected value directly since the changes will be " +
|
3638 |
+
"overwritten whenever the provided component re-renders. " +
|
3639 |
+
"injection being mutated: \"" + key + "\"",
|
3640 |
+
vm
|
3641 |
+
);
|
3642 |
+
});
|
3643 |
+
}
|
3644 |
+
});
|
3645 |
+
toggleObserving(true);
|
3646 |
+
}
|
3647 |
+
}
|
3648 |
+
|
3649 |
+
function resolveInject (inject, vm) {
|
3650 |
+
if (inject) {
|
3651 |
+
// inject is :any because flow is not smart enough to figure out cached
|
3652 |
+
var result = Object.create(null);
|
3653 |
+
var keys = hasSymbol
|
3654 |
+
? Reflect.ownKeys(inject).filter(function (key) {
|
3655 |
+
/* istanbul ignore next */
|
3656 |
+
return Object.getOwnPropertyDescriptor(inject, key).enumerable
|
3657 |
+
})
|
3658 |
+
: Object.keys(inject);
|
3659 |
+
|
3660 |
+
for (var i = 0; i < keys.length; i++) {
|
3661 |
+
var key = keys[i];
|
3662 |
+
var provideKey = inject[key].from;
|
3663 |
+
var source = vm;
|
3664 |
+
while (source) {
|
3665 |
+
if (source._provided && hasOwn(source._provided, provideKey)) {
|
3666 |
+
result[key] = source._provided[provideKey];
|
3667 |
+
break
|
3668 |
+
}
|
3669 |
+
source = source.$parent;
|
3670 |
+
}
|
3671 |
+
if (!source) {
|
3672 |
+
if ('default' in inject[key]) {
|
3673 |
+
var provideDefault = inject[key].default;
|
3674 |
+
result[key] = typeof provideDefault === 'function'
|
3675 |
+
? provideDefault.call(vm)
|
3676 |
+
: provideDefault;
|
3677 |
+
} else {
|
3678 |
+
warn(("Injection \"" + key + "\" not found"), vm);
|
3679 |
+
}
|
3680 |
+
}
|
3681 |
+
}
|
3682 |
+
return result
|
3683 |
+
}
|
3684 |
+
}
|
3685 |
+
|
3686 |
+
/* */
|
3687 |
+
|
3688 |
+
/**
|
3689 |
+
* Runtime helper for rendering v-for lists.
|
3690 |
+
*/
|
3691 |
+
function renderList (
|
3692 |
+
val,
|
3693 |
+
render
|
3694 |
+
) {
|
3695 |
+
var ret, i, l, keys, key;
|
3696 |
+
if (Array.isArray(val) || typeof val === 'string') {
|
3697 |
+
ret = new Array(val.length);
|
3698 |
+
for (i = 0, l = val.length; i < l; i++) {
|
3699 |
+
ret[i] = render(val[i], i);
|
3700 |
+
}
|
3701 |
+
} else if (typeof val === 'number') {
|
3702 |
+
ret = new Array(val);
|
3703 |
+
for (i = 0; i < val; i++) {
|
3704 |
+
ret[i] = render(i + 1, i);
|
3705 |
+
}
|
3706 |
+
} else if (isObject(val)) {
|
3707 |
+
keys = Object.keys(val);
|
3708 |
+
ret = new Array(keys.length);
|
3709 |
+
for (i = 0, l = keys.length; i < l; i++) {
|
3710 |
+
key = keys[i];
|
3711 |
+
ret[i] = render(val[key], key, i);
|
3712 |
+
}
|
3713 |
+
}
|
3714 |
+
if (isDef(ret)) {
|
3715 |
+
(ret)._isVList = true;
|
3716 |
+
}
|
3717 |
+
return ret
|
3718 |
+
}
|
3719 |
+
|
3720 |
+
/* */
|
3721 |
+
|
3722 |
+
/**
|
3723 |
+
* Runtime helper for rendering <slot>
|
3724 |
+
*/
|
3725 |
+
function renderSlot (
|
3726 |
+
name,
|
3727 |
+
fallback,
|
3728 |
+
props,
|
3729 |
+
bindObject
|
3730 |
+
) {
|
3731 |
+
var scopedSlotFn = this.$scopedSlots[name];
|
3732 |
+
var nodes;
|
3733 |
+
if (scopedSlotFn) { // scoped slot
|
3734 |
+
props = props || {};
|
3735 |
+
if (bindObject) {
|
3736 |
+
if ("development" !== 'production' && !isObject(bindObject)) {
|
3737 |
+
warn(
|
3738 |
+
'slot v-bind without argument expects an Object',
|
3739 |
+
this
|
3740 |
+
);
|
3741 |
+
}
|
3742 |
+
props = extend(extend({}, bindObject), props);
|
3743 |
+
}
|
3744 |
+
nodes = scopedSlotFn(props) || fallback;
|
3745 |
+
} else {
|
3746 |
+
var slotNodes = this.$slots[name];
|
3747 |
+
// warn duplicate slot usage
|
3748 |
+
if (slotNodes) {
|
3749 |
+
if ("development" !== 'production' && slotNodes._rendered) {
|
3750 |
+
warn(
|
3751 |
+
"Duplicate presence of slot \"" + name + "\" found in the same render tree " +
|
3752 |
+
"- this will likely cause render errors.",
|
3753 |
+
this
|
3754 |
+
);
|
3755 |
+
}
|
3756 |
+
slotNodes._rendered = true;
|
3757 |
+
}
|
3758 |
+
nodes = slotNodes || fallback;
|
3759 |
+
}
|
3760 |
+
|
3761 |
+
var target = props && props.slot;
|
3762 |
+
if (target) {
|
3763 |
+
return this.$createElement('template', { slot: target }, nodes)
|
3764 |
+
} else {
|
3765 |
+
return nodes
|
3766 |
+
}
|
3767 |
+
}
|
3768 |
+
|
3769 |
+
/* */
|
3770 |
+
|
3771 |
+
/**
|
3772 |
+
* Runtime helper for resolving filters
|
3773 |
+
*/
|
3774 |
+
function resolveFilter (id) {
|
3775 |
+
return resolveAsset(this.$options, 'filters', id, true) || identity
|
3776 |
+
}
|
3777 |
+
|
3778 |
+
/* */
|
3779 |
+
|
3780 |
+
function isKeyNotMatch (expect, actual) {
|
3781 |
+
if (Array.isArray(expect)) {
|
3782 |
+
return expect.indexOf(actual) === -1
|
3783 |
+
} else {
|
3784 |
+
return expect !== actual
|
3785 |
+
}
|
3786 |
+
}
|
3787 |
+
|
3788 |
+
/**
|
3789 |
+
* Runtime helper for checking keyCodes from config.
|
3790 |
+
* exposed as Vue.prototype._k
|
3791 |
+
* passing in eventKeyName as last argument separately for backwards compat
|
3792 |
+
*/
|
3793 |
+
function checkKeyCodes (
|
3794 |
+
eventKeyCode,
|
3795 |
+
key,
|
3796 |
+
builtInKeyCode,
|
3797 |
+
eventKeyName,
|
3798 |
+
builtInKeyName
|
3799 |
+
) {
|
3800 |
+
var mappedKeyCode = config.keyCodes[key] || builtInKeyCode;
|
3801 |
+
if (builtInKeyName && eventKeyName && !config.keyCodes[key]) {
|
3802 |
+
return isKeyNotMatch(builtInKeyName, eventKeyName)
|
3803 |
+
} else if (mappedKeyCode) {
|
3804 |
+
return isKeyNotMatch(mappedKeyCode, eventKeyCode)
|
3805 |
+
} else if (eventKeyName) {
|
3806 |
+
return hyphenate(eventKeyName) !== key
|
3807 |
+
}
|
3808 |
+
}
|
3809 |
+
|
3810 |
+
/* */
|
3811 |
+
|
3812 |
+
/**
|
3813 |
+
* Runtime helper for merging v-bind="object" into a VNode's data.
|
3814 |
+
*/
|
3815 |
+
function bindObjectProps (
|
3816 |
+
data,
|
3817 |
+
tag,
|
3818 |
+
value,
|
3819 |
+
asProp,
|
3820 |
+
isSync
|
3821 |
+
) {
|
3822 |
+
if (value) {
|
3823 |
+
if (!isObject(value)) {
|
3824 |
+
"development" !== 'production' && warn(
|
3825 |
+
'v-bind without argument expects an Object or Array value',
|
3826 |
+
this
|
3827 |
+
);
|
3828 |
+
} else {
|
3829 |
+
if (Array.isArray(value)) {
|
3830 |
+
value = toObject(value);
|
3831 |
+
}
|
3832 |
+
var hash;
|
3833 |
+
var loop = function ( key ) {
|
3834 |
+
if (
|
3835 |
+
key === 'class' ||
|
3836 |
+
key === 'style' ||
|
3837 |
+
isReservedAttribute(key)
|
3838 |
+
) {
|
3839 |
+
hash = data;
|
3840 |
+
} else {
|
3841 |
+
var type = data.attrs && data.attrs.type;
|
3842 |
+
hash = asProp || config.mustUseProp(tag, type, key)
|
3843 |
+
? data.domProps || (data.domProps = {})
|
3844 |
+
: data.attrs || (data.attrs = {});
|
3845 |
+
}
|
3846 |
+
if (!(key in hash)) {
|
3847 |
+
hash[key] = value[key];
|
3848 |
+
|
3849 |
+
if (isSync) {
|
3850 |
+
var on = data.on || (data.on = {});
|
3851 |
+
on[("update:" + key)] = function ($event) {
|
3852 |
+
value[key] = $event;
|
3853 |
+
};
|
3854 |
+
}
|
3855 |
+
}
|
3856 |
+
};
|
3857 |
+
|
3858 |
+
for (var key in value) loop( key );
|
3859 |
+
}
|
3860 |
+
}
|
3861 |
+
return data
|
3862 |
+
}
|
3863 |
+
|
3864 |
+
/* */
|
3865 |
+
|
3866 |
+
/**
|
3867 |
+
* Runtime helper for rendering static trees.
|
3868 |
+
*/
|
3869 |
+
function renderStatic (
|
3870 |
+
index,
|
3871 |
+
isInFor
|
3872 |
+
) {
|
3873 |
+
var cached = this._staticTrees || (this._staticTrees = []);
|
3874 |
+
var tree = cached[index];
|
3875 |
+
// if has already-rendered static tree and not inside v-for,
|
3876 |
+
// we can reuse the same tree.
|
3877 |
+
if (tree && !isInFor) {
|
3878 |
+
return tree
|
3879 |
+
}
|
3880 |
+
// otherwise, render a fresh tree.
|
3881 |
+
tree = cached[index] = this.$options.staticRenderFns[index].call(
|
3882 |
+
this._renderProxy,
|
3883 |
+
null,
|
3884 |
+
this // for render fns generated for functional component templates
|
3885 |
+
);
|
3886 |
+
markStatic(tree, ("__static__" + index), false);
|
3887 |
+
return tree
|
3888 |
+
}
|
3889 |
+
|
3890 |
+
/**
|
3891 |
+
* Runtime helper for v-once.
|
3892 |
+
* Effectively it means marking the node as static with a unique key.
|
3893 |
+
*/
|
3894 |
+
function markOnce (
|
3895 |
+
tree,
|
3896 |
+
index,
|
3897 |
+
key
|
3898 |
+
) {
|
3899 |
+
markStatic(tree, ("__once__" + index + (key ? ("_" + key) : "")), true);
|
3900 |
+
return tree
|
3901 |
+
}
|
3902 |
+
|
3903 |
+
function markStatic (
|
3904 |
+
tree,
|
3905 |
+
key,
|
3906 |
+
isOnce
|
3907 |
+
) {
|
3908 |
+
if (Array.isArray(tree)) {
|
3909 |
+
for (var i = 0; i < tree.length; i++) {
|
3910 |
+
if (tree[i] && typeof tree[i] !== 'string') {
|
3911 |
+
markStaticNode(tree[i], (key + "_" + i), isOnce);
|
3912 |
+
}
|
3913 |
+
}
|
3914 |
+
} else {
|
3915 |
+
markStaticNode(tree, key, isOnce);
|
3916 |
+
}
|
3917 |
+
}
|
3918 |
+
|
3919 |
+
function markStaticNode (node, key, isOnce) {
|
3920 |
+
node.isStatic = true;
|
3921 |
+
node.key = key;
|
3922 |
+
node.isOnce = isOnce;
|
3923 |
+
}
|
3924 |
+
|
3925 |
+
/* */
|
3926 |
+
|
3927 |
+
function bindObjectListeners (data, value) {
|
3928 |
+
if (value) {
|
3929 |
+
if (!isPlainObject(value)) {
|
3930 |
+
"development" !== 'production' && warn(
|
3931 |
+
'v-on without argument expects an Object value',
|
3932 |
+
this
|
3933 |
+
);
|
3934 |
+
} else {
|
3935 |
+
var on = data.on = data.on ? extend({}, data.on) : {};
|
3936 |
+
for (var key in value) {
|
3937 |
+
var existing = on[key];
|
3938 |
+
var ours = value[key];
|
3939 |
+
on[key] = existing ? [].concat(existing, ours) : ours;
|
3940 |
+
}
|
3941 |
+
}
|
3942 |
+
}
|
3943 |
+
return data
|
3944 |
+
}
|
3945 |
+
|
3946 |
+
/* */
|
3947 |
+
|
3948 |
+
function installRenderHelpers (target) {
|
3949 |
+
target._o = markOnce;
|
3950 |
+
target._n = toNumber;
|
3951 |
+
target._s = toString;
|
3952 |
+
target._l = renderList;
|
3953 |
+
target._t = renderSlot;
|
3954 |
+
target._q = looseEqual;
|
3955 |
+
target._i = looseIndexOf;
|
3956 |
+
target._m = renderStatic;
|
3957 |
+
target._f = resolveFilter;
|
3958 |
+
target._k = checkKeyCodes;
|
3959 |
+
target._b = bindObjectProps;
|
3960 |
+
target._v = createTextVNode;
|
3961 |
+
target._e = createEmptyVNode;
|
3962 |
+
target._u = resolveScopedSlots;
|
3963 |
+
target._g = bindObjectListeners;
|
3964 |
+
}
|
3965 |
+
|
3966 |
+
/* */
|
3967 |
+
|
3968 |
+
function FunctionalRenderContext (
|
3969 |
+
data,
|
3970 |
+
props,
|
3971 |
+
children,
|
3972 |
+
parent,
|
3973 |
+
Ctor
|
3974 |
+
) {
|
3975 |
+
var options = Ctor.options;
|
3976 |
+
// ensure the createElement function in functional components
|
3977 |
+
// gets a unique context - this is necessary for correct named slot check
|
3978 |
+
var contextVm;
|
3979 |
+
if (hasOwn(parent, '_uid')) {
|
3980 |
+
contextVm = Object.create(parent);
|
3981 |
+
// $flow-disable-line
|
3982 |
+
contextVm._original = parent;
|
3983 |
+
} else {
|
3984 |
+
// the context vm passed in is a functional context as well.
|
3985 |
+
// in this case we want to make sure we are able to get a hold to the
|
3986 |
+
// real context instance.
|
3987 |
+
contextVm = parent;
|
3988 |
+
// $flow-disable-line
|
3989 |
+
parent = parent._original;
|
3990 |
+
}
|
3991 |
+
var isCompiled = isTrue(options._compiled);
|
3992 |
+
var needNormalization = !isCompiled;
|
3993 |
+
|
3994 |
+
this.data = data;
|
3995 |
+
this.props = props;
|
3996 |
+
this.children = children;
|
3997 |
+
this.parent = parent;
|
3998 |
+
this.listeners = data.on || emptyObject;
|
3999 |
+
this.injections = resolveInject(options.inject, parent);
|
4000 |
+
this.slots = function () { return resolveSlots(children, parent); };
|
4001 |
+
|
4002 |
+
// support for compiled functional template
|
4003 |
+
if (isCompiled) {
|
4004 |
+
// exposing $options for renderStatic()
|
4005 |
+
this.$options = options;
|
4006 |
+
// pre-resolve slots for renderSlot()
|
4007 |
+
this.$slots = this.slots();
|
4008 |
+
this.$scopedSlots = data.scopedSlots || emptyObject;
|
4009 |
+
}
|
4010 |
+
|
4011 |
+
if (options._scopeId) {
|
4012 |
+
this._c = function (a, b, c, d) {
|
4013 |
+
var vnode = createElement(contextVm, a, b, c, d, needNormalization);
|
4014 |
+
if (vnode && !Array.isArray(vnode)) {
|
4015 |
+
vnode.fnScopeId = options._scopeId;
|
4016 |
+
vnode.fnContext = parent;
|
4017 |
+
}
|
4018 |
+
return vnode
|
4019 |
+
};
|
4020 |
+
} else {
|
4021 |
+
this._c = function (a, b, c, d) { return createElement(contextVm, a, b, c, d, needNormalization); };
|
4022 |
+
}
|
4023 |
+
}
|
4024 |
+
|
4025 |
+
installRenderHelpers(FunctionalRenderContext.prototype);
|
4026 |
+
|
4027 |
+
function createFunctionalComponent (
|
4028 |
+
Ctor,
|
4029 |
+
propsData,
|
4030 |
+
data,
|
4031 |
+
contextVm,
|
4032 |
+
children
|
4033 |
+
) {
|
4034 |
+
var options = Ctor.options;
|
4035 |
+
var props = {};
|
4036 |
+
var propOptions = options.props;
|
4037 |
+
if (isDef(propOptions)) {
|
4038 |
+
for (var key in propOptions) {
|
4039 |
+
props[key] = validateProp(key, propOptions, propsData || emptyObject);
|
4040 |
+
}
|
4041 |
+
} else {
|
4042 |
+
if (isDef(data.attrs)) { mergeProps(props, data.attrs); }
|
4043 |
+
if (isDef(data.props)) { mergeProps(props, data.props); }
|
4044 |
+
}
|
4045 |
+
|
4046 |
+
var renderContext = new FunctionalRenderContext(
|
4047 |
+
data,
|
4048 |
+
props,
|
4049 |
+
children,
|
4050 |
+
contextVm,
|
4051 |
+
Ctor
|
4052 |
+
);
|
4053 |
+
|
4054 |
+
var vnode = options.render.call(null, renderContext._c, renderContext);
|
4055 |
+
|
4056 |
+
if (vnode instanceof VNode) {
|
4057 |
+
return cloneAndMarkFunctionalResult(vnode, data, renderContext.parent, options)
|
4058 |
+
} else if (Array.isArray(vnode)) {
|
4059 |
+
var vnodes = normalizeChildren(vnode) || [];
|
4060 |
+
var res = new Array(vnodes.length);
|
4061 |
+
for (var i = 0; i < vnodes.length; i++) {
|
4062 |
+
res[i] = cloneAndMarkFunctionalResult(vnodes[i], data, renderContext.parent, options);
|
4063 |
+
}
|
4064 |
+
return res
|
4065 |
+
}
|
4066 |
+
}
|
4067 |
+
|
4068 |
+
function cloneAndMarkFunctionalResult (vnode, data, contextVm, options) {
|
4069 |
+
// #7817 clone node before setting fnContext, otherwise if the node is reused
|
4070 |
+
// (e.g. it was from a cached normal slot) the fnContext causes named slots
|
4071 |
+
// that should not be matched to match.
|
4072 |
+
var clone = cloneVNode(vnode);
|
4073 |
+
clone.fnContext = contextVm;
|
4074 |
+
clone.fnOptions = options;
|
4075 |
+
if (data.slot) {
|
4076 |
+
(clone.data || (clone.data = {})).slot = data.slot;
|
4077 |
+
}
|
4078 |
+
return clone
|
4079 |
+
}
|
4080 |
+
|
4081 |
+
function mergeProps (to, from) {
|
4082 |
+
for (var key in from) {
|
4083 |
+
to[camelize(key)] = from[key];
|
4084 |
+
}
|
4085 |
+
}
|
4086 |
+
|
4087 |
+
/* */
|
4088 |
+
|
4089 |
+
|
4090 |
+
|
4091 |
+
|
4092 |
+
// Register the component hook to weex native render engine.
|
4093 |
+
// The hook will be triggered by native, not javascript.
|
4094 |
+
|
4095 |
+
|
4096 |
+
// Updates the state of the component to weex native render engine.
|
4097 |
+
|
4098 |
+
/* */
|
4099 |
+
|
4100 |
+
// https://github.com/Hanks10100/weex-native-directive/tree/master/component
|
4101 |
+
|
4102 |
+
// listening on native callback
|
4103 |
+
|
4104 |
+
/* */
|
4105 |
+
|
4106 |
+
/* */
|
4107 |
+
|
4108 |
+
// inline hooks to be invoked on component VNodes during patch
|
4109 |
+
var componentVNodeHooks = {
|
4110 |
+
init: function init (
|
4111 |
+
vnode,
|
4112 |
+
hydrating,
|
4113 |
+
parentElm,
|
4114 |
+
refElm
|
4115 |
+
) {
|
4116 |
+
if (
|
4117 |
+
vnode.componentInstance &&
|
4118 |
+
!vnode.componentInstance._isDestroyed &&
|
4119 |
+
vnode.data.keepAlive
|
4120 |
+
) {
|
4121 |
+
// kept-alive components, treat as a patch
|
4122 |
+
var mountedNode = vnode; // work around flow
|
4123 |
+
componentVNodeHooks.prepatch(mountedNode, mountedNode);
|
4124 |
+
} else {
|
4125 |
+
var child = vnode.componentInstance = createComponentInstanceForVnode(
|
4126 |
+
vnode,
|
4127 |
+
activeInstance,
|
4128 |
+
parentElm,
|
4129 |
+
refElm
|
4130 |
+
);
|
4131 |
+
child.$mount(hydrating ? vnode.elm : undefined, hydrating);
|
4132 |
+
}
|
4133 |
+
},
|
4134 |
+
|
4135 |
+
prepatch: function prepatch (oldVnode, vnode) {
|
4136 |
+
var options = vnode.componentOptions;
|
4137 |
+
var child = vnode.componentInstance = oldVnode.componentInstance;
|
4138 |
+
updateChildComponent(
|
4139 |
+
child,
|
4140 |
+
options.propsData, // updated props
|
4141 |
+
options.listeners, // updated listeners
|
4142 |
+
vnode, // new parent vnode
|
4143 |
+
options.children // new children
|
4144 |
+
);
|
4145 |
+
},
|
4146 |
+
|
4147 |
+
insert: function insert (vnode) {
|
4148 |
+
var context = vnode.context;
|
4149 |
+
var componentInstance = vnode.componentInstance;
|
4150 |
+
if (!componentInstance._isMounted) {
|
4151 |
+
componentInstance._isMounted = true;
|
4152 |
+
callHook(componentInstance, 'mounted');
|
4153 |
+
}
|
4154 |
+
if (vnode.data.keepAlive) {
|
4155 |
+
if (context._isMounted) {
|
4156 |
+
// vue-router#1212
|
4157 |
+
// During updates, a kept-alive component's child components may
|
4158 |
+
// change, so directly walking the tree here may call activated hooks
|
4159 |
+
// on incorrect children. Instead we push them into a queue which will
|
4160 |
+
// be processed after the whole patch process ended.
|
4161 |
+
queueActivatedComponent(componentInstance);
|
4162 |
+
} else {
|
4163 |
+
activateChildComponent(componentInstance, true /* direct */);
|
4164 |
+
}
|
4165 |
+
}
|
4166 |
+
},
|
4167 |
+
|
4168 |
+
destroy: function destroy (vnode) {
|
4169 |
+
var componentInstance = vnode.componentInstance;
|
4170 |
+
if (!componentInstance._isDestroyed) {
|
4171 |
+
if (!vnode.data.keepAlive) {
|
4172 |
+
componentInstance.$destroy();
|
4173 |
+
} else {
|
4174 |
+
deactivateChildComponent(componentInstance, true /* direct */);
|
4175 |
+
}
|
4176 |
+
}
|
4177 |
+
}
|
4178 |
+
};
|
4179 |
+
|
4180 |
+
var hooksToMerge = Object.keys(componentVNodeHooks);
|
4181 |
+
|
4182 |
+
function createComponent (
|
4183 |
+
Ctor,
|
4184 |
+
data,
|
4185 |
+
context,
|
4186 |
+
children,
|
4187 |
+
tag
|
4188 |
+
) {
|
4189 |
+
if (isUndef(Ctor)) {
|
4190 |
+
return
|
4191 |
+
}
|
4192 |
+
|
4193 |
+
var baseCtor = context.$options._base;
|
4194 |
+
|
4195 |
+
// plain options object: turn it into a constructor
|
4196 |
+
if (isObject(Ctor)) {
|
4197 |
+
Ctor = baseCtor.extend(Ctor);
|
4198 |
+
}
|
4199 |
+
|
4200 |
+
// if at this stage it's not a constructor or an async component factory,
|
4201 |
+
// reject.
|
4202 |
+
if (typeof Ctor !== 'function') {
|
4203 |
+
{
|
4204 |
+
warn(("Invalid Component definition: " + (String(Ctor))), context);
|
4205 |
+
}
|
4206 |
+
return
|
4207 |
+
}
|
4208 |
+
|
4209 |
+
// async component
|
4210 |
+
var asyncFactory;
|
4211 |
+
if (isUndef(Ctor.cid)) {
|
4212 |
+
asyncFactory = Ctor;
|
4213 |
+
Ctor = resolveAsyncComponent(asyncFactory, baseCtor, context);
|
4214 |
+
if (Ctor === undefined) {
|
4215 |
+
// return a placeholder node for async component, which is rendered
|
4216 |
+
// as a comment node but preserves all the raw information for the node.
|
4217 |
+
// the information will be used for async server-rendering and hydration.
|
4218 |
+
return createAsyncPlaceholder(
|
4219 |
+
asyncFactory,
|
4220 |
+
data,
|
4221 |
+
context,
|
4222 |
+
children,
|
4223 |
+
tag
|
4224 |
+
)
|
4225 |
+
}
|
4226 |
+
}
|
4227 |
+
|
4228 |
+
data = data || {};
|
4229 |
+
|
4230 |
+
// resolve constructor options in case global mixins are applied after
|
4231 |
+
// component constructor creation
|
4232 |
+
resolveConstructorOptions(Ctor);
|
4233 |
+
|
4234 |
+
// transform component v-model data into props & events
|
4235 |
+
if (isDef(data.model)) {
|
4236 |
+
transformModel(Ctor.options, data);
|
4237 |
+
}
|
4238 |
+
|
4239 |
+
// extract props
|
4240 |
+
var propsData = extractPropsFromVNodeData(data, Ctor, tag);
|
4241 |
+
|
4242 |
+
// functional component
|
4243 |
+
if (isTrue(Ctor.options.functional)) {
|
4244 |
+
return createFunctionalComponent(Ctor, propsData, data, context, children)
|
4245 |
+
}
|
4246 |
+
|
4247 |
+
// extract listeners, since these needs to be treated as
|
4248 |
+
// child component listeners instead of DOM listeners
|
4249 |
+
var listeners = data.on;
|
4250 |
+
// replace with listeners with .native modifier
|
4251 |
+
// so it gets processed during parent component patch.
|
4252 |
+
data.on = data.nativeOn;
|
4253 |
+
|
4254 |
+
if (isTrue(Ctor.options.abstract)) {
|
4255 |
+
// abstract components do not keep anything
|
4256 |
+
// other than props & listeners & slot
|
4257 |
+
|
4258 |
+
// work around flow
|
4259 |
+
var slot = data.slot;
|
4260 |
+
data = {};
|
4261 |
+
if (slot) {
|
4262 |
+
data.slot = slot;
|
4263 |
+
}
|
4264 |
+
}
|
4265 |
+
|
4266 |
+
// install component management hooks onto the placeholder node
|
4267 |
+
installComponentHooks(data);
|
4268 |
+
|
4269 |
+
// return a placeholder vnode
|
4270 |
+
var name = Ctor.options.name || tag;
|
4271 |
+
var vnode = new VNode(
|
4272 |
+
("vue-component-" + (Ctor.cid) + (name ? ("-" + name) : '')),
|
4273 |
+
data, undefined, undefined, undefined, context,
|
4274 |
+
{ Ctor: Ctor, propsData: propsData, listeners: listeners, tag: tag, children: children },
|
4275 |
+
asyncFactory
|
4276 |
+
);
|
4277 |
+
|
4278 |
+
// Weex specific: invoke recycle-list optimized @render function for
|
4279 |
+
// extracting cell-slot template.
|
4280 |
+
// https://github.com/Hanks10100/weex-native-directive/tree/master/component
|
4281 |
+
/* istanbul ignore if */
|
4282 |
+
return vnode
|
4283 |
+
}
|
4284 |
+
|
4285 |
+
function createComponentInstanceForVnode (
|
4286 |
+
vnode, // we know it's MountedComponentVNode but flow doesn't
|
4287 |
+
parent, // activeInstance in lifecycle state
|
4288 |
+
parentElm,
|
4289 |
+
refElm
|
4290 |
+
) {
|
4291 |
+
var options = {
|
4292 |
+
_isComponent: true,
|
4293 |
+
parent: parent,
|
4294 |
+
_parentVnode: vnode,
|
4295 |
+
_parentElm: parentElm || null,
|
4296 |
+
_refElm: refElm || null
|
4297 |
+
};
|
4298 |
+
// check inline-template render functions
|
4299 |
+
var inlineTemplate = vnode.data.inlineTemplate;
|
4300 |
+
if (isDef(inlineTemplate)) {
|
4301 |
+
options.render = inlineTemplate.render;
|
4302 |
+
options.staticRenderFns = inlineTemplate.staticRenderFns;
|
4303 |
+
}
|
4304 |
+
return new vnode.componentOptions.Ctor(options)
|
4305 |
+
}
|
4306 |
+
|
4307 |
+
function installComponentHooks (data) {
|
4308 |
+
var hooks = data.hook || (data.hook = {});
|
4309 |
+
for (var i = 0; i < hooksToMerge.length; i++) {
|
4310 |
+
var key = hooksToMerge[i];
|
4311 |
+
hooks[key] = componentVNodeHooks[key];
|
4312 |
+
}
|
4313 |
+
}
|
4314 |
+
|
4315 |
+
// transform component v-model info (value and callback) into
|
4316 |
+
// prop and event handler respectively.
|
4317 |
+
function transformModel (options, data) {
|
4318 |
+
var prop = (options.model && options.model.prop) || 'value';
|
4319 |
+
var event = (options.model && options.model.event) || 'input';(data.props || (data.props = {}))[prop] = data.model.value;
|
4320 |
+
var on = data.on || (data.on = {});
|
4321 |
+
if (isDef(on[event])) {
|
4322 |
+
on[event] = [data.model.callback].concat(on[event]);
|
4323 |
+
} else {
|
4324 |
+
on[event] = data.model.callback;
|
4325 |
+
}
|
4326 |
+
}
|
4327 |
+
|
4328 |
+
/* */
|
4329 |
+
|
4330 |
+
var SIMPLE_NORMALIZE = 1;
|
4331 |
+
var ALWAYS_NORMALIZE = 2;
|
4332 |
+
|
4333 |
+
// wrapper function for providing a more flexible interface
|
4334 |
+
// without getting yelled at by flow
|
4335 |
+
function createElement (
|
4336 |
+
context,
|
4337 |
+
tag,
|
4338 |
+
data,
|
4339 |
+
children,
|
4340 |
+
normalizationType,
|
4341 |
+
alwaysNormalize
|
4342 |
+
) {
|
4343 |
+
if (Array.isArray(data) || isPrimitive(data)) {
|
4344 |
+
normalizationType = children;
|
4345 |
+
children = data;
|
4346 |
+
data = undefined;
|
4347 |
+
}
|
4348 |
+
if (isTrue(alwaysNormalize)) {
|
4349 |
+
normalizationType = ALWAYS_NORMALIZE;
|
4350 |
+
}
|
4351 |
+
return _createElement(context, tag, data, children, normalizationType)
|
4352 |
+
}
|
4353 |
+
|
4354 |
+
function _createElement (
|
4355 |
+
context,
|
4356 |
+
tag,
|
4357 |
+
data,
|
4358 |
+
children,
|
4359 |
+
normalizationType
|
4360 |
+
) {
|
4361 |
+
if (isDef(data) && isDef((data).__ob__)) {
|
4362 |
+
"development" !== 'production' && warn(
|
4363 |
+
"Avoid using observed data object as vnode data: " + (JSON.stringify(data)) + "\n" +
|
4364 |
+
'Always create fresh vnode data objects in each render!',
|
4365 |
+
context
|
4366 |
+
);
|
4367 |
+
return createEmptyVNode()
|
4368 |
+
}
|
4369 |
+
// object syntax in v-bind
|
4370 |
+
if (isDef(data) && isDef(data.is)) {
|
4371 |
+
tag = data.is;
|
4372 |
+
}
|
4373 |
+
if (!tag) {
|
4374 |
+
// in case of component :is set to falsy value
|
4375 |
+
return createEmptyVNode()
|
4376 |
+
}
|
4377 |
+
// warn against non-primitive key
|
4378 |
+
if ("development" !== 'production' &&
|
4379 |
+
isDef(data) && isDef(data.key) && !isPrimitive(data.key)
|
4380 |
+
) {
|
4381 |
+
{
|
4382 |
+
warn(
|
4383 |
+
'Avoid using non-primitive value as key, ' +
|
4384 |
+
'use string/number value instead.',
|
4385 |
+
context
|
4386 |
+
);
|
4387 |
+
}
|
4388 |
+
}
|
4389 |
+
// support single function children as default scoped slot
|
4390 |
+
if (Array.isArray(children) &&
|
4391 |
+
typeof children[0] === 'function'
|
4392 |
+
) {
|
4393 |
+
data = data || {};
|
4394 |
+
data.scopedSlots = { default: children[0] };
|
4395 |
+
children.length = 0;
|
4396 |
+
}
|
4397 |
+
if (normalizationType === ALWAYS_NORMALIZE) {
|
4398 |
+
children = normalizeChildren(children);
|
4399 |
+
} else if (normalizationType === SIMPLE_NORMALIZE) {
|
4400 |
+
children = simpleNormalizeChildren(children);
|
4401 |
+
}
|
4402 |
+
var vnode, ns;
|
4403 |
+
if (typeof tag === 'string') {
|
4404 |
+
var Ctor;
|
4405 |
+
ns = (context.$vnode && context.$vnode.ns) || config.getTagNamespace(tag);
|
4406 |
+
if (config.isReservedTag(tag)) {
|
4407 |
+
// platform built-in elements
|
4408 |
+
vnode = new VNode(
|
4409 |
+
config.parsePlatformTagName(tag), data, children,
|
4410 |
+
undefined, undefined, context
|
4411 |
+
);
|
4412 |
+
} else if (isDef(Ctor = resolveAsset(context.$options, 'components', tag))) {
|
4413 |
+
// component
|
4414 |
+
vnode = createComponent(Ctor, data, context, children, tag);
|
4415 |
+
} else {
|
4416 |
+
// unknown or unlisted namespaced elements
|
4417 |
+
// check at runtime because it may get assigned a namespace when its
|
4418 |
+
// parent normalizes children
|
4419 |
+
vnode = new VNode(
|
4420 |
+
tag, data, children,
|
4421 |
+
undefined, undefined, context
|
4422 |
+
);
|
4423 |
+
}
|
4424 |
+
} else {
|
4425 |
+
// direct component options / constructor
|
4426 |
+
vnode = createComponent(tag, data, context, children);
|
4427 |
+
}
|
4428 |
+
if (Array.isArray(vnode)) {
|
4429 |
+
return vnode
|
4430 |
+
} else if (isDef(vnode)) {
|
4431 |
+
if (isDef(ns)) { applyNS(vnode, ns); }
|
4432 |
+
if (isDef(data)) { registerDeepBindings(data); }
|
4433 |
+
return vnode
|
4434 |
+
} else {
|
4435 |
+
return createEmptyVNode()
|
4436 |
+
}
|
4437 |
+
}
|
4438 |
+
|
4439 |
+
function applyNS (vnode, ns, force) {
|
4440 |
+
vnode.ns = ns;
|
4441 |
+
if (vnode.tag === 'foreignObject') {
|
4442 |
+
// use default namespace inside foreignObject
|
4443 |
+
ns = undefined;
|
4444 |
+
force = true;
|
4445 |
+
}
|
4446 |
+
if (isDef(vnode.children)) {
|
4447 |
+
for (var i = 0, l = vnode.children.length; i < l; i++) {
|
4448 |
+
var child = vnode.children[i];
|
4449 |
+
if (isDef(child.tag) && (
|
4450 |
+
isUndef(child.ns) || (isTrue(force) && child.tag !== 'svg'))) {
|
4451 |
+
applyNS(child, ns, force);
|
4452 |
+
}
|
4453 |
+
}
|
4454 |
+
}
|
4455 |
+
}
|
4456 |
+
|
4457 |
+
// ref #5318
|
4458 |
+
// necessary to ensure parent re-render when deep bindings like :style and
|
4459 |
+
// :class are used on slot nodes
|
4460 |
+
function registerDeepBindings (data) {
|
4461 |
+
if (isObject(data.style)) {
|
4462 |
+
traverse(data.style);
|
4463 |
+
}
|
4464 |
+
if (isObject(data.class)) {
|
4465 |
+
traverse(data.class);
|
4466 |
+
}
|
4467 |
+
}
|
4468 |
+
|
4469 |
+
/* */
|
4470 |
+
|
4471 |
+
function initRender (vm) {
|
4472 |
+
vm._vnode = null; // the root of the child tree
|
4473 |
+
vm._staticTrees = null; // v-once cached trees
|
4474 |
+
var options = vm.$options;
|
4475 |
+
var parentVnode = vm.$vnode = options._parentVnode; // the placeholder node in parent tree
|
4476 |
+
var renderContext = parentVnode && parentVnode.context;
|
4477 |
+
vm.$slots = resolveSlots(options._renderChildren, renderContext);
|
4478 |
+
vm.$scopedSlots = emptyObject;
|
4479 |
+
// bind the createElement fn to this instance
|
4480 |
+
// so that we get proper render context inside it.
|
4481 |
+
// args order: tag, data, children, normalizationType, alwaysNormalize
|
4482 |
+
// internal version is used by render functions compiled from templates
|
4483 |
+
vm._c = function (a, b, c, d) { return createElement(vm, a, b, c, d, false); };
|
4484 |
+
// normalization is always applied for the public version, used in
|
4485 |
+
// user-written render functions.
|
4486 |
+
vm.$createElement = function (a, b, c, d) { return createElement(vm, a, b, c, d, true); };
|
4487 |
+
|
4488 |
+
// $attrs & $listeners are exposed for easier HOC creation.
|
4489 |
+
// they need to be reactive so that HOCs using them are always updated
|
4490 |
+
var parentData = parentVnode && parentVnode.data;
|
4491 |
+
|
4492 |
+
/* istanbul ignore else */
|
4493 |
+
{
|
4494 |
+
defineReactive(vm, '$attrs', parentData && parentData.attrs || emptyObject, function () {
|
4495 |
+
!isUpdatingChildComponent && warn("$attrs is readonly.", vm);
|
4496 |
+
}, true);
|
4497 |
+
defineReactive(vm, '$listeners', options._parentListeners || emptyObject, function () {
|
4498 |
+
!isUpdatingChildComponent && warn("$listeners is readonly.", vm);
|
4499 |
+
}, true);
|
4500 |
+
}
|
4501 |
+
}
|
4502 |
+
|
4503 |
+
function renderMixin (Vue) {
|
4504 |
+
// install runtime convenience helpers
|
4505 |
+
installRenderHelpers(Vue.prototype);
|
4506 |
+
|
4507 |
+
Vue.prototype.$nextTick = function (fn) {
|
4508 |
+
return nextTick(fn, this)
|
4509 |
+
};
|
4510 |
+
|
4511 |
+
Vue.prototype._render = function () {
|
4512 |
+
var vm = this;
|
4513 |
+
var ref = vm.$options;
|
4514 |
+
var render = ref.render;
|
4515 |
+
var _parentVnode = ref._parentVnode;
|
4516 |
+
|
4517 |
+
// reset _rendered flag on slots for duplicate slot check
|
4518 |
+
{
|
4519 |
+
for (var key in vm.$slots) {
|
4520 |
+
// $flow-disable-line
|
4521 |
+
vm.$slots[key]._rendered = false;
|
4522 |
+
}
|
4523 |
+
}
|
4524 |
+
|
4525 |
+
if (_parentVnode) {
|
4526 |
+
vm.$scopedSlots = _parentVnode.data.scopedSlots || emptyObject;
|
4527 |
+
}
|
4528 |
+
|
4529 |
+
// set parent vnode. this allows render functions to have access
|
4530 |
+
// to the data on the placeholder node.
|
4531 |
+
vm.$vnode = _parentVnode;
|
4532 |
+
// render self
|
4533 |
+
var vnode;
|
4534 |
+
try {
|
4535 |
+
vnode = render.call(vm._renderProxy, vm.$createElement);
|
4536 |
+
} catch (e) {
|
4537 |
+
handleError(e, vm, "render");
|
4538 |
+
// return error render result,
|
4539 |
+
// or previous vnode to prevent render error causing blank component
|
4540 |
+
/* istanbul ignore else */
|
4541 |
+
{
|
4542 |
+
if (vm.$options.renderError) {
|
4543 |
+
try {
|
4544 |
+
vnode = vm.$options.renderError.call(vm._renderProxy, vm.$createElement, e);
|
4545 |
+
} catch (e) {
|
4546 |
+
handleError(e, vm, "renderError");
|
4547 |
+
vnode = vm._vnode;
|
4548 |
+
}
|
4549 |
+
} else {
|
4550 |
+
vnode = vm._vnode;
|
4551 |
+
}
|
4552 |
+
}
|
4553 |
+
}
|
4554 |
+
// return empty vnode in case the render function errored out
|
4555 |
+
if (!(vnode instanceof VNode)) {
|
4556 |
+
if ("development" !== 'production' && Array.isArray(vnode)) {
|
4557 |
+
warn(
|
4558 |
+
'Multiple root nodes returned from render function. Render function ' +
|
4559 |
+
'should return a single root node.',
|
4560 |
+
vm
|
4561 |
+
);
|
4562 |
+
}
|
4563 |
+
vnode = createEmptyVNode();
|
4564 |
+
}
|
4565 |
+
// set parent
|
4566 |
+
vnode.parent = _parentVnode;
|
4567 |
+
return vnode
|
4568 |
+
};
|
4569 |
+
}
|
4570 |
+
|
4571 |
+
/* */
|
4572 |
+
|
4573 |
+
var uid$3 = 0;
|
4574 |
+
|
4575 |
+
function initMixin (Vue) {
|
4576 |
+
Vue.prototype._init = function (options) {
|
4577 |
+
var vm = this;
|
4578 |
+
// a uid
|
4579 |
+
vm._uid = uid$3++;
|
4580 |
+
|
4581 |
+
var startTag, endTag;
|
4582 |
+
/* istanbul ignore if */
|
4583 |
+
if ("development" !== 'production' && config.performance && mark) {
|
4584 |
+
startTag = "vue-perf-start:" + (vm._uid);
|
4585 |
+
endTag = "vue-perf-end:" + (vm._uid);
|
4586 |
+
mark(startTag);
|
4587 |
+
}
|
4588 |
+
|
4589 |
+
// a flag to avoid this being observed
|
4590 |
+
vm._isVue = true;
|
4591 |
+
// merge options
|
4592 |
+
if (options && options._isComponent) {
|
4593 |
+
// optimize internal component instantiation
|
4594 |
+
// since dynamic options merging is pretty slow, and none of the
|
4595 |
+
// internal component options needs special treatment.
|
4596 |
+
initInternalComponent(vm, options);
|
4597 |
+
} else {
|
4598 |
+
vm.$options = mergeOptions(
|
4599 |
+
resolveConstructorOptions(vm.constructor),
|
4600 |
+
options || {},
|
4601 |
+
vm
|
4602 |
+
);
|
4603 |
+
}
|
4604 |
+
/* istanbul ignore else */
|
4605 |
+
{
|
4606 |
+
initProxy(vm);
|
4607 |
+
}
|
4608 |
+
// expose real self
|
4609 |
+
vm._self = vm;
|
4610 |
+
initLifecycle(vm);
|
4611 |
+
initEvents(vm);
|
4612 |
+
initRender(vm);
|
4613 |
+
callHook(vm, 'beforeCreate');
|
4614 |
+
initInjections(vm); // resolve injections before data/props
|
4615 |
+
initState(vm);
|
4616 |
+
initProvide(vm); // resolve provide after data/props
|
4617 |
+
callHook(vm, 'created');
|
4618 |
+
|
4619 |
+
/* istanbul ignore if */
|
4620 |
+
if ("development" !== 'production' && config.performance && mark) {
|
4621 |
+
vm._name = formatComponentName(vm, false);
|
4622 |
+
mark(endTag);
|
4623 |
+
measure(("vue " + (vm._name) + " init"), startTag, endTag);
|
4624 |
+
}
|
4625 |
+
|
4626 |
+
if (vm.$options.el) {
|
4627 |
+
vm.$mount(vm.$options.el);
|
4628 |
+
}
|
4629 |
+
};
|
4630 |
+
}
|
4631 |
+
|
4632 |
+
function initInternalComponent (vm, options) {
|
4633 |
+
var opts = vm.$options = Object.create(vm.constructor.options);
|
4634 |
+
// doing this because it's faster than dynamic enumeration.
|
4635 |
+
var parentVnode = options._parentVnode;
|
4636 |
+
opts.parent = options.parent;
|
4637 |
+
opts._parentVnode = parentVnode;
|
4638 |
+
opts._parentElm = options._parentElm;
|
4639 |
+
opts._refElm = options._refElm;
|
4640 |
+
|
4641 |
+
var vnodeComponentOptions = parentVnode.componentOptions;
|
4642 |
+
opts.propsData = vnodeComponentOptions.propsData;
|
4643 |
+
opts._parentListeners = vnodeComponentOptions.listeners;
|
4644 |
+
opts._renderChildren = vnodeComponentOptions.children;
|
4645 |
+
opts._componentTag = vnodeComponentOptions.tag;
|
4646 |
+
|
4647 |
+
if (options.render) {
|
4648 |
+
opts.render = options.render;
|
4649 |
+
opts.staticRenderFns = options.staticRenderFns;
|
4650 |
+
}
|
4651 |
+
}
|
4652 |
+
|
4653 |
+
function resolveConstructorOptions (Ctor) {
|
4654 |
+
var options = Ctor.options;
|
4655 |
+
if (Ctor.super) {
|
4656 |
+
var superOptions = resolveConstructorOptions(Ctor.super);
|
4657 |
+
var cachedSuperOptions = Ctor.superOptions;
|
4658 |
+
if (superOptions !== cachedSuperOptions) {
|
4659 |
+
// super option changed,
|
4660 |
+
// need to resolve new options.
|
4661 |
+
Ctor.superOptions = superOptions;
|
4662 |
+
// check if there are any late-modified/attached options (#4976)
|
4663 |
+
var modifiedOptions = resolveModifiedOptions(Ctor);
|
4664 |
+
// update base extend options
|
4665 |
+
if (modifiedOptions) {
|
4666 |
+
extend(Ctor.extendOptions, modifiedOptions);
|
4667 |
+
}
|
4668 |
+
options = Ctor.options = mergeOptions(superOptions, Ctor.extendOptions);
|
4669 |
+
if (options.name) {
|
4670 |
+
options.components[options.name] = Ctor;
|
4671 |
+
}
|
4672 |
+
}
|
4673 |
+
}
|
4674 |
+
return options
|
4675 |
+
}
|
4676 |
+
|
4677 |
+
function resolveModifiedOptions (Ctor) {
|
4678 |
+
var modified;
|
4679 |
+
var latest = Ctor.options;
|
4680 |
+
var extended = Ctor.extendOptions;
|
4681 |
+
var sealed = Ctor.sealedOptions;
|
4682 |
+
for (var key in latest) {
|
4683 |
+
if (latest[key] !== sealed[key]) {
|
4684 |
+
if (!modified) { modified = {}; }
|
4685 |
+
modified[key] = dedupe(latest[key], extended[key], sealed[key]);
|
4686 |
+
}
|
4687 |
+
}
|
4688 |
+
return modified
|
4689 |
+
}
|
4690 |
+
|
4691 |
+
function dedupe (latest, extended, sealed) {
|
4692 |
+
// compare latest and sealed to ensure lifecycle hooks won't be duplicated
|
4693 |
+
// between merges
|
4694 |
+
if (Array.isArray(latest)) {
|
4695 |
+
var res = [];
|
4696 |
+
sealed = Array.isArray(sealed) ? sealed : [sealed];
|
4697 |
+
extended = Array.isArray(extended) ? extended : [extended];
|
4698 |
+
for (var i = 0; i < latest.length; i++) {
|
4699 |
+
// push original options and not sealed options to exclude duplicated options
|
4700 |
+
if (extended.indexOf(latest[i]) >= 0 || sealed.indexOf(latest[i]) < 0) {
|
4701 |
+
res.push(latest[i]);
|
4702 |
+
}
|
4703 |
+
}
|
4704 |
+
return res
|
4705 |
+
} else {
|
4706 |
+
return latest
|
4707 |
+
}
|
4708 |
+
}
|
4709 |
+
|
4710 |
+
function Vue (options) {
|
4711 |
+
if ("development" !== 'production' &&
|
4712 |
+
!(this instanceof Vue)
|
4713 |
+
) {
|
4714 |
+
warn('Vue is a constructor and should be called with the `new` keyword');
|
4715 |
+
}
|
4716 |
+
this._init(options);
|
4717 |
+
}
|
4718 |
+
|
4719 |
+
initMixin(Vue);
|
4720 |
+
stateMixin(Vue);
|
4721 |
+
eventsMixin(Vue);
|
4722 |
+
lifecycleMixin(Vue);
|
4723 |
+
renderMixin(Vue);
|
4724 |
+
|
4725 |
+
/* */
|
4726 |
+
|
4727 |
+
function initUse (Vue) {
|
4728 |
+
Vue.use = function (plugin) {
|
4729 |
+
var installedPlugins = (this._installedPlugins || (this._installedPlugins = []));
|
4730 |
+
if (installedPlugins.indexOf(plugin) > -1) {
|
4731 |
+
return this
|
4732 |
+
}
|
4733 |
+
|
4734 |
+
// additional parameters
|
4735 |
+
var args = toArray(arguments, 1);
|
4736 |
+
args.unshift(this);
|
4737 |
+
if (typeof plugin.install === 'function') {
|
4738 |
+
plugin.install.apply(plugin, args);
|
4739 |
+
} else if (typeof plugin === 'function') {
|
4740 |
+
plugin.apply(null, args);
|
4741 |
+
}
|
4742 |
+
installedPlugins.push(plugin);
|
4743 |
+
return this
|
4744 |
+
};
|
4745 |
+
}
|
4746 |
+
|
4747 |
+
/* */
|
4748 |
+
|
4749 |
+
function initMixin$1 (Vue) {
|
4750 |
+
Vue.mixin = function (mixin) {
|
4751 |
+
this.options = mergeOptions(this.options, mixin);
|
4752 |
+
return this
|
4753 |
+
};
|
4754 |
+
}
|
4755 |
+
|
4756 |
+
/* */
|
4757 |
+
|
4758 |
+
function initExtend (Vue) {
|
4759 |
+
/**
|
4760 |
+
* Each instance constructor, including Vue, has a unique
|
4761 |
+
* cid. This enables us to create wrapped "child
|
4762 |
+
* constructors" for prototypal inheritance and cache them.
|
4763 |
+
*/
|
4764 |
+
Vue.cid = 0;
|
4765 |
+
var cid = 1;
|
4766 |
+
|
4767 |
+
/**
|
4768 |
+
* Class inheritance
|
4769 |
+
*/
|
4770 |
+
Vue.extend = function (extendOptions) {
|
4771 |
+
extendOptions = extendOptions || {};
|
4772 |
+
var Super = this;
|
4773 |
+
var SuperId = Super.cid;
|
4774 |
+
var cachedCtors = extendOptions._Ctor || (extendOptions._Ctor = {});
|
4775 |
+
if (cachedCtors[SuperId]) {
|
4776 |
+
return cachedCtors[SuperId]
|
4777 |
+
}
|
4778 |
+
|
4779 |
+
var name = extendOptions.name || Super.options.name;
|
4780 |
+
if ("development" !== 'production' && name) {
|
4781 |
+
validateComponentName(name);
|
4782 |
+
}
|
4783 |
+
|
4784 |
+
var Sub = function VueComponent (options) {
|
4785 |
+
this._init(options);
|
4786 |
+
};
|
4787 |
+
Sub.prototype = Object.create(Super.prototype);
|
4788 |
+
Sub.prototype.constructor = Sub;
|
4789 |
+
Sub.cid = cid++;
|
4790 |
+
Sub.options = mergeOptions(
|
4791 |
+
Super.options,
|
4792 |
+
extendOptions
|
4793 |
+
);
|
4794 |
+
Sub['super'] = Super;
|
4795 |
+
|
4796 |
+
// For props and computed properties, we define the proxy getters on
|
4797 |
+
// the Vue instances at extension time, on the extended prototype. This
|
4798 |
+
// avoids Object.defineProperty calls for each instance created.
|
4799 |
+
if (Sub.options.props) {
|
4800 |
+
initProps$1(Sub);
|
4801 |
+
}
|
4802 |
+
if (Sub.options.computed) {
|
4803 |
+
initComputed$1(Sub);
|
4804 |
+
}
|
4805 |
+
|
4806 |
+
// allow further extension/mixin/plugin usage
|
4807 |
+
Sub.extend = Super.extend;
|
4808 |
+
Sub.mixin = Super.mixin;
|
4809 |
+
Sub.use = Super.use;
|
4810 |
+
|
4811 |
+
// create asset registers, so extended classes
|
4812 |
+
// can have their private assets too.
|
4813 |
+
ASSET_TYPES.forEach(function (type) {
|
4814 |
+
Sub[type] = Super[type];
|
4815 |
+
});
|
4816 |
+
// enable recursive self-lookup
|
4817 |
+
if (name) {
|
4818 |
+
Sub.options.components[name] = Sub;
|
4819 |
+
}
|
4820 |
+
|
4821 |
+
// keep a reference to the super options at extension time.
|
4822 |
+
// later at instantiation we can check if Super's options have
|
4823 |
+
// been updated.
|
4824 |
+
Sub.superOptions = Super.options;
|
4825 |
+
Sub.extendOptions = extendOptions;
|
4826 |
+
Sub.sealedOptions = extend({}, Sub.options);
|
4827 |
+
|
4828 |
+
// cache constructor
|
4829 |
+
cachedCtors[SuperId] = Sub;
|
4830 |
+
return Sub
|
4831 |
+
};
|
4832 |
+
}
|
4833 |
+
|
4834 |
+
function initProps$1 (Comp) {
|
4835 |
+
var props = Comp.options.props;
|
4836 |
+
for (var key in props) {
|
4837 |
+
proxy(Comp.prototype, "_props", key);
|
4838 |
+
}
|
4839 |
+
}
|
4840 |
+
|
4841 |
+
function initComputed$1 (Comp) {
|
4842 |
+
var computed = Comp.options.computed;
|
4843 |
+
for (var key in computed) {
|
4844 |
+
defineComputed(Comp.prototype, key, computed[key]);
|
4845 |
+
}
|
4846 |
+
}
|
4847 |
+
|
4848 |
+
/* */
|
4849 |
+
|
4850 |
+
function initAssetRegisters (Vue) {
|
4851 |
+
/**
|
4852 |
+
* Create asset registration methods.
|
4853 |
+
*/
|
4854 |
+
ASSET_TYPES.forEach(function (type) {
|
4855 |
+
Vue[type] = function (
|
4856 |
+
id,
|
4857 |
+
definition
|
4858 |
+
) {
|
4859 |
+
if (!definition) {
|
4860 |
+
return this.options[type + 's'][id]
|
4861 |
+
} else {
|
4862 |
+
/* istanbul ignore if */
|
4863 |
+
if ("development" !== 'production' && type === 'component') {
|
4864 |
+
validateComponentName(id);
|
4865 |
+
}
|
4866 |
+
if (type === 'component' && isPlainObject(definition)) {
|
4867 |
+
definition.name = definition.name || id;
|
4868 |
+
definition = this.options._base.extend(definition);
|
4869 |
+
}
|
4870 |
+
if (type === 'directive' && typeof definition === 'function') {
|
4871 |
+
definition = { bind: definition, update: definition };
|
4872 |
+
}
|
4873 |
+
this.options[type + 's'][id] = definition;
|
4874 |
+
return definition
|
4875 |
+
}
|
4876 |
+
};
|
4877 |
+
});
|
4878 |
+
}
|
4879 |
+
|
4880 |
+
/* */
|
4881 |
+
|
4882 |
+
function getComponentName (opts) {
|
4883 |
+
return opts && (opts.Ctor.options.name || opts.tag)
|
4884 |
+
}
|
4885 |
+
|
4886 |
+
function matches (pattern, name) {
|
4887 |
+
if (Array.isArray(pattern)) {
|
4888 |
+
return pattern.indexOf(name) > -1
|
4889 |
+
} else if (typeof pattern === 'string') {
|
4890 |
+
return pattern.split(',').indexOf(name) > -1
|
4891 |
+
} else if (isRegExp(pattern)) {
|
4892 |
+
return pattern.test(name)
|
4893 |
+
}
|
4894 |
+
/* istanbul ignore next */
|
4895 |
+
return false
|
4896 |
+
}
|
4897 |
+
|
4898 |
+
function pruneCache (keepAliveInstance, filter) {
|
4899 |
+
var cache = keepAliveInstance.cache;
|
4900 |
+
var keys = keepAliveInstance.keys;
|
4901 |
+
var _vnode = keepAliveInstance._vnode;
|
4902 |
+
for (var key in cache) {
|
4903 |
+
var cachedNode = cache[key];
|
4904 |
+
if (cachedNode) {
|
4905 |
+
var name = getComponentName(cachedNode.componentOptions);
|
4906 |
+
if (name && !filter(name)) {
|
4907 |
+
pruneCacheEntry(cache, key, keys, _vnode);
|
4908 |
+
}
|
4909 |
+
}
|
4910 |
+
}
|
4911 |
+
}
|
4912 |
+
|
4913 |
+
function pruneCacheEntry (
|
4914 |
+
cache,
|
4915 |
+
key,
|
4916 |
+
keys,
|
4917 |
+
current
|
4918 |
+
) {
|
4919 |
+
var cached$$1 = cache[key];
|
4920 |
+
if (cached$$1 && (!current || cached$$1.tag !== current.tag)) {
|
4921 |
+
cached$$1.componentInstance.$destroy();
|
4922 |
+
}
|
4923 |
+
cache[key] = null;
|
4924 |
+
remove(keys, key);
|
4925 |
+
}
|
4926 |
+
|
4927 |
+
var patternTypes = [String, RegExp, Array];
|
4928 |
+
|
4929 |
+
var KeepAlive = {
|
4930 |
+
name: 'keep-alive',
|
4931 |
+
abstract: true,
|
4932 |
+
|
4933 |
+
props: {
|
4934 |
+
include: patternTypes,
|
4935 |
+
exclude: patternTypes,
|
4936 |
+
max: [String, Number]
|
4937 |
+
},
|
4938 |
+
|
4939 |
+
created: function created () {
|
4940 |
+
this.cache = Object.create(null);
|
4941 |
+
this.keys = [];
|
4942 |
+
},
|
4943 |
+
|
4944 |
+
destroyed: function destroyed () {
|
4945 |
+
var this$1 = this;
|
4946 |
+
|
4947 |
+
for (var key in this$1.cache) {
|
4948 |
+
pruneCacheEntry(this$1.cache, key, this$1.keys);
|
4949 |
+
}
|
4950 |
+
},
|
4951 |
+
|
4952 |
+
mounted: function mounted () {
|
4953 |
+
var this$1 = this;
|
4954 |
+
|
4955 |
+
this.$watch('include', function (val) {
|
4956 |
+
pruneCache(this$1, function (name) { return matches(val, name); });
|
4957 |
+
});
|
4958 |
+
this.$watch('exclude', function (val) {
|
4959 |
+
pruneCache(this$1, function (name) { return !matches(val, name); });
|
4960 |
+
});
|
4961 |
+
},
|
4962 |
+
|
4963 |
+
render: function render () {
|
4964 |
+
var slot = this.$slots.default;
|
4965 |
+
var vnode = getFirstComponentChild(slot);
|
4966 |
+
var componentOptions = vnode && vnode.componentOptions;
|
4967 |
+
if (componentOptions) {
|
4968 |
+
// check pattern
|
4969 |
+
var name = getComponentName(componentOptions);
|
4970 |
+
var ref = this;
|
4971 |
+
var include = ref.include;
|
4972 |
+
var exclude = ref.exclude;
|
4973 |
+
if (
|
4974 |
+
// not included
|
4975 |
+
(include && (!name || !matches(include, name))) ||
|
4976 |
+
// excluded
|
4977 |
+
(exclude && name && matches(exclude, name))
|
4978 |
+
) {
|
4979 |
+
return vnode
|
4980 |
+
}
|
4981 |
+
|
4982 |
+
var ref$1 = this;
|
4983 |
+
var cache = ref$1.cache;
|
4984 |
+
var keys = ref$1.keys;
|
4985 |
+
var key = vnode.key == null
|
4986 |
+
// same constructor may get registered as different local components
|
4987 |
+
// so cid alone is not enough (#3269)
|
4988 |
+
? componentOptions.Ctor.cid + (componentOptions.tag ? ("::" + (componentOptions.tag)) : '')
|
4989 |
+
: vnode.key;
|
4990 |
+
if (cache[key]) {
|
4991 |
+
vnode.componentInstance = cache[key].componentInstance;
|
4992 |
+
// make current key freshest
|
4993 |
+
remove(keys, key);
|
4994 |
+
keys.push(key);
|
4995 |
+
} else {
|
4996 |
+
cache[key] = vnode;
|
4997 |
+
keys.push(key);
|
4998 |
+
// prune oldest entry
|
4999 |
+
if (this.max && keys.length > parseInt(this.max)) {
|
5000 |
+
pruneCacheEntry(cache, keys[0], keys, this._vnode);
|
5001 |
+
}
|
5002 |
+
}
|
5003 |
+
|
5004 |
+
vnode.data.keepAlive = true;
|
5005 |
+
}
|
5006 |
+
return vnode || (slot && slot[0])
|
5007 |
+
}
|
5008 |
+
}
|
5009 |
+
|
5010 |
+
var builtInComponents = {
|
5011 |
+
KeepAlive: KeepAlive
|
5012 |
+
}
|
5013 |
+
|
5014 |
+
/* */
|
5015 |
+
|
5016 |
+
function initGlobalAPI (Vue) {
|
5017 |
+
// config
|
5018 |
+
var configDef = {};
|
5019 |
+
configDef.get = function () { return config; };
|
5020 |
+
{
|
5021 |
+
configDef.set = function () {
|
5022 |
+
warn(
|
5023 |
+
'Do not replace the Vue.config object, set individual fields instead.'
|
5024 |
+
);
|
5025 |
+
};
|
5026 |
+
}
|
5027 |
+
Object.defineProperty(Vue, 'config', configDef);
|
5028 |
+
|
5029 |
+
// exposed util methods.
|
5030 |
+
// NOTE: these are not considered part of the public API - avoid relying on
|
5031 |
+
// them unless you are aware of the risk.
|
5032 |
+
Vue.util = {
|
5033 |
+
warn: warn,
|
5034 |
+
extend: extend,
|
5035 |
+
mergeOptions: mergeOptions,
|
5036 |
+
defineReactive: defineReactive
|
5037 |
+
};
|
5038 |
+
|
5039 |
+
Vue.set = set;
|
5040 |
+
Vue.delete = del;
|
5041 |
+
Vue.nextTick = nextTick;
|
5042 |
+
|
5043 |
+
Vue.options = Object.create(null);
|
5044 |
+
ASSET_TYPES.forEach(function (type) {
|
5045 |
+
Vue.options[type + 's'] = Object.create(null);
|
5046 |
+
});
|
5047 |
+
|
5048 |
+
// this is used to identify the "base" constructor to extend all plain-object
|
5049 |
+
// components with in Weex's multi-instance scenarios.
|
5050 |
+
Vue.options._base = Vue;
|
5051 |
+
|
5052 |
+
extend(Vue.options.components, builtInComponents);
|
5053 |
+
|
5054 |
+
initUse(Vue);
|
5055 |
+
initMixin$1(Vue);
|
5056 |
+
initExtend(Vue);
|
5057 |
+
initAssetRegisters(Vue);
|
5058 |
+
}
|
5059 |
+
|
5060 |
+
initGlobalAPI(Vue);
|
5061 |
+
|
5062 |
+
Object.defineProperty(Vue.prototype, '$isServer', {
|
5063 |
+
get: isServerRendering
|
5064 |
+
});
|
5065 |
+
|
5066 |
+
Object.defineProperty(Vue.prototype, '$ssrContext', {
|
5067 |
+
get: function get () {
|
5068 |
+
/* istanbul ignore next */
|
5069 |
+
return this.$vnode && this.$vnode.ssrContext
|
5070 |
+
}
|
5071 |
+
});
|
5072 |
+
|
5073 |
+
// expose FunctionalRenderContext for ssr runtime helper installation
|
5074 |
+
Object.defineProperty(Vue, 'FunctionalRenderContext', {
|
5075 |
+
value: FunctionalRenderContext
|
5076 |
+
});
|
5077 |
+
|
5078 |
+
Vue.version = '2.5.16';
|
5079 |
+
|
5080 |
+
/* */
|
5081 |
+
|
5082 |
+
// these are reserved for web because they are directly compiled away
|
5083 |
+
// during template compilation
|
5084 |
+
var isReservedAttr = makeMap('style,class');
|
5085 |
+
|
5086 |
+
// attributes that should be using props for binding
|
5087 |
+
var acceptValue = makeMap('input,textarea,option,select,progress');
|
5088 |
+
var mustUseProp = function (tag, type, attr) {
|
5089 |
+
return (
|
5090 |
+
(attr === 'value' && acceptValue(tag)) && type !== 'button' ||
|
5091 |
+
(attr === 'selected' && tag === 'option') ||
|
5092 |
+
(attr === 'checked' && tag === 'input') ||
|
5093 |
+
(attr === 'muted' && tag === 'video')
|
5094 |
+
)
|
5095 |
+
};
|
5096 |
+
|
5097 |
+
var isEnumeratedAttr = makeMap('contenteditable,draggable,spellcheck');
|
5098 |
+
|
5099 |
+
var isBooleanAttr = makeMap(
|
5100 |
+
'allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,' +
|
5101 |
+
'default,defaultchecked,defaultmuted,defaultselected,defer,disabled,' +
|
5102 |
+
'enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,' +
|
5103 |
+
'muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,' +
|
5104 |
+
'required,reversed,scoped,seamless,selected,sortable,translate,' +
|
5105 |
+
'truespeed,typemustmatch,visible'
|
5106 |
+
);
|
5107 |
+
|
5108 |
+
var xlinkNS = 'http://www.w3.org/1999/xlink';
|
5109 |
+
|
5110 |
+
var isXlink = function (name) {
|
5111 |
+
return name.charAt(5) === ':' && name.slice(0, 5) === 'xlink'
|
5112 |
+
};
|
5113 |
+
|
5114 |
+
var getXlinkProp = function (name) {
|
5115 |
+
return isXlink(name) ? name.slice(6, name.length) : ''
|
5116 |
+
};
|
5117 |
+
|
5118 |
+
var isFalsyAttrValue = function (val) {
|
5119 |
+
return val == null || val === false
|
5120 |
+
};
|
5121 |
+
|
5122 |
+
/* */
|
5123 |
+
|
5124 |
+
function genClassForVnode (vnode) {
|
5125 |
+
var data = vnode.data;
|
5126 |
+
var parentNode = vnode;
|
5127 |
+
var childNode = vnode;
|
5128 |
+
while (isDef(childNode.componentInstance)) {
|
5129 |
+
childNode = childNode.componentInstance._vnode;
|
5130 |
+
if (childNode && childNode.data) {
|
5131 |
+
data = mergeClassData(childNode.data, data);
|
5132 |
+
}
|
5133 |
+
}
|
5134 |
+
while (isDef(parentNode = parentNode.parent)) {
|
5135 |
+
if (parentNode && parentNode.data) {
|
5136 |
+
data = mergeClassData(data, parentNode.data);
|
5137 |
+
}
|
5138 |
+
}
|
5139 |
+
return renderClass(data.staticClass, data.class)
|
5140 |
+
}
|
5141 |
+
|
5142 |
+
function mergeClassData (child, parent) {
|
5143 |
+
return {
|
5144 |
+
staticClass: concat(child.staticClass, parent.staticClass),
|
5145 |
+
class: isDef(child.class)
|
5146 |
+
? [child.class, parent.class]
|
5147 |
+
: parent.class
|
5148 |
+
}
|
5149 |
+
}
|
5150 |
+
|
5151 |
+
function renderClass (
|
5152 |
+
staticClass,
|
5153 |
+
dynamicClass
|
5154 |
+
) {
|
5155 |
+
if (isDef(staticClass) || isDef(dynamicClass)) {
|
5156 |
+
return concat(staticClass, stringifyClass(dynamicClass))
|
5157 |
+
}
|
5158 |
+
/* istanbul ignore next */
|
5159 |
+
return ''
|
5160 |
+
}
|
5161 |
+
|
5162 |
+
function concat (a, b) {
|
5163 |
+
return a ? b ? (a + ' ' + b) : a : (b || '')
|
5164 |
+
}
|
5165 |
+
|
5166 |
+
function stringifyClass (value) {
|
5167 |
+
if (Array.isArray(value)) {
|
5168 |
+
return stringifyArray(value)
|
5169 |
+
}
|
5170 |
+
if (isObject(value)) {
|
5171 |
+
return stringifyObject(value)
|
5172 |
+
}
|
5173 |
+
if (typeof value === 'string') {
|
5174 |
+
return value
|
5175 |
+
}
|
5176 |
+
/* istanbul ignore next */
|
5177 |
+
return ''
|
5178 |
+
}
|
5179 |
+
|
5180 |
+
function stringifyArray (value) {
|
5181 |
+
var res = '';
|
5182 |
+
var stringified;
|
5183 |
+
for (var i = 0, l = value.length; i < l; i++) {
|
5184 |
+
if (isDef(stringified = stringifyClass(value[i])) && stringified !== '') {
|
5185 |
+
if (res) { res += ' '; }
|
5186 |
+
res += stringified;
|
5187 |
+
}
|
5188 |
+
}
|
5189 |
+
return res
|
5190 |
+
}
|
5191 |
+
|
5192 |
+
function stringifyObject (value) {
|
5193 |
+
var res = '';
|
5194 |
+
for (var key in value) {
|
5195 |
+
if (value[key]) {
|
5196 |
+
if (res) { res += ' '; }
|
5197 |
+
res += key;
|
5198 |
+
}
|
5199 |
+
}
|
5200 |
+
return res
|
5201 |
+
}
|
5202 |
+
|
5203 |
+
/* */
|
5204 |
+
|
5205 |
+
var namespaceMap = {
|
5206 |
+
svg: 'http://www.w3.org/2000/svg',
|
5207 |
+
math: 'http://www.w3.org/1998/Math/MathML'
|
5208 |
+
};
|
5209 |
+
|
5210 |
+
var isHTMLTag = makeMap(
|
5211 |
+
'html,body,base,head,link,meta,style,title,' +
|
5212 |
+
'address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,' +
|
5213 |
+
'div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,' +
|
5214 |
+
'a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,' +
|
5215 |
+
's,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,' +
|
5216 |
+
'embed,object,param,source,canvas,script,noscript,del,ins,' +
|
5217 |
+
'caption,col,colgroup,table,thead,tbody,td,th,tr,' +
|
5218 |
+
'button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,' +
|
5219 |
+
'output,progress,select,textarea,' +
|
5220 |
+
'details,dialog,menu,menuitem,summary,' +
|
5221 |
+
'content,element,shadow,template,blockquote,iframe,tfoot'
|
5222 |
+
);
|
5223 |
+
|
5224 |
+
// this map is intentionally selective, only covering SVG elements that may
|
5225 |
+
// contain child elements.
|
5226 |
+
var isSVG = makeMap(
|
5227 |
+
'svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,' +
|
5228 |
+
'foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,' +
|
5229 |
+
'polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view',
|
5230 |
+
true
|
5231 |
+
);
|
5232 |
+
|
5233 |
+
var isPreTag = function (tag) { return tag === 'pre'; };
|
5234 |
+
|
5235 |
+
var isReservedTag = function (tag) {
|
5236 |
+
return isHTMLTag(tag) || isSVG(tag)
|
5237 |
+
};
|
5238 |
+
|
5239 |
+
function getTagNamespace (tag) {
|
5240 |
+
if (isSVG(tag)) {
|
5241 |
+
return 'svg'
|
5242 |
+
}
|
5243 |
+
// basic support for MathML
|
5244 |
+
// note it doesn't support other MathML elements being component roots
|
5245 |
+
if (tag === 'math') {
|
5246 |
+
return 'math'
|
5247 |
+
}
|
5248 |
+
}
|
5249 |
+
|
5250 |
+
var unknownElementCache = Object.create(null);
|
5251 |
+
function isUnknownElement (tag) {
|
5252 |
+
/* istanbul ignore if */
|
5253 |
+
if (!inBrowser) {
|
5254 |
+
return true
|
5255 |
+
}
|
5256 |
+
if (isReservedTag(tag)) {
|
5257 |
+
return false
|
5258 |
+
}
|
5259 |
+
tag = tag.toLowerCase();
|
5260 |
+
/* istanbul ignore if */
|
5261 |
+
if (unknownElementCache[tag] != null) {
|
5262 |
+
return unknownElementCache[tag]
|
5263 |
+
}
|
5264 |
+
var el = document.createElement(tag);
|
5265 |
+
if (tag.indexOf('-') > -1) {
|
5266 |
+
// http://stackoverflow.com/a/28210364/1070244
|
5267 |
+
return (unknownElementCache[tag] = (
|
5268 |
+
el.constructor === window.HTMLUnknownElement ||
|
5269 |
+
el.constructor === window.HTMLElement
|
5270 |
+
))
|
5271 |
+
} else {
|
5272 |
+
return (unknownElementCache[tag] = /HTMLUnknownElement/.test(el.toString()))
|
5273 |
+
}
|
5274 |
+
}
|
5275 |
+
|
5276 |
+
var isTextInputType = makeMap('text,number,password,search,email,tel,url');
|
5277 |
+
|
5278 |
+
/* */
|
5279 |
+
|
5280 |
+
/**
|
5281 |
+
* Query an element selector if it's not an element already.
|
5282 |
+
*/
|
5283 |
+
function query (el) {
|
5284 |
+
if (typeof el === 'string') {
|
5285 |
+
var selected = document.querySelector(el);
|
5286 |
+
if (!selected) {
|
5287 |
+
"development" !== 'production' && warn(
|
5288 |
+
'Cannot find element: ' + el
|
5289 |
+
);
|
5290 |
+
return document.createElement('div')
|
5291 |
+
}
|
5292 |
+
return selected
|
5293 |
+
} else {
|
5294 |
+
return el
|
5295 |
+
}
|
5296 |
+
}
|
5297 |
+
|
5298 |
+
/* */
|
5299 |
+
|
5300 |
+
function createElement$1 (tagName, vnode) {
|
5301 |
+
var elm = document.createElement(tagName);
|
5302 |
+
if (tagName !== 'select') {
|
5303 |
+
return elm
|
5304 |
+
}
|
5305 |
+
// false or null will remove the attribute but undefined will not
|
5306 |
+
if (vnode.data && vnode.data.attrs && vnode.data.attrs.multiple !== undefined) {
|
5307 |
+
elm.setAttribute('multiple', 'multiple');
|
5308 |
+
}
|
5309 |
+
return elm
|
5310 |
+
}
|
5311 |
+
|
5312 |
+
function createElementNS (namespace, tagName) {
|
5313 |
+
return document.createElementNS(namespaceMap[namespace], tagName)
|
5314 |
+
}
|
5315 |
+
|
5316 |
+
function createTextNode (text) {
|
5317 |
+
return document.createTextNode(text)
|
5318 |
+
}
|
5319 |
+
|
5320 |
+
function createComment (text) {
|
5321 |
+
return document.createComment(text)
|
5322 |
+
}
|
5323 |
+
|
5324 |
+
function insertBefore (parentNode, newNode, referenceNode) {
|
5325 |
+
parentNode.insertBefore(newNode, referenceNode);
|
5326 |
+
}
|
5327 |
+
|
5328 |
+
function removeChild (node, child) {
|
5329 |
+
node.removeChild(child);
|
5330 |
+
}
|
5331 |
+
|
5332 |
+
function appendChild (node, child) {
|
5333 |
+
node.appendChild(child);
|
5334 |
+
}
|
5335 |
+
|
5336 |
+
function parentNode (node) {
|
5337 |
+
return node.parentNode
|
5338 |
+
}
|
5339 |
+
|
5340 |
+
function nextSibling (node) {
|
5341 |
+
return node.nextSibling
|
5342 |
+
}
|
5343 |
+
|
5344 |
+
function tagName (node) {
|
5345 |
+
return node.tagName
|
5346 |
+
}
|
5347 |
+
|
5348 |
+
function setTextContent (node, text) {
|
5349 |
+
node.textContent = text;
|
5350 |
+
}
|
5351 |
+
|
5352 |
+
function setStyleScope (node, scopeId) {
|
5353 |
+
node.setAttribute(scopeId, '');
|
5354 |
+
}
|
5355 |
+
|
5356 |
+
|
5357 |
+
var nodeOps = Object.freeze({
|
5358 |
+
createElement: createElement$1,
|
5359 |
+
createElementNS: createElementNS,
|
5360 |
+
createTextNode: createTextNode,
|
5361 |
+
createComment: createComment,
|
5362 |
+
insertBefore: insertBefore,
|
5363 |
+
removeChild: removeChild,
|
5364 |
+
appendChild: appendChild,
|
5365 |
+
parentNode: parentNode,
|
5366 |
+
nextSibling: nextSibling,
|
5367 |
+
tagName: tagName,
|
5368 |
+
setTextContent: setTextContent,
|
5369 |
+
setStyleScope: setStyleScope
|
5370 |
+
});
|
5371 |
+
|
5372 |
+
/* */
|
5373 |
+
|
5374 |
+
var ref = {
|
5375 |
+
create: function create (_, vnode) {
|
5376 |
+
registerRef(vnode);
|
5377 |
+
},
|
5378 |
+
update: function update (oldVnode, vnode) {
|
5379 |
+
if (oldVnode.data.ref !== vnode.data.ref) {
|
5380 |
+
registerRef(oldVnode, true);
|
5381 |
+
registerRef(vnode);
|
5382 |
+
}
|
5383 |
+
},
|
5384 |
+
destroy: function destroy (vnode) {
|
5385 |
+
registerRef(vnode, true);
|
5386 |
+
}
|
5387 |
+
}
|
5388 |
+
|
5389 |
+
function registerRef (vnode, isRemoval) {
|
5390 |
+
var key = vnode.data.ref;
|
5391 |
+
if (!isDef(key)) { return }
|
5392 |
+
|
5393 |
+
var vm = vnode.context;
|
5394 |
+
var ref = vnode.componentInstance || vnode.elm;
|
5395 |
+
var refs = vm.$refs;
|
5396 |
+
if (isRemoval) {
|
5397 |
+
if (Array.isArray(refs[key])) {
|
5398 |
+
remove(refs[key], ref);
|
5399 |
+
} else if (refs[key] === ref) {
|
5400 |
+
refs[key] = undefined;
|
5401 |
+
}
|
5402 |
+
} else {
|
5403 |
+
if (vnode.data.refInFor) {
|
5404 |
+
if (!Array.isArray(refs[key])) {
|
5405 |
+
refs[key] = [ref];
|
5406 |
+
} else if (refs[key].indexOf(ref) < 0) {
|
5407 |
+
// $flow-disable-line
|
5408 |
+
refs[key].push(ref);
|
5409 |
+
}
|
5410 |
+
} else {
|
5411 |
+
refs[key] = ref;
|
5412 |
+
}
|
5413 |
+
}
|
5414 |
+
}
|
5415 |
+
|
5416 |
+
/**
|
5417 |
+
* Virtual DOM patching algorithm based on Snabbdom by
|
5418 |
+
* Simon Friis Vindum (@paldepind)
|
5419 |
+
* Licensed under the MIT License
|
5420 |
+
* https://github.com/paldepind/snabbdom/blob/master/LICENSE
|
5421 |
+
*
|
5422 |
+
* modified by Evan You (@yyx990803)
|
5423 |
+
*
|
5424 |
+
* Not type-checking this because this file is perf-critical and the cost
|
5425 |
+
* of making flow understand it is not worth it.
|
5426 |
+
*/
|
5427 |
+
|
5428 |
+
var emptyNode = new VNode('', {}, []);
|
5429 |
+
|
5430 |
+
var hooks = ['create', 'activate', 'update', 'remove', 'destroy'];
|
5431 |
+
|
5432 |
+
function sameVnode (a, b) {
|
5433 |
+
return (
|
5434 |
+
a.key === b.key && (
|
5435 |
+
(
|
5436 |
+
a.tag === b.tag &&
|
5437 |
+
a.isComment === b.isComment &&
|
5438 |
+
isDef(a.data) === isDef(b.data) &&
|
5439 |
+
sameInputType(a, b)
|
5440 |
+
) || (
|
5441 |
+
isTrue(a.isAsyncPlaceholder) &&
|
5442 |
+
a.asyncFactory === b.asyncFactory &&
|
5443 |
+
isUndef(b.asyncFactory.error)
|
5444 |
+
)
|
5445 |
+
)
|
5446 |
+
)
|
5447 |
+
}
|
5448 |
+
|
5449 |
+
function sameInputType (a, b) {
|
5450 |
+
if (a.tag !== 'input') { return true }
|
5451 |
+
var i;
|
5452 |
+
var typeA = isDef(i = a.data) && isDef(i = i.attrs) && i.type;
|
5453 |
+
var typeB = isDef(i = b.data) && isDef(i = i.attrs) && i.type;
|
5454 |
+
return typeA === typeB || isTextInputType(typeA) && isTextInputType(typeB)
|
5455 |
+
}
|
5456 |
+
|
5457 |
+
function createKeyToOldIdx (children, beginIdx, endIdx) {
|
5458 |
+
var i, key;
|
5459 |
+
var map = {};
|
5460 |
+
for (i = beginIdx; i <= endIdx; ++i) {
|
5461 |
+
key = children[i].key;
|
5462 |
+
if (isDef(key)) { map[key] = i; }
|
5463 |
+
}
|
5464 |
+
return map
|
5465 |
+
}
|
5466 |
+
|
5467 |
+
function createPatchFunction (backend) {
|
5468 |
+
var i, j;
|
5469 |
+
var cbs = {};
|
5470 |
+
|
5471 |
+
var modules = backend.modules;
|
5472 |
+
var nodeOps = backend.nodeOps;
|
5473 |
+
|
5474 |
+
for (i = 0; i < hooks.length; ++i) {
|
5475 |
+
cbs[hooks[i]] = [];
|
5476 |
+
for (j = 0; j < modules.length; ++j) {
|
5477 |
+
if (isDef(modules[j][hooks[i]])) {
|
5478 |
+
cbs[hooks[i]].push(modules[j][hooks[i]]);
|
5479 |
+
}
|
5480 |
+
}
|
5481 |
+
}
|
5482 |
+
|
5483 |
+
function emptyNodeAt (elm) {
|
5484 |
+
return new VNode(nodeOps.tagName(elm).toLowerCase(), {}, [], undefined, elm)
|
5485 |
+
}
|
5486 |
+
|
5487 |
+
function createRmCb (childElm, listeners) {
|
5488 |
+
function remove () {
|
5489 |
+
if (--remove.listeners === 0) {
|
5490 |
+
removeNode(childElm);
|
5491 |
+
}
|
5492 |
+
}
|
5493 |
+
remove.listeners = listeners;
|
5494 |
+
return remove
|
5495 |
+
}
|
5496 |
+
|
5497 |
+
function removeNode (el) {
|
5498 |
+
var parent = nodeOps.parentNode(el);
|
5499 |
+
// element may have already been removed due to v-html / v-text
|
5500 |
+
if (isDef(parent)) {
|
5501 |
+
nodeOps.removeChild(parent, el);
|
5502 |
+
}
|
5503 |
+
}
|
5504 |
+
|
5505 |
+
function isUnknownElement$$1 (vnode, inVPre) {
|
5506 |
+
return (
|
5507 |
+
!inVPre &&
|
5508 |
+
!vnode.ns &&
|
5509 |
+
!(
|
5510 |
+
config.ignoredElements.length &&
|
5511 |
+
config.ignoredElements.some(function (ignore) {
|
5512 |
+
return isRegExp(ignore)
|
5513 |
+
? ignore.test(vnode.tag)
|
5514 |
+
: ignore === vnode.tag
|
5515 |
+
})
|
5516 |
+
) &&
|
5517 |
+
config.isUnknownElement(vnode.tag)
|
5518 |
+
)
|
5519 |
+
}
|
5520 |
+
|
5521 |
+
var creatingElmInVPre = 0;
|
5522 |
+
|
5523 |
+
function createElm (
|
5524 |
+
vnode,
|
5525 |
+
insertedVnodeQueue,
|
5526 |
+
parentElm,
|
5527 |
+
refElm,
|
5528 |
+
nested,
|
5529 |
+
ownerArray,
|
5530 |
+
index
|
5531 |
+
) {
|
5532 |
+
if (isDef(vnode.elm) && isDef(ownerArray)) {
|
5533 |
+
// This vnode was used in a previous render!
|
5534 |
+
// now it's used as a new node, overwriting its elm would cause
|
5535 |
+
// potential patch errors down the road when it's used as an insertion
|
5536 |
+
// reference node. Instead, we clone the node on-demand before creating
|
5537 |
+
// associated DOM element for it.
|
5538 |
+
vnode = ownerArray[index] = cloneVNode(vnode);
|
5539 |
+
}
|
5540 |
+
|
5541 |
+
vnode.isRootInsert = !nested; // for transition enter check
|
5542 |
+
if (createComponent(vnode, insertedVnodeQueue, parentElm, refElm)) {
|
5543 |
+
return
|
5544 |
+
}
|
5545 |
+
|
5546 |
+
var data = vnode.data;
|
5547 |
+
var children = vnode.children;
|
5548 |
+
var tag = vnode.tag;
|
5549 |
+
if (isDef(tag)) {
|
5550 |
+
{
|
5551 |
+
if (data && data.pre) {
|
5552 |
+
creatingElmInVPre++;
|
5553 |
+
}
|
5554 |
+
if (isUnknownElement$$1(vnode, creatingElmInVPre)) {
|
5555 |
+
warn(
|
5556 |
+
'Unknown custom element: <' + tag + '> - did you ' +
|
5557 |
+
'register the component correctly? For recursive components, ' +
|
5558 |
+
'make sure to provide the "name" option.',
|
5559 |
+
vnode.context
|
5560 |
+
);
|
5561 |
+
}
|
5562 |
+
}
|
5563 |
+
|
5564 |
+
vnode.elm = vnode.ns
|
5565 |
+
? nodeOps.createElementNS(vnode.ns, tag)
|
5566 |
+
: nodeOps.createElement(tag, vnode);
|
5567 |
+
setScope(vnode);
|
5568 |
+
|
5569 |
+
/* istanbul ignore if */
|
5570 |
+
{
|
5571 |
+
createChildren(vnode, children, insertedVnodeQueue);
|
5572 |
+
if (isDef(data)) {
|
5573 |
+
invokeCreateHooks(vnode, insertedVnodeQueue);
|
5574 |
+
}
|
5575 |
+
insert(parentElm, vnode.elm, refElm);
|
5576 |
+
}
|
5577 |
+
|
5578 |
+
if ("development" !== 'production' && data && data.pre) {
|
5579 |
+
creatingElmInVPre--;
|
5580 |
+
}
|
5581 |
+
} else if (isTrue(vnode.isComment)) {
|
5582 |
+
vnode.elm = nodeOps.createComment(vnode.text);
|
5583 |
+
insert(parentElm, vnode.elm, refElm);
|
5584 |
+
} else {
|
5585 |
+
vnode.elm = nodeOps.createTextNode(vnode.text);
|
5586 |
+
insert(parentElm, vnode.elm, refElm);
|
5587 |
+
}
|
5588 |
+
}
|
5589 |
+
|
5590 |
+
function createComponent (vnode, insertedVnodeQueue, parentElm, refElm) {
|
5591 |
+
var i = vnode.data;
|
5592 |
+
if (isDef(i)) {
|
5593 |
+
var isReactivated = isDef(vnode.componentInstance) && i.keepAlive;
|
5594 |
+
if (isDef(i = i.hook) && isDef(i = i.init)) {
|
5595 |
+
i(vnode, false /* hydrating */, parentElm, refElm);
|
5596 |
+
}
|
5597 |
+
// after calling the init hook, if the vnode is a child component
|
5598 |
+
// it should've created a child instance and mounted it. the child
|
5599 |
+
// component also has set the placeholder vnode's elm.
|
5600 |
+
// in that case we can just return the element and be done.
|
5601 |
+
if (isDef(vnode.componentInstance)) {
|
5602 |
+
initComponent(vnode, insertedVnodeQueue);
|
5603 |
+
if (isTrue(isReactivated)) {
|
5604 |
+
reactivateComponent(vnode, insertedVnodeQueue, parentElm, refElm);
|
5605 |
+
}
|
5606 |
+
return true
|
5607 |
+
}
|
5608 |
+
}
|
5609 |
+
}
|
5610 |
+
|
5611 |
+
function initComponent (vnode, insertedVnodeQueue) {
|
5612 |
+
if (isDef(vnode.data.pendingInsert)) {
|
5613 |
+
insertedVnodeQueue.push.apply(insertedVnodeQueue, vnode.data.pendingInsert);
|
5614 |
+
vnode.data.pendingInsert = null;
|
5615 |
+
}
|
5616 |
+
vnode.elm = vnode.componentInstance.$el;
|
5617 |
+
if (isPatchable(vnode)) {
|
5618 |
+
invokeCreateHooks(vnode, insertedVnodeQueue);
|
5619 |
+
setScope(vnode);
|
5620 |
+
} else {
|
5621 |
+
// empty component root.
|
5622 |
+
// skip all element-related modules except for ref (#3455)
|
5623 |
+
registerRef(vnode);
|
5624 |
+
// make sure to invoke the insert hook
|
5625 |
+
insertedVnodeQueue.push(vnode);
|
5626 |
+
}
|
5627 |
+
}
|
5628 |
+
|
5629 |
+
function reactivateComponent (vnode, insertedVnodeQueue, parentElm, refElm) {
|
5630 |
+
var i;
|
5631 |
+
// hack for #4339: a reactivated component with inner transition
|
5632 |
+
// does not trigger because the inner node's created hooks are not called
|
5633 |
+
// again. It's not ideal to involve module-specific logic in here but
|
5634 |
+
// there doesn't seem to be a better way to do it.
|
5635 |
+
var innerNode = vnode;
|
5636 |
+
while (innerNode.componentInstance) {
|
5637 |
+
innerNode = innerNode.componentInstance._vnode;
|
5638 |
+
if (isDef(i = innerNode.data) && isDef(i = i.transition)) {
|
5639 |
+
for (i = 0; i < cbs.activate.length; ++i) {
|
5640 |
+
cbs.activate[i](emptyNode, innerNode);
|
5641 |
+
}
|
5642 |
+
insertedVnodeQueue.push(innerNode);
|
5643 |
+
break
|
5644 |
+
}
|
5645 |
+
}
|
5646 |
+
// unlike a newly created component,
|
5647 |
+
// a reactivated keep-alive component doesn't insert itself
|
5648 |
+
insert(parentElm, vnode.elm, refElm);
|
5649 |
+
}
|
5650 |
+
|
5651 |
+
function insert (parent, elm, ref$$1) {
|
5652 |
+
if (isDef(parent)) {
|
5653 |
+
if (isDef(ref$$1)) {
|
5654 |
+
if (ref$$1.parentNode === parent) {
|
5655 |
+
nodeOps.insertBefore(parent, elm, ref$$1);
|
5656 |
+
}
|
5657 |
+
} else {
|
5658 |
+
nodeOps.appendChild(parent, elm);
|
5659 |
+
}
|
5660 |
+
}
|
5661 |
+
}
|
5662 |
+
|
5663 |
+
function createChildren (vnode, children, insertedVnodeQueue) {
|
5664 |
+
if (Array.isArray(children)) {
|
5665 |
+
{
|
5666 |
+
checkDuplicateKeys(children);
|
5667 |
+
}
|
5668 |
+
for (var i = 0; i < children.length; ++i) {
|
5669 |
+
createElm(children[i], insertedVnodeQueue, vnode.elm, null, true, children, i);
|
5670 |
+
}
|
5671 |
+
} else if (isPrimitive(vnode.text)) {
|
5672 |
+
nodeOps.appendChild(vnode.elm, nodeOps.createTextNode(String(vnode.text)));
|
5673 |
+
}
|
5674 |
+
}
|
5675 |
+
|
5676 |
+
function isPatchable (vnode) {
|
5677 |
+
while (vnode.componentInstance) {
|
5678 |
+
vnode = vnode.componentInstance._vnode;
|
5679 |
+
}
|
5680 |
+
return isDef(vnode.tag)
|
5681 |
+
}
|
5682 |
+
|
5683 |
+
function invokeCreateHooks (vnode, insertedVnodeQueue) {
|
5684 |
+
for (var i$1 = 0; i$1 < cbs.create.length; ++i$1) {
|
5685 |
+
cbs.create[i$1](emptyNode, vnode);
|
5686 |
+
}
|
5687 |
+
i = vnode.data.hook; // Reuse variable
|
5688 |
+
if (isDef(i)) {
|
5689 |
+
if (isDef(i.create)) { i.create(emptyNode, vnode); }
|
5690 |
+
if (isDef(i.insert)) { insertedVnodeQueue.push(vnode); }
|
5691 |
+
}
|
5692 |
+
}
|
5693 |
+
|
5694 |
+
// set scope id attribute for scoped CSS.
|
5695 |
+
// this is implemented as a special case to avoid the overhead
|
5696 |
+
// of going through the normal attribute patching process.
|
5697 |
+
function setScope (vnode) {
|
5698 |
+
var i;
|
5699 |
+
if (isDef(i = vnode.fnScopeId)) {
|
5700 |
+
nodeOps.setStyleScope(vnode.elm, i);
|
5701 |
+
} else {
|
5702 |
+
var ancestor = vnode;
|
5703 |
+
while (ancestor) {
|
5704 |
+
if (isDef(i = ancestor.context) && isDef(i = i.$options._scopeId)) {
|
5705 |
+
nodeOps.setStyleScope(vnode.elm, i);
|
5706 |
+
}
|
5707 |
+
ancestor = ancestor.parent;
|
5708 |
+
}
|
5709 |
+
}
|
5710 |
+
// for slot content they should also get the scopeId from the host instance.
|
5711 |
+
if (isDef(i = activeInstance) &&
|
5712 |
+
i !== vnode.context &&
|
5713 |
+
i !== vnode.fnContext &&
|
5714 |
+
isDef(i = i.$options._scopeId)
|
5715 |
+
) {
|
5716 |
+
nodeOps.setStyleScope(vnode.elm, i);
|
5717 |
+
}
|
5718 |
+
}
|
5719 |
+
|
5720 |
+
function addVnodes (parentElm, refElm, vnodes, startIdx, endIdx, insertedVnodeQueue) {
|
5721 |
+
for (; startIdx <= endIdx; ++startIdx) {
|
5722 |
+
createElm(vnodes[startIdx], insertedVnodeQueue, parentElm, refElm, false, vnodes, startIdx);
|
5723 |
+
}
|
5724 |
+
}
|
5725 |
+
|
5726 |
+
function invokeDestroyHook (vnode) {
|
5727 |
+
var i, j;
|
5728 |
+
var data = vnode.data;
|
5729 |
+
if (isDef(data)) {
|
5730 |
+
if (isDef(i = data.hook) && isDef(i = i.destroy)) { i(vnode); }
|
5731 |
+
for (i = 0; i < cbs.destroy.length; ++i) { cbs.destroy[i](vnode); }
|
5732 |
+
}
|
5733 |
+
if (isDef(i = vnode.children)) {
|
5734 |
+
for (j = 0; j < vnode.children.length; ++j) {
|
5735 |
+
invokeDestroyHook(vnode.children[j]);
|
5736 |
+
}
|
5737 |
+
}
|
5738 |
+
}
|
5739 |
+
|
5740 |
+
function removeVnodes (parentElm, vnodes, startIdx, endIdx) {
|
5741 |
+
for (; startIdx <= endIdx; ++startIdx) {
|
5742 |
+
var ch = vnodes[startIdx];
|
5743 |
+
if (isDef(ch)) {
|
5744 |
+
if (isDef(ch.tag)) {
|
5745 |
+
removeAndInvokeRemoveHook(ch);
|
5746 |
+
invokeDestroyHook(ch);
|
5747 |
+
} else { // Text node
|
5748 |
+
removeNode(ch.elm);
|
5749 |
+
}
|
5750 |
+
}
|
5751 |
+
}
|
5752 |
+
}
|
5753 |
+
|
5754 |
+
function removeAndInvokeRemoveHook (vnode, rm) {
|
5755 |
+
if (isDef(rm) || isDef(vnode.data)) {
|
5756 |
+
var i;
|
5757 |
+
var listeners = cbs.remove.length + 1;
|
5758 |
+
if (isDef(rm)) {
|
5759 |
+
// we have a recursively passed down rm callback
|
5760 |
+
// increase the listeners count
|
5761 |
+
rm.listeners += listeners;
|
5762 |
+
} else {
|
5763 |
+
// directly removing
|
5764 |
+
rm = createRmCb(vnode.elm, listeners);
|
5765 |
+
}
|
5766 |
+
// recursively invoke hooks on child component root node
|
5767 |
+
if (isDef(i = vnode.componentInstance) && isDef(i = i._vnode) && isDef(i.data)) {
|
5768 |
+
removeAndInvokeRemoveHook(i, rm);
|
5769 |
+
}
|
5770 |
+
for (i = 0; i < cbs.remove.length; ++i) {
|
5771 |
+
cbs.remove[i](vnode, rm);
|
5772 |
+
}
|
5773 |
+
if (isDef(i = vnode.data.hook) && isDef(i = i.remove)) {
|
5774 |
+
i(vnode, rm);
|
5775 |
+
} else {
|
5776 |
+
rm();
|
5777 |
+
}
|
5778 |
+
} else {
|
5779 |
+
removeNode(vnode.elm);
|
5780 |
+
}
|
5781 |
+
}
|
5782 |
+
|
5783 |
+
function updateChildren (parentElm, oldCh, newCh, insertedVnodeQueue, removeOnly) {
|
5784 |
+
var oldStartIdx = 0;
|
5785 |
+
var newStartIdx = 0;
|
5786 |
+
var oldEndIdx = oldCh.length - 1;
|
5787 |
+
var oldStartVnode = oldCh[0];
|
5788 |
+
var oldEndVnode = oldCh[oldEndIdx];
|
5789 |
+
var newEndIdx = newCh.length - 1;
|
5790 |
+
var newStartVnode = newCh[0];
|
5791 |
+
var newEndVnode = newCh[newEndIdx];
|
5792 |
+
var oldKeyToIdx, idxInOld, vnodeToMove, refElm;
|
5793 |
+
|
5794 |
+
// removeOnly is a special flag used only by <transition-group>
|
5795 |
+
// to ensure removed elements stay in correct relative positions
|
5796 |
+
// during leaving transitions
|
5797 |
+
var canMove = !removeOnly;
|
5798 |
+
|
5799 |
+
{
|
5800 |
+
checkDuplicateKeys(newCh);
|
5801 |
+
}
|
5802 |
+
|
5803 |
+
while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
|
5804 |
+
if (isUndef(oldStartVnode)) {
|
5805 |
+
oldStartVnode = oldCh[++oldStartIdx]; // Vnode has been moved left
|
5806 |
+
} else if (isUndef(oldEndVnode)) {
|
5807 |
+
oldEndVnode = oldCh[--oldEndIdx];
|
5808 |
+
} else if (sameVnode(oldStartVnode, newStartVnode)) {
|
5809 |
+
patchVnode(oldStartVnode, newStartVnode, insertedVnodeQueue);
|
5810 |
+
oldStartVnode = oldCh[++oldStartIdx];
|
5811 |
+
newStartVnode = newCh[++newStartIdx];
|
5812 |
+
} else if (sameVnode(oldEndVnode, newEndVnode)) {
|
5813 |
+
patchVnode(oldEndVnode, newEndVnode, insertedVnodeQueue);
|
5814 |
+
oldEndVnode = oldCh[--oldEndIdx];
|
5815 |
+
newEndVnode = newCh[--newEndIdx];
|
5816 |
+
} else if (sameVnode(oldStartVnode, newEndVnode)) { // Vnode moved right
|
5817 |
+
patchVnode(oldStartVnode, newEndVnode, insertedVnodeQueue);
|
5818 |
+
canMove && nodeOps.insertBefore(parentElm, oldStartVnode.elm, nodeOps.nextSibling(oldEndVnode.elm));
|
5819 |
+
oldStartVnode = oldCh[++oldStartIdx];
|
5820 |
+
newEndVnode = newCh[--newEndIdx];
|
5821 |
+
} else if (sameVnode(oldEndVnode, newStartVnode)) { // Vnode moved left
|
5822 |
+
patchVnode(oldEndVnode, newStartVnode, insertedVnodeQueue);
|
5823 |
+
canMove && nodeOps.insertBefore(parentElm, oldEndVnode.elm, oldStartVnode.elm);
|
5824 |
+
oldEndVnode = oldCh[--oldEndIdx];
|
5825 |
+
newStartVnode = newCh[++newStartIdx];
|
5826 |
+
} else {
|
5827 |
+
if (isUndef(oldKeyToIdx)) { oldKeyToIdx = createKeyToOldIdx(oldCh, oldStartIdx, oldEndIdx); }
|
5828 |
+
idxInOld = isDef(newStartVnode.key)
|
5829 |
+
? oldKeyToIdx[newStartVnode.key]
|
5830 |
+
: findIdxInOld(newStartVnode, oldCh, oldStartIdx, oldEndIdx);
|
5831 |
+
if (isUndef(idxInOld)) { // New element
|
5832 |
+
createElm(newStartVnode, insertedVnodeQueue, parentElm, oldStartVnode.elm, false, newCh, newStartIdx);
|
5833 |
+
} else {
|
5834 |
+
vnodeToMove = oldCh[idxInOld];
|
5835 |
+
if (sameVnode(vnodeToMove, newStartVnode)) {
|
5836 |
+
patchVnode(vnodeToMove, newStartVnode, insertedVnodeQueue);
|
5837 |
+
oldCh[idxInOld] = undefined;
|
5838 |
+
canMove && nodeOps.insertBefore(parentElm, vnodeToMove.elm, oldStartVnode.elm);
|
5839 |
+
} else {
|
5840 |
+
// same key but different element. treat as new element
|
5841 |
+
createElm(newStartVnode, insertedVnodeQueue, parentElm, oldStartVnode.elm, false, newCh, newStartIdx);
|
5842 |
+
}
|
5843 |
+
}
|
5844 |
+
newStartVnode = newCh[++newStartIdx];
|
5845 |
+
}
|
5846 |
+
}
|
5847 |
+
if (oldStartIdx > oldEndIdx) {
|
5848 |
+
refElm = isUndef(newCh[newEndIdx + 1]) ? null : newCh[newEndIdx + 1].elm;
|
5849 |
+
addVnodes(parentElm, refElm, newCh, newStartIdx, newEndIdx, insertedVnodeQueue);
|
5850 |
+
} else if (newStartIdx > newEndIdx) {
|
5851 |
+
removeVnodes(parentElm, oldCh, oldStartIdx, oldEndIdx);
|
5852 |
+
}
|
5853 |
+
}
|
5854 |
+
|
5855 |
+
function checkDuplicateKeys (children) {
|
5856 |
+
var seenKeys = {};
|
5857 |
+
for (var i = 0; i < children.length; i++) {
|
5858 |
+
var vnode = children[i];
|
5859 |
+
var key = vnode.key;
|
5860 |
+
if (isDef(key)) {
|
5861 |
+
if (seenKeys[key]) {
|
5862 |
+
warn(
|
5863 |
+
("Duplicate keys detected: '" + key + "'. This may cause an update error."),
|
5864 |
+
vnode.context
|
5865 |
+
);
|
5866 |
+
} else {
|
5867 |
+
seenKeys[key] = true;
|
5868 |
+
}
|
5869 |
+
}
|
5870 |
+
}
|
5871 |
+
}
|
5872 |
+
|
5873 |
+
function findIdxInOld (node, oldCh, start, end) {
|
5874 |
+
for (var i = start; i < end; i++) {
|
5875 |
+
var c = oldCh[i];
|
5876 |
+
if (isDef(c) && sameVnode(node, c)) { return i }
|
5877 |
+
}
|
5878 |
+
}
|
5879 |
+
|
5880 |
+
function patchVnode (oldVnode, vnode, insertedVnodeQueue, removeOnly) {
|
5881 |
+
if (oldVnode === vnode) {
|
5882 |
+
return
|
5883 |
+
}
|
5884 |
+
|
5885 |
+
var elm = vnode.elm = oldVnode.elm;
|
5886 |
+
|
5887 |
+
if (isTrue(oldVnode.isAsyncPlaceholder)) {
|
5888 |
+
if (isDef(vnode.asyncFactory.resolved)) {
|
5889 |
+
hydrate(oldVnode.elm, vnode, insertedVnodeQueue);
|
5890 |
+
} else {
|
5891 |
+
vnode.isAsyncPlaceholder = true;
|
5892 |
+
}
|
5893 |
+
return
|
5894 |
+
}
|
5895 |
+
|
5896 |
+
// reuse element for static trees.
|
5897 |
+
// note we only do this if the vnode is cloned -
|
5898 |
+
// if the new node is not cloned it means the render functions have been
|
5899 |
+
// reset by the hot-reload-api and we need to do a proper re-render.
|
5900 |
+
if (isTrue(vnode.isStatic) &&
|
5901 |
+
isTrue(oldVnode.isStatic) &&
|
5902 |
+
vnode.key === oldVnode.key &&
|
5903 |
+
(isTrue(vnode.isCloned) || isTrue(vnode.isOnce))
|
5904 |
+
) {
|
5905 |
+
vnode.componentInstance = oldVnode.componentInstance;
|
5906 |
+
return
|
5907 |
+
}
|
5908 |
+
|
5909 |
+
var i;
|
5910 |
+
var data = vnode.data;
|
5911 |
+
if (isDef(data) && isDef(i = data.hook) && isDef(i = i.prepatch)) {
|
5912 |
+
i(oldVnode, vnode);
|
5913 |
+
}
|
5914 |
+
|
5915 |
+
var oldCh = oldVnode.children;
|
5916 |
+
var ch = vnode.children;
|
5917 |
+
if (isDef(data) && isPatchable(vnode)) {
|
5918 |
+
for (i = 0; i < cbs.update.length; ++i) { cbs.update[i](oldVnode, vnode); }
|
5919 |
+
if (isDef(i = data.hook) && isDef(i = i.update)) { i(oldVnode, vnode); }
|
5920 |
+
}
|
5921 |
+
if (isUndef(vnode.text)) {
|
5922 |
+
if (isDef(oldCh) && isDef(ch)) {
|
5923 |
+
if (oldCh !== ch) { updateChildren(elm, oldCh, ch, insertedVnodeQueue, removeOnly); }
|
5924 |
+
} else if (isDef(ch)) {
|
5925 |
+
if (isDef(oldVnode.text)) { nodeOps.setTextContent(elm, ''); }
|
5926 |
+
addVnodes(elm, null, ch, 0, ch.length - 1, insertedVnodeQueue);
|
5927 |
+
} else if (isDef(oldCh)) {
|
5928 |
+
removeVnodes(elm, oldCh, 0, oldCh.length - 1);
|
5929 |
+
} else if (isDef(oldVnode.text)) {
|
5930 |
+
nodeOps.setTextContent(elm, '');
|
5931 |
+
}
|
5932 |
+
} else if (oldVnode.text !== vnode.text) {
|
5933 |
+
nodeOps.setTextContent(elm, vnode.text);
|
5934 |
+
}
|
5935 |
+
if (isDef(data)) {
|
5936 |
+
if (isDef(i = data.hook) && isDef(i = i.postpatch)) { i(oldVnode, vnode); }
|
5937 |
+
}
|
5938 |
+
}
|
5939 |
+
|
5940 |
+
function invokeInsertHook (vnode, queue, initial) {
|
5941 |
+
// delay insert hooks for component root nodes, invoke them after the
|
5942 |
+
// element is really inserted
|
5943 |
+
if (isTrue(initial) && isDef(vnode.parent)) {
|
5944 |
+
vnode.parent.data.pendingInsert = queue;
|
5945 |
+
} else {
|
5946 |
+
for (var i = 0; i < queue.length; ++i) {
|
5947 |
+
queue[i].data.hook.insert(queue[i]);
|
5948 |
+
}
|
5949 |
+
}
|
5950 |
+
}
|
5951 |
+
|
5952 |
+
var hydrationBailed = false;
|
5953 |
+
// list of modules that can skip create hook during hydration because they
|
5954 |
+
// are already rendered on the client or has no need for initialization
|
5955 |
+
// Note: style is excluded because it relies on initial clone for future
|
5956 |
+
// deep updates (#7063).
|
5957 |
+
var isRenderedModule = makeMap('attrs,class,staticClass,staticStyle,key');
|
5958 |
+
|
5959 |
+
// Note: this is a browser-only function so we can assume elms are DOM nodes.
|
5960 |
+
function hydrate (elm, vnode, insertedVnodeQueue, inVPre) {
|
5961 |
+
var i;
|
5962 |
+
var tag = vnode.tag;
|
5963 |
+
var data = vnode.data;
|
5964 |
+
var children = vnode.children;
|
5965 |
+
inVPre = inVPre || (data && data.pre);
|
5966 |
+
vnode.elm = elm;
|
5967 |
+
|
5968 |
+
if (isTrue(vnode.isComment) && isDef(vnode.asyncFactory)) {
|
5969 |
+
vnode.isAsyncPlaceholder = true;
|
5970 |
+
return true
|
5971 |
+
}
|
5972 |
+
// assert node match
|
5973 |
+
{
|
5974 |
+
if (!assertNodeMatch(elm, vnode, inVPre)) {
|
5975 |
+
return false
|
5976 |
+
}
|
5977 |
+
}
|
5978 |
+
if (isDef(data)) {
|
5979 |
+
if (isDef(i = data.hook) && isDef(i = i.init)) { i(vnode, true /* hydrating */); }
|
5980 |
+
if (isDef(i = vnode.componentInstance)) {
|
5981 |
+
// child component. it should have hydrated its own tree.
|
5982 |
+
initComponent(vnode, insertedVnodeQueue);
|
5983 |
+
return true
|
5984 |
+
}
|
5985 |
+
}
|
5986 |
+
if (isDef(tag)) {
|
5987 |
+
if (isDef(children)) {
|
5988 |
+
// empty element, allow client to pick up and populate children
|
5989 |
+
if (!elm.hasChildNodes()) {
|
5990 |
+
createChildren(vnode, children, insertedVnodeQueue);
|
5991 |
+
} else {
|
5992 |
+
// v-html and domProps: innerHTML
|
5993 |
+
if (isDef(i = data) && isDef(i = i.domProps) && isDef(i = i.innerHTML)) {
|
5994 |
+
if (i !== elm.innerHTML) {
|
5995 |
+
/* istanbul ignore if */
|
5996 |
+
if ("development" !== 'production' &&
|
5997 |
+
typeof console !== 'undefined' &&
|
5998 |
+
!hydrationBailed
|
5999 |
+
) {
|
6000 |
+
hydrationBailed = true;
|
6001 |
+
console.warn('Parent: ', elm);
|
6002 |
+
console.warn('server innerHTML: ', i);
|
6003 |
+
console.warn('client innerHTML: ', elm.innerHTML);
|
6004 |
+
}
|
6005 |
+
return false
|
6006 |
+
}
|
6007 |
+
} else {
|
6008 |
+
// iterate and compare children lists
|
6009 |
+
var childrenMatch = true;
|
6010 |
+
var childNode = elm.firstChild;
|
6011 |
+
for (var i$1 = 0; i$1 < children.length; i$1++) {
|
6012 |
+
if (!childNode || !hydrate(childNode, children[i$1], insertedVnodeQueue, inVPre)) {
|
6013 |
+
childrenMatch = false;
|
6014 |
+
break
|
6015 |
+
}
|
6016 |
+
childNode = childNode.nextSibling;
|
6017 |
+
}
|
6018 |
+
// if childNode is not null, it means the actual childNodes list is
|
6019 |
+
// longer than the virtual children list.
|
6020 |
+
if (!childrenMatch || childNode) {
|
6021 |
+
/* istanbul ignore if */
|
6022 |
+
if ("development" !== 'production' &&
|
6023 |
+
typeof console !== 'undefined' &&
|
6024 |
+
!hydrationBailed
|
6025 |
+
) {
|
6026 |
+
hydrationBailed = true;
|
6027 |
+
console.warn('Parent: ', elm);
|
6028 |
+
console.warn('Mismatching childNodes vs. VNodes: ', elm.childNodes, children);
|
6029 |
+
}
|
6030 |
+
return false
|
6031 |
+
}
|
6032 |
+
}
|
6033 |
+
}
|
6034 |
+
}
|
6035 |
+
if (isDef(data)) {
|
6036 |
+
var fullInvoke = false;
|
6037 |
+
for (var key in data) {
|
6038 |
+
if (!isRenderedModule(key)) {
|
6039 |
+
fullInvoke = true;
|
6040 |
+
invokeCreateHooks(vnode, insertedVnodeQueue);
|
6041 |
+
break
|
6042 |
+
}
|
6043 |
+
}
|
6044 |
+
if (!fullInvoke && data['class']) {
|
6045 |
+
// ensure collecting deps for deep class bindings for future updates
|
6046 |
+
traverse(data['class']);
|
6047 |
+
}
|
6048 |
+
}
|
6049 |
+
} else if (elm.data !== vnode.text) {
|
6050 |
+
elm.data = vnode.text;
|
6051 |
+
}
|
6052 |
+
return true
|
6053 |
+
}
|
6054 |
+
|
6055 |
+
function assertNodeMatch (node, vnode, inVPre) {
|
6056 |
+
if (isDef(vnode.tag)) {
|
6057 |
+
return vnode.tag.indexOf('vue-component') === 0 || (
|
6058 |
+
!isUnknownElement$$1(vnode, inVPre) &&
|
6059 |
+
vnode.tag.toLowerCase() === (node.tagName && node.tagName.toLowerCase())
|
6060 |
+
)
|
6061 |
+
} else {
|
6062 |
+
return node.nodeType === (vnode.isComment ? 8 : 3)
|
6063 |
+
}
|
6064 |
+
}
|
6065 |
+
|
6066 |
+
return function patch (oldVnode, vnode, hydrating, removeOnly, parentElm, refElm) {
|
6067 |
+
if (isUndef(vnode)) {
|
6068 |
+
if (isDef(oldVnode)) { invokeDestroyHook(oldVnode); }
|
6069 |
+
return
|
6070 |
+
}
|
6071 |
+
|
6072 |
+
var isInitialPatch = false;
|
6073 |
+
var insertedVnodeQueue = [];
|
6074 |
+
|
6075 |
+
if (isUndef(oldVnode)) {
|
6076 |
+
// empty mount (likely as component), create new root element
|
6077 |
+
isInitialPatch = true;
|
6078 |
+
createElm(vnode, insertedVnodeQueue, parentElm, refElm);
|
6079 |
+
} else {
|
6080 |
+
var isRealElement = isDef(oldVnode.nodeType);
|
6081 |
+
if (!isRealElement && sameVnode(oldVnode, vnode)) {
|
6082 |
+
// patch existing root node
|
6083 |
+
patchVnode(oldVnode, vnode, insertedVnodeQueue, removeOnly);
|
6084 |
+
} else {
|
6085 |
+
if (isRealElement) {
|
6086 |
+
// mounting to a real element
|
6087 |
+
// check if this is server-rendered content and if we can perform
|
6088 |
+
// a successful hydration.
|
6089 |
+
if (oldVnode.nodeType === 1 && oldVnode.hasAttribute(SSR_ATTR)) {
|
6090 |
+
oldVnode.removeAttribute(SSR_ATTR);
|
6091 |
+
hydrating = true;
|
6092 |
+
}
|
6093 |
+
if (isTrue(hydrating)) {
|
6094 |
+
if (hydrate(oldVnode, vnode, insertedVnodeQueue)) {
|
6095 |
+
invokeInsertHook(vnode, insertedVnodeQueue, true);
|
6096 |
+
return oldVnode
|
6097 |
+
} else {
|
6098 |
+
warn(
|
6099 |
+
'The client-side rendered virtual DOM tree is not matching ' +
|
6100 |
+
'server-rendered content. This is likely caused by incorrect ' +
|
6101 |
+
'HTML markup, for example nesting block-level elements inside ' +
|
6102 |
+
'<p>, or missing <tbody>. Bailing hydration and performing ' +
|
6103 |
+
'full client-side render.'
|
6104 |
+
);
|
6105 |
+
}
|
6106 |
+
}
|
6107 |
+
// either not server-rendered, or hydration failed.
|
6108 |
+
// create an empty node and replace it
|
6109 |
+
oldVnode = emptyNodeAt(oldVnode);
|
6110 |
+
}
|
6111 |
+
|
6112 |
+
// replacing existing element
|
6113 |
+
var oldElm = oldVnode.elm;
|
6114 |
+
var parentElm$1 = nodeOps.parentNode(oldElm);
|
6115 |
+
|
6116 |
+
// create new node
|
6117 |
+
createElm(
|
6118 |
+
vnode,
|
6119 |
+
insertedVnodeQueue,
|
6120 |
+
// extremely rare edge case: do not insert if old element is in a
|
6121 |
+
// leaving transition. Only happens when combining transition +
|
6122 |
+
// keep-alive + HOCs. (#4590)
|
6123 |
+
oldElm._leaveCb ? null : parentElm$1,
|
6124 |
+
nodeOps.nextSibling(oldElm)
|
6125 |
+
);
|
6126 |
+
|
6127 |
+
// update parent placeholder node element, recursively
|
6128 |
+
if (isDef(vnode.parent)) {
|
6129 |
+
var ancestor = vnode.parent;
|
6130 |
+
var patchable = isPatchable(vnode);
|
6131 |
+
while (ancestor) {
|
6132 |
+
for (var i = 0; i < cbs.destroy.length; ++i) {
|
6133 |
+
cbs.destroy[i](ancestor);
|
6134 |
+
}
|
6135 |
+
ancestor.elm = vnode.elm;
|
6136 |
+
if (patchable) {
|
6137 |
+
for (var i$1 = 0; i$1 < cbs.create.length; ++i$1) {
|
6138 |
+
cbs.create[i$1](emptyNode, ancestor);
|
6139 |
+
}
|
6140 |
+
// #6513
|
6141 |
+
// invoke insert hooks that may have been merged by create hooks.
|
6142 |
+
// e.g. for directives that uses the "inserted" hook.
|
6143 |
+
var insert = ancestor.data.hook.insert;
|
6144 |
+
if (insert.merged) {
|
6145 |
+
// start at index 1 to avoid re-invoking component mounted hook
|
6146 |
+
for (var i$2 = 1; i$2 < insert.fns.length; i$2++) {
|
6147 |
+
insert.fns[i$2]();
|
6148 |
+
}
|
6149 |
+
}
|
6150 |
+
} else {
|
6151 |
+
registerRef(ancestor);
|
6152 |
+
}
|
6153 |
+
ancestor = ancestor.parent;
|
6154 |
+
}
|
6155 |
+
}
|
6156 |
+
|
6157 |
+
// destroy old node
|
6158 |
+
if (isDef(parentElm$1)) {
|
6159 |
+
removeVnodes(parentElm$1, [oldVnode], 0, 0);
|
6160 |
+
} else if (isDef(oldVnode.tag)) {
|
6161 |
+
invokeDestroyHook(oldVnode);
|
6162 |
+
}
|
6163 |
+
}
|
6164 |
+
}
|
6165 |
+
|
6166 |
+
invokeInsertHook(vnode, insertedVnodeQueue, isInitialPatch);
|
6167 |
+
return vnode.elm
|
6168 |
+
}
|
6169 |
+
}
|
6170 |
+
|
6171 |
+
/* */
|
6172 |
+
|
6173 |
+
var directives = {
|
6174 |
+
create: updateDirectives,
|
6175 |
+
update: updateDirectives,
|
6176 |
+
destroy: function unbindDirectives (vnode) {
|
6177 |
+
updateDirectives(vnode, emptyNode);
|
6178 |
+
}
|
6179 |
+
}
|
6180 |
+
|
6181 |
+
function updateDirectives (oldVnode, vnode) {
|
6182 |
+
if (oldVnode.data.directives || vnode.data.directives) {
|
6183 |
+
_update(oldVnode, vnode);
|
6184 |
+
}
|
6185 |
+
}
|
6186 |
+
|
6187 |
+
function _update (oldVnode, vnode) {
|
6188 |
+
var isCreate = oldVnode === emptyNode;
|
6189 |
+
var isDestroy = vnode === emptyNode;
|
6190 |
+
var oldDirs = normalizeDirectives$1(oldVnode.data.directives, oldVnode.context);
|
6191 |
+
var newDirs = normalizeDirectives$1(vnode.data.directives, vnode.context);
|
6192 |
+
|
6193 |
+
var dirsWithInsert = [];
|
6194 |
+
var dirsWithPostpatch = [];
|
6195 |
+
|
6196 |
+
var key, oldDir, dir;
|
6197 |
+
for (key in newDirs) {
|
6198 |
+
oldDir = oldDirs[key];
|
6199 |
+
dir = newDirs[key];
|
6200 |
+
if (!oldDir) {
|
6201 |
+
// new directive, bind
|
6202 |
+
callHook$1(dir, 'bind', vnode, oldVnode);
|
6203 |
+
if (dir.def && dir.def.inserted) {
|
6204 |
+
dirsWithInsert.push(dir);
|
6205 |
+
}
|
6206 |
+
} else {
|
6207 |
+
// existing directive, update
|
6208 |
+
dir.oldValue = oldDir.value;
|
6209 |
+
callHook$1(dir, 'update', vnode, oldVnode);
|
6210 |
+
if (dir.def && dir.def.componentUpdated) {
|
6211 |
+
dirsWithPostpatch.push(dir);
|
6212 |
+
}
|
6213 |
+
}
|
6214 |
+
}
|
6215 |
+
|
6216 |
+
if (dirsWithInsert.length) {
|
6217 |
+
var callInsert = function () {
|
6218 |
+
for (var i = 0; i < dirsWithInsert.length; i++) {
|
6219 |
+
callHook$1(dirsWithInsert[i], 'inserted', vnode, oldVnode);
|
6220 |
+
}
|
6221 |
+
};
|
6222 |
+
if (isCreate) {
|
6223 |
+
mergeVNodeHook(vnode, 'insert', callInsert);
|
6224 |
+
} else {
|
6225 |
+
callInsert();
|
6226 |
+
}
|
6227 |
+
}
|
6228 |
+
|
6229 |
+
if (dirsWithPostpatch.length) {
|
6230 |
+
mergeVNodeHook(vnode, 'postpatch', function () {
|
6231 |
+
for (var i = 0; i < dirsWithPostpatch.length; i++) {
|
6232 |
+
callHook$1(dirsWithPostpatch[i], 'componentUpdated', vnode, oldVnode);
|
6233 |
+
}
|
6234 |
+
});
|
6235 |
+
}
|
6236 |
+
|
6237 |
+
if (!isCreate) {
|
6238 |
+
for (key in oldDirs) {
|
6239 |
+
if (!newDirs[key]) {
|
6240 |
+
// no longer present, unbind
|
6241 |
+
callHook$1(oldDirs[key], 'unbind', oldVnode, oldVnode, isDestroy);
|
6242 |
+
}
|
6243 |
+
}
|
6244 |
+
}
|
6245 |
+
}
|
6246 |
+
|
6247 |
+
var emptyModifiers = Object.create(null);
|
6248 |
+
|
6249 |
+
function normalizeDirectives$1 (
|
6250 |
+
dirs,
|
6251 |
+
vm
|
6252 |
+
) {
|
6253 |
+
var res = Object.create(null);
|
6254 |
+
if (!dirs) {
|
6255 |
+
// $flow-disable-line
|
6256 |
+
return res
|
6257 |
+
}
|
6258 |
+
var i, dir;
|
6259 |
+
for (i = 0; i < dirs.length; i++) {
|
6260 |
+
dir = dirs[i];
|
6261 |
+
if (!dir.modifiers) {
|
6262 |
+
// $flow-disable-line
|
6263 |
+
dir.modifiers = emptyModifiers;
|
6264 |
+
}
|
6265 |
+
res[getRawDirName(dir)] = dir;
|
6266 |
+
dir.def = resolveAsset(vm.$options, 'directives', dir.name, true);
|
6267 |
+
}
|
6268 |
+
// $flow-disable-line
|
6269 |
+
return res
|
6270 |
+
}
|
6271 |
+
|
6272 |
+
function getRawDirName (dir) {
|
6273 |
+
return dir.rawName || ((dir.name) + "." + (Object.keys(dir.modifiers || {}).join('.')))
|
6274 |
+
}
|
6275 |
+
|
6276 |
+
function callHook$1 (dir, hook, vnode, oldVnode, isDestroy) {
|
6277 |
+
var fn = dir.def && dir.def[hook];
|
6278 |
+
if (fn) {
|
6279 |
+
try {
|
6280 |
+
fn(vnode.elm, dir, vnode, oldVnode, isDestroy);
|
6281 |
+
} catch (e) {
|
6282 |
+
handleError(e, vnode.context, ("directive " + (dir.name) + " " + hook + " hook"));
|
6283 |
+
}
|
6284 |
+
}
|
6285 |
+
}
|
6286 |
+
|
6287 |
+
var baseModules = [
|
6288 |
+
ref,
|
6289 |
+
directives
|
6290 |
+
]
|
6291 |
+
|
6292 |
+
/* */
|
6293 |
+
|
6294 |
+
function updateAttrs (oldVnode, vnode) {
|
6295 |
+
var opts = vnode.componentOptions;
|
6296 |
+
if (isDef(opts) && opts.Ctor.options.inheritAttrs === false) {
|
6297 |
+
return
|
6298 |
+
}
|
6299 |
+
if (isUndef(oldVnode.data.attrs) && isUndef(vnode.data.attrs)) {
|
6300 |
+
return
|
6301 |
+
}
|
6302 |
+
var key, cur, old;
|
6303 |
+
var elm = vnode.elm;
|
6304 |
+
var oldAttrs = oldVnode.data.attrs || {};
|
6305 |
+
var attrs = vnode.data.attrs || {};
|
6306 |
+
// clone observed objects, as the user probably wants to mutate it
|
6307 |
+
if (isDef(attrs.__ob__)) {
|
6308 |
+
attrs = vnode.data.attrs = extend({}, attrs);
|
6309 |
+
}
|
6310 |
+
|
6311 |
+
for (key in attrs) {
|
6312 |
+
cur = attrs[key];
|
6313 |
+
old = oldAttrs[key];
|
6314 |
+
if (old !== cur) {
|
6315 |
+
setAttr(elm, key, cur);
|
6316 |
+
}
|
6317 |
+
}
|
6318 |
+
// #4391: in IE9, setting type can reset value for input[type=radio]
|
6319 |
+
// #6666: IE/Edge forces progress value down to 1 before setting a max
|
6320 |
+
/* istanbul ignore if */
|
6321 |
+
if ((isIE || isEdge) && attrs.value !== oldAttrs.value) {
|
6322 |
+
setAttr(elm, 'value', attrs.value);
|
6323 |
+
}
|
6324 |
+
for (key in oldAttrs) {
|
6325 |
+
if (isUndef(attrs[key])) {
|
6326 |
+
if (isXlink(key)) {
|
6327 |
+
elm.removeAttributeNS(xlinkNS, getXlinkProp(key));
|
6328 |
+
} else if (!isEnumeratedAttr(key)) {
|
6329 |
+
elm.removeAttribute(key);
|
6330 |
+
}
|
6331 |
+
}
|
6332 |
+
}
|
6333 |
+
}
|
6334 |
+
|
6335 |
+
function setAttr (el, key, value) {
|
6336 |
+
if (el.tagName.indexOf('-') > -1) {
|
6337 |
+
baseSetAttr(el, key, value);
|
6338 |
+
} else if (isBooleanAttr(key)) {
|
6339 |
+
// set attribute for blank value
|
6340 |
+
// e.g. <option disabled>Select one</option>
|
6341 |
+
if (isFalsyAttrValue(value)) {
|
6342 |
+
el.removeAttribute(key);
|
6343 |
+
} else {
|
6344 |
+
// technically allowfullscreen is a boolean attribute for <iframe>,
|
6345 |
+
// but Flash expects a value of "true" when used on <embed> tag
|
6346 |
+
value = key === 'allowfullscreen' && el.tagName === 'EMBED'
|
6347 |
+
? 'true'
|
6348 |
+
: key;
|
6349 |
+
el.setAttribute(key, value);
|
6350 |
+
}
|
6351 |
+
} else if (isEnumeratedAttr(key)) {
|
6352 |
+
el.setAttribute(key, isFalsyAttrValue(value) || value === 'false' ? 'false' : 'true');
|
6353 |
+
} else if (isXlink(key)) {
|
6354 |
+
if (isFalsyAttrValue(value)) {
|
6355 |
+
el.removeAttributeNS(xlinkNS, getXlinkProp(key));
|
6356 |
+
} else {
|
6357 |
+
el.setAttributeNS(xlinkNS, key, value);
|
6358 |
+
}
|
6359 |
+
} else {
|
6360 |
+
baseSetAttr(el, key, value);
|
6361 |
+
}
|
6362 |
+
}
|
6363 |
+
|
6364 |
+
function baseSetAttr (el, key, value) {
|
6365 |
+
if (isFalsyAttrValue(value)) {
|
6366 |
+
el.removeAttribute(key);
|
6367 |
+
} else {
|
6368 |
+
// #7138: IE10 & 11 fires input event when setting placeholder on
|
6369 |
+
// <textarea>... block the first input event and remove the blocker
|
6370 |
+
// immediately.
|
6371 |
+
/* istanbul ignore if */
|
6372 |
+
if (
|
6373 |
+
isIE && !isIE9 &&
|
6374 |
+
el.tagName === 'TEXTAREA' &&
|
6375 |
+
key === 'placeholder' && !el.__ieph
|
6376 |
+
) {
|
6377 |
+
var blocker = function (e) {
|
6378 |
+
e.stopImmediatePropagation();
|
6379 |
+
el.removeEventListener('input', blocker);
|
6380 |
+
};
|
6381 |
+
el.addEventListener('input', blocker);
|
6382 |
+
// $flow-disable-line
|
6383 |
+
el.__ieph = true; /* IE placeholder patched */
|
6384 |
+
}
|
6385 |
+
el.setAttribute(key, value);
|
6386 |
+
}
|
6387 |
+
}
|
6388 |
+
|
6389 |
+
var attrs = {
|
6390 |
+
create: updateAttrs,
|
6391 |
+
update: updateAttrs
|
6392 |
+
}
|
6393 |
+
|
6394 |
+
/* */
|
6395 |
+
|
6396 |
+
function updateClass (oldVnode, vnode) {
|
6397 |
+
var el = vnode.elm;
|
6398 |
+
var data = vnode.data;
|
6399 |
+
var oldData = oldVnode.data;
|
6400 |
+
if (
|
6401 |
+
isUndef(data.staticClass) &&
|
6402 |
+
isUndef(data.class) && (
|
6403 |
+
isUndef(oldData) || (
|
6404 |
+
isUndef(oldData.staticClass) &&
|
6405 |
+
isUndef(oldData.class)
|
6406 |
+
)
|
6407 |
+
)
|
6408 |
+
) {
|
6409 |
+
return
|
6410 |
+
}
|
6411 |
+
|
6412 |
+
var cls = genClassForVnode(vnode);
|
6413 |
+
|
6414 |
+
// handle transition classes
|
6415 |
+
var transitionClass = el._transitionClasses;
|
6416 |
+
if (isDef(transitionClass)) {
|
6417 |
+
cls = concat(cls, stringifyClass(transitionClass));
|
6418 |
+
}
|
6419 |
+
|
6420 |
+
// set the class
|
6421 |
+
if (cls !== el._prevClass) {
|
6422 |
+
el.setAttribute('class', cls);
|
6423 |
+
el._prevClass = cls;
|
6424 |
+
}
|
6425 |
+
}
|
6426 |
+
|
6427 |
+
var klass = {
|
6428 |
+
create: updateClass,
|
6429 |
+
update: updateClass
|
6430 |
+
}
|
6431 |
+
|
6432 |
+
/* */
|
6433 |
+
|
6434 |
+
var validDivisionCharRE = /[\w).+\-_$\]]/;
|
6435 |
+
|
6436 |
+
function parseFilters (exp) {
|
6437 |
+
var inSingle = false;
|
6438 |
+
var inDouble = false;
|
6439 |
+
var inTemplateString = false;
|
6440 |
+
var inRegex = false;
|
6441 |
+
var curly = 0;
|
6442 |
+
var square = 0;
|
6443 |
+
var paren = 0;
|
6444 |
+
var lastFilterIndex = 0;
|
6445 |
+
var c, prev, i, expression, filters;
|
6446 |
+
|
6447 |
+
for (i = 0; i < exp.length; i++) {
|
6448 |
+
prev = c;
|
6449 |
+
c = exp.charCodeAt(i);
|
6450 |
+
if (inSingle) {
|
6451 |
+
if (c === 0x27 && prev !== 0x5C) { inSingle = false; }
|
6452 |
+
} else if (inDouble) {
|
6453 |
+
if (c === 0x22 && prev !== 0x5C) { inDouble = false; }
|
6454 |
+
} else if (inTemplateString) {
|
6455 |
+
if (c === 0x60 && prev !== 0x5C) { inTemplateString = false; }
|
6456 |
+
} else if (inRegex) {
|
6457 |
+
if (c === 0x2f && prev !== 0x5C) { inRegex = false; }
|
6458 |
+
} else if (
|
6459 |
+
c === 0x7C && // pipe
|
6460 |
+
exp.charCodeAt(i + 1) !== 0x7C &&
|
6461 |
+
exp.charCodeAt(i - 1) !== 0x7C &&
|
6462 |
+
!curly && !square && !paren
|
6463 |
+
) {
|
6464 |
+
if (expression === undefined) {
|
6465 |
+
// first filter, end of expression
|
6466 |
+
lastFilterIndex = i + 1;
|
6467 |
+
expression = exp.slice(0, i).trim();
|
6468 |
+
} else {
|
6469 |
+
pushFilter();
|
6470 |
+
}
|
6471 |
+
} else {
|
6472 |
+
switch (c) {
|
6473 |
+
case 0x22: inDouble = true; break // "
|
6474 |
+
case 0x27: inSingle = true; break // '
|
6475 |
+
case 0x60: inTemplateString = true; break // `
|
6476 |
+
case 0x28: paren++; break // (
|
6477 |
+
case 0x29: paren--; break // )
|
6478 |
+
case 0x5B: square++; break // [
|
6479 |
+
case 0x5D: square--; break // ]
|
6480 |
+
case 0x7B: curly++; break // {
|
6481 |
+
case 0x7D: curly--; break // }
|
6482 |
+
}
|
6483 |
+
if (c === 0x2f) { // /
|
6484 |
+
var j = i - 1;
|
6485 |
+
var p = (void 0);
|
6486 |
+
// find first non-whitespace prev char
|
6487 |
+
for (; j >= 0; j--) {
|
6488 |
+
p = exp.charAt(j);
|
6489 |
+
if (p !== ' ') { break }
|
6490 |
+
}
|
6491 |
+
if (!p || !validDivisionCharRE.test(p)) {
|
6492 |
+
inRegex = true;
|
6493 |
+
}
|
6494 |
+
}
|
6495 |
+
}
|
6496 |
+
}
|
6497 |
+
|
6498 |
+
if (expression === undefined) {
|
6499 |
+
expression = exp.slice(0, i).trim();
|
6500 |
+
} else if (lastFilterIndex !== 0) {
|
6501 |
+
pushFilter();
|
6502 |
+
}
|
6503 |
+
|
6504 |
+
function pushFilter () {
|
6505 |
+
(filters || (filters = [])).push(exp.slice(lastFilterIndex, i).trim());
|
6506 |
+
lastFilterIndex = i + 1;
|
6507 |
+
}
|
6508 |
+
|
6509 |
+
if (filters) {
|
6510 |
+
for (i = 0; i < filters.length; i++) {
|
6511 |
+
expression = wrapFilter(expression, filters[i]);
|
6512 |
+
}
|
6513 |
+
}
|
6514 |
+
|
6515 |
+
return expression
|
6516 |
+
}
|
6517 |
+
|
6518 |
+
function wrapFilter (exp, filter) {
|
6519 |
+
var i = filter.indexOf('(');
|
6520 |
+
if (i < 0) {
|
6521 |
+
// _f: resolveFilter
|
6522 |
+
return ("_f(\"" + filter + "\")(" + exp + ")")
|
6523 |
+
} else {
|
6524 |
+
var name = filter.slice(0, i);
|
6525 |
+
var args = filter.slice(i + 1);
|
6526 |
+
return ("_f(\"" + name + "\")(" + exp + (args !== ')' ? ',' + args : args))
|
6527 |
+
}
|
6528 |
+
}
|
6529 |
+
|
6530 |
+
/* */
|
6531 |
+
|
6532 |
+
function baseWarn (msg) {
|
6533 |
+
console.error(("[Vue compiler]: " + msg));
|
6534 |
+
}
|
6535 |
+
|
6536 |
+
function pluckModuleFunction (
|
6537 |
+
modules,
|
6538 |
+
key
|
6539 |
+
) {
|
6540 |
+
return modules
|
6541 |
+
? modules.map(function (m) { return m[key]; }).filter(function (_) { return _; })
|
6542 |
+
: []
|
6543 |
+
}
|
6544 |
+
|
6545 |
+
function addProp (el, name, value) {
|
6546 |
+
(el.props || (el.props = [])).push({ name: name, value: value });
|
6547 |
+
el.plain = false;
|
6548 |
+
}
|
6549 |
+
|
6550 |
+
function addAttr (el, name, value) {
|
6551 |
+
(el.attrs || (el.attrs = [])).push({ name: name, value: value });
|
6552 |
+
el.plain = false;
|
6553 |
+
}
|
6554 |
+
|
6555 |
+
// add a raw attr (use this in preTransforms)
|
6556 |
+
function addRawAttr (el, name, value) {
|
6557 |
+
el.attrsMap[name] = value;
|
6558 |
+
el.attrsList.push({ name: name, value: value });
|
6559 |
+
}
|
6560 |
+
|
6561 |
+
function addDirective (
|
6562 |
+
el,
|
6563 |
+
name,
|
6564 |
+
rawName,
|
6565 |
+
value,
|
6566 |
+
arg,
|
6567 |
+
modifiers
|
6568 |
+
) {
|
6569 |
+
(el.directives || (el.directives = [])).push({ name: name, rawName: rawName, value: value, arg: arg, modifiers: modifiers });
|
6570 |
+
el.plain = false;
|
6571 |
+
}
|
6572 |
+
|
6573 |
+
function addHandler (
|
6574 |
+
el,
|
6575 |
+
name,
|
6576 |
+
value,
|
6577 |
+
modifiers,
|
6578 |
+
important,
|
6579 |
+
warn
|
6580 |
+
) {
|
6581 |
+
modifiers = modifiers || emptyObject;
|
6582 |
+
// warn prevent and passive modifier
|
6583 |
+
/* istanbul ignore if */
|
6584 |
+
if (
|
6585 |
+
"development" !== 'production' && warn &&
|
6586 |
+
modifiers.prevent && modifiers.passive
|
6587 |
+
) {
|
6588 |
+
warn(
|
6589 |
+
'passive and prevent can\'t be used together. ' +
|
6590 |
+
'Passive handler can\'t prevent default event.'
|
6591 |
+
);
|
6592 |
+
}
|
6593 |
+
|
6594 |
+
// check capture modifier
|
6595 |
+
if (modifiers.capture) {
|
6596 |
+
delete modifiers.capture;
|
6597 |
+
name = '!' + name; // mark the event as captured
|
6598 |
+
}
|
6599 |
+
if (modifiers.once) {
|
6600 |
+
delete modifiers.once;
|
6601 |
+
name = '~' + name; // mark the event as once
|
6602 |
+
}
|
6603 |
+
/* istanbul ignore if */
|
6604 |
+
if (modifiers.passive) {
|
6605 |
+
delete modifiers.passive;
|
6606 |
+
name = '&' + name; // mark the event as passive
|
6607 |
+
}
|
6608 |
+
|
6609 |
+
// normalize click.right and click.middle since they don't actually fire
|
6610 |
+
// this is technically browser-specific, but at least for now browsers are
|
6611 |
+
// the only target envs that have right/middle clicks.
|
6612 |
+
if (name === 'click') {
|
6613 |
+
if (modifiers.right) {
|
6614 |
+
name = 'contextmenu';
|
6615 |
+
delete modifiers.right;
|
6616 |
+
} else if (modifiers.middle) {
|
6617 |
+
name = 'mouseup';
|
6618 |
+
}
|
6619 |
+
}
|
6620 |
+
|
6621 |
+
var events;
|
6622 |
+
if (modifiers.native) {
|
6623 |
+
delete modifiers.native;
|
6624 |
+
events = el.nativeEvents || (el.nativeEvents = {});
|
6625 |
+
} else {
|
6626 |
+
events = el.events || (el.events = {});
|
6627 |
+
}
|
6628 |
+
|
6629 |
+
var newHandler = {
|
6630 |
+
value: value.trim()
|
6631 |
+
};
|
6632 |
+
if (modifiers !== emptyObject) {
|
6633 |
+
newHandler.modifiers = modifiers;
|
6634 |
+
}
|
6635 |
+
|
6636 |
+
var handlers = events[name];
|
6637 |
+
/* istanbul ignore if */
|
6638 |
+
if (Array.isArray(handlers)) {
|
6639 |
+
important ? handlers.unshift(newHandler) : handlers.push(newHandler);
|
6640 |
+
} else if (handlers) {
|
6641 |
+
events[name] = important ? [newHandler, handlers] : [handlers, newHandler];
|
6642 |
+
} else {
|
6643 |
+
events[name] = newHandler;
|
6644 |
+
}
|
6645 |
+
|
6646 |
+
el.plain = false;
|
6647 |
+
}
|
6648 |
+
|
6649 |
+
function getBindingAttr (
|
6650 |
+
el,
|
6651 |
+
name,
|
6652 |
+
getStatic
|
6653 |
+
) {
|
6654 |
+
var dynamicValue =
|
6655 |
+
getAndRemoveAttr(el, ':' + name) ||
|
6656 |
+
getAndRemoveAttr(el, 'v-bind:' + name);
|
6657 |
+
if (dynamicValue != null) {
|
6658 |
+
return parseFilters(dynamicValue)
|
6659 |
+
} else if (getStatic !== false) {
|
6660 |
+
var staticValue = getAndRemoveAttr(el, name);
|
6661 |
+
if (staticValue != null) {
|
6662 |
+
return JSON.stringify(staticValue)
|
6663 |
+
}
|
6664 |
+
}
|
6665 |
+
}
|
6666 |
+
|
6667 |
+
// note: this only removes the attr from the Array (attrsList) so that it
|
6668 |
+
// doesn't get processed by processAttrs.
|
6669 |
+
// By default it does NOT remove it from the map (attrsMap) because the map is
|
6670 |
+
// needed during codegen.
|
6671 |
+
function getAndRemoveAttr (
|
6672 |
+
el,
|
6673 |
+
name,
|
6674 |
+
removeFromMap
|
6675 |
+
) {
|
6676 |
+
var val;
|
6677 |
+
if ((val = el.attrsMap[name]) != null) {
|
6678 |
+
var list = el.attrsList;
|
6679 |
+
for (var i = 0, l = list.length; i < l; i++) {
|
6680 |
+
if (list[i].name === name) {
|
6681 |
+
list.splice(i, 1);
|
6682 |
+
break
|
6683 |
+
}
|
6684 |
+
}
|
6685 |
+
}
|
6686 |
+
if (removeFromMap) {
|
6687 |
+
delete el.attrsMap[name];
|
6688 |
+
}
|
6689 |
+
return val
|
6690 |
+
}
|
6691 |
+
|
6692 |
+
/* */
|
6693 |
+
|
6694 |
+
/**
|
6695 |
+
* Cross-platform code generation for component v-model
|
6696 |
+
*/
|
6697 |
+
function genComponentModel (
|
6698 |
+
el,
|
6699 |
+
value,
|
6700 |
+
modifiers
|
6701 |
+
) {
|
6702 |
+
var ref = modifiers || {};
|
6703 |
+
var number = ref.number;
|
6704 |
+
var trim = ref.trim;
|
6705 |
+
|
6706 |
+
var baseValueExpression = '$$v';
|
6707 |
+
var valueExpression = baseValueExpression;
|
6708 |
+
if (trim) {
|
6709 |
+
valueExpression =
|
6710 |
+
"(typeof " + baseValueExpression + " === 'string'" +
|
6711 |
+
"? " + baseValueExpression + ".trim()" +
|
6712 |
+
": " + baseValueExpression + ")";
|
6713 |
+
}
|
6714 |
+
if (number) {
|
6715 |
+
valueExpression = "_n(" + valueExpression + ")";
|
6716 |
+
}
|
6717 |
+
var assignment = genAssignmentCode(value, valueExpression);
|
6718 |
+
|
6719 |
+
el.model = {
|
6720 |
+
value: ("(" + value + ")"),
|
6721 |
+
expression: ("\"" + value + "\""),
|
6722 |
+
callback: ("function (" + baseValueExpression + ") {" + assignment + "}")
|
6723 |
+
};
|
6724 |
+
}
|
6725 |
+
|
6726 |
+
/**
|
6727 |
+
* Cross-platform codegen helper for generating v-model value assignment code.
|
6728 |
+
*/
|
6729 |
+
function genAssignmentCode (
|
6730 |
+
value,
|
6731 |
+
assignment
|
6732 |
+
) {
|
6733 |
+
var res = parseModel(value);
|
6734 |
+
if (res.key === null) {
|
6735 |
+
return (value + "=" + assignment)
|
6736 |
+
} else {
|
6737 |
+
return ("$set(" + (res.exp) + ", " + (res.key) + ", " + assignment + ")")
|
6738 |
+
}
|
6739 |
+
}
|
6740 |
+
|
6741 |
+
/**
|
6742 |
+
* Parse a v-model expression into a base path and a final key segment.
|
6743 |
+
* Handles both dot-path and possible square brackets.
|
6744 |
+
*
|
6745 |
+
* Possible cases:
|
6746 |
+
*
|
6747 |
+
* - test
|
6748 |
+
* - test[key]
|
6749 |
+
* - test[test1[key]]
|
6750 |
+
* - test["a"][key]
|
6751 |
+
* - xxx.test[a[a].test1[key]]
|
6752 |
+
* - test.xxx.a["asa"][test1[key]]
|
6753 |
+
*
|
6754 |
+
*/
|
6755 |
+
|
6756 |
+
var len;
|
6757 |
+
var str;
|
6758 |
+
var chr;
|
6759 |
+
var index$1;
|
6760 |
+
var expressionPos;
|
6761 |
+
var expressionEndPos;
|
6762 |
+
|
6763 |
+
|
6764 |
+
|
6765 |
+
function parseModel (val) {
|
6766 |
+
// Fix https://github.com/vuejs/vue/pull/7730
|
6767 |
+
// allow v-model="obj.val " (trailing whitespace)
|
6768 |
+
val = val.trim();
|
6769 |
+
len = val.length;
|
6770 |
+
|
6771 |
+
if (val.indexOf('[') < 0 || val.lastIndexOf(']') < len - 1) {
|
6772 |
+
index$1 = val.lastIndexOf('.');
|
6773 |
+
if (index$1 > -1) {
|
6774 |
+
return {
|
6775 |
+
exp: val.slice(0, index$1),
|
6776 |
+
key: '"' + val.slice(index$1 + 1) + '"'
|
6777 |
+
}
|
6778 |
+
} else {
|
6779 |
+
return {
|
6780 |
+
exp: val,
|
6781 |
+
key: null
|
6782 |
+
}
|
6783 |
+
}
|
6784 |
+
}
|
6785 |
+
|
6786 |
+
str = val;
|
6787 |
+
index$1 = expressionPos = expressionEndPos = 0;
|
6788 |
+
|
6789 |
+
while (!eof()) {
|
6790 |
+
chr = next();
|
6791 |
+
/* istanbul ignore if */
|
6792 |
+
if (isStringStart(chr)) {
|
6793 |
+
parseString(chr);
|
6794 |
+
} else if (chr === 0x5B) {
|
6795 |
+
parseBracket(chr);
|
6796 |
+
}
|
6797 |
+
}
|
6798 |
+
|
6799 |
+
return {
|
6800 |
+
exp: val.slice(0, expressionPos),
|
6801 |
+
key: val.slice(expressionPos + 1, expressionEndPos)
|
6802 |
+
}
|
6803 |
+
}
|
6804 |
+
|
6805 |
+
function next () {
|
6806 |
+
return str.charCodeAt(++index$1)
|
6807 |
+
}
|
6808 |
+
|
6809 |
+
function eof () {
|
6810 |
+
return index$1 >= len
|
6811 |
+
}
|
6812 |
+
|
6813 |
+
function isStringStart (chr) {
|
6814 |
+
return chr === 0x22 || chr === 0x27
|
6815 |
+
}
|
6816 |
+
|
6817 |
+
function parseBracket (chr) {
|
6818 |
+
var inBracket = 1;
|
6819 |
+
expressionPos = index$1;
|
6820 |
+
while (!eof()) {
|
6821 |
+
chr = next();
|
6822 |
+
if (isStringStart(chr)) {
|
6823 |
+
parseString(chr);
|
6824 |
+
continue
|
6825 |
+
}
|
6826 |
+
if (chr === 0x5B) { inBracket++; }
|
6827 |
+
if (chr === 0x5D) { inBracket--; }
|
6828 |
+
if (inBracket === 0) {
|
6829 |
+
expressionEndPos = index$1;
|
6830 |
+
break
|
6831 |
+
}
|
6832 |
+
}
|
6833 |
+
}
|
6834 |
+
|
6835 |
+
function parseString (chr) {
|
6836 |
+
var stringQuote = chr;
|
6837 |
+
while (!eof()) {
|
6838 |
+
chr = next();
|
6839 |
+
if (chr === stringQuote) {
|
6840 |
+
break
|
6841 |
+
}
|
6842 |
+
}
|
6843 |
+
}
|
6844 |
+
|
6845 |
+
/* */
|
6846 |
+
|
6847 |
+
var warn$1;
|
6848 |
+
|
6849 |
+
// in some cases, the event used has to be determined at runtime
|
6850 |
+
// so we used some reserved tokens during compile.
|
6851 |
+
var RANGE_TOKEN = '__r';
|
6852 |
+
var CHECKBOX_RADIO_TOKEN = '__c';
|
6853 |
+
|
6854 |
+
function model (
|
6855 |
+
el,
|
6856 |
+
dir,
|
6857 |
+
_warn
|
6858 |
+
) {
|
6859 |
+
warn$1 = _warn;
|
6860 |
+
var value = dir.value;
|
6861 |
+
var modifiers = dir.modifiers;
|
6862 |
+
var tag = el.tag;
|
6863 |
+
var type = el.attrsMap.type;
|
6864 |
+
|
6865 |
+
{
|
6866 |
+
// inputs with type="file" are read only and setting the input's
|
6867 |
+
// value will throw an error.
|
6868 |
+
if (tag === 'input' && type === 'file') {
|
6869 |
+
warn$1(
|
6870 |
+
"<" + (el.tag) + " v-model=\"" + value + "\" type=\"file\">:\n" +
|
6871 |
+
"File inputs are read only. Use a v-on:change listener instead."
|
6872 |
+
);
|
6873 |
+
}
|
6874 |
+
}
|
6875 |
+
|
6876 |
+
if (el.component) {
|
6877 |
+
genComponentModel(el, value, modifiers);
|
6878 |
+
// component v-model doesn't need extra runtime
|
6879 |
+
return false
|
6880 |
+
} else if (tag === 'select') {
|
6881 |
+
genSelect(el, value, modifiers);
|
6882 |
+
} else if (tag === 'input' && type === 'checkbox') {
|
6883 |
+
genCheckboxModel(el, value, modifiers);
|
6884 |
+
} else if (tag === 'input' && type === 'radio') {
|
6885 |
+
genRadioModel(el, value, modifiers);
|
6886 |
+
} else if (tag === 'input' || tag === 'textarea') {
|
6887 |
+
genDefaultModel(el, value, modifiers);
|
6888 |
+
} else if (!config.isReservedTag(tag)) {
|
6889 |
+
genComponentModel(el, value, modifiers);
|
6890 |
+
// component v-model doesn't need extra runtime
|
6891 |
+
return false
|
6892 |
+
} else {
|
6893 |
+
warn$1(
|
6894 |
+
"<" + (el.tag) + " v-model=\"" + value + "\">: " +
|
6895 |
+
"v-model is not supported on this element type. " +
|
6896 |
+
'If you are working with contenteditable, it\'s recommended to ' +
|
6897 |
+
'wrap a library dedicated for that purpose inside a custom component.'
|
6898 |
+
);
|
6899 |
+
}
|
6900 |
+
|
6901 |
+
// ensure runtime directive metadata
|
6902 |
+
return true
|
6903 |
+
}
|
6904 |
+
|
6905 |
+
function genCheckboxModel (
|
6906 |
+
el,
|
6907 |
+
value,
|
6908 |
+
modifiers
|
6909 |
+
) {
|
6910 |
+
var number = modifiers && modifiers.number;
|
6911 |
+
var valueBinding = getBindingAttr(el, 'value') || 'null';
|
6912 |
+
var trueValueBinding = getBindingAttr(el, 'true-value') || 'true';
|
6913 |
+
var falseValueBinding = getBindingAttr(el, 'false-value') || 'false';
|
6914 |
+
addProp(el, 'checked',
|
6915 |
+
"Array.isArray(" + value + ")" +
|
6916 |
+
"?_i(" + value + "," + valueBinding + ")>-1" + (
|
6917 |
+
trueValueBinding === 'true'
|
6918 |
+
? (":(" + value + ")")
|
6919 |
+
: (":_q(" + value + "," + trueValueBinding + ")")
|
6920 |
+
)
|
6921 |
+
);
|
6922 |
+
addHandler(el, 'change',
|
6923 |
+
"var $$a=" + value + "," +
|
6924 |
+
'$$el=$event.target,' +
|
6925 |
+
"$$c=$$el.checked?(" + trueValueBinding + "):(" + falseValueBinding + ");" +
|
6926 |
+
'if(Array.isArray($$a)){' +
|
6927 |
+
"var $$v=" + (number ? '_n(' + valueBinding + ')' : valueBinding) + "," +
|
6928 |
+
'$$i=_i($$a,$$v);' +
|
6929 |
+
"if($$el.checked){$$i<0&&(" + (genAssignmentCode(value, '$$a.concat([$$v])')) + ")}" +
|
6930 |
+
"else{$$i>-1&&(" + (genAssignmentCode(value, '$$a.slice(0,$$i).concat($$a.slice($$i+1))')) + ")}" +
|
6931 |
+
"}else{" + (genAssignmentCode(value, '$$c')) + "}",
|
6932 |
+
null, true
|
6933 |
+
);
|
6934 |
+
}
|
6935 |
+
|
6936 |
+
function genRadioModel (
|
6937 |
+
el,
|
6938 |
+
value,
|
6939 |
+
modifiers
|
6940 |
+
) {
|
6941 |
+
var number = modifiers && modifiers.number;
|
6942 |
+
var valueBinding = getBindingAttr(el, 'value') || 'null';
|
6943 |
+
valueBinding = number ? ("_n(" + valueBinding + ")") : valueBinding;
|
6944 |
+
addProp(el, 'checked', ("_q(" + value + "," + valueBinding + ")"));
|
6945 |
+
addHandler(el, 'change', genAssignmentCode(value, valueBinding), null, true);
|
6946 |
+
}
|
6947 |
+
|
6948 |
+
function genSelect (
|
6949 |
+
el,
|
6950 |
+
value,
|
6951 |
+
modifiers
|
6952 |
+
) {
|
6953 |
+
var number = modifiers && modifiers.number;
|
6954 |
+
var selectedVal = "Array.prototype.filter" +
|
6955 |
+
".call($event.target.options,function(o){return o.selected})" +
|
6956 |
+
".map(function(o){var val = \"_value\" in o ? o._value : o.value;" +
|
6957 |
+
"return " + (number ? '_n(val)' : 'val') + "})";
|
6958 |
+
|
6959 |
+
var assignment = '$event.target.multiple ? $$selectedVal : $$selectedVal[0]';
|
6960 |
+
var code = "var $$selectedVal = " + selectedVal + ";";
|
6961 |
+
code = code + " " + (genAssignmentCode(value, assignment));
|
6962 |
+
addHandler(el, 'change', code, null, true);
|
6963 |
+
}
|
6964 |
+
|
6965 |
+
function genDefaultModel (
|
6966 |
+
el,
|
6967 |
+
value,
|
6968 |
+
modifiers
|
6969 |
+
) {
|
6970 |
+
var type = el.attrsMap.type;
|
6971 |
+
|
6972 |
+
// warn if v-bind:value conflicts with v-model
|
6973 |
+
// except for inputs with v-bind:type
|
6974 |
+
{
|
6975 |
+
var value$1 = el.attrsMap['v-bind:value'] || el.attrsMap[':value'];
|
6976 |
+
var typeBinding = el.attrsMap['v-bind:type'] || el.attrsMap[':type'];
|
6977 |
+
if (value$1 && !typeBinding) {
|
6978 |
+
var binding = el.attrsMap['v-bind:value'] ? 'v-bind:value' : ':value';
|
6979 |
+
warn$1(
|
6980 |
+
binding + "=\"" + value$1 + "\" conflicts with v-model on the same element " +
|
6981 |
+
'because the latter already expands to a value binding internally'
|
6982 |
+
);
|
6983 |
+
}
|
6984 |
+
}
|
6985 |
+
|
6986 |
+
var ref = modifiers || {};
|
6987 |
+
var lazy = ref.lazy;
|
6988 |
+
var number = ref.number;
|
6989 |
+
var trim = ref.trim;
|
6990 |
+
var needCompositionGuard = !lazy && type !== 'range';
|
6991 |
+
var event = lazy
|
6992 |
+
? 'change'
|
6993 |
+
: type === 'range'
|
6994 |
+
? RANGE_TOKEN
|
6995 |
+
: 'input';
|
6996 |
+
|
6997 |
+
var valueExpression = '$event.target.value';
|
6998 |
+
if (trim) {
|
6999 |
+
valueExpression = "$event.target.value.trim()";
|
7000 |
+
}
|
7001 |
+
if (number) {
|
7002 |
+
valueExpression = "_n(" + valueExpression + ")";
|
7003 |
+
}
|
7004 |
+
|
7005 |
+
var code = genAssignmentCode(value, valueExpression);
|
7006 |
+
if (needCompositionGuard) {
|
7007 |
+
code = "if($event.target.composing)return;" + code;
|
7008 |
+
}
|
7009 |
+
|
7010 |
+
addProp(el, 'value', ("(" + value + ")"));
|
7011 |
+
addHandler(el, event, code, null, true);
|
7012 |
+
if (trim || number) {
|
7013 |
+
addHandler(el, 'blur', '$forceUpdate()');
|
7014 |
+
}
|
7015 |
+
}
|
7016 |
+
|
7017 |
+
/* */
|
7018 |
+
|
7019 |
+
// normalize v-model event tokens that can only be determined at runtime.
|
7020 |
+
// it's important to place the event as the first in the array because
|
7021 |
+
// the whole point is ensuring the v-model callback gets called before
|
7022 |
+
// user-attached handlers.
|
7023 |
+
function normalizeEvents (on) {
|
7024 |
+
/* istanbul ignore if */
|
7025 |
+
if (isDef(on[RANGE_TOKEN])) {
|
7026 |
+
// IE input[type=range] only supports `change` event
|
7027 |
+
var event = isIE ? 'change' : 'input';
|
7028 |
+
on[event] = [].concat(on[RANGE_TOKEN], on[event] || []);
|
7029 |
+
delete on[RANGE_TOKEN];
|
7030 |
+
}
|
7031 |
+
// This was originally intended to fix #4521 but no longer necessary
|
7032 |
+
// after 2.5. Keeping it for backwards compat with generated code from < 2.4
|
7033 |
+
/* istanbul ignore if */
|
7034 |
+
if (isDef(on[CHECKBOX_RADIO_TOKEN])) {
|
7035 |
+
on.change = [].concat(on[CHECKBOX_RADIO_TOKEN], on.change || []);
|
7036 |
+
delete on[CHECKBOX_RADIO_TOKEN];
|
7037 |
+
}
|
7038 |
+
}
|
7039 |
+
|
7040 |
+
var target$1;
|
7041 |
+
|
7042 |
+
function createOnceHandler (handler, event, capture) {
|
7043 |
+
var _target = target$1; // save current target element in closure
|
7044 |
+
return function onceHandler () {
|
7045 |
+
var res = handler.apply(null, arguments);
|
7046 |
+
if (res !== null) {
|
7047 |
+
remove$2(event, onceHandler, capture, _target);
|
7048 |
+
}
|
7049 |
+
}
|
7050 |
+
}
|
7051 |
+
|
7052 |
+
function add$1 (
|
7053 |
+
event,
|
7054 |
+
handler,
|
7055 |
+
once$$1,
|
7056 |
+
capture,
|
7057 |
+
passive
|
7058 |
+
) {
|
7059 |
+
handler = withMacroTask(handler);
|
7060 |
+
if (once$$1) { handler = createOnceHandler(handler, event, capture); }
|
7061 |
+
target$1.addEventListener(
|
7062 |
+
event,
|
7063 |
+
handler,
|
7064 |
+
supportsPassive
|
7065 |
+
? { capture: capture, passive: passive }
|
7066 |
+
: capture
|
7067 |
+
);
|
7068 |
+
}
|
7069 |
+
|
7070 |
+
function remove$2 (
|
7071 |
+
event,
|
7072 |
+
handler,
|
7073 |
+
capture,
|
7074 |
+
_target
|
7075 |
+
) {
|
7076 |
+
(_target || target$1).removeEventListener(
|
7077 |
+
event,
|
7078 |
+
handler._withTask || handler,
|
7079 |
+
capture
|
7080 |
+
);
|
7081 |
+
}
|
7082 |
+
|
7083 |
+
function updateDOMListeners (oldVnode, vnode) {
|
7084 |
+
if (isUndef(oldVnode.data.on) && isUndef(vnode.data.on)) {
|
7085 |
+
return
|
7086 |
+
}
|
7087 |
+
var on = vnode.data.on || {};
|
7088 |
+
var oldOn = oldVnode.data.on || {};
|
7089 |
+
target$1 = vnode.elm;
|
7090 |
+
normalizeEvents(on);
|
7091 |
+
updateListeners(on, oldOn, add$1, remove$2, vnode.context);
|
7092 |
+
target$1 = undefined;
|
7093 |
+
}
|
7094 |
+
|
7095 |
+
var events = {
|
7096 |
+
create: updateDOMListeners,
|
7097 |
+
update: updateDOMListeners
|
7098 |
+
}
|
7099 |
+
|
7100 |
+
/* */
|
7101 |
+
|
7102 |
+
function updateDOMProps (oldVnode, vnode) {
|
7103 |
+
if (isUndef(oldVnode.data.domProps) && isUndef(vnode.data.domProps)) {
|
7104 |
+
return
|
7105 |
+
}
|
7106 |
+
var key, cur;
|
7107 |
+
var elm = vnode.elm;
|
7108 |
+
var oldProps = oldVnode.data.domProps || {};
|
7109 |
+
var props = vnode.data.domProps || {};
|
7110 |
+
// clone observed objects, as the user probably wants to mutate it
|
7111 |
+
if (isDef(props.__ob__)) {
|
7112 |
+
props = vnode.data.domProps = extend({}, props);
|
7113 |
+
}
|
7114 |
+
|
7115 |
+
for (key in oldProps) {
|
7116 |
+
if (isUndef(props[key])) {
|
7117 |
+
elm[key] = '';
|
7118 |
+
}
|
7119 |
+
}
|
7120 |
+
for (key in props) {
|
7121 |
+
cur = props[key];
|
7122 |
+
// ignore children if the node has textContent or innerHTML,
|
7123 |
+
// as these will throw away existing DOM nodes and cause removal errors
|
7124 |
+
// on subsequent patches (#3360)
|
7125 |
+
if (key === 'textContent' || key === 'innerHTML') {
|
7126 |
+
if (vnode.children) { vnode.children.length = 0; }
|
7127 |
+
if (cur === oldProps[key]) { continue }
|
7128 |
+
// #6601 work around Chrome version <= 55 bug where single textNode
|
7129 |
+
// replaced by innerHTML/textContent retains its parentNode property
|
7130 |
+
if (elm.childNodes.length === 1) {
|
7131 |
+
elm.removeChild(elm.childNodes[0]);
|
7132 |
+
}
|
7133 |
+
}
|
7134 |
+
|
7135 |
+
if (key === 'value') {
|
7136 |
+
// store value as _value as well since
|
7137 |
+
// non-string values will be stringified
|
7138 |
+
elm._value = cur;
|
7139 |
+
// avoid resetting cursor position when value is the same
|
7140 |
+
var strCur = isUndef(cur) ? '' : String(cur);
|
7141 |
+
if (shouldUpdateValue(elm, strCur)) {
|
7142 |
+
elm.value = strCur;
|
7143 |
+
}
|
7144 |
+
} else {
|
7145 |
+
elm[key] = cur;
|
7146 |
+
}
|
7147 |
+
}
|
7148 |
+
}
|
7149 |
+
|
7150 |
+
// check platforms/web/util/attrs.js acceptValue
|
7151 |
+
|
7152 |
+
|
7153 |
+
function shouldUpdateValue (elm, checkVal) {
|
7154 |
+
return (!elm.composing && (
|
7155 |
+
elm.tagName === 'OPTION' ||
|
7156 |
+
isNotInFocusAndDirty(elm, checkVal) ||
|
7157 |
+
isDirtyWithModifiers(elm, checkVal)
|
7158 |
+
))
|
7159 |
+
}
|
7160 |
+
|
7161 |
+
function isNotInFocusAndDirty (elm, checkVal) {
|
7162 |
+
// return true when textbox (.number and .trim) loses focus and its value is
|
7163 |
+
// not equal to the updated value
|
7164 |
+
var notInFocus = true;
|
7165 |
+
// #6157
|
7166 |
+
// work around IE bug when accessing document.activeElement in an iframe
|
7167 |
+
try { notInFocus = document.activeElement !== elm; } catch (e) {}
|
7168 |
+
return notInFocus && elm.value !== checkVal
|
7169 |
+
}
|
7170 |
+
|
7171 |
+
function isDirtyWithModifiers (elm, newVal) {
|
7172 |
+
var value = elm.value;
|
7173 |
+
var modifiers = elm._vModifiers; // injected by v-model runtime
|
7174 |
+
if (isDef(modifiers)) {
|
7175 |
+
if (modifiers.lazy) {
|
7176 |
+
// inputs with lazy should only be updated when not in focus
|
7177 |
+
return false
|
7178 |
+
}
|
7179 |
+
if (modifiers.number) {
|
7180 |
+
return toNumber(value) !== toNumber(newVal)
|
7181 |
+
}
|
7182 |
+
if (modifiers.trim) {
|
7183 |
+
return value.trim() !== newVal.trim()
|
7184 |
+
}
|
7185 |
+
}
|
7186 |
+
return value !== newVal
|
7187 |
+
}
|
7188 |
+
|
7189 |
+
var domProps = {
|
7190 |
+
create: updateDOMProps,
|
7191 |
+
update: updateDOMProps
|
7192 |
+
}
|
7193 |
+
|
7194 |
+
/* */
|
7195 |
+
|
7196 |
+
var parseStyleText = cached(function (cssText) {
|
7197 |
+
var res = {};
|
7198 |
+
var listDelimiter = /;(?![^(]*\))/g;
|
7199 |
+
var propertyDelimiter = /:(.+)/;
|
7200 |
+
cssText.split(listDelimiter).forEach(function (item) {
|
7201 |
+
if (item) {
|
7202 |
+
var tmp = item.split(propertyDelimiter);
|
7203 |
+
tmp.length > 1 && (res[tmp[0].trim()] = tmp[1].trim());
|
7204 |
+
}
|
7205 |
+
});
|
7206 |
+
return res
|
7207 |
+
});
|
7208 |
+
|
7209 |
+
// merge static and dynamic style data on the same vnode
|
7210 |
+
function normalizeStyleData (data) {
|
7211 |
+
var style = normalizeStyleBinding(data.style);
|
7212 |
+
// static style is pre-processed into an object during compilation
|
7213 |
+
// and is always a fresh object, so it's safe to merge into it
|
7214 |
+
return data.staticStyle
|
7215 |
+
? extend(data.staticStyle, style)
|
7216 |
+
: style
|
7217 |
+
}
|
7218 |
+
|
7219 |
+
// normalize possible array / string values into Object
|
7220 |
+
function normalizeStyleBinding (bindingStyle) {
|
7221 |
+
if (Array.isArray(bindingStyle)) {
|
7222 |
+
return toObject(bindingStyle)
|
7223 |
+
}
|
7224 |
+
if (typeof bindingStyle === 'string') {
|
7225 |
+
return parseStyleText(bindingStyle)
|
7226 |
+
}
|
7227 |
+
return bindingStyle
|
7228 |
+
}
|
7229 |
+
|
7230 |
+
/**
|
7231 |
+
* parent component style should be after child's
|
7232 |
+
* so that parent component's style could override it
|
7233 |
+
*/
|
7234 |
+
function getStyle (vnode, checkChild) {
|
7235 |
+
var res = {};
|
7236 |
+
var styleData;
|
7237 |
+
|
7238 |
+
if (checkChild) {
|
7239 |
+
var childNode = vnode;
|
7240 |
+
while (childNode.componentInstance) {
|
7241 |
+
childNode = childNode.componentInstance._vnode;
|
7242 |
+
if (
|
7243 |
+
childNode && childNode.data &&
|
7244 |
+
(styleData = normalizeStyleData(childNode.data))
|
7245 |
+
) {
|
7246 |
+
extend(res, styleData);
|
7247 |
+
}
|
7248 |
+
}
|
7249 |
+
}
|
7250 |
+
|
7251 |
+
if ((styleData = normalizeStyleData(vnode.data))) {
|
7252 |
+
extend(res, styleData);
|
7253 |
+
}
|
7254 |
+
|
7255 |
+
var parentNode = vnode;
|
7256 |
+
while ((parentNode = parentNode.parent)) {
|
7257 |
+
if (parentNode.data && (styleData = normalizeStyleData(parentNode.data))) {
|
7258 |
+
extend(res, styleData);
|
7259 |
+
}
|
7260 |
+
}
|
7261 |
+
return res
|
7262 |
+
}
|
7263 |
+
|
7264 |
+
/* */
|
7265 |
+
|
7266 |
+
var cssVarRE = /^--/;
|
7267 |
+
var importantRE = /\s*!important$/;
|
7268 |
+
var setProp = function (el, name, val) {
|
7269 |
+
/* istanbul ignore if */
|
7270 |
+
if (cssVarRE.test(name)) {
|
7271 |
+
el.style.setProperty(name, val);
|
7272 |
+
} else if (importantRE.test(val)) {
|
7273 |
+
el.style.setProperty(name, val.replace(importantRE, ''), 'important');
|
7274 |
+
} else {
|
7275 |
+
var normalizedName = normalize(name);
|
7276 |
+
if (Array.isArray(val)) {
|
7277 |
+
// Support values array created by autoprefixer, e.g.
|
7278 |
+
// {display: ["-webkit-box", "-ms-flexbox", "flex"]}
|
7279 |
+
// Set them one by one, and the browser will only set those it can recognize
|
7280 |
+
for (var i = 0, len = val.length; i < len; i++) {
|
7281 |
+
el.style[normalizedName] = val[i];
|
7282 |
+
}
|
7283 |
+
} else {
|
7284 |
+
el.style[normalizedName] = val;
|
7285 |
+
}
|
7286 |
+
}
|
7287 |
+
};
|
7288 |
+
|
7289 |
+
var vendorNames = ['Webkit', 'Moz', 'ms'];
|
7290 |
+
|
7291 |
+
var emptyStyle;
|
7292 |
+
var normalize = cached(function (prop) {
|
7293 |
+
emptyStyle = emptyStyle || document.createElement('div').style;
|
7294 |
+
prop = camelize(prop);
|
7295 |
+
if (prop !== 'filter' && (prop in emptyStyle)) {
|
7296 |
+
return prop
|
7297 |
+
}
|
7298 |
+
var capName = prop.charAt(0).toUpperCase() + prop.slice(1);
|
7299 |
+
for (var i = 0; i < vendorNames.length; i++) {
|
7300 |
+
var name = vendorNames[i] + capName;
|
7301 |
+
if (name in emptyStyle) {
|
7302 |
+
return name
|
7303 |
+
}
|
7304 |
+
}
|
7305 |
+
});
|
7306 |
+
|
7307 |
+
function updateStyle (oldVnode, vnode) {
|
7308 |
+
var data = vnode.data;
|
7309 |
+
var oldData = oldVnode.data;
|
7310 |
+
|
7311 |
+
if (isUndef(data.staticStyle) && isUndef(data.style) &&
|
7312 |
+
isUndef(oldData.staticStyle) && isUndef(oldData.style)
|
7313 |
+
) {
|
7314 |
+
return
|
7315 |
+
}
|
7316 |
+
|
7317 |
+
var cur, name;
|
7318 |
+
var el = vnode.elm;
|
7319 |
+
var oldStaticStyle = oldData.staticStyle;
|
7320 |
+
var oldStyleBinding = oldData.normalizedStyle || oldData.style || {};
|
7321 |
+
|
7322 |
+
// if static style exists, stylebinding already merged into it when doing normalizeStyleData
|
7323 |
+
var oldStyle = oldStaticStyle || oldStyleBinding;
|
7324 |
+
|
7325 |
+
var style = normalizeStyleBinding(vnode.data.style) || {};
|
7326 |
+
|
7327 |
+
// store normalized style under a different key for next diff
|
7328 |
+
// make sure to clone it if it's reactive, since the user likely wants
|
7329 |
+
// to mutate it.
|
7330 |
+
vnode.data.normalizedStyle = isDef(style.__ob__)
|
7331 |
+
? extend({}, style)
|
7332 |
+
: style;
|
7333 |
+
|
7334 |
+
var newStyle = getStyle(vnode, true);
|
7335 |
+
|
7336 |
+
for (name in oldStyle) {
|
7337 |
+
if (isUndef(newStyle[name])) {
|
7338 |
+
setProp(el, name, '');
|
7339 |
+
}
|
7340 |
+
}
|
7341 |
+
for (name in newStyle) {
|
7342 |
+
cur = newStyle[name];
|
7343 |
+
if (cur !== oldStyle[name]) {
|
7344 |
+
// ie9 setting to null has no effect, must use empty string
|
7345 |
+
setProp(el, name, cur == null ? '' : cur);
|
7346 |
+
}
|
7347 |
+
}
|
7348 |
+
}
|
7349 |
+
|
7350 |
+
var style = {
|
7351 |
+
create: updateStyle,
|
7352 |
+
update: updateStyle
|
7353 |
+
}
|
7354 |
+
|
7355 |
+
/* */
|
7356 |
+
|
7357 |
+
/**
|
7358 |
+
* Add class with compatibility for SVG since classList is not supported on
|
7359 |
+
* SVG elements in IE
|
7360 |
+
*/
|
7361 |
+
function addClass (el, cls) {
|
7362 |
+
/* istanbul ignore if */
|
7363 |
+
if (!cls || !(cls = cls.trim())) {
|
7364 |
+
return
|
7365 |
+
}
|
7366 |
+
|
7367 |
+
/* istanbul ignore else */
|
7368 |
+
if (el.classList) {
|
7369 |
+
if (cls.indexOf(' ') > -1) {
|
7370 |
+
cls.split(/\s+/).forEach(function (c) { return el.classList.add(c); });
|
7371 |
+
} else {
|
7372 |
+
el.classList.add(cls);
|
7373 |
+
}
|
7374 |
+
} else {
|
7375 |
+
var cur = " " + (el.getAttribute('class') || '') + " ";
|
7376 |
+
if (cur.indexOf(' ' + cls + ' ') < 0) {
|
7377 |
+
el.setAttribute('class', (cur + cls).trim());
|
7378 |
+
}
|
7379 |
+
}
|
7380 |
+
}
|
7381 |
+
|
7382 |
+
/**
|
7383 |
+
* Remove class with compatibility for SVG since classList is not supported on
|
7384 |
+
* SVG elements in IE
|
7385 |
+
*/
|
7386 |
+
function removeClass (el, cls) {
|
7387 |
+
/* istanbul ignore if */
|
7388 |
+
if (!cls || !(cls = cls.trim())) {
|
7389 |
+
return
|
7390 |
+
}
|
7391 |
+
|
7392 |
+
/* istanbul ignore else */
|
7393 |
+
if (el.classList) {
|
7394 |
+
if (cls.indexOf(' ') > -1) {
|
7395 |
+
cls.split(/\s+/).forEach(function (c) { return el.classList.remove(c); });
|
7396 |
+
} else {
|
7397 |
+
el.classList.remove(cls);
|
7398 |
+
}
|
7399 |
+
if (!el.classList.length) {
|
7400 |
+
el.removeAttribute('class');
|
7401 |
+
}
|
7402 |
+
} else {
|
7403 |
+
var cur = " " + (el.getAttribute('class') || '') + " ";
|
7404 |
+
var tar = ' ' + cls + ' ';
|
7405 |
+
while (cur.indexOf(tar) >= 0) {
|
7406 |
+
cur = cur.replace(tar, ' ');
|
7407 |
+
}
|
7408 |
+
cur = cur.trim();
|
7409 |
+
if (cur) {
|
7410 |
+
el.setAttribute('class', cur);
|
7411 |
+
} else {
|
7412 |
+
el.removeAttribute('class');
|
7413 |
+
}
|
7414 |
+
}
|
7415 |
+
}
|
7416 |
+
|
7417 |
+
/* */
|
7418 |
+
|
7419 |
+
function resolveTransition (def) {
|
7420 |
+
if (!def) {
|
7421 |
+
return
|
7422 |
+
}
|
7423 |
+
/* istanbul ignore else */
|
7424 |
+
if (typeof def === 'object') {
|
7425 |
+
var res = {};
|
7426 |
+
if (def.css !== false) {
|
7427 |
+
extend(res, autoCssTransition(def.name || 'v'));
|
7428 |
+
}
|
7429 |
+
extend(res, def);
|
7430 |
+
return res
|
7431 |
+
} else if (typeof def === 'string') {
|
7432 |
+
return autoCssTransition(def)
|
7433 |
+
}
|
7434 |
+
}
|
7435 |
+
|
7436 |
+
var autoCssTransition = cached(function (name) {
|
7437 |
+
return {
|
7438 |
+
enterClass: (name + "-enter"),
|
7439 |
+
enterToClass: (name + "-enter-to"),
|
7440 |
+
enterActiveClass: (name + "-enter-active"),
|
7441 |
+
leaveClass: (name + "-leave"),
|
7442 |
+
leaveToClass: (name + "-leave-to"),
|
7443 |
+
leaveActiveClass: (name + "-leave-active")
|
7444 |
+
}
|
7445 |
+
});
|
7446 |
+
|
7447 |
+
var hasTransition = inBrowser && !isIE9;
|
7448 |
+
var TRANSITION = 'transition';
|
7449 |
+
var ANIMATION = 'animation';
|
7450 |
+
|
7451 |
+
// Transition property/event sniffing
|
7452 |
+
var transitionProp = 'transition';
|
7453 |
+
var transitionEndEvent = 'transitionend';
|
7454 |
+
var animationProp = 'animation';
|
7455 |
+
var animationEndEvent = 'animationend';
|
7456 |
+
if (hasTransition) {
|
7457 |
+
/* istanbul ignore if */
|
7458 |
+
if (window.ontransitionend === undefined &&
|
7459 |
+
window.onwebkittransitionend !== undefined
|
7460 |
+
) {
|
7461 |
+
transitionProp = 'WebkitTransition';
|
7462 |
+
transitionEndEvent = 'webkitTransitionEnd';
|
7463 |
+
}
|
7464 |
+
if (window.onanimationend === undefined &&
|
7465 |
+
window.onwebkitanimationend !== undefined
|
7466 |
+
) {
|
7467 |
+
animationProp = 'WebkitAnimation';
|
7468 |
+
animationEndEvent = 'webkitAnimationEnd';
|
7469 |
+
}
|
7470 |
+
}
|
7471 |
+
|
7472 |
+
// binding to window is necessary to make hot reload work in IE in strict mode
|
7473 |
+
var raf = inBrowser
|
7474 |
+
? window.requestAnimationFrame
|
7475 |
+
? window.requestAnimationFrame.bind(window)
|
7476 |
+
: setTimeout
|
7477 |
+
: /* istanbul ignore next */ function (fn) { return fn(); };
|
7478 |
+
|
7479 |
+
function nextFrame (fn) {
|
7480 |
+
raf(function () {
|
7481 |
+
raf(fn);
|
7482 |
+
});
|
7483 |
+
}
|
7484 |
+
|
7485 |
+
function addTransitionClass (el, cls) {
|
7486 |
+
var transitionClasses = el._transitionClasses || (el._transitionClasses = []);
|
7487 |
+
if (transitionClasses.indexOf(cls) < 0) {
|
7488 |
+
transitionClasses.push(cls);
|
7489 |
+
addClass(el, cls);
|
7490 |
+
}
|
7491 |
+
}
|
7492 |
+
|
7493 |
+
function removeTransitionClass (el, cls) {
|
7494 |
+
if (el._transitionClasses) {
|
7495 |
+
remove(el._transitionClasses, cls);
|
7496 |
+
}
|
7497 |
+
removeClass(el, cls);
|
7498 |
+
}
|
7499 |
+
|
7500 |
+
function whenTransitionEnds (
|
7501 |
+
el,
|
7502 |
+
expectedType,
|
7503 |
+
cb
|
7504 |
+
) {
|
7505 |
+
var ref = getTransitionInfo(el, expectedType);
|
7506 |
+
var type = ref.type;
|
7507 |
+
var timeout = ref.timeout;
|
7508 |
+
var propCount = ref.propCount;
|
7509 |
+
if (!type) { return cb() }
|
7510 |
+
var event = type === TRANSITION ? transitionEndEvent : animationEndEvent;
|
7511 |
+
var ended = 0;
|
7512 |
+
var end = function () {
|
7513 |
+
el.removeEventListener(event, onEnd);
|
7514 |
+
cb();
|
7515 |
+
};
|
7516 |
+
var onEnd = function (e) {
|
7517 |
+
if (e.target === el) {
|
7518 |
+
if (++ended >= propCount) {
|
7519 |
+
end();
|
7520 |
+
}
|
7521 |
+
}
|
7522 |
+
};
|
7523 |
+
setTimeout(function () {
|
7524 |
+
if (ended < propCount) {
|
7525 |
+
end();
|
7526 |
+
}
|
7527 |
+
}, timeout + 1);
|
7528 |
+
el.addEventListener(event, onEnd);
|
7529 |
+
}
|
7530 |
+
|
7531 |
+
var transformRE = /\b(transform|all)(,|$)/;
|
7532 |
+
|
7533 |
+
function getTransitionInfo (el, expectedType) {
|
7534 |
+
var styles = window.getComputedStyle(el);
|
7535 |
+
var transitionDelays = styles[transitionProp + 'Delay'].split(', ');
|
7536 |
+
var transitionDurations = styles[transitionProp + 'Duration'].split(', ');
|
7537 |
+
var transitionTimeout = getTimeout(transitionDelays, transitionDurations);
|
7538 |
+
var animationDelays = styles[animationProp + 'Delay'].split(', ');
|
7539 |
+
var animationDurations = styles[animationProp + 'Duration'].split(', ');
|
7540 |
+
var animationTimeout = getTimeout(animationDelays, animationDurations);
|
7541 |
+
|
7542 |
+
var type;
|
7543 |
+
var timeout = 0;
|
7544 |
+
var propCount = 0;
|
7545 |
+
/* istanbul ignore if */
|
7546 |
+
if (expectedType === TRANSITION) {
|
7547 |
+
if (transitionTimeout > 0) {
|
7548 |
+
type = TRANSITION;
|
7549 |
+
timeout = transitionTimeout;
|
7550 |
+
propCount = transitionDurations.length;
|
7551 |
+
}
|
7552 |
+
} else if (expectedType === ANIMATION) {
|
7553 |
+
if (animationTimeout > 0) {
|
7554 |
+
type = ANIMATION;
|
7555 |
+
timeout = animationTimeout;
|
7556 |
+
propCount = animationDurations.length;
|
7557 |
+
}
|
7558 |
+
} else {
|
7559 |
+
timeout = Math.max(transitionTimeout, animationTimeout);
|
7560 |
+
type = timeout > 0
|
7561 |
+
? transitionTimeout > animationTimeout
|
7562 |
+
? TRANSITION
|
7563 |
+
: ANIMATION
|
7564 |
+
: null;
|
7565 |
+
propCount = type
|
7566 |
+
? type === TRANSITION
|
7567 |
+
? transitionDurations.length
|
7568 |
+
: animationDurations.length
|
7569 |
+
: 0;
|
7570 |
+
}
|
7571 |
+
var hasTransform =
|
7572 |
+
type === TRANSITION &&
|
7573 |
+
transformRE.test(styles[transitionProp + 'Property']);
|
7574 |
+
return {
|
7575 |
+
type: type,
|
7576 |
+
timeout: timeout,
|
7577 |
+
propCount: propCount,
|
7578 |
+
hasTransform: hasTransform
|
7579 |
+
}
|
7580 |
+
}
|
7581 |
+
|
7582 |
+
function getTimeout (delays, durations) {
|
7583 |
+
/* istanbul ignore next */
|
7584 |
+
while (delays.length < durations.length) {
|
7585 |
+
delays = delays.concat(delays);
|
7586 |
+
}
|
7587 |
+
|
7588 |
+
return Math.max.apply(null, durations.map(function (d, i) {
|
7589 |
+
return toMs(d) + toMs(delays[i])
|
7590 |
+
}))
|
7591 |
+
}
|
7592 |
+
|
7593 |
+
function toMs (s) {
|
7594 |
+
return Number(s.slice(0, -1)) * 1000
|
7595 |
+
}
|
7596 |
+
|
7597 |
+
/* */
|
7598 |
+
|
7599 |
+
function enter (vnode, toggleDisplay) {
|
7600 |
+
var el = vnode.elm;
|
7601 |
+
|
7602 |
+
// call leave callback now
|
7603 |
+
if (isDef(el._leaveCb)) {
|
7604 |
+
el._leaveCb.cancelled = true;
|
7605 |
+
el._leaveCb();
|
7606 |
+
}
|
7607 |
+
|
7608 |
+
var data = resolveTransition(vnode.data.transition);
|
7609 |
+
if (isUndef(data)) {
|
7610 |
+
return
|
7611 |
+
}
|
7612 |
+
|
7613 |
+
/* istanbul ignore if */
|
7614 |
+
if (isDef(el._enterCb) || el.nodeType !== 1) {
|
7615 |
+
return
|
7616 |
+
}
|
7617 |
+
|
7618 |
+
var css = data.css;
|
7619 |
+
var type = data.type;
|
7620 |
+
var enterClass = data.enterClass;
|
7621 |
+
var enterToClass = data.enterToClass;
|
7622 |
+
var enterActiveClass = data.enterActiveClass;
|
7623 |
+
var appearClass = data.appearClass;
|
7624 |
+
var appearToClass = data.appearToClass;
|
7625 |
+
var appearActiveClass = data.appearActiveClass;
|
7626 |
+
var beforeEnter = data.beforeEnter;
|
7627 |
+
var enter = data.enter;
|
7628 |
+
var afterEnter = data.afterEnter;
|
7629 |
+
var enterCancelled = data.enterCancelled;
|
7630 |
+
var beforeAppear = data.beforeAppear;
|
7631 |
+
var appear = data.appear;
|
7632 |
+
var afterAppear = data.afterAppear;
|
7633 |
+
var appearCancelled = data.appearCancelled;
|
7634 |
+
var duration = data.duration;
|
7635 |
+
|
7636 |
+
// activeInstance will always be the <transition> component managing this
|
7637 |
+
// transition. One edge case to check is when the <transition> is placed
|
7638 |
+
// as the root node of a child component. In that case we need to check
|
7639 |
+
// <transition>'s parent for appear check.
|
7640 |
+
var context = activeInstance;
|
7641 |
+
var transitionNode = activeInstance.$vnode;
|
7642 |
+
while (transitionNode && transitionNode.parent) {
|
7643 |
+
transitionNode = transitionNode.parent;
|
7644 |
+
context = transitionNode.context;
|
7645 |
+
}
|
7646 |
+
|
7647 |
+
var isAppear = !context._isMounted || !vnode.isRootInsert;
|
7648 |
+
|
7649 |
+
if (isAppear && !appear && appear !== '') {
|
7650 |
+
return
|
7651 |
+
}
|
7652 |
+
|
7653 |
+
var startClass = isAppear && appearClass
|
7654 |
+
? appearClass
|
7655 |
+
: enterClass;
|
7656 |
+
var activeClass = isAppear && appearActiveClass
|
7657 |
+
? appearActiveClass
|
7658 |
+
: enterActiveClass;
|
7659 |
+
var toClass = isAppear && appearToClass
|
7660 |
+
? appearToClass
|
7661 |
+
: enterToClass;
|
7662 |
+
|
7663 |
+
var beforeEnterHook = isAppear
|
7664 |
+
? (beforeAppear || beforeEnter)
|
7665 |
+
: beforeEnter;
|
7666 |
+
var enterHook = isAppear
|
7667 |
+
? (typeof appear === 'function' ? appear : enter)
|
7668 |
+
: enter;
|
7669 |
+
var afterEnterHook = isAppear
|
7670 |
+
? (afterAppear || afterEnter)
|
7671 |
+
: afterEnter;
|
7672 |
+
var enterCancelledHook = isAppear
|
7673 |
+
? (appearCancelled || enterCancelled)
|
7674 |
+
: enterCancelled;
|
7675 |
+
|
7676 |
+
var explicitEnterDuration = toNumber(
|
7677 |
+
isObject(duration)
|
7678 |
+
? duration.enter
|
7679 |
+
: duration
|
7680 |
+
);
|
7681 |
+
|
7682 |
+
if ("development" !== 'production' && explicitEnterDuration != null) {
|
7683 |
+
checkDuration(explicitEnterDuration, 'enter', vnode);
|
7684 |
+
}
|
7685 |
+
|
7686 |
+
var expectsCSS = css !== false && !isIE9;
|
7687 |
+
var userWantsControl = getHookArgumentsLength(enterHook);
|
7688 |
+
|
7689 |
+
var cb = el._enterCb = once(function () {
|
7690 |
+
if (expectsCSS) {
|
7691 |
+
removeTransitionClass(el, toClass);
|
7692 |
+
removeTransitionClass(el, activeClass);
|
7693 |
+
}
|
7694 |
+
if (cb.cancelled) {
|
7695 |
+
if (expectsCSS) {
|
7696 |
+
removeTransitionClass(el, startClass);
|
7697 |
+
}
|
7698 |
+
enterCancelledHook && enterCancelledHook(el);
|
7699 |
+
} else {
|
7700 |
+
afterEnterHook && afterEnterHook(el);
|
7701 |
+
}
|
7702 |
+
el._enterCb = null;
|
7703 |
+
});
|
7704 |
+
|
7705 |
+
if (!vnode.data.show) {
|
7706 |
+
// remove pending leave element on enter by injecting an insert hook
|
7707 |
+
mergeVNodeHook(vnode, 'insert', function () {
|
7708 |
+
var parent = el.parentNode;
|
7709 |
+
var pendingNode = parent && parent._pending && parent._pending[vnode.key];
|
7710 |
+
if (pendingNode &&
|
7711 |
+
pendingNode.tag === vnode.tag &&
|
7712 |
+
pendingNode.elm._leaveCb
|
7713 |
+
) {
|
7714 |
+
pendingNode.elm._leaveCb();
|
7715 |
+
}
|
7716 |
+
enterHook && enterHook(el, cb);
|
7717 |
+
});
|
7718 |
+
}
|
7719 |
+
|
7720 |
+
// start enter transition
|
7721 |
+
beforeEnterHook && beforeEnterHook(el);
|
7722 |
+
if (expectsCSS) {
|
7723 |
+
addTransitionClass(el, startClass);
|
7724 |
+
addTransitionClass(el, activeClass);
|
7725 |
+
nextFrame(function () {
|
7726 |
+
removeTransitionClass(el, startClass);
|
7727 |
+
if (!cb.cancelled) {
|
7728 |
+
addTransitionClass(el, toClass);
|
7729 |
+
if (!userWantsControl) {
|
7730 |
+
if (isValidDuration(explicitEnterDuration)) {
|
7731 |
+
setTimeout(cb, explicitEnterDuration);
|
7732 |
+
} else {
|
7733 |
+
whenTransitionEnds(el, type, cb);
|
7734 |
+
}
|
7735 |
+
}
|
7736 |
+
}
|
7737 |
+
});
|
7738 |
+
}
|
7739 |
+
|
7740 |
+
if (vnode.data.show) {
|
7741 |
+
toggleDisplay && toggleDisplay();
|
7742 |
+
enterHook && enterHook(el, cb);
|
7743 |
+
}
|
7744 |
+
|
7745 |
+
if (!expectsCSS && !userWantsControl) {
|
7746 |
+
cb();
|
7747 |
+
}
|
7748 |
+
}
|
7749 |
+
|
7750 |
+
function leave (vnode, rm) {
|
7751 |
+
var el = vnode.elm;
|
7752 |
+
|
7753 |
+
// call enter callback now
|
7754 |
+
if (isDef(el._enterCb)) {
|
7755 |
+
el._enterCb.cancelled = true;
|
7756 |
+
el._enterCb();
|
7757 |
+
}
|
7758 |
+
|
7759 |
+
var data = resolveTransition(vnode.data.transition);
|
7760 |
+
if (isUndef(data) || el.nodeType !== 1) {
|
7761 |
+
return rm()
|
7762 |
+
}
|
7763 |
+
|
7764 |
+
/* istanbul ignore if */
|
7765 |
+
if (isDef(el._leaveCb)) {
|
7766 |
+
return
|
7767 |
+
}
|
7768 |
+
|
7769 |
+
var css = data.css;
|
7770 |
+
var type = data.type;
|
7771 |
+
var leaveClass = data.leaveClass;
|
7772 |
+
var leaveToClass = data.leaveToClass;
|
7773 |
+
var leaveActiveClass = data.leaveActiveClass;
|
7774 |
+
var beforeLeave = data.beforeLeave;
|
7775 |
+
var leave = data.leave;
|
7776 |
+
var afterLeave = data.afterLeave;
|
7777 |
+
var leaveCancelled = data.leaveCancelled;
|
7778 |
+
var delayLeave = data.delayLeave;
|
7779 |
+
var duration = data.duration;
|
7780 |
+
|
7781 |
+
var expectsCSS = css !== false && !isIE9;
|
7782 |
+
var userWantsControl = getHookArgumentsLength(leave);
|
7783 |
+
|
7784 |
+
var explicitLeaveDuration = toNumber(
|
7785 |
+
isObject(duration)
|
7786 |
+
? duration.leave
|
7787 |
+
: duration
|
7788 |
+
);
|
7789 |
+
|
7790 |
+
if ("development" !== 'production' && isDef(explicitLeaveDuration)) {
|
7791 |
+
checkDuration(explicitLeaveDuration, 'leave', vnode);
|
7792 |
+
}
|
7793 |
+
|
7794 |
+
var cb = el._leaveCb = once(function () {
|
7795 |
+
if (el.parentNode && el.parentNode._pending) {
|
7796 |
+
el.parentNode._pending[vnode.key] = null;
|
7797 |
+
}
|
7798 |
+
if (expectsCSS) {
|
7799 |
+
removeTransitionClass(el, leaveToClass);
|
7800 |
+
removeTransitionClass(el, leaveActiveClass);
|
7801 |
+
}
|
7802 |
+
if (cb.cancelled) {
|
7803 |
+
if (expectsCSS) {
|
7804 |
+
removeTransitionClass(el, leaveClass);
|
7805 |
+
}
|
7806 |
+
leaveCancelled && leaveCancelled(el);
|
7807 |
+
} else {
|
7808 |
+
rm();
|
7809 |
+
afterLeave && afterLeave(el);
|
7810 |
+
}
|
7811 |
+
el._leaveCb = null;
|
7812 |
+
});
|
7813 |
+
|
7814 |
+
if (delayLeave) {
|
7815 |
+
delayLeave(performLeave);
|
7816 |
+
} else {
|
7817 |
+
performLeave();
|
7818 |
+
}
|
7819 |
+
|
7820 |
+
function performLeave () {
|
7821 |
+
// the delayed leave may have already been cancelled
|
7822 |
+
if (cb.cancelled) {
|
7823 |
+
return
|
7824 |
+
}
|
7825 |
+
// record leaving element
|
7826 |
+
if (!vnode.data.show) {
|
7827 |
+
(el.parentNode._pending || (el.parentNode._pending = {}))[(vnode.key)] = vnode;
|
7828 |
+
}
|
7829 |
+
beforeLeave && beforeLeave(el);
|
7830 |
+
if (expectsCSS) {
|
7831 |
+
addTransitionClass(el, leaveClass);
|
7832 |
+
addTransitionClass(el, leaveActiveClass);
|
7833 |
+
nextFrame(function () {
|
7834 |
+
removeTransitionClass(el, leaveClass);
|
7835 |
+
if (!cb.cancelled) {
|
7836 |
+
addTransitionClass(el, leaveToClass);
|
7837 |
+
if (!userWantsControl) {
|
7838 |
+
if (isValidDuration(explicitLeaveDuration)) {
|
7839 |
+
setTimeout(cb, explicitLeaveDuration);
|
7840 |
+
} else {
|
7841 |
+
whenTransitionEnds(el, type, cb);
|
7842 |
+
}
|
7843 |
+
}
|
7844 |
+
}
|
7845 |
+
});
|
7846 |
+
}
|
7847 |
+
leave && leave(el, cb);
|
7848 |
+
if (!expectsCSS && !userWantsControl) {
|
7849 |
+
cb();
|
7850 |
+
}
|
7851 |
+
}
|
7852 |
+
}
|
7853 |
+
|
7854 |
+
// only used in dev mode
|
7855 |
+
function checkDuration (val, name, vnode) {
|
7856 |
+
if (typeof val !== 'number') {
|
7857 |
+
warn(
|
7858 |
+
"<transition> explicit " + name + " duration is not a valid number - " +
|
7859 |
+
"got " + (JSON.stringify(val)) + ".",
|
7860 |
+
vnode.context
|
7861 |
+
);
|
7862 |
+
} else if (isNaN(val)) {
|
7863 |
+
warn(
|
7864 |
+
"<transition> explicit " + name + " duration is NaN - " +
|
7865 |
+
'the duration expression might be incorrect.',
|
7866 |
+
vnode.context
|
7867 |
+
);
|
7868 |
+
}
|
7869 |
+
}
|
7870 |
+
|
7871 |
+
function isValidDuration (val) {
|
7872 |
+
return typeof val === 'number' && !isNaN(val)
|
7873 |
+
}
|
7874 |
+
|
7875 |
+
/**
|
7876 |
+
* Normalize a transition hook's argument length. The hook may be:
|
7877 |
+
* - a merged hook (invoker) with the original in .fns
|
7878 |
+
* - a wrapped component method (check ._length)
|
7879 |
+
* - a plain function (.length)
|
7880 |
+
*/
|
7881 |
+
function getHookArgumentsLength (fn) {
|
7882 |
+
if (isUndef(fn)) {
|
7883 |
+
return false
|
7884 |
+
}
|
7885 |
+
var invokerFns = fn.fns;
|
7886 |
+
if (isDef(invokerFns)) {
|
7887 |
+
// invoker
|
7888 |
+
return getHookArgumentsLength(
|
7889 |
+
Array.isArray(invokerFns)
|
7890 |
+
? invokerFns[0]
|
7891 |
+
: invokerFns
|
7892 |
+
)
|
7893 |
+
} else {
|
7894 |
+
return (fn._length || fn.length) > 1
|
7895 |
+
}
|
7896 |
+
}
|
7897 |
+
|
7898 |
+
function _enter (_, vnode) {
|
7899 |
+
if (vnode.data.show !== true) {
|
7900 |
+
enter(vnode);
|
7901 |
+
}
|
7902 |
+
}
|
7903 |
+
|
7904 |
+
var transition = inBrowser ? {
|
7905 |
+
create: _enter,
|
7906 |
+
activate: _enter,
|
7907 |
+
remove: function remove$$1 (vnode, rm) {
|
7908 |
+
/* istanbul ignore else */
|
7909 |
+
if (vnode.data.show !== true) {
|
7910 |
+
leave(vnode, rm);
|
7911 |
+
} else {
|
7912 |
+
rm();
|
7913 |
+
}
|
7914 |
+
}
|
7915 |
+
} : {}
|
7916 |
+
|
7917 |
+
var platformModules = [
|
7918 |
+
attrs,
|
7919 |
+
klass,
|
7920 |
+
events,
|
7921 |
+
domProps,
|
7922 |
+
style,
|
7923 |
+
transition
|
7924 |
+
]
|
7925 |
+
|
7926 |
+
/* */
|
7927 |
+
|
7928 |
+
// the directive module should be applied last, after all
|
7929 |
+
// built-in modules have been applied.
|
7930 |
+
var modules = platformModules.concat(baseModules);
|
7931 |
+
|
7932 |
+
var patch = createPatchFunction({ nodeOps: nodeOps, modules: modules });
|
7933 |
+
|
7934 |
+
/**
|
7935 |
+
* Not type checking this file because flow doesn't like attaching
|
7936 |
+
* properties to Elements.
|
7937 |
+
*/
|
7938 |
+
|
7939 |
+
/* istanbul ignore if */
|
7940 |
+
if (isIE9) {
|
7941 |
+
// http://www.matts411.com/post/internet-explorer-9-oninput/
|
7942 |
+
document.addEventListener('selectionchange', function () {
|
7943 |
+
var el = document.activeElement;
|
7944 |
+
if (el && el.vmodel) {
|
7945 |
+
trigger(el, 'input');
|
7946 |
+
}
|
7947 |
+
});
|
7948 |
+
}
|
7949 |
+
|
7950 |
+
var directive = {
|
7951 |
+
inserted: function inserted (el, binding, vnode, oldVnode) {
|
7952 |
+
if (vnode.tag === 'select') {
|
7953 |
+
// #6903
|
7954 |
+
if (oldVnode.elm && !oldVnode.elm._vOptions) {
|
7955 |
+
mergeVNodeHook(vnode, 'postpatch', function () {
|
7956 |
+
directive.componentUpdated(el, binding, vnode);
|
7957 |
+
});
|
7958 |
+
} else {
|
7959 |
+
setSelected(el, binding, vnode.context);
|
7960 |
+
}
|
7961 |
+
el._vOptions = [].map.call(el.options, getValue);
|
7962 |
+
} else if (vnode.tag === 'textarea' || isTextInputType(el.type)) {
|
7963 |
+
el._vModifiers = binding.modifiers;
|
7964 |
+
if (!binding.modifiers.lazy) {
|
7965 |
+
el.addEventListener('compositionstart', onCompositionStart);
|
7966 |
+
el.addEventListener('compositionend', onCompositionEnd);
|
7967 |
+
// Safari < 10.2 & UIWebView doesn't fire compositionend when
|
7968 |
+
// switching focus before confirming composition choice
|
7969 |
+
// this also fixes the issue where some browsers e.g. iOS Chrome
|
7970 |
+
// fires "change" instead of "input" on autocomplete.
|
7971 |
+
el.addEventListener('change', onCompositionEnd);
|
7972 |
+
/* istanbul ignore if */
|
7973 |
+
if (isIE9) {
|
7974 |
+
el.vmodel = true;
|
7975 |
+
}
|
7976 |
+
}
|
7977 |
+
}
|
7978 |
+
},
|
7979 |
+
|
7980 |
+
componentUpdated: function componentUpdated (el, binding, vnode) {
|
7981 |
+
if (vnode.tag === 'select') {
|
7982 |
+
setSelected(el, binding, vnode.context);
|
7983 |
+
// in case the options rendered by v-for have changed,
|
7984 |
+
// it's possible that the value is out-of-sync with the rendered options.
|
7985 |
+
// detect such cases and filter out values that no longer has a matching
|
7986 |
+
// option in the DOM.
|
7987 |
+
var prevOptions = el._vOptions;
|
7988 |
+
var curOptions = el._vOptions = [].map.call(el.options, getValue);
|
7989 |
+
if (curOptions.some(function (o, i) { return !looseEqual(o, prevOptions[i]); })) {
|
7990 |
+
// trigger change event if
|
7991 |
+
// no matching option found for at least one value
|
7992 |
+
var needReset = el.multiple
|
7993 |
+
? binding.value.some(function (v) { return hasNoMatchingOption(v, curOptions); })
|
7994 |
+
: binding.value !== binding.oldValue && hasNoMatchingOption(binding.value, curOptions);
|
7995 |
+
if (needReset) {
|
7996 |
+
trigger(el, 'change');
|
7997 |
+
}
|
7998 |
+
}
|
7999 |
+
}
|
8000 |
+
}
|
8001 |
+
};
|
8002 |
+
|
8003 |
+
function setSelected (el, binding, vm) {
|
8004 |
+
actuallySetSelected(el, binding, vm);
|
8005 |
+
/* istanbul ignore if */
|
8006 |
+
if (isIE || isEdge) {
|
8007 |
+
setTimeout(function () {
|
8008 |
+
actuallySetSelected(el, binding, vm);
|
8009 |
+
}, 0);
|
8010 |
+
}
|
8011 |
+
}
|
8012 |
+
|
8013 |
+
function actuallySetSelected (el, binding, vm) {
|
8014 |
+
var value = binding.value;
|
8015 |
+
var isMultiple = el.multiple;
|
8016 |
+
if (isMultiple && !Array.isArray(value)) {
|
8017 |
+
"development" !== 'production' && warn(
|
8018 |
+
"<select multiple v-model=\"" + (binding.expression) + "\"> " +
|
8019 |
+
"expects an Array value for its binding, but got " + (Object.prototype.toString.call(value).slice(8, -1)),
|
8020 |
+
vm
|
8021 |
+
);
|
8022 |
+
return
|
8023 |
+
}
|
8024 |
+
var selected, option;
|
8025 |
+
for (var i = 0, l = el.options.length; i < l; i++) {
|
8026 |
+
option = el.options[i];
|
8027 |
+
if (isMultiple) {
|
8028 |
+
selected = looseIndexOf(value, getValue(option)) > -1;
|
8029 |
+
if (option.selected !== selected) {
|
8030 |
+
option.selected = selected;
|
8031 |
+
}
|
8032 |
+
} else {
|
8033 |
+
if (looseEqual(getValue(option), value)) {
|
8034 |
+
if (el.selectedIndex !== i) {
|
8035 |
+
el.selectedIndex = i;
|
8036 |
+
}
|
8037 |
+
return
|
8038 |
+
}
|
8039 |
+
}
|
8040 |
+
}
|
8041 |
+
if (!isMultiple) {
|
8042 |
+
el.selectedIndex = -1;
|
8043 |
+
}
|
8044 |
+
}
|
8045 |
+
|
8046 |
+
function hasNoMatchingOption (value, options) {
|
8047 |
+
return options.every(function (o) { return !looseEqual(o, value); })
|
8048 |
+
}
|
8049 |
+
|
8050 |
+
function getValue (option) {
|
8051 |
+
return '_value' in option
|
8052 |
+
? option._value
|
8053 |
+
: option.value
|
8054 |
+
}
|
8055 |
+
|
8056 |
+
function onCompositionStart (e) {
|
8057 |
+
e.target.composing = true;
|
8058 |
+
}
|
8059 |
+
|
8060 |
+
function onCompositionEnd (e) {
|
8061 |
+
// prevent triggering an input event for no reason
|
8062 |
+
if (!e.target.composing) { return }
|
8063 |
+
e.target.composing = false;
|
8064 |
+
trigger(e.target, 'input');
|
8065 |
+
}
|
8066 |
+
|
8067 |
+
function trigger (el, type) {
|
8068 |
+
var e = document.createEvent('HTMLEvents');
|
8069 |
+
e.initEvent(type, true, true);
|
8070 |
+
el.dispatchEvent(e);
|
8071 |
+
}
|
8072 |
+
|
8073 |
+
/* */
|
8074 |
+
|
8075 |
+
// recursively search for possible transition defined inside the component root
|
8076 |
+
function locateNode (vnode) {
|
8077 |
+
return vnode.componentInstance && (!vnode.data || !vnode.data.transition)
|
8078 |
+
? locateNode(vnode.componentInstance._vnode)
|
8079 |
+
: vnode
|
8080 |
+
}
|
8081 |
+
|
8082 |
+
var show = {
|
8083 |
+
bind: function bind (el, ref, vnode) {
|
8084 |
+
var value = ref.value;
|
8085 |
+
|
8086 |
+
vnode = locateNode(vnode);
|
8087 |
+
var transition$$1 = vnode.data && vnode.data.transition;
|
8088 |
+
var originalDisplay = el.__vOriginalDisplay =
|
8089 |
+
el.style.display === 'none' ? '' : el.style.display;
|
8090 |
+
if (value && transition$$1) {
|
8091 |
+
vnode.data.show = true;
|
8092 |
+
enter(vnode, function () {
|
8093 |
+
el.style.display = originalDisplay;
|
8094 |
+
});
|
8095 |
+
} else {
|
8096 |
+
el.style.display = value ? originalDisplay : 'none';
|
8097 |
+
}
|
8098 |
+
},
|
8099 |
+
|
8100 |
+
update: function update (el, ref, vnode) {
|
8101 |
+
var value = ref.value;
|
8102 |
+
var oldValue = ref.oldValue;
|
8103 |
+
|
8104 |
+
/* istanbul ignore if */
|
8105 |
+
if (!value === !oldValue) { return }
|
8106 |
+
vnode = locateNode(vnode);
|
8107 |
+
var transition$$1 = vnode.data && vnode.data.transition;
|
8108 |
+
if (transition$$1) {
|
8109 |
+
vnode.data.show = true;
|
8110 |
+
if (value) {
|
8111 |
+
enter(vnode, function () {
|
8112 |
+
el.style.display = el.__vOriginalDisplay;
|
8113 |
+
});
|
8114 |
+
} else {
|
8115 |
+
leave(vnode, function () {
|
8116 |
+
el.style.display = 'none';
|
8117 |
+
});
|
8118 |
+
}
|
8119 |
+
} else {
|
8120 |
+
el.style.display = value ? el.__vOriginalDisplay : 'none';
|
8121 |
+
}
|
8122 |
+
},
|
8123 |
+
|
8124 |
+
unbind: function unbind (
|
8125 |
+
el,
|
8126 |
+
binding,
|
8127 |
+
vnode,
|
8128 |
+
oldVnode,
|
8129 |
+
isDestroy
|
8130 |
+
) {
|
8131 |
+
if (!isDestroy) {
|
8132 |
+
el.style.display = el.__vOriginalDisplay;
|
8133 |
+
}
|
8134 |
+
}
|
8135 |
+
}
|
8136 |
+
|
8137 |
+
var platformDirectives = {
|
8138 |
+
model: directive,
|
8139 |
+
show: show
|
8140 |
+
}
|
8141 |
+
|
8142 |
+
/* */
|
8143 |
+
|
8144 |
+
// Provides transition support for a single element/component.
|
8145 |
+
// supports transition mode (out-in / in-out)
|
8146 |
+
|
8147 |
+
var transitionProps = {
|
8148 |
+
name: String,
|
8149 |
+
appear: Boolean,
|
8150 |
+
css: Boolean,
|
8151 |
+
mode: String,
|
8152 |
+
type: String,
|
8153 |
+
enterClass: String,
|
8154 |
+
leaveClass: String,
|
8155 |
+
enterToClass: String,
|
8156 |
+
leaveToClass: String,
|
8157 |
+
enterActiveClass: String,
|
8158 |
+
leaveActiveClass: String,
|
8159 |
+
appearClass: String,
|
8160 |
+
appearActiveClass: String,
|
8161 |
+
appearToClass: String,
|
8162 |
+
duration: [Number, String, Object]
|
8163 |
+
};
|
8164 |
+
|
8165 |
+
// in case the child is also an abstract component, e.g. <keep-alive>
|
8166 |
+
// we want to recursively retrieve the real component to be rendered
|
8167 |
+
function getRealChild (vnode) {
|
8168 |
+
var compOptions = vnode && vnode.componentOptions;
|
8169 |
+
if (compOptions && compOptions.Ctor.options.abstract) {
|
8170 |
+
return getRealChild(getFirstComponentChild(compOptions.children))
|
8171 |
+
} else {
|
8172 |
+
return vnode
|
8173 |
+
}
|
8174 |
+
}
|
8175 |
+
|
8176 |
+
function extractTransitionData (comp) {
|
8177 |
+
var data = {};
|
8178 |
+
var options = comp.$options;
|
8179 |
+
// props
|
8180 |
+
for (var key in options.propsData) {
|
8181 |
+
data[key] = comp[key];
|
8182 |
+
}
|
8183 |
+
// events.
|
8184 |
+
// extract listeners and pass them directly to the transition methods
|
8185 |
+
var listeners = options._parentListeners;
|
8186 |
+
for (var key$1 in listeners) {
|
8187 |
+
data[camelize(key$1)] = listeners[key$1];
|
8188 |
+
}
|
8189 |
+
return data
|
8190 |
+
}
|
8191 |
+
|
8192 |
+
function placeholder (h, rawChild) {
|
8193 |
+
if (/\d-keep-alive$/.test(rawChild.tag)) {
|
8194 |
+
return h('keep-alive', {
|
8195 |
+
props: rawChild.componentOptions.propsData
|
8196 |
+
})
|
8197 |
+
}
|
8198 |
+
}
|
8199 |
+
|
8200 |
+
function hasParentTransition (vnode) {
|
8201 |
+
while ((vnode = vnode.parent)) {
|
8202 |
+
if (vnode.data.transition) {
|
8203 |
+
return true
|
8204 |
+
}
|
8205 |
+
}
|
8206 |
+
}
|
8207 |
+
|
8208 |
+
function isSameChild (child, oldChild) {
|
8209 |
+
return oldChild.key === child.key && oldChild.tag === child.tag
|
8210 |
+
}
|
8211 |
+
|
8212 |
+
var Transition = {
|
8213 |
+
name: 'transition',
|
8214 |
+
props: transitionProps,
|
8215 |
+
abstract: true,
|
8216 |
+
|
8217 |
+
render: function render (h) {
|
8218 |
+
var this$1 = this;
|
8219 |
+
|
8220 |
+
var children = this.$slots.default;
|
8221 |
+
if (!children) {
|
8222 |
+
return
|
8223 |
+
}
|
8224 |
+
|
8225 |
+
// filter out text nodes (possible whitespaces)
|
8226 |
+
children = children.filter(function (c) { return c.tag || isAsyncPlaceholder(c); });
|
8227 |
+
/* istanbul ignore if */
|
8228 |
+
if (!children.length) {
|
8229 |
+
return
|
8230 |
+
}
|
8231 |
+
|
8232 |
+
// warn multiple elements
|
8233 |
+
if ("development" !== 'production' && children.length > 1) {
|
8234 |
+
warn(
|
8235 |
+
'<transition> can only be used on a single element. Use ' +
|
8236 |
+
'<transition-group> for lists.',
|
8237 |
+
this.$parent
|
8238 |
+
);
|
8239 |
+
}
|
8240 |
+
|
8241 |
+
var mode = this.mode;
|
8242 |
+
|
8243 |
+
// warn invalid mode
|
8244 |
+
if ("development" !== 'production' &&
|
8245 |
+
mode && mode !== 'in-out' && mode !== 'out-in'
|
8246 |
+
) {
|
8247 |
+
warn(
|
8248 |
+
'invalid <transition> mode: ' + mode,
|
8249 |
+
this.$parent
|
8250 |
+
);
|
8251 |
+
}
|
8252 |
+
|
8253 |
+
var rawChild = children[0];
|
8254 |
+
|
8255 |
+
// if this is a component root node and the component's
|
8256 |
+
// parent container node also has transition, skip.
|
8257 |
+
if (hasParentTransition(this.$vnode)) {
|
8258 |
+
return rawChild
|
8259 |
+
}
|
8260 |
+
|
8261 |
+
// apply transition data to child
|
8262 |
+
// use getRealChild() to ignore abstract components e.g. keep-alive
|
8263 |
+
var child = getRealChild(rawChild);
|
8264 |
+
/* istanbul ignore if */
|
8265 |
+
if (!child) {
|
8266 |
+
return rawChild
|
8267 |
+
}
|
8268 |
+
|
8269 |
+
if (this._leaving) {
|
8270 |
+
return placeholder(h, rawChild)
|
8271 |
+
}
|
8272 |
+
|
8273 |
+
// ensure a key that is unique to the vnode type and to this transition
|
8274 |
+
// component instance. This key will be used to remove pending leaving nodes
|
8275 |
+
// during entering.
|
8276 |
+
var id = "__transition-" + (this._uid) + "-";
|
8277 |
+
child.key = child.key == null
|
8278 |
+
? child.isComment
|
8279 |
+
? id + 'comment'
|
8280 |
+
: id + child.tag
|
8281 |
+
: isPrimitive(child.key)
|
8282 |
+
? (String(child.key).indexOf(id) === 0 ? child.key : id + child.key)
|
8283 |
+
: child.key;
|
8284 |
+
|
8285 |
+
var data = (child.data || (child.data = {})).transition = extractTransitionData(this);
|
8286 |
+
var oldRawChild = this._vnode;
|
8287 |
+
var oldChild = getRealChild(oldRawChild);
|
8288 |
+
|
8289 |
+
// mark v-show
|
8290 |
+
// so that the transition module can hand over the control to the directive
|
8291 |
+
if (child.data.directives && child.data.directives.some(function (d) { return d.name === 'show'; })) {
|
8292 |
+
child.data.show = true;
|
8293 |
+
}
|
8294 |
+
|
8295 |
+
if (
|
8296 |
+
oldChild &&
|
8297 |
+
oldChild.data &&
|
8298 |
+
!isSameChild(child, oldChild) &&
|
8299 |
+
!isAsyncPlaceholder(oldChild) &&
|
8300 |
+
// #6687 component root is a comment node
|
8301 |
+
!(oldChild.componentInstance && oldChild.componentInstance._vnode.isComment)
|
8302 |
+
) {
|
8303 |
+
// replace old child transition data with fresh one
|
8304 |
+
// important for dynamic transitions!
|
8305 |
+
var oldData = oldChild.data.transition = extend({}, data);
|
8306 |
+
// handle transition mode
|
8307 |
+
if (mode === 'out-in') {
|
8308 |
+
// return placeholder node and queue update when leave finishes
|
8309 |
+
this._leaving = true;
|
8310 |
+
mergeVNodeHook(oldData, 'afterLeave', function () {
|
8311 |
+
this$1._leaving = false;
|
8312 |
+
this$1.$forceUpdate();
|
8313 |
+
});
|
8314 |
+
return placeholder(h, rawChild)
|
8315 |
+
} else if (mode === 'in-out') {
|
8316 |
+
if (isAsyncPlaceholder(child)) {
|
8317 |
+
return oldRawChild
|
8318 |
+
}
|
8319 |
+
var delayedLeave;
|
8320 |
+
var performLeave = function () { delayedLeave(); };
|
8321 |
+
mergeVNodeHook(data, 'afterEnter', performLeave);
|
8322 |
+
mergeVNodeHook(data, 'enterCancelled', performLeave);
|
8323 |
+
mergeVNodeHook(oldData, 'delayLeave', function (leave) { delayedLeave = leave; });
|
8324 |
+
}
|
8325 |
+
}
|
8326 |
+
|
8327 |
+
return rawChild
|
8328 |
+
}
|
8329 |
+
}
|
8330 |
+
|
8331 |
+
/* */
|
8332 |
+
|
8333 |
+
// Provides transition support for list items.
|
8334 |
+
// supports move transitions using the FLIP technique.
|
8335 |
+
|
8336 |
+
// Because the vdom's children update algorithm is "unstable" - i.e.
|
8337 |
+
// it doesn't guarantee the relative positioning of removed elements,
|
8338 |
+
// we force transition-group to update its children into two passes:
|
8339 |
+
// in the first pass, we remove all nodes that need to be removed,
|
8340 |
+
// triggering their leaving transition; in the second pass, we insert/move
|
8341 |
+
// into the final desired state. This way in the second pass removed
|
8342 |
+
// nodes will remain where they should be.
|
8343 |
+
|
8344 |
+
var props = extend({
|
8345 |
+
tag: String,
|
8346 |
+
moveClass: String
|
8347 |
+
}, transitionProps);
|
8348 |
+
|
8349 |
+
delete props.mode;
|
8350 |
+
|
8351 |
+
var TransitionGroup = {
|
8352 |
+
props: props,
|
8353 |
+
|
8354 |
+
render: function render (h) {
|
8355 |
+
var tag = this.tag || this.$vnode.data.tag || 'span';
|
8356 |
+
var map = Object.create(null);
|
8357 |
+
var prevChildren = this.prevChildren = this.children;
|
8358 |
+
var rawChildren = this.$slots.default || [];
|
8359 |
+
var children = this.children = [];
|
8360 |
+
var transitionData = extractTransitionData(this);
|
8361 |
+
|
8362 |
+
for (var i = 0; i < rawChildren.length; i++) {
|
8363 |
+
var c = rawChildren[i];
|
8364 |
+
if (c.tag) {
|
8365 |
+
if (c.key != null && String(c.key).indexOf('__vlist') !== 0) {
|
8366 |
+
children.push(c);
|
8367 |
+
map[c.key] = c
|
8368 |
+
;(c.data || (c.data = {})).transition = transitionData;
|
8369 |
+
} else {
|
8370 |
+
var opts = c.componentOptions;
|
8371 |
+
var name = opts ? (opts.Ctor.options.name || opts.tag || '') : c.tag;
|
8372 |
+
warn(("<transition-group> children must be keyed: <" + name + ">"));
|
8373 |
+
}
|
8374 |
+
}
|
8375 |
+
}
|
8376 |
+
|
8377 |
+
if (prevChildren) {
|
8378 |
+
var kept = [];
|
8379 |
+
var removed = [];
|
8380 |
+
for (var i$1 = 0; i$1 < prevChildren.length; i$1++) {
|
8381 |
+
var c$1 = prevChildren[i$1];
|
8382 |
+
c$1.data.transition = transitionData;
|
8383 |
+
c$1.data.pos = c$1.elm.getBoundingClientRect();
|
8384 |
+
if (map[c$1.key]) {
|
8385 |
+
kept.push(c$1);
|
8386 |
+
} else {
|
8387 |
+
removed.push(c$1);
|
8388 |
+
}
|
8389 |
+
}
|
8390 |
+
this.kept = h(tag, null, kept);
|
8391 |
+
this.removed = removed;
|
8392 |
+
}
|
8393 |
+
|
8394 |
+
return h(tag, null, children)
|
8395 |
+
},
|
8396 |
+
|
8397 |
+
beforeUpdate: function beforeUpdate () {
|
8398 |
+
// force removing pass
|
8399 |
+
this.__patch__(
|
8400 |
+
this._vnode,
|
8401 |
+
this.kept,
|
8402 |
+
false, // hydrating
|
8403 |
+
true // removeOnly (!important, avoids unnecessary moves)
|
8404 |
+
);
|
8405 |
+
this._vnode = this.kept;
|
8406 |
+
},
|
8407 |
+
|
8408 |
+
updated: function updated () {
|
8409 |
+
var children = this.prevChildren;
|
8410 |
+
var moveClass = this.moveClass || ((this.name || 'v') + '-move');
|
8411 |
+
if (!children.length || !this.hasMove(children[0].elm, moveClass)) {
|
8412 |
+
return
|
8413 |
+
}
|
8414 |
+
|
8415 |
+
/
|