Version Description
- March 13, 2020 =
- NEW - Added new Table of Contents functionality. Table of Contents creates a pagination anchor links with every page loaded via Ajax Load More.
- NEW - Added support for new Term Query extension.
- UPDATE - Added support for Post Type archives in the Archives integration.
- UPDATE - Updated
.alm-listing
CSS styles to better integrate with WooCommerce. - UPDATE - Added new Single Post implementation technique.
Download this release
Release Info
Developer | dcooney |
Plugin | WordPress Infinite Scroll – Ajax Load More |
Version | 5.2.0 |
Comparing to | |
See all releases |
Code changes from version 5.1.8 to 5.2.0
- README.txt +29 -5
- admin/admin.php +56 -12
- admin/classes/class-nag.php +139 -0
- admin/dist/css/admin.css +31 -13
- admin/dist/js/admin.js +1 -1
- admin/shortcode-builder/components/nextpage.php +10 -10
- admin/shortcode-builder/components/single-post.php +43 -4
- admin/shortcode-builder/components/term-query.php +91 -0
- admin/shortcode-builder/js/shortcode-builder.js +75 -5
- admin/shortcode-builder/shortcode-builder.php +92 -8
- admin/src/js/admin.js +2 -4
- admin/src/scss/admin.scss +4 -35
- admin/src/scss/partials/_shortcode-builder.scss +22 -1
- admin/views/licenses.php +56 -56
- admin/views/settings.php +1 -1
- ajax-load-more.php +9 -9
- core/classes/class.alm-shortcode.php +170 -26
- core/classes/class.alm-woocommerce.php +85 -0
- core/classes/includes/preloaded.php +24 -9
- core/dist/css/ajax-load-more.css +79 -18
- core/dist/css/ajax-load-more.min.css +1 -1
- core/dist/js/ajax-load-more.js +629 -246
- core/dist/js/ajax-load-more.min.js +3 -3
- core/functions.php +3 -3
- core/src/js/ajax-load-more.js +178 -34
- core/src/js/helpers/{almGetCacheUrl.js → getCacheUrl.js} +2 -2
- core/src/js/helpers/{almTableWrap.js → tableWrap.js} +2 -2
- core/src/js/modules/almDebug.js +5 -1
- core/src/js/modules/filtering.js +10 -1
- core/src/js/modules/resultsText.js +55 -41
- core/src/js/modules/setLocalizedVars.js +48 -23
- core/src/js/modules/tableofcontents.js +148 -0
- core/src/scss/_listing.scss +107 -0
- core/src/scss/_loaders.scss +196 -0
- core/src/scss/_tableofcontents.scss +32 -0
- core/src/scss/ajax-load-more.scss +3 -258
- lang/ajax-load-more.pot +531 -585
- uninstall.php +1 -3
README.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://connekthq.com/donate/
|
|
4 |
Tags: infinite scroll, infinite scrolling, scroll, infinite, lazy load, lazy loading, endless scroll, pagination, ajax pagination, ajax, ajax posts, woocommerce, ajax load more, masonry
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.3.2
|
7 |
-
Stable tag: 5.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -196,7 +196,7 @@ The following [extensions](https://connekthq.com/plugins/ajax-load-more/extensio
|
|
196 |
* **[Relevanssi](https://connekthq.com/plugins/ajax-load-more/extensions/relevanssi/)**: Display Relevanssi search results with Ajax Load More.
|
197 |
* **[REST API](https://connekthq.com/plugins/ajax-load-more/extensions/rest-api/)**: Enable compatibility with the WordPress REST API.
|
198 |
* **[SearchWP](https://connekthq.com/plugins/ajax-load-more/extensions/searchwp/)**: Display SearchWP query results with Ajax Load More.
|
199 |
-
|
200 |
|
201 |
|
202 |
|
@@ -382,13 +382,37 @@ How to install Ajax Load More.
|
|
382 |
|
383 |
== Changelog ==
|
384 |
|
385 |
-
= 5.
|
386 |
-
* NEW - Added
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
387 |
* NEW - Added `alm_query_after_{id}` filter to allow for modification of the returned query.
|
388 |
* NEW - Added new `alm_id` parameter for the `WP_Query` that allows for easier access of query args using `pre_get_post` using the Ajax Load More ID.
|
389 |
```
|
390 |
add_action( 'pre_get_posts', 'my_custom_category' );
|
391 |
-
function my_custom_category( $query ) {
|
392 |
if ( isset($query->query['alm_id']) && $query->query['alm_id'] === 'preloaded' ) {
|
393 |
$query->set( 'category_name', 'design' );
|
394 |
}
|
4 |
Tags: infinite scroll, infinite scrolling, scroll, infinite, lazy load, lazy loading, endless scroll, pagination, ajax pagination, ajax, ajax posts, woocommerce, ajax load more, masonry
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.3.2
|
7 |
+
Stable tag: 5.2.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
196 |
* **[Relevanssi](https://connekthq.com/plugins/ajax-load-more/extensions/relevanssi/)**: Display Relevanssi search results with Ajax Load More.
|
197 |
* **[REST API](https://connekthq.com/plugins/ajax-load-more/extensions/rest-api/)**: Enable compatibility with the WordPress REST API.
|
198 |
* **[SearchWP](https://connekthq.com/plugins/ajax-load-more/extensions/searchwp/)**: Display SearchWP query results with Ajax Load More.
|
199 |
+
* **[Term Query](https://wordpress.org/plugins/ajax-load-more-for-terms/)**: Infinite scroll WordPress Terms.
|
200 |
|
201 |
|
202 |
|
382 |
|
383 |
== Changelog ==
|
384 |
|
385 |
+
= 5.2.0 - March 13, 2020 =
|
386 |
+
* NEW - Added new [Table of Contents](https://connekthq.com/plugins/ajax-load-more/examples/table-of-contents/) functionality. Table of Contents creates a pagination anchor links with every page loaded via Ajax Load More.
|
387 |
+
* NEW - Added support for new [Term Query](https://wordpress.org/plugins/ajax-load-more-for-terms/) extension.
|
388 |
+
* UPDATE - Added support for Post Type archives in the [Archives](https://connekthq.com/plugins/ajax-load-more/docs/archives/) integration.
|
389 |
+
* UPDATE - Updated `.alm-listing` CSS styles to better integrate with WooCommerce.
|
390 |
+
* UPDATE - Added new Single Post [implementation](https://connekthq.com/plugins/ajax-load-more/add-ons/single-posts/#implementation) technique.
|
391 |
+
|
392 |
+
|
393 |
+
= 5.1.8 =- March 2, 2020 =
|
394 |
+
|
395 |
+
UPGRADE NOTICE
|
396 |
+
This release updates the default text for users who implemented [Results Text](https://connekthq.com/plugins/ajax-load-more/examples/results-text/).
|
397 |
+
[New variables](https://connekthq.com/plugins/ajax-load-more/docs/results-text/) have been added to this feature and the default text has changes from `Displaying {num} of {total}.` to `Viewing {post_count} of {total_posts} results.`.
|
398 |
+
If you wish to revert this update, you can with the `alm_display_results` [filter](https://connekthq.com/plugins/ajax-load-more/docs/results-text/#filter-hooks).
|
399 |
+
|
400 |
+
* NEW - Added rtl (right to left) support for the default ALM Repeater Template. Add `.rtl` to the container to align items right to left. Use `css_classes="rtl"` in a shortcode or globally via ALM settings.
|
401 |
+
* NEW - Added `archive="true"` parameter that will automatically pull content on archive pages - taxonomy, category, tag, date (year, month, day) and authors are currently supported. [View Docs](https://connekthq.com/plugins/ajax-load-more/docs/archives/)
|
402 |
+
* NEW - Added `woocommerce="true"` parameter that will automatically pull product content on woocommerce pages - [docs](https://connekthq.com/plugins/ajax-load-more/docs/woocommerce/) coming soon on this new integration.
|
403 |
+
* UPDATE - Updated [Results Text](https://connekthq.com/plugins/ajax-load-more/docs/results-text/) to include post_count and total_posts.
|
404 |
+
* UPDATE - Updated time of filter transitions. In some cases users were reporting issues of double clicks causing no results to be returned.
|
405 |
+
* FIX - Fixed almComplete callback not firing when zero results are returned in Ajax.
|
406 |
+
* FIX - Fixed issue with JavaScript not triggering in Repeater Templates used with Paging add-on.
|
407 |
+
|
408 |
+
|
409 |
+
= 5.1.7.2 - January 25, 2020 =
|
410 |
+
* NEW - Added support for percentage values in `scroll_distance`. Users can now trigger Ajax requests based on the percentage height of their browsers. e.g. `scroll_distance="-50%"`
|
411 |
* NEW - Added `alm_query_after_{id}` filter to allow for modification of the returned query.
|
412 |
* NEW - Added new `alm_id` parameter for the `WP_Query` that allows for easier access of query args using `pre_get_post` using the Ajax Load More ID.
|
413 |
```
|
414 |
add_action( 'pre_get_posts', 'my_custom_category' );
|
415 |
+
function my_custom_category( $query ) {
|
416 |
if ( isset($query->query['alm_id']) && $query->query['alm_id'] === 'preloaded' ) {
|
417 |
$query->set( 'category_name', 'design' );
|
418 |
}
|
admin/admin.php
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
<?php
|
2 |
add_action( 'init', 'alm_core_update' ); // Core Update
|
|
|
3 |
add_action( 'wp_ajax_alm_save_repeater', 'alm_save_repeater' ); // Ajax Save Repeater
|
4 |
add_action( 'wp_ajax_alm_update_repeater', 'alm_update_repeater' ); // Ajax Update Repeater
|
5 |
add_action( 'wp_ajax_alm_get_tax_terms', 'alm_get_tax_terms' ); // Ajax Get Taxonomy Terms
|
@@ -11,15 +12,26 @@ add_action( 'wp_ajax_alm_get_layout', 'alm_get_layout' ); // Get layout
|
|
11 |
add_action( 'wp_ajax_alm_dismiss_sharing', 'alm_dismiss_sharing' ); // Dismiss sharing
|
12 |
add_action( 'wp_ajax_alm_set_transient', 'alm_set_transient' ); // Set transient
|
13 |
add_filter( 'admin_footer_text', 'alm_filter_admin_footer_text'); // Admin menu text
|
|
|
14 |
|
15 |
|
16 |
|
17 |
-
|
18 |
-
*
|
19 |
-
*
|
20 |
-
*
|
21 |
-
|
22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
function alm_plugin_update_messages(){
|
24 |
$addons = alm_get_addons();
|
25 |
foreach($addons as $addon){
|
@@ -87,6 +99,40 @@ function alm_prefix_plugin_update_message( $data, $response ) {
|
|
87 |
|
88 |
|
89 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
/*
|
91 |
* alm_render_transient_notification
|
92 |
* Render a notification in the dashboard
|
@@ -1814,13 +1860,11 @@ function alm_btn_class_callback(){
|
|
1814 |
jQuery('input#alm_disable_css_input').change(function() {
|
1815 |
var el = jQuery(this);
|
1816 |
if(el.is(":checked")) {
|
1817 |
-
el.parent().parent('tr').next('tr').hide(); // Hide button
|
1818 |
-
el.parent().parent('tr').next('tr').next('tr').hide(); // Hide
|
1819 |
-
el.parent().parent('tr').next('tr').next('tr').next('tr').hide(); // Hide inline css
|
1820 |
}else{
|
1821 |
-
el.parent().parent('tr').next('tr').show(); // show button
|
1822 |
-
el.parent().parent('tr').next('tr').next('tr').show(); // show
|
1823 |
-
el.parent().parent('tr').next('tr').next('tr').next('tr').show(); // show inline css
|
1824 |
}
|
1825 |
});
|
1826 |
|
1 |
<?php
|
2 |
add_action( 'init', 'alm_core_update' ); // Core Update
|
3 |
+
add_action( 'admin_init', 'alm_admin_hooks' );
|
4 |
add_action( 'wp_ajax_alm_save_repeater', 'alm_save_repeater' ); // Ajax Save Repeater
|
5 |
add_action( 'wp_ajax_alm_update_repeater', 'alm_update_repeater' ); // Ajax Update Repeater
|
6 |
add_action( 'wp_ajax_alm_get_tax_terms', 'alm_get_tax_terms' ); // Ajax Get Taxonomy Terms
|
12 |
add_action( 'wp_ajax_alm_dismiss_sharing', 'alm_dismiss_sharing' ); // Dismiss sharing
|
13 |
add_action( 'wp_ajax_alm_set_transient', 'alm_set_transient' ); // Set transient
|
14 |
add_filter( 'admin_footer_text', 'alm_filter_admin_footer_text'); // Admin menu text
|
15 |
+
add_action( 'after_plugin_row', 'alm_plugin_row' );
|
16 |
|
17 |
|
18 |
|
19 |
+
/**
|
20 |
+
* Setup the admin hooks
|
21 |
+
*
|
22 |
+
* @return void
|
23 |
+
*/
|
24 |
+
function alm_admin_hooks() {
|
25 |
+
require_once( plugin_dir_path( __FILE__ ) . '/classes/class-nag.php' );
|
26 |
+
}
|
27 |
+
|
28 |
+
|
29 |
+
/**
|
30 |
+
* almCreatePluginUpdateNotifications
|
31 |
+
* Create custom update notifications
|
32 |
+
*
|
33 |
+
* @since 5.2
|
34 |
+
*/
|
35 |
function alm_plugin_update_messages(){
|
36 |
$addons = alm_get_addons();
|
37 |
foreach($addons as $addon){
|
99 |
|
100 |
|
101 |
|
102 |
+
/*
|
103 |
+
* alm_plugin_row
|
104 |
+
* Create a notification in the plugin row
|
105 |
+
*
|
106 |
+
* @since 5.2
|
107 |
+
*/
|
108 |
+
function alm_plugin_row( $plugin_name ) {
|
109 |
+
|
110 |
+
$addons = alm_get_addons();
|
111 |
+
$pro_addons = alm_get_pro_addon();
|
112 |
+
|
113 |
+
$addons = array_merge(alm_get_addons(), alm_get_pro_addon());
|
114 |
+
foreach($addons as $addon){
|
115 |
+
if ( $plugin_name == $addon['path'].'/'.$addon['path'].'.php' ) {
|
116 |
+
|
117 |
+
$status = get_option($addon['status']);
|
118 |
+
$style = 'margin: 5px 20px 6px 40px;';
|
119 |
+
|
120 |
+
// !valid
|
121 |
+
if($status !== 'valid'){
|
122 |
+
$name = ($addon['name'] === 'Ajax Load More Pro') ? '<strong>'. $addon['name'] .'</strong>' : '<strong>'. 'Ajax Load More: '. $addon['name'] .'</strong>';
|
123 |
+
|
124 |
+
$row = '</tr><tr class="plugin-update-tr"><td colspan="3" class="plugin-update"><div class="update-message" style="'. $style .'">';
|
125 |
+
$row .= sprintf(__('%sRegister%s your copy of %s to receive access to automatic upgrades and support. Need a license key? %sPurchase one now%s.'), '<a href="admin.php?page=ajax-load-more-licenses">', '</a>', $name, '<a href="'. $addon['url'] .'" target="blank">', '</a>');
|
126 |
+
$row .= '</div></td>';
|
127 |
+
echo $row;
|
128 |
+
}
|
129 |
+
|
130 |
+
}
|
131 |
+
}
|
132 |
+
}
|
133 |
+
|
134 |
+
|
135 |
+
|
136 |
/*
|
137 |
* alm_render_transient_notification
|
138 |
* Render a notification in the dashboard
|
1860 |
jQuery('input#alm_disable_css_input').change(function() {
|
1861 |
var el = jQuery(this);
|
1862 |
if(el.is(":checked")) {
|
1863 |
+
el.parent().parent('tr').next('tr').hide(); // Hide button color
|
1864 |
+
el.parent().parent('tr').next('tr').next('tr').hide(); // Hide inline css
|
|
|
1865 |
}else{
|
1866 |
+
el.parent().parent('tr').next('tr').show(); // show button color
|
1867 |
+
el.parent().parent('tr').next('tr').next('tr').show(); // show inline css
|
|
|
1868 |
}
|
1869 |
});
|
1870 |
|
admin/classes/class-nag.php
ADDED
@@ -0,0 +1,139 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if(!class_exists('ALM_NAG')) :
|
4 |
+
|
5 |
+
class ALM_NAG {
|
6 |
+
|
7 |
+
const OPTION_INSTALL_DATE = 'alm-install-date';
|
8 |
+
const OPTION_ADMIN_NOTICE_KEY = 'alm-hide-notice';
|
9 |
+
const OPTION_NAG_DELAY = '-5 days';
|
10 |
+
|
11 |
+
/**
|
12 |
+
* Setup the class
|
13 |
+
*/
|
14 |
+
public function setup() {
|
15 |
+
// catch nag hide
|
16 |
+
$this->catch_hide_notice();
|
17 |
+
// bind nag
|
18 |
+
$this->bind();
|
19 |
+
}
|
20 |
+
|
21 |
+
|
22 |
+
/**
|
23 |
+
* Catch the hide nag request
|
24 |
+
*/
|
25 |
+
private function catch_hide_notice() {
|
26 |
+
if ( isset( $_GET[ ALM_Nag::OPTION_ADMIN_NOTICE_KEY ] ) && current_user_can( 'install_plugins' ) ) {
|
27 |
+
// Add user meta
|
28 |
+
global $current_user;
|
29 |
+
add_user_meta( $current_user->ID, ALM_Nag::OPTION_ADMIN_NOTICE_KEY, '1', true );
|
30 |
+
|
31 |
+
// Build redirect URL
|
32 |
+
$query_params = $this->get_admin_querystring_array();
|
33 |
+
unset( $query_params[ ALM_Nag::OPTION_ADMIN_NOTICE_KEY ] );
|
34 |
+
$query_string = http_build_query( $query_params );
|
35 |
+
if ( $query_string != '' ) {
|
36 |
+
$query_string = '?' . $query_string;
|
37 |
+
}
|
38 |
+
|
39 |
+
$redirect_url = 'http';
|
40 |
+
if ( isset( $_SERVER['HTTPS'] ) && $_SERVER['HTTPS'] == 'on' ) {
|
41 |
+
$redirect_url .= 's';
|
42 |
+
}
|
43 |
+
$redirect_url .= '://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'] . $query_string;
|
44 |
+
|
45 |
+
// Redirect
|
46 |
+
wp_redirect( $redirect_url );
|
47 |
+
exit;
|
48 |
+
}
|
49 |
+
}
|
50 |
+
|
51 |
+
|
52 |
+
/**
|
53 |
+
* Bind nag message
|
54 |
+
*/
|
55 |
+
private function bind() {
|
56 |
+
|
57 |
+
// Is admin notice hidden?
|
58 |
+
$current_user = wp_get_current_user();
|
59 |
+
$hide_notice = get_user_meta( $current_user->ID, ALM_Nag::OPTION_ADMIN_NOTICE_KEY, true );
|
60 |
+
|
61 |
+
// Check if we need to display the notice
|
62 |
+
if ( current_user_can( 'install_plugins' ) && '' == $hide_notice ) {
|
63 |
+
// Get installation date
|
64 |
+
$datetime_install = $this->get_install_date();
|
65 |
+
$datetime_past = new DateTime( ALM_Nag::OPTION_NAG_DELAY );
|
66 |
+
if ( $datetime_past >= $datetime_install ) {
|
67 |
+
// 10 or more days ago, show admin notice
|
68 |
+
add_action( 'admin_notices', array( $this, 'display_admin_notice' ) );
|
69 |
+
}
|
70 |
+
}
|
71 |
+
}
|
72 |
+
|
73 |
+
|
74 |
+
/**
|
75 |
+
* Get the install data
|
76 |
+
*
|
77 |
+
* @return DateTime
|
78 |
+
*/
|
79 |
+
private function get_install_date() {
|
80 |
+
$date_string = get_site_option( ALM_Nag::OPTION_INSTALL_DATE, '' );
|
81 |
+
if ( $date_string == '' ) {
|
82 |
+
// There is no install date, plugin was installed before version 1.2.0. Add it now.
|
83 |
+
$date_string = self::insert_install_date();
|
84 |
+
}
|
85 |
+
return new DateTime( $date_string );
|
86 |
+
}
|
87 |
+
|
88 |
+
|
89 |
+
/**
|
90 |
+
* Parse the admin query string
|
91 |
+
*
|
92 |
+
* @return array
|
93 |
+
*/
|
94 |
+
private function get_admin_querystring_array() {
|
95 |
+
parse_str( $_SERVER['QUERY_STRING'], $params );
|
96 |
+
|
97 |
+
return $params;
|
98 |
+
}
|
99 |
+
|
100 |
+
|
101 |
+
/**
|
102 |
+
* Insert the install date
|
103 |
+
*
|
104 |
+
* @return string
|
105 |
+
*/
|
106 |
+
public static function insert_install_date() {
|
107 |
+
if(!get_site_option(ALM_Nag::OPTION_INSTALL_DATE)){
|
108 |
+
$datetime_now = new DateTime();
|
109 |
+
$date_string = $datetime_now->format( 'Y-m-d' );
|
110 |
+
add_site_option( ALM_Nag::OPTION_INSTALL_DATE, $date_string, '', 'no' );
|
111 |
+
return $date_string;
|
112 |
+
}
|
113 |
+
}
|
114 |
+
|
115 |
+
|
116 |
+
/**
|
117 |
+
* Display the admin notice
|
118 |
+
*/
|
119 |
+
public function display_admin_notice() {
|
120 |
+
|
121 |
+
$query_params = $this->get_admin_querystring_array();
|
122 |
+
$query_string = '?' . http_build_query( array_merge( $query_params, array( ALM_Nag::OPTION_ADMIN_NOTICE_KEY => '1' ) ) );
|
123 |
+
|
124 |
+
echo '<div class="updated" style="padding: 15px;">';
|
125 |
+
printf( __( "<p style='padding: 0; margin: 0 0 15px;'>You've been using <b style='color: #222;'><a href='%s'>Ajax Load More</a></b> for some time now, could you please give it a review at wordpress.org?<br/>All reviews, both good and bad are important as they help the plugin grow and improve over time.</p><p style='padding: 0; margin: 0 0 15px;'><a href='%s' target='_blank' class='button button-primary'>Yes, I'll leave a review</a> <a href='%s' class='button-no'>I've already done this</a></p><p style='padding: 10px 0 0; margin: 0;'><small><a href='http://connekthq.com/plugins/' target='_blank'>Check out other <b>Connekt</b> WordPress plugins</a></small></p>" ), get_admin_url() . 'admin.php?page=ajax-load-more', 'http://wordpress.org/support/view/plugin-reviews/ajax-load-more', $query_string );
|
126 |
+
echo '</div>';
|
127 |
+
|
128 |
+
}
|
129 |
+
}
|
130 |
+
|
131 |
+
|
132 |
+
function alm_nag_notice(){
|
133 |
+
$alm_nag = new ALM_NAG();
|
134 |
+
$alm_nag->setup();
|
135 |
+
}
|
136 |
+
// initialize
|
137 |
+
alm_nag_notice();
|
138 |
+
|
139 |
+
endif;
|
admin/dist/css/admin.css
CHANGED
@@ -983,6 +983,17 @@ disabled look for disabled choices in the results dropdown
|
|
983 |
background-size: 30px 10px;
|
984 |
background-position: 95% center; }
|
985 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
986 |
.shortcode-builder section {
|
987 |
display: -webkit-box;
|
988 |
display: -ms-flexbox;
|
@@ -1043,7 +1054,8 @@ disabled look for disabled choices in the results dropdown
|
|
1043 |
width: 100%; }
|
1044 |
.shortcode-builder--fields section {
|
1045 |
width: 104%;
|
1046 |
-
margin-left: -2%;
|
|
|
1047 |
.shortcode-builder--fields .half {
|
1048 |
width: 50%;
|
1049 |
padding: 0 2%; }
|
@@ -1134,6 +1146,12 @@ disabled look for disabled choices in the results dropdown
|
|
1134 |
display: table;
|
1135 |
content: ''; }
|
1136 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1137 |
.ajax-load-more .builder-option-toggle {
|
1138 |
display: -webkit-box;
|
1139 |
display: -ms-flexbox;
|
@@ -1339,7 +1357,7 @@ body.ajax-load-more_page_ajax-load-more-pro {
|
|
1339 |
*/
|
1340 |
.ajax-load-more * {
|
1341 |
-webkit-box-sizing: border-box;
|
1342 |
-
|
1343 |
|
1344 |
.forceColors {
|
1345 |
background: #fff !important; }
|
@@ -1873,7 +1891,7 @@ a.button-small {
|
|
1873 |
border-radius: 3px;
|
1874 |
color: #555;
|
1875 |
-webkit-box-shadow: none;
|
1876 |
-
|
1877 |
|
1878 |
.ajax-load-more input[type=checkbox],
|
1879 |
.ajax-load-more input[type=radio] {
|
@@ -2063,7 +2081,7 @@ a.button-small {
|
|
2063 |
.admin.ajax-load-more.shortcode-builder .row:hover {
|
2064 |
border-color: #d9d9d9;
|
2065 |
-webkit-box-shadow: 0 0 0 3px #f7f7f7;
|
2066 |
-
|
2067 |
|
2068 |
.admin.ajax-load-more .row:first-of-type {
|
2069 |
margin-top: 20px;
|
@@ -2253,7 +2271,7 @@ hr.indented {
|
|
2253 |
background: #FF5A58;
|
2254 |
border-top: 1px solid #ca5252;
|
2255 |
-webkit-box-shadow: 0 -5px 5px #efefef;
|
2256 |
-
|
2257 |
width: 100%;
|
2258 |
display: block;
|
2259 |
z-index: 1; }
|
@@ -2266,7 +2284,7 @@ hr.indented {
|
|
2266 |
border: none;
|
2267 |
padding: 0;
|
2268 |
-webkit-box-shadow: none;
|
2269 |
-
|
2270 |
|
2271 |
.ajax-load-more .row .wrap.output {
|
2272 |
display: block !important; }
|
@@ -3054,7 +3072,7 @@ span.cnkt-button.installed i,
|
|
3054 |
.license a.cnkt-button.installed {
|
3055 |
background-color: none !important;
|
3056 |
-webkit-box-shadow: none !important;
|
3057 |
-
|
3058 |
border-color: transparent !important; }
|
3059 |
|
3060 |
.license .no-license {
|
@@ -3638,10 +3656,10 @@ span.cnkt-button.installed i,
|
|
3638 |
border-color: #c94141;
|
3639 |
color: #fff;
|
3640 |
-webkit-box-shadow: 0 0 3px #ccc;
|
3641 |
-
|
3642 |
.alm-cache .alm-dir-listing .dir-title .delete:active {
|
3643 |
-webkit-box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.2);
|
3644 |
-
|
3645 |
.alm-cache .cache-page-title {
|
3646 |
font-size: 14px;
|
3647 |
display: block;
|
@@ -4622,9 +4640,9 @@ span.dismiss a {
|
|
4622 |
top: -20px;
|
4623 |
background: #fff;
|
4624 |
color: #333;
|
4625 |
-
width:
|
4626 |
-
height:
|
4627 |
-
line-height:
|
4628 |
text-align: center;
|
4629 |
z-index: 1;
|
4630 |
font-weight: 700;
|
@@ -4633,7 +4651,7 @@ span.dismiss a {
|
|
4633 |
border: 1px solid #e1e1e1;
|
4634 |
-webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
|
4635 |
box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
|
4636 |
-
font-size:
|
4637 |
|
4638 |
.alm-template-section-nav {
|
4639 |
display: block;
|
983 |
background-size: 30px 10px;
|
984 |
background-position: 95% center; }
|
985 |
|
986 |
+
.shortcode-builder p.warning-callout:before {
|
987 |
+
display: block;
|
988 |
+
width: calc(100% + 36px);
|
989 |
+
height: 1px;
|
990 |
+
content: '';
|
991 |
+
background: #f1f1f1;
|
992 |
+
position: absolute;
|
993 |
+
left: -18px;
|
994 |
+
top: -10px;
|
995 |
+
z-index: 1; }
|
996 |
+
|
997 |
.shortcode-builder section {
|
998 |
display: -webkit-box;
|
999 |
display: -ms-flexbox;
|
1054 |
width: 100%; }
|
1055 |
.shortcode-builder--fields section {
|
1056 |
width: 104%;
|
1057 |
+
margin-left: -2%;
|
1058 |
+
border: none; }
|
1059 |
.shortcode-builder--fields .half {
|
1060 |
width: 50%;
|
1061 |
padding: 0 2%; }
|
1146 |
display: table;
|
1147 |
content: ''; }
|
1148 |
|
1149 |
+
.shortcode-builder .section-intro {
|
1150 |
+
font-size: 13px;
|
1151 |
+
padding: 20px 5px 20px;
|
1152 |
+
margin: 0 0 20px;
|
1153 |
+
border-bottom: 1px solid #f1f1f1; }
|
1154 |
+
|
1155 |
.ajax-load-more .builder-option-toggle {
|
1156 |
display: -webkit-box;
|
1157 |
display: -ms-flexbox;
|
1357 |
*/
|
1358 |
.ajax-load-more * {
|
1359 |
-webkit-box-sizing: border-box;
|
1360 |
+
box-sizing: border-box; }
|
1361 |
|
1362 |
.forceColors {
|
1363 |
background: #fff !important; }
|
1891 |
border-radius: 3px;
|
1892 |
color: #555;
|
1893 |
-webkit-box-shadow: none;
|
1894 |
+
box-shadow: none; }
|
1895 |
|
1896 |
.ajax-load-more input[type=checkbox],
|
1897 |
.ajax-load-more input[type=radio] {
|
2081 |
.admin.ajax-load-more.shortcode-builder .row:hover {
|
2082 |
border-color: #d9d9d9;
|
2083 |
-webkit-box-shadow: 0 0 0 3px #f7f7f7;
|
2084 |
+
box-shadow: 0 0 0 3px #f7f7f7; }
|
2085 |
|
2086 |
.admin.ajax-load-more .row:first-of-type {
|
2087 |
margin-top: 20px;
|
2271 |
background: #FF5A58;
|
2272 |
border-top: 1px solid #ca5252;
|
2273 |
-webkit-box-shadow: 0 -5px 5px #efefef;
|
2274 |
+
box-shadow: 0 -5px 5px #efefef;
|
2275 |
width: 100%;
|
2276 |
display: block;
|
2277 |
z-index: 1; }
|
2284 |
border: none;
|
2285 |
padding: 0;
|
2286 |
-webkit-box-shadow: none;
|
2287 |
+
box-shadow: none; }
|
2288 |
|
2289 |
.ajax-load-more .row .wrap.output {
|
2290 |
display: block !important; }
|
3072 |
.license a.cnkt-button.installed {
|
3073 |
background-color: none !important;
|
3074 |
-webkit-box-shadow: none !important;
|
3075 |
+
box-shadow: none !important;
|
3076 |
border-color: transparent !important; }
|
3077 |
|
3078 |
.license .no-license {
|
3656 |
border-color: #c94141;
|
3657 |
color: #fff;
|
3658 |
-webkit-box-shadow: 0 0 3px #ccc;
|
3659 |
+
box-shadow: 0 0 3px #ccc; }
|
3660 |
.alm-cache .alm-dir-listing .dir-title .delete:active {
|
3661 |
-webkit-box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.2);
|
3662 |
+
box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.2); }
|
3663 |
.alm-cache .cache-page-title {
|
3664 |
font-size: 14px;
|
3665 |
display: block;
|
4640 |
top: -20px;
|
4641 |
background: #fff;
|
4642 |
color: #333;
|
4643 |
+
width: 34px;
|
4644 |
+
height: 34px;
|
4645 |
+
line-height: 34px;
|
4646 |
text-align: center;
|
4647 |
z-index: 1;
|
4648 |
font-weight: 700;
|
4651 |
border: 1px solid #e1e1e1;
|
4652 |
-webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
|
4653 |
box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
|
4654 |
+
font-size: 11px; }
|
4655 |
|
4656 |
.alm-template-section-nav {
|
4657 |
display: block;
|
admin/dist/js/admin.js
CHANGED
@@ -1462,6 +1462,7 @@ jQuery(document).ready(function ($) {
|
|
1462 |
$('.ajax-load-more-wrap.core').removeClass('chasing-arrows');
|
1463 |
$('.ajax-load-more-wrap.core').addClass(color);
|
1464 |
});
|
|
|
1465 |
$("select#alm_settings_btn_color").click(function (e) {
|
1466 |
e.preventDefault();
|
1467 |
});
|
@@ -1665,7 +1666,6 @@ jQuery(document).ready(function ($) {
|
|
1665 |
* Get layout value Ajax
|
1666 |
* @since 2.8.7
|
1667 |
*/
|
1668 |
-
console.log(window.editorDefault);
|
1669 |
$(document).on('click', '.alm-layout-selection li a.layout', function (e) {
|
1670 |
e.preventDefault();
|
1671 |
var el = $(this),
|
1462 |
$('.ajax-load-more-wrap.core').removeClass('chasing-arrows');
|
1463 |
$('.ajax-load-more-wrap.core').addClass(color);
|
1464 |
});
|
1465 |
+
|
1466 |
$("select#alm_settings_btn_color").click(function (e) {
|
1467 |
e.preventDefault();
|
1468 |
});
|
1666 |
* Get layout value Ajax
|
1667 |
* @since 2.8.7
|
1668 |
*/
|
|
|
1669 |
$(document).on('click', '.alm-layout-selection li a.layout', function (e) {
|
1670 |
e.preventDefault();
|
1671 |
var el = $(this),
|
admin/shortcode-builder/components/nextpage.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
|
6 |
<section class="first">
|
7 |
<div class="shortcode-builder--label">
|
8 |
-
<p><?php _e('Enable the infinite scrolling of multipage WordPress content using the', 'ajax-load-more'); ?> <span>< !--nextpage-- ></span> <?php _e('Quicktag', 'ajax-load-more');
|
9 |
</div>
|
10 |
<div class="shortcode-builder--fields">
|
11 |
<div class="inner">
|
@@ -41,14 +41,14 @@
|
|
41 |
<section>
|
42 |
<div class="shortcode-builder--label">
|
43 |
<h4><?php _e('URL Rewrite', 'ajax-load-more'); ?></h4>
|
44 |
-
<p><?php _e('Update the browser address bar as pages come into view', 'ajax-load-more');
|
45 |
</div>
|
46 |
<div class="shortcode-builder--fields">
|
47 |
<div class="inner">
|
48 |
<ul>
|
49 |
<li style="width:100%;">
|
50 |
<input class="alm_element" type="checkbox" name="next-page-url" id="next-page-url" value="true" checked="checked">
|
51 |
-
<label for="next-page-url"><?php _e('Yes, update the URL', 'ajax-load-more');
|
52 |
</li>
|
53 |
</ul>
|
54 |
<input type="checkbox" class="alm_element" name="next-page-url" id="next-page-url" checked="checked">
|
@@ -60,16 +60,16 @@
|
|
60 |
<div class="shortcode-builder--label">
|
61 |
<h4>
|
62 |
<?php _e('Google Analytics', 'ajax-load-more'); ?>
|
63 |
-
<a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('You must have a reference to your Google Analytics tracking code already on the page','ajax-load-more');
|
64 |
</h4>
|
65 |
-
<p><?php _e('Each time a page is loaded it will count as a pageview', 'ajax-load-more');
|
66 |
</div>
|
67 |
<div class="shortcode-builder--fields">
|
68 |
<div class="inner">
|
69 |
<ul>
|
70 |
<li style="width:100%;">
|
71 |
<input class="alm_element" type="checkbox" name="next-page-pageviews" id="next-page-pageviews" value="true" checked="checked">
|
72 |
-
<label for="next-page-pageviews"><?php _e('Yes, send pageviews to Google Analytics', 'ajax-load-more');
|
73 |
</li>
|
74 |
</ul>
|
75 |
<input type="checkbox" class="alm_element" name="next-page-url" id="next-page-url" checked="checked">
|
@@ -81,11 +81,11 @@
|
|
81 |
<div class="shortcode-builder--label">
|
82 |
<h4><?php _e('Scroll to Page', 'ajax-load-more'); ?></h4>
|
83 |
<p>
|
84 |
-
<?php _e('Scroll users automatically to the next page on \'Load More\' action', 'ajax-load-more');
|
85 |
</p>
|
86 |
</div>
|
87 |
<div class="shortcode-builder--fields">
|
88 |
-
<section>
|
89 |
<div class="half">
|
90 |
<label for="next-page-scroll" class="full"><?php _e('Enable Scrolling', 'ajax-load-more'); ?></label>
|
91 |
<select class="alm_element" name="next-page-scroll" id="next-page-scroll">
|
@@ -96,7 +96,7 @@
|
|
96 |
<div class="half">
|
97 |
<label for="next-page-scroll-top" class="full">
|
98 |
<?php _e('Scroll Top', 'ajax-load-more'); ?>
|
99 |
-
<a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('The scrolltop position of the window (used with scrolling and fwd/back browser buttons)','ajax-load-more');
|
100 |
</label>
|
101 |
<input id="next-page-scroll-top" name="next-page-scroll-top" class="alm_element sm" type="number" min="0" max="1000" step="1" value="30" placeholder="30">
|
102 |
</div>
|
@@ -105,7 +105,7 @@
|
|
105 |
</section>
|
106 |
|
107 |
<p class="warning-callout">
|
108 |
-
<?php _e('You must add the Next Page shortcode directly to your
|
109 |
</p>
|
110 |
</div>
|
111 |
|
5 |
|
6 |
<section class="first">
|
7 |
<div class="shortcode-builder--label">
|
8 |
+
<p><?php _e('Enable the infinite scrolling of multipage WordPress content using the', 'ajax-load-more'); ?> <span>< !--nextpage-- ></span> <?php _e('Quicktag or Page Break block.', 'ajax-load-more'); ?></p>
|
9 |
</div>
|
10 |
<div class="shortcode-builder--fields">
|
11 |
<div class="inner">
|
41 |
<section>
|
42 |
<div class="shortcode-builder--label">
|
43 |
<h4><?php _e('URL Rewrite', 'ajax-load-more'); ?></h4>
|
44 |
+
<p><?php _e('Update the browser address bar as pages come into view.', 'ajax-load-more'); ?></p>
|
45 |
</div>
|
46 |
<div class="shortcode-builder--fields">
|
47 |
<div class="inner">
|
48 |
<ul>
|
49 |
<li style="width:100%;">
|
50 |
<input class="alm_element" type="checkbox" name="next-page-url" id="next-page-url" value="true" checked="checked">
|
51 |
+
<label for="next-page-url"><?php _e('Yes, update the URL.', 'ajax-load-more'); ?></label>
|
52 |
</li>
|
53 |
</ul>
|
54 |
<input type="checkbox" class="alm_element" name="next-page-url" id="next-page-url" checked="checked">
|
60 |
<div class="shortcode-builder--label">
|
61 |
<h4>
|
62 |
<?php _e('Google Analytics', 'ajax-load-more'); ?>
|
63 |
+
<a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('You must have a reference to your Google Analytics tracking code already on the page.','ajax-load-more'); ?>"></a>
|
64 |
</h4>
|
65 |
+
<p><?php _e('Each time a page is loaded it will count as a pageview.', 'ajax-load-more'); ?></p>
|
66 |
</div>
|
67 |
<div class="shortcode-builder--fields">
|
68 |
<div class="inner">
|
69 |
<ul>
|
70 |
<li style="width:100%;">
|
71 |
<input class="alm_element" type="checkbox" name="next-page-pageviews" id="next-page-pageviews" value="true" checked="checked">
|
72 |
+
<label for="next-page-pageviews"><?php _e('Yes, send pageviews to Google Analytics.', 'ajax-load-more'); ?></label>
|
73 |
</li>
|
74 |
</ul>
|
75 |
<input type="checkbox" class="alm_element" name="next-page-url" id="next-page-url" checked="checked">
|
81 |
<div class="shortcode-builder--label">
|
82 |
<h4><?php _e('Scroll to Page', 'ajax-load-more'); ?></h4>
|
83 |
<p>
|
84 |
+
<?php _e('Scroll users automatically to the next page on \'Load More\' action.', 'ajax-load-more'); ?>
|
85 |
</p>
|
86 |
</div>
|
87 |
<div class="shortcode-builder--fields">
|
88 |
+
<section class="first">
|
89 |
<div class="half">
|
90 |
<label for="next-page-scroll" class="full"><?php _e('Enable Scrolling', 'ajax-load-more'); ?></label>
|
91 |
<select class="alm_element" name="next-page-scroll" id="next-page-scroll">
|
96 |
<div class="half">
|
97 |
<label for="next-page-scroll-top" class="full">
|
98 |
<?php _e('Scroll Top', 'ajax-load-more'); ?>
|
99 |
+
<a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('The scrolltop position of the window (used with scrolling and fwd/back browser buttons).','ajax-load-more'); ?>"></a>
|
100 |
</label>
|
101 |
<input id="next-page-scroll-top" name="next-page-scroll-top" class="alm_element sm" type="number" min="0" max="1000" step="1" value="30" placeholder="30">
|
102 |
</div>
|
105 |
</section>
|
106 |
|
107 |
<p class="warning-callout">
|
108 |
+
<?php _e('You must add the Next Page shortcode directly to your template file using the <a href="https://developer.wordpress.org/reference/functions/do_shortcode/" target="_blank">do_shortcode</a> method.', 'ajax-load-more'); ?> <a class="button-small" href="https://connekthq.com/plugins/ajax-load-more/add-ons/next-page/" target="_blank"><?php _e('View Docs', 'ajax-load-more'); ?></a>
|
109 |
</p>
|
110 |
</div>
|
111 |
|
admin/shortcode-builder/components/single-post.php
CHANGED
@@ -35,11 +35,25 @@
|
|
35 |
<input type="text" value="get_the_ID()" id="pp_id" class="alm_element disabled-input" disabled="disabled">
|
36 |
</div>
|
37 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
</section>
|
39 |
|
40 |
<section>
|
41 |
<div class="shortcode-builder--label">
|
42 |
-
<h4><?php _e('Post Ordering', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('By default, the Single Posts add-on will use the core WordPress `get_previous_post` function, but you can over ride that here.', 'ajax-load-more');
|
43 |
<p><?php _e('Select the load order of posts while infinite scrolling.', 'ajax-load-more'); ?></p>
|
44 |
<p><a class="button-small" href="https://connekthq.com/plugins/ajax-load-more/add-ons/single-post/#ordering" target="_blank"><?php _e('View Docs', 'ajax-load-more'); ?></a></p>
|
45 |
</div>
|
@@ -72,7 +86,7 @@
|
|
72 |
<div id="pp_extras">
|
73 |
<section>
|
74 |
<div class="shortcode-builder--label">
|
75 |
-
<h4><?php _e('Taxonomy', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Selecting a taxonomy means only previous posts from the same taxonomy term will be returned. If a post has multiple terms attached, each term will be considered using an OR relationship query','ajax-load-more');
|
76 |
<p><?php _e('Query previous posts from the same taxonomy term(s).', 'ajax-load-more'); ?></p>
|
77 |
</div>
|
78 |
<div class="shortcode-builder--fields">
|
@@ -104,7 +118,7 @@
|
|
104 |
|
105 |
<section>
|
106 |
<div class="shortcode-builder--label">
|
107 |
-
<h4><?php _e('Excluded Terms ', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('A comma-separated list of excluded terms by ID','ajax-load-more');
|
108 |
<p><?php _e('Exclude posts by term ID from the previous post query.', 'ajax-load-more'); ?></p>
|
109 |
</div>
|
110 |
<div class="shortcode-builder--fields">
|
@@ -113,8 +127,34 @@
|
|
113 |
</div>
|
114 |
</div>
|
115 |
</section>
|
|
|
116 |
</div>
|
117 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
<section>
|
119 |
<div class="shortcode-builder--label">
|
120 |
<h4><?php _e('Reading Progress Bar ', 'ajax-load-more'); ?></h4>
|
@@ -214,7 +254,6 @@
|
|
214 |
<!-- END Reading Progress Bar -->
|
215 |
|
216 |
<div class="clear"></div>
|
217 |
-
<hr>
|
218 |
|
219 |
<p class="warning-callout">
|
220 |
<?php _e('You must add the Single Post shortcode directly to your single template file using the <a href="https://developer.wordpress.org/reference/functions/do_shortcode/" target="_blank">do_shortcode</a> method.', 'ajax-load-more'); ?> <a class="button-small" href="https://connekthq.com/plugins/ajax-load-more/add-ons/single-post/" target="_blank"><?php _e('View Docs', 'ajax-load-more'); ?></a>
|
35 |
<input type="text" value="get_the_ID()" id="pp_id" class="alm_element disabled-input" disabled="disabled">
|
36 |
</div>
|
37 |
</div>
|
38 |
+
</section>
|
39 |
+
|
40 |
+
<section>
|
41 |
+
<div class="shortcode-builder--label">
|
42 |
+
<h4><?php _e('Target', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Repeater Templates are not required when using the Target implementation.', 'ajax-load-more'); ?>"></a></h4>
|
43 |
+
<p><?php _e('Enter the ID or classname of HTML element that wraps your single post content.', 'ajax-load-more'); ?>
|
44 |
+
<small>e.g. #container or .post-wrapper</small></p>
|
45 |
+
<p><a class="button-small" href="https://connekthq.com/plugins/ajax-load-more/add-ons/single-posts/#implementation" target="_blank"><?php _e('View Guide', 'ajax-load-more'); ?></a></p>
|
46 |
+
</div>
|
47 |
+
<div class="shortcode-builder--fields">
|
48 |
+
<div class="inner">
|
49 |
+
<input type="text" id="pp-target" class="alm_element" value="" placeholder="#container">
|
50 |
+
</div>
|
51 |
+
</div>
|
52 |
</section>
|
53 |
|
54 |
<section>
|
55 |
<div class="shortcode-builder--label">
|
56 |
+
<h4><?php _e('Post Ordering', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('By default, the Single Posts add-on will use the core WordPress `get_previous_post` function, but you can over ride that here.', 'ajax-load-more'); ?>"></a></h4>
|
57 |
<p><?php _e('Select the load order of posts while infinite scrolling.', 'ajax-load-more'); ?></p>
|
58 |
<p><a class="button-small" href="https://connekthq.com/plugins/ajax-load-more/add-ons/single-post/#ordering" target="_blank"><?php _e('View Docs', 'ajax-load-more'); ?></a></p>
|
59 |
</div>
|
86 |
<div id="pp_extras">
|
87 |
<section>
|
88 |
<div class="shortcode-builder--label">
|
89 |
+
<h4><?php _e('Taxonomy', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Selecting a taxonomy means only previous posts from the same taxonomy term will be returned. If a post has multiple terms attached, each term will be considered using an OR relationship query.','ajax-load-more'); ?>"></a></h4>
|
90 |
<p><?php _e('Query previous posts from the same taxonomy term(s).', 'ajax-load-more'); ?></p>
|
91 |
</div>
|
92 |
<div class="shortcode-builder--fields">
|
118 |
|
119 |
<section>
|
120 |
<div class="shortcode-builder--label">
|
121 |
+
<h4><?php _e('Excluded Terms ', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('A comma-separated list of excluded terms by ID.','ajax-load-more'); ?>"></a></h4>
|
122 |
<p><?php _e('Exclude posts by term ID from the previous post query.', 'ajax-load-more'); ?></p>
|
123 |
</div>
|
124 |
<div class="shortcode-builder--fields">
|
127 |
</div>
|
128 |
</div>
|
129 |
</section>
|
130 |
+
|
131 |
</div>
|
132 |
|
133 |
+
<?php if( is_plugin_active( 'elementor-pro/elementor-pro.php' ) ) { ?>
|
134 |
+
<!-- Elementor -->
|
135 |
+
<section>
|
136 |
+
<div class="shortcode-builder--label">
|
137 |
+
<h4><?php _e('Elementor', 'ajax-load-more'); ?></h4>
|
138 |
+
<p><?php _e('Set Elementor <b>true</b> if you are using Elementor templates to build single posts.', 'ajax-load-more'); ?></p>
|
139 |
+
<p><a class="button-small" href="https://connekthq.com/elementor-infinite-scrolling/" target="_blank"><?php _e('View Blog Post', 'ajax-load-more'); ?></a></p>
|
140 |
+
</div>
|
141 |
+
<div class="shortcode-builder--fields">
|
142 |
+
<div class="inner">
|
143 |
+
<ul>
|
144 |
+
<li>
|
145 |
+
<input class="alm_element" type="radio" name="elementor-single" value="t" id="elementor_t">
|
146 |
+
<label for="elementor_t"><?php _e('True', 'ajax-load-more'); ?></label>
|
147 |
+
</li>
|
148 |
+
<li>
|
149 |
+
<input class="alm_element" type="radio" name="elementor-single" value="f" id="elementor_f" checked="checked">
|
150 |
+
<label for="elementor_f"><?php _e('False', 'ajax-load-more'); ?></label>
|
151 |
+
</li>
|
152 |
+
</ul>
|
153 |
+
</div>
|
154 |
+
</div>
|
155 |
+
</section>
|
156 |
+
<?php } ?>
|
157 |
+
|
158 |
<section>
|
159 |
<div class="shortcode-builder--label">
|
160 |
<h4><?php _e('Reading Progress Bar ', 'ajax-load-more'); ?></h4>
|
254 |
<!-- END Reading Progress Bar -->
|
255 |
|
256 |
<div class="clear"></div>
|
|
|
257 |
|
258 |
<p class="warning-callout">
|
259 |
<?php _e('You must add the Single Post shortcode directly to your single template file using the <a href="https://developer.wordpress.org/reference/functions/do_shortcode/" target="_blank">do_shortcode</a> method.', 'ajax-load-more'); ?> <a class="button-small" href="https://connekthq.com/plugins/ajax-load-more/add-ons/single-post/" target="_blank"><?php _e('View Docs', 'ajax-load-more'); ?></a>
|
admin/shortcode-builder/components/term-query.php
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php if(has_action('alm_terms_installed')) { ?>
|
2 |
+
<div class="row input term_query add-on" id="alm-term_query">
|
3 |
+
<h3 class="heading" tabindex="0"><?php _e('Terms', 'ajax-load-more'); ?></h3>
|
4 |
+
<div class="expand-wrap">
|
5 |
+
|
6 |
+
<section class="first">
|
7 |
+
<div class="shortcode-builder--label">
|
8 |
+
<p><?php _e('Enable Terms Query.', 'ajax-load-more'); ?></p>
|
9 |
+
</div>
|
10 |
+
<div class="shortcode-builder--fields">
|
11 |
+
<div class="inner">
|
12 |
+
<ul>
|
13 |
+
<li>
|
14 |
+
<input class="alm_element" type="radio" name="term_query" value="true" id="term_query-true" >
|
15 |
+
<label for="term_query-true"><?php _e('True', 'ajax-load-more'); ?></label>
|
16 |
+
</li>
|
17 |
+
<li>
|
18 |
+
<input class="alm_element" type="radio" name="term_query" value="false" id="term_query-false" checked="checked">
|
19 |
+
<label for="term_query-false"><?php _e('False', 'ajax-load-more'); ?></label>
|
20 |
+
</li>
|
21 |
+
</ul>
|
22 |
+
</div>
|
23 |
+
</div>
|
24 |
+
</section>
|
25 |
+
|
26 |
+
<div class="nested-component term_query-options" style="display: none;">
|
27 |
+
<div class="nested-component--inner">
|
28 |
+
<?php
|
29 |
+
// Taxonomies
|
30 |
+
$tax_args = array(
|
31 |
+
'public' => true,
|
32 |
+
'_builtin' => false
|
33 |
+
);
|
34 |
+
$tax_output = 'objects';
|
35 |
+
$taxonomies = get_taxonomies( $tax_args, $tax_output );
|
36 |
+
?>
|
37 |
+
<section>
|
38 |
+
<div class="shortcode-builder--label">
|
39 |
+
<h4><?php _e('Taxonomy', 'ajax-load-more'); ?></h4>
|
40 |
+
<p><?php _e('Select a taxonomy to query.', 'ajax-load-more'); ?></p>
|
41 |
+
</div>
|
42 |
+
<div class="shortcode-builder--fields">
|
43 |
+
<div class="inner">
|
44 |
+
<select class="alm_element multiple" name="term_query-taxonomy-select" id="term_query-taxonomy-select" multiple="multiple">
|
45 |
+
<option value="category"><?php _e('Category', 'ajax-load-more'); ?></option>
|
46 |
+
<option value="post_tag"><?php _e('Tag', 'ajax-load-more'); ?></option>
|
47 |
+
<?php
|
48 |
+
if($taxonomies){
|
49 |
+
foreach( $taxonomies as $taxonomy ){ ?>
|
50 |
+
<option name="chk-<?php echo $taxonomy->query_var; ?>" id="chk-<?php echo $taxonomy->query_var; ?>" value="<?php echo $taxonomy->query_var;?>"><?php echo $taxonomy->label; ?></option>
|
51 |
+
<?php
|
52 |
+
}
|
53 |
+
} ?>
|
54 |
+
</select>
|
55 |
+
</div>
|
56 |
+
</div>
|
57 |
+
</section>
|
58 |
+
|
59 |
+
<section>
|
60 |
+
<div class="shortcode-builder--label">
|
61 |
+
<h4><?php _e('Number', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Leave empty to return all terms.','ajax-load-more'); ?>"></a></h4>
|
62 |
+
<p><?php _e('The number of terms to return per page.', 'ajax-load-more'); ?></p>
|
63 |
+
</div>
|
64 |
+
<div class="shortcode-builder--fields">
|
65 |
+
<div class="inner">
|
66 |
+
<input type="number" id="term_query-number" class="alm_element numbers-only" name="term_query-number" value="5">
|
67 |
+
</div>
|
68 |
+
</div>
|
69 |
+
</section>
|
70 |
+
|
71 |
+
<section>
|
72 |
+
<div class="shortcode-builder--label">
|
73 |
+
<h4><?php _e('Hide Empty', 'ajax-load-more'); ?></h4>
|
74 |
+
<p><?php _e('Whether to hide terms not assigned to any posts.', 'ajax-load-more'); ?></p>
|
75 |
+
</div>
|
76 |
+
<div class="shortcode-builder--fields">
|
77 |
+
<div class="inner">
|
78 |
+
<select class="alm_element term_query-hide-empty" id="term_query-hide-empty">
|
79 |
+
<option value="true" selected="selected"><?php _e('True', 'ajax-load-more'); ?></option>
|
80 |
+
<option value="false"><?php _e('False', 'ajax-load-more'); ?></option>
|
81 |
+
</select>
|
82 |
+
</div>
|
83 |
+
</div>
|
84 |
+
</section>
|
85 |
+
|
86 |
+
</div>
|
87 |
+
|
88 |
+
</div>
|
89 |
+
</div>
|
90 |
+
</div>
|
91 |
+
<?php } ?>
|
admin/shortcode-builder/js/shortcode-builder.js
CHANGED
@@ -39,6 +39,8 @@ jQuery(document).ready(function($) {
|
|
39 |
$('.ajax-load-more .categories select.multiple').select2();
|
40 |
$('.ajax-load-more .tags select.multiple').select2();
|
41 |
$('.ajax-load-more .authors select.multiple').select2();
|
|
|
|
|
42 |
};
|
43 |
|
44 |
|
@@ -523,6 +525,31 @@ jQuery(document).ready(function($) {
|
|
523 |
}
|
524 |
|
525 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
526 |
// ---------------------------
|
527 |
// - SEO
|
528 |
// ---------------------------
|
@@ -547,7 +574,9 @@ jQuery(document).ready(function($) {
|
|
547 |
pp_post__in_order = $('#pp_post__in_input').val(),
|
548 |
pp_taxonomy = $('#pp-taxonomy-select').val(),
|
549 |
pp_excluded_terms = $('#pp-term-exclude').val(),
|
550 |
-
|
|
|
|
|
551 |
|
552 |
|
553 |
$('.prev_post_options').slideDown(250, 'alm_easeInOutQuad');
|
@@ -578,8 +607,11 @@ jQuery(document).ready(function($) {
|
|
578 |
}
|
579 |
}
|
580 |
|
581 |
-
output += (pp_taxonomy !== '' ) ? ' single_post_taxonomy="'+pp_taxonomy+'"' : '';
|
582 |
-
output += (pp_excluded_terms !== '' ) ? ' single_post_excluded_terms="'+pp_excluded_terms+'"' : '';
|
|
|
|
|
|
|
583 |
|
584 |
// Reading Progress Bar
|
585 |
if(pp_progress_bar === 'true'){
|
@@ -1345,6 +1377,21 @@ jQuery(document).ready(function($) {
|
|
1345 |
}
|
1346 |
|
1347 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1348 |
// ---------------------------
|
1349 |
// - No Results Text
|
1350 |
// ---------------------------
|
@@ -1384,8 +1431,30 @@ jQuery(document).ready(function($) {
|
|
1384 |
$(document).on('change keyup', '.alm_element', function() {
|
1385 |
var el = $(this);
|
1386 |
el.addClass('changed');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1387 |
|
1388 |
-
//
|
1389 |
if(el.attr('name') === 'repeater-select'){
|
1390 |
$('.select-theme-repeater select[name=theme-repeater-select]').select2('val','');
|
1391 |
}
|
@@ -1394,7 +1463,8 @@ jQuery(document).ready(function($) {
|
|
1394 |
$('.repeater select[name=repeater-select]').select2('val','default');
|
1395 |
}
|
1396 |
}
|
1397 |
-
|
|
|
1398 |
if(el.attr('id') === 'comments_template'){
|
1399 |
$('#comments_callback').val('');
|
1400 |
}
|
39 |
$('.ajax-load-more .categories select.multiple').select2();
|
40 |
$('.ajax-load-more .tags select.multiple').select2();
|
41 |
$('.ajax-load-more .authors select.multiple').select2();
|
42 |
+
$('.ajax-load-more .term_query select.multiple').select2();
|
43 |
+
$('.ajax-load-more .users select.multiple').select2();
|
44 |
};
|
45 |
|
46 |
|
525 |
}
|
526 |
|
527 |
|
528 |
+
|
529 |
+
// ---------------------------
|
530 |
+
// - TERMS
|
531 |
+
// ---------------------------
|
532 |
+
|
533 |
+
var term_query = $('#alm-term_query input[name=term_query]:checked').val();
|
534 |
+
if(term_query !== 'false' && term_query != undefined){
|
535 |
+
$('.term_query-options').slideDown(250, 'alm_easeInOutQuad');
|
536 |
+
|
537 |
+
var term_query_taxonomy = $('#alm-term_query select#term_query-taxonomy-select').val();
|
538 |
+
var term_query_number = $('#alm-term_query #term_query-number').val();
|
539 |
+
var term_query_hide_empty = $('#alm-term_query #term_query-hide-empty').val();
|
540 |
+
if(term_query_taxonomy){
|
541 |
+
output += ' term_query="true"';
|
542 |
+
output += ' term_query_taxonomy="'+ term_query_taxonomy +'"';
|
543 |
+
output += ' term_query_number="'+ term_query_number +'"';
|
544 |
+
output += ' term_query_hide_empty="'+ term_query_hide_empty +'"';
|
545 |
+
}
|
546 |
+
|
547 |
+
|
548 |
+
}else{
|
549 |
+
$('.term_query-options').slideUp(250, 'alm_easeInOutQuad')
|
550 |
+
}
|
551 |
+
|
552 |
+
|
553 |
// ---------------------------
|
554 |
// - SEO
|
555 |
// ---------------------------
|
574 |
pp_post__in_order = $('#pp_post__in_input').val(),
|
575 |
pp_taxonomy = $('#pp-taxonomy-select').val(),
|
576 |
pp_excluded_terms = $('#pp-term-exclude').val(),
|
577 |
+
pp_elementor = $('.previous-post input[name=elementor-single]:checked').val(),
|
578 |
+
pp_progress_bar = $('.previous-post input[name=prev-post-progress]:checked').val(),
|
579 |
+
pp_target = $('.previous-post input#pp-target').val();
|
580 |
|
581 |
|
582 |
$('.prev_post_options').slideDown(250, 'alm_easeInOutQuad');
|
607 |
}
|
608 |
}
|
609 |
|
610 |
+
output += (pp_taxonomy !== '' ) ? ' single_post_taxonomy="'+ pp_taxonomy +'"' : '';
|
611 |
+
output += (pp_excluded_terms !== '' ) ? ' single_post_excluded_terms="'+ pp_excluded_terms +'"' : '';
|
612 |
+
output += (pp_target !== '' ) ? ' single_post_target="'+ pp_target +'"' : '';
|
613 |
+
output += (pp_elementor === 't' ) ? ' elementor="true"' : '';
|
614 |
+
|
615 |
|
616 |
// Reading Progress Bar
|
617 |
if(pp_progress_bar === 'true'){
|
1377 |
}
|
1378 |
|
1379 |
|
1380 |
+
// ---------------------------
|
1381 |
+
// - Integrations
|
1382 |
+
// ---------------------------
|
1383 |
+
|
1384 |
+
var archive = $('.alm-archive input[name=archive]:checked').val();
|
1385 |
+
if(archive === 't'){
|
1386 |
+
output += ' archive="true"';
|
1387 |
+
}
|
1388 |
+
|
1389 |
+
var woocommerce = $('.alm-woocommerce input[name=woocommerce]:checked').val();
|
1390 |
+
if(woocommerce === 't'){
|
1391 |
+
output += ' woocommerce="true"';
|
1392 |
+
}
|
1393 |
+
|
1394 |
+
|
1395 |
// ---------------------------
|
1396 |
// - No Results Text
|
1397 |
// ---------------------------
|
1431 |
$(document).on('change keyup', '.alm_element', function() {
|
1432 |
var el = $(this);
|
1433 |
el.addClass('changed');
|
1434 |
+
|
1435 |
+
// WooCommerce
|
1436 |
+
if( el.attr('name') === 'woocommerce'){
|
1437 |
+
var postTypeCheckboxes = $('ul.alm-post-type-list input[type=checkbox]');
|
1438 |
+
// Check 'product'
|
1439 |
+
$('ul.alm-post-type-list input[type=checkbox]#chk-product').prop('checked', true).addClass('changed');
|
1440 |
+
|
1441 |
+
if(postTypeCheckboxes){
|
1442 |
+
postTypeCheckboxes.each(function(index, item){
|
1443 |
+
if(item.dataset.type !== 'product'){
|
1444 |
+
item.checked = false;
|
1445 |
+
}
|
1446 |
+
});
|
1447 |
+
}
|
1448 |
+
|
1449 |
+
$('.alm-archive input#archive_f').prop('checked', true);
|
1450 |
+
}
|
1451 |
+
|
1452 |
+
// Archives
|
1453 |
+
if( el.attr('name') === 'archive'){
|
1454 |
+
$('.alm-woocommerce input#woocommerce_f').prop('checked', true);
|
1455 |
+
}
|
1456 |
|
1457 |
+
// Reset Repeater Templates
|
1458 |
if(el.attr('name') === 'repeater-select'){
|
1459 |
$('.select-theme-repeater select[name=theme-repeater-select]').select2('val','');
|
1460 |
}
|
1463 |
$('.repeater select[name=repeater-select]').select2('val','default');
|
1464 |
}
|
1465 |
}
|
1466 |
+
|
1467 |
+
// Comments
|
1468 |
if(el.attr('id') === 'comments_template'){
|
1469 |
$('#comments_callback').val('');
|
1470 |
}
|
admin/shortcode-builder/shortcode-builder.php
CHANGED
@@ -34,6 +34,7 @@
|
|
34 |
require_once('components/rest-api.php');
|
35 |
require_once('components/seo.php');
|
36 |
require_once('components/single-post.php');
|
|
|
37 |
require_once('components/users.php');
|
38 |
?>
|
39 |
</div>
|
@@ -45,12 +46,14 @@
|
|
45 |
<div class="shortcode-parameter-wrap">
|
46 |
<h2 tabindex="0" class="shortcode-title"><i class="fa fa-cog"></i><?php _e('Display Settings', 'ajax-load-more'); ?></h2>
|
47 |
<div class="section-wrap">
|
48 |
-
|
|
|
|
|
49 |
<!-- Options -->
|
50 |
<div class="row input alm-instance-options" id="alm-instance-options">
|
51 |
<h3 class="heading" tabindex="0"><?php _e('Options', 'ajax-load-more'); ?></h3>
|
52 |
<div class="expand-wrap">
|
53 |
-
|
54 |
<!-- ID -->
|
55 |
<section class="first">
|
56 |
<div class="shortcode-builder--label">
|
@@ -181,7 +184,8 @@
|
|
181 |
<section>
|
182 |
<div class="shortcode-builder--label">
|
183 |
<h4><?php _e('Destroy After', 'ajax-load-more'); ?></h4>
|
184 |
-
<p><?php _e('Remove Ajax Load More functionality after {<em>n</em>} number of pages have been loaded.', 'ajax-load-more'); ?></p>
|
|
|
185 |
</div>
|
186 |
<div class="shortcode-builder--fields alm-destroy-after">
|
187 |
<div class="inner">
|
@@ -194,7 +198,8 @@
|
|
194 |
<section>
|
195 |
<div class="shortcode-builder--label">
|
196 |
<h4><?php _e('Images Loaded', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Background images are not supported.','ajax-load-more'); ?>"></a></h4>
|
197 |
-
<p><?php _e('Wait for all images to load before displaying ajax loaded content.', 'ajax-load-more'); ?></p>
|
|
|
198 |
</div>
|
199 |
<div class="shortcode-builder--fields alm-images-loaded">
|
200 |
<div class="inner">
|
@@ -701,7 +706,9 @@
|
|
701 |
<div class="shortcode-parameter-wrap">
|
702 |
<h2 tabindex="0" class="shortcode-title"><i class="fa fa-database"></i><?php _e('Query Parameters', 'ajax-load-more'); ?></h2>
|
703 |
<div class="section-wrap">
|
704 |
-
|
|
|
|
|
705 |
<!-- Posts Per Page -->
|
706 |
<div class="row input posts_per_page" id="alm-post-page">
|
707 |
<h3 class="heading" tabindex="0"><?php _e('Posts Per Page', 'ajax-load-more'); ?></h3>
|
@@ -1018,7 +1025,7 @@
|
|
1018 |
</section>
|
1019 |
</div>
|
1020 |
</div>
|
1021 |
-
<?php }?>
|
1022 |
<!-- End Taxonomies -->
|
1023 |
|
1024 |
<!-- Meta_Query -->
|
@@ -1124,11 +1131,13 @@
|
|
1124 |
|
1125 |
<!-- Search -->
|
1126 |
<div class="row input search-term" id="alm-search">
|
1127 |
-
<h3 class="heading" tabindex="0"><?php _e('Search
|
1128 |
<div class="expand-wrap">
|
1129 |
<section>
|
1130 |
<div class="shortcode-builder--label">
|
1131 |
<p><?php _e('Enter a search term to query.', 'ajax-load-more'); ?></p>
|
|
|
|
|
1132 |
</div>
|
1133 |
<div class="shortcode-builder--fields">
|
1134 |
<div class="inner">
|
@@ -1159,7 +1168,7 @@
|
|
1159 |
<div class="shortcode-builder--label">
|
1160 |
<h4><?php _e('Exclude', 'ajax-load-more'); ?></h4>
|
1161 |
<p><?php _e('A comma separated list of post ID\'s to exclude from query.', 'ajax-load-more'); ?></p>
|
1162 |
-
<
|
1163 |
</div>
|
1164 |
<div class="shortcode-builder--fields">
|
1165 |
<div class="inner">
|
@@ -1271,5 +1280,80 @@
|
|
1271 |
</div>
|
1272 |
<!-- End Query Parameters -->
|
1273 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1274 |
|
1275 |
<div class="clear"></div>
|
34 |
require_once('components/rest-api.php');
|
35 |
require_once('components/seo.php');
|
36 |
require_once('components/single-post.php');
|
37 |
+
require_once('components/term-query.php');
|
38 |
require_once('components/users.php');
|
39 |
?>
|
40 |
</div>
|
46 |
<div class="shortcode-parameter-wrap">
|
47 |
<h2 tabindex="0" class="shortcode-title"><i class="fa fa-cog"></i><?php _e('Display Settings', 'ajax-load-more'); ?></h2>
|
48 |
<div class="section-wrap">
|
49 |
+
|
50 |
+
<p class="section-intro"><?php _e('Display Settings allow you create a custom Ajax Load More experience for your visitors.', 'ajax-load-more'); ?></p>
|
51 |
+
|
52 |
<!-- Options -->
|
53 |
<div class="row input alm-instance-options" id="alm-instance-options">
|
54 |
<h3 class="heading" tabindex="0"><?php _e('Options', 'ajax-load-more'); ?></h3>
|
55 |
<div class="expand-wrap">
|
56 |
+
|
57 |
<!-- ID -->
|
58 |
<section class="first">
|
59 |
<div class="shortcode-builder--label">
|
184 |
<section>
|
185 |
<div class="shortcode-builder--label">
|
186 |
<h4><?php _e('Destroy After', 'ajax-load-more'); ?></h4>
|
187 |
+
<p><?php _e('Remove Ajax Load More functionality after {<em>n</em>} number of pages have been loaded.', 'ajax-load-more'); ?></p>
|
188 |
+
<p><a class="button-small" href="https://connekthq.com/plugins/ajax-load-more/examples/destroy-after/" target="_blank"><?php _e('View Example', 'ajax-load-more'); ?></a></p>
|
189 |
</div>
|
190 |
<div class="shortcode-builder--fields alm-destroy-after">
|
191 |
<div class="inner">
|
198 |
<section>
|
199 |
<div class="shortcode-builder--label">
|
200 |
<h4><?php _e('Images Loaded', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Background images are not supported.','ajax-load-more'); ?>"></a></h4>
|
201 |
+
<p><?php _e('Wait for all images to load before displaying ajax loaded content.', 'ajax-load-more'); ?></p>
|
202 |
+
<p><a class="button-small" href="https://connekthq.com/plugins/ajax-load-more/examples/images-loaded/" target="_blank"><?php _e('View Example', 'ajax-load-more'); ?></a></p>
|
203 |
</div>
|
204 |
<div class="shortcode-builder--fields alm-images-loaded">
|
205 |
<div class="inner">
|
706 |
<div class="shortcode-parameter-wrap">
|
707 |
<h2 tabindex="0" class="shortcode-title"><i class="fa fa-database"></i><?php _e('Query Parameters', 'ajax-load-more'); ?></h2>
|
708 |
<div class="section-wrap">
|
709 |
+
|
710 |
+
<p class="section-intro"><?php _e('Query Parameters allow you build a custom <b>WP_Query</b> based on Ajax Load More shortcode values.', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('When using Ajax Load More add-ons or extensions not all Query Parameters will be available in the query.', 'ajax-load-more'); ?>"></a></p>
|
711 |
+
|
712 |
<!-- Posts Per Page -->
|
713 |
<div class="row input posts_per_page" id="alm-post-page">
|
714 |
<h3 class="heading" tabindex="0"><?php _e('Posts Per Page', 'ajax-load-more'); ?></h3>
|
1025 |
</section>
|
1026 |
</div>
|
1027 |
</div>
|
1028 |
+
<?php } ?>
|
1029 |
<!-- End Taxonomies -->
|
1030 |
|
1031 |
<!-- Meta_Query -->
|
1131 |
|
1132 |
<!-- Search -->
|
1133 |
<div class="row input search-term" id="alm-search">
|
1134 |
+
<h3 class="heading" tabindex="0"><?php _e('Search', 'ajax-load-more'); ?></h3>
|
1135 |
<div class="expand-wrap">
|
1136 |
<section>
|
1137 |
<div class="shortcode-builder--label">
|
1138 |
<p><?php _e('Enter a search term to query.', 'ajax-load-more'); ?></p>
|
1139 |
+
<p><?php _e('Search uses the default WordPress search, however Ajax Load More does offer integrations with SearchWP and Relevanssi.', 'ajax-load-more'); ?></p>
|
1140 |
+
<p><a class="button-small" href="https://connekthq.com/plugins/ajax-load-more/examples/search-results/" target="_blank"><?php _e('View Example', 'ajax-load-more'); ?></a></p>
|
1141 |
</div>
|
1142 |
<div class="shortcode-builder--fields">
|
1143 |
<div class="inner">
|
1168 |
<div class="shortcode-builder--label">
|
1169 |
<h4><?php _e('Exclude', 'ajax-load-more'); ?></h4>
|
1170 |
<p><?php _e('A comma separated list of post ID\'s to exclude from query.', 'ajax-load-more'); ?></p>
|
1171 |
+
<p><a class="button-small" href="admin.php?page=ajax-load-more-help§ion=examples#example-exclude" target="_blank"><?php _e('View Example', 'ajax-load-more'); ?></a></p>
|
1172 |
</div>
|
1173 |
<div class="shortcode-builder--fields">
|
1174 |
<div class="inner">
|
1280 |
</div>
|
1281 |
<!-- End Query Parameters -->
|
1282 |
|
1283 |
+
<!-- ****************************** -->
|
1284 |
+
|
1285 |
+
<!-- Integrations -->
|
1286 |
+
<div class="shortcode-parameter-wrap">
|
1287 |
+
<h2 tabindex="0" class="shortcode-title"><i class="fa fa-handshake-o" aria-hidden="true"></i> <?php _e('Integrations', 'ajax-load-more'); ?></h2>
|
1288 |
+
|
1289 |
+
<div class="section-wrap">
|
1290 |
+
|
1291 |
+
<p class="section-intro"><?php _e('Ajax Load More provides integration solutions for popular plugins and core WP functionality - when selecting an integration, Ajax Load More will automatically set various parameters on the server side to provide the best experience for users based on the selected integration.', 'ajax-load-more'); ?></a></p>
|
1292 |
+
|
1293 |
+
<!-- Archives -->
|
1294 |
+
<div class="row input alm-archive" id="alm-archive">
|
1295 |
+
<h3 class="heading" tabindex="0"><?php _e('Archives', 'ajax-load-more'); ?></h3>
|
1296 |
+
<div class="expand-wrap">
|
1297 |
+
<section class="first">
|
1298 |
+
<div class="shortcode-builder--label">
|
1299 |
+
<p><?php _e('Ajax Load More will automatically create an archive query while viewing site archives.', 'ajax-load-more'); ?></p>
|
1300 |
+
<p><?php _e('Taxonomy, category, tag, date (year, month, day), post type and author archives are currently supported.', 'ajax-load-more'); ?></p>
|
1301 |
+
<p><a class="button-small" href="https://connekthq.com/plugins/ajax-load-more/docs/archives/" target="_blank"><?php _e('View Docs', 'ajax-load-more'); ?></a></p>
|
1302 |
+
</div>
|
1303 |
+
<div class="shortcode-builder--fields">
|
1304 |
+
<div class="inner">
|
1305 |
+
<ul>
|
1306 |
+
<li>
|
1307 |
+
<input class="alm_element" type="radio" name="archive" value="t" id="archive_t">
|
1308 |
+
<label for="archive_t"><?php _e('True', 'ajax-load-more'); ?></label>
|
1309 |
+
</li>
|
1310 |
+
<li>
|
1311 |
+
<input class="alm_element" type="radio" name="archive" value="f" id="archive_f" checked="checked">
|
1312 |
+
<label for="archive_f"><?php _e('False', 'ajax-load-more'); ?></label>
|
1313 |
+
</li>
|
1314 |
+
</ul>
|
1315 |
+
</div>
|
1316 |
+
</div>
|
1317 |
+
</section>
|
1318 |
+
<p class="warning-callout"><?php _e('<b>Note</b>: Do not select Query Parameters other than <b>Posts Per Page</b> and/or <b>Post Type</b> when using the Archives integration. Ajax Load More will automatically create the perfect shortcode for you based on the current archive page.', 'ajax-load-more'); ?></p>
|
1319 |
+
</div>
|
1320 |
+
</div>
|
1321 |
+
|
1322 |
+
<!-- WooCommerce -->
|
1323 |
+
<!--
|
1324 |
+
<div class="row input alm-woocommerce" id="alm-woocommerce">
|
1325 |
+
<h3 class="heading" tabindex="0"><?php _e('WooCommerce', 'ajax-load-more'); ?></h3>
|
1326 |
+
<div class="expand-wrap">
|
1327 |
+
<section class="first">
|
1328 |
+
<div class="shortcode-builder--label">
|
1329 |
+
<p><?php _e('Ajax Load More will automatically set WooCommerce configuration options.', 'ajax-load-more'); ?></p>
|
1330 |
+
<p><?php _e('Post type, products per page, container classes, sort order and taxonomy/tag archive queries will be set on the server side based on your sites WooCommerce configuration.', 'ajax-load-more'); ?></p>
|
1331 |
+
<p><a class="button-small" href="https://connekthq.com/plugins/ajax-load-more/docs/woocommerce/" target="_blank"><?php _e('View Docs', 'ajax-load-more'); ?></a></p>
|
1332 |
+
</div>
|
1333 |
+
<div class="shortcode-builder--fields">
|
1334 |
+
<div class="inner">
|
1335 |
+
<?php if( is_plugin_active('woocommerce/woocommerce.php') ) { ?>
|
1336 |
+
<ul>
|
1337 |
+
<li>
|
1338 |
+
<input class="alm_element" type="radio" name="woocommerce" value="t" id="woocommerce_t">
|
1339 |
+
<label for="woocommerce_t"><?php _e('True', 'ajax-load-more'); ?></label>
|
1340 |
+
</li>
|
1341 |
+
<li>
|
1342 |
+
<input class="alm_element" type="radio" name="woocommerce" value="f" id="woocommerce_f" checked="checked">
|
1343 |
+
<label for="woocommerce_f"><?php _e('False', 'ajax-load-more'); ?></label>
|
1344 |
+
</li>
|
1345 |
+
</ul>
|
1346 |
+
<?php } else { ?>
|
1347 |
+
<p class="highlight" style="font-size: 13px; border-radius: 3px; line-height: 1; padding: 6px;">WooCommerce is not installed.</p>
|
1348 |
+
<?php }?>
|
1349 |
+
</div>
|
1350 |
+
</div>
|
1351 |
+
</section>
|
1352 |
+
</div>
|
1353 |
+
</div>
|
1354 |
+
-->
|
1355 |
+
|
1356 |
+
</div>
|
1357 |
+
</div>
|
1358 |
|
1359 |
<div class="clear"></div>
|
admin/src/js/admin.js
CHANGED
@@ -213,21 +213,20 @@ jQuery(document).ready(function($) {
|
|
213 |
$('.ajax-load-more-wrap.core').removeClass('fading-circles');
|
214 |
$('.ajax-load-more-wrap.core').removeClass('chasing-arrows');
|
215 |
$('.ajax-load-more-wrap.core').addClass(color);
|
216 |
-
|
217 |
});
|
|
|
218 |
$("select#alm_settings_btn_color").click(function(e){
|
219 |
e.preventDefault();
|
220 |
});
|
221 |
|
222 |
|
223 |
-
|
224 |
-
|
225 |
$('.alm-template-listing li a').click(function(e){
|
226 |
e.preventDefault();
|
227 |
var el = $(this),
|
228 |
val = el.data('path');
|
229 |
el.parent().parent().next('.template-selection').val(val);
|
230 |
});
|
|
|
231 |
|
232 |
$('.alm-template-section-nav li a').click(function(e){
|
233 |
e.preventDefault();
|
@@ -430,7 +429,6 @@ jQuery(document).ready(function($) {
|
|
430 |
* Get layout value Ajax
|
431 |
* @since 2.8.7
|
432 |
*/
|
433 |
-
console.log(window.editorDefault);
|
434 |
$(document).on('click', '.alm-layout-selection li a.layout', function(e){
|
435 |
e.preventDefault();
|
436 |
var el = $(this),
|
213 |
$('.ajax-load-more-wrap.core').removeClass('fading-circles');
|
214 |
$('.ajax-load-more-wrap.core').removeClass('chasing-arrows');
|
215 |
$('.ajax-load-more-wrap.core').addClass(color);
|
|
|
216 |
});
|
217 |
+
|
218 |
$("select#alm_settings_btn_color").click(function(e){
|
219 |
e.preventDefault();
|
220 |
});
|
221 |
|
222 |
|
|
|
|
|
223 |
$('.alm-template-listing li a').click(function(e){
|
224 |
e.preventDefault();
|
225 |
var el = $(this),
|
226 |
val = el.data('path');
|
227 |
el.parent().parent().next('.template-selection').val(val);
|
228 |
});
|
229 |
+
|
230 |
|
231 |
$('.alm-template-section-nav li a').click(function(e){
|
232 |
e.preventDefault();
|
429 |
* Get layout value Ajax
|
430 |
* @since 2.8.7
|
431 |
*/
|
|
|
432 |
$(document).on('click', '.alm-layout-selection li a.layout', function(e){
|
433 |
e.preventDefault();
|
434 |
var el = $(this),
|
admin/src/scss/admin.scss
CHANGED
@@ -137,8 +137,6 @@ body.ajax-load-more_page_ajax-load-more-pro{
|
|
137 |
*/
|
138 |
|
139 |
.ajax-load-more *{
|
140 |
-
-webkit-box-sizing: border-box;
|
141 |
-
-moz-box-sizing: border-box;
|
142 |
box-sizing: border-box;
|
143 |
}
|
144 |
.forceColors{
|
@@ -716,8 +714,6 @@ a.button-small{
|
|
716 |
clear: both;
|
717 |
border-radius: 3px;
|
718 |
color: $grey;
|
719 |
-
-webkit-box-shadow: none;
|
720 |
-
-moz-box-shadow: none;
|
721 |
box-shadow: none;
|
722 |
}
|
723 |
.ajax-load-more input[type=checkbox],
|
@@ -741,8 +737,6 @@ a.button-small{
|
|
741 |
|
742 |
.ajax-load-more label{
|
743 |
padding: 5px 0;
|
744 |
-
-webkit-border-radius: 0;
|
745 |
-
-moz-border-radius: 0;
|
746 |
border-radius: 0;
|
747 |
}
|
748 |
|
@@ -942,8 +936,6 @@ a.button-small{
|
|
942 |
.admin.ajax-load-more .repeaters .row:hover,
|
943 |
.admin.ajax-load-more.shortcode-builder .row:hover{
|
944 |
border-color: #d9d9d9;
|
945 |
-
-webkit-box-shadow: 0 0 0 3px #f7f7f7;
|
946 |
-
-moz-box-shadow: 0 0 0 3px #f7f7f7;
|
947 |
box-shadow: 0 0 0 3px #f7f7f7;
|
948 |
}
|
949 |
.admin.ajax-load-more .row:first-of-type{
|
@@ -1153,8 +1145,6 @@ hr.indented{ // Indented as fake padding in shortcode builder
|
|
1153 |
left: 0;
|
1154 |
background: #FF5A58;
|
1155 |
border-top: 1px solid #ca5252;
|
1156 |
-
-webkit-box-shadow: 0 -5px 5px #efefef;
|
1157 |
-
-moz-box-shadow: 0 -5px 5px #efefef;
|
1158 |
box-shadow: 0 -5px 5px #efefef;
|
1159 |
width: 100%;
|
1160 |
display: block;
|
@@ -1167,8 +1157,6 @@ hr.indented{ // Indented as fake padding in shortcode builder
|
|
1167 |
border-radius: 2px;
|
1168 |
border: none;
|
1169 |
padding: 0;
|
1170 |
-
-webkit-box-shadow: none;
|
1171 |
-
-moz-box-shadow: none;
|
1172 |
box-shadow: none;
|
1173 |
}
|
1174 |
.ajax-load-more .row .wrap.output{
|
@@ -1984,8 +1972,6 @@ table.highlight{
|
|
1984 |
.license-title .status{
|
1985 |
width: 13px;
|
1986 |
height: 13px;
|
1987 |
-
-webkit-border-radius: 100%;
|
1988 |
-
-moz-border-radius: 100%;
|
1989 |
border-radius: 100%;
|
1990 |
background: #d45656;
|
1991 |
position: absolute;
|
@@ -2017,8 +2003,6 @@ table.highlight{
|
|
2017 |
}
|
2018 |
.license a.cnkt-button.installed{
|
2019 |
background-color: none !important;
|
2020 |
-
-webkit-box-shadow: none !important;
|
2021 |
-
-moz-box-shadow: none !important;
|
2022 |
box-shadow: none !important;
|
2023 |
border-color: transparent !important;
|
2024 |
}
|
@@ -2341,8 +2325,6 @@ table.highlight{
|
|
2341 |
z-index: 2;
|
2342 |
text-decoration: none;
|
2343 |
line-height: 1;
|
2344 |
-
-webkit-border-radius: 0 0 2px 2px;
|
2345 |
-
-moz-border-radius: 0 0 2px 2px;
|
2346 |
border-radius: 0 0 2px 2px;
|
2347 |
}
|
2348 |
.ajax-load-more .cnkt-sidebar a.visit i{
|
@@ -2403,9 +2385,6 @@ table.highlight{
|
|
2403 |
*/
|
2404 |
|
2405 |
|
2406 |
-
|
2407 |
-
|
2408 |
-
|
2409 |
.shortcode-builder{
|
2410 |
hr{
|
2411 |
margin: 0;
|
@@ -2429,8 +2408,6 @@ table.highlight{
|
|
2429 |
|
2430 |
.repeaters .row,
|
2431 |
.shortcode-builder .row{
|
2432 |
-
-webkit-transition: background-color 0.3s ease;
|
2433 |
-
-moz-transition: background-color 0.3s ease;
|
2434 |
transition: background-color 0.3s ease;
|
2435 |
}
|
2436 |
.repeaters .row.no-brd:hover,
|
@@ -2665,13 +2642,9 @@ table.highlight{
|
|
2665 |
background-color: #c94141;
|
2666 |
border-color: #c94141;
|
2667 |
color: #fff;
|
2668 |
-
-webkit-box-shadow: 0 0 3px #ccc;
|
2669 |
-
-moz-box-shadow: 0 0 3px #ccc;
|
2670 |
box-shadow: 0 0 3px #ccc;
|
2671 |
}
|
2672 |
.alm-dir-listing .dir-title .delete:active{
|
2673 |
-
-webkit-box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.2);
|
2674 |
-
-moz-box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.2);
|
2675 |
box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.2);
|
2676 |
}
|
2677 |
|
@@ -3500,8 +3473,6 @@ p.theme-title{
|
|
3500 |
width: 40px;
|
3501 |
text-align: center;
|
3502 |
line-height: 40px;
|
3503 |
-
-webkit-border-radius: 2px 0 0 2px;
|
3504 |
-
-moz-border-radius: 2px 0 0 2px;
|
3505 |
border-radius: 2px 0 0 2px;
|
3506 |
}
|
3507 |
#alm-mailing-list .form-wrap button{
|
@@ -3774,19 +3745,17 @@ p.theme-title{
|
|
3774 |
top: -20px;
|
3775 |
background: #fff;
|
3776 |
color: #333;
|
3777 |
-
width:
|
3778 |
-
height:
|
3779 |
-
line-height:
|
3780 |
text-align: center;
|
3781 |
z-index: 1;
|
3782 |
font-weight: 700;
|
3783 |
-
-webkit-border-radius: 100%;
|
3784 |
-
-moz-border-radius: 100%;
|
3785 |
border-radius: 100%;
|
3786 |
text-transform: uppercase;
|
3787 |
border: 1px solid #e1e1e1;
|
3788 |
box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
|
3789 |
-
font-size:
|
3790 |
}
|
3791 |
}
|
3792 |
|
137 |
*/
|
138 |
|
139 |
.ajax-load-more *{
|
|
|
|
|
140 |
box-sizing: border-box;
|
141 |
}
|
142 |
.forceColors{
|
714 |
clear: both;
|
715 |
border-radius: 3px;
|
716 |
color: $grey;
|
|
|
|
|
717 |
box-shadow: none;
|
718 |
}
|
719 |
.ajax-load-more input[type=checkbox],
|
737 |
|
738 |
.ajax-load-more label{
|
739 |
padding: 5px 0;
|
|
|
|
|
740 |
border-radius: 0;
|
741 |
}
|
742 |
|
936 |
.admin.ajax-load-more .repeaters .row:hover,
|
937 |
.admin.ajax-load-more.shortcode-builder .row:hover{
|
938 |
border-color: #d9d9d9;
|
|
|
|
|
939 |
box-shadow: 0 0 0 3px #f7f7f7;
|
940 |
}
|
941 |
.admin.ajax-load-more .row:first-of-type{
|
1145 |
left: 0;
|
1146 |
background: #FF5A58;
|
1147 |
border-top: 1px solid #ca5252;
|
|
|
|
|
1148 |
box-shadow: 0 -5px 5px #efefef;
|
1149 |
width: 100%;
|
1150 |
display: block;
|
1157 |
border-radius: 2px;
|
1158 |
border: none;
|
1159 |
padding: 0;
|
|
|
|
|
1160 |
box-shadow: none;
|
1161 |
}
|
1162 |
.ajax-load-more .row .wrap.output{
|
1972 |
.license-title .status{
|
1973 |
width: 13px;
|
1974 |
height: 13px;
|
|
|
|
|
1975 |
border-radius: 100%;
|
1976 |
background: #d45656;
|
1977 |
position: absolute;
|
2003 |
}
|
2004 |
.license a.cnkt-button.installed{
|
2005 |
background-color: none !important;
|
|
|
|
|
2006 |
box-shadow: none !important;
|
2007 |
border-color: transparent !important;
|
2008 |
}
|
2325 |
z-index: 2;
|
2326 |
text-decoration: none;
|
2327 |
line-height: 1;
|
|
|
|
|
2328 |
border-radius: 0 0 2px 2px;
|
2329 |
}
|
2330 |
.ajax-load-more .cnkt-sidebar a.visit i{
|
2385 |
*/
|
2386 |
|
2387 |
|
|
|
|
|
|
|
2388 |
.shortcode-builder{
|
2389 |
hr{
|
2390 |
margin: 0;
|
2408 |
|
2409 |
.repeaters .row,
|
2410 |
.shortcode-builder .row{
|
|
|
|
|
2411 |
transition: background-color 0.3s ease;
|
2412 |
}
|
2413 |
.repeaters .row.no-brd:hover,
|
2642 |
background-color: #c94141;
|
2643 |
border-color: #c94141;
|
2644 |
color: #fff;
|
|
|
|
|
2645 |
box-shadow: 0 0 3px #ccc;
|
2646 |
}
|
2647 |
.alm-dir-listing .dir-title .delete:active{
|
|
|
|
|
2648 |
box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.2);
|
2649 |
}
|
2650 |
|
3473 |
width: 40px;
|
3474 |
text-align: center;
|
3475 |
line-height: 40px;
|
|
|
|
|
3476 |
border-radius: 2px 0 0 2px;
|
3477 |
}
|
3478 |
#alm-mailing-list .form-wrap button{
|
3745 |
top: -20px;
|
3746 |
background: #fff;
|
3747 |
color: #333;
|
3748 |
+
width: 34px;
|
3749 |
+
height: 34px;
|
3750 |
+
line-height: 34px;
|
3751 |
text-align: center;
|
3752 |
z-index: 1;
|
3753 |
font-weight: 700;
|
|
|
|
|
3754 |
border-radius: 100%;
|
3755 |
text-transform: uppercase;
|
3756 |
border: 1px solid #e1e1e1;
|
3757 |
box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
|
3758 |
+
font-size: 11px;
|
3759 |
}
|
3760 |
}
|
3761 |
|
admin/src/scss/partials/_shortcode-builder.scss
CHANGED
@@ -1,4 +1,18 @@
|
|
1 |
.shortcode-builder{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
section{
|
3 |
display: flex;
|
4 |
flex-wrap: nowrap;
|
@@ -66,11 +80,12 @@
|
|
66 |
padding-top: 22px;
|
67 |
flex: 1;
|
68 |
input, textarea, select{
|
69 |
-
width: 100%;
|
70 |
}
|
71 |
section{
|
72 |
width: 104%;
|
73 |
margin-left: -2%;
|
|
|
74 |
}
|
75 |
.half{
|
76 |
width: 50%;
|
@@ -176,4 +191,10 @@
|
|
176 |
}
|
177 |
}
|
178 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
179 |
}
|
1 |
.shortcode-builder{
|
2 |
+
|
3 |
+
p.warning-callout{
|
4 |
+
&:before{
|
5 |
+
display: block;
|
6 |
+
width: calc(100% + 36px);
|
7 |
+
height: 1px;
|
8 |
+
content: '';
|
9 |
+
background: $light_border;
|
10 |
+
position: absolute;
|
11 |
+
left: -18px;
|
12 |
+
top: -10px;
|
13 |
+
z-index: 1;
|
14 |
+
}
|
15 |
+
}
|
16 |
section{
|
17 |
display: flex;
|
18 |
flex-wrap: nowrap;
|
80 |
padding-top: 22px;
|
81 |
flex: 1;
|
82 |
input, textarea, select{
|
83 |
+
width: 100%;
|
84 |
}
|
85 |
section{
|
86 |
width: 104%;
|
87 |
margin-left: -2%;
|
88 |
+
border: none;
|
89 |
}
|
90 |
.half{
|
91 |
width: 50%;
|
191 |
}
|
192 |
}
|
193 |
}
|
194 |
+
.section-intro{
|
195 |
+
font-size: 13px;
|
196 |
+
padding: 20px 5px 20px;
|
197 |
+
margin: 0 0 20px;
|
198 |
+
border-bottom: 1px solid $light_border;
|
199 |
+
}
|
200 |
}
|
admin/views/licenses.php
CHANGED
@@ -9,63 +9,63 @@
|
|
9 |
<?php echo ALM_TITLE; ?>: <strong><?php echo $pg_title; ?></strong>
|
10 |
<em><?php echo $pg_desc; ?>.</em>
|
11 |
</h1>
|
12 |
-
<?php alm_render_transient_notification(); ?>
|
13 |
</header>
|
14 |
-
|
15 |
<div class="ajax-load-more-inner-wrapper">
|
16 |
-
|
17 |
<div class="cnkt-main">
|
18 |
-
|
19 |
-
<h3><?php
|
20 |
if(has_action('alm_pro_installed')){
|
21 |
-
_e('License Key', 'ajax-load-more');
|
22 |
} else {
|
23 |
-
_e('License Keys', 'ajax-load-more');
|
24 |
}
|
25 |
?></h3>
|
26 |
|
27 |
<p>
|
28 |
-
<?php
|
29 |
if(has_action('alm_pro_installed')){
|
30 |
-
_e('Enter your Ajax Load More Pro license key to receive plugin update notifications directly within the <a href="plugins.php">WP Plugins dashboard</a>.', 'ajax-load-more');
|
31 |
} else {
|
32 |
-
_e('Enter a key for each of your Ajax Load More add-ons to receive plugin update notifications directly within the <a href="plugins.php">WP Plugins dashboard</a>.', 'ajax-load-more');
|
33 |
}
|
34 |
?>
|
35 |
-
</p>
|
36 |
-
|
37 |
-
<?php
|
38 |
-
|
39 |
-
$addons = (has_action('alm_pro_installed')) ? alm_get_pro_addon() : alm_get_addons();
|
40 |
$addon_count = 0;
|
41 |
-
|
42 |
-
foreach($addons as $addon){
|
43 |
-
|
44 |
$name = $addon['name'];
|
45 |
$intro = $addon['intro'];
|
46 |
$desc = $addon['desc'];
|
47 |
$action = $addon['action'];
|
48 |
$key = $addon['key'];
|
49 |
-
$license = get_option($key);
|
50 |
$status = $addon['status'];
|
51 |
$settings_field = $addon['settings_field'];
|
52 |
$url = $addon['url'];
|
53 |
-
$img = $addon['img'];
|
54 |
$item_id = $addon['item_id'];
|
55 |
-
|
56 |
-
|
57 |
// If installed
|
58 |
if(!has_action($action)){
|
59 |
-
continue;
|
60 |
}
|
61 |
-
|
62 |
-
$addon_count++;
|
63 |
-
|
64 |
// Check license
|
65 |
$license_status = alm_license_check($item_id, $license, $status);
|
66 |
-
|
67 |
-
?>
|
68 |
-
|
69 |
<div class="license" id="license-<?php echo sanitize_title_with_dashes($name); ?>">
|
70 |
<div class="license-title">
|
71 |
<div class="status <?php echo ($license_status === 'valid') ? 'valid' : 'invalid'; ?> "></div>
|
@@ -73,7 +73,7 @@
|
|
73 |
</div>
|
74 |
<div class="license-wrap">
|
75 |
<form method="post" action="options.php">
|
76 |
-
|
77 |
<?php if( $license_status !== false && $license_status == 'valid' ) { ?>
|
78 |
<!-- nothing -->
|
79 |
<?php } else { ?>
|
@@ -81,10 +81,10 @@
|
|
81 |
<h4><?php _e('Don\'t have a license?', 'ajax-load-more'); ?></h4>
|
82 |
<p><?php _e('A valid license is required to activate and receive plugin updates directly in your WordPress dashboard', 'ajax-load-more'); ?> → <a href="<?php echo $url; ?>?utm_source=WP%20Admin&utm_medium=Licenses&utm_campaign=<?php echo $name; ?>" target="blank"><strong><?php _e('Purchase Now', 'ajax-load-more'); ?>!</strong></a></p>
|
83 |
</div>
|
84 |
-
<?php } ?>
|
85 |
-
|
86 |
-
<?php settings_fields($settings_field); ?>
|
87 |
-
|
88 |
<label class="description offscreen" for="<?php echo $key; ?>"><?php _e('Enter License Key', 'ajax-load-more'); ?></label>
|
89 |
<div class="license-key-field">
|
90 |
<input id="<?php echo $key; ?>" name="<?php echo $key; ?>" type="text" class="regular-text" value="<?php esc_attr_e( $license ); ?>" placeholder="<?php _e('Enter License Key', 'ajax-load-more'); ?>" />
|
@@ -94,22 +94,22 @@
|
|
94 |
</span>
|
95 |
<?php } else { ?>
|
96 |
<span class="status inactive">
|
97 |
-
<?php
|
98 |
if($license_status === 'expired'){
|
99 |
-
_e('Expired', 'ajax-load-more');
|
100 |
}else{
|
101 |
-
_e('Inactive', 'ajax-load-more');
|
102 |
}
|
103 |
?>
|
104 |
</span>
|
105 |
<?php } ?>
|
106 |
-
</div>
|
107 |
-
|
108 |
-
<?php
|
109 |
-
$nonce = 'alm_'. $item_id .'_license_nonce';
|
110 |
-
wp_nonce_field( $nonce, $nonce );
|
111 |
?>
|
112 |
-
|
113 |
<div class="license-btn-wrap"
|
114 |
data-name="<?php echo $item_id; ?>"
|
115 |
data-url="<?php echo ALM_STORE_URL; ?>"
|
@@ -125,7 +125,7 @@
|
|
125 |
<button type="button" class="check-licence license-btn <?php if($license_status !== 'valid'){ echo 'hide'; } ?> button button-secondary" data-type="check">
|
126 |
<i class="fa fa-refresh" aria-hidden="true"></i> <?php _e('Refresh Status', 'ajax-load-more'); ?>
|
127 |
</button>
|
128 |
-
<?php if($license_status === 'expired'){
|
129 |
if(isset($license) && !empty($license)){
|
130 |
$store = ALM_STORE_URL;
|
131 |
$url = "{$store}/checkout/?edd_license_key={$license}&download_id={$item_id}";
|
@@ -134,25 +134,25 @@
|
|
134 |
<a class="button renew-btn" href="<?php echo $url; ?>" target="_blank">
|
135 |
<?php _e('Renew License', 'ajax-load-more'); ?></a>
|
136 |
<?php } ?>
|
137 |
-
</div>
|
138 |
</form>
|
139 |
</div>
|
140 |
<div class="loading"></div>
|
141 |
-
</div>
|
142 |
<?php } unset($addons); ?>
|
143 |
-
|
144 |
-
<?php
|
145 |
-
// No add-ons installed
|
146 |
-
if($addon_count == 0) :
|
147 |
?>
|
148 |
<div class="spacer"></div>
|
149 |
<div class="license-no-addons">
|
150 |
<p><?php _e('You do not have any Ajax Load More add-ons installed', 'ajax-load-more'); ?> | <a href="admin.php?page=ajax-load-more-add-ons"><strong><?php _e('Browse Add-ons', 'ajax-load-more'); ?></strong></a> | <a href="https://connekthq.com/plugins/ajax-load-more/pro/" target="_blank"><strong><?php _e('Go Pro', 'ajax-load-more'); ?></strong></a></p>
|
151 |
</div>
|
152 |
-
<?php endif; ?>
|
153 |
-
|
154 |
</div>
|
155 |
-
|
156 |
<aside class="cnkt-sidebar">
|
157 |
<div id="cnkt-sticky-wrapper">
|
158 |
<div id="cnkt-sticky">
|
@@ -164,7 +164,7 @@
|
|
164 |
<li><?php _e('If you cannot locate your key please open a support ticket by filling out the <a href="https://connekthq.com/contact/">support form</a> and reference the email address used when you completed the purchase.', 'ajax-load-more'); ?></li>
|
165 |
<li>
|
166 |
<strong><?php _e('Are you having issues updating an add-on?', 'ajax-load-more'); ?></strong><br/>
|
167 |
-
<?php _e('Please try deactivating and then re-activating each license. Once you
|
168 |
</ul>
|
169 |
</div>
|
170 |
<div class="major-publishing-actions">
|
@@ -176,8 +176,8 @@
|
|
176 |
</div>
|
177 |
</div>
|
178 |
</div>
|
179 |
-
|
180 |
-
<div class="clear"></div>
|
181 |
</aside>
|
182 |
|
183 |
</div>
|
9 |
<?php echo ALM_TITLE; ?>: <strong><?php echo $pg_title; ?></strong>
|
10 |
<em><?php echo $pg_desc; ?>.</em>
|
11 |
</h1>
|
12 |
+
<?php alm_render_transient_notification(); ?>
|
13 |
</header>
|
14 |
+
|
15 |
<div class="ajax-load-more-inner-wrapper">
|
16 |
+
|
17 |
<div class="cnkt-main">
|
18 |
+
|
19 |
+
<h3><?php
|
20 |
if(has_action('alm_pro_installed')){
|
21 |
+
_e('License Key', 'ajax-load-more');
|
22 |
} else {
|
23 |
+
_e('License Keys', 'ajax-load-more');
|
24 |
}
|
25 |
?></h3>
|
26 |
|
27 |
<p>
|
28 |
+
<?php
|
29 |
if(has_action('alm_pro_installed')){
|
30 |
+
_e('Enter your Ajax Load More Pro license key to receive plugin update notifications directly within the <a href="plugins.php">WP Plugins dashboard</a>.', 'ajax-load-more');
|
31 |
} else {
|
32 |
+
_e('Enter a key for each of your Ajax Load More add-ons to receive plugin update notifications directly within the <a href="plugins.php">WP Plugins dashboard</a>.', 'ajax-load-more');
|
33 |
}
|
34 |
?>
|
35 |
+
</p>
|
36 |
+
|
37 |
+
<?php
|
38 |
+
|
39 |
+
$addons = (has_action('alm_pro_installed')) ? alm_get_pro_addon() : alm_get_addons();
|
40 |
$addon_count = 0;
|
41 |
+
|
42 |
+
foreach($addons as $addon){
|
43 |
+
|
44 |
$name = $addon['name'];
|
45 |
$intro = $addon['intro'];
|
46 |
$desc = $addon['desc'];
|
47 |
$action = $addon['action'];
|
48 |
$key = $addon['key'];
|
49 |
+
$license = get_option($key);
|
50 |
$status = $addon['status'];
|
51 |
$settings_field = $addon['settings_field'];
|
52 |
$url = $addon['url'];
|
53 |
+
$img = $addon['img'];
|
54 |
$item_id = $addon['item_id'];
|
55 |
+
|
56 |
+
|
57 |
// If installed
|
58 |
if(!has_action($action)){
|
59 |
+
continue;
|
60 |
}
|
61 |
+
|
62 |
+
$addon_count++;
|
63 |
+
|
64 |
// Check license
|
65 |
$license_status = alm_license_check($item_id, $license, $status);
|
66 |
+
|
67 |
+
?>
|
68 |
+
|
69 |
<div class="license" id="license-<?php echo sanitize_title_with_dashes($name); ?>">
|
70 |
<div class="license-title">
|
71 |
<div class="status <?php echo ($license_status === 'valid') ? 'valid' : 'invalid'; ?> "></div>
|
73 |
</div>
|
74 |
<div class="license-wrap">
|
75 |
<form method="post" action="options.php">
|
76 |
+
|
77 |
<?php if( $license_status !== false && $license_status == 'valid' ) { ?>
|
78 |
<!-- nothing -->
|
79 |
<?php } else { ?>
|
81 |
<h4><?php _e('Don\'t have a license?', 'ajax-load-more'); ?></h4>
|
82 |
<p><?php _e('A valid license is required to activate and receive plugin updates directly in your WordPress dashboard', 'ajax-load-more'); ?> → <a href="<?php echo $url; ?>?utm_source=WP%20Admin&utm_medium=Licenses&utm_campaign=<?php echo $name; ?>" target="blank"><strong><?php _e('Purchase Now', 'ajax-load-more'); ?>!</strong></a></p>
|
83 |
</div>
|
84 |
+
<?php } ?>
|
85 |
+
|
86 |
+
<?php settings_fields($settings_field); ?>
|
87 |
+
|
88 |
<label class="description offscreen" for="<?php echo $key; ?>"><?php _e('Enter License Key', 'ajax-load-more'); ?></label>
|
89 |
<div class="license-key-field">
|
90 |
<input id="<?php echo $key; ?>" name="<?php echo $key; ?>" type="text" class="regular-text" value="<?php esc_attr_e( $license ); ?>" placeholder="<?php _e('Enter License Key', 'ajax-load-more'); ?>" />
|
94 |
</span>
|
95 |
<?php } else { ?>
|
96 |
<span class="status inactive">
|
97 |
+
<?php
|
98 |
if($license_status === 'expired'){
|
99 |
+
_e('Expired', 'ajax-load-more');
|
100 |
}else{
|
101 |
+
_e('Inactive', 'ajax-load-more');
|
102 |
}
|
103 |
?>
|
104 |
</span>
|
105 |
<?php } ?>
|
106 |
+
</div>
|
107 |
+
|
108 |
+
<?php
|
109 |
+
$nonce = 'alm_'. $item_id .'_license_nonce';
|
110 |
+
wp_nonce_field( $nonce, $nonce );
|
111 |
?>
|
112 |
+
|
113 |
<div class="license-btn-wrap"
|
114 |
data-name="<?php echo $item_id; ?>"
|
115 |
data-url="<?php echo ALM_STORE_URL; ?>"
|
125 |
<button type="button" class="check-licence license-btn <?php if($license_status !== 'valid'){ echo 'hide'; } ?> button button-secondary" data-type="check">
|
126 |
<i class="fa fa-refresh" aria-hidden="true"></i> <?php _e('Refresh Status', 'ajax-load-more'); ?>
|
127 |
</button>
|
128 |
+
<?php if($license_status === 'expired'){
|
129 |
if(isset($license) && !empty($license)){
|
130 |
$store = ALM_STORE_URL;
|
131 |
$url = "{$store}/checkout/?edd_license_key={$license}&download_id={$item_id}";
|
134 |
<a class="button renew-btn" href="<?php echo $url; ?>" target="_blank">
|
135 |
<?php _e('Renew License', 'ajax-load-more'); ?></a>
|
136 |
<?php } ?>
|
137 |
+
</div>
|
138 |
</form>
|
139 |
</div>
|
140 |
<div class="loading"></div>
|
141 |
+
</div>
|
142 |
<?php } unset($addons); ?>
|
143 |
+
|
144 |
+
<?php
|
145 |
+
// No add-ons installed
|
146 |
+
if($addon_count == 0) :
|
147 |
?>
|
148 |
<div class="spacer"></div>
|
149 |
<div class="license-no-addons">
|
150 |
<p><?php _e('You do not have any Ajax Load More add-ons installed', 'ajax-load-more'); ?> | <a href="admin.php?page=ajax-load-more-add-ons"><strong><?php _e('Browse Add-ons', 'ajax-load-more'); ?></strong></a> | <a href="https://connekthq.com/plugins/ajax-load-more/pro/" target="_blank"><strong><?php _e('Go Pro', 'ajax-load-more'); ?></strong></a></p>
|
151 |
</div>
|
152 |
+
<?php endif; ?>
|
153 |
+
|
154 |
</div>
|
155 |
+
|
156 |
<aside class="cnkt-sidebar">
|
157 |
<div id="cnkt-sticky-wrapper">
|
158 |
<div id="cnkt-sticky">
|
164 |
<li><?php _e('If you cannot locate your key please open a support ticket by filling out the <a href="https://connekthq.com/contact/">support form</a> and reference the email address used when you completed the purchase.', 'ajax-load-more'); ?></li>
|
165 |
<li>
|
166 |
<strong><?php _e('Are you having issues updating an add-on?', 'ajax-load-more'); ?></strong><br/>
|
167 |
+
<?php _e('Please try deactivating and then re-activating each license. Once you\'ve done that, try running the update again.', 'ajax-load-more'); ?></li>
|
168 |
</ul>
|
169 |
</div>
|
170 |
<div class="major-publishing-actions">
|
176 |
</div>
|
177 |
</div>
|
178 |
</div>
|
179 |
+
|
180 |
+
<div class="clear"></div>
|
181 |
</aside>
|
182 |
|
183 |
</div>
|
admin/views/settings.php
CHANGED
@@ -68,7 +68,7 @@
|
|
68 |
|
69 |
</div>
|
70 |
<aside class="cnkt-sidebar">
|
71 |
-
<?php include_once( ALM_PATH . 'admin/includes/cta/sharing.php'); ?>
|
72 |
<?php //include_once( ALM_PATH . 'admin/includes/cta/test.php'); ?>
|
73 |
<?php include_once( ALM_PATH . 'admin/includes/cta/resources.php'); ?>
|
74 |
<?php include_once( ALM_PATH . 'admin/includes/cta/dyk.php'); ?>
|
68 |
|
69 |
</div>
|
70 |
<aside class="cnkt-sidebar">
|
71 |
+
<?php //include_once( ALM_PATH . 'admin/includes/cta/sharing.php'); ?>
|
72 |
<?php //include_once( ALM_PATH . 'admin/includes/cta/test.php'); ?>
|
73 |
<?php include_once( ALM_PATH . 'admin/includes/cta/resources.php'); ?>
|
74 |
<?php include_once( ALM_PATH . 'admin/includes/cta/dyk.php'); ?>
|
ajax-load-more.php
CHANGED
@@ -7,14 +7,14 @@ Text Domain: ajax-load-more
|
|
7 |
Author: Darren Cooney
|
8 |
Twitter: @KaptonKaos
|
9 |
Author URI: https://connekthq.com
|
10 |
-
Version: 5.
|
11 |
License: GPL
|
12 |
Copyright: Darren Cooney & Connekt Media
|
13 |
*/
|
14 |
|
15 |
|
16 |
-
define('ALM_VERSION', '5.
|
17 |
-
define('ALM_RELEASE', '
|
18 |
define('ALM_STORE_URL', 'https://connekthq.com');
|
19 |
|
20 |
|
@@ -265,15 +265,16 @@ if( !class_exists('AjaxLoadMore') ):
|
|
265 |
|
266 |
include_once( ALM_PATH . 'core/functions.php'); // Load Core Functions
|
267 |
include_once( ALM_PATH . 'core/classes/class.alm-shortcode.php'); // Load Shortcode Class
|
|
|
268 |
include_once( ALM_PATH . 'core/classes/class.alm-enqueue.php'); // Load Enqueue Class
|
269 |
include_once( ALM_PATH . 'core/classes/class.alm-queryargs.php'); // Load Query Args Class
|
270 |
include_once( ALM_PATH . 'core/classes/class.alm-localize.php'); // Load Localize Class
|
271 |
|
272 |
if( is_admin() ){
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
if( !class_exists( 'EDD_SL_Plugin_Updater' ) ) {
|
278 |
include( dirname( __FILE__ ) . '/vendor/EDD_SL_Plugin_Updater.php' );
|
279 |
}
|
@@ -392,12 +393,11 @@ if( !class_exists('AjaxLoadMore') ):
|
|
392 |
'scrolltop' => $scrolltop,
|
393 |
'speed' => apply_filters('alm_speed', 200),
|
394 |
'ga_debug' => apply_filters('alm_ga_debug', 'false'),
|
395 |
-
'results_text' => apply_filters('alm_display_results', __('
|
396 |
'no_results_text' => apply_filters('alm_no_results_text', __('No results found.', 'ajax-load-more')),
|
397 |
'alm_debug' => apply_filters('alm_debug', false)
|
398 |
)
|
399 |
);
|
400 |
-
|
401 |
}
|
402 |
|
403 |
|
7 |
Author: Darren Cooney
|
8 |
Twitter: @KaptonKaos
|
9 |
Author URI: https://connekthq.com
|
10 |
+
Version: 5.2.0
|
11 |
License: GPL
|
12 |
Copyright: Darren Cooney & Connekt Media
|
13 |
*/
|
14 |
|
15 |
|
16 |
+
define('ALM_VERSION', '5.2.0');
|
17 |
+
define('ALM_RELEASE', 'March 13, 2020');
|
18 |
define('ALM_STORE_URL', 'https://connekthq.com');
|
19 |
|
20 |
|
265 |
|
266 |
include_once( ALM_PATH . 'core/functions.php'); // Load Core Functions
|
267 |
include_once( ALM_PATH . 'core/classes/class.alm-shortcode.php'); // Load Shortcode Class
|
268 |
+
include_once( ALM_PATH . 'core/classes/class.alm-woocommerce.php'); // Load Woocommerce Class
|
269 |
include_once( ALM_PATH . 'core/classes/class.alm-enqueue.php'); // Load Enqueue Class
|
270 |
include_once( ALM_PATH . 'core/classes/class.alm-queryargs.php'); // Load Query Args Class
|
271 |
include_once( ALM_PATH . 'core/classes/class.alm-localize.php'); // Load Localize Class
|
272 |
|
273 |
if( is_admin() ){
|
274 |
+
require_once('admin/editor/editor.php');
|
275 |
+
require_once('admin/admin.php');
|
276 |
+
require_once('admin/admin-functions.php');
|
277 |
+
require_once('vendor/connekt-plugin-installer/class-connekt-plugin-installer.php');
|
278 |
if( !class_exists( 'EDD_SL_Plugin_Updater' ) ) {
|
279 |
include( dirname( __FILE__ ) . '/vendor/EDD_SL_Plugin_Updater.php' );
|
280 |
}
|
393 |
'scrolltop' => $scrolltop,
|
394 |
'speed' => apply_filters('alm_speed', 200),
|
395 |
'ga_debug' => apply_filters('alm_ga_debug', 'false'),
|
396 |
+
'results_text' => apply_filters('alm_display_results', __('Viewing {post_count} of {total_posts} results.', 'ajax-load-more')),
|
397 |
'no_results_text' => apply_filters('alm_no_results_text', __('No results found.', 'ajax-load-more')),
|
398 |
'alm_debug' => apply_filters('alm_debug', false)
|
399 |
)
|
400 |
);
|
|
|
401 |
}
|
402 |
|
403 |
|
core/classes/class.alm-shortcode.php
CHANGED
@@ -96,7 +96,7 @@ if( !class_exists('ALM_SHORTCODE') ):
|
|
96 |
'filters_debug' => false,
|
97 |
'term_query' => false,
|
98 |
'term_query_taxonomy' => '',
|
99 |
-
'
|
100 |
'term_query_number' => '5',
|
101 |
'acf' => false,
|
102 |
'acf_post_id' => '',
|
@@ -140,6 +140,7 @@ if( !class_exists('ALM_SHORTCODE') ):
|
|
140 |
'single_post_taxonomy' => '',
|
141 |
'single_post_excluded_terms' => '',
|
142 |
'single_post_progress_bar' => '',
|
|
|
143 |
'cache' => 'false',
|
144 |
'cache_id' => '',
|
145 |
'paging' => 'false',
|
@@ -217,15 +218,17 @@ if( !class_exists('ALM_SHORTCODE') ):
|
|
217 |
'loading_style' => '',
|
218 |
'id' => '',
|
219 |
'primary' => false,
|
|
|
|
|
|
|
220 |
'woocommerce' => false,
|
221 |
'elementor' => false,
|
222 |
-
'no_results_text' => '',
|
223 |
-
'placeholder' => ''
|
224 |
), $atts));
|
225 |
|
226 |
|
227 |
// Elementor
|
228 |
-
|
|
|
229 |
// If Elementor && not on a singular page, exit ALM.
|
230 |
if(!is_singular($post_type)){
|
231 |
return false;
|
@@ -233,6 +236,14 @@ if( !class_exists('ALM_SHORTCODE') ):
|
|
233 |
$container_element = 'div';
|
234 |
$offset = '1';
|
235 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
236 |
|
237 |
|
238 |
// Backwards compat
|
@@ -412,7 +423,7 @@ if( !class_exists('ALM_SHORTCODE') ):
|
|
412 |
$alm_layouts = (has_action('alm_layouts_installed')) ? ' alm-layouts' : '';
|
413 |
|
414 |
// Tabs Class
|
415 |
-
$alm_tabs = (has_action('alm_tabs_installed')) ? ' alm-tabs' : '';
|
416 |
|
417 |
// Get btn classnames
|
418 |
$button_classname = (isset($options['_alm_btn_classname'])) ? ' '.$options['_alm_btn_classname'] : '';
|
@@ -449,8 +460,11 @@ if( !class_exists('ALM_SHORTCODE') ):
|
|
449 |
|
450 |
|
451 |
// Start ALM object
|
452 |
-
$ajaxloadmore = '';
|
453 |
-
|
|
|
|
|
|
|
454 |
|
455 |
|
456 |
/*
|
@@ -482,32 +496,144 @@ if( !class_exists('ALM_SHORTCODE') ):
|
|
482 |
|
483 |
// Build Canonical URL
|
484 |
$canonicalURL = apply_filters('alm_canonical_url_'.$id, alm_get_canonical_url());
|
485 |
-
|
|
|
|
|
486 |
|
487 |
// Start .alm-listing
|
488 |
-
$ajaxloadmore .= '<div id="'. $div_id .'" class="
|
489 |
|
490 |
|
491 |
// Masonry Hook (Before)
|
492 |
$ajaxloadmore .= apply_filters('alm_masonry_before', $transition);
|
493 |
|
494 |
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
|
|
|
|
499 |
$post_type = 'product';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
500 |
if(is_archive()){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
501 |
$obj = get_queried_object();
|
502 |
$taxonomy = $obj->taxonomy;
|
503 |
$taxonomy_terms = $obj->slug;
|
504 |
$taxonomy_operator = 'IN';
|
505 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
506 |
}
|
507 |
|
508 |
|
509 |
// Single Post Add-on
|
510 |
-
// - Set other add-on params to false
|
511 |
if($single_post){
|
512 |
$preloaded = false;
|
513 |
$seo = false;
|
@@ -518,7 +644,6 @@ if( !class_exists('ALM_SHORTCODE') ):
|
|
518 |
|
519 |
|
520 |
// Comments Add-on
|
521 |
-
// - Set other add-on params to false
|
522 |
if($comments){
|
523 |
$single_post = false;
|
524 |
$seo = false;
|
@@ -543,7 +668,6 @@ if( !class_exists('ALM_SHORTCODE') ):
|
|
543 |
|
544 |
|
545 |
// Nextpage Add-on
|
546 |
-
// - Set other add-on params to false
|
547 |
if($nextpage){
|
548 |
$single_post = false;
|
549 |
$seo = false;
|
@@ -576,7 +700,7 @@ if( !class_exists('ALM_SHORTCODE') ):
|
|
576 |
'acf_parent_field_name' => $acf_parent_field_name,
|
577 |
'term_query' => array(
|
578 |
'taxonomy' => $term_query_taxonomy,
|
579 |
-
'
|
580 |
'number' => $term_query_number,
|
581 |
),
|
582 |
'nextpage' => $nextpage,
|
@@ -762,7 +886,7 @@ if( !class_exists('ALM_SHORTCODE') ):
|
|
762 |
'alm_terms_shortcode',
|
763 |
$term_query,
|
764 |
$term_query_taxonomy,
|
765 |
-
$
|
766 |
$term_query_number
|
767 |
);
|
768 |
$ajaxloadmore .= $term_query_return;
|
@@ -832,6 +956,11 @@ if( !class_exists('ALM_SHORTCODE') ):
|
|
832 |
$single_post_id = $post->ID;
|
833 |
}
|
834 |
|
|
|
|
|
|
|
|
|
|
|
835 |
$single_post_return = apply_filters(
|
836 |
'alm_single_post_shortcode',
|
837 |
$single_post_id,
|
@@ -839,7 +968,8 @@ if( !class_exists('ALM_SHORTCODE') ):
|
|
839 |
$single_post_taxonomy,
|
840 |
$single_post_excluded_terms,
|
841 |
$single_post_progress_bar,
|
842 |
-
$options
|
|
|
843 |
);
|
844 |
$ajaxloadmore .= $single_post_return;
|
845 |
}
|
@@ -883,10 +1013,16 @@ if( !class_exists('ALM_SHORTCODE') ):
|
|
883 |
}
|
884 |
|
885 |
$ajaxloadmore .= ' data-container-type="'.$container_element.'"';
|
|
|
|
|
|
|
|
|
|
|
|
|
886 |
|
887 |
-
|
888 |
-
$ajaxloadmore .= ' data-repeater="'.$repeater.'"';
|
889 |
-
$ajaxloadmore .= ($theme_repeater
|
890 |
|
891 |
// Post Type
|
892 |
$ajaxloadmore .= ' data-post-type="'.$post_type.'"';
|
@@ -975,7 +1111,7 @@ if( !class_exists('ALM_SHORTCODE') ):
|
|
975 |
$ajaxloadmore .= (!empty($destroy_after)) ? ' data-destroy-after="'.$destroy_after.'"' : '';
|
976 |
|
977 |
// Transition
|
978 |
-
$ajaxloadmore .= ' data-transition="'.$transition.'"';
|
979 |
$ajaxloadmore .= ($transition_container === 'false') ? ' data-transition-container="'.$transition_container.'"' : '';
|
980 |
$ajaxloadmore .= (!empty($transition_container_classes)) ? ' data-transition-container-classes="'.$transition_container_classes.'"' : '';
|
981 |
|
@@ -986,7 +1122,7 @@ if( !class_exists('ALM_SHORTCODE') ):
|
|
986 |
$ajaxloadmore .= (!empty($masonry_horizontalorder)) ? ' data-masonry-horizontalorder="'.$masonry_horizontalorder.'"' : '';
|
987 |
|
988 |
// Images Loaded
|
989 |
-
$ajaxloadmore .= (
|
990 |
|
991 |
// Primary
|
992 |
$ajaxloadmore .= ($primary !== false) ? ' data-primary="true"' : '';
|
@@ -1047,8 +1183,16 @@ if( !class_exists('ALM_SHORTCODE') ):
|
|
1047 |
$nextpage_start = alm_get_startpage(); // core/functions.php
|
1048 |
|
1049 |
$nextpage_is_paged = ($nextpage_start > 1) ? true : false;
|
1050 |
-
|
1051 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1052 |
|
1053 |
$ajaxloadmore .= $alm_nextpage_output;
|
1054 |
|
96 |
'filters_debug' => false,
|
97 |
'term_query' => false,
|
98 |
'term_query_taxonomy' => '',
|
99 |
+
'term_query_hide_empty' => 'true',
|
100 |
'term_query_number' => '5',
|
101 |
'acf' => false,
|
102 |
'acf_post_id' => '',
|
140 |
'single_post_taxonomy' => '',
|
141 |
'single_post_excluded_terms' => '',
|
142 |
'single_post_progress_bar' => '',
|
143 |
+
'single_post_target' => '',
|
144 |
'cache' => 'false',
|
145 |
'cache_id' => '',
|
146 |
'paging' => 'false',
|
218 |
'loading_style' => '',
|
219 |
'id' => '',
|
220 |
'primary' => false,
|
221 |
+
'no_results_text' => '',
|
222 |
+
'placeholder' => '',
|
223 |
+
'archive' => false,
|
224 |
'woocommerce' => false,
|
225 |
'elementor' => false,
|
|
|
|
|
226 |
), $atts));
|
227 |
|
228 |
|
229 |
// Elementor
|
230 |
+
$elementor = ($elementor === 'true') ? true : false;
|
231 |
+
if($elementor){
|
232 |
// If Elementor && not on a singular page, exit ALM.
|
233 |
if(!is_singular($post_type)){
|
234 |
return false;
|
236 |
$container_element = 'div';
|
237 |
$offset = '1';
|
238 |
}
|
239 |
+
|
240 |
+
|
241 |
+
// WooCommerce
|
242 |
+
$woocommerce = ($woocommerce === 'true') ? true : false;
|
243 |
+
|
244 |
+
|
245 |
+
// Archives
|
246 |
+
$archive = ($archive === 'true') ? true : false;
|
247 |
|
248 |
|
249 |
// Backwards compat
|
423 |
$alm_layouts = (has_action('alm_layouts_installed')) ? ' alm-layouts' : '';
|
424 |
|
425 |
// Tabs Class
|
426 |
+
$alm_tabs = (has_action('alm_tabs_installed') && $tabs === 'true') ? ' alm-tabs' : '';
|
427 |
|
428 |
// Get btn classnames
|
429 |
$button_classname = (isset($options['_alm_btn_classname'])) ? ' '.$options['_alm_btn_classname'] : '';
|
460 |
|
461 |
|
462 |
// Start ALM object
|
463 |
+
$ajaxloadmore = '';
|
464 |
+
|
465 |
+
|
466 |
+
$ajaxloadmore .= ALM_WOOCOMMERCE::hide_pagination($woocommerce);
|
467 |
+
$ajaxloadmore .= ALM_WOOCOMMERCE::hide_orderby($woocommerce);
|
468 |
|
469 |
|
470 |
/*
|
496 |
|
497 |
// Build Canonical URL
|
498 |
$canonicalURL = apply_filters('alm_canonical_url_'.$id, alm_get_canonical_url());
|
499 |
+
|
500 |
+
// ALM Wrapper Class
|
501 |
+
$alm_wrapper_class = ($woocommerce) ? 'ajax-load-more-wrap '. ALM_WOOCOMMERCE::get_wrapper_class() : 'ajax-load-more-wrap';
|
502 |
|
503 |
// Start .alm-listing
|
504 |
+
$ajaxloadmore .= '<div id="'. $div_id .'" class="'. $alm_wrapper_class . $alm_loading_style .''. $paging_color .''. $alm_layouts . $alm_tabs .'" '. $unique_id .' data-alm-id="" data-canonical-url="'. $canonicalURL .'" data-slug="'. $slug .'" data-post-id="'. $post_id .'" '. $is_search . $is_nested .' data-localized="'. alm_convert_dashes_to_underscore($localize_id) .'_vars' .'">';
|
505 |
|
506 |
|
507 |
// Masonry Hook (Before)
|
508 |
$ajaxloadmore .= apply_filters('alm_masonry_before', $transition);
|
509 |
|
510 |
|
511 |
+
/**
|
512 |
+
* WooCommerce
|
513 |
+
* Set required WooCommerce config options
|
514 |
+
*/
|
515 |
+
if($woocommerce){
|
516 |
+
$container_element = apply_filters('alm_woo_container_element', 'ul');
|
517 |
$post_type = 'product';
|
518 |
+
|
519 |
+
$woo_config = array(
|
520 |
+
'classes' => apply_filters('alm_woo_classes', 'products stylefree'),
|
521 |
+
'columns' => ALM_WOOCOMMERCE::get_loop_prop('columns', '4'),
|
522 |
+
'per_page' => ALM_WOOCOMMERCE::get_loop_prop('per_page', $posts_per_page),
|
523 |
+
);
|
524 |
+
|
525 |
+
/**
|
526 |
+
* alm_woo_config
|
527 |
+
*
|
528 |
+
* WooCommerce hook to filter columns, per_page, classes etc
|
529 |
+
*
|
530 |
+
* @return $config;
|
531 |
+
*/
|
532 |
+
$woo_config = apply_filters('alm_woo_config', $woo_config);
|
533 |
+
|
534 |
+
$css_classes = $css_classes . ' ' . $woo_config['classes'] . ' columns-'. $woo_config['columns'];
|
535 |
+
$posts_per_page = $preloaded_amount = $woo_config['per_page'];
|
536 |
+
|
537 |
if(is_archive()){
|
538 |
+
$obj = get_queried_object();
|
539 |
+
if(isset($obj->taxonomy) && isset($obj->slug)){
|
540 |
+
$taxonomy = $obj->taxonomy;
|
541 |
+
$taxonomy_terms = $obj->slug;
|
542 |
+
$taxonomy_operator = 'IN';
|
543 |
+
}
|
544 |
+
}
|
545 |
+
|
546 |
+
if(!$filters){
|
547 |
+
// Do not run if ALM filters are active
|
548 |
+
|
549 |
+
$woo_orderby_value = (function_exists('wc_clean') && isset($_GET['orderby'])) ? wc_clean($_GET['orderby']) : apply_filters( 'woocommerce_default_catalog_orderby', get_option( 'woocommerce_default_catalog_orderby' ) );
|
550 |
+
|
551 |
+
switch( $woo_orderby_value ){
|
552 |
+
|
553 |
+
case 'popularity' :
|
554 |
+
$meta_key = 'total_sales';
|
555 |
+
$orderby = 'meta_value_num';
|
556 |
+
$order = "DESC";
|
557 |
+
break;
|
558 |
+
|
559 |
+
case 'rating' :
|
560 |
+
$meta_key = '_wc_average_rating';
|
561 |
+
$orderby = 'meta_value_num';
|
562 |
+
$order = "DESC";
|
563 |
+
break;
|
564 |
+
|
565 |
+
case 'price-desc' :
|
566 |
+
$meta_key = '_price';
|
567 |
+
$orderby = 'meta_value_num';
|
568 |
+
$order = "DESC";
|
569 |
+
break;
|
570 |
+
|
571 |
+
case 'price' :
|
572 |
+
$meta_key = '_price';
|
573 |
+
$orderby = 'meta_value_num';
|
574 |
+
$order = "ASC";
|
575 |
+
break;
|
576 |
+
|
577 |
+
default :
|
578 |
+
|
579 |
+
$custom_options = apply_filters('alm_woo_orderby_options', '');
|
580 |
+
if(!empty($custom_options)){
|
581 |
+
foreach($custom_options as $option){
|
582 |
+
if(isset($option['name']) && $option['name'] === $woo_orderby_value){
|
583 |
+
$meta_key = (isset($option['meta_key'])) ? wc_clean($option['meta_key']) : $meta_key;
|
584 |
+
$orderby = (isset($option['orderby'])) ? wc_clean($option['orderby']) : $orderby;
|
585 |
+
$order = (isset($option['order'])) ? wc_clean($option['order']) : $order;
|
586 |
+
}
|
587 |
+
}
|
588 |
+
}
|
589 |
+
|
590 |
+
break;
|
591 |
+
}
|
592 |
+
}
|
593 |
+
}
|
594 |
+
|
595 |
+
|
596 |
+
/**
|
597 |
+
* Archive
|
598 |
+
* Set required archive config options
|
599 |
+
*/
|
600 |
+
if($archive && is_archive()){
|
601 |
+
if(is_date()){
|
602 |
+
$archive_year = get_the_date('Y');
|
603 |
+
$archive_month = get_the_date('m');
|
604 |
+
$archive_day = get_the_date('d');
|
605 |
+
if(is_year()){
|
606 |
+
$year = $archive_year;
|
607 |
+
}
|
608 |
+
if(is_month()){
|
609 |
+
$month = $archive_month;
|
610 |
+
$year = $archive_year;
|
611 |
+
}
|
612 |
+
if(is_day()){
|
613 |
+
$year = $archive_year;
|
614 |
+
$month = $archive_month;
|
615 |
+
$day = $archive_day;
|
616 |
+
}
|
617 |
+
}
|
618 |
+
if(is_author()){
|
619 |
+
$author = get_the_author_meta('ID');
|
620 |
+
}
|
621 |
+
if(is_tax() || is_category() || is_tag()){
|
622 |
$obj = get_queried_object();
|
623 |
$taxonomy = $obj->taxonomy;
|
624 |
$taxonomy_terms = $obj->slug;
|
625 |
$taxonomy_operator = 'IN';
|
626 |
}
|
627 |
+
if(is_post_type_archive()){
|
628 |
+
$obj = get_queried_object();
|
629 |
+
if(isset($obj->name)){
|
630 |
+
$post_type = $obj->name;
|
631 |
+
}
|
632 |
+
}
|
633 |
}
|
634 |
|
635 |
|
636 |
// Single Post Add-on
|
|
|
637 |
if($single_post){
|
638 |
$preloaded = false;
|
639 |
$seo = false;
|
644 |
|
645 |
|
646 |
// Comments Add-on
|
|
|
647 |
if($comments){
|
648 |
$single_post = false;
|
649 |
$seo = false;
|
668 |
|
669 |
|
670 |
// Nextpage Add-on
|
|
|
671 |
if($nextpage){
|
672 |
$single_post = false;
|
673 |
$seo = false;
|
700 |
'acf_parent_field_name' => $acf_parent_field_name,
|
701 |
'term_query' => array(
|
702 |
'taxonomy' => $term_query_taxonomy,
|
703 |
+
'hide_empty' => $term_query_hide_empty,
|
704 |
'number' => $term_query_number,
|
705 |
),
|
706 |
'nextpage' => $nextpage,
|
886 |
'alm_terms_shortcode',
|
887 |
$term_query,
|
888 |
$term_query_taxonomy,
|
889 |
+
$term_query_hide_empty,
|
890 |
$term_query_number
|
891 |
);
|
892 |
$ajaxloadmore .= $term_query_return;
|
956 |
$single_post_id = $post->ID;
|
957 |
}
|
958 |
|
959 |
+
if($single_post_target){
|
960 |
+
$offset = 1;
|
961 |
+
$pause = "true";
|
962 |
+
}
|
963 |
+
|
964 |
$single_post_return = apply_filters(
|
965 |
'alm_single_post_shortcode',
|
966 |
$single_post_id,
|
968 |
$single_post_taxonomy,
|
969 |
$single_post_excluded_terms,
|
970 |
$single_post_progress_bar,
|
971 |
+
$options,
|
972 |
+
$single_post_target
|
973 |
);
|
974 |
$ajaxloadmore .= $single_post_return;
|
975 |
}
|
1013 |
}
|
1014 |
|
1015 |
$ajaxloadmore .= ' data-container-type="'.$container_element.'"';
|
1016 |
+
|
1017 |
+
// Archive
|
1018 |
+
$ajaxloadmore .= ($archive) ? ' data-archive="true"' : '';
|
1019 |
+
|
1020 |
+
// Woocommerce
|
1021 |
+
$ajaxloadmore .= ($woocommerce) ? ' data-woocommerce="true"' : '';
|
1022 |
|
1023 |
+
// Repeaters
|
1024 |
+
$ajaxloadmore .= ($theme_repeater === 'null') ? ' data-repeater="'.$repeater.'"' : '';
|
1025 |
+
$ajaxloadmore .= ($theme_repeater !== 'null') ? ' data-theme-repeater="'.$theme_repeater.'"' : '';
|
1026 |
|
1027 |
// Post Type
|
1028 |
$ajaxloadmore .= ' data-post-type="'.$post_type.'"';
|
1111 |
$ajaxloadmore .= (!empty($destroy_after)) ? ' data-destroy-after="'.$destroy_after.'"' : '';
|
1112 |
|
1113 |
// Transition
|
1114 |
+
$ajaxloadmore .= ($transition !== 'fade') ? ' data-transition="'.$transition.'"' : '';
|
1115 |
$ajaxloadmore .= ($transition_container === 'false') ? ' data-transition-container="'.$transition_container.'"' : '';
|
1116 |
$ajaxloadmore .= (!empty($transition_container_classes)) ? ' data-transition-container-classes="'.$transition_container_classes.'"' : '';
|
1117 |
|
1122 |
$ajaxloadmore .= (!empty($masonry_horizontalorder)) ? ' data-masonry-horizontalorder="'.$masonry_horizontalorder.'"' : '';
|
1123 |
|
1124 |
// Images Loaded
|
1125 |
+
$ajaxloadmore .= ($images_loaded !== 'false') ? ' data-images-loaded="'.$images_loaded.'"' : '';
|
1126 |
|
1127 |
// Primary
|
1128 |
$ajaxloadmore .= ($primary !== false) ? ' data-primary="true"' : '';
|
1183 |
$nextpage_start = alm_get_startpage(); // core/functions.php
|
1184 |
|
1185 |
$nextpage_is_paged = ($nextpage_start > 1) ? true : false;
|
1186 |
+
|
1187 |
+
/*
|
1188 |
+
* alm_nextpage_paged
|
1189 |
+
* Next Page Add-on hook
|
1190 |
+
*
|
1191 |
+
* @return boolean;
|
1192 |
+
*/
|
1193 |
+
$nextpage_is_paged = apply_filters('alm_nextpage_paged', $nextpage_is_paged);
|
1194 |
+
|
1195 |
+
$alm_nextpage_output = apply_filters('alm_init_nextpage', $nextpage_post_id, $nextpage_start, $nextpage_is_paged, $paging, $div_id, $id);
|
1196 |
|
1197 |
$ajaxloadmore .= $alm_nextpage_output;
|
1198 |
|
core/classes/class.alm-woocommerce.php
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* ALM_WOOCOMMERCE
|
4 |
+
* WooCommerce Helper
|
5 |
+
*
|
6 |
+
* @author Darren Cooney
|
7 |
+
* @since 5.1.8
|
8 |
+
*/
|
9 |
+
|
10 |
+
if (!defined( 'ABSPATH')){
|
11 |
+
exit;
|
12 |
+
}
|
13 |
+
|
14 |
+
if(!class_exists('ALM_WOOCOMMERCE')):
|
15 |
+
|
16 |
+
class ALM_WOOCOMMERCE {
|
17 |
+
|
18 |
+
|
19 |
+
/**
|
20 |
+
* hide_pagination
|
21 |
+
* Hide the woocommerce pagination on ALM pages
|
22 |
+
*
|
23 |
+
* @param $woocommerce boolean
|
24 |
+
* @since 5.1.8
|
25 |
+
*/
|
26 |
+
public static function hide_pagination($woocommerce){
|
27 |
+
if(!$woocommerce){
|
28 |
+
return false;
|
29 |
+
}
|
30 |
+
$hide_pagination = apply_filters('alm_woo_hide_pagination', true);
|
31 |
+
$classname = apply_filters('alm_woo_pagination_class', 'woocommerce-pagination');
|
32 |
+
return ($classname && $hide_pagination) ? '<style>.'. $classname .'{display:none;}</style>' : '';
|
33 |
+
}
|
34 |
+
|
35 |
+
|
36 |
+
/**
|
37 |
+
* hide_orderby
|
38 |
+
* Hide the woocommerce orderby filter on ALM pages
|
39 |
+
*
|
40 |
+
* @param $woocommerce boolean
|
41 |
+
* @since 5.1.8
|
42 |
+
*/
|
43 |
+
public static function hide_orderby($woocommerce){
|
44 |
+
if(!$woocommerce){
|
45 |
+
return false;
|
46 |
+
}
|
47 |
+
|
48 |
+
$hide_ordering = apply_filters('alm_woo_hide_orderby', false);
|
49 |
+
$classname = apply_filters('alm_woo_ordering_class', 'woocommerce-ordering');
|
50 |
+
return ($hide_ordering) ? '<style>.'. $classname .'{display:none;}</style>' : '';
|
51 |
+
}
|
52 |
+
|
53 |
+
|
54 |
+
|
55 |
+
/**
|
56 |
+
* get_loop_prop
|
57 |
+
* Get default WooCommerce props
|
58 |
+
*
|
59 |
+
* @param $type string Prop name
|
60 |
+
* @param $default string Default value
|
61 |
+
* @since 5.1.8
|
62 |
+
*/
|
63 |
+
public static function get_loop_prop($type = '', $default = ''){
|
64 |
+
if(function_exists('wc_get_loop_prop') && !empty($type)){
|
65 |
+
$prop = wc_get_loop_prop($type);
|
66 |
+
$value = ($prop) ? $prop : $default;
|
67 |
+
return $value;
|
68 |
+
}
|
69 |
+
}
|
70 |
+
|
71 |
+
|
72 |
+
|
73 |
+
/**
|
74 |
+
* get_wrapper_class
|
75 |
+
* Get default wrapper class
|
76 |
+
*
|
77 |
+
* @since 5.1.8
|
78 |
+
*/
|
79 |
+
public static function get_wrapper_class(){
|
80 |
+
return 'alm-woocommerce woocommerce';
|
81 |
+
}
|
82 |
+
|
83 |
+
}
|
84 |
+
|
85 |
+
endif;
|
core/classes/includes/preloaded.php
CHANGED
@@ -78,9 +78,13 @@ elseif($comments){
|
|
78 |
|
79 |
$total_comments = wp_count_comments( $comments_post_id );
|
80 |
|
81 |
-
// Add
|
82 |
ALM_LOCALIZE::add_localized_var('total_posts', $total_comments->approved, $localize_id);
|
83 |
-
|
|
|
|
|
|
|
|
|
84 |
// Open .alm-reveal
|
85 |
$preloaded_output .= $alm_reveal;
|
86 |
|
@@ -118,16 +122,20 @@ elseif($users){
|
|
118 |
$preloaded_users_total = $preloaded_users['total'];
|
119 |
|
120 |
|
121 |
-
// Add
|
122 |
ALM_LOCALIZE::add_localized_var('total_posts', $preloaded_users_total, $localize_id);
|
123 |
|
|
|
|
|
124 |
|
|
|
125 |
// Open .alm-reveal
|
126 |
|
127 |
if($seo === 'true'){
|
128 |
$alm_reveal = '<div class="alm-reveal alm-seo alm-preloaded'. $transition_container_classes .'" data-page="1" data-url="'.$canonicalURL.'">';
|
129 |
}
|
130 |
|
|
|
131 |
// Open .alm-reveal
|
132 |
$preloaded_output .= $alm_reveal;
|
133 |
|
@@ -159,12 +167,14 @@ elseif($term_query){
|
|
159 |
$preloaded_terms_total = $preloaded_terms['total'];
|
160 |
|
161 |
|
162 |
-
// Add
|
163 |
ALM_LOCALIZE::add_localized_var('total_posts', $preloaded_terms_total, $localize_id);
|
164 |
|
|
|
|
|
165 |
|
166 |
-
// Open .alm-reveal
|
167 |
|
|
|
168 |
if($seo === 'true'){
|
169 |
$alm_reveal = '<div class="alm-reveal alm-seo alm-preloaded'. $transition_container_classes .'" data-page="1" data-url="'.$canonicalURL.'">';
|
170 |
}
|
@@ -196,7 +206,11 @@ elseif($acf && ($acf_field_type !== 'relationship')){
|
|
196 |
|
197 |
|
198 |
// Add total_posts to localized ALM JS variables
|
199 |
-
|
|
|
|
|
|
|
|
|
200 |
|
201 |
// Open .alm-reveal
|
202 |
if($seo === 'true'){
|
@@ -268,9 +282,9 @@ else {
|
|
268 |
* @return $alm_query;
|
269 |
*/
|
270 |
$alm_preload_query = apply_filters('alm_query_after_'. $id, $alm_preload_query, $post_id); // ALM Core Filter Hook
|
271 |
-
|
272 |
-
|
273 |
$alm_total_posts = $alm_preload_query->found_posts - $offset;
|
|
|
274 |
|
275 |
$output = '';
|
276 |
|
@@ -321,8 +335,9 @@ else {
|
|
321 |
endif;
|
322 |
|
323 |
|
324 |
-
// Add
|
325 |
ALM_LOCALIZE::add_localized_var('total_posts', $alm_total_posts, $localize_id);
|
|
|
326 |
|
327 |
|
328 |
if($seo === "true"){ // SEO, not Paging
|
78 |
|
79 |
$total_comments = wp_count_comments( $comments_post_id );
|
80 |
|
81 |
+
// Add localized ALM JS variables
|
82 |
ALM_LOCALIZE::add_localized_var('total_posts', $total_comments->approved, $localize_id);
|
83 |
+
|
84 |
+
$post_count = ($total_comments->approved > $preloaded_amount) ? $preloaded_amount : $total_comments->approved;
|
85 |
+
ALM_LOCALIZE::add_localized_var('post_count', $post_count, $localize_id);
|
86 |
+
|
87 |
+
|
88 |
// Open .alm-reveal
|
89 |
$preloaded_output .= $alm_reveal;
|
90 |
|
122 |
$preloaded_users_total = $preloaded_users['total'];
|
123 |
|
124 |
|
125 |
+
// Add localized ALM JS variables
|
126 |
ALM_LOCALIZE::add_localized_var('total_posts', $preloaded_users_total, $localize_id);
|
127 |
|
128 |
+
$post_count = ($preloaded_users_total > $preloaded_amount) ? $preloaded_amount : $preloaded_users_total;
|
129 |
+
ALM_LOCALIZE::add_localized_var('post_count', $post_count, $localize_id);
|
130 |
|
131 |
+
|
132 |
// Open .alm-reveal
|
133 |
|
134 |
if($seo === 'true'){
|
135 |
$alm_reveal = '<div class="alm-reveal alm-seo alm-preloaded'. $transition_container_classes .'" data-page="1" data-url="'.$canonicalURL.'">';
|
136 |
}
|
137 |
|
138 |
+
|
139 |
// Open .alm-reveal
|
140 |
$preloaded_output .= $alm_reveal;
|
141 |
|
167 |
$preloaded_terms_total = $preloaded_terms['total'];
|
168 |
|
169 |
|
170 |
+
// Add localized ALM JS variables
|
171 |
ALM_LOCALIZE::add_localized_var('total_posts', $preloaded_terms_total, $localize_id);
|
172 |
|
173 |
+
$post_count = ($preloaded_terms_total > $preloaded_amount) ? $preloaded_amount : $preloaded_terms_total;
|
174 |
+
ALM_LOCALIZE::add_localized_var('post_count', $post_count, $localize_id);
|
175 |
|
|
|
176 |
|
177 |
+
// Open .alm-reveal
|
178 |
if($seo === 'true'){
|
179 |
$alm_reveal = '<div class="alm-reveal alm-seo alm-preloaded'. $transition_container_classes .'" data-page="1" data-url="'.$canonicalURL.'">';
|
180 |
}
|
206 |
|
207 |
|
208 |
// Add total_posts to localized ALM JS variables
|
209 |
+
$acf_total_rows = apply_filters('alm_acf_total_rows', $query_args);
|
210 |
+
ALM_LOCALIZE::add_localized_var('total_posts', $acf_total_rows, $localize_id);
|
211 |
+
|
212 |
+
$post_count = ($acf_total_rows > $preloaded_amount) ? $preloaded_amount : $acf_total_rows;
|
213 |
+
ALM_LOCALIZE::add_localized_var('post_count', $post_count, $localize_id);
|
214 |
|
215 |
// Open .alm-reveal
|
216 |
if($seo === 'true'){
|
282 |
* @return $alm_query;
|
283 |
*/
|
284 |
$alm_preload_query = apply_filters('alm_query_after_'. $id, $alm_preload_query, $post_id); // ALM Core Filter Hook
|
285 |
+
|
|
|
286 |
$alm_total_posts = $alm_preload_query->found_posts - $offset;
|
287 |
+
$alm_post_count = $alm_preload_query->post_count;
|
288 |
|
289 |
$output = '';
|
290 |
|
335 |
endif;
|
336 |
|
337 |
|
338 |
+
// Add localized ALM JS variables
|
339 |
ALM_LOCALIZE::add_localized_var('total_posts', $alm_total_posts, $localize_id);
|
340 |
+
ALM_LOCALIZE::add_localized_var('post_count', $alm_post_count, $localize_id);
|
341 |
|
342 |
|
343 |
if($seo === "true"){ // SEO, not Paging
|
core/dist/css/ajax-load-more.css
CHANGED
@@ -88,11 +88,6 @@
|
|
88 |
-webkit-transition: width 0.5s ease-in-out;
|
89 |
transition: width 0.5s ease-in-out; }
|
90 |
|
91 |
-
.alm-masonry {
|
92 |
-
display: block;
|
93 |
-
overflow: hidden;
|
94 |
-
clear: both; }
|
95 |
-
|
96 |
/* Blue */
|
97 |
.ajax-load-more-wrap.blue .alm-load-more-btn {
|
98 |
background-color: #0081bf; }
|
@@ -175,28 +170,28 @@
|
|
175 |
.ajax-load-more-wrap.infinite.chasing-arrows .alm-load-more-btn {
|
176 |
background-image: url("../../img/spinner-chasing-arrows.gif"); }
|
177 |
|
178 |
-
|
179 |
-
* Generic alm-listing
|
180 |
-
* @since 1.0.0
|
181 |
-
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
182 |
.alm-listing {
|
183 |
margin: 0;
|
184 |
padding: 0; }
|
185 |
-
.alm-listing .alm-reveal {
|
186 |
-
outline: none; }
|
187 |
-
.alm-listing .alm-reveal:after {
|
188 |
-
display: table;
|
189 |
-
clear: both;
|
190 |
-
height: 0;
|
191 |
-
width: 100%;
|
192 |
-
content: ''; }
|
193 |
.alm-listing .alm-reveal > li,
|
194 |
.alm-listing .alm-paging-content > li,
|
195 |
.alm-listing > li {
|
196 |
background: none;
|
197 |
margin: 0 0 30px;
|
198 |
padding: 0 0 0 170px;
|
199 |
-
overflow: hidden;
|
200 |
position: relative;
|
201 |
list-style: none; }
|
202 |
.alm-listing .alm-reveal > li.no-img,
|
@@ -223,9 +218,75 @@
|
|
223 |
left: 0;
|
224 |
top: 0;
|
225 |
border-radius: 2px; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
226 |
|
227 |
.alm-placeholder {
|
228 |
opacity: 0;
|
229 |
-webkit-transition: opacity 0.2s ease;
|
230 |
transition: opacity 0.2s ease;
|
231 |
display: none; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
-webkit-transition: width 0.5s ease-in-out;
|
89 |
transition: width 0.5s ease-in-out; }
|
90 |
|
|
|
|
|
|
|
|
|
|
|
91 |
/* Blue */
|
92 |
.ajax-load-more-wrap.blue .alm-load-more-btn {
|
93 |
background-color: #0081bf; }
|
170 |
.ajax-load-more-wrap.infinite.chasing-arrows .alm-load-more-btn {
|
171 |
background-image: url("../../img/spinner-chasing-arrows.gif"); }
|
172 |
|
173 |
+
/**
|
174 |
+
* Generic alm-listing Styles
|
175 |
+
* @since 1.0.0
|
176 |
+
*/
|
177 |
+
.alm-listing .alm-reveal {
|
178 |
+
outline: none; }
|
179 |
+
.alm-listing .alm-reveal:after {
|
180 |
+
display: table;
|
181 |
+
clear: both;
|
182 |
+
height: 0;
|
183 |
+
width: 100%;
|
184 |
+
content: ''; }
|
185 |
+
|
186 |
.alm-listing {
|
187 |
margin: 0;
|
188 |
padding: 0; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
.alm-listing .alm-reveal > li,
|
190 |
.alm-listing .alm-paging-content > li,
|
191 |
.alm-listing > li {
|
192 |
background: none;
|
193 |
margin: 0 0 30px;
|
194 |
padding: 0 0 0 170px;
|
|
|
195 |
position: relative;
|
196 |
list-style: none; }
|
197 |
.alm-listing .alm-reveal > li.no-img,
|
218 |
left: 0;
|
219 |
top: 0;
|
220 |
border-radius: 2px; }
|
221 |
+
.alm-listing.products li.product {
|
222 |
+
padding-left: inherit; }
|
223 |
+
.alm-listing.products li.product img {
|
224 |
+
position: static;
|
225 |
+
border-radius: inherit; }
|
226 |
+
.alm-listing.stylefree .alm-reveal > li,
|
227 |
+
.alm-listing.stylefree .alm-paging-content > li,
|
228 |
+
.alm-listing.stylefree > li {
|
229 |
+
padding: inherit;
|
230 |
+
margin: inherit; }
|
231 |
+
.alm-listing.stylefree .alm-reveal > li img,
|
232 |
+
.alm-listing.stylefree .alm-paging-content > li img,
|
233 |
+
.alm-listing.stylefree > li img {
|
234 |
+
padding: inherit;
|
235 |
+
margin: inherit;
|
236 |
+
position: static;
|
237 |
+
border-radius: inherit; }
|
238 |
+
|
239 |
+
.alm-listing.rtl .alm-reveal > li,
|
240 |
+
.alm-listing.rtl .alm-paging-content > li {
|
241 |
+
padding: 0 170px 0 0;
|
242 |
+
text-align: right; }
|
243 |
+
.alm-listing.rtl .alm-reveal > li img,
|
244 |
+
.alm-listing.rtl .alm-paging-content > li img {
|
245 |
+
left: auto;
|
246 |
+
right: 0; }
|
247 |
+
|
248 |
+
.alm-listing.rtl.products li.product {
|
249 |
+
padding-right: inherit; }
|
250 |
+
|
251 |
+
.alm-masonry {
|
252 |
+
display: block;
|
253 |
+
overflow: hidden;
|
254 |
+
clear: both; }
|
255 |
|
256 |
.alm-placeholder {
|
257 |
opacity: 0;
|
258 |
-webkit-transition: opacity 0.2s ease;
|
259 |
transition: opacity 0.2s ease;
|
260 |
display: none; }
|
261 |
+
|
262 |
+
.alm-toc {
|
263 |
+
display: -webkit-box;
|
264 |
+
display: -ms-flexbox;
|
265 |
+
display: flex;
|
266 |
+
width: auto;
|
267 |
+
padding: 10px 0; }
|
268 |
+
.alm-toc button {
|
269 |
+
background: #f7f7f7;
|
270 |
+
border-radius: 4px;
|
271 |
+
-webkit-transition: all 0.15s ease;
|
272 |
+
transition: all 0.15s ease;
|
273 |
+
outline: none;
|
274 |
+
border: 1px solid #efefef;
|
275 |
+
-webkit-box-shadow: none;
|
276 |
+
box-shadow: none;
|
277 |
+
color: #454545;
|
278 |
+
cursor: pointer;
|
279 |
+
font-size: 14px;
|
280 |
+
font-weight: 500;
|
281 |
+
padding: 7px 10px;
|
282 |
+
line-height: 1;
|
283 |
+
margin: 0 5px 0 0;
|
284 |
+
height: auto; }
|
285 |
+
.alm-toc button:hover, .alm-toc button:focus {
|
286 |
+
border-color: #ccc;
|
287 |
+
color: #222; }
|
288 |
+
.alm-toc button:hover {
|
289 |
+
text-decoration: underline; }
|
290 |
+
.alm-toc button:focus {
|
291 |
+
-webkit-box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
|
292 |
+
box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05); }
|
core/dist/css/ajax-load-more.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.alm-btn-wrap{display:block;text-align:center;padding:10px 0 25px;position:relative}.alm-btn-wrap:after{display:table;clear:both;height:0;width:100%;content:''}.alm-btn-wrap .alm-load-more-btn{font-size:15px;font-weight:600;width:auto;height:42px;line-height:42px;background:#ed7070;color:#fff;border:none;border-radius:4px;margin:0 0 4px;padding:0 20px;display:inline-block;position:relative;-webkit-transition:all .35s ease;transition:all .35s ease;text-align:center;text-decoration:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.alm-btn-wrap .alm-load-more-btn.loading,.alm-btn-wrap .alm-load-more-btn:hover{background-color:#e06464;color:#fff;text-decoration:none}.alm-btn-wrap .alm-load-more-btn:active{-webkit-box-shadow:inset 0 2px 1px rgba(0,0,0,.1);box-shadow:inset 0 2px 1px rgba(0,0,0,.1);text-decoration:none}.alm-btn-wrap .alm-load-more-btn.loading{cursor:default;outline:0;padding-left:44px}.alm-btn-wrap .alm-load-more-btn.done{cursor:default;opacity:.15;background-color:#ed7070;outline:0!important;-webkit-box-shadow:none!important;box-shadow:none!important}.alm-btn-wrap .alm-load-more-btn.done:before,.alm-btn-wrap .alm-load-more-btn:before{background:0 0;width:0}.alm-btn-wrap .alm-load-more-btn.loading:before{background:#fff url(../../img/ajax-loader.gif) no-repeat center center;width:30px;height:30px;margin:6px;border-radius:3px;display:inline-block;z-index:0;content:'';position:absolute;left:0;top:0;overflow:hidden;-webkit-transition:width .5s ease-in-out;transition:width .5s ease-in-out}.
|
1 |
+
.alm-btn-wrap{display:block;text-align:center;padding:10px 0 25px;position:relative}.alm-btn-wrap:after{display:table;clear:both;height:0;width:100%;content:''}.alm-btn-wrap .alm-load-more-btn{font-size:15px;font-weight:600;width:auto;height:42px;line-height:42px;background:#ed7070;color:#fff;border:none;border-radius:4px;margin:0 0 4px;padding:0 20px;display:inline-block;position:relative;-webkit-transition:all .35s ease;transition:all .35s ease;text-align:center;text-decoration:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.alm-btn-wrap .alm-load-more-btn.loading,.alm-btn-wrap .alm-load-more-btn:hover{background-color:#e06464;color:#fff;text-decoration:none}.alm-btn-wrap .alm-load-more-btn:active{-webkit-box-shadow:inset 0 2px 1px rgba(0,0,0,.1);box-shadow:inset 0 2px 1px rgba(0,0,0,.1);text-decoration:none}.alm-btn-wrap .alm-load-more-btn.loading{cursor:default;outline:0;padding-left:44px}.alm-btn-wrap .alm-load-more-btn.done{cursor:default;opacity:.15;background-color:#ed7070;outline:0!important;-webkit-box-shadow:none!important;box-shadow:none!important}.alm-btn-wrap .alm-load-more-btn.done:before,.alm-btn-wrap .alm-load-more-btn:before{background:0 0;width:0}.alm-btn-wrap .alm-load-more-btn.loading:before{background:#fff url(../../img/ajax-loader.gif) no-repeat center center;width:30px;height:30px;margin:6px;border-radius:3px;display:inline-block;z-index:0;content:'';position:absolute;left:0;top:0;overflow:hidden;-webkit-transition:width .5s ease-in-out;transition:width .5s ease-in-out}.ajax-load-more-wrap.blue .alm-load-more-btn{background-color:#0081bf}.ajax-load-more-wrap.blue .alm-load-more-btn.done,.ajax-load-more-wrap.blue .alm-load-more-btn.loading,.ajax-load-more-wrap.blue .alm-load-more-btn:hover{background-color:#0073aa}.ajax-load-more-wrap.green .alm-load-more-btn{background-color:#6fca68}.ajax-load-more-wrap.green .alm-load-more-btn.done,.ajax-load-more-wrap.green .alm-load-more-btn.loading,.ajax-load-more-wrap.green .alm-load-more-btn:hover{background-color:#64b95e}.ajax-load-more-wrap.red .alm-load-more-btn{background-color:#ca4b4b}.ajax-load-more-wrap.red .alm-load-more-btn.done,.ajax-load-more-wrap.red .alm-load-more-btn.loading,.ajax-load-more-wrap.red .alm-load-more-btn:hover{background-color:#b13b3b}.ajax-load-more-wrap.purple .alm-load-more-btn{background-color:#a86bb9}.ajax-load-more-wrap.purple .alm-load-more-btn.done,.ajax-load-more-wrap.purple .alm-load-more-btn.loading,.ajax-load-more-wrap.purple .alm-load-more-btn:hover{background-color:#9963a8}.ajax-load-more-wrap.grey .alm-load-more-btn{background-color:#888}.ajax-load-more-wrap.grey .alm-load-more-btn.done,.ajax-load-more-wrap.grey .alm-load-more-btn.loading,.ajax-load-more-wrap.grey .alm-load-more-btn:hover{background-color:#777}.ajax-load-more-wrap.white .alm-load-more-btn{background-color:#fff;color:#666;border:1px solid #efefef}.ajax-load-more-wrap.white .alm-load-more-btn.done,.ajax-load-more-wrap.white .alm-load-more-btn.loading,.ajax-load-more-wrap.white .alm-load-more-btn:hover{background-color:#efefef;color:#333}.ajax-load-more-wrap.white .alm-load-more-btn.done{border-color:#fff}.ajax-load-more-wrap.infinite .alm-load-more-btn{width:100%;background-color:transparent!important;background-position:center center;background-repeat:no-repeat;background-image:url(../../img/spinner.gif);border:none!important;opacity:0;-webkit-transition:opacity .2s ease;transition:opacity .2s ease;-webkit-box-shadow:none!important;box-shadow:none!important;overflow:hidden;text-indent:-9999px;cursor:default!important;outline:0!important}.ajax-load-more-wrap.infinite .alm-load-more-btn:before{display:none!important}.ajax-load-more-wrap.infinite .alm-load-more-btn:active,.ajax-load-more-wrap.infinite .alm-load-more-btn:focus{outline:0}.ajax-load-more-wrap.infinite .alm-load-more-btn.done{opacity:0}.ajax-load-more-wrap.infinite .alm-load-more-btn.loading{opacity:1}.ajax-load-more-wrap.infinite.skype .alm-load-more-btn{background-image:url(../../img/spinner-skype.gif)}.ajax-load-more-wrap.infinite.ring .alm-load-more-btn{background-image:url(../../img/spinner-ring.gif)}.ajax-load-more-wrap.infinite.fading-blocks .alm-load-more-btn{background-image:url(../../img/loader-fading-blocks.gif)}.ajax-load-more-wrap.infinite.fading-circles .alm-load-more-btn{background-image:url(../../img/loader-fading-circles.gif)}.ajax-load-more-wrap.infinite.chasing-arrows .alm-load-more-btn{background-image:url(../../img/spinner-chasing-arrows.gif)}.alm-listing .alm-reveal{outline:0}.alm-listing .alm-reveal:after{display:table;clear:both;height:0;width:100%;content:''}.alm-listing{margin:0;padding:0}.alm-listing .alm-paging-content>li,.alm-listing .alm-reveal>li,.alm-listing>li{background:0 0;margin:0 0 30px;padding:0 0 0 170px;position:relative;list-style:none}.alm-listing .alm-paging-content>li.no-img,.alm-listing .alm-reveal>li.no-img,.alm-listing>li.no-img{padding:0}.alm-listing .alm-paging-content>li p,.alm-listing .alm-reveal>li p,.alm-listing>li p{margin:0}.alm-listing .alm-paging-content>li p.entry-meta,.alm-listing .alm-reveal>li p.entry-meta,.alm-listing>li p.entry-meta{margin:0 0 5px;opacity:.75}.alm-listing .alm-paging-content>li h3,.alm-listing .alm-reveal>li h3,.alm-listing>li h3{margin:0 0 10px}.alm-listing .alm-paging-content>li img,.alm-listing .alm-reveal>li img,.alm-listing>li img{position:absolute;left:0;top:0;border-radius:2px}.alm-listing.products li.product{padding-left:inherit}.alm-listing.products li.product img{position:static;border-radius:inherit}.alm-listing.stylefree .alm-paging-content>li,.alm-listing.stylefree .alm-reveal>li,.alm-listing.stylefree>li{padding:inherit;margin:inherit}.alm-listing.stylefree .alm-paging-content>li img,.alm-listing.stylefree .alm-reveal>li img,.alm-listing.stylefree>li img{padding:inherit;margin:inherit;position:static;border-radius:inherit}.alm-listing.rtl .alm-paging-content>li,.alm-listing.rtl .alm-reveal>li{padding:0 170px 0 0;text-align:right}.alm-listing.rtl .alm-paging-content>li img,.alm-listing.rtl .alm-reveal>li img{left:auto;right:0}.alm-listing.rtl.products li.product{padding-right:inherit}.alm-masonry{display:block;overflow:hidden;clear:both}.alm-placeholder{opacity:0;-webkit-transition:opacity .2s ease;transition:opacity .2s ease;display:none}.alm-toc{display:-webkit-box;display:-ms-flexbox;display:flex;width:auto;padding:10px 0}.alm-toc button{background:#f7f7f7;border-radius:4px;-webkit-transition:all .15s ease;transition:all .15s ease;outline:0;border:1px solid #efefef;-webkit-box-shadow:none;box-shadow:none;color:#454545;cursor:pointer;font-size:14px;font-weight:500;padding:7px 10px;line-height:1;margin:0 5px 0 0;height:auto}.alm-toc button:focus,.alm-toc button:hover{border-color:#ccc;color:#222}.alm-toc button:hover{text-decoration:underline}.alm-toc button:focus{-webkit-box-shadow:0 0 0 3px rgba(0,0,0,.05);box-shadow:0 0 0 3px rgba(0,0,0,.05)}
|
core/dist/js/ajax-load-more.js
CHANGED
@@ -124,13 +124,13 @@ var _almAppendChildren = __webpack_require__(/*! ./helpers/almAppendChildren */
|
|
124 |
|
125 |
var _almAppendChildren2 = _interopRequireDefault(_almAppendChildren);
|
126 |
|
127 |
-
var
|
128 |
|
129 |
-
var
|
130 |
|
131 |
-
var
|
132 |
|
133 |
-
var
|
134 |
|
135 |
var _almDomParser = __webpack_require__(/*! ./helpers/almDomParser */ "./core/src/js/helpers/almDomParser.js");
|
136 |
|
@@ -148,6 +148,8 @@ var _resultsText = __webpack_require__(/*! ./modules/resultsText */ "./core/src/
|
|
148 |
|
149 |
var resultsText = _interopRequireWildcard(_resultsText);
|
150 |
|
|
|
|
|
151 |
var _setLocalizedVars = __webpack_require__(/*! ./modules/setLocalizedVars */ "./core/src/js/modules/setLocalizedVars.js");
|
152 |
|
153 |
var _setLocalizedVars2 = _interopRequireDefault(_setLocalizedVars);
|
@@ -290,6 +292,7 @@ var alm_is_filtering = false;
|
|
290 |
alm.AjaxLoadMore = {};
|
291 |
alm.addons = {};
|
292 |
alm.extensions = {};
|
|
|
293 |
alm.window = window;
|
294 |
alm.page = 0;
|
295 |
alm.posts = 0;
|
@@ -357,7 +360,7 @@ var alm_is_filtering = false;
|
|
357 |
alm.scroll_container = alm.listing.dataset.scrollContainer;
|
358 |
alm.max_pages = alm.listing.dataset.maxPages ? parseInt(alm.listing.dataset.maxPages) : 0;
|
359 |
alm.pause_override = alm.listing.dataset.pauseOverride; // true | false
|
360 |
-
alm.pause = alm.listing.dataset.pause; // true | false
|
361 |
alm.transition = alm.listing.dataset.transition; // Transition
|
362 |
alm.transition_container = alm.listing.dataset.transitionContainer; // Transition Container
|
363 |
alm.tcc = alm.listing.dataset.transitionContainerClasses; // Transition Container Classes
|
@@ -367,6 +370,8 @@ var alm_is_filtering = false;
|
|
367 |
alm.orginal_posts_per_page = parseInt(alm.listing.dataset.postsPerPage); // Used for paging add-on
|
368 |
alm.posts_per_page = alm.listing.dataset.postsPerPage;
|
369 |
alm.offset = alm.listing.dataset.offset ? parseInt(alm.listing.dataset.offset) : 0;
|
|
|
|
|
370 |
|
371 |
// Addon Shortcode Params
|
372 |
alm.addons.cache = alm.listing.dataset.cache; // Cache add-on
|
@@ -395,6 +400,7 @@ var alm_is_filtering = false;
|
|
395 |
alm.addons.single_post_taxonomy = alm.listing.dataset.singlePostTaxonomy;
|
396 |
alm.addons.single_post_excluded_terms = alm.listing.dataset.singlePostExcludedTerms;
|
397 |
alm.addons.single_post_progress_bar = alm.listing.dataset.singlePostProgressBar;
|
|
|
398 |
|
399 |
alm.addons.comments = alm.listing.dataset.comments; // Comments add-on
|
400 |
alm.addons.comments_post_id = alm.listing.dataset.comments_post_id; // current post id
|
@@ -445,7 +451,7 @@ var alm_is_filtering = false;
|
|
445 |
|
446 |
alm.extensions.term_query = alm.listing.dataset.termQuery; // TERM QUERY
|
447 |
alm.extensions.term_query_taxonomy = alm.listing.dataset.termQueryTaxonomy;
|
448 |
-
alm.extensions.
|
449 |
alm.extensions.term_query_number = alm.listing.dataset.termQueryNumber;
|
450 |
alm.extensions.term_query = alm.extensions.term_query === 'true' ? true : false;
|
451 |
|
@@ -507,7 +513,7 @@ var alm_is_filtering = false;
|
|
507 |
if (alm.addons.tab_onload !== '') {
|
508 |
var tabNav = document.querySelector('.alm-tab-nav li [data-tab-url=' + alm.addons.tab_onload + ']');
|
509 |
alm.addons.tab_template = tabNav ? tabNav.dataset.tabTemplate : alm.addons.tab_template;
|
510 |
-
alm.listing.dataset.tabOnload = '';
|
511 |
// Set selected tab
|
512 |
if (tabNav) {
|
513 |
var activeTab = document.querySelector('.alm-tab-nav li .active');
|
@@ -622,6 +628,7 @@ var alm_is_filtering = false;
|
|
622 |
alm.addons.single_post_taxonomy = alm.addons.single_post_taxonomy === undefined ? '' : alm.addons.single_post_taxonomy;
|
623 |
alm.addons.single_post_excluded_terms = alm.addons.single_post_excluded_terms === undefined ? '' : alm.addons.single_post_excluded_terms;
|
624 |
alm.addons.single_post_progress_bar = alm.addons.single_post_progress_bar === undefined ? '' : alm.addons.single_post_progress_bar;
|
|
|
625 |
alm.addons.single_post_title_template = alm.listing.dataset.singlePostTitleTemplate;
|
626 |
alm.addons.single_post_siteTitle = alm.listing.dataset.singlePostSiteTitle;
|
627 |
alm.addons.single_post_siteTagline = alm.listing.dataset.singlePostSiteTagline;
|
@@ -741,14 +748,34 @@ var alm_is_filtering = false;
|
|
741 |
|
742 |
// Results Text
|
743 |
// Render "Showing x of y results" text.
|
744 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
745 |
if (alm.resultsText) {
|
746 |
-
alm.resultsText.
|
747 |
-
|
|
|
|
|
748 |
} else {
|
749 |
alm.resultsText = false;
|
750 |
}
|
751 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
752 |
/**
|
753 |
* LoadPosts()
|
754 |
* The function to get posts via Ajax
|
@@ -776,7 +803,7 @@ var alm_is_filtering = false;
|
|
776 |
|
777 |
if (alm.addons.cache === 'true' && !alm.addons.cache_logged_in) {
|
778 |
// Cache
|
779 |
-
var cache_page = (0,
|
780 |
if (cache_page) {
|
781 |
|
782 |
// Load `.html` page
|
@@ -786,7 +813,6 @@ var alm_is_filtering = false;
|
|
786 |
}).catch(function (error) {
|
787 |
// Error || Page does not yet exist
|
788 |
alm.AjaxLoadMore.ajax('standard');
|
789 |
-
//console.warn(error.message);
|
790 |
});
|
791 |
} else {
|
792 |
// Standard ALM query
|
@@ -834,7 +860,7 @@ var alm_is_filtering = false;
|
|
834 |
alm.term_query_array = {
|
835 |
'term_query': 'true',
|
836 |
'taxonomy': alm.extensions.term_query_taxonomy,
|
837 |
-
'
|
838 |
'number': alm.extensions.term_query_number
|
839 |
};
|
840 |
}
|
@@ -946,16 +972,30 @@ var alm_is_filtering = false;
|
|
946 |
return config;
|
947 |
});
|
948 |
|
949 |
-
// Get
|
950 |
var ajaxURL = alm_localize.ajaxurl;
|
951 |
|
952 |
// Get data params
|
953 |
-
var params = queryParams.almGetAjaxParams(alm, action, queryType); // [./helpers/queryParams.js
|
954 |
|
955 |
-
//
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
956 |
_axios2.default.get(ajaxURL, { params: params }).then(function (response) {
|
|
|
957 |
// Success
|
958 |
-
var data =
|
|
|
|
|
|
|
|
|
|
|
|
|
959 |
|
960 |
// Standard Query
|
961 |
if (queryType === 'standard') {
|
@@ -972,11 +1012,42 @@ var alm_is_filtering = false;
|
|
972 |
}
|
973 |
}
|
974 |
}).catch(function (error) {
|
|
|
975 |
// Error
|
976 |
alm.AjaxLoadMore.error(error, 'adminajax');
|
977 |
});
|
978 |
};
|
979 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
980 |
/**
|
981 |
* tabs
|
982 |
* Send request to the WP REST API
|
@@ -1112,6 +1183,7 @@ var alm_is_filtering = false;
|
|
1112 |
* @since 2.6.0
|
1113 |
*/
|
1114 |
alm.AjaxLoadMore.success = function (data, is_cache) {
|
|
|
1115 |
|
1116 |
if (alm.addons.single_post) {
|
1117 |
// Get previous page data
|
@@ -1203,9 +1275,23 @@ var alm_is_filtering = false;
|
|
1203 |
(0, _almDebug2.default)(alm);
|
1204 |
|
1205 |
/*
|
1206 |
-
* Set localized variables
|
1207 |
*/
|
1208 |
-
(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1209 |
|
1210 |
/*
|
1211 |
* Render results
|
@@ -1232,7 +1318,7 @@ var alm_is_filtering = false;
|
|
1232 |
// No transition container
|
1233 |
|
1234 |
alm.el = alm.html;
|
1235 |
-
reveal = alm.container_type === 'table' ? (0,
|
1236 |
} else {
|
1237 |
// Standard container
|
1238 |
|
@@ -1430,12 +1516,12 @@ var alm_is_filtering = false;
|
|
1430 |
alm.el = alm.listing;
|
1431 |
|
1432 |
// Wrap almMasonry in anonymous async/await function
|
1433 |
-
_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function
|
1434 |
-
return regeneratorRuntime.wrap(function
|
1435 |
while (1) {
|
1436 |
-
switch (
|
1437 |
case 0:
|
1438 |
-
|
1439 |
return (0, _masonry2.default)(alm, alm.init, alm_is_filtering);
|
1440 |
|
1441 |
case 2:
|
@@ -1447,10 +1533,10 @@ var alm_is_filtering = false;
|
|
1447 |
|
1448 |
case 5:
|
1449 |
case 'end':
|
1450 |
-
return
|
1451 |
}
|
1452 |
}
|
1453 |
-
},
|
1454 |
}))().catch(function (e) {
|
1455 |
console.log('There was an error with ALM Masonry');
|
1456 |
});
|
@@ -1516,7 +1602,10 @@ var alm_is_filtering = false;
|
|
1516 |
// Remove opacity on element to fix CSS transition
|
1517 |
setTimeout(function () {
|
1518 |
pagingContent.style.opacity = '';
|
1519 |
-
|
|
|
|
|
|
|
1520 |
|
1521 |
// Paging addon
|
1522 |
if (typeof almOnPagingComplete === 'function') {
|
@@ -1534,8 +1623,9 @@ var alm_is_filtering = false;
|
|
1534 |
// End Paging
|
1535 |
}
|
1536 |
|
1537 |
-
// ALM Loaded
|
1538 |
imagesLoaded(reveal, function () {
|
|
|
1539 |
// Nested
|
1540 |
alm.AjaxLoadMore.nested(reveal);
|
1541 |
|
@@ -1547,6 +1637,31 @@ var alm_is_filtering = false;
|
|
1547 |
window.almComplete(alm);
|
1548 |
}
|
1549 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1550 |
// Filters onLoad
|
1551 |
if (typeof almFiltersOnload === 'function' && alm.init) {
|
1552 |
window.almFiltersOnload(alm);
|
@@ -1564,7 +1679,7 @@ var alm_is_filtering = false;
|
|
1564 |
alm.AjaxLoadMore.triggerDone();
|
1565 |
}
|
1566 |
}
|
1567 |
-
// End ALM Done
|
1568 |
});
|
1569 |
// End ALM Loaded
|
1570 |
}
|
@@ -1583,6 +1698,36 @@ var alm_is_filtering = false;
|
|
1583 |
alm.AjaxLoadMore.resetBtnText();
|
1584 |
}
|
1585 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1586 |
alm.AjaxLoadMore.triggerDone(); // ALM Done
|
1587 |
}
|
1588 |
|
@@ -1596,6 +1741,11 @@ var alm_is_filtering = false;
|
|
1596 |
}
|
1597 |
}
|
1598 |
|
|
|
|
|
|
|
|
|
|
|
1599 |
// Set Focus for A11y
|
1600 |
(0, _setFocus2.default)(alm, reveal, total, alm_is_filtering);
|
1601 |
|
@@ -1607,8 +1757,8 @@ var alm_is_filtering = false;
|
|
1607 |
alm.main.classList.remove('alm-is-filtering');
|
1608 |
}
|
1609 |
|
1610 |
-
// Set
|
1611 |
-
|
1612 |
};
|
1613 |
|
1614 |
/**
|
@@ -2185,6 +2335,11 @@ var alm_is_filtering = false;
|
|
2185 |
if (alm.addons.single_post) {
|
2186 |
alm.AjaxLoadMore.getSinglePost(); // Set next post on load
|
2187 |
alm.loading = false;
|
|
|
|
|
|
|
|
|
|
|
2188 |
}
|
2189 |
|
2190 |
// Preloaded + SEO && !Paging
|
@@ -2222,6 +2377,11 @@ var alm_is_filtering = false;
|
|
2222 |
if (alm.resultsText) {
|
2223 |
resultsText.almInitResultsText(alm, 'preloaded');
|
2224 |
}
|
|
|
|
|
|
|
|
|
|
|
2225 |
}
|
2226 |
|
2227 |
// Next Page Add-on
|
@@ -2246,6 +2406,11 @@ var alm_is_filtering = false;
|
|
2246 |
if (alm.resultsText) {
|
2247 |
resultsText.almInitResultsText(alm, 'nextpage');
|
2248 |
}
|
|
|
|
|
|
|
|
|
|
|
2249 |
}
|
2250 |
|
2251 |
// Window Load (Masonry + Preloaded)
|
@@ -2253,12 +2418,12 @@ var alm_is_filtering = false;
|
|
2253 |
if (alm.is_masonry_preloaded) {
|
2254 |
|
2255 |
// Wrap almMasonry in anonymous async/await function
|
2256 |
-
_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function
|
2257 |
-
return regeneratorRuntime.wrap(function
|
2258 |
while (1) {
|
2259 |
-
switch (
|
2260 |
case 0:
|
2261 |
-
|
2262 |
return (0, _masonry2.default)(alm, true, false);
|
2263 |
|
2264 |
case 2:
|
@@ -2266,10 +2431,10 @@ var alm_is_filtering = false;
|
|
2266 |
|
2267 |
case 3:
|
2268 |
case 'end':
|
2269 |
-
return
|
2270 |
}
|
2271 |
}
|
2272 |
-
},
|
2273 |
}))().catch(function (e) {
|
2274 |
console.log('There was an error with ALM Masonry');
|
2275 |
});
|
@@ -2690,112 +2855,6 @@ exports.default = almDomParser;
|
|
2690 |
|
2691 |
/***/ }),
|
2692 |
|
2693 |
-
/***/ "./core/src/js/helpers/almGetCacheUrl.js":
|
2694 |
-
/*!***********************************************!*\
|
2695 |
-
!*** ./core/src/js/helpers/almGetCacheUrl.js ***!
|
2696 |
-
\***********************************************/
|
2697 |
-
/*! no static exports found */
|
2698 |
-
/***/ (function(module, exports, __webpack_require__) {
|
2699 |
-
|
2700 |
-
"use strict";
|
2701 |
-
|
2702 |
-
|
2703 |
-
Object.defineProperty(exports, "__esModule", {
|
2704 |
-
value: true
|
2705 |
-
});
|
2706 |
-
/**
|
2707 |
-
* Generate the cache page URL for GET request
|
2708 |
-
*
|
2709 |
-
* @param {*} el | Target element to append items
|
2710 |
-
* @param {*} array | An array of elements
|
2711 |
-
* @since 5.0
|
2712 |
-
*/
|
2713 |
-
var almGetCacheUrl = function almGetCacheUrl(alm) {
|
2714 |
-
|
2715 |
-
if (!alm) {
|
2716 |
-
return false;
|
2717 |
-
}
|
2718 |
-
|
2719 |
-
var cache_url = '';
|
2720 |
-
var ext = '.html';
|
2721 |
-
|
2722 |
-
// SEO Add-on
|
2723 |
-
if (alm.init && alm.addons.seo && alm.isPaged) {
|
2724 |
-
// If the request is a paged URL (/page/3/)
|
2725 |
-
var firstpage = '1';
|
2726 |
-
cache_url = alm.addons.cache_path + alm.addons.cache_id + '/page-' + firstpage + '-' + alm.start_page + ext;
|
2727 |
-
}
|
2728 |
-
|
2729 |
-
// Nextpage add-on
|
2730 |
-
else if (alm.addons.nextpage) {
|
2731 |
-
|
2732 |
-
var nextpage_cache_url = void 0;
|
2733 |
-
if (alm.addons.paging) {
|
2734 |
-
nextpage_cache_url = parseInt(alm.page) + 1;
|
2735 |
-
} else {
|
2736 |
-
nextpage_cache_url = parseInt(alm.page) + 2;
|
2737 |
-
if (alm.isPaged) {
|
2738 |
-
// If the request a paged URL (/page/3/)
|
2739 |
-
nextpage_cache_url = parseInt(alm.page) + parseInt(alm.addons.nextpage_startpage) + 1;
|
2740 |
-
}
|
2741 |
-
}
|
2742 |
-
cache_url = alm.addons.cache_path + alm.addons.cache_id + '/page-' + nextpage_cache_url + ext;
|
2743 |
-
}
|
2744 |
-
// Single Post
|
2745 |
-
else if (alm.addons.single_post) {
|
2746 |
-
cache_url = alm.addons.cache_path + alm.addons.cache_id + '/' + alm.addons.single_post_id + ext;
|
2747 |
-
}
|
2748 |
-
|
2749 |
-
// Filters
|
2750 |
-
else if (alm.addons.filters) {
|
2751 |
-
console.log(alm);
|
2752 |
-
} else {
|
2753 |
-
// Standard URL request
|
2754 |
-
cache_url = alm.addons.cache_path + alm.addons.cache_id + '/page-' + (alm.page + 1) + ext;
|
2755 |
-
}
|
2756 |
-
|
2757 |
-
return cache_url;
|
2758 |
-
};
|
2759 |
-
|
2760 |
-
exports.default = almGetCacheUrl;
|
2761 |
-
|
2762 |
-
/***/ }),
|
2763 |
-
|
2764 |
-
/***/ "./core/src/js/helpers/almTableWrap.js":
|
2765 |
-
/*!*********************************************!*\
|
2766 |
-
!*** ./core/src/js/helpers/almTableWrap.js ***!
|
2767 |
-
\*********************************************/
|
2768 |
-
/*! no static exports found */
|
2769 |
-
/***/ (function(module, exports, __webpack_require__) {
|
2770 |
-
|
2771 |
-
"use strict";
|
2772 |
-
|
2773 |
-
|
2774 |
-
Object.defineProperty(exports, "__esModule", {
|
2775 |
-
value: true
|
2776 |
-
});
|
2777 |
-
/**
|
2778 |
-
* Wrap `table` containers in tbody elements
|
2779 |
-
* innerHTML and DOMParser do not work with <tr/> <td/> elements etc.
|
2780 |
-
*
|
2781 |
-
* @param {*} html | Plain text
|
2782 |
-
* @since 5.0
|
2783 |
-
*/
|
2784 |
-
var almTableWrap = function almTableWrap() {
|
2785 |
-
var html = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
2786 |
-
|
2787 |
-
if (!html) {
|
2788 |
-
return false;
|
2789 |
-
}
|
2790 |
-
var table_reveal = document.createElement('tbody');
|
2791 |
-
table_reveal.innerHTML = html;
|
2792 |
-
var table_reveal_array = [table_reveal];
|
2793 |
-
return table_reveal_array; // Return new array
|
2794 |
-
};
|
2795 |
-
exports.default = almTableWrap;
|
2796 |
-
|
2797 |
-
/***/ }),
|
2798 |
-
|
2799 |
/***/ "./core/src/js/helpers/commentReplyFix.js":
|
2800 |
/*!************************************************!*\
|
2801 |
!*** ./core/src/js/helpers/commentReplyFix.js ***!
|
@@ -2861,6 +2920,77 @@ exports.default = commentReplyFix;
|
|
2861 |
|
2862 |
/***/ }),
|
2863 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2864 |
/***/ "./core/src/js/helpers/getParameterByName.js":
|
2865 |
/*!***************************************************!*\
|
2866 |
!*** ./core/src/js/helpers/getParameterByName.js ***!
|
@@ -3601,6 +3731,41 @@ exports.default = stripEmptyNodes;
|
|
3601 |
|
3602 |
/***/ }),
|
3603 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3604 |
/***/ "./core/src/js/modules/almDebug.js":
|
3605 |
/*!*****************************************!*\
|
3606 |
!*** ./core/src/js/modules/almDebug.js ***!
|
@@ -3624,7 +3789,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
3624 |
|
3625 |
var almDebug = function almDebug(alm) {
|
3626 |
if (alm && alm.debug) {
|
3627 |
-
|
|
|
|
|
|
|
|
|
3628 |
}
|
3629 |
};
|
3630 |
|
@@ -3753,6 +3922,8 @@ var _fadeOut = __webpack_require__(/*! ./fadeOut */ "./core/src/js/modules/fadeO
|
|
3753 |
|
3754 |
var _fadeOut2 = _interopRequireDefault(_fadeOut);
|
3755 |
|
|
|
|
|
3756 |
function _interopRequireDefault(obj) {
|
3757 |
return obj && obj.__esModule ? obj : { default: obj };
|
3758 |
}
|
@@ -3794,6 +3965,9 @@ var almFilter = function almFilter(transition, speed, data) {
|
|
3794 |
almFilterTransition(transition, speed, data, element, type);
|
3795 |
});
|
3796 |
}
|
|
|
|
|
|
|
3797 |
};
|
3798 |
exports.default = almFilter;
|
3799 |
|
@@ -3876,6 +4050,8 @@ var almCompleteFilterTransition = function almCompleteFilterTransition(speed, da
|
|
3876 |
paging.style.opacity = 0;
|
3877 |
}
|
3878 |
|
|
|
|
|
3879 |
// Dispatch Filters
|
3880 |
almSetFilters(speed, data, el, type);
|
3881 |
};
|
@@ -3969,18 +4145,18 @@ var almSetFilters = function almSetFilters() {
|
|
3969 |
|
3970 |
switch (type) {
|
3971 |
|
3972 |
-
|
3973 |
-
|
3974 |
-
|
3975 |
-
|
3976 |
-
|
3977 |
-
|
3978 |
-
|
3979 |
-
|
3980 |
-
|
3981 |
-
|
3982 |
-
|
3983 |
-
|
3984 |
|
3985 |
case 'tab':
|
3986 |
// Tabs Complete
|
@@ -4395,7 +4571,7 @@ function hidePlaceholder(alm) {
|
|
4395 |
|
4396 |
|
4397 |
Object.defineProperty(exports, "__esModule", {
|
4398 |
-
|
4399 |
});
|
4400 |
exports.almResultsText = almResultsText;
|
4401 |
exports.almGetResultsText = almGetResultsText;
|
@@ -4408,12 +4584,12 @@ exports.almInitResultsText = almInitResultsText;
|
|
4408 |
* @since 5.1
|
4409 |
*/
|
4410 |
function almResultsText(alm) {
|
4411 |
-
|
4412 |
|
4413 |
-
|
4414 |
-
|
4415 |
|
4416 |
-
|
4417 |
}
|
4418 |
|
4419 |
/**
|
@@ -4424,40 +4600,46 @@ function almResultsText(alm) {
|
|
4424 |
* @since 4.1
|
4425 |
*/
|
4426 |
function almGetResultsText(alm) {
|
4427 |
-
|
4428 |
|
4429 |
-
|
4430 |
|
4431 |
-
|
4432 |
-
|
4433 |
-
|
4434 |
-
|
4435 |
-
|
|
|
|
|
4436 |
|
4437 |
-
|
4438 |
|
4439 |
-
|
4440 |
-
|
4441 |
|
4442 |
-
|
4443 |
-
|
4444 |
-
|
|
|
|
|
4445 |
|
4446 |
-
|
4447 |
|
4448 |
-
|
4449 |
|
4450 |
-
|
4451 |
-
|
|
|
|
|
4452 |
|
4453 |
-
|
4454 |
-
|
4455 |
-
|
4456 |
-
|
4457 |
|
4458 |
-
|
4459 |
|
4460 |
-
|
4461 |
}
|
4462 |
|
4463 |
/**
|
@@ -4468,57 +4650,66 @@ function almGetResultsText(alm) {
|
|
4468 |
* @since 4.1
|
4469 |
*/
|
4470 |
function almInitResultsText(alm) {
|
4471 |
-
|
4472 |
-
|
4473 |
-
if (!alm.resultsText) return false;
|
4474 |
-
|
4475 |
-
var current = 0;
|
4476 |
-
var total = Math.ceil(alm.localize.total_posts / alm.orginal_posts_per_page);
|
4477 |
-
|
4478 |
-
switch (type) {
|
4479 |
-
|
4480 |
-
// Nextpage
|
4481 |
-
case 'nextpage':
|
4482 |
|
4483 |
-
|
4484 |
|
4485 |
-
|
|
|
|
|
|
|
4486 |
|
4487 |
-
|
4488 |
-
case 'preloaded':
|
4489 |
|
4490 |
-
|
4491 |
-
|
|
|
|
|
|
|
|
|
4492 |
|
4493 |
-
|
|
|
|
|
|
|
|
|
4494 |
|
4495 |
-
|
4496 |
|
4497 |
-
|
4498 |
|
4499 |
-
|
4500 |
}
|
4501 |
|
4502 |
/**
|
4503 |
* Render `Showing {x} of {y} results` text.
|
4504 |
*
|
4505 |
* @param {Element} el
|
4506 |
-
* @param {String}
|
4507 |
-
* @param {String}
|
|
|
|
|
4508 |
* @since 4.1
|
4509 |
*/
|
4510 |
-
var almRenderResultsText = function almRenderResultsText(el,
|
4511 |
|
4512 |
-
|
4513 |
-
var text = total > 0 ? alm_localize.results_text : alm_localize.no_results_text;
|
4514 |
|
4515 |
-
|
4516 |
-
|
4517 |
-
|
4518 |
-
|
4519 |
-
|
4520 |
-
|
4521 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4522 |
};
|
4523 |
|
4524 |
/***/ }),
|
@@ -4654,7 +4845,7 @@ var moveFocus = function moveFocus() {
|
|
4654 |
|
4655 |
|
4656 |
Object.defineProperty(exports, "__esModule", {
|
4657 |
-
|
4658 |
});
|
4659 |
|
4660 |
var _resultsText = __webpack_require__(/*! ./resultsText */ "./core/src/js/modules/resultsText.js");
|
@@ -4662,15 +4853,15 @@ var _resultsText = __webpack_require__(/*! ./resultsText */ "./core/src/js/modul
|
|
4662 |
var resultsText = _interopRequireWildcard(_resultsText);
|
4663 |
|
4664 |
function _interopRequireWildcard(obj) {
|
4665 |
-
|
4666 |
-
|
4667 |
-
|
4668 |
-
|
4669 |
-
|
4670 |
-
|
4671 |
-
|
4672 |
-
|
4673 |
-
|
4674 |
}
|
4675 |
|
4676 |
/**
|
@@ -4682,32 +4873,224 @@ function _interopRequireWildcard(obj) {
|
|
4682 |
|
4683 |
var setLocalizedVars = function setLocalizedVars(alm) {
|
4684 |
|
4685 |
-
|
4686 |
|
4687 |
-
|
4688 |
-
if (alm.addons.nextpage) {
|
4689 |
-
type = 'nextpage';
|
4690 |
-
if (alm.addons.paging) {
|
4691 |
-
alm.AjaxLoadMore.setLocalizedVar('page', parseInt(alm.page) + 1);
|
4692 |
-
} else {
|
4693 |
-
alm.AjaxLoadMore.setLocalizedVar('page', parseInt(alm.page) + parseInt(alm.addons.nextpage_startpage) + 1);
|
4694 |
-
}
|
4695 |
-
} else {
|
4696 |
-
alm.AjaxLoadMore.setLocalizedVar('page', parseInt(alm.page) + 1);
|
4697 |
-
}
|
4698 |
|
4699 |
-
|
4700 |
-
|
4701 |
-
|
4702 |
-
|
4703 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4704 |
|
4705 |
-
|
4706 |
-
|
|
|
|
|
|
|
4707 |
};
|
4708 |
|
4709 |
exports.default = setLocalizedVars;
|
4710 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4711 |
/***/ }),
|
4712 |
|
4713 |
/***/ "./node_modules/@babel/polyfill/lib/noConflict.js":
|
124 |
|
125 |
var _almAppendChildren2 = _interopRequireDefault(_almAppendChildren);
|
126 |
|
127 |
+
var _tableWrap = __webpack_require__(/*! ./helpers/tableWrap */ "./core/src/js/helpers/tableWrap.js");
|
128 |
|
129 |
+
var _tableWrap2 = _interopRequireDefault(_tableWrap);
|
130 |
|
131 |
+
var _getCacheUrl = __webpack_require__(/*! ./helpers/getCacheUrl */ "./core/src/js/helpers/getCacheUrl.js");
|
132 |
|
133 |
+
var _getCacheUrl2 = _interopRequireDefault(_getCacheUrl);
|
134 |
|
135 |
var _almDomParser = __webpack_require__(/*! ./helpers/almDomParser */ "./core/src/js/helpers/almDomParser.js");
|
136 |
|
148 |
|
149 |
var resultsText = _interopRequireWildcard(_resultsText);
|
150 |
|
151 |
+
var _tableofcontents = __webpack_require__(/*! ./modules/tableofcontents */ "./core/src/js/modules/tableofcontents.js");
|
152 |
+
|
153 |
var _setLocalizedVars = __webpack_require__(/*! ./modules/setLocalizedVars */ "./core/src/js/modules/setLocalizedVars.js");
|
154 |
|
155 |
var _setLocalizedVars2 = _interopRequireDefault(_setLocalizedVars);
|
292 |
alm.AjaxLoadMore = {};
|
293 |
alm.addons = {};
|
294 |
alm.extensions = {};
|
295 |
+
alm.integration = {};
|
296 |
alm.window = window;
|
297 |
alm.page = 0;
|
298 |
alm.posts = 0;
|
360 |
alm.scroll_container = alm.listing.dataset.scrollContainer;
|
361 |
alm.max_pages = alm.listing.dataset.maxPages ? parseInt(alm.listing.dataset.maxPages) : 0;
|
362 |
alm.pause_override = alm.listing.dataset.pauseOverride; // true | false
|
363 |
+
alm.pause = alm.listing.dataset.pause ? alm.listing.dataset.pause : false; // true | false
|
364 |
alm.transition = alm.listing.dataset.transition; // Transition
|
365 |
alm.transition_container = alm.listing.dataset.transitionContainer; // Transition Container
|
366 |
alm.tcc = alm.listing.dataset.transitionContainerClasses; // Transition Container Classes
|
370 |
alm.orginal_posts_per_page = parseInt(alm.listing.dataset.postsPerPage); // Used for paging add-on
|
371 |
alm.posts_per_page = alm.listing.dataset.postsPerPage;
|
372 |
alm.offset = alm.listing.dataset.offset ? parseInt(alm.listing.dataset.offset) : 0;
|
373 |
+
alm.integration.woocommerce = alm.listing.dataset.woocommerce ? alm.listing.dataset.woocommerce : false;
|
374 |
+
alm.integration.woocommerce = alm.integration.woocommerce === 'true' ? true : false;
|
375 |
|
376 |
// Addon Shortcode Params
|
377 |
alm.addons.cache = alm.listing.dataset.cache; // Cache add-on
|
400 |
alm.addons.single_post_taxonomy = alm.listing.dataset.singlePostTaxonomy;
|
401 |
alm.addons.single_post_excluded_terms = alm.listing.dataset.singlePostExcludedTerms;
|
402 |
alm.addons.single_post_progress_bar = alm.listing.dataset.singlePostProgressBar;
|
403 |
+
alm.addons.single_post_target = alm.listing.dataset.singlePostTarget;
|
404 |
|
405 |
alm.addons.comments = alm.listing.dataset.comments; // Comments add-on
|
406 |
alm.addons.comments_post_id = alm.listing.dataset.comments_post_id; // current post id
|
451 |
|
452 |
alm.extensions.term_query = alm.listing.dataset.termQuery; // TERM QUERY
|
453 |
alm.extensions.term_query_taxonomy = alm.listing.dataset.termQueryTaxonomy;
|
454 |
+
alm.extensions.term_query_hide_empty = alm.listing.dataset.termQueryHideEmpty;
|
455 |
alm.extensions.term_query_number = alm.listing.dataset.termQueryNumber;
|
456 |
alm.extensions.term_query = alm.extensions.term_query === 'true' ? true : false;
|
457 |
|
513 |
if (alm.addons.tab_onload !== '') {
|
514 |
var tabNav = document.querySelector('.alm-tab-nav li [data-tab-url=' + alm.addons.tab_onload + ']');
|
515 |
alm.addons.tab_template = tabNav ? tabNav.dataset.tabTemplate : alm.addons.tab_template;
|
516 |
+
alm.listing.dataset.tabOnload = ''; // Clear tabOnload param
|
517 |
// Set selected tab
|
518 |
if (tabNav) {
|
519 |
var activeTab = document.querySelector('.alm-tab-nav li .active');
|
628 |
alm.addons.single_post_taxonomy = alm.addons.single_post_taxonomy === undefined ? '' : alm.addons.single_post_taxonomy;
|
629 |
alm.addons.single_post_excluded_terms = alm.addons.single_post_excluded_terms === undefined ? '' : alm.addons.single_post_excluded_terms;
|
630 |
alm.addons.single_post_progress_bar = alm.addons.single_post_progress_bar === undefined ? '' : alm.addons.single_post_progress_bar;
|
631 |
+
alm.addons.single_post_target = alm.addons.single_post_target === undefined ? '' : alm.addons.single_post_target;
|
632 |
alm.addons.single_post_title_template = alm.listing.dataset.singlePostTitleTemplate;
|
633 |
alm.addons.single_post_siteTitle = alm.listing.dataset.singlePostSiteTitle;
|
634 |
alm.addons.single_post_siteTagline = alm.listing.dataset.singlePostSiteTagline;
|
748 |
|
749 |
// Results Text
|
750 |
// Render "Showing x of y results" text.
|
751 |
+
// If woocommerce, get the default woocommerce results block
|
752 |
+
if (alm.integration.woocommerce) {
|
753 |
+
alm.resultsText = document.querySelectorAll('.woocommerce-result-count');
|
754 |
+
if (alm.resultsText.length < 1) {
|
755 |
+
alm.resultsText = document.querySelectorAll('.alm-results-text');
|
756 |
+
}
|
757 |
+
} else {
|
758 |
+
alm.resultsText = document.querySelectorAll('.alm-results-text');
|
759 |
+
}
|
760 |
if (alm.resultsText) {
|
761 |
+
alm.resultsText.forEach(function (results) {
|
762 |
+
results.setAttribute('aria-live', 'polite');
|
763 |
+
results.setAttribute('aria-atomic', 'true');
|
764 |
+
});
|
765 |
} else {
|
766 |
alm.resultsText = false;
|
767 |
}
|
768 |
|
769 |
+
// Table of Contents
|
770 |
+
// Render 1, 2, 3 etc. when pages are loaded
|
771 |
+
alm.tableofcontents = document.querySelector('.alm-toc');
|
772 |
+
if (alm.tableofcontents) {
|
773 |
+
alm.tableofcontents.setAttribute('aria-live', 'polite');
|
774 |
+
alm.tableofcontents.setAttribute('aria-atomic', 'true');
|
775 |
+
} else {
|
776 |
+
alm.tableofcontents = false;
|
777 |
+
}
|
778 |
+
|
779 |
/**
|
780 |
* LoadPosts()
|
781 |
* The function to get posts via Ajax
|
803 |
|
804 |
if (alm.addons.cache === 'true' && !alm.addons.cache_logged_in) {
|
805 |
// Cache
|
806 |
+
var cache_page = (0, _getCacheUrl2.default)(alm);
|
807 |
if (cache_page) {
|
808 |
|
809 |
// Load `.html` page
|
813 |
}).catch(function (error) {
|
814 |
// Error || Page does not yet exist
|
815 |
alm.AjaxLoadMore.ajax('standard');
|
|
|
816 |
});
|
817 |
} else {
|
818 |
// Standard ALM query
|
860 |
alm.term_query_array = {
|
861 |
'term_query': 'true',
|
862 |
'taxonomy': alm.extensions.term_query_taxonomy,
|
863 |
+
'hide_empty': alm.extensions.term_query_hide_empty,
|
864 |
'number': alm.extensions.term_query_number
|
865 |
};
|
866 |
}
|
972 |
return config;
|
973 |
});
|
974 |
|
975 |
+
// Get Ajax URL
|
976 |
var ajaxURL = alm_localize.ajaxurl;
|
977 |
|
978 |
// Get data params
|
979 |
+
var params = queryParams.almGetAjaxParams(alm, action, queryType); // [./helpers/queryParams.js
|
980 |
|
981 |
+
// If Single Post Target
|
982 |
+
// If has `single_post_target`, adjust the Ajax URL to the post URL.
|
983 |
+
if (alm.addons.single_post && alm.addons.single_post_target) {
|
984 |
+
ajaxURL = alm.addons.single_post_permalink;
|
985 |
+
params = '';
|
986 |
+
}
|
987 |
+
|
988 |
+
// Send HTTP request via axios
|
989 |
_axios2.default.get(ajaxURL, { params: params }).then(function (response) {
|
990 |
+
|
991 |
// Success
|
992 |
+
var data = '';
|
993 |
+
if (alm.addons.single_post && alm.addons.single_post_target) {
|
994 |
+
data = alm.AjaxLoadMore.createSinglePostHTML(response, alm.addons.single_post_target);
|
995 |
+
} else {
|
996 |
+
// Get data from response
|
997 |
+
data = response.data;
|
998 |
+
}
|
999 |
|
1000 |
// Standard Query
|
1001 |
if (queryType === 'standard') {
|
1012 |
}
|
1013 |
}
|
1014 |
}).catch(function (error) {
|
1015 |
+
|
1016 |
// Error
|
1017 |
alm.AjaxLoadMore.error(error, 'adminajax');
|
1018 |
});
|
1019 |
};
|
1020 |
|
1021 |
+
/**
|
1022 |
+
* createSinglePostHTML
|
1023 |
+
* Create the HTML for loading Single Posts
|
1024 |
+
*
|
1025 |
+
* @param {Object} response Query response
|
1026 |
+
* @param {HTMLElement} target The target div
|
1027 |
+
* @since 5.1.8.1
|
1028 |
+
*/
|
1029 |
+
alm.AjaxLoadMore.createSinglePostHTML = function (response) {
|
1030 |
+
var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
1031 |
+
|
1032 |
+
var data = {
|
1033 |
+
html: '',
|
1034 |
+
meta: {
|
1035 |
+
postcount: 1,
|
1036 |
+
totalposts: 1,
|
1037 |
+
debug: 'Single Posts Query'
|
1038 |
+
}
|
1039 |
+
};
|
1040 |
+
if (response.status === 200 && response.data && target) {
|
1041 |
+
var div = document.createElement("div");
|
1042 |
+
div.innerHTML = response.data;
|
1043 |
+
var htmlTarget = div.querySelector(target);
|
1044 |
+
if (htmlTarget) {
|
1045 |
+
data.html = htmlTarget.innerHTML;
|
1046 |
+
}
|
1047 |
+
}
|
1048 |
+
return data;
|
1049 |
+
};
|
1050 |
+
|
1051 |
/**
|
1052 |
* tabs
|
1053 |
* Send request to the WP REST API
|
1183 |
* @since 2.6.0
|
1184 |
*/
|
1185 |
alm.AjaxLoadMore.success = function (data, is_cache) {
|
1186 |
+
var _this = this;
|
1187 |
|
1188 |
if (alm.addons.single_post) {
|
1189 |
// Get previous page data
|
1275 |
(0, _almDebug2.default)(alm);
|
1276 |
|
1277 |
/*
|
1278 |
+
* Set localized variables and Results Text
|
1279 |
*/
|
1280 |
+
_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
1281 |
+
return regeneratorRuntime.wrap(function _callee$(_context) {
|
1282 |
+
while (1) {
|
1283 |
+
switch (_context.prev = _context.next) {
|
1284 |
+
case 0:
|
1285 |
+
_context.next = 2;
|
1286 |
+
return (0, _setLocalizedVars2.default)(alm);
|
1287 |
+
|
1288 |
+
case 2:
|
1289 |
+
case 'end':
|
1290 |
+
return _context.stop();
|
1291 |
+
}
|
1292 |
+
}
|
1293 |
+
}, _callee, _this);
|
1294 |
+
}))();
|
1295 |
|
1296 |
/*
|
1297 |
* Render results
|
1318 |
// No transition container
|
1319 |
|
1320 |
alm.el = alm.html;
|
1321 |
+
reveal = alm.container_type === 'table' ? (0, _tableWrap2.default)(alm.html) : (0, _almDomParser2.default)(alm.html, 'text/html');
|
1322 |
} else {
|
1323 |
// Standard container
|
1324 |
|
1516 |
alm.el = alm.listing;
|
1517 |
|
1518 |
// Wrap almMasonry in anonymous async/await function
|
1519 |
+
_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
1520 |
+
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
1521 |
while (1) {
|
1522 |
+
switch (_context2.prev = _context2.next) {
|
1523 |
case 0:
|
1524 |
+
_context2.next = 2;
|
1525 |
return (0, _masonry2.default)(alm, alm.init, alm_is_filtering);
|
1526 |
|
1527 |
case 2:
|
1533 |
|
1534 |
case 5:
|
1535 |
case 'end':
|
1536 |
+
return _context2.stop();
|
1537 |
}
|
1538 |
}
|
1539 |
+
}, _callee2, this);
|
1540 |
}))().catch(function (e) {
|
1541 |
console.log('There was an error with ALM Masonry');
|
1542 |
});
|
1602 |
// Remove opacity on element to fix CSS transition
|
1603 |
setTimeout(function () {
|
1604 |
pagingContent.style.opacity = '';
|
1605 |
+
|
1606 |
+
// Insert Script
|
1607 |
+
_insertScript2.default.init(pagingContent);
|
1608 |
+
}, parseInt(alm.speed) + 10);
|
1609 |
|
1610 |
// Paging addon
|
1611 |
if (typeof almOnPagingComplete === 'function') {
|
1623 |
// End Paging
|
1624 |
}
|
1625 |
|
1626 |
+
// ALM Loaded, run complete callbacks
|
1627 |
imagesLoaded(reveal, function () {
|
1628 |
+
|
1629 |
// Nested
|
1630 |
alm.AjaxLoadMore.nested(reveal);
|
1631 |
|
1637 |
window.almComplete(alm);
|
1638 |
}
|
1639 |
|
1640 |
+
// Filters Complete
|
1641 |
+
if (alm_is_filtering && alm.addons.filters) {
|
1642 |
+
// Filters Complete
|
1643 |
+
if (typeof almFilterComplete === 'function') {
|
1644 |
+
// Standard Filtering
|
1645 |
+
window.almFilterComplete();
|
1646 |
+
}
|
1647 |
+
|
1648 |
+
// Filter Add-on Complete
|
1649 |
+
if (typeof almFiltersAddonComplete === "function") {
|
1650 |
+
// Filters Add-on
|
1651 |
+
window.almFiltersAddonComplete(el);
|
1652 |
+
}
|
1653 |
+
alm_is_filtering = false;
|
1654 |
+
}
|
1655 |
+
|
1656 |
+
// Tabs Complete
|
1657 |
+
if (alm.addons.tabs) {
|
1658 |
+
// Tabs Complete
|
1659 |
+
if (typeof almTabsComplete === 'function') {
|
1660 |
+
// Standard Filtering
|
1661 |
+
window.almTabsComplete();
|
1662 |
+
}
|
1663 |
+
}
|
1664 |
+
|
1665 |
// Filters onLoad
|
1666 |
if (typeof almFiltersOnload === 'function' && alm.init) {
|
1667 |
window.almFiltersOnload(alm);
|
1679 |
alm.AjaxLoadMore.triggerDone();
|
1680 |
}
|
1681 |
}
|
1682 |
+
// End ALM Done
|
1683 |
});
|
1684 |
// End ALM Loaded
|
1685 |
}
|
1698 |
alm.AjaxLoadMore.resetBtnText();
|
1699 |
}
|
1700 |
|
1701 |
+
// almComplete
|
1702 |
+
if (typeof almComplete === 'function' && alm.transition !== 'masonry') {
|
1703 |
+
window.almComplete(alm);
|
1704 |
+
}
|
1705 |
+
|
1706 |
+
// Filters Complete
|
1707 |
+
if (alm_is_filtering && alm.addons.filters) {
|
1708 |
+
// Filters Complete
|
1709 |
+
if (typeof almFilterComplete === 'function') {
|
1710 |
+
// Standard Filtering
|
1711 |
+
almFilterComplete();
|
1712 |
+
}
|
1713 |
+
|
1714 |
+
// Filter Add-on Complete
|
1715 |
+
if (typeof almFiltersAddonComplete === "function") {
|
1716 |
+
// Filters Add-on
|
1717 |
+
almFiltersAddonComplete(el);
|
1718 |
+
}
|
1719 |
+
alm_is_filtering = false;
|
1720 |
+
}
|
1721 |
+
|
1722 |
+
// Tabs Complete
|
1723 |
+
if (alm.addons.tabs) {
|
1724 |
+
// Tabs Complete
|
1725 |
+
if (typeof almTabsComplete === 'function') {
|
1726 |
+
// Standard Filtering
|
1727 |
+
almTabsComplete();
|
1728 |
+
}
|
1729 |
+
}
|
1730 |
+
|
1731 |
alm.AjaxLoadMore.triggerDone(); // ALM Done
|
1732 |
}
|
1733 |
|
1741 |
}
|
1742 |
}
|
1743 |
|
1744 |
+
/*
|
1745 |
+
* Display tableOfContents
|
1746 |
+
*/
|
1747 |
+
(0, _tableofcontents.tableOfContents)(alm, alm.init);
|
1748 |
+
|
1749 |
// Set Focus for A11y
|
1750 |
(0, _setFocus2.default)(alm, reveal, total, alm_is_filtering);
|
1751 |
|
1757 |
alm.main.classList.remove('alm-is-filtering');
|
1758 |
}
|
1759 |
|
1760 |
+
// Set init flag
|
1761 |
+
alm.init = false;
|
1762 |
};
|
1763 |
|
1764 |
/**
|
2335 |
if (alm.addons.single_post) {
|
2336 |
alm.AjaxLoadMore.getSinglePost(); // Set next post on load
|
2337 |
alm.loading = false;
|
2338 |
+
|
2339 |
+
/*
|
2340 |
+
* Display tableOfContents
|
2341 |
+
*/
|
2342 |
+
(0, _tableofcontents.tableOfContents)(alm, true, true);
|
2343 |
}
|
2344 |
|
2345 |
// Preloaded + SEO && !Paging
|
2377 |
if (alm.resultsText) {
|
2378 |
resultsText.almInitResultsText(alm, 'preloaded');
|
2379 |
}
|
2380 |
+
|
2381 |
+
/*
|
2382 |
+
* Display tableOfContents
|
2383 |
+
*/
|
2384 |
+
(0, _tableofcontents.tableOfContents)(alm, alm.init, true);
|
2385 |
}
|
2386 |
|
2387 |
// Next Page Add-on
|
2406 |
if (alm.resultsText) {
|
2407 |
resultsText.almInitResultsText(alm, 'nextpage');
|
2408 |
}
|
2409 |
+
|
2410 |
+
/*
|
2411 |
+
* Display tableOfContents
|
2412 |
+
*/
|
2413 |
+
(0, _tableofcontents.tableOfContents)(alm, alm.init, true);
|
2414 |
}
|
2415 |
|
2416 |
// Window Load (Masonry + Preloaded)
|
2418 |
if (alm.is_masonry_preloaded) {
|
2419 |
|
2420 |
// Wrap almMasonry in anonymous async/await function
|
2421 |
+
_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|
2422 |
+
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
2423 |
while (1) {
|
2424 |
+
switch (_context3.prev = _context3.next) {
|
2425 |
case 0:
|
2426 |
+
_context3.next = 2;
|
2427 |
return (0, _masonry2.default)(alm, true, false);
|
2428 |
|
2429 |
case 2:
|
2431 |
|
2432 |
case 3:
|
2433 |
case 'end':
|
2434 |
+
return _context3.stop();
|
2435 |
}
|
2436 |
}
|
2437 |
+
}, _callee3, this);
|
2438 |
}))().catch(function (e) {
|
2439 |
console.log('There was an error with ALM Masonry');
|
2440 |
});
|
2855 |
|
2856 |
/***/ }),
|
2857 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2858 |
/***/ "./core/src/js/helpers/commentReplyFix.js":
|
2859 |
/*!************************************************!*\
|
2860 |
!*** ./core/src/js/helpers/commentReplyFix.js ***!
|
2920 |
|
2921 |
/***/ }),
|
2922 |
|
2923 |
+
/***/ "./core/src/js/helpers/getCacheUrl.js":
|
2924 |
+
/*!********************************************!*\
|
2925 |
+
!*** ./core/src/js/helpers/getCacheUrl.js ***!
|
2926 |
+
\********************************************/
|
2927 |
+
/*! no static exports found */
|
2928 |
+
/***/ (function(module, exports, __webpack_require__) {
|
2929 |
+
|
2930 |
+
"use strict";
|
2931 |
+
|
2932 |
+
|
2933 |
+
Object.defineProperty(exports, "__esModule", {
|
2934 |
+
value: true
|
2935 |
+
});
|
2936 |
+
/**
|
2937 |
+
* Generate the cache page URL for GET request
|
2938 |
+
*
|
2939 |
+
* @param {*} el | Target element to append items
|
2940 |
+
* @param {*} array | An array of elements
|
2941 |
+
* @since 5.0
|
2942 |
+
*/
|
2943 |
+
var getCacheUrl = function getCacheUrl(alm) {
|
2944 |
+
|
2945 |
+
if (!alm) {
|
2946 |
+
return false;
|
2947 |
+
}
|
2948 |
+
|
2949 |
+
var cache_url = '';
|
2950 |
+
var ext = '.html';
|
2951 |
+
|
2952 |
+
// SEO Add-on
|
2953 |
+
if (alm.init && alm.addons.seo && alm.isPaged) {
|
2954 |
+
// If the request is a paged URL (/page/3/)
|
2955 |
+
var firstpage = '1';
|
2956 |
+
cache_url = alm.addons.cache_path + alm.addons.cache_id + '/page-' + firstpage + '-' + alm.start_page + ext;
|
2957 |
+
}
|
2958 |
+
|
2959 |
+
// Nextpage add-on
|
2960 |
+
else if (alm.addons.nextpage) {
|
2961 |
+
|
2962 |
+
var nextpage_cache_url = void 0;
|
2963 |
+
if (alm.addons.paging) {
|
2964 |
+
nextpage_cache_url = parseInt(alm.page) + 1;
|
2965 |
+
} else {
|
2966 |
+
nextpage_cache_url = parseInt(alm.page) + 2;
|
2967 |
+
if (alm.isPaged) {
|
2968 |
+
// If the request a paged URL (/page/3/)
|
2969 |
+
nextpage_cache_url = parseInt(alm.page) + parseInt(alm.addons.nextpage_startpage) + 1;
|
2970 |
+
}
|
2971 |
+
}
|
2972 |
+
cache_url = alm.addons.cache_path + alm.addons.cache_id + '/page-' + nextpage_cache_url + ext;
|
2973 |
+
}
|
2974 |
+
// Single Post
|
2975 |
+
else if (alm.addons.single_post) {
|
2976 |
+
cache_url = alm.addons.cache_path + alm.addons.cache_id + '/' + alm.addons.single_post_id + ext;
|
2977 |
+
}
|
2978 |
+
|
2979 |
+
// Filters
|
2980 |
+
else if (alm.addons.filters) {
|
2981 |
+
console.log(alm);
|
2982 |
+
} else {
|
2983 |
+
// Standard URL request
|
2984 |
+
cache_url = alm.addons.cache_path + alm.addons.cache_id + '/page-' + (alm.page + 1) + ext;
|
2985 |
+
}
|
2986 |
+
|
2987 |
+
return cache_url;
|
2988 |
+
};
|
2989 |
+
|
2990 |
+
exports.default = getCacheUrl;
|
2991 |
+
|
2992 |
+
/***/ }),
|
2993 |
+
|
2994 |
/***/ "./core/src/js/helpers/getParameterByName.js":
|
2995 |
/*!***************************************************!*\
|
2996 |
!*** ./core/src/js/helpers/getParameterByName.js ***!
|
3731 |
|
3732 |
/***/ }),
|
3733 |
|
3734 |
+
/***/ "./core/src/js/helpers/tableWrap.js":
|
3735 |
+
/*!******************************************!*\
|
3736 |
+
!*** ./core/src/js/helpers/tableWrap.js ***!
|
3737 |
+
\******************************************/
|
3738 |
+
/*! no static exports found */
|
3739 |
+
/***/ (function(module, exports, __webpack_require__) {
|
3740 |
+
|
3741 |
+
"use strict";
|
3742 |
+
|
3743 |
+
|
3744 |
+
Object.defineProperty(exports, "__esModule", {
|
3745 |
+
value: true
|
3746 |
+
});
|
3747 |
+
/**
|
3748 |
+
* Wrap `table` containers in tbody elements
|
3749 |
+
* innerHTML and DOMParser do not work with <tr/> <td/> elements etc.
|
3750 |
+
*
|
3751 |
+
* @param {*} html | Plain text
|
3752 |
+
* @since 5.0
|
3753 |
+
*/
|
3754 |
+
var tableWrap = function tableWrap() {
|
3755 |
+
var html = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
3756 |
+
|
3757 |
+
if (!html) {
|
3758 |
+
return false;
|
3759 |
+
}
|
3760 |
+
var table_reveal = document.createElement('tbody');
|
3761 |
+
table_reveal.innerHTML = html;
|
3762 |
+
var table_reveal_array = [table_reveal];
|
3763 |
+
return table_reveal_array; // Return new array
|
3764 |
+
};
|
3765 |
+
exports.default = tableWrap;
|
3766 |
+
|
3767 |
+
/***/ }),
|
3768 |
+
|
3769 |
/***/ "./core/src/js/modules/almDebug.js":
|
3770 |
/*!*****************************************!*\
|
3771 |
!*** ./core/src/js/modules/almDebug.js ***!
|
3789 |
|
3790 |
var almDebug = function almDebug(alm) {
|
3791 |
if (alm && alm.debug) {
|
3792 |
+
var obj = {
|
3793 |
+
'query': alm.debug,
|
3794 |
+
'localize': alm.localize
|
3795 |
+
};
|
3796 |
+
console.log('ALM Debug:', obj);
|
3797 |
}
|
3798 |
};
|
3799 |
|
3922 |
|
3923 |
var _fadeOut2 = _interopRequireDefault(_fadeOut);
|
3924 |
|
3925 |
+
var _tableofcontents = __webpack_require__(/*! ./tableofcontents */ "./core/src/js/modules/tableofcontents.js");
|
3926 |
+
|
3927 |
function _interopRequireDefault(obj) {
|
3928 |
return obj && obj.__esModule ? obj : { default: obj };
|
3929 |
}
|
3965 |
almFilterTransition(transition, speed, data, element, type);
|
3966 |
});
|
3967 |
}
|
3968 |
+
|
3969 |
+
// Clear table of contents if required
|
3970 |
+
(0, _tableofcontents.clearTOC)();
|
3971 |
};
|
3972 |
exports.default = almFilter;
|
3973 |
|
4050 |
paging.style.opacity = 0;
|
4051 |
}
|
4052 |
|
4053 |
+
// Reset Preloaded Amount
|
4054 |
+
data.preloadedAmount = 0;
|
4055 |
// Dispatch Filters
|
4056 |
almSetFilters(speed, data, el, type);
|
4057 |
};
|
4145 |
|
4146 |
switch (type) {
|
4147 |
|
4148 |
+
/*
|
4149 |
+
case 'filter' :
|
4150 |
+
// Filters Complete
|
4151 |
+
if (typeof almFilterComplete === 'function') { // Standard Filtering
|
4152 |
+
almFilterComplete();
|
4153 |
+
}
|
4154 |
+
// Filter Add-on Complete
|
4155 |
+
if (typeof almFiltersAddonComplete === "function") { // Filters Add-on
|
4156 |
+
almFiltersAddonComplete(el);
|
4157 |
+
}
|
4158 |
+
break;
|
4159 |
+
*/
|
4160 |
|
4161 |
case 'tab':
|
4162 |
// Tabs Complete
|
4571 |
|
4572 |
|
4573 |
Object.defineProperty(exports, "__esModule", {
|
4574 |
+
value: true
|
4575 |
});
|
4576 |
exports.almResultsText = almResultsText;
|
4577 |
exports.almGetResultsText = almGetResultsText;
|
4584 |
* @since 5.1
|
4585 |
*/
|
4586 |
function almResultsText(alm) {
|
4587 |
+
var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'standard';
|
4588 |
|
4589 |
+
if (!alm.resultsText || alm.nested === 'true') return false;
|
4590 |
+
var resultsType = type === 'nextpage' ? 'nextpage' : 'standard';
|
4591 |
|
4592 |
+
almGetResultsText(alm, resultsType);
|
4593 |
}
|
4594 |
|
4595 |
/**
|
4600 |
* @since 4.1
|
4601 |
*/
|
4602 |
function almGetResultsText(alm) {
|
4603 |
+
var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'standard';
|
4604 |
|
4605 |
+
if (!alm.resultsText || alm.nested === 'true') return false;
|
4606 |
|
4607 |
+
var page = 0;
|
4608 |
+
var pages = 0;
|
4609 |
+
var post_count = 0;
|
4610 |
+
var total_posts = 0;
|
4611 |
+
var preloaded = alm.addons.preloaded === 'true' ? true : false;
|
4612 |
+
var paging = alm.addons.paging ? true : false;
|
4613 |
+
var posts_per_page = alm.orginal_posts_per_page;
|
4614 |
|
4615 |
+
switch (type) {
|
4616 |
|
4617 |
+
// Nextpage
|
4618 |
+
case 'nextpage':
|
4619 |
|
4620 |
+
page = parseInt(alm.localize.page);
|
4621 |
+
post_count = page;
|
4622 |
+
pages = parseInt(alm.localize.total_posts);
|
4623 |
+
total_posts = pages;
|
4624 |
+
almRenderResultsText(alm.resultsText, page, pages, post_count, total_posts);
|
4625 |
|
4626 |
+
break;
|
4627 |
|
4628 |
+
default:
|
4629 |
|
4630 |
+
page = parseInt(alm.page) + 1;
|
4631 |
+
pages = Math.ceil(alm.localize.total_posts / posts_per_page);
|
4632 |
+
post_count = alm.localize.post_count;
|
4633 |
+
total_posts = alm.localize.total_posts;
|
4634 |
|
4635 |
+
// Add 1 page if Preloaded
|
4636 |
+
if (preloaded) {
|
4637 |
+
page = paging ? alm.page + 1 : page + 1;
|
4638 |
+
}
|
4639 |
|
4640 |
+
almRenderResultsText(alm.resultsText, page, pages, post_count, total_posts);
|
4641 |
|
4642 |
+
}
|
4643 |
}
|
4644 |
|
4645 |
/**
|
4650 |
* @since 4.1
|
4651 |
*/
|
4652 |
function almInitResultsText(alm) {
|
4653 |
+
var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'standard';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4654 |
|
4655 |
+
if (!alm.resultsText || !alm.localize || alm.nested === 'true') return false;
|
4656 |
|
4657 |
+
var page = 0;
|
4658 |
+
var pages = Math.ceil(alm.localize.total_posts / alm.orginal_posts_per_page);
|
4659 |
+
var post_count = alm.localize.post_count;
|
4660 |
+
var total_posts = alm.localize.total_posts;
|
4661 |
|
4662 |
+
switch (type) {
|
|
|
4663 |
|
4664 |
+
// Nextpage
|
4665 |
+
case 'nextpage':
|
4666 |
+
page = alm.addons.nextpage_startpage;
|
4667 |
+
post_count = page;
|
4668 |
+
almRenderResultsText(alm.resultsText, page, total_posts, post_count, total_posts);
|
4669 |
+
break;
|
4670 |
|
4671 |
+
// Preloaded
|
4672 |
+
case 'preloaded':
|
4673 |
+
page = alm.addons.paging && alm.addons.seo ? parseInt(alm.start_page) + 1 : parseInt(alm.page) + 1;
|
4674 |
+
almRenderResultsText(alm.resultsText, page, pages, post_count, total_posts);
|
4675 |
+
break;
|
4676 |
|
4677 |
+
default:
|
4678 |
|
4679 |
+
console.log('No results to set.');
|
4680 |
|
4681 |
+
}
|
4682 |
}
|
4683 |
|
4684 |
/**
|
4685 |
* Render `Showing {x} of {y} results` text.
|
4686 |
*
|
4687 |
* @param {Element} el
|
4688 |
+
* @param {String} page
|
4689 |
+
* @param {String} pages
|
4690 |
+
* @param {String} post_count
|
4691 |
+
* @param {String} total_posts
|
4692 |
* @since 4.1
|
4693 |
*/
|
4694 |
+
var almRenderResultsText = function almRenderResultsText(el, page, pages, post_count, total_posts) {
|
4695 |
|
4696 |
+
el.forEach(function (result) {
|
|
|
4697 |
|
4698 |
+
pages = parseInt(pages);
|
4699 |
+
var text = pages > 0 ? alm_localize.results_text : alm_localize.no_results_text;
|
4700 |
+
|
4701 |
+
if (pages > 0) {
|
4702 |
+
text = text.replace('{num}', '<span class="alm-results-num">' + page + '</span>'); // Deprecated
|
4703 |
+
text = text.replace('{page}', '<span class="alm-results-page">' + page + '</span>');
|
4704 |
+
text = text.replace('{total}', '<span class="alm-results-total">' + pages + '</span>'); // Deprecated
|
4705 |
+
text = text.replace('{pages}', '<span class="alm-results-pages">' + pages + '</span>');
|
4706 |
+
text = text.replace('{post_count}', '<span class="alm-results-post_count">' + post_count + '</span>');
|
4707 |
+
text = text.replace('{total_posts}', '<span class="alm-results-total_posts">' + total_posts + '</span>');
|
4708 |
+
result.innerHTML = text;
|
4709 |
+
} else {
|
4710 |
+
result.innerHTML = text;
|
4711 |
+
}
|
4712 |
+
});
|
4713 |
};
|
4714 |
|
4715 |
/***/ }),
|
4845 |
|
4846 |
|
4847 |
Object.defineProperty(exports, "__esModule", {
|
4848 |
+
value: true
|
4849 |
});
|
4850 |
|
4851 |
var _resultsText = __webpack_require__(/*! ./resultsText */ "./core/src/js/modules/resultsText.js");
|
4853 |
var resultsText = _interopRequireWildcard(_resultsText);
|
4854 |
|
4855 |
function _interopRequireWildcard(obj) {
|
4856 |
+
if (obj && obj.__esModule) {
|
4857 |
+
return obj;
|
4858 |
+
} else {
|
4859 |
+
var newObj = {};if (obj != null) {
|
4860 |
+
for (var key in obj) {
|
4861 |
+
if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];
|
4862 |
+
}
|
4863 |
+
}newObj.default = obj;return newObj;
|
4864 |
+
}
|
4865 |
}
|
4866 |
|
4867 |
/**
|
4873 |
|
4874 |
var setLocalizedVars = function setLocalizedVars(alm) {
|
4875 |
|
4876 |
+
return new Promise(function (resolve) {
|
4877 |
|
4878 |
+
var type = 'standard';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4879 |
|
4880 |
+
// Current Page `page`
|
4881 |
+
if (alm.addons.nextpage) {
|
4882 |
+
type = 'nextpage';
|
4883 |
+
if (alm.addons.paging) {
|
4884 |
+
alm.AjaxLoadMore.setLocalizedVar('page', parseInt(alm.page) + 1);
|
4885 |
+
} else {
|
4886 |
+
alm.AjaxLoadMore.setLocalizedVar('page', parseInt(alm.page) + parseInt(alm.addons.nextpage_startpage) + 1);
|
4887 |
+
}
|
4888 |
+
} else {
|
4889 |
+
alm.AjaxLoadMore.setLocalizedVar('page', parseInt(alm.page) + 1);
|
4890 |
+
}
|
4891 |
+
|
4892 |
+
// Total Posts `total_posts`.
|
4893 |
+
// Only update if !Preloaded && !Nextpage
|
4894 |
+
if (alm.addons.preloaded !== 'true' && !alm.addons.nextpage) {
|
4895 |
+
alm.AjaxLoadMore.setLocalizedVar('total_posts', alm.totalposts);
|
4896 |
+
}
|
4897 |
+
|
4898 |
+
// Viewing
|
4899 |
+
alm.AjaxLoadMore.setLocalizedVar('post_count', almSetPostCount(alm));
|
4900 |
|
4901 |
+
// Set Results Text (if required)
|
4902 |
+
resultsText.almResultsText(alm, type);
|
4903 |
+
|
4904 |
+
resolve(true);
|
4905 |
+
});
|
4906 |
};
|
4907 |
|
4908 |
exports.default = setLocalizedVars;
|
4909 |
|
4910 |
+
/**
|
4911 |
+
* almSetViewing
|
4912 |
+
* Get total post_count
|
4913 |
+
*/
|
4914 |
+
|
4915 |
+
function almSetPostCount(alm) {
|
4916 |
+
var pc = parseInt(alm.posts);
|
4917 |
+
var pa = parseInt(alm.addons.preloaded_amount);
|
4918 |
+
var count = pc + pa;
|
4919 |
+
count = alm.start_page > 1 ? count - pa : count; // SEO
|
4920 |
+
count = alm.addons.filters_startpage > 1 ? count - pa : count; // Filters
|
4921 |
+
count = alm.addons.single_post ? count + 1 : count; // Single Posts
|
4922 |
+
count = alm.addons.nextpage ? count + 1 : count; // Next Page
|
4923 |
+
|
4924 |
+
return count;
|
4925 |
+
}
|
4926 |
+
|
4927 |
+
/***/ }),
|
4928 |
+
|
4929 |
+
/***/ "./core/src/js/modules/tableofcontents.js":
|
4930 |
+
/*!************************************************!*\
|
4931 |
+
!*** ./core/src/js/modules/tableofcontents.js ***!
|
4932 |
+
\************************************************/
|
4933 |
+
/*! no static exports found */
|
4934 |
+
/***/ (function(module, exports, __webpack_require__) {
|
4935 |
+
|
4936 |
+
"use strict";
|
4937 |
+
|
4938 |
+
|
4939 |
+
Object.defineProperty(exports, "__esModule", {
|
4940 |
+
value: true
|
4941 |
+
});
|
4942 |
+
exports.tableOfContents = tableOfContents;
|
4943 |
+
exports.clearTOC = clearTOC;
|
4944 |
+
|
4945 |
+
var _ajaxLoadMore = __webpack_require__(/*! ../ajax-load-more */ "./core/src/js/ajax-load-more.js");
|
4946 |
+
|
4947 |
+
var _setFocus = __webpack_require__(/*! ./setFocus */ "./core/src/js/modules/setFocus.js");
|
4948 |
+
|
4949 |
+
var _setFocus2 = _interopRequireDefault(_setFocus);
|
4950 |
+
|
4951 |
+
function _interopRequireDefault(obj) {
|
4952 |
+
return obj && obj.__esModule ? obj : { default: obj };
|
4953 |
+
}
|
4954 |
+
|
4955 |
+
/**
|
4956 |
+
* Create a numbered table of contents navigation
|
4957 |
+
*
|
4958 |
+
* @param {object} alm
|
4959 |
+
* @param {boolean} init
|
4960 |
+
* @since 5.2
|
4961 |
+
*/
|
4962 |
+
function tableOfContents(alm) {
|
4963 |
+
var init = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
4964 |
+
var from_preloaded = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
4965 |
+
|
4966 |
+
var totalPosts = alm.localize.post_count ? parseInt(alm.localize.post_count) : 0;
|
4967 |
+
if (totalPosts == 0 && !alm.addons.single_post) {
|
4968 |
+
// Exit if zero posts and not single posts
|
4969 |
+
return false;
|
4970 |
+
}
|
4971 |
+
|
4972 |
+
if (alm && alm.tableofcontents && alm.transition_container && alm.transition !== 'masonry') {
|
4973 |
+
|
4974 |
+
var offset = alm.tableofcontents.dataset.offset ? parseInt(alm.tableofcontents.dataset.offset) : 30;
|
4975 |
+
var startPage = alm.start_page ? parseInt(alm.start_page) : 0;
|
4976 |
+
var filterStartPage = alm.addons.filters_startpage ? parseInt(alm.addons.filters_startpage) : 0;
|
4977 |
+
var nextpageStartPage = alm.addons.nextpage_startpage ? parseInt(alm.addons.nextpage_startpage) : 0;
|
4978 |
+
var page = parseInt(alm.page);
|
4979 |
+
var preloaded = alm.addons.preloaded === 'true' ? true : false;
|
4980 |
+
|
4981 |
+
// Exit if Paging or Next Page
|
4982 |
+
if (alm.addons.paging || alm.addons.nextpage) {
|
4983 |
+
return false;
|
4984 |
+
}
|
4985 |
+
|
4986 |
+
// Init
|
4987 |
+
|
4988 |
+
if (init) {
|
4989 |
+
setTimeout(function () {
|
4990 |
+
// Paged results
|
4991 |
+
if (alm.addons.seo && startPage > 1 || alm.addons.filters && filterStartPage > 1 || alm.addons.nextpage && nextpageStartPage > 1) {
|
4992 |
+
// SEO
|
4993 |
+
if (alm.addons.seo && startPage > 1) {
|
4994 |
+
for (var i = 0; i < startPage; i++) {
|
4995 |
+
createTOCButton(alm, i, offset);
|
4996 |
+
}
|
4997 |
+
}
|
4998 |
+
// Filters
|
4999 |
+
if (alm.addons.filters && filterStartPage > 1) {
|
5000 |
+
for (var _i = 0; _i < filterStartPage; _i++) {
|
5001 |
+
createTOCButton(alm, _i, offset);
|
5002 |
+
}
|
5003 |
+
}
|
5004 |
+
// Nextpage
|
5005 |
+
if (alm.addons.nextpage && nextpageStartPage > 1) {
|
5006 |
+
for (var _i2 = 0; _i2 < nextpageStartPage; _i2++) {
|
5007 |
+
createTOCButton(alm, _i2, offset);
|
5008 |
+
}
|
5009 |
+
}
|
5010 |
+
} else {
|
5011 |
+
if (!from_preloaded && preloaded) {
|
5012 |
+
page = page + 1;
|
5013 |
+
}
|
5014 |
+
createTOCButton(alm, page, offset);
|
5015 |
+
}
|
5016 |
+
}, 100);
|
5017 |
+
} else {
|
5018 |
+
|
5019 |
+
// Preloaded
|
5020 |
+
if (preloaded) {
|
5021 |
+
if (alm.addons.seo && startPage > 0) {
|
5022 |
+
page = page;
|
5023 |
+
} else if (alm.addons.filters && filterStartPage > 0) {
|
5024 |
+
page = page;
|
5025 |
+
} else {
|
5026 |
+
page = page + 1;
|
5027 |
+
}
|
5028 |
+
}
|
5029 |
+
|
5030 |
+
createTOCButton(alm, page, offset);
|
5031 |
+
}
|
5032 |
+
}
|
5033 |
+
}
|
5034 |
+
|
5035 |
+
// Clear table of contents
|
5036 |
+
function clearTOC() {
|
5037 |
+
var toc = document.querySelector('.alm-toc');
|
5038 |
+
if (toc) {
|
5039 |
+
toc.innerHTML = '';
|
5040 |
+
}
|
5041 |
+
}
|
5042 |
+
|
5043 |
+
// Create Standard Page Button
|
5044 |
+
function createTOCButton(alm, page, offset) {
|
5045 |
+
|
5046 |
+
if (!alm.tableofcontents) {
|
5047 |
+
return false;
|
5048 |
+
}
|
5049 |
+
|
5050 |
+
var button = document.createElement('button');
|
5051 |
+
button.type = "button";
|
5052 |
+
|
5053 |
+
page = parseInt(page) + 1;
|
5054 |
+
button.innerHTML = getTOCLabel(alm, page);
|
5055 |
+
button.dataset.page = page;
|
5056 |
+
alm.tableofcontents.appendChild(button);
|
5057 |
+
|
5058 |
+
button.addEventListener('click', function (e) {
|
5059 |
+
var page = this.dataset.page;
|
5060 |
+
var target = document.querySelector('.alm-reveal:nth-child(' + page + ')') || document.querySelector('.alm-nextpage:nth-child(' + page + ')');
|
5061 |
+
if (!target) {
|
5062 |
+
return false;
|
5063 |
+
}
|
5064 |
+
var top = typeof _ajaxLoadMore.getOffset === 'function' ? (0, _ajaxLoadMore.getOffset)(target).top : target.offsetTop;
|
5065 |
+
(0, _ajaxLoadMore.almScroll)(top - offset);
|
5066 |
+
|
5067 |
+
// Set Focus for A11y
|
5068 |
+
setTimeout(function () {
|
5069 |
+
(0, _setFocus2.default)(alm, target, page, false);
|
5070 |
+
}, 1000);
|
5071 |
+
});
|
5072 |
+
}
|
5073 |
+
|
5074 |
+
// Get Button Label
|
5075 |
+
function getTOCLabel(alm, page) {
|
5076 |
+
|
5077 |
+
var label = page;
|
5078 |
+
|
5079 |
+
// Single Posts
|
5080 |
+
if (alm.addons.single_post) {
|
5081 |
+
var element = document.querySelector('.alm-reveal.alm-single-post[data-page="' + (page - 1) + '"]');
|
5082 |
+
label = element ? element.dataset.title : label;
|
5083 |
+
}
|
5084 |
+
|
5085 |
+
// Dynamic function name
|
5086 |
+
var funcName = 'almTOCLabel_' + alm.id;
|
5087 |
+
if (typeof window[funcName] === 'function') {
|
5088 |
+
label = window[funcName](page, label);
|
5089 |
+
}
|
5090 |
+
|
5091 |
+
return label;
|
5092 |
+
}
|
5093 |
+
|
5094 |
/***/ }),
|
5095 |
|
5096 |
/***/ "./node_modules/@babel/polyfill/lib/noConflict.js":
|
core/dist/js/ajax-load-more.min.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
var ajaxloadmore=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=131)}([function(t,e,n){var r=n(1),o=n(9),i=n(15),a=n(10),s=n(22),u=function(t,e,n){var c,l,d,f,p=t&u.F,g=t&u.G,h=t&u.S,v=t&u.P,m=t&u.B,y=g?r:h?r[e]||(r[e]={}):(r[e]||{}).prototype,_=g?o:o[e]||(o[e]={}),x=_.prototype||(_.prototype={});for(c in g&&(n=e),n)d=((l=!p&&y&&void 0!==y[c])?y:n)[c],f=m&&l?s(d,r):v&&"function"==typeof d?s(Function.call,d):d,y&&a(y,c,d,t&u.U),_[c]!=d&&i(_,c,f),v&&x[c]!=d&&(x[c]=d)};r.core=o,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(49)("wks"),o=n(30),i=n(1).Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},function(t,e,n){var r=n(18),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(3),o=n(99),i=n(27),a=Object.defineProperty;e.f=n(8)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){t.exports=!n(2)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(1),o=n(15),i=n(14),a=n(30)("src"),s=n(175),u=(""+s).split("toString");n(9).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var c="function"==typeof n;c&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(c&&(i(n,a)||o(n,a,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(t,e,n){var r=n(25);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(0),o=n(2),i=n(25),a=/"/g,s=function(t,e,n,r){var o=String(i(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,""")+'"'),s+">"+o+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(s),r(r.P+r.F*o(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t,e,n){"use strict";var r=n(90),o=n(134),i=Object.prototype.toString;function a(t){return"[object Array]"===i.call(t)}function s(t){return null!==t&&"object"==typeof t}function u(t){return"[object Function]"===i.call(t)}function c(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),a(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}t.exports={isArray:a,isArrayBuffer:function(t){return"[object ArrayBuffer]"===i.call(t)},isBuffer:o,isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:s,isUndefined:function(t){return void 0===t},isDate:function(t){return"[object Date]"===i.call(t)},isFile:function(t){return"[object File]"===i.call(t)},isBlob:function(t){return"[object Blob]"===i.call(t)},isFunction:u,isStream:function(t){return s(t)&&u(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:c,merge:function t(){var e={};function n(n,r){"object"==typeof e[r]&&"object"==typeof n?e[r]=t(e[r],n):e[r]=n}for(var r=0,o=arguments.length;r<o;r++)c(arguments[r],n);return e},extend:function(t,e,n){return c(e,function(e,o){t[o]=n&&"function"==typeof e?r(e,n):e}),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(7),o=n(29);t.exports=n(8)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(44),o=n(25);t.exports=function(t){return r(o(t))}},function(t,e,n){"use strict";var r=n(2);t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(45),o=n(29),i=n(16),a=n(27),s=n(14),u=n(99),c=Object.getOwnPropertyDescriptor;e.f=n(8)?c:function(t,e){if(t=i(t),e=a(e,!0),u)try{return c(t,e)}catch(t){}if(s(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(0),o=n(9),i=n(2);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(t,e,n){var r=n(22),o=n(44),i=n(11),a=n(6),s=n(265);t.exports=function(t,e){var n=1==t,u=2==t,c=3==t,l=4==t,d=6==t,f=5==t||d,p=e||s;return function(e,s,g){for(var h,v,m=i(e),y=o(m),_=r(s,g,3),x=a(y.length),b=0,w=n?p(e,x):u?p(e,0):void 0;x>b;b++)if((f||b in y)&&(v=_(h=y[b],b,m),t))if(n)w[b]=v;else if(v)switch(t){case 3:return!0;case 5:return h;case 6:return b;case 2:w.push(h)}else if(l)return!1;return d?-1:c||l?l:w}}},function(t,e,n){var r=n(23);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){"use strict";if(n(8)){var r=n(31),o=n(1),i=n(2),a=n(0),s=n(60),u=n(89),c=n(22),l=n(42),d=n(29),f=n(15),p=n(43),g=n(18),h=n(6),v=n(125),m=n(33),y=n(27),_=n(14),x=n(46),b=n(4),w=n(11),S=n(81),A=n(34),j=n(36),P=n(35).f,E=n(83),O=n(30),L=n(5),M=n(21),T=n(50),I=n(47),F=n(85),N=n(39),k=n(53),C=n(41),R=n(84),D=n(116),q=n(7),B=n(19),U=q.f,z=B.f,W=o.RangeError,V=o.TypeError,H=o.Uint8Array,G=Array.prototype,Y=u.ArrayBuffer,X=u.DataView,$=M(0),Q=M(2),K=M(3),J=M(4),Z=M(5),tt=M(6),et=T(!0),nt=T(!1),rt=F.values,ot=F.keys,it=F.entries,at=G.lastIndexOf,st=G.reduce,ut=G.reduceRight,ct=G.join,lt=G.sort,dt=G.slice,ft=G.toString,pt=G.toLocaleString,gt=L("iterator"),ht=L("toStringTag"),vt=O("typed_constructor"),mt=O("def_constructor"),yt=s.CONSTR,_t=s.TYPED,xt=s.VIEW,bt=M(1,function(t,e){return Pt(I(t,t[mt]),e)}),wt=i(function(){return 1===new H(new Uint16Array([1]).buffer)[0]}),St=!!H&&!!H.prototype.set&&i(function(){new H(1).set({})}),At=function(t,e){var n=g(t);if(n<0||n%e)throw W("Wrong offset!");return n},jt=function(t){if(b(t)&&_t in t)return t;throw V(t+" is not a typed array!")},Pt=function(t,e){if(!(b(t)&&vt in t))throw V("It is not a typed array constructor!");return new t(e)},Et=function(t,e){return Ot(I(t,t[mt]),e)},Ot=function(t,e){for(var n=0,r=e.length,o=Pt(t,r);r>n;)o[n]=e[n++];return o},Lt=function(t,e,n){U(t,e,{get:function(){return this._d[n]}})},Mt=function(t){var e,n,r,o,i,a,s=w(t),u=arguments.length,l=u>1?arguments[1]:void 0,d=void 0!==l,f=E(s);if(null!=f&&!S(f)){for(a=f.call(s),r=[],e=0;!(i=a.next()).done;e++)r.push(i.value);s=r}for(d&&u>2&&(l=c(l,arguments[2],2)),e=0,n=h(s.length),o=Pt(this,n);n>e;e++)o[e]=d?l(s[e],e):s[e];return o},Tt=function(){for(var t=0,e=arguments.length,n=Pt(this,e);e>t;)n[t]=arguments[t++];return n},It=!!H&&i(function(){pt.call(new H(1))}),Ft=function(){return pt.apply(It?dt.call(jt(this)):jt(this),arguments)},Nt={copyWithin:function(t,e){return D.call(jt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return J(jt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return R.apply(jt(this),arguments)},filter:function(t){return Et(this,Q(jt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Z(jt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(jt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){$(jt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(jt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(jt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ct.apply(jt(this),arguments)},lastIndexOf:function(t){return at.apply(jt(this),arguments)},map:function(t){return bt(jt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return st.apply(jt(this),arguments)},reduceRight:function(t){return ut.apply(jt(this),arguments)},reverse:function(){for(var t,e=jt(this).length,n=Math.floor(e/2),r=0;r<n;)t=this[r],this[r++]=this[--e],this[e]=t;return this},some:function(t){return K(jt(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return lt.call(jt(this),t)},subarray:function(t,e){var n=jt(this),r=n.length,o=m(t,r);return new(I(n,n[mt]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,h((void 0===e?r:m(e,r))-o))}},kt=function(t,e){return Et(this,dt.call(jt(this),t,e))},Ct=function(t){jt(this);var e=At(arguments[1],1),n=this.length,r=w(t),o=h(r.length),i=0;if(o+e>n)throw W("Wrong length!");for(;i<o;)this[e+i]=r[i++]},Rt={entries:function(){return it.call(jt(this))},keys:function(){return ot.call(jt(this))},values:function(){return rt.call(jt(this))}},Dt=function(t,e){return b(t)&&t[_t]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},qt=function(t,e){return Dt(t,e=y(e,!0))?d(2,t[e]):z(t,e)},Bt=function(t,e,n){return!(Dt(t,e=y(e,!0))&&b(n)&&_(n,"value"))||_(n,"get")||_(n,"set")||n.configurable||_(n,"writable")&&!n.writable||_(n,"enumerable")&&!n.enumerable?U(t,e,n):(t[e]=n.value,t)};yt||(B.f=qt,q.f=Bt),a(a.S+a.F*!yt,"Object",{getOwnPropertyDescriptor:qt,defineProperty:Bt}),i(function(){ft.call({})})&&(ft=pt=function(){return ct.call(this)});var Ut=p({},Nt);p(Ut,Rt),f(Ut,gt,Rt.values),p(Ut,{slice:kt,set:Ct,constructor:function(){},toString:ft,toLocaleString:Ft}),Lt(Ut,"buffer","b"),Lt(Ut,"byteOffset","o"),Lt(Ut,"byteLength","l"),Lt(Ut,"length","e"),U(Ut,ht,{get:function(){return this[_t]}}),t.exports=function(t,e,n,u){var c=t+((u=!!u)?"Clamped":"")+"Array",d="get"+t,p="set"+t,g=o[c],m=g||{},y=g&&j(g),_=!g||!s.ABV,w={},S=g&&g.prototype,E=function(t,n){U(t,n,{get:function(){return function(t,n){var r=t._d;return r.v[d](n*e+r.o,wt)}(this,n)},set:function(t){return function(t,n,r){var o=t._d;u&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),o.v[p](n*e+o.o,r,wt)}(this,n,t)},enumerable:!0})};_?(g=n(function(t,n,r,o){l(t,g,c,"_d");var i,a,s,u,d=0,p=0;if(b(n)){if(!(n instanceof Y||"ArrayBuffer"==(u=x(n))||"SharedArrayBuffer"==u))return _t in n?Ot(g,n):Mt.call(g,n);i=n,p=At(r,e);var m=n.byteLength;if(void 0===o){if(m%e)throw W("Wrong length!");if((a=m-p)<0)throw W("Wrong length!")}else if((a=h(o)*e)+p>m)throw W("Wrong length!");s=a/e}else s=v(n),i=new Y(a=s*e);for(f(t,"_d",{b:i,o:p,l:a,e:s,v:new X(i)});d<s;)E(t,d++)}),S=g.prototype=A(Ut),f(S,"constructor",g)):i(function(){g(1)})&&i(function(){new g(-1)})&&k(function(t){new g,new g(null),new g(1.5),new g(t)},!0)||(g=n(function(t,n,r,o){var i;return l(t,g,c),b(n)?n instanceof Y||"ArrayBuffer"==(i=x(n))||"SharedArrayBuffer"==i?void 0!==o?new m(n,At(r,e),o):void 0!==r?new m(n,At(r,e)):new m(n):_t in n?Ot(g,n):Mt.call(g,n):new m(v(n))}),$(y!==Function.prototype?P(m).concat(P(y)):P(m),function(t){t in g||f(g,t,m[t])}),g.prototype=S,r||(S.constructor=g));var O=S[gt],L=!!O&&("values"==O.name||null==O.name),M=Rt.values;f(g,vt,!0),f(S,_t,c),f(S,xt,!0),f(S,mt,g),(u?new g(1)[ht]==c:ht in S)||U(S,ht,{get:function(){return c}}),w[c]=g,a(a.G+a.W+a.F*(g!=m),w),a(a.S,c,{BYTES_PER_ELEMENT:e}),a(a.S+a.F*i(function(){m.of.call(g,1)}),c,{from:Mt,of:Tt}),"BYTES_PER_ELEMENT"in S||f(S,"BYTES_PER_ELEMENT",e),a(a.P,c,Nt),C(c),a(a.P+a.F*St,c,{set:Ct}),a(a.P+a.F*!L,c,Rt),r||S.toString==ft||(S.toString=ft),a(a.P+a.F*i(function(){new g(1).slice()}),c,{slice:kt}),a(a.P+a.F*(i(function(){return[1,2].toLocaleString()!=new g([1,2]).toLocaleString()})||!i(function(){S.toLocaleString.call([1,2])})),c,{toLocaleString:Ft}),N[c]=L?O:M,r||L||f(S,gt,M)}}else t.exports=function(){}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(30)("meta"),o=n(4),i=n(14),a=n(7).f,s=0,u=Object.isExtensible||function(){return!0},c=!n(2)(function(){return u(Object.preventExtensions({}))}),l=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},d=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!u(t))return"F";if(!e)return"E";l(t)}return t[r].i},getWeak:function(t,e){if(!i(t,r)){if(!u(t))return!0;if(!e)return!1;l(t)}return t[r].w},onFreeze:function(t){return c&&d.NEED&&u(t)&&!i(t,r)&&l(t),t}}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports=!1},function(t,e,n){var r=n(101),o=n(67);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(18),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(3),o=n(102),i=n(67),a=n(66)("IE_PROTO"),s=function(){},u=function(){var t,e=n(64)("iframe"),r=i.length;for(e.style.display="none",n(69).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u.prototype[i[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=u(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(101),o=n(67).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(14),o=n(11),i=n(66)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){var r=n(7).f,o=n(14),i=n(5)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e){t.exports={}},function(t,e,n){var r=n(5)("unscopables"),o=Array.prototype;null==o[r]&&n(15)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e,n){"use strict";var r=n(1),o=n(7),i=n(8),a=n(5)("species");t.exports=function(t){var e=r[t];i&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(10);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e,n){var r=n(24);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(24),o=n(5)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){var r=n(3),o=n(23),i=n(5)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,e){if(0==e)t.style.opacity=1,t.style.height="auto";else{e/=10;var n=0,r=setInterval(function(){n>.9&&(t.style.opacity=1,clearInterval(r)),t.style.opacity=n,n+=.1},e);t.style.height="auto"}}},function(t,e,n){var r=n(9),o=n(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(31)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(16),o=n(6),i=n(33);t.exports=function(t){return function(e,n,a){var s,u=r(e),c=o(u.length),l=i(a,c);if(t&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(0),o=n(25),i=n(2),a=n(71),s="["+a+"]",u=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),l=function(t,e,n){var o={},s=i(function(){return!!a[t]()||"
"!="
"[t]()}),u=o[t]=s?e(d):a[t];n&&(o[n]=u),r(r.P+r.F*s,"String",o)},d=l.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(c,"")),t};t.exports=l},function(t,e,n){var r=n(5)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},t(i)}catch(t){}return n}},function(t,e,n){"use strict";var r=n(3);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){"use strict";var r=n(46),o=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},function(t,e,n){"use strict";n(118);var r=n(10),o=n(15),i=n(2),a=n(25),s=n(5),u=n(86),c=s("species"),l=!i(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),d=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var f=s(t),p=!i(function(){var e={};return e[f]=function(){return 7},7!=""[t](e)}),g=p?!i(function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[c]=function(){return n}),n[f](""),!e}):void 0;if(!p||!g||"replace"===t&&!l||"split"===t&&!d){var h=/./[f],v=n(a,f,""[t],function(t,e,n,r,o){return e.exec===u?p&&!o?{done:!0,value:h.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),m=v[0],y=v[1];r(String.prototype,t,m),o(RegExp.prototype,f,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},function(t,e,n){var r=n(22),o=n(114),i=n(81),a=n(3),s=n(6),u=n(83),c={},l={};(e=t.exports=function(t,e,n,d,f){var p,g,h,v,m=f?function(){return t}:u(t),y=r(n,d,e?2:1),_=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(i(m)){for(p=s(t.length);p>_;_++)if((v=e?y(a(g=t[_])[0],g[1]):y(t[_]))===c||v===l)return v}else for(h=m.call(t);!(g=h.next()).done;)if((v=o(h,y,g.value,e))===c||v===l)return v}).BREAK=c,e.RETURN=l},function(t,e,n){var r=n(1).navigator;t.exports=r&&r.userAgent||""},function(t,e,n){"use strict";var r=n(1),o=n(0),i=n(10),a=n(43),s=n(28),u=n(57),c=n(42),l=n(4),d=n(2),f=n(53),p=n(38),g=n(72);t.exports=function(t,e,n,h,v,m){var y=r[t],_=y,x=v?"set":"add",b=_&&_.prototype,w={},S=function(t){var e=b[t];i(b,t,"delete"==t?function(t){return!(m&&!l(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(m&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return m&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof _&&(m||b.forEach&&!d(function(){(new _).entries().next()}))){var A=new _,j=A[x](m?{}:-0,1)!=A,P=d(function(){A.has(1)}),E=f(function(t){new _(t)}),O=!m&&d(function(){for(var t=new _,e=5;e--;)t[x](e,e);return!t.has(-0)});E||((_=e(function(e,n){c(e,_,t);var r=g(new y,e,_);return null!=n&&u(n,v,r[x],r),r})).prototype=b,b.constructor=_),(P||O)&&(S("delete"),S("has"),v&&S("get")),(O||j)&&S(x),m&&b.clear&&delete b.clear}else _=h.getConstructor(e,t,v,x),a(_.prototype,n),s.NEED=!0;return p(_,t),w[t]=_,o(o.G+o.W+o.F*(_!=y),w),m||h.setStrong(_,t,v),_}},function(t,e,n){for(var r,o=n(1),i=n(15),a=n(30),s=a("typed_array"),u=a("view"),c=!(!o.ArrayBuffer||!o.DataView),l=c,d=0,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");d<9;)(r=o[f[d++]])?(i(r.prototype,s,!0),i(r.prototype,u,!0)):l=!1;t.exports={ABV:c,CONSTR:l,TYPED:s,VIEW:u}},function(t,e,n){"use strict";(function(e){var r=n(13),o=n(137),i={"Content-Type":"application/x-www-form-urlencoded"};function a(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var s,u={adapter:("undefined"!=typeof XMLHttpRequest?s=n(91):void 0!==e&&(s=n(91)),s),transformRequest:[function(t,e){return o(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(a(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(a(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(t){u.headers[t]={}}),r.forEach(["post","put","patch"],function(t){u.headers[t]=r.merge(i)}),t.exports=u}).call(this,n(136))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text/html";if(!t)return!1;var n=(new DOMParser).parseFromString(t,e);return n?Array.prototype.slice.call(n.body.childNodes):n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,e){e/=10,t.style.opacity=.5;var n=setInterval(function(){t.style.opacity<.1?clearInterval(n):t.style.opacity-=.1},e)}},function(t,e,n){var r=n(4),o=n(1).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){e.f=n(5)},function(t,e,n){var r=n(49)("keys"),o=n(30);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(24);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(1).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(4),o=n(3),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(22)(Function.call,n(19).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,e,n){var r=n(4),o=n(70).set;t.exports=function(t,e,n){var i,a=e.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(t,i),t}},function(t,e,n){"use strict";var r=n(18),o=n(25);t.exports=function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e,n){var r=n(18),o=n(25);t.exports=function(t){return function(e,n){var i,a,s=String(o(e)),u=r(n),c=s.length;return u<0||u>=c?t?"":void 0:(i=s.charCodeAt(u))<55296||i>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):i:t?s.slice(u,u+2):a-56320+(i-55296<<10)+65536}}},function(t,e,n){"use strict";var r=n(31),o=n(0),i=n(10),a=n(15),s=n(39),u=n(113),c=n(38),l=n(36),d=n(5)("iterator"),f=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,n,g,h,v,m){u(n,e,g);var y,_,x,b=function(t){if(!f&&t in j)return j[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},w=e+" Iterator",S="values"==h,A=!1,j=t.prototype,P=j[d]||j["@@iterator"]||h&&j[h],E=P||b(h),O=h?S?b("entries"):E:void 0,L="Array"==e&&j.entries||P;if(L&&(x=l(L.call(new t)))!==Object.prototype&&x.next&&(c(x,w,!0),r||"function"==typeof x[d]||a(x,d,p)),S&&P&&"values"!==P.name&&(A=!0,E=function(){return P.call(this)}),r&&!m||!f&&!A&&j[d]||a(j,d,E),s[e]=E,s[w]=p,h)if(y={values:S?E:b("values"),keys:v?E:b("keys"),entries:O},m)for(_ in y)_ in j||i(j,_,y[_]);else o(o.P+o.F*(f||A),e,y);return y}},function(t,e,n){var r=n(79),o=n(25);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(t))}},function(t,e,n){var r=n(4),o=n(24),i=n(5)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},function(t,e,n){var r=n(5)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,n){var r=n(39),o=n(5)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){"use strict";var r=n(7),o=n(29);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var r=n(46),o=n(5)("iterator"),i=n(39);t.exports=n(9).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){"use strict";var r=n(11),o=n(33),i=n(6);t.exports=function(t){for(var e=r(this),n=i(e.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,c=void 0===u?n:o(u,n);c>s;)e[s++]=t;return e}},function(t,e,n){"use strict";var r=n(40),o=n(117),i=n(39),a=n(16);t.exports=n(77)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e,n){"use strict";var r,o,i=n(54),a=RegExp.prototype.exec,s=String.prototype.replace,u=a,c=(r=/a/,o=/b*/g,a.call(r,"a"),a.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),l=void 0!==/()??/.exec("")[1];(c||l)&&(u=function(t){var e,n,r,o,u=this;return l&&(n=new RegExp("^"+u.source+"$(?!\\s)",i.call(u))),c&&(e=u.lastIndex),r=a.call(u,t),c&&r&&(u.lastIndex=u.global?r.index+r[0].length:e),l&&r&&r.length>1&&s.call(r[0],n,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)}),r}),t.exports=u},function(t,e,n){"use strict";var r=n(76)(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},function(t,e,n){var r,o,i,a=n(22),s=n(107),u=n(69),c=n(64),l=n(1),d=l.process,f=l.setImmediate,p=l.clearImmediate,g=l.MessageChannel,h=l.Dispatch,v=0,m={},y=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},_=function(t){y.call(t.data)};f&&p||(f=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++v]=function(){s("function"==typeof t?t:Function(t),e)},r(v),v},p=function(t){delete m[t]},"process"==n(24)(d)?r=function(t){d.nextTick(a(y,t,1))}:h&&h.now?r=function(t){h.now(a(y,t,1))}:g?(i=(o=new g).port2,o.port1.onmessage=_,r=a(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",_,!1)):r="onreadystatechange"in c("script")?function(t){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),y.call(t)}}:function(t){setTimeout(a(y,t,1),0)}),t.exports={set:f,clear:p}},function(t,e,n){"use strict";var r=n(1),o=n(8),i=n(31),a=n(60),s=n(15),u=n(43),c=n(2),l=n(42),d=n(18),f=n(6),p=n(125),g=n(35).f,h=n(7).f,v=n(84),m=n(38),y="prototype",_="Wrong index!",x=r.ArrayBuffer,b=r.DataView,w=r.Math,S=r.RangeError,A=r.Infinity,j=x,P=w.abs,E=w.pow,O=w.floor,L=w.log,M=w.LN2,T=o?"_b":"buffer",I=o?"_l":"byteLength",F=o?"_o":"byteOffset";function N(t,e,n){var r,o,i,a=new Array(n),s=8*n-e-1,u=(1<<s)-1,c=u>>1,l=23===e?E(2,-24)-E(2,-77):0,d=0,f=t<0||0===t&&1/t<0?1:0;for((t=P(t))!=t||t===A?(o=t!=t?1:0,r=u):(r=O(L(t)/M),t*(i=E(2,-r))<1&&(r--,i*=2),(t+=r+c>=1?l/i:l*E(2,1-c))*i>=2&&(r++,i/=2),r+c>=u?(o=0,r=u):r+c>=1?(o=(t*i-1)*E(2,e),r+=c):(o=t*E(2,c-1)*E(2,e),r=0));e>=8;a[d++]=255&o,o/=256,e-=8);for(r=r<<e|o,s+=e;s>0;a[d++]=255&r,r/=256,s-=8);return a[--d]|=128*f,a}function k(t,e,n){var r,o=8*n-e-1,i=(1<<o)-1,a=i>>1,s=o-7,u=n-1,c=t[u--],l=127&c;for(c>>=7;s>0;l=256*l+t[u],u--,s-=8);for(r=l&(1<<-s)-1,l>>=-s,s+=e;s>0;r=256*r+t[u],u--,s-=8);if(0===l)l=1-a;else{if(l===i)return r?NaN:c?-A:A;r+=E(2,e),l-=a}return(c?-1:1)*r*E(2,l-e)}function C(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function R(t){return[255&t]}function D(t){return[255&t,t>>8&255]}function q(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function B(t){return N(t,52,8)}function U(t){return N(t,23,4)}function z(t,e,n){h(t[y],e,{get:function(){return this[n]}})}function W(t,e,n,r){var o=p(+n);if(o+e>t[I])throw S(_);var i=t[T]._b,a=o+t[F],s=i.slice(a,a+e);return r?s:s.reverse()}function V(t,e,n,r,o,i){var a=p(+n);if(a+e>t[I])throw S(_);for(var s=t[T]._b,u=a+t[F],c=r(+o),l=0;l<e;l++)s[u+l]=c[i?l:e-l-1]}if(a.ABV){if(!c(function(){x(1)})||!c(function(){new x(-1)})||c(function(){return new x,new x(1.5),new x(NaN),"ArrayBuffer"!=x.name})){for(var H,G=(x=function(t){return l(this,x),new j(p(t))})[y]=j[y],Y=g(j),X=0;Y.length>X;)(H=Y[X++])in x||s(x,H,j[H]);i||(G.constructor=x)}var $=new b(new x(2)),Q=b[y].setInt8;$.setInt8(0,2147483648),$.setInt8(1,2147483649),!$.getInt8(0)&&$.getInt8(1)||u(b[y],{setInt8:function(t,e){Q.call(this,t,e<<24>>24)},setUint8:function(t,e){Q.call(this,t,e<<24>>24)}},!0)}else x=function(t){l(this,x,"ArrayBuffer");var e=p(t);this._b=v.call(new Array(e),0),this[I]=e},b=function(t,e,n){l(this,b,"DataView"),l(t,x,"DataView");var r=t[I],o=d(e);if(o<0||o>r)throw S("Wrong offset!");if(o+(n=void 0===n?r-o:f(n))>r)throw S("Wrong length!");this[T]=t,this[F]=o,this[I]=n},o&&(z(x,"byteLength","_l"),z(b,"buffer","_b"),z(b,"byteLength","_l"),z(b,"byteOffset","_o")),u(b[y],{getInt8:function(t){return W(this,1,t)[0]<<24>>24},getUint8:function(t){return W(this,1,t)[0]},getInt16:function(t){var e=W(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=W(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return C(W(this,4,t,arguments[1]))},getUint32:function(t){return C(W(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return k(W(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return k(W(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){V(this,1,t,R,e)},setUint8:function(t,e){V(this,1,t,R,e)},setInt16:function(t,e){V(this,2,t,D,e,arguments[2])},setUint16:function(t,e){V(this,2,t,D,e,arguments[2])},setInt32:function(t,e){V(this,4,t,q,e,arguments[2])},setUint32:function(t,e){V(this,4,t,q,e,arguments[2])},setFloat32:function(t,e){V(this,4,t,U,e,arguments[2])},setFloat64:function(t,e){V(this,8,t,B,e,arguments[2])}});m(x,"ArrayBuffer"),m(b,"DataView"),s(b[y],a.VIEW,!0),e.ArrayBuffer=x,e.DataView=b},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},function(t,e,n){"use strict";var r=n(13),o=n(138),i=n(140),a=n(141),s=n(142),u=n(92),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(143);t.exports=function(t){return new Promise(function(e,l){var d=t.data,f=t.headers;r.isFormData(d)&&delete f["Content-Type"];var p=new XMLHttpRequest,g="onreadystatechange",h=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in p||s(t.url)||(p=new window.XDomainRequest,g="onload",h=!0,p.onprogress=function(){},p.ontimeout=function(){}),t.auth){var v=t.auth.username||"",m=t.auth.password||"";f.Authorization="Basic "+c(v+":"+m)}if(p.open(t.method.toUpperCase(),i(t.url,t.params,t.paramsSerializer),!0),p.timeout=t.timeout,p[g]=function(){if(p&&(4===p.readyState||h)&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in p?a(p.getAllResponseHeaders()):null,r={data:t.responseType&&"text"!==t.responseType?p.response:p.responseText,status:1223===p.status?204:p.status,statusText:1223===p.status?"No Content":p.statusText,headers:n,config:t,request:p};o(e,l,r),p=null}},p.onerror=function(){l(u("Network Error",t,null,p)),p=null},p.ontimeout=function(){l(u("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var y=n(144),_=(t.withCredentials||s(t.url))&&t.xsrfCookieName?y.read(t.xsrfCookieName):void 0;_&&(f[t.xsrfHeaderName]=_)}if("setRequestHeader"in p&&r.forEach(f,function(t,e){void 0===d&&"content-type"===e.toLowerCase()?delete f[e]:p.setRequestHeader(e,t)}),t.withCredentials&&(p.withCredentials=!0),t.responseType)try{p.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&p.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){p&&(p.abort(),l(t),p=null)}),void 0===d&&(d=null),p.send(d)})}},function(t,e,n){"use strict";var r=n(139);t.exports=function(t,e,n,o,i){var a=new Error(t);return r(a,e,n,o,i)}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(156),i=(r=o)&&r.__esModule?r:{default:r};e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"fade";if(!t||!e)return!1;for(var r=0;r<e.length;r++){var o=e[r];(0,i.default)(t,o,n)}}},function(t,e,n){"use strict";function r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"standard";if(!t.resultsText)return!1;var n=0,r=0,i="true"===t.addons.preloaded,a=!!t.addons.paging,s=t.orginal_posts_per_page;switch(e){case"nextpage":n=parseInt(t.localize.page),r=parseInt(t.localize.total_posts),o(t.resultsText,n,r);break;default:n=parseInt(t.page)+1,r=Math.ceil(t.localize.total_posts/s),i&&(n=a?t.page+1:n+1),o(t.resultsText,n,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.almResultsText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"standard";if(!t.resultsText)return!1;r(t,"nextpage"===e?"nextpage":"standard")},e.almGetResultsText=r,e.almInitResultsText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"standard";if(!t.resultsText)return!1;var n=0,r=Math.ceil(t.localize.total_posts/t.orginal_posts_per_page);switch(e){case"nextpage":o(t.resultsText,t.addons.nextpage_startpage,t.localize.total_posts);break;case"preloaded":n=t.addons.paging&&t.addons.seo?parseInt(t.start_page)+1:parseInt(t.page)+1,o(t.resultsText,n,r);break;default:console.log("Nothing to set.")}};var o=function(t,e,n){var r=(n=parseInt(n))>0?alm_localize.results_text:alm_localize.no_results_text;n>0?(r=(r=r.replace("{num}",'<span class="alm-results-current">'+e+"</span>")).replace("{total}",'<span class="alm-results-total">'+n+"</span>"),t.innerHTML=r):t.innerHTML=r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!t)return!1;if(e.indexOf("Safari")>-1&&-1!=e.indexOf("Chrome")||e.indexOf("Firefox")>-1||e.indexOf("Windows")>-1)return!1;for(var n=t.querySelectorAll("img[srcset]:not(.alm-loaded)"),r=0;r<n.length;r++){var o=n[r];o.classList.add("alm-loaded"),o.outerHTML=o.outerHTML}}},function(t,e,n){var r,o;
|
2 |
/*!
|
3 |
* imagesLoaded v4.1.4
|
4 |
* JavaScript is all like "You images are done yet or what?"
|
@@ -9,11 +9,11 @@ var ajaxloadmore=function(t){var e={};function n(r){if(e[r])return e[r].exports;
|
|
9 |
* JavaScript is all like "You images are done yet or what?"
|
10 |
* MIT License
|
11 |
*/
|
12 |
-
!function(i,a){"use strict";r=[n(165)],void 0===(o=function(t){return function(t,e){var n=t.jQuery,r=t.console;function o(t,e){for(var n in e)t[n]=e[n];return t}var i=Array.prototype.slice;function a(t,e,s){if(!(this instanceof a))return new a(t,e,s);var u=t;"string"==typeof t&&(u=document.querySelectorAll(t)),u?(this.elements=function(t){if(Array.isArray(t))return t;if("object"==typeof t&&"number"==typeof t.length)return i.call(t);return[t]}(u),this.options=o({},this.options),"function"==typeof e?s=e:o(this.options,e),s&&this.on("always",s),this.getImages(),n&&(this.jqDeferred=new n.Deferred),setTimeout(this.check.bind(this))):r.error("Bad element for imagesLoaded "+(u||t))}a.prototype=Object.create(e.prototype),a.prototype.options={},a.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},a.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&s[e]){for(var n=t.querySelectorAll("img"),r=0;r<n.length;r++){var o=n[r];this.addImage(o)}if("string"==typeof this.options.background){var i=t.querySelectorAll(this.options.background);for(r=0;r<i.length;r++){var a=i[r];this.addElementBackgroundImages(a)}}}};var s={1:!0,9:!0,11:!0};function u(t){this.img=t}function c(t,e){this.url=t,this.element=e,this.img=new Image}return a.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var n=/url\((['"])?(.*?)\1\)/gi,r=n.exec(e.backgroundImage);null!==r;){var o=r&&r[2];o&&this.addBackground(o,t),r=n.exec(e.backgroundImage)}},a.prototype.addImage=function(t){var e=new u(t);this.images.push(e)},a.prototype.addBackground=function(t,e){var n=new c(t,e);this.images.push(n)},a.prototype.check=function(){var t=this;function e(e,n,r){setTimeout(function(){t.progress(e,n,r)})}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach(function(t){t.once("progress",e),t.check()}):this.complete()},a.prototype.progress=function(t,e,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&r&&r.log("progress: "+n,t,e)},a.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},u.prototype=Object.create(e.prototype),u.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},u.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},u.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},u.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},u.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},u.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},u.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype=Object.create(u.prototype),c.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},c.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},a.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((n=e).fn.imagesLoaded=function(t,e){return new a(this,t,e).jqDeferred.promise(n(this))})},a.makeJQueryPlugin(),a}(i,t)}.apply(e,r))||(t.exports=o)}("undefined"!=typeof window?window:this)},function(t,e,n){t.exports=!n(8)&&!n(2)(function(){return 7!=Object.defineProperty(n(64)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(1),o=n(9),i=n(31),a=n(65),s=n(7).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e,n){var r=n(14),o=n(16),i=n(50)(!1),a=n(66)("IE_PROTO");t.exports=function(t,e){var n,s=o(t),u=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~i(c,n)||c.push(n));return c}},function(t,e,n){var r=n(7),o=n(3),i=n(32);t.exports=n(8)?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),s=a.length,u=0;s>u;)r.f(t,n=a[u++],e[n]);return t}},function(t,e,n){var r=n(16),o=n(35).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return a.slice()}}(t):o(r(t))}},function(t,e,n){"use strict";var r=n(32),o=n(51),i=n(45),a=n(11),s=n(44),u=Object.assign;t.exports=!u||n(2)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=a(t),u=arguments.length,c=1,l=o.f,d=i.f;u>c;)for(var f,p=s(arguments[c++]),g=l?r(p).concat(l(p)):r(p),h=g.length,v=0;h>v;)d.call(p,f=g[v++])&&(n[f]=p[f]);return n}:u},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){"use strict";var r=n(23),o=n(4),i=n(107),a=[].slice,s={};t.exports=Function.bind||function(t){var e=r(this),n=a.call(arguments,1),u=function(){var r=n.concat(a.call(arguments));return this instanceof u?function(t,e,n){if(!(e in s)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";s[e]=Function("F,a","return new F("+r.join(",")+")")}return s[e](t,n)}(e,r.length,r):i(e,r,t)};return o(e.prototype)&&(u.prototype=e.prototype),u}},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(1).parseInt,o=n(52).trim,i=n(71),a=/^[-+]?0[xX]/;t.exports=8!==r(i+"08")||22!==r(i+"0x16")?function(t,e){var n=o(String(t),3);return r(n,e>>>0||(a.test(n)?16:10))}:r},function(t,e,n){var r=n(1).parseFloat,o=n(52).trim;t.exports=1/r(n(71)+"-0")!=-1/0?function(t){var e=o(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},function(t,e,n){var r=n(24);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},function(t,e,n){var r=n(4),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){"use strict";var r=n(34),o=n(29),i=n(38),a={};n(15)(a,n(5)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){var r=n(3);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){var r=n(23),o=n(11),i=n(44),a=n(6);t.exports=function(t,e,n,s,u){r(e);var c=o(t),l=i(c),d=a(c.length),f=u?d-1:0,p=u?-1:1;if(n<2)for(;;){if(f in l){s=l[f],f+=p;break}if(f+=p,u?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;u?f>=0:d>f;f+=p)f in l&&(s=e(s,l[f],f,c));return s}},function(t,e,n){"use strict";var r=n(11),o=n(33),i=n(6);t.exports=[].copyWithin||function(t,e){var n=r(this),a=i(n.length),s=o(t,a),u=o(e,a),c=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===c?a:o(c,a))-u,a-s),d=1;for(u<s&&s<u+l&&(d=-1,u+=l-1,s+=l-1);l-- >0;)u in n?n[s]=n[u]:delete n[s],s+=d,u+=d;return n}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var r=n(86);n(0)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(t,e,n){n(8)&&"g"!=/./g.flags&&n(7).f(RegExp.prototype,"flags",{configurable:!0,get:n(54)})},function(t,e,n){"use strict";var r,o,i,a,s=n(31),u=n(1),c=n(22),l=n(46),d=n(0),f=n(4),p=n(23),g=n(42),h=n(57),v=n(47),m=n(88).set,y=n(286)(),_=n(121),x=n(287),b=n(58),w=n(122),S=u.TypeError,A=u.process,j=A&&A.versions,P=j&&j.v8||"",E=u.Promise,O="process"==l(A),L=function(){},M=o=_.f,T=!!function(){try{var t=E.resolve(1),e=(t.constructor={})[n(5)("species")]=function(t){t(L,L)};return(O||"function"==typeof PromiseRejectionEvent)&&t.then(L)instanceof e&&0!==P.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(t){}}(),I=function(t){var e;return!(!f(t)||"function"!=typeof(e=t.then))&&e},F=function(t,e){if(!t._n){t._n=!0;var n=t._c;y(function(){for(var r=t._v,o=1==t._s,i=0,a=function(e){var n,i,a,s=o?e.ok:e.fail,u=e.resolve,c=e.reject,l=e.domain;try{s?(o||(2==t._h&&C(t),t._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),a=!0)),n===e.promise?c(S("Promise-chain cycle")):(i=I(n))?i.call(n,u,c):u(n)):c(r)}catch(t){l&&!a&&l.exit(),c(t)}};n.length>i;)a(n[i++]);t._c=[],t._n=!1,e&&!t._h&&N(t)})}},N=function(t){m.call(u,function(){var e,n,r,o=t._v,i=k(t);if(i&&(e=x(function(){O?A.emit("unhandledRejection",o,t):(n=u.onunhandledrejection)?n({promise:t,reason:o}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=O||k(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},k=function(t){return 1!==t._h&&0===(t._a||t._c).length},C=function(t){m.call(u,function(){var e;O?A.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})})},R=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),F(e,!0))},D=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw S("Promise can't be resolved itself");(e=I(t))?y(function(){var r={_w:n,_d:!1};try{e.call(t,c(D,r,1),c(R,r,1))}catch(t){R.call(r,t)}}):(n._v=t,n._s=1,F(n,!1))}catch(t){R.call({_w:n,_d:!1},t)}}};T||(E=function(t){g(this,E,"Promise","_h"),p(t),r.call(this);try{t(c(D,this,1),c(R,this,1))}catch(t){R.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(43)(E.prototype,{then:function(t,e){var n=M(v(this,E));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=O?A.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&F(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=c(D,t,1),this.reject=c(R,t,1)},_.f=M=function(t){return t===E||t===a?new i(t):o(t)}),d(d.G+d.W+d.F*!T,{Promise:E}),n(38)(E,"Promise"),n(41)("Promise"),a=n(9).Promise,d(d.S+d.F*!T,"Promise",{reject:function(t){var e=M(this);return(0,e.reject)(t),e.promise}}),d(d.S+d.F*(s||!T),"Promise",{resolve:function(t){return w(s&&this===a?E:this,t)}}),d(d.S+d.F*!(T&&n(53)(function(t){E.all(t).catch(L)})),"Promise",{all:function(t){var e=this,n=M(e),r=n.resolve,o=n.reject,i=x(function(){var n=[],i=0,a=1;h(t,!1,function(t){var s=i++,u=!1;n.push(void 0),a++,e.resolve(t).then(function(t){u||(u=!0,n[s]=t,--a||r(n))},o)}),--a||r(n)});return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=M(e),r=n.reject,o=x(function(){h(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(t,e,n){"use strict";var r=n(23);function o(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new o(t)}},function(t,e,n){var r=n(3),o=n(4),i=n(121);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var r=n(7).f,o=n(34),i=n(43),a=n(22),s=n(42),u=n(57),c=n(77),l=n(117),d=n(41),f=n(8),p=n(28).fastKey,g=n(37),h=f?"_s":"size",v=function(t,e){var n,r=p(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,c){var l=t(function(t,r){s(t,l,e,"_i"),t._t=e,t._i=o(null),t._f=void 0,t._l=void 0,t[h]=0,null!=r&&u(r,n,t[c],t)});return i(l.prototype,{clear:function(){for(var t=g(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[h]=0},delete:function(t){var n=g(this,e),r=v(n,t);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[h]--}return!!r},forEach:function(t){g(this,e);for(var n,r=a(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!v(g(this,e),t)}}),f&&r(l.prototype,"size",{get:function(){return g(this,e)[h]}}),l},def:function(t,e,n){var r,o,i=v(t,e);return i?i.v=n:(t._l=i={i:o=p(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=i),r&&(r.n=i),t[h]++,"F"!==o&&(t._i[o]=i)),t},getEntry:v,setStrong:function(t,e,n){c(t,e,function(t,n){this._t=g(t,e),this._k=n,this._l=void 0},function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?l(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,l(1))},n?"entries":"values",!n,!0),d(e)}}},function(t,e,n){"use strict";var r=n(43),o=n(28).getWeak,i=n(3),a=n(4),s=n(42),u=n(57),c=n(21),l=n(14),d=n(37),f=c(5),p=c(6),g=0,h=function(t){return t._l||(t._l=new v)},v=function(){this.a=[]},m=function(t,e){return f(t.a,function(t){return t[0]===e})};v.prototype={get:function(t){var e=m(this,t);if(e)return e[1]},has:function(t){return!!m(this,t)},set:function(t,e){var n=m(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=p(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,i){var c=t(function(t,r){s(t,c,e,"_i"),t._t=e,t._i=g++,t._l=void 0,null!=r&&u(r,n,t[i],t)});return r(c.prototype,{delete:function(t){if(!a(t))return!1;var n=o(t);return!0===n?h(d(this,e)).delete(t):n&&l(n,this._i)&&delete n[this._i]},has:function(t){if(!a(t))return!1;var n=o(t);return!0===n?h(d(this,e)).has(t):n&&l(n,this._i)}}),c},def:function(t,e,n){var r=o(i(e),!0);return!0===r?h(t).set(e,n):r[t._i]=n,t},ufstore:h}},function(t,e,n){var r=n(18),o=n(6);t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=o(e);if(e!==n)throw RangeError("Wrong length!");return n}},function(t,e,n){var r=n(35),o=n(51),i=n(3),a=n(1).Reflect;t.exports=a&&a.ownKeys||function(t){var e=r.f(i(t)),n=o.f;return n?e.concat(n(t)):e}},function(t,e,n){var r=n(6),o=n(73),i=n(25);t.exports=function(t,e,n,a){var s=String(i(t)),u=s.length,c=void 0===n?" ":String(n),l=r(e);if(l<=u||""==c)return s;var d=l-u,f=o.call(c,Math.ceil(d/c.length));return f.length>d&&(f=f.slice(0,d)),a?f+s:s+f}},function(t,e,n){var r=n(32),o=n(16),i=n(45).f;t.exports=function(t){return function(e){for(var n,a=o(e),s=r(a),u=s.length,c=0,l=[];u>c;)i.call(a,n=s[c++])&&l.push(t?[n,a[n]]:a[n]);return l}}},function(t,e,n){"use strict";var r=Object.prototype.hasOwnProperty,o=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),i=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},r=0;r<t.length;++r)void 0!==t[r]&&(n[r]=t[r]);return n};t.exports={arrayToObject:i,assign:function(t,e){return Object.keys(e).reduce(function(t,n){return t[n]=e[n],t},t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],r=0;r<e.length;++r)for(var o=e[r],i=o.obj[o.prop],a=Object.keys(i),s=0;s<a.length;++s){var u=a[s],c=i[u];"object"==typeof c&&null!==c&&-1===n.indexOf(c)&&(e.push({obj:i,prop:u}),n.push(c))}return function(t){for(;t.length>1;){var e=t.pop(),n=e.obj[e.prop];if(Array.isArray(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);e.obj[e.prop]=r}}}(e),t},decode:function(t,e,n){var r=t.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(t){return r}},encode:function(t,e,n){if(0===t.length)return t;var r="string"==typeof t?t:String(t);if("iso-8859-1"===n)return escape(r).replace(/%u[0-9a-f]{4}/gi,function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"});for(var i="",a=0;a<r.length;++a){var s=r.charCodeAt(a);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122?i+=r.charAt(a):s<128?i+=o[s]:s<2048?i+=o[192|s>>6]+o[128|63&s]:s<55296||s>=57344?i+=o[224|s>>12]+o[128|s>>6&63]+o[128|63&s]:(a+=1,s=65536+((1023&s)<<10|1023&r.charCodeAt(a)),i+=o[240|s>>18]+o[128|s>>12&63]+o[128|s>>6&63]+o[128|63&s])}return i},isBuffer:function(t){return null!=t&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},merge:function t(e,n,o){if(!n)return e;if("object"!=typeof n){if(Array.isArray(e))e.push(n);else{if("object"!=typeof e)return[e,n];(o&&(o.plainObjects||o.allowPrototypes)||!r.call(Object.prototype,n))&&(e[n]=!0)}return e}if("object"!=typeof e)return[e].concat(n);var a=e;return Array.isArray(e)&&!Array.isArray(n)&&(a=i(e,o)),Array.isArray(e)&&Array.isArray(n)?(n.forEach(function(n,i){r.call(e,i)?e[i]&&"object"==typeof e[i]?e[i]=t(e[i],n,o):e.push(n):e[i]=n}),e):Object.keys(n).reduce(function(e,i){var a=n[i];return r.call(e,i)?e[i]=t(e[i],a,o):e[i]=a,e},a)}}},function(t,e,n){"use strict";var r=String.prototype.replace,o=/%20/g;t.exports={default:"RFC3986",formatters:{RFC1738:function(t){return r.call(t,o,"+")},RFC3986:function(t){return t}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.render=e.getOffset=e.almScroll=e.start=e.tracking=e.tab=e.filter=void 0;var r=E(n(132)),o=E(n(152));n(153);var i=E(n(154)),a=E(n(155)),s=E(n(95)),u=E(n(157)),c=E(n(158)),l=E(n(62)),d=E(n(159)),f=P(n(160)),p=P(n(96)),g=E(n(161)),h=E(n(162)),v=E(n(163)),m=E(n(164)),y=E(n(48)),_=E(n(63)),x=E(n(166)),b=E(n(167)),w=E(n(168)),S=E(n(169)),A=E(n(97)),j=n(170);function P(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function E(t){return t&&t.__esModule?t:{default:t}}function O(t){return function(){var e=t.apply(this,arguments);return new Promise(function(t,n){return function r(o,i){try{var a=e[o](i),s=a.value}catch(t){return void n(t)}if(!a.done)return Promise.resolve(s).then(function(t){r("next",t)},function(t){r("throw",t)});t(s)}("next")})}}n(171),n(338);var L=n(339),M=n(98);o.default.polyfill();var T=!1;!function(){var t=function(t,e){alm_localize&&"true"===alm_localize.scrolltop&&window.scrollTo(0,0);var n=this;n.AjaxLoadMore={},n.addons={},n.extensions={},n.window=window,n.page=0,n.posts=0,n.totalposts=0,n.proceed=!1,n.disable_ajax=!1,n.init=!0,n.loading=!0,n.finished=!1,n.timer=null,n.ua=window.navigator.userAgent?window.navigator.userAgent:"",n.vendor=window.navigator.vendor?window.navigator.vendor:"",n.isSafari=/Safari/i.test(n.ua)&&/Apple Computer/.test(n.vendor)&&!/Mobi|Android/i.test(n.ua),n.main=t,n.master_id=t.dataset.id?"ajax-load-more-"+t.dataset.id:t.id,t.classList.add("alm-"+e),t.setAttribute("data-alm-id",e),n.master_id=n.master_id.replace(/-/g,"_"),n.localize=window[n.master_id+"_vars"],n.main=t,n.listing=t.querySelector(".alm-listing")||t.querySelector(".alm-comments"),n.content=n.listing,n.el=n.content,n.ajax=t.querySelector(".alm-ajax"),n.container_type=n.listing.dataset.containerType,n.canonical_url=t.dataset.canonicalUrl,n.nested=t.dataset.nested?t.dataset.nested:null,n.is_search=t.dataset.search,n.slug=t.dataset.slug,n.post_id=t.dataset.postId,n.id=t.dataset.id?t.dataset.id:"";var o=t.querySelector(".alm-no-results");if(n.no_results=o?o.innerHTML:"",n.repeater=n.listing.dataset.repeater,n.theme_repeater=n.listing.dataset.themeRepeater,n.post_type=n.listing.dataset.postType?n.listing.dataset.postType:"post",n.sticky_posts=n.listing.dataset.stickyPosts?n.listing.dataset.stickyPosts:null,n.btnWrap=t.querySelectorAll(".alm-btn-wrap"),n.btnWrap=Array.prototype.slice.call(n.btnWrap),n.btnWrap[n.btnWrap.length-1].style.visibility="visible",n.trigger=n.btnWrap[n.btnWrap.length-1],n.button_label=n.listing.dataset.buttonLabel,n.button_loading_label=n.listing.dataset.buttonLoadingLabel,n.placeholder=n.main.querySelector(".alm-placeholder"),n.scroll_distance=n.listing.dataset.scrollDistance,n.scroll_distance=n.scroll_distance?n.scroll_distance:100,n.scroll_container=n.listing.dataset.scrollContainer,n.max_pages=n.listing.dataset.maxPages?parseInt(n.listing.dataset.maxPages):0,n.pause_override=n.listing.dataset.pauseOverride,n.pause=n.listing.dataset.pause,n.transition=n.listing.dataset.transition,n.transition_container=n.listing.dataset.transitionContainer,n.tcc=n.listing.dataset.transitionContainerClasses,n.speed=alm_localize.speed?parseInt(alm_localize.speed):200,n.images_loaded=!!n.listing.dataset.imagesLoaded&&n.listing.dataset.imagesLoaded,n.destroy_after=n.listing.dataset.destroyAfter?n.listing.dataset.destroyAfter:"",n.orginal_posts_per_page=parseInt(n.listing.dataset.postsPerPage),n.posts_per_page=n.listing.dataset.postsPerPage,n.offset=n.listing.dataset.offset?parseInt(n.listing.dataset.offset):0,n.addons.cache=n.listing.dataset.cache,n.addons.cache=void 0!==n.addons.cache&&n.addons.cache,n.addons.cache_id=n.listing.dataset.cacheId,n.addons.cache_path=n.listing.dataset.cachePath,n.addons.cache_logged_in=n.listing.dataset.cacheLoggedIn,n.addons.cache_logged_in=void 0!==n.addons.cache_logged_in&&n.addons.cache_logged_in,n.addons.cta=n.listing.dataset.cta,n.addons.cta_position=n.listing.dataset.ctaPosition,n.addons.cta_repeater=n.listing.dataset.ctaRepeater,n.addons.cta_theme_repeater=n.listing.dataset.ctaThemeRepeater,n.addons.nextpage=n.listing.dataset.nextpage,n.addons.nextpage_urls=n.listing.dataset.nextpageUrls,n.addons.nextpage_scroll=n.listing.dataset.nextpageScroll,n.addons.nextpage_pageviews=n.listing.dataset.nextpagePageviews,n.addons.nextpage_post_id=n.listing.dataset.nextpagePostId,n.addons.nextpage_startpage=n.listing.dataset.nextpageStartpage,n.addons.single_post=n.listing.dataset.singlePost,n.addons.single_post_id=n.listing.dataset.singlePostId,n.addons.single_post_order=n.listing.dataset.singlePostOrder,n.addons.single_post_init_id=n.listing.dataset.singlePostId,n.addons.single_post_taxonomy=n.listing.dataset.singlePostTaxonomy,n.addons.single_post_excluded_terms=n.listing.dataset.singlePostExcludedTerms,n.addons.single_post_progress_bar=n.listing.dataset.singlePostProgressBar,n.addons.comments=n.listing.dataset.comments,n.addons.comments_post_id=n.listing.dataset.comments_post_id,n.addons.comments_per_page=n.listing.dataset.comments_per_page,n.addons.comments_per_page=void 0===n.addons.comments_per_page?"5":n.addons.comments_per_page,n.addons.comments_type=n.listing.dataset.comments_type,n.addons.comments_style=n.listing.dataset.comments_style,n.addons.comments_template=n.listing.dataset.comments_template,n.addons.comments_callback=n.listing.dataset.comments_callback,n.addons.tabs=n.listing.dataset.tabs,n.addons.filters=n.listing.dataset.filters,n.addons.seo=n.listing.dataset.seo,n.addons.preloaded=n.listing.dataset.preloaded,n.addons.preloaded_amount=n.listing.dataset.preloadedAmount?n.listing.dataset.preloadedAmount:0,n.is_preloaded="true"===n.listing.dataset.isPreloaded,n.addons.paging=n.listing.dataset.paging,n.addons.users="true"===n.listing.dataset.users,n.addons.users&&(n.orginal_posts_per_page=n.listing.dataset.usersPerPage,n.posts_per_page=n.listing.dataset.usersPerPage),n.extensions.restapi=n.listing.dataset.restapi,n.extensions.restapi_base_url=n.listing.dataset.restapiBaseUrl,n.extensions.restapi_namespace=n.listing.dataset.restapiNamespace,n.extensions.restapi_endpoint=n.listing.dataset.restapiEndpoint,n.extensions.restapi_template_id=n.listing.dataset.restapiTemplateId,n.extensions.restapi_debug=n.listing.dataset.restapiDebug,n.extensions.acf=n.listing.dataset.acf,n.extensions.acf_field_type=n.listing.dataset.acfFieldType,n.extensions.acf_field_name=n.listing.dataset.acfFieldName,n.extensions.acf_parent_field_name=n.listing.dataset.acfParentFieldName,n.extensions.acf_post_id=n.listing.dataset.acfPostId,n.extensions.acf="true"===n.extensions.acf,void 0!==n.extensions.acf_field_type&&void 0!==n.extensions.acf_field_name&&void 0!==n.extensions.acf_post_id||(n.extensions.acf=!1),n.extensions.term_query=n.listing.dataset.termQuery,n.extensions.term_query_taxonomy=n.listing.dataset.termQueryTaxonomy,n.extensions.term_query_fields=n.listing.dataset.termQueryFields,n.extensions.term_query_number=n.listing.dataset.termQueryNumber,n.extensions.term_query="true"===n.extensions.term_query,"true"===n.addons.paging?(n.addons.paging=!0,n.addons.paging_init=!0,n.addons.paging_controls="true"===n.listing.dataset.pagingControls,n.addons.paging_show_at_most=n.listing.dataset.pagingShowAtMost,n.addons.paging_classes=n.listing.dataset.pagingClasses,n.addons.paging_show_at_most=void 0===n.addons.paging_show_at_most?7:n.addons.paging_show_at_most,n.addons.paging_first_label=n.listing.dataset.pagingFirstLabel,n.addons.paging_previous_label=n.listing.dataset.pagingPreviousLabel,n.addons.paging_next_label=n.listing.dataset.pagingNextLabel,n.addons.paging_last_label=n.listing.dataset.pagingLastLabel,n.pause="true"===n.addons.preloaded||n.pause):n.addons.paging=!1,"true"===n.addons.filters){n.addons.filters=!0,n.addons.filters_url="true"===n.listing.dataset.filtersUrl,n.addons.filters_paging="true"===n.listing.dataset.filtersPaging,n.addons.filters_scroll="true"===n.listing.dataset.filtersScroll,n.addons.filters_scrolltop=n.listing.dataset.filtersScrolltop?n.listing.dataset.filtersScrolltop:"30",n.addons.filters_analtyics=n.listing.dataset.filtersAnalytics,n.addons.filters_debug=n.listing.dataset.filtersDebug,n.addons.filters_startpage=0;var x=(0,a.default)("pg");n.addons.filters_startpage=null!==x?parseInt(x):0,!n.addons.paging&&n.addons.filters_startpage>0&&(n.posts_per_page=n.posts_per_page*n.addons.filters_startpage,n.isPaged=n.addons.filters_startpage>0)}else n.addons.filters=!1;if("true"===n.addons.tabs){if(n.addons.tabs=!0,n.addons.tab_template=n.listing.dataset.tabTemplate?n.listing.dataset.tabTemplate:"",n.addons.tab_onload=n.listing.dataset.tabOnload?n.listing.dataset.tabOnload:"",n.addons.tabs_resturl=n.listing.dataset.tabsRestUrl?n.listing.dataset.tabsRestUrl:"",""!==n.addons.tab_onload){var P=document.querySelector(".alm-tab-nav li [data-tab-url="+n.addons.tab_onload+"]");if(n.addons.tab_template=P?P.dataset.tabTemplate:n.addons.tab_template,n.listing.dataset.tabOnload="",P){var E=document.querySelector(".alm-tab-nav li .active");E&&E.classList.remove("active")}}}else n.addons.tabs=!1;if("true"===n.extensions.restapi?(n.extensions.restapi=!0,n.extensions.restapi_debug=void 0!==n.extensions.restapi_debug&&n.extensions.restapi_debug,n.extensions.restapi=""!==n.extensions.restapi_template_id&&n.extensions.restapi):n.extensions.restapi=!1,"true"===n.addons.preloaded?(n.addons.preloaded_amount=void 0===n.addons.preloaded_amount?n.posts_per_page:n.addons.preloaded_amount,n.localize&&n.localize.total_posts&&parseInt(n.localize.total_posts)<=parseInt(n.addons.preloaded_amount)&&(n.addons.preloaded_total_posts=n.localize.total_posts,n.disable_ajax=!0)):n.addons.preloaded="false",n.addons.seo=void 0!==n.addons.seo&&n.addons.seo,n.addons.seo="true"===n.addons.seo||n.addons.seo,n.is_search=void 0!==n.is_search&&n.is_search,n.search_value="true"===n.is_search?n.slug:"",n.addons.seo_permalink=n.listing.dataset.seoPermalink,n.addons.seo_pageview=n.listing.dataset.seoPageview,n.addons.seo_trailing_slash="false"===n.listing.dataset.seoTrailingSlash?"":"/",n.addons.seo_leading_slash="true"===n.listing.dataset.seoLeadingSlash?"/":"",n.start_page=n.listing.dataset.seoStartPage,n.start_page?(n.addons.seo_scroll=n.listing.dataset.seoScroll,n.addons.seo_scrolltop=n.listing.dataset.seoScrolltop,n.addons.seo_controls=n.listing.dataset.seoControls,n.isPaged=!1,n.start_page>1&&(n.isPaged=!0,n.posts_per_page=n.start_page*n.posts_per_page),n.addons.paging&&(n.posts_per_page=n.orginal_posts_per_page)):n.start_page=1,"true"===n.addons.nextpage?(n.addons.nextpage=!0,n.posts_per_page=1):n.addons.nextpage=!1,void 0===n.addons.nextpage_urls&&(n.addons.nextpage_urls="true"),void 0===n.addons.nextpage_scroll&&(n.addons.nextpage_scroll="250:30"),void 0===n.addons.nextpage_pageviews&&(n.addons.nextpage_pageviews="true"),void 0===n.addons.nextpage_post_id&&(n.addons.nextpage=!1,n.addons.nextpage_post_id=null),void 0===n.addons.nextpage_startpage&&(n.addons.nextpage_startpage=1),n.addons.nextpage_startpage>1&&(n.isPaged=!0),"true"===n.addons.single_post?(n.addons.single_post=!0,n.addons.single_post_permalink="",n.addons.single_post_title="",n.addons.single_post_slug=""):n.addons.single_post=!1,void 0===n.addons.single_post_id&&(n.addons.single_post_id="",n.addons.single_post_init_id=""),n.addons.single_post_order=void 0===n.addons.single_post_order?"previous":n.addons.single_post_order,n.addons.single_post_taxonomy=void 0===n.addons.single_post_taxonomy?"":n.addons.single_post_taxonomy,n.addons.single_post_excluded_terms=void 0===n.addons.single_post_excluded_terms?"":n.addons.single_post_excluded_terms,n.addons.single_post_progress_bar=void 0===n.addons.single_post_progress_bar?"":n.addons.single_post_progress_bar,n.addons.single_post_title_template=n.listing.dataset.singlePostTitleTemplate,n.addons.single_post_siteTitle=n.listing.dataset.singlePostSiteTitle,n.addons.single_post_siteTagline=n.listing.dataset.singlePostSiteTagline,n.addons.single_post_pageview=n.listing.dataset.singlePostPageview,n.addons.single_post_scroll=n.listing.dataset.singlePostScroll,n.addons.single_post_scroll_speed=n.listing.dataset.singlePostScrollSpeed,n.addons.single_post_scroll_top=n.listing.dataset.singlePostScrolltop,n.addons.single_post_controls=n.listing.dataset.singlePostControls,(void 0===n.pause||n.addons.seo&&n.start_page>1)&&(n.pause=!1),"true"===n.addons.preloaded&&n.addons.seo&&n.start_page>0&&(n.pause=!1),n.addons.filters&&n.addons.filters_startpage>0&&(n.pause=!1),"true"===n.addons.preloaded&&n.addons.paging&&(n.pause=!0),n.repeater=void 0===n.repeater?"default":n.repeater,n.theme_repeater=void 0!==n.theme_repeater&&n.theme_repeater,n.max_pages=void 0===n.max_pages||0===n.max_pages?1e4:n.max_pages,n.scroll_distance=void 0===n.scroll_distance?100:n.scroll_distance,n.scroll_distance_perc=!1,-1==n.scroll_distance.toString().indexOf("%")?n.scroll_distance=parseInt(n.scroll_distance):(n.scroll_distance_perc=!0,n.scroll_distance_orig=parseInt(n.scroll_distance),n.scroll_distance=(0,S.default)(n)),n.scroll_container=void 0===n.scroll_container?"":n.scroll_container,n.transition=void 0===n.transition?"fade":n.transition,n.tcc=void 0===n.tcc?"":n.tcc,n.is_masonry_preloaded=!1,"masonry"===n.transition&&(n.masonry_init=!0,n.msnry?n.msnry.destroy():n.msnry="",n.masonry_selector=n.listing.dataset.masonrySelector,n.masonry_columnwidth=n.listing.dataset.masonryColumnwidth,n.masonry_animation=n.listing.dataset.masonryAnimation,n.masonry_animation=void 0===n.masonry_animation?"standard":n.masonry_animation,n.masonry_horizontalorder=n.listing.dataset.masonryHorizontalorder,n.masonry_horizontalorder=void 0===n.masonry_horizontalorder?"true":n.masonry_horizontalorder,n.transition_container=!1,n.images_loaded=!1,n.is_masonry_preloaded="true"===n.addons.preloaded||n.is_masonry_preloaded),void 0===n.listing.dataset.scroll?n.scroll=!0:"false"===n.listing.dataset.scroll?n.scroll=!1:n.scroll=!0,n.transition_container=void 0===n.transition_container||"true"===n.transition_container,n.button_label=void 0===n.button_label?"Older Posts":n.button_label,n.button_loading_label=void 0!==n.button_loading_label&&n.button_loading_label,n.addons.paging)n.main.classList.add("loading");else{var I=t.childNodes;if(I){var F=Array.prototype.slice.call(I).filter(function(t){return!!t.classList&&t.classList.contains("alm-btn-wrap")});n.button=F?F[0].querySelector(".alm-load-more-btn"):container.querySelector(".alm-btn-wrap .alm-load-more-btn")}else n.button=container.querySelector(".alm-btn-wrap .alm-load-more-btn");n.button.disabled=!1}if(n.resultsText=document.querySelector(".alm-results-text"),n.resultsText?(n.resultsText.setAttribute("aria-live","polite"),n.resultsText.setAttribute("aria-atomic","true")):n.resultsText=!1,n.AjaxLoadMore.loadPosts=function(){if("function"==typeof almOnChange&&window.almOnChange(n),(0,j.showPlaceholder)(n),!n.disable_ajax)if(n.addons.paging||(n.button.classList.add("loading"),!1!==n.button_loading_label&&(n.button.innerHTML=n.button_loading_label)),n.main.classList.add("alm-loading"),n.loading=!0,"true"!==n.addons.cache||n.addons.cache_logged_in)n.AjaxLoadMore.ajax("standard");else{var t=(0,c.default)(n);t?r.default.get(t).then(function(t){n.AjaxLoadMore.success(t.data,!0)}).catch(function(t){n.AjaxLoadMore.ajax("standard")}):n.AjaxLoadMore.ajax("standard")}},n.AjaxLoadMore.ajax=function(t){var e="alm_get_posts";n.acf_array="",n.extensions.acf&&("relationship"!==n.extensions.acf_field_type&&(e="alm_acf"),n.acf_array={acf:"true",post_id:n.extensions.acf_post_id,field_type:n.extensions.acf_field_type,field_name:n.extensions.acf_field_name,parent_field_name:n.extensions.acf_parent_field_name}),n.term_query_array="",n.extensions.term_query&&(e="alm_get_terms",n.term_query_array={term_query:"true",taxonomy:n.extensions.term_query_taxonomy,fields:n.extensions.term_query_fields,number:n.extensions.term_query_number}),n.nextpage_array="",n.addons.nextpage&&(e="alm_nextpage",n.nextpage_array={nextpage:"true",urls:n.addons.nextpage_urls,scroll:n.addons.nextpage_scroll,pageviews:n.addons.nextpage_pageviews,post_id:n.addons.nextpage_post_id,startpage:n.addons.nextpage_startpage}),n.single_post_array="",n.addons.single_post&&(n.single_post_array={single_post:"true",id:n.addons.single_post_id,slug:n.addons.single_post_slug}),n.comments_array="","true"===n.addons.comments&&(e="alm_comments",n.posts_per_page=n.addons.comments_per_page,n.comments_array={comments:"true",post_id:n.addons.comments_post_id,per_page:n.addons.comments_per_page,type:n.addons.comments_type,style:n.addons.comments_style,template:n.addons.comments_template,callback:n.addons.comments_callback}),n.users_array="",n.addons.users&&(e="alm_users",n.users_array={users:"true",role:n.listing.dataset.usersRole,include:n.listing.dataset.usersInclude,exclude:n.listing.dataset.usersExclude,per_page:n.posts_per_page,order:n.listing.dataset.usersOrder,orderby:n.listing.dataset.usersOrderby}),n.cta_array="","true"===n.addons.cta&&(n.cta_array={cta:"true",cta_position:n.addons.cta_position,cta_repeater:n.addons.cta_repeater,cta_theme_repeater:n.addons.cta_theme_repeater}),n.extensions.restapi?n.AjaxLoadMore.restapi(n,e,t):n.addons.tabs?n.AjaxLoadMore.tabs(n):n.AjaxLoadMore.adminajax(n,e,t)},n.AjaxLoadMore.adminajax=function(t,e,n){1==t.page||t.addons.paging||t.button.classList.add("loading"),r.default.interceptors.request.use(function(t){return t.paramsSerializer=function(t){return L.stringify(t,{arrayFormat:"brackets",encode:!1})},t});var o=alm_localize.ajaxurl,i=f.almGetAjaxParams(t,e,n);r.default.get(o,{params:i}).then(function(e){var r=e.data;"standard"===n?t.AjaxLoadMore.success(r,!1):"totalpages"===n&&t.addons.paging&&t.addons.nextpage?"function"==typeof almBuildPagination&&window.almBuildPagination(r.totalpages,t):"totalposts"===n&&t.addons.paging&&"function"==typeof almBuildPagination&&window.almBuildPagination(r.totalposts,t)}).catch(function(e){t.AjaxLoadMore.error(e,"adminajax")})},n.AjaxLoadMore.tabs=function(t){var e=t.addons.tabs_resturl+"ajaxloadmore/tab",n={post_id:t.post_id,template:t.addons.tab_template};r.default.interceptors.request.use(function(t){return t.paramsSerializer=function(t){return L.stringify(t,{arrayFormat:"brackets",encode:!1})},t}),r.default.get(e,{params:n}).then(function(e){var n={html:e.data.html,meta:{postcount:1,totalposts:1}};t.AjaxLoadMore.success(n,!1),"function"==typeof almTabLoaded&&window.almTabLoaded(t)}).catch(function(e){t.AjaxLoadMore.error(e,"restapi")})},n.AjaxLoadMore.restapi=function(t,e,n){var o=wp.template(t.extensions.restapi_template_id),i=t.extensions.restapi_base_url+"/"+t.extensions.restapi_namespace+"/"+t.extensions.restapi_endpoint,a=f.almGetRestParams(t);r.default.interceptors.request.use(function(t){return t.paramsSerializer=function(t){return L.stringify(t,{arrayFormat:"brackets",encode:!1})},t}),r.default.get(i,{params:a}).then(function(e){for(var n=e.data,r="",i=n.html,a=n.meta,s=a.postcount,u=a.totalposts,c=0;c<i.length;c++){var l=i[c];"true"===t.restapi_debug&&console.log(l),r+=o(l)}var d={html:r,meta:{postcount:s,totalposts:u}};t.AjaxLoadMore.success(d,!1)}).catch(function(e){t.AjaxLoadMore.error(e,"restapi")})},n.addons.paging&&(n.addons.nextpage?n.AjaxLoadMore.ajax("totalpages"):n.AjaxLoadMore.ajax("totalposts")),n.AjaxLoadMore.success=function(t,e){n.addons.single_post&&n.AjaxLoadMore.getSinglePost();var r=!1,o="table"===n.container_type?document.createElement("tbody"):document.createElement("div");n.el=o,o.style.opacity=0,o.style.height=0,o.style.outline="none";var a,c,f,p=n.listing.querySelector(".alm-paging-content");if(e?a=t:(a=t.html,c=t.meta,n.posts=n.addons.paging?c.postcount:n.posts+c.postcount,f=c.postcount,n.totalposts=c.totalposts,n.totalposts="true"===n.addons.preloaded?n.totalposts-n.addons.preloaded_amount:n.totalposts,n.debug=c.debug?c.debug:""),n.html=a,f=e?(0,l.default)(a).length:f,n.init&&(c&&(n.main.dataset.totalPosts=c.totalposts?c.totalposts:0),n.addons.paging&&f>0&&n.AjaxLoadMore.pagingInit(a,"alm-reveal"),0===f&&(n.addons.paging&&"function"==typeof almPagingEmpty&&window.almPagingEmpty(n),"function"==typeof almEmpty&&window.almEmpty(n),n.no_results&&setTimeout(function(){(0,b.default)(n.content,n.no_results)},n.speed+10)),n.isPaged&&(n.posts_per_page=n.users?n.listing.dataset.usersPerPage:n.listing.dataset.postsPerPage,n.page=n.start_page?n.start_page-1:n.page,n.addons.filters&&n.addons.filters_startpage>0&&(n.page=n.addons.filters_startpage-1,n.posts_per_page=n.listing.dataset.postsPerPage))),(0,w.default)(n),(0,g.default)(n),f>0){if(n.addons.paging)n.init?setTimeout(function(){n.main.classList.remove("alm-loading"),n.AjaxLoadMore.triggerAddons(n)},n.speed):p&&((0,_.default)(p,n.speed),p.style.outline="none",n.main.classList.remove("alm-loading"),setTimeout(function(){p.style.opacity=0,p.innerHTML=n.html,M(p,function(){n.AjaxLoadMore.triggerAddons(n),(0,y.default)(p,n.speed),setTimeout(function(){p.style.opacity=""},parseInt(n.speed)+25),"function"==typeof almOnPagingComplete&&window.almOnPagingComplete(n)})},parseInt(n.speed)+25));else{if(n.addons.single_post)o.setAttribute("class","alm-reveal alm-single-post post-"+n.addons.single_post_id+n.tcc),o.dataset.url=n.addons.single_post_permalink,o.dataset.page=n.page,o.dataset.id=n.addons.single_post_id,o.dataset.title=n.addons.single_post_title,o.innerHTML=n.html;else if(n.transition_container){var x=void 0,S=window.location.search,j=n.addons.seo?" alm-seo":"",P=n.addons.filters?" alm-filters":"",E=n.is_preloaded?" alm-preloaded":"";if(n.init&&(n.start_page>1||n.addons.filters_startpage>0)){var L=[],I=[],F=parseInt(n.posts_per_page),N=Math.ceil(f/F);r=!0,"true"===n.addons.cta&&(F+=1,N=Math.ceil(f/F),f=N+f);for(var k=(0,d.default)((0,l.default)(n.html,"text/html")),C=0;C<f;C+=F)L.push(k.slice(C,F+C));for(var R=0;R<L.length;R++){var D="true"===n.addons.preloaded?1:0,q=document.createElement("div");R>0||"true"===n.addons.preloaded?(x=R+1+D,n.addons.seo&&("default"===n.addons.seo_permalink?(q.setAttribute("class","alm-reveal"+j+n.tcc),q.dataset.url=n.canonical_url+S+"&paged="+x,q.dataset.page=x):(q.setAttribute("class","alm-reveal"+j+n.tcc),q.dataset.url=n.canonical_url+n.addons.seo_leading_slash+"page/"+x+n.addons.seo_trailing_slash+S,q.dataset.page=x)),n.addons.filters&&(q.setAttribute("class","alm-reveal"+P+n.tcc),q.dataset.url=n.canonical_url+n.AjaxLoadMore.buildFilterURL(S,x),q.dataset.page=x)):(n.addons.seo&&(q.setAttribute("class","alm-reveal"+j+n.tcc),q.dataset.url=n.canonical_url+S,q.dataset.page="1"),n.addons.filters&&(q.setAttribute("class","alm-reveal"+P+E+n.tcc),q.dataset.url=n.canonical_url+n.AjaxLoadMore.buildFilterURL(S,0),q.dataset.page="1")),(0,s.default)(q,L[R]),(0,A.default)(q,n.ua),I.push(q)}n.listing.style.opacity=0,n.listing.style.height=0,(0,s.default)(n.listing,I),o=n.listing,n.el=o}else{if(n.addons.seo&&n.page>0||"true"===n.addons.preloaded){var B="true"===n.addons.preloaded?1:0;x=n.page+1+B,n.addons.seo?"default"===n.addons.seo_permalink?(o.setAttribute("class","alm-reveal"+j+n.tcc),o.dataset.url=n.canonical_url+S+"&paged="+x,o.dataset.page=x):(o.setAttribute("class","alm-reveal"+j+n.tcc),o.dataset.url=n.canonical_url+n.addons.seo_leading_slash+"page/"+x+n.addons.seo_trailing_slash+S,o.dataset.page=x):n.addons.filters?(o.setAttribute("class","alm-reveal"+P+n.tcc),o.dataset.url=n.canonical_url+n.AjaxLoadMore.buildFilterURL(S,x),o.dataset.page=x):o.setAttribute("class","alm-reveal"+n.tcc)}else n.addons.filters?(o.setAttribute("class","alm-reveal"+P+n.tcc),o.dataset.url=n.canonical_url+n.AjaxLoadMore.buildFilterURL(S,parseInt(n.page)+1),o.dataset.page=parseInt(n.page)+1):n.addons.seo?(o.setAttribute("class","alm-reveal"+j+n.tcc),o.dataset.url=n.canonical_url+S,o.dataset.page="1"):o.setAttribute("class","alm-reveal"+n.tcc);o.innerHTML=n.html}}else n.el=n.html,o="table"===n.container_type?(0,u.default)(n.html):(0,l.default)(n.html,"text/html");("masonry"!==n.transition||n.init&&!n.is_masonry_preloaded)&&(r||(n.transition_container?n.listing.appendChild(o):"true"===n.images_loaded?M(o,function(){(0,s.default)(n.listing,o),(0,A.default)(n.listing,n.ua)}):((0,s.default)(n.listing,o),(0,A.default)(n.listing,n.ua)))),"masonry"===n.transition?(n.el=n.listing,O(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,m.default)(n,n.init,T);case 2:n.masonry_init=!1,n.AjaxLoadMore.transitionEnd(),"function"==typeof almComplete&&window.almComplete(n);case 5:case"end":return t.stop()}},t,this)}))().catch(function(t){console.log("There was an error with ALM Masonry")})):"none"===n.transition?"true"===n.images_loaded?M(o,function(){(0,y.default)(o,0),n.AjaxLoadMore.transitionEnd()}):((0,y.default)(o,0),n.AjaxLoadMore.transitionEnd()):"true"===n.images_loaded?M(o,function(){n.transition_container&&(0,y.default)(o,n.speed),n.AjaxLoadMore.transitionEnd()}):(n.transition_container&&(0,y.default)(o,n.speed),n.AjaxLoadMore.transitionEnd()),n.addons.tabs&&"function"==typeof almTabsSetHeight&&M(o,function(){(0,y.default)(n.listing,n.speed),setTimeout(function(){window.almTabsSetHeight(n)},n.speed)})}M(o,function(){n.AjaxLoadMore.nested(o),h.default.init(n.el),"function"==typeof almComplete&&"masonry"!==n.transition&&window.almComplete(n),"function"==typeof almFiltersOnload&&n.init&&window.almFiltersOnload(n),n.addons.cache?f<n.posts_per_page&&n.AjaxLoadMore.triggerDone():n.posts>=n.totalposts&&!n.addons.single_post&&n.AjaxLoadMore.triggerDone()})}else n.addons.paging||(setTimeout(function(){n.button.classList.remove("loading"),n.button.classList.add("done")},n.speed),n.AjaxLoadMore.resetBtnText()),n.AjaxLoadMore.triggerDone();if(void 0!==n.destroy_after&&""!==n.destroy_after){var U=n.page+1;(U="true"===n.addons.preloaded?U++:U)==n.destroy_after&&n.AjaxLoadMore.destroyed()}(0,v.default)(n,o,f,T),(0,i.default)(n.addons.comments,n.listing),n.main.classList.contains("alm-is-filtering")&&n.main.classList.remove("alm-is-filtering"),T=n.init=!1},n.AjaxLoadMore.pagingPreloadedInit=function(t){t=null==t?"":t,n.AjaxLoadMore.pagingInit(t,"alm-reveal"),""===t&&("function"==typeof almPagingEmpty&&window.almPagingEmpty(n),"function"==typeof almEmpty&&window.almEmpty(n),n.no_results&&(0,b.default)(n.content,n.no_results))},n.AjaxLoadMore.pagingNextpageInit=function(t){t=null==t?"":t,n.AjaxLoadMore.pagingInit(t,"alm-reveal alm-nextpage"),"function"==typeof almSetNextPageVars&&window.almSetNextPageVars(n)},n.AjaxLoadMore.pagingInit=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"alm-reveal";t=null==t?"":t;var r=document.createElement("div");r.setAttribute("class",e);var o=document.createElement("div");o.setAttribute("class","alm-paging-content"+n.tcc),o.innerHTML=t,r.appendChild(o);var i=document.createElement("div");i.setAttribute("class","alm-paging-loading"),r.appendChild(i),n.listing.appendChild(r);var a=window.getComputedStyle(n.listing),s=parseInt(a.getPropertyValue("padding-top").replace("px","")),u=parseInt(a.getPropertyValue("padding-bottom").replace("px","")),c=r.offsetHeight;n.listing.style.height=c+s+u+"px",n.AjaxLoadMore.resetBtnText(),setTimeout(function(){"function"==typeof almFadePageControls&&window.almFadePageControls(n.btnWrap),"function"==typeof almOnWindowResize&&window.almOnWindowResize(n),n.main.classList.remove("loading")},n.speed)},n.AjaxLoadMore.nested=function(t){if(!t||!n.transition_container)return!1;var e=t.querySelectorAll(".ajax-load-more-wrap");e&&e.forEach(function(t){window.almInit(t)})},n.addons.single_post_id&&(n.fetchingPreviousPost=!1,n.addons.single_post_init=!0),n.AjaxLoadMore.getSinglePost=function(){if(n.fetchingPreviousPost)return!1;n.fetchingPreviousPost=!0;var t=alm_localize.ajaxurl,e={id:n.addons.single_post_id,initial_id:n.addons.single_post_init_id,order:n.addons.single_post_order,taxonomy:n.addons.single_post_taxonomy,excluded_terms:n.addons.single_post_excluded_terms,post_type:n.post_type,init:n.addons.single_post_init,action:"alm_get_single"};r.default.get(t,{params:e}).then(function(t){var e=t.data;e.has_previous_post?(n.listing.dataset.singlePostId=e.prev_id,n.addons.single_post_id=e.prev_id,n.addons.single_post_permalink=e.prev_permalink,n.addons.single_post_title=e.prev_title,n.addons.single_post_slug=e.prev_slug):e.has_previous_post||n.AjaxLoadMore.triggerDone(),"function"==typeof window.almSetSinglePost&&window.almSetSinglePost(n,e.current_id,e.permalink,e.title),n.fetchingPreviousPost=!1,n.addons.single_post_init=!1}).catch(function(t){n.AjaxLoadMore.error(t,"getSinglePost"),n.fetchingPreviousPost=!1})},n.AjaxLoadMore.triggerAddons=function(t){"function"==typeof almSEO&&window.almSEO(t,!1),"function"==typeof almSetNextPage&&window.almSetNextPage(t)},n.AjaxLoadMore.triggerDone=function(){n.loading=!1,n.finished=!0,n.addons.paging||(n.button.classList.add("done"),n.button.disabled=!0),"function"==typeof almDone&&setTimeout(function(){window.almDone(n),(0,j.hidePlaceholder)(n)},n.speed+10)},n.AjaxLoadMore.resetBtnText=function(){!1===n.button_loading_label||n.addons.paging||(n.button.innerHTML=n.button_label)},n.AjaxLoadMore.error=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;n.loading=!1,n.addons.paging||(n.button.classList.remove("loading"),n.AjaxLoadMore.resetBtnText()),console.log("Error: ",t),t.response?console.log("Error Msg: ",t.message):t.request?console.log(t.request):console.log("Error Msg: ",t.message),e&&console.log("ALM Error started in "+e),t.config&&console.log("ALM Error Debug: ",t.config)},n.AjaxLoadMore.click=function(t){var e=t.target||t.currentTarget;"true"===n.pause&&(n.pause=!1,n.pause_override=!1,n.AjaxLoadMore.loadPosts()),n.loading||n.finished||e.classList.contains("done")||(n.loading=!0,n.page++,n.AjaxLoadMore.loadPosts())},n.addons.paging||n.fetchingPreviousPost||(n.button.onclick=n.AjaxLoadMore.click),n.addons.paging||n.addons.tabs||n.scroll_distance_perc){var N=void 0;n.window.onresize=function(){clearTimeout(N),N=setTimeout(function(t){n.addons.tabs&&"function"==typeof almOnTabsWindowResize&&window.almOnTabsWindowResize(n),n.addons.paging&&"function"==typeof almOnWindowResize&&window.almOnWindowResize(n),n.scroll_distance_perc&&(n.scroll_distance=(0,S.default)(n))},n.speed)}}n.AjaxLoadMore.isVisible=function(){return n.visible=n.main.clientWidth>0&&n.main.clientHeight>0,n.visible},n.AjaxLoadMore.scroll=function(){n.timer&&clearTimeout(n.timer),n.timer=setTimeout(function(){if(n.AjaxLoadMore.isVisible()&&!n.fetchingPreviousPost){var t=n.trigger.getBoundingClientRect(),e=Math.round(t.top-n.window.innerHeight)+n.scroll_distance<=0;if(n.window!==window)e=n.window.querySelector(".ajax-load-more-wrap").offsetHeight<=Math.round(n.window.scrollTop+n.window.offsetHeight-n.scroll_distance);!n.loading&&!n.finished&&e&&n.page<n.max_pages-1&&n.proceed&&"true"===n.pause&&"true"===n.pause_override?n.button.click():!n.loading&&!n.finished&&e&&n.page<n.max_pages-1&&n.proceed&&"true"!==n.pause&&n.button.click()}},25)},n.scroll&&!n.addons.paging&&(""!==n.scroll_container&&(n.window=document.querySelector(n.scroll_container)?document.querySelector(n.scroll_container):n.window),n.window.addEventListener("scroll",n.AjaxLoadMore.scroll),n.window.addEventListener("touchstart",n.AjaxLoadMore.scroll),n.window.addEventListener("wheel",function(t){Math.sign(t.deltaY)>0&&n.AjaxLoadMore.scroll()}),n.window.addEventListener("keyup",function(t){switch(t.keyCode?t.keyCode:t.which){case 35:case 34:n.AjaxLoadMore.scroll()}})),n.AjaxLoadMore.destroyed=function(){n.disable_ajax=!0,n.addons.paging||(n.button.style.display="none",n.AjaxLoadMore.triggerDone(),"function"==typeof almDestroyed&&window.almDestroyed(n))},n.AjaxLoadMore.transitionEnd=function(){setTimeout(function(){n.AjaxLoadMore.resetBtnText(),n.main.classList.remove("alm-loading"),n.button.classList.remove("loading"),n.AjaxLoadMore.triggerAddons(n),n.addons.paging||setTimeout(function(){n.loading=!1},3*n.speed)},100),(0,j.hidePlaceholder)(n)},n.AjaxLoadMore.setLocalizedVar=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";n.localize&&""!==t&&""!==e&&(n.localize[t]=e.toString(),window[n.master_id+"_vars"][t]=e.toString())},n.AjaxLoadMore.getQueryVariable=function(t){for(var e=window.location.search.substring(1).split("&"),n=0;n<e.length;n++){var r=e[n].split("=");if(decodeURIComponent(r[0])==t)return decodeURIComponent(r[1])}return!1},n.AjaxLoadMore.buildFilterURL=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=t;return n.addons.filters_paging&&(r=e>1?r?n.AjaxLoadMore.getQueryVariable("pg")?t.replace(/(pg=)[^\&]+/,"$1"+e):t+"&pg="+e:"?pg="+e:"&"===(r="?"===(r=t.replace(/(pg=)[^\&]+/,""))?"":r)[r.length-1]?r.slice(0,-1):r),r},n.AjaxLoadMore.init=function(){if("true"===n.addons.preloaded&&1==n.destroy_after&&n.AjaxLoadMore.destroyed(),n.addons.paging||n.addons.single_post||(n.disable_ajax?(n.finished=!0,n.button.classList.add("done")):"true"===n.pause?(n.button.innerHTML=n.button_label,n.loading=!1):n.AjaxLoadMore.loadPosts()),n.addons.single_post&&(n.AjaxLoadMore.getSinglePost(),n.loading=!1),"true"===n.addons.preloaded&&n.addons.seo&&!n.addons.paging&&setTimeout(function(){"function"==typeof almSEO&&n.start_page<1&&window.almSEO(n,!0)},n.speed),"true"!==n.addons.preloaded||n.addons.paging||setTimeout(function(){n.addons.preloaded_total_posts<=parseInt(n.addons.preloaded_amount)&&n.AjaxLoadMore.triggerDone(),0==n.addons.preloaded_total_posts&&("function"==typeof almEmpty&&window.almEmpty(n),n.no_results&&(0,b.default)(n.content,n.no_results))},n.speed),"true"===n.addons.preloaded&&n.resultsText&&p.almInitResultsText(n,"preloaded"),n.addons.nextpage){if(n.listing.querySelector(".alm-nextpage")&&!n.addons.paging){var t=n.listing.querySelectorAll(".alm-nextpage"),e=n.listing.querySelector(".alm-nextpage:first-child");e&&t&&(e=e.dataset.totalPosts,(t=t.length)==e&&n.AjaxLoadMore.triggerDone())}n.resultsText&&p.almInitResultsText(n,"nextpage")}n.window.addEventListener("load",function(){n.is_masonry_preloaded&&O(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,m.default)(n,!0,!1);case 2:n.masonry_init=!1;case 3:case"end":return t.stop()}},t,this)}))().catch(function(t){console.log("There was an error with ALM Masonry")}),"function"==typeof almOnLoad&&window.almOnLoad(n)})},n.AjaxLoadMore.init(),setTimeout(function(){n.proceed=!0},n.speed),window.almUpdateCurrentPage=function(t,e,n){n.page=t,n.page=n.addons.nextpage&&!n.addons.paging?n.page-1:n.page;var r="",o="";n.addons.paging_init&&"true"===n.addons.preloaded?((o=n.listing.querySelector(".alm-reveal")||n.listing.querySelector(".alm-nextpage"))&&(r=o.innerHTML,o.parentNode.removeChild(o),n.addons.preloaded_amount=0,n.AjaxLoadMore.pagingPreloadedInit(r)),n.addons.paging_init=!1,n.init=!1):n.addons.paging_init&&n.addons.nextpage?((o=n.listing.querySelector(".alm-reveal")||n.listing.querySelector(".alm-nextpage"))&&(r=o.innerHTML,o.parentNode.removeChild(o),n.AjaxLoadMore.pagingNextpageInit(r)),n.addons.paging_init=!1,n.init=!1):n.AjaxLoadMore.loadPosts()},window.almGetParentContainer=function(){return n.listing},window.almGetObj=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""!==t?n[t]:n},window.almTriggerClick=function(){n.button.click()}};window.almInit=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;new t(e,n)};var e=document.querySelectorAll(".ajax-load-more-wrap");e.length&&[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(e)).forEach(function(e,n){new t(e,n)})}();e.filter=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"fade",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"200",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!t||!e||!n)return!1;T=!0,(0,x.default)(t,e,n,"filter")};e.tab=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=(arguments.length>1&&void 0!==arguments[1]&&arguments[1],alm_localize.speed?parseInt(alm_localize.speed):200);if(!t)return!1;T=!0,(0,x.default)("fade",e,t,"tab")};e.tracking=function(t){"function"==typeof gtag&&(gtag("event","page_view",{page_path:t}),alm_localize.ga_debug&&console.log("Pageview sent to Google Analytics (gtag)")),"function"==typeof ga&&(ga("send","pageview",t),alm_localize.ga_debug&&console.log("Pageview sent to Google Analytics (ga)")),"function"==typeof __gaTracker&&(__gaTracker("send","pageview",t),alm_localize.ga_debug&&console.log("Pageview sent to Google Analytics (__gaTracker)")),"function"==typeof almAnalytics&&window.almAnalytics(t)};e.start=function(t){if(!t)return!1;window.almInit(t)};e.almScroll=function(t){if(!t)return!1;window.scrollTo({top:t,behavior:"smooth"})};e.getOffset=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!t)return!1;var e=t.getBoundingClientRect(),n=window.pageXOffset||document.documentElement.scrollLeft,r=window.pageYOffset||document.documentElement.scrollTop;return{top:e.top+r,left:e.left+n}};e.render=function(t){arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t)return!1}},function(t,e,n){t.exports=n(133)},function(t,e,n){"use strict";var r=n(13),o=n(90),i=n(135),a=n(61);function s(t){var e=new i(t),n=o(i.prototype.request,e);return r.extend(n,i.prototype,e),r.extend(n,e),n}var u=s(a);u.Axios=i,u.create=function(t){return s(r.merge(a,t))},u.Cancel=n(94),u.CancelToken=n(150),u.isCancel=n(93),u.all=function(t){return Promise.all(t)},u.spread=n(151),t.exports=u,t.exports.default=u},function(t,e){function n(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}
|
13 |
/*!
|
14 |
* Determine if an object is a Buffer
|
15 |
*
|
16 |
* @author Feross Aboukhadijeh <https://feross.org>
|
17 |
* @license MIT
|
18 |
*/
|
19 |
-
t.exports=function(t){return null!=t&&(n(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))}(t)||!!t._isBuffer)}},function(t,e,n){"use strict";var r=n(61),o=n(13),i=n(145),a=n(146);function s(t){this.defaults=t,this.interceptors={request:new i,response:new i}}s.prototype.request=function(t){"string"==typeof t&&(t=o.merge({url:arguments[0]},arguments[1])),(t=o.merge(r,{method:"get"},this.defaults,t)).method=t.method.toLowerCase();var e=[a,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)n=n.then(e.shift(),e.shift());return n},o.forEach(["delete","get","head","options"],function(t){s.prototype[t]=function(e,n){return this.request(o.merge(n||{},{method:t,url:e}))}}),o.forEach(["post","put","patch"],function(t){s.prototype[t]=function(e,n,r){return this.request(o.merge(r||{},{method:t,url:e,data:n}))}}),t.exports=s},function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var u,c=[],l=!1,d=-1;function f(){l&&u&&(l=!1,u.length?c=u.concat(c):d=-1,c.length&&p())}function p(){if(!l){var t=s(f);l=!0;for(var e=c.length;e;){for(u=c,c=[];++d<e;)u&&u[d].run();d=-1,e=c.length}u=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function g(t,e){this.fun=t,this.array=e}function h(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new g(t,e)),1!==c.length||l||s(p)},g.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,n){"use strict";var r=n(13);t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},function(t,e,n){"use strict";var r=n(92);t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},function(t,e,n){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t}},function(t,e,n){"use strict";var r=n(13);function o(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(r.isURLSearchParams(e))i=e.toString();else{var a=[];r.forEach(e,function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(o(e)+"="+o(t))}))}),i=a.join("&")}return i&&(t+=(-1===t.indexOf("?")?"?":"&")+i),t}},function(t,e,n){"use strict";var r=n(13),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,i,a={};return t?(r.forEach(t.split("\n"),function(t){if(i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e){if(a[e]&&o.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}}),a):a}},function(t,e,n){"use strict";var r=n(13);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function o(){this.message="String contains an invalid character"}o.prototype=new Error,o.prototype.code=5,o.prototype.name="InvalidCharacterError",t.exports=function(t){for(var e,n,i=String(t),a="",s=0,u=r;i.charAt(0|s)||(u="=",s%1);a+=u.charAt(63&e>>8-s%1*8)){if((n=i.charCodeAt(s+=.75))>255)throw new o;e=e<<8|n}return a}},function(t,e,n){"use strict";var r=n(13);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,o,i,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var r=n(13);function o(){this.handlers=[]}o.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=o},function(t,e,n){"use strict";var r=n(13),o=n(147),i=n(93),a=n(61),s=n(148),u=n(149);function c(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return c(t),t.baseURL&&!s(t.url)&&(t.url=u(t.baseURL,t.url)),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||a.adapter)(t).then(function(e){return c(t),e.data=o(e.data,e.headers,t.transformResponse),e},function(e){return i(e)||(c(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(t,e,n){"use strict";var r=n(13);t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(94);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;t(function(t){n.reason||(n.reason=new r(t),e(n.reason))})}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o(function(e){t=e}),cancel:t}},t.exports=o},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){!function(){"use strict";t.exports={polyfill:function(){var t=window,e=document;if(!("scrollBehavior"in e.documentElement.style&&!0!==t.__forceSmoothScrollPolyfill__)){var n,r=t.HTMLElement||t.Element,o=468,i={scroll:t.scroll||t.scrollTo,scrollBy:t.scrollBy,elementScroll:r.prototype.scroll||u,scrollIntoView:r.prototype.scrollIntoView},a=t.performance&&t.performance.now?t.performance.now.bind(t.performance):Date.now,s=(n=t.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(n)?1:0);t.scroll=t.scrollTo=function(){void 0!==arguments[0]&&(!0!==c(arguments[0])?g.call(t,e.body,void 0!==arguments[0].left?~~arguments[0].left:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:t.scrollY||t.pageYOffset):i.scroll.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:t.scrollY||t.pageYOffset))},t.scrollBy=function(){void 0!==arguments[0]&&(c(arguments[0])?i.scrollBy.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):g.call(t,e.body,~~arguments[0].left+(t.scrollX||t.pageXOffset),~~arguments[0].top+(t.scrollY||t.pageYOffset)))},r.prototype.scroll=r.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==c(arguments[0])){var t=arguments[0].left,e=arguments[0].top;g.call(this,this,void 0===t?this.scrollLeft:~~t,void 0===e?this.scrollTop:~~e)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},r.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==c(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},r.prototype.scrollIntoView=function(){if(!0!==c(arguments[0])){var n=function(t){var n;do{n=(t=t.parentNode)===e.body}while(!1===n&&!1===f(t));return n=null,t}(this),r=n.getBoundingClientRect(),o=this.getBoundingClientRect();n!==e.body?(g.call(this,n,n.scrollLeft+o.left-r.left,n.scrollTop+o.top-r.top),"fixed"!==t.getComputedStyle(n).position&&t.scrollBy({left:r.left,top:r.top,behavior:"smooth"})):t.scrollBy({left:o.left,top:o.top,behavior:"smooth"})}else i.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function u(t,e){this.scrollLeft=t,this.scrollTop=e}function c(t){if(null===t||"object"!=typeof t||void 0===t.behavior||"auto"===t.behavior||"instant"===t.behavior)return!0;if("object"==typeof t&&"smooth"===t.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+t.behavior+" is not a valid value for enumeration ScrollBehavior.")}function l(t,e){return"Y"===e?t.clientHeight+s<t.scrollHeight:"X"===e?t.clientWidth+s<t.scrollWidth:void 0}function d(e,n){var r=t.getComputedStyle(e,null)["overflow"+n];return"auto"===r||"scroll"===r}function f(t){var e=l(t,"Y")&&d(t,"Y"),n=l(t,"X")&&d(t,"X");return e||n}function p(e){var n,r,i,s,u=(a()-e.startTime)/o;s=u=u>1?1:u,n=.5*(1-Math.cos(Math.PI*s)),r=e.startX+(e.x-e.startX)*n,i=e.startY+(e.y-e.startY)*n,e.method.call(e.scrollable,r,i),r===e.x&&i===e.y||t.requestAnimationFrame(p.bind(t,e))}function g(n,r,o){var s,c,l,d,f=a();n===e.body?(s=t,c=t.scrollX||t.pageXOffset,l=t.scrollY||t.pageYOffset,d=i.scroll):(s=n,c=n.scrollLeft,l=n.scrollTop,d=u),p({scrollable:s,method:d,startTime:f,startX:c,startY:l,x:r,y:o})}}}}()},function(t,e,n){"use strict";var r,o,i,a;history,Object.entries||(Object.entries=function(t){for(var e=Object.keys(t),n=e.length,r=new Array(n);n--;)r[n]=[e[n],t[e[n]]];return r}),void 0===Array.isArray&&(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),Array.from||(Array.from=(r=Object.prototype.toString,o=function(t){return"function"==typeof t||"[object Function]"===r.call(t)},i=Math.pow(2,53)-1,a=function(t){var e=function(t){var e=Number(t);return isNaN(e)?0:0!==e&&isFinite(e)?(e>0?1:-1)*Math.floor(Math.abs(e)):e}(t);return Math.min(Math.max(e,0),i)},function(t){var e=Object(t);if(null==t)throw new TypeError("Array.from requires an array-like object - not null or undefined");var n,r=arguments.length>1?arguments[1]:void 0;if(void 0!==r){if(!o(r))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(n=arguments[2])}for(var i,s=a(e.length),u=o(this)?Object(new this(s)):new Array(s),c=0;c<s;)i=e[c],u[c]=r?void 0===n?r(i,c):r.call(n,i,c):i,c+=1;return u.length=s,u})),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(t,e){e=e||window;for(var n=0;n<this.length;n++)t.call(e,this[n],n,this)}),[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach(function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("true"!==t)return!1;var n=e.querySelectorAll(".comment-reply-link");if(!n)return!1;n.forEach(function(t){t.onclick=function(e){e.preventDefault();var n=t.dataset.belowelement,r=t.dataset.commentid,o=t.dataset.respondelement,i=t.dataset.postid;n&&r&&o&&i&&!1===window.addComment.moveForm(n,r,o,i)&&event.preventDefault()}})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,e){e||(e=window.location.href),t=t.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)").exec(e);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=["#text","#comment"];e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"fade";if(!t||!e)return!1;-1===r.indexOf(e.nodeName.toLowerCase())&&("masonry"===n&&(e.style.opacity=0),t.appendChild(e))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!t)return!1;var e=document.createElement("tbody");return e.innerHTML=t,[e]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){if(!t)return!1;var e="",n=".html";if(t.init&&t.addons.seo&&t.isPaged)e=t.addons.cache_path+t.addons.cache_id+"/page-1-"+t.start_page+n;else if(t.addons.nextpage){var r=void 0;t.addons.paging?r=parseInt(t.page)+1:(r=parseInt(t.page)+2,t.isPaged&&(r=parseInt(t.page)+parseInt(t.addons.nextpage_startpage)+1)),e=t.addons.cache_path+t.addons.cache_id+"/page-"+r+n}else t.addons.single_post?e=t.addons.cache_path+t.addons.cache_id+"/"+t.addons.single_post_id+n:t.addons.filters?console.log(t):e=t.addons.cache_path+t.addons.cache_id+"/page-"+(t.page+1)+n;return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!t)return!1;var e=["#text","#comment"];return t.filter(function(t){return-1===e.indexOf(t.nodeName.toLowerCase())})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.almGetAjaxParams=function(t,e,n){var r={id:t.id,post_id:t.post_id,slug:t.slug,canonical_url:encodeURIComponent(t.canonical_url),posts_per_page:t.posts_per_page,page:t.page,offset:t.offset,post_type:t.post_type,repeater:t.repeater,seo_start_page:t.start_page};t.theme_repeater&&(r.theme_repeater=t.theme_repeater);t.addons.paging&&(r.paging=t.addons.paging);t.addons.preloaded&&(r.preloaded=t.addons.preloaded,r.preloaded_amount=t.addons.preloaded_amount);"true"===t.addons.cache&&(r.cache_id=t.addons.cache_id,r.cache_logged_in=t.addons.cache_logged_in);t.acf_array&&(r.acf=t.acf_array);t.term_query_array&&(r.term_query=t.term_query_array);t.cta_array&&(r.cta=t.cta_array);t.comments_array&&(r.comments=t.comments_array);t.nextpage_array&&(r.nextpage=t.nextpage_array);t.single_post_array&&(r.single_post=t.single_post_array);t.users_array&&(r.users=t.users_array);t.listing.dataset.lang&&(r.lang=t.listing.dataset.lang);t.listing.dataset.stickyPosts&&(r.sticky_posts=t.listing.dataset.stickyPosts);t.listing.dataset.postFormat&&(r.post_format=t.listing.dataset.postFormat);t.listing.dataset.category&&(r.category=t.listing.dataset.category);t.listing.dataset.categoryAnd&&(r.category__and=t.listing.dataset.categoryAnd);t.listing.dataset.categoryNotIn&&(r.category__not_in=t.listing.dataset.categoryNotIn);t.listing.dataset.tag&&(r.tag=t.listing.dataset.tag);t.listing.dataset.tagAnd&&(r.tag__and=t.listing.dataset.tagAnd);t.listing.dataset.tagNotIn&&(r.tag__not_in=t.listing.dataset.tagNotIn);t.listing.dataset.taxonomy&&(r.taxonomy=t.listing.dataset.taxonomy);t.listing.dataset.taxonomyTerms&&(r.taxonomy_terms=t.listing.dataset.taxonomyTerms);t.listing.dataset.taxonomyOperator&&(r.taxonomy_operator=t.listing.dataset.taxonomyOperator);t.listing.dataset.taxonomyRelation&&(r.taxonomy_relation=t.listing.dataset.taxonomyRelation);t.listing.dataset.metaKey&&(r.meta_key=t.listing.dataset.metaKey);t.listing.dataset.metaValue&&(r.meta_value=t.listing.dataset.metaValue);t.listing.dataset.metaCompare&&(r.meta_compare=t.listing.dataset.metaCompare);t.listing.dataset.metaRelation&&(r.meta_relation=t.listing.dataset.metaRelation);t.listing.dataset.metaType&&(r.meta_type=t.listing.dataset.metaType);t.listing.dataset.author&&(r.author=t.listing.dataset.author);t.listing.dataset.year&&(r.year=t.listing.dataset.year);t.listing.dataset.month&&(r.month=t.listing.dataset.month);t.listing.dataset.day&&(r.day=t.listing.dataset.day);t.listing.dataset.order&&(r.order=t.listing.dataset.order);t.listing.dataset.orderby&&(r.orderby=t.listing.dataset.orderby);t.listing.dataset.postStatus&&(r.post_status=t.listing.dataset.postStatus);t.listing.dataset.postIn&&(r.post__in=t.listing.dataset.postIn);t.listing.dataset.postNotIn&&(r.post__not_in=t.listing.dataset.postNotIn);t.listing.dataset.exclude&&(r.exclude=t.listing.dataset.exclude);t.listing.dataset.search&&(r.search=t.listing.dataset.search);t.listing.dataset.s&&(r.search=t.listing.dataset.s);t.listing.dataset.customArgs&&(r.custom_args=t.listing.dataset.customArgs);return r.action=e,r.query_type=n,r},e.almGetRestParams=function(t){return{id:t.id,post_id:t.post_id,posts_per_page:t.posts_per_page,page:t.page,offset:t.offset,slug:t.slug,canonical_url:encodeURIComponent(t.canonical_url),post_type:t.post_type,post_format:t.listing.dataset.postFormat,category:t.listing.dataset.category,category__not_in:t.listing.dataset.categoryNotIn,tag:t.listing.dataset.tag,tag__not_in:t.listing.dataset.tagNotIn,taxonomy:t.listing.dataset.taxonomy,taxonomy_terms:t.listing.dataset.taxonomyTerms,taxonomy_operator:t.listing.dataset.taxonomyOperator,taxonomy_relation:t.listing.dataset.taxonomyRelation,meta_key:t.listing.dataset.metaKey,meta_value:t.listing.dataset.metaValue,meta_compare:t.listing.dataset.metaCompare,meta_relation:t.listing.dataset.metaRelation,meta_type:t.listing.dataset.metaType,author:t.listing.dataset.author,year:t.listing.dataset.year,month:t.listing.dataset.month,day:t.listing.dataset.day,post_status:t.listing.dataset.postStatus,order:t.listing.dataset.order,orderby:t.listing.dataset.orderby,post__in:t.listing.dataset.postIn,post__not_in:t.listing.dataset.postNotIn,search:t.listing.dataset.search,s:t.listing.dataset.s,custom_args:t.listing.dataset.customArgs,lang:t.lang,preloaded:t.addons.preloaded,preloaded_amount:t.addons.preloaded_amount,seo_start_page:t.start_page}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(96));e.default=function(t){var e="standard";t.addons.nextpage?(e="nextpage",t.addons.paging?t.AjaxLoadMore.setLocalizedVar("page",parseInt(t.page)+1):t.AjaxLoadMore.setLocalizedVar("page",parseInt(t.page)+parseInt(t.addons.nextpage_startpage)+1)):t.AjaxLoadMore.setLocalizedVar("page",parseInt(t.page)+1),"true"===t.addons.preloaded||t.addons.nextpage||t.AjaxLoadMore.setLocalizedVar("total_posts",t.totalposts),r.almResultsText(t,e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(62);(r=o)&&r.__esModule;var i={init:function(t){if(!0===this.isScript(t))t.parentNode.replaceChild(this.clone(t),t);else{var e=0,n=t.childNodes;if(void 0===n){var r=(new DOMParser).parseFromString(t,"text/html");r&&(n=r.body.childNodes)}for(;e<n.length;)this.replace(n[e++])}return t},replace:function(t){if(!0===this.isScript(t))t.parentNode.replaceChild(this.clone(t),t);else for(var e=0,n=t.childNodes;e<n.length;)this.replace(n[e++]);return t},isScript:function(t){return"SCRIPT"===t.tagName},clone:function(t){var e=document.createElement("script");e.text=t.innerHTML;for(var n=t.attributes.length-1;n>=0;n--)e.setAttribute(t.attributes[n].name,t.attributes[n].value);return e}};e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t.transition_container&&n>0?t.addons.paging?r(t.init,t.addons.preloaded,t.listing,o,t.isSafari):t.addons.single_post||t.addons.nextpage?r(!1,t.addons.preloaded,e,o,t.isSafari):r(t.init,t.addons.preloaded,e,o,t.isSafari):t.transition_container||"table"!==t.container_type||r(t.init,t.addons.preloaded,e[0],o,t.isSafari)};var r=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"false",n=arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(!r&&(t||!n)&&"true"!==e)return!1;n.setAttribute("tabIndex","-1"),n.style.outline="none";var i=(n.classList.contains("alm-listing")?n:n.parentNode).dataset.scrollContainer;if(i){var a=document.querySelector(i);if(a){var s=a.scrollLeft,u=a.scrollTop;n.focus(),a.scrollLeft=s,a.scrollTop=u}}else{var c=window.scrollX,l=window.scrollY;o&&(window.scrollTo(c,l),l=0===l?1:l),n.focus(),window.scrollTo(c,l)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=s(n(48)),o=s(n(95)),i=s(n(62)),a=s(n(97));function s(t){return t&&t.__esModule?t:{default:t}}var u=n(98);e.default=function t(e,n,s){return new Promise(function(c){var l=e.listing,d=e.html,f=e.masonry_selector,p=e.masonry_columnwidth,g=e.masonry_animation,h=e.masonry_horizontalorder,v=e.speed,m=e.masonry_init,y=(v+100)/1e3+"s",_="scale(0.5)",x="scale(1)";if("zoom-out"===g&&(_="translateY(-20px) scale(1.25)",x="translateY(0) scale(1)"),"slide-up"===g&&(_="translateY(50px)",x="translateY(0)"),"slide-down"===g&&(_="translateY(-50px)",x="translateY(0)"),"none"===g&&(_="translateY(0)",x="translateY(0)"),p?isNaN(p)||(p=parseInt(p)):p=f,h="true"===h,s)l.parentNode.style.opacity=0,t(e,!0,!1),c(!0);else if(m&&n)(0,a.default)(l,e.ua),u(l,function(){var t={itemSelector:f,transitionDuration:y,columnWidth:p,horizontalOrder:h,hiddenStyle:{transform:_,opacity:0},visibleStyle:{transform:x,opacity:1}},n=window.alm_masonry_vars;n&&Object.keys(n).forEach(function(e){t[e]=n[e]}),setTimeout(function(){e.msnry=new Masonry(l,t),(0,r.default)(l.parentNode,v),c(!0)},100)});else{var b=(0,i.default)(d,"text/html");b&&((0,o.default)(e.listing,b,"masonry"),(0,a.default)(l,e.ua),u(l,function(){e.msnry.appended(b),c(!0)}))}})}},function(t,e,n){var r,o;"undefined"!=typeof window&&window,void 0===(o="function"==typeof(r=function(){"use strict";function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var n=this._events=this._events||{},r=n[t]=n[t]||[];return-1==r.indexOf(e)&&r.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var n=this._onceEvents=this._onceEvents||{};return(n[t]=n[t]||{})[e]=!0,this}},e.off=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){var r=n.indexOf(e);return-1!=r&&n.splice(r,1),this}},e.emitEvent=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){n=n.slice(0),e=e||[];for(var r=this._onceEvents&&this._onceEvents[t],o=0;o<n.length;o++){var i=n[o];r&&r[i]&&(this.off(t,i),delete r[i]),i.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t})?r.call(e,n,e,t):r)||(t.exports=o)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=a(n(48)),i=a(n(63));function a(t){return t&&t.__esModule?t:{default:t}}e.default=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"filter";n.target?document.querySelectorAll('.ajax-load-more-wrap[data-id="'+n.target+'"]').forEach(function(o){s(t,e,n,o,r)}):document.querySelectorAll(".ajax-load-more-wrap").forEach(function(o){s(t,e,n,o,r)})};var s=function(t,e,n,r,o){if("fade"===t||"masonry"===t){switch(o){case"filter":r.classList.add("alm-is-filtering"),(0,i.default)(r,e);break;case"tab":r.classList.add("alm-loading");var a=r.querySelector(".alm-listing");r.style.height=a.offsetHeight+"px",(0,i.default)(a,e)}setTimeout(function(){u(e,n,r,o)},e)}else r.classList.add("alm-is-filtering"),u(e,n,r,o)},u=function(t,e,n,r){var o=n.querySelector(".alm-btn-wrap"),i=n.querySelectorAll(".alm-listing");[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(i)).forEach(function(t){t.innerHTML=""});var a=o.querySelector(".alm-load-more-btn");a&&a.classList.remove("done");var s=o.querySelector(".alm-paging");s&&(s.style.opacity=0),c(t,e,n,r)},c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,e=arguments[1],n=arguments[2],i=arguments[3],a=n.querySelector(".alm-listing")||n.querySelector(".alm-comments");if(!a)return!1;switch(i){case"filter":var s=!0,u=!1,c=void 0;try{for(var l,d=Object.entries(e)[Symbol.iterator]();!(s=(l=d.next()).done);s=!0){var f=l.value,p=r(f,2),g=p[0],h=p[1];g=g.replace(/\W+/g,"-").replace(/([a-z\d])([A-Z])/g,"$1-$2").toLowerCase(),a.setAttribute("data-"+g,h)}}catch(t){u=!0,c=t}finally{try{!s&&d.return&&d.return()}finally{if(u)throw c}}(0,o.default)(n,t);break;case"tab":a.setAttribute("data-preloaded","false"),a.setAttribute("data-pause","false"),a.setAttribute("data-tab-template",e.tabTemplate)}var v="";switch(e.target?(v=document.querySelector('.ajax-load-more-wrap[data-id="'+e.target+'"]'))&&window.almInit(v):(v=document.querySelector(".ajax-load-more-wrap"))&&window.almInit(v),i){case"filter":"function"==typeof almFilterComplete&&almFilterComplete(),"function"==typeof almFiltersAddonComplete&&almFiltersAddonComplete(n);break;case"tab":"function"==typeof almTabsComplete&&almTabsComplete()}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(""===e)return!1;e=e.replace(/(<p><\/p>)+/g,""),t.innerHTML=e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){t&&t.debug&&console.log("alm_debug info:",t.debug)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){if(!t)return!1;var e=-1!==t.scroll_distance_orig.toString().indexOf("-"),n=t.scroll_distance_orig.toString().replace("-","").replace("%",""),r=t.window.innerHeight,o=Math.floor(r/100*parseInt(n));return parseInt(e?"-"+o:o)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.showPlaceholder=function(t){if(!t||!t.main||t.addons.paging)return!1;t.placeholder&&(t.placeholder.style.display="block",(0,r.default)(t.placeholder,75))},e.hidePlaceholder=function(t){if(!t||!t.main||t.addons.paging)return!1;t.placeholder&&((0,o.default)(t.placeholder,75),setTimeout(function(){t.placeholder.style.display="none"},75))};var r=i(n(48)),o=i(n(63));function i(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){n(172)},function(t,e,n){"use strict";n(173),n(317),n(319),n(321),n(323),n(325),n(327),n(329),n(331),n(333),n(337)},function(t,e,n){n(174),n(177),n(178),n(179),n(180),n(181),n(182),n(183),n(184),n(185),n(186),n(187),n(188),n(189),n(190),n(191),n(192),n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218),n(220),n(221),n(222),n(223),n(224),n(225),n(226),n(227),n(228),n(229),n(230),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(242),n(243),n(244),n(245),n(246),n(247),n(248),n(249),n(250),n(251),n(252),n(253),n(255),n(256),n(258),n(259),n(260),n(261),n(262),n(263),n(264),n(267),n(268),n(269),n(270),n(271),n(272),n(273),n(274),n(275),n(276),n(277),n(278),n(279),n(85),n(280),n(118),n(281),n(119),n(282),n(283),n(284),n(285),n(120),n(288),n(289),n(290),n(291),n(292),n(293),n(294),n(295),n(296),n(297),n(298),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),t.exports=n(9)},function(t,e,n){"use strict";var r=n(1),o=n(14),i=n(8),a=n(0),s=n(10),u=n(28).KEY,c=n(2),l=n(49),d=n(38),f=n(30),p=n(5),g=n(65),h=n(100),v=n(176),m=n(68),y=n(3),_=n(4),x=n(16),b=n(27),w=n(29),S=n(34),A=n(103),j=n(19),P=n(7),E=n(32),O=j.f,L=P.f,M=A.f,T=r.Symbol,I=r.JSON,F=I&&I.stringify,N=p("_hidden"),k=p("toPrimitive"),C={}.propertyIsEnumerable,R=l("symbol-registry"),D=l("symbols"),q=l("op-symbols"),B=Object.prototype,U="function"==typeof T,z=r.QObject,W=!z||!z.prototype||!z.prototype.findChild,V=i&&c(function(){return 7!=S(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=O(B,e);r&&delete B[e],L(t,e,n),r&&t!==B&&L(B,e,r)}:L,H=function(t){var e=D[t]=S(T.prototype);return e._k=t,e},G=U&&"symbol"==typeof T.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof T},Y=function(t,e,n){return t===B&&Y(q,e,n),y(t),e=b(e,!0),y(n),o(D,e)?(n.enumerable?(o(t,N)&&t[N][e]&&(t[N][e]=!1),n=S(n,{enumerable:w(0,!1)})):(o(t,N)||L(t,N,w(1,{})),t[N][e]=!0),V(t,e,n)):L(t,e,n)},X=function(t,e){y(t);for(var n,r=v(e=x(e)),o=0,i=r.length;i>o;)Y(t,n=r[o++],e[n]);return t},$=function(t){var e=C.call(this,t=b(t,!0));return!(this===B&&o(D,t)&&!o(q,t))&&(!(e||!o(this,t)||!o(D,t)||o(this,N)&&this[N][t])||e)},Q=function(t,e){if(t=x(t),e=b(e,!0),t!==B||!o(D,e)||o(q,e)){var n=O(t,e);return!n||!o(D,e)||o(t,N)&&t[N][e]||(n.enumerable=!0),n}},K=function(t){for(var e,n=M(x(t)),r=[],i=0;n.length>i;)o(D,e=n[i++])||e==N||e==u||r.push(e);return r},J=function(t){for(var e,n=t===B,r=M(n?q:x(t)),i=[],a=0;r.length>a;)!o(D,e=r[a++])||n&&!o(B,e)||i.push(D[e]);return i};U||(s((T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var t=f(arguments.length>0?arguments[0]:void 0),e=function(n){this===B&&e.call(q,n),o(this,N)&&o(this[N],t)&&(this[N][t]=!1),V(this,t,w(1,n))};return i&&W&&V(B,t,{configurable:!0,set:e}),H(t)}).prototype,"toString",function(){return this._k}),j.f=Q,P.f=Y,n(35).f=A.f=K,n(45).f=$,n(51).f=J,i&&!n(31)&&s(B,"propertyIsEnumerable",$,!0),g.f=function(t){return H(p(t))}),a(a.G+a.W+a.F*!U,{Symbol:T});for(var Z="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;Z.length>tt;)p(Z[tt++]);for(var et=E(p.store),nt=0;et.length>nt;)h(et[nt++]);a(a.S+a.F*!U,"Symbol",{for:function(t){return o(R,t+="")?R[t]:R[t]=T(t)},keyFor:function(t){if(!G(t))throw TypeError(t+" is not a symbol!");for(var e in R)if(R[e]===t)return e},useSetter:function(){W=!0},useSimple:function(){W=!1}}),a(a.S+a.F*!U,"Object",{create:function(t,e){return void 0===e?S(t):X(S(t),e)},defineProperty:Y,defineProperties:X,getOwnPropertyDescriptor:Q,getOwnPropertyNames:K,getOwnPropertySymbols:J}),I&&a(a.S+a.F*(!U||c(function(){var t=T();return"[null]"!=F([t])||"{}"!=F({a:t})||"{}"!=F(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(_(e)||void 0!==t)&&!G(t))return m(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!G(e))return e}),r[1]=e,F.apply(I,r)}}),T.prototype[k]||n(15)(T.prototype,k,T.prototype.valueOf),d(T,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(t,e,n){t.exports=n(49)("native-function-to-string",Function.toString)},function(t,e,n){var r=n(32),o=n(51),i=n(45);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var a,s=n(t),u=i.f,c=0;s.length>c;)u.call(t,a=s[c++])&&e.push(a);return e}},function(t,e,n){var r=n(0);r(r.S,"Object",{create:n(34)})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(8),"Object",{defineProperty:n(7).f})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(8),"Object",{defineProperties:n(102)})},function(t,e,n){var r=n(16),o=n(19).f;n(20)("getOwnPropertyDescriptor",function(){return function(t,e){return o(r(t),e)}})},function(t,e,n){var r=n(11),o=n(36);n(20)("getPrototypeOf",function(){return function(t){return o(r(t))}})},function(t,e,n){var r=n(11),o=n(32);n(20)("keys",function(){return function(t){return o(r(t))}})},function(t,e,n){n(20)("getOwnPropertyNames",function(){return n(103).f})},function(t,e,n){var r=n(4),o=n(28).onFreeze;n(20)("freeze",function(t){return function(e){return t&&r(e)?t(o(e)):e}})},function(t,e,n){var r=n(4),o=n(28).onFreeze;n(20)("seal",function(t){return function(e){return t&&r(e)?t(o(e)):e}})},function(t,e,n){var r=n(4),o=n(28).onFreeze;n(20)("preventExtensions",function(t){return function(e){return t&&r(e)?t(o(e)):e}})},function(t,e,n){var r=n(4);n(20)("isFrozen",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(4);n(20)("isSealed",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(4);n(20)("isExtensible",function(t){return function(e){return!!r(e)&&(!t||t(e))}})},function(t,e,n){var r=n(0);r(r.S+r.F,"Object",{assign:n(104)})},function(t,e,n){var r=n(0);r(r.S,"Object",{is:n(105)})},function(t,e,n){var r=n(0);r(r.S,"Object",{setPrototypeOf:n(70).set})},function(t,e,n){"use strict";var r=n(46),o={};o[n(5)("toStringTag")]="z",o+""!="[object z]"&&n(10)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,e,n){var r=n(0);r(r.P,"Function",{bind:n(106)})},function(t,e,n){var r=n(7).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(8)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},function(t,e,n){"use strict";var r=n(4),o=n(36),i=n(5)("hasInstance"),a=Function.prototype;i in a||n(7).f(a,i,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=o(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){var r=n(0),o=n(108);r(r.G+r.F*(parseInt!=o),{parseInt:o})},function(t,e,n){var r=n(0),o=n(109);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},function(t,e,n){"use strict";var r=n(1),o=n(14),i=n(24),a=n(72),s=n(27),u=n(2),c=n(35).f,l=n(19).f,d=n(7).f,f=n(52).trim,p=r.Number,g=p,h=p.prototype,v="Number"==i(n(34)(h)),m="trim"in String.prototype,y=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){var n,r,o,i=(e=m?e.trim():f(e,3)).charCodeAt(0);if(43===i||45===i){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===i){switch(e.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+e}for(var a,u=e.slice(2),c=0,l=u.length;c<l;c++)if((a=u.charCodeAt(c))<48||a>o)return NaN;return parseInt(u,r)}}return+e};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof p&&(v?u(function(){h.valueOf.call(n)}):"Number"!=i(n))?a(new g(y(e)),n,p):y(e)};for(var _,x=n(8)?c(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),b=0;x.length>b;b++)o(g,_=x[b])&&!o(p,_)&&d(p,_,l(g,_));p.prototype=h,h.constructor=p,n(10)(r,"Number",p)}},function(t,e,n){"use strict";var r=n(0),o=n(18),i=n(110),a=n(73),s=1..toFixed,u=Math.floor,c=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",d=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*c[n],c[n]=r%1e7,r=u(r/1e7)},f=function(t){for(var e=6,n=0;--e>=0;)n+=c[e],c[e]=u(n/t),n=n%t*1e7},p=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==c[t]){var n=String(c[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e},g=function(t,e,n){return 0===e?n:e%2==1?g(t,e-1,n*t):g(t*t,e/2,n)};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(2)(function(){s.call({})})),"Number",{toFixed:function(t){var e,n,r,s,u=i(this,l),c=o(t),h="",v="0";if(c<0||c>20)throw RangeError(l);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(h="-",u=-u),u>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(u*g(2,69,1))-69)<0?u*g(2,-e,1):u/g(2,e,1),n*=4503599627370496,(e=52-e)>0){for(d(0,n),r=c;r>=7;)d(1e7,0),r-=7;for(d(g(10,r,1),0),r=e-1;r>=23;)f(1<<23),r-=23;f(1<<r),d(1,1),f(2),v=p()}else d(0,n),d(1<<-e,0),v=p()+a.call("0",c);return v=c>0?h+((s=v.length)<=c?"0."+a.call("0",c-s)+v:v.slice(0,s-c)+"."+v.slice(s-c)):h+v}})},function(t,e,n){"use strict";var r=n(0),o=n(2),i=n(110),a=1..toPrecision;r(r.P+r.F*(o(function(){return"1"!==a.call(1,void 0)})||!o(function(){a.call({})})),"Number",{toPrecision:function(t){var e=i(this,"Number#toPrecision: incorrect invocation!");return void 0===t?a.call(e):a.call(e,t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){var r=n(0),o=n(1).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&o(t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{isInteger:n(111)})},function(t,e,n){var r=n(0);r(r.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var r=n(0),o=n(111),i=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},function(t,e,n){var r=n(0);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){var r=n(0);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var r=n(0),o=n(109);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(t,e,n){var r=n(0),o=n(108);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(t,e,n){var r=n(0),o=n(112),i=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:o(t-1+i(t-1)*i(t+1))}})},function(t,e,n){var r=n(0),o=Math.asinh;r(r.S+r.F*!(o&&1/o(0)>0),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},function(t,e,n){var r=n(0),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){var r=n(0),o=n(74);r(r.S,"Math",{cbrt:function(t){return o(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){var r=n(0),o=Math.exp;r(r.S,"Math",{cosh:function(t){return(o(t=+t)+o(-t))/2}})},function(t,e,n){var r=n(0),o=n(75);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},function(t,e,n){var r=n(0);r(r.S,"Math",{fround:n(219)})},function(t,e,n){var r=n(74),o=Math.pow,i=o(2,-52),a=o(2,-23),s=o(2,127)*(2-a),u=o(2,-126);t.exports=Math.fround||function(t){var e,n,o=Math.abs(t),c=r(t);return o<u?c*(o/u/a+1/i-1/i)*u*a:(n=(e=(1+a/i)*o)-(e-o))>s||n!=n?c*(1/0):c*n}},function(t,e,n){var r=n(0),o=Math.abs;r(r.S,"Math",{hypot:function(t,e){for(var n,r,i=0,a=0,s=arguments.length,u=0;a<s;)u<(n=o(arguments[a++]))?(i=i*(r=u/n)*r+1,u=n):i+=n>0?(r=n/u)*r:n;return u===1/0?1/0:u*Math.sqrt(i)}})},function(t,e,n){var r=n(0),o=Math.imul;r(r.S+r.F*n(2)(function(){return-5!=o(4294967295,5)||2!=o.length}),"Math",{imul:function(t,e){var n=+t,r=+e,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log1p:n(112)})},function(t,e,n){var r=n(0);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){var r=n(0);r(r.S,"Math",{sign:n(74)})},function(t,e,n){var r=n(0),o=n(75),i=Math.exp;r(r.S+r.F*n(2)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(o(t)-o(-t))/2:(i(t-1)-i(-t-1))*(Math.E/2)}})},function(t,e,n){var r=n(0),o=n(75),i=Math.exp;r(r.S,"Math",{tanh:function(t){var e=o(t=+t),n=o(-t);return e==1/0?1:n==1/0?-1:(e-n)/(i(t)+i(-t))}})},function(t,e,n){var r=n(0);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){var r=n(0),o=n(33),i=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?i(e):i(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},function(t,e,n){var r=n(0),o=n(16),i=n(6);r(r.S,"String",{raw:function(t){for(var e=o(t.raw),n=i(e.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(e[s++])),s<r&&a.push(String(arguments[s]));return a.join("")}})},function(t,e,n){"use strict";n(52)("trim",function(t){return function(){return t(this,3)}})},function(t,e,n){"use strict";var r=n(76)(!0);n(77)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var r=n(0),o=n(76)(!1);r(r.P,"String",{codePointAt:function(t){return o(this,t)}})},function(t,e,n){"use strict";var r=n(0),o=n(6),i=n(78),a="".endsWith;r(r.P+r.F*n(80)("endsWith"),"String",{endsWith:function(t){var e=i(this,t,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=o(e.length),s=void 0===n?r:Math.min(o(n),r),u=String(t);return a?a.call(e,u,s):e.slice(s-u.length,s)===u}})},function(t,e,n){"use strict";var r=n(0),o=n(78);r(r.P+r.F*n(80)("includes"),"String",{includes:function(t){return!!~o(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(0);r(r.P,"String",{repeat:n(73)})},function(t,e,n){"use strict";var r=n(0),o=n(6),i=n(78),a="".startsWith;r(r.P+r.F*n(80)("startsWith"),"String",{startsWith:function(t){var e=i(this,t,"startsWith"),n=o(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return a?a.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){"use strict";n(12)("anchor",function(t){return function(e){return t(this,"a","name",e)}})},function(t,e,n){"use strict";n(12)("big",function(t){return function(){return t(this,"big","","")}})},function(t,e,n){"use strict";n(12)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,e,n){"use strict";n(12)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,e,n){"use strict";n(12)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,e,n){"use strict";n(12)("fontcolor",function(t){return function(e){return t(this,"font","color",e)}})},function(t,e,n){"use strict";n(12)("fontsize",function(t){return function(e){return t(this,"font","size",e)}})},function(t,e,n){"use strict";n(12)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,e,n){"use strict";n(12)("link",function(t){return function(e){return t(this,"a","href",e)}})},function(t,e,n){"use strict";n(12)("small",function(t){return function(){return t(this,"small","","")}})},function(t,e,n){"use strict";n(12)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,e,n){"use strict";n(12)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,e,n){"use strict";n(12)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,e,n){var r=n(0);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,n){"use strict";var r=n(0),o=n(11),i=n(27);r(r.P+r.F*n(2)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var e=o(this),n=i(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){var r=n(0),o=n(254);r(r.P+r.F*(Date.prototype.toISOString!==o),"Date",{toISOString:o})},function(t,e,n){"use strict";var r=n(2),o=Date.prototype.getTime,i=Date.prototype.toISOString,a=function(t){return t>9?t:"0"+t};t.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=i.call(new Date(-5e13-1))})||!r(function(){i.call(new Date(NaN))})?function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+a(t.getUTCMonth()+1)+"-"+a(t.getUTCDate())+"T"+a(t.getUTCHours())+":"+a(t.getUTCMinutes())+":"+a(t.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}:i},function(t,e,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(10)(r,"toString",function(){var t=i.call(this);return t==t?o.call(this):"Invalid Date"})},function(t,e,n){var r=n(5)("toPrimitive"),o=Date.prototype;r in o||n(15)(o,r,n(257))},function(t,e,n){"use strict";var r=n(3),o=n(27);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!=t)}},function(t,e,n){var r=n(0);r(r.S,"Array",{isArray:n(68)})},function(t,e,n){"use strict";var r=n(22),o=n(0),i=n(11),a=n(114),s=n(81),u=n(6),c=n(82),l=n(83);o(o.S+o.F*!n(53)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,o,d,f=i(t),p="function"==typeof this?this:Array,g=arguments.length,h=g>1?arguments[1]:void 0,v=void 0!==h,m=0,y=l(f);if(v&&(h=r(h,g>2?arguments[2]:void 0,2)),null==y||p==Array&&s(y))for(n=new p(e=u(f.length));e>m;m++)c(n,m,v?h(f[m],m):f[m]);else for(d=y.call(f),n=new p;!(o=d.next()).done;m++)c(n,m,v?a(d,h,[o.value,m],!0):o.value);return n.length=m,n}})},function(t,e,n){"use strict";var r=n(0),o=n(82);r(r.S+r.F*n(2)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)o(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){"use strict";var r=n(0),o=n(16),i=[].join;r(r.P+r.F*(n(44)!=Object||!n(17)(i)),"Array",{join:function(t){return i.call(o(this),void 0===t?",":t)}})},function(t,e,n){"use strict";var r=n(0),o=n(69),i=n(24),a=n(33),s=n(6),u=[].slice;r(r.P+r.F*n(2)(function(){o&&u.call(o)}),"Array",{slice:function(t,e){var n=s(this.length),r=i(this);if(e=void 0===e?n:e,"Array"==r)return u.call(this,t,e);for(var o=a(t,n),c=a(e,n),l=s(c-o),d=new Array(l),f=0;f<l;f++)d[f]="String"==r?this.charAt(o+f):this[o+f];return d}})},function(t,e,n){"use strict";var r=n(0),o=n(23),i=n(11),a=n(2),s=[].sort,u=[1,2,3];r(r.P+r.F*(a(function(){u.sort(void 0)})||!a(function(){u.sort(null)})||!n(17)(s)),"Array",{sort:function(t){return void 0===t?s.call(i(this)):s.call(i(this),o(t))}})},function(t,e,n){"use strict";var r=n(0),o=n(21)(0),i=n(17)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(t){return o(this,t,arguments[1])}})},function(t,e,n){var r=n(266);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){var r=n(4),o=n(68),i=n(5)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){"use strict";var r=n(0),o=n(21)(1);r(r.P+r.F*!n(17)([].map,!0),"Array",{map:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(21)(2);r(r.P+r.F*!n(17)([].filter,!0),"Array",{filter:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(21)(3);r(r.P+r.F*!n(17)([].some,!0),"Array",{some:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(21)(4);r(r.P+r.F*!n(17)([].every,!0),"Array",{every:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(115);r(r.P+r.F*!n(17)([].reduce,!0),"Array",{reduce:function(t){return o(this,t,arguments.length,arguments[1],!1)}})},function(t,e,n){"use strict";var r=n(0),o=n(115);r(r.P+r.F*!n(17)([].reduceRight,!0),"Array",{reduceRight:function(t){return o(this,t,arguments.length,arguments[1],!0)}})},function(t,e,n){"use strict";var r=n(0),o=n(50)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(17)(i)),"Array",{indexOf:function(t){return a?i.apply(this,arguments)||0:o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(16),i=n(18),a=n(6),s=[].lastIndexOf,u=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(u||!n(17)(s)),"Array",{lastIndexOf:function(t){if(u)return s.apply(this,arguments)||0;var e=o(this),n=a(e.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,i(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}})},function(t,e,n){var r=n(0);r(r.P,"Array",{copyWithin:n(116)}),n(40)("copyWithin")},function(t,e,n){var r=n(0);r(r.P,"Array",{fill:n(84)}),n(40)("fill")},function(t,e,n){"use strict";var r=n(0),o=n(21)(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),r(r.P+r.F*i,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(40)("find")},function(t,e,n){"use strict";var r=n(0),o=n(21)(6),i="findIndex",a=!0;i in[]&&Array(1)[i](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(40)(i)},function(t,e,n){n(41)("Array")},function(t,e,n){var r=n(1),o=n(72),i=n(7).f,a=n(35).f,s=n(79),u=n(54),c=r.RegExp,l=c,d=c.prototype,f=/a/g,p=/a/g,g=new c(f)!==f;if(n(8)&&(!g||n(2)(function(){return p[n(5)("match")]=!1,c(f)!=f||c(p)==p||"/a/i"!=c(f,"i")}))){c=function(t,e){var n=this instanceof c,r=s(t),i=void 0===e;return!n&&r&&t.constructor===c&&i?t:o(g?new l(r&&!i?t.source:t,e):l((r=t instanceof c)?t.source:t,r&&i?u.call(t):e),n?this:d,c)};for(var h=function(t){t in c||i(c,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})},v=a(l),m=0;v.length>m;)h(v[m++]);d.constructor=c,c.prototype=d,n(10)(r,"RegExp",c)}n(41)("RegExp")},function(t,e,n){"use strict";n(119);var r=n(3),o=n(54),i=n(8),a=/./.toString,s=function(t){n(10)(RegExp.prototype,"toString",t,!0)};n(2)(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?s(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!i&&t instanceof RegExp?o.call(t):void 0)}):"toString"!=a.name&&s(function(){return a.call(this)})},function(t,e,n){"use strict";var r=n(3),o=n(6),i=n(87),a=n(55);n(56)("match",1,function(t,e,n,s){return[function(n){var r=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=s(n,t,this);if(e.done)return e.value;var u=r(t),c=String(this);if(!u.global)return a(u,c);var l=u.unicode;u.lastIndex=0;for(var d,f=[],p=0;null!==(d=a(u,c));){var g=String(d[0]);f[p]=g,""===g&&(u.lastIndex=i(c,o(u.lastIndex),l)),p++}return 0===p?null:f}]})},function(t,e,n){"use strict";var r=n(3),o=n(11),i=n(6),a=n(18),s=n(87),u=n(55),c=Math.max,l=Math.min,d=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g;n(56)("replace",2,function(t,e,n,g){return[function(r,o){var i=t(this),a=null==r?void 0:r[e];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(t,e){var o=g(n,t,this,e);if(o.done)return o.value;var d=r(t),f=String(this),p="function"==typeof e;p||(e=String(e));var v=d.global;if(v){var m=d.unicode;d.lastIndex=0}for(var y=[];;){var _=u(d,f);if(null===_)break;if(y.push(_),!v)break;""===String(_[0])&&(d.lastIndex=s(f,i(d.lastIndex),m))}for(var x,b="",w=0,S=0;S<y.length;S++){_=y[S];for(var A=String(_[0]),j=c(l(a(_.index),f.length),0),P=[],E=1;E<_.length;E++)P.push(void 0===(x=_[E])?x:String(x));var O=_.groups;if(p){var L=[A].concat(P,j,f);void 0!==O&&L.push(O);var M=String(e.apply(void 0,L))}else M=h(A,f,j,P,O,e);j>=w&&(b+=f.slice(w,j)+M,w=j+A.length)}return b+f.slice(w)}];function h(t,e,r,i,a,s){var u=r+t.length,c=i.length,l=p;return void 0!==a&&(a=o(a),l=f),n.call(s,l,function(n,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(u);case"<":s=a[o.slice(1,-1)];break;default:var l=+o;if(0===l)return n;if(l>c){var f=d(l/10);return 0===f?n:f<=c?void 0===i[f-1]?o.charAt(1):i[f-1]+o.charAt(1):n}s=i[l-1]}return void 0===s?"":s})}})},function(t,e,n){"use strict";var r=n(3),o=n(105),i=n(55);n(56)("search",1,function(t,e,n,a){return[function(n){var r=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=a(n,t,this);if(e.done)return e.value;var s=r(t),u=String(this),c=s.lastIndex;o(c,0)||(s.lastIndex=0);var l=i(s,u);return o(s.lastIndex,c)||(s.lastIndex=c),null===l?-1:l.index}]})},function(t,e,n){"use strict";var r=n(79),o=n(3),i=n(47),a=n(87),s=n(6),u=n(55),c=n(86),l=n(2),d=Math.min,f=[].push,p=!l(function(){RegExp(4294967295,"y")});n(56)("split",2,function(t,e,n,l){var g;return g="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,e){var o=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(o,t,e);for(var i,a,s,u=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,p=void 0===e?4294967295:e>>>0,g=new RegExp(t.source,l+"g");(i=c.call(g,o))&&!((a=g.lastIndex)>d&&(u.push(o.slice(d,i.index)),i.length>1&&i.index<o.length&&f.apply(u,i.slice(1)),s=i[0].length,d=a,u.length>=p));)g.lastIndex===i.index&&g.lastIndex++;return d===o.length?!s&&g.test("")||u.push(""):u.push(o.slice(d)),u.length>p?u.slice(0,p):u}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var o=t(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):g.call(String(o),n,r)},function(t,e){var r=l(g,t,this,e,g!==n);if(r.done)return r.value;var c=o(t),f=String(this),h=i(c,RegExp),v=c.unicode,m=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(p?"y":"g"),y=new h(p?c:"^(?:"+c.source+")",m),_=void 0===e?4294967295:e>>>0;if(0===_)return[];if(0===f.length)return null===u(y,f)?[f]:[];for(var x=0,b=0,w=[];b<f.length;){y.lastIndex=p?b:0;var S,A=u(y,p?f:f.slice(b));if(null===A||(S=d(s(y.lastIndex+(p?0:b)),f.length))===x)b=a(f,b,v);else{if(w.push(f.slice(x,b)),w.length===_)return w;for(var j=1;j<=A.length-1;j++)if(w.push(A[j]),w.length===_)return w;b=x=S}}return w.push(f.slice(x)),w}]})},function(t,e,n){var r=n(1),o=n(88).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,u="process"==n(24)(a);t.exports=function(){var t,e,n,c=function(){var r,o;for(u&&(r=a.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(u)n=function(){a.nextTick(c)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);n=function(){l.then(c)}}else n=function(){o.call(r,c)};else{var d=!0,f=document.createTextNode("");new i(c).observe(f,{characterData:!0}),n=function(){f.data=d=!d}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){"use strict";var r=n(123),o=n(37);t.exports=n(59)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=r.getEntry(o(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(o(this,"Map"),0===t?0:t,e)}},r,!0)},function(t,e,n){"use strict";var r=n(123),o=n(37);t.exports=n(59)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(o(this,"Set"),t=0===t?0:t,t)}},r)},function(t,e,n){"use strict";var r,o=n(1),i=n(21)(0),a=n(10),s=n(28),u=n(104),c=n(124),l=n(4),d=n(37),f=n(37),p=!o.ActiveXObject&&"ActiveXObject"in o,g=s.getWeak,h=Object.isExtensible,v=c.ufstore,m=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},y={get:function(t){if(l(t)){var e=g(t);return!0===e?v(d(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return c.def(d(this,"WeakMap"),t,e)}},_=t.exports=n(59)("WeakMap",m,y,c,!0,!0);f&&p&&(u((r=c.getConstructor(m,"WeakMap")).prototype,y),s.NEED=!0,i(["delete","has","get","set"],function(t){var e=_.prototype,n=e[t];a(e,t,function(e,o){if(l(e)&&!h(e)){this._f||(this._f=new r);var i=this._f[t](e,o);return"set"==t?this:i}return n.call(this,e,o)})}))},function(t,e,n){"use strict";var r=n(124),o=n(37);n(59)("WeakSet",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(o(this,"WeakSet"),t,!0)}},r,!1,!0)},function(t,e,n){"use strict";var r=n(0),o=n(60),i=n(89),a=n(3),s=n(33),u=n(6),c=n(4),l=n(1).ArrayBuffer,d=n(47),f=i.ArrayBuffer,p=i.DataView,g=o.ABV&&l.isView,h=f.prototype.slice,v=o.VIEW;r(r.G+r.W+r.F*(l!==f),{ArrayBuffer:f}),r(r.S+r.F*!o.CONSTR,"ArrayBuffer",{isView:function(t){return g&&g(t)||c(t)&&v in t}}),r(r.P+r.U+r.F*n(2)(function(){return!new f(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(t,e){if(void 0!==h&&void 0===e)return h.call(a(this),t);for(var n=a(this).byteLength,r=s(t,n),o=s(void 0===e?n:e,n),i=new(d(this,f))(u(o-r)),c=new p(this),l=new p(i),g=0;r<o;)l.setUint8(g++,c.getUint8(r++));return i}}),n(41)("ArrayBuffer")},function(t,e,n){var r=n(0);r(r.G+r.W+r.F*!n(60).ABV,{DataView:n(89).DataView})},function(t,e,n){n(26)("Int8",1,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(26)("Uint8",1,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(26)("Uint8",1,function(t){return function(e,n,r){return t(this,e,n,r)}},!0)},function(t,e,n){n(26)("Int16",2,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(26)("Uint16",2,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(26)("Int32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(26)("Uint32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(26)("Float32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(26)("Float64",8,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){var r=n(0),o=n(23),i=n(3),a=(n(1).Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!n(2)(function(){a(function(){})}),"Reflect",{apply:function(t,e,n){var r=o(t),u=i(n);return a?a(r,e,u):s.call(r,e,u)}})},function(t,e,n){var r=n(0),o=n(34),i=n(23),a=n(3),s=n(4),u=n(2),c=n(106),l=(n(1).Reflect||{}).construct,d=u(function(){function t(){}return!(l(function(){},[],t)instanceof t)}),f=!u(function(){l(function(){})});r(r.S+r.F*(d||f),"Reflect",{construct:function(t,e){i(t),a(e);var n=arguments.length<3?t:i(arguments[2]);if(f&&!d)return l(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(c.apply(t,r))}var u=n.prototype,p=o(s(u)?u:Object.prototype),g=Function.apply.call(t,p,e);return s(g)?g:p}})},function(t,e,n){var r=n(7),o=n(0),i=n(3),a=n(27);o(o.S+o.F*n(2)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,n){i(t),e=a(e,!0),i(n);try{return r.f(t,e,n),!0}catch(t){return!1}}})},function(t,e,n){var r=n(0),o=n(19).f,i=n(3);r(r.S,"Reflect",{deleteProperty:function(t,e){var n=o(i(t),e);return!(n&&!n.configurable)&&delete t[e]}})},function(t,e,n){"use strict";var r=n(0),o=n(3),i=function(t){this._t=o(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n(113)(i,"Object",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),r(r.S,"Reflect",{enumerate:function(t){return new i(t)}})},function(t,e,n){var r=n(19),o=n(36),i=n(14),a=n(0),s=n(4),u=n(3);a(a.S,"Reflect",{get:function t(e,n){var a,c,l=arguments.length<3?e:arguments[2];return u(e)===l?e[n]:(a=r.f(e,n))?i(a,"value")?a.value:void 0!==a.get?a.get.call(l):void 0:s(c=o(e))?t(c,n,l):void 0}})},function(t,e,n){var r=n(19),o=n(0),i=n(3);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(i(t),e)}})},function(t,e,n){var r=n(0),o=n(36),i=n(3);r(r.S,"Reflect",{getPrototypeOf:function(t){return o(i(t))}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){var r=n(0),o=n(3),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return o(t),!i||i(t)}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{ownKeys:n(126)})},function(t,e,n){var r=n(0),o=n(3),i=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){o(t);try{return i&&i(t),!0}catch(t){return!1}}})},function(t,e,n){var r=n(7),o=n(19),i=n(36),a=n(14),s=n(0),u=n(29),c=n(3),l=n(4);s(s.S,"Reflect",{set:function t(e,n,s){var d,f,p=arguments.length<4?e:arguments[3],g=o.f(c(e),n);if(!g){if(l(f=i(e)))return t(f,n,s,p);g=u(0)}if(a(g,"value")){if(!1===g.writable||!l(p))return!1;if(d=o.f(p,n)){if(d.get||d.set||!1===d.writable)return!1;d.value=s,r.f(p,n,d)}else r.f(p,n,u(0,s));return!0}return void 0!==g.set&&(g.set.call(p,s),!0)}})},function(t,e,n){var r=n(0),o=n(70);o&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){o.check(t,e);try{return o.set(t,e),!0}catch(t){return!1}}})},function(t,e,n){n(318),t.exports=n(9).Array.includes},function(t,e,n){"use strict";var r=n(0),o=n(50)(!0);r(r.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(40)("includes")},function(t,e,n){n(320),t.exports=n(9).String.padStart},function(t,e,n){"use strict";var r=n(0),o=n(127),i=n(58),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*a,"String",{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,e,n){n(322),t.exports=n(9).String.padEnd},function(t,e,n){"use strict";var r=n(0),o=n(127),i=n(58),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*a,"String",{padEnd:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,e,n){n(324),t.exports=n(65).f("asyncIterator")},function(t,e,n){n(100)("asyncIterator")},function(t,e,n){n(326),t.exports=n(9).Object.getOwnPropertyDescriptors},function(t,e,n){var r=n(0),o=n(126),i=n(16),a=n(19),s=n(82);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n,r=i(t),u=a.f,c=o(r),l={},d=0;c.length>d;)void 0!==(n=u(r,e=c[d++]))&&s(l,e,n);return l}})},function(t,e,n){n(328),t.exports=n(9).Object.values},function(t,e,n){var r=n(0),o=n(128)(!1);r(r.S,"Object",{values:function(t){return o(t)}})},function(t,e,n){n(330),t.exports=n(9).Object.entries},function(t,e,n){var r=n(0),o=n(128)(!0);r(r.S,"Object",{entries:function(t){return o(t)}})},function(t,e,n){"use strict";n(120),n(332),t.exports=n(9).Promise.finally},function(t,e,n){"use strict";var r=n(0),o=n(9),i=n(1),a=n(47),s=n(122);r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,o.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then(function(){return n})}:t,n?function(n){return s(e,t()).then(function(){throw n})}:t)}})},function(t,e,n){n(334),n(335),n(336),t.exports=n(9)},function(t,e,n){var r=n(1),o=n(0),i=n(58),a=[].slice,s=/MSIE .\./.test(i),u=function(t){return function(e,n){var r=arguments.length>2,o=!!r&&a.call(arguments,2);return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,o)}:e,n)}};o(o.G+o.B+o.F*s,{setTimeout:u(r.setTimeout),setInterval:u(r.setInterval)})},function(t,e,n){var r=n(0),o=n(88);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},function(t,e,n){for(var r=n(85),o=n(32),i=n(10),a=n(1),s=n(15),u=n(39),c=n(5),l=c("iterator"),d=c("toStringTag"),f=u.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},g=o(p),h=0;h<g.length;h++){var v,m=g[h],y=p[m],_=a[m],x=_&&_.prototype;if(x&&(x[l]||s(x,l,f),x[d]||s(x,d,m),u[m]=f,y))for(v in r)x[v]||i(x,v,r[v],!0)}},function(t,e){!function(e){"use strict";var n,r=Object.prototype,o=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag",c="object"==typeof t,l=e.regeneratorRuntime;if(l)c&&(t.exports=l);else{(l=e.regeneratorRuntime=c?t.exports:{}).wrap=x;var d="suspendedStart",f="suspendedYield",p="executing",g="completed",h={},v={};v[a]=function(){return this};var m=Object.getPrototypeOf,y=m&&m(m(T([])));y&&y!==r&&o.call(y,a)&&(v=y);var _=A.prototype=w.prototype=Object.create(v);S.prototype=_.constructor=A,A.constructor=S,A[u]=S.displayName="GeneratorFunction",l.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===S||"GeneratorFunction"===(e.displayName||e.name))},l.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,A):(t.__proto__=A,u in t||(t[u]="GeneratorFunction")),t.prototype=Object.create(_),t},l.awrap=function(t){return{__await:t}},j(P.prototype),P.prototype[s]=function(){return this},l.AsyncIterator=P,l.async=function(t,e,n,r){var o=new P(x(t,e,n,r));return l.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},j(_),_[u]="Generator",_[a]=function(){return this},_.toString=function(){return"[object Generator]"},l.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},l.values=T,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(L),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,o){return s.type="throw",s.arg=t,e.next=r,o&&(e.method="next",e.arg=n),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var u=o.call(a,"catchLoc"),c=o.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),L(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;L(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:T(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),h}}}function x(t,e,n,r){var o=e&&e.prototype instanceof w?e:w,i=Object.create(o.prototype),a=new M(r||[]);return i._invoke=function(t,e,n){var r=d;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===g){if("throw"===o)throw i;return I()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=E(a,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=b(t,e,n);if("normal"===u.type){if(r=n.done?g:f,u.arg===h)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=g,n.method="throw",n.arg=u.arg)}}}(t,n,a),i}function b(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function w(){}function S(){}function A(){}function j(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function P(t){var e;this._invoke=function(n,r){function i(){return new Promise(function(e,i){!function e(n,r,i,a){var s=b(t[n],t,r);if("throw"!==s.type){var u=s.arg,c=u.value;return c&&"object"==typeof c&&o.call(c,"__await")?Promise.resolve(c.__await).then(function(t){e("next",t,i,a)},function(t){e("throw",t,i,a)}):Promise.resolve(c).then(function(t){u.value=t,i(u)},function(t){return e("throw",t,i,a)})}a(s.arg)}(n,r,e,i)})}return e=e?e.then(i,i):i()}}function E(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,E(t,e),"throw"===e.method))return h;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=b(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,h;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,h):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(o.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=n,e.done=!0,e};return i.next=i}}return{next:I}}function I(){return{value:n,done:!0}}}(function(){return this||"object"==typeof self&&self}()||Function("return this")())},function(t,e,n){"use strict";var r,o,i,a,s,u;if(Function.prototype.bind||(Function.prototype.bind=function(t){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var e=Array.prototype.slice.call(arguments,1),n=this,r=function(){},o=function(){return n.apply(this instanceof r&&t?this:t,e.concat(Array.prototype.slice.call(arguments)))};return r.prototype=this.prototype,o.prototype=new r,o}),r=Object.prototype,o=r.__defineGetter__,i=r.__defineSetter__,a=r.__lookupGetter__,s=r.__lookupSetter__,u=r.hasOwnProperty,o&&i&&a&&s&&(Object.defineProperty||(Object.defineProperty=function(t,e,n){if(arguments.length<3)throw new TypeError("Arguments not optional");if(e+="",u.call(n,"value")&&(a.call(t,e)||s.call(t,e)||(t[e]=n.value),u.call(n,"get")||u.call(n,"set")))throw new TypeError("Cannot specify an accessor and a value");if(!(n.writable&&n.enumerable&&n.configurable))throw new TypeError("This implementation of Object.defineProperty does not support false for configurable, enumerable, or writable.");return n.get&&o.call(t,e,n.get),n.set&&i.call(t,e,n.set),t}),Object.getOwnPropertyDescriptor||(Object.getOwnPropertyDescriptor=function(t,e){if(arguments.length<2)throw new TypeError("Arguments not optional.");e+="";var n={configurable:!0,enumerable:!0,writable:!0},r=a.call(t,e),o=s.call(t,e);return u.call(t,e)?r||o?(delete n.writable,n.get=n.set=void 0,r&&(n.get=r),o&&(n.set=o),n):(n.value=t[e],n):n}),Object.defineProperties||(Object.defineProperties=function(t,e){var n;for(n in e)u.call(e,n)&&Object.defineProperty(t,n,e[n])})),!(document.documentElement.dataset||Object.getOwnPropertyDescriptor(Element.prototype,"dataset")&&Object.getOwnPropertyDescriptor(Element.prototype,"dataset").get)){var c={enumerable:!0,get:function(){var t,e,n,r,o,i,a=this.attributes,s=a.length,u=function(t){return t.charAt(1).toUpperCase()},c=function(){return this},l=function(t,e){return void 0!==e?this.setAttribute(t,e):this.removeAttribute(t)};try{({}).__defineGetter__("test",function(){}),e={}}catch(t){e=document.createElement("div")}for(t=0;t<s;t++)if((i=a[t])&&i.name&&/^data-\w[\w\-]*$/.test(i.name)){n=i.value,o=(r=i.name).substr(5).replace(/-./g,u);try{Object.defineProperty(e,o,{enumerable:this.enumerable,get:c.bind(n||""),set:l.bind(this,r)})}catch(t){e[o]=n}}return e}};try{Object.defineProperty(Element.prototype,"dataset",c)}catch(t){c.enumerable=!1,Object.defineProperty(Element.prototype,"dataset",c)}}},function(t,e,n){"use strict";var r=n(340),o=n(341),i=n(130);t.exports={formats:i,parse:o,stringify:r}},function(t,e,n){"use strict";var r=n(129),o=n(130),i={brackets:function(t){return t+"[]"},indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},a=Array.isArray,s=Array.prototype.push,u=function(t,e){s.apply(t,a(e)?e:[e])},c=Date.prototype.toISOString,l={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,indices:!1,serializeDate:function(t){return c.call(t)},skipNulls:!1,strictNullHandling:!1},d=function t(e,n,o,i,a,s,c,d,f,p,g,h,v){var m=e;if("function"==typeof c?m=c(n,m):m instanceof Date&&(m=p(m)),null===m){if(i)return s&&!h?s(n,l.encoder,v):n;m=""}if("string"==typeof m||"number"==typeof m||"boolean"==typeof m||r.isBuffer(m))return s?[g(h?n:s(n,l.encoder,v))+"="+g(s(m,l.encoder,v))]:[g(n)+"="+g(String(m))];var y,_=[];if(void 0===m)return _;if(Array.isArray(c))y=c;else{var x=Object.keys(m);y=d?x.sort(d):x}for(var b=0;b<y.length;++b){var w=y[b];a&&null===m[w]||(Array.isArray(m)?u(_,t(m[w],o(n,w),o,i,a,s,c,d,f,p,g,h,v)):u(_,t(m[w],n+(f?"."+w:"["+w+"]"),o,i,a,s,c,d,f,p,g,h,v)))}return _};t.exports=function(t,e){var n=t,a=e?r.assign({},e):{};if(null!==a.encoder&&void 0!==a.encoder&&"function"!=typeof a.encoder)throw new TypeError("Encoder has to be a function.");var s=void 0===a.delimiter?l.delimiter:a.delimiter,c="boolean"==typeof a.strictNullHandling?a.strictNullHandling:l.strictNullHandling,f="boolean"==typeof a.skipNulls?a.skipNulls:l.skipNulls,p="boolean"==typeof a.encode?a.encode:l.encode,g="function"==typeof a.encoder?a.encoder:l.encoder,h="function"==typeof a.sort?a.sort:null,v=void 0===a.allowDots?l.allowDots:!!a.allowDots,m="function"==typeof a.serializeDate?a.serializeDate:l.serializeDate,y="boolean"==typeof a.encodeValuesOnly?a.encodeValuesOnly:l.encodeValuesOnly,_=a.charset||l.charset;if(void 0!==a.charset&&"utf-8"!==a.charset&&"iso-8859-1"!==a.charset)throw new Error("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0===a.format)a.format=o.default;else if(!Object.prototype.hasOwnProperty.call(o.formatters,a.format))throw new TypeError("Unknown format option provided.");var x,b,w=o.formatters[a.format];"function"==typeof a.filter?n=(b=a.filter)("",n):Array.isArray(a.filter)&&(x=b=a.filter);var S,A=[];if("object"!=typeof n||null===n)return"";S=a.arrayFormat in i?a.arrayFormat:"indices"in a?a.indices?"indices":"repeat":"indices";var j=i[S];x||(x=Object.keys(n)),h&&x.sort(h);for(var P=0;P<x.length;++P){var E=x[P];f&&null===n[E]||u(A,d(n[E],E,j,c,f,p?g:null,b,h,v,m,w,y,_))}var O=A.join(s),L=!0===a.addQueryPrefix?"?":"";return a.charsetSentinel&&(L+="iso-8859-1"===_?"utf8=%26%2310003%3B&":"utf8=%E2%9C%93&"),O.length>0?L+O:""}},function(t,e,n){"use strict";var r=n(129),o=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},a=function(t){return t.replace(/&#(\d+);/g,function(t,e){return String.fromCharCode(parseInt(e,10))})},s=function(t,e,n){if(t){var r=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,a=/(\[[^[\]]*])/.exec(r),s=a?r.slice(0,a.index):r,u=[];if(s){if(!n.plainObjects&&o.call(Object.prototype,s)&&!n.allowPrototypes)return;u.push(s)}for(var c=0;null!==(a=i.exec(r))&&c<n.depth;){if(c+=1,!n.plainObjects&&o.call(Object.prototype,a[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(a[1])}return a&&u.push("["+r.slice(a.index)+"]"),function(t,e,n){for(var r=e,o=t.length-1;o>=0;--o){var i,a=t[o];if("[]"===a&&n.parseArrays)i=[].concat(r);else{i=n.plainObjects?Object.create(null):{};var s="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,u=parseInt(s,10);n.parseArrays||""!==s?!isNaN(u)&&a!==s&&String(u)===s&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(i=[])[u]=r:i[s]=r:i={0:r}}r=i}return r}(u,e,n)}};t.exports=function(t,e){var n=e?r.assign({},e):{};if(null!==n.decoder&&void 0!==n.decoder&&"function"!=typeof n.decoder)throw new TypeError("Decoder has to be a function.");if(n.ignoreQueryPrefix=!0===n.ignoreQueryPrefix,n.delimiter="string"==typeof n.delimiter||r.isRegExp(n.delimiter)?n.delimiter:i.delimiter,n.depth="number"==typeof n.depth?n.depth:i.depth,n.arrayLimit="number"==typeof n.arrayLimit?n.arrayLimit:i.arrayLimit,n.parseArrays=!1!==n.parseArrays,n.decoder="function"==typeof n.decoder?n.decoder:i.decoder,n.allowDots=void 0===n.allowDots?i.allowDots:!!n.allowDots,n.plainObjects="boolean"==typeof n.plainObjects?n.plainObjects:i.plainObjects,n.allowPrototypes="boolean"==typeof n.allowPrototypes?n.allowPrototypes:i.allowPrototypes,n.parameterLimit="number"==typeof n.parameterLimit?n.parameterLimit:i.parameterLimit,n.strictNullHandling="boolean"==typeof n.strictNullHandling?n.strictNullHandling:i.strictNullHandling,void 0!==n.charset&&"utf-8"!==n.charset&&"iso-8859-1"!==n.charset)throw new Error("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0===n.charset&&(n.charset=i.charset),""===t||null==t)return n.plainObjects?Object.create(null):{};for(var u="string"==typeof t?function(t,e){var n,s={},u=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,c=e.parameterLimit===1/0?void 0:e.parameterLimit,l=u.split(e.delimiter,c),d=-1,f=e.charset;if(e.charsetSentinel)for(n=0;n<l.length;++n)0===l[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===l[n]?f="utf-8":"utf8=%26%2310003%3B"===l[n]&&(f="iso-8859-1"),d=n,n=l.length);for(n=0;n<l.length;++n)if(n!==d){var p,g,h=l[n],v=h.indexOf("]="),m=-1===v?h.indexOf("="):v+1;-1===m?(p=e.decoder(h,i.decoder,f),g=e.strictNullHandling?null:""):(p=e.decoder(h.slice(0,m),i.decoder,f),g=e.decoder(h.slice(m+1),i.decoder,f)),g&&e.interpretNumericEntities&&"iso-8859-1"===f&&(g=a(g)),o.call(s,p)?s[p]=r.combine(s[p],g):s[p]=g}return s}(t,n):t,c=n.plainObjects?Object.create(null):{},l=Object.keys(u),d=0;d<l.length;++d){var f=l[d],p=s(f,u[f],n);c=r.merge(c,p,n)}return r.compact(c)}}]);
|
1 |
+
var ajaxloadmore=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=90)}([function(t,e,n){var r=n(1),o=n(9),i=n(15),a=n(10),s=n(22),l=function(t,e,n){var u,c,d,f,p=t&l.F,g=t&l.G,h=t&l.S,v=t&l.P,m=t&l.B,y=g?r:h?r[e]||(r[e]={}):(r[e]||{}).prototype,_=g?o:o[e]||(o[e]={}),b=_.prototype||(_.prototype={});for(u in g&&(n=e),n)d=((c=!p&&y&&void 0!==y[u])?y:n)[u],f=m&&c?s(d,r):v&&"function"==typeof d?s(Function.call,d):d,y&&a(y,u,d,t&l.U),_[u]!=d&&i(_,u,f),v&&b[u]!=d&&(b[u]=d)};r.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(49)("wks"),o=n(30),i=n(1).Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},function(t,e,n){var r=n(18),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(3),o=n(102),i=n(27),a=Object.defineProperty;e.f=n(8)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){t.exports=!n(2)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(1),o=n(15),i=n(14),a=n(30)("src"),s=n(176),l=(""+s).split("toString");n(9).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var u="function"==typeof n;u&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(u&&(i(n,a)||o(n,a,t[e]?""+t[e]:l.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(t,e,n){var r=n(25);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(0),o=n(2),i=n(25),a=/"/g,s=function(t,e,n,r){var o=String(i(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,""")+'"'),s+">"+o+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(s),r(r.P+r.F*o(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t,e,n){"use strict";var r=n(91),o=n(136),i=Object.prototype.toString;function a(t){return"[object Array]"===i.call(t)}function s(t){return null!==t&&"object"==typeof t}function l(t){return"[object Function]"===i.call(t)}function u(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),a(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}t.exports={isArray:a,isArrayBuffer:function(t){return"[object ArrayBuffer]"===i.call(t)},isBuffer:o,isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:s,isUndefined:function(t){return void 0===t},isDate:function(t){return"[object Date]"===i.call(t)},isFile:function(t){return"[object File]"===i.call(t)},isBlob:function(t){return"[object Blob]"===i.call(t)},isFunction:l,isStream:function(t){return s(t)&&l(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:u,merge:function t(){var e={};function n(n,r){"object"==typeof e[r]&&"object"==typeof n?e[r]=t(e[r],n):e[r]=n}for(var r=0,o=arguments.length;r<o;r++)u(arguments[r],n);return e},extend:function(t,e,n){return u(e,function(e,o){t[o]=n&&"function"==typeof e?r(e,n):e}),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(7),o=n(29);t.exports=n(8)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(44),o=n(25);t.exports=function(t){return r(o(t))}},function(t,e,n){"use strict";var r=n(2);t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(45),o=n(29),i=n(16),a=n(27),s=n(14),l=n(102),u=Object.getOwnPropertyDescriptor;e.f=n(8)?u:function(t,e){if(t=i(t),e=a(e,!0),l)try{return u(t,e)}catch(t){}if(s(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(0),o=n(9),i=n(2);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(t,e,n){var r=n(22),o=n(44),i=n(11),a=n(6),s=n(266);t.exports=function(t,e){var n=1==t,l=2==t,u=3==t,c=4==t,d=6==t,f=5==t||d,p=e||s;return function(e,s,g){for(var h,v,m=i(e),y=o(m),_=r(s,g,3),b=a(y.length),x=0,w=n?p(e,b):l?p(e,0):void 0;b>x;x++)if((f||x in y)&&(v=_(h=y[x],x,m),t))if(n)w[x]=v;else if(v)switch(t){case 3:return!0;case 5:return h;case 6:return x;case 2:w.push(h)}else if(c)return!1;return d?-1:u||c?c:w}}},function(t,e,n){var r=n(23);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){"use strict";if(n(8)){var r=n(31),o=n(1),i=n(2),a=n(0),s=n(60),l=n(89),u=n(22),c=n(42),d=n(29),f=n(15),p=n(43),g=n(18),h=n(6),v=n(128),m=n(33),y=n(27),_=n(14),b=n(46),x=n(4),w=n(11),S=n(81),A=n(34),j=n(36),O=n(35).f,P=n(83),E=n(30),L=n(5),M=n(21),T=n(50),I=n(47),F=n(85),C=n(39),N=n(53),k=n(41),R=n(84),D=n(119),q=n(7),B=n(19),z=q.f,U=B.f,W=o.RangeError,V=o.TypeError,H=o.Uint8Array,G=Array.prototype,Y=l.ArrayBuffer,X=l.DataView,$=M(0),Q=M(2),K=M(3),J=M(4),Z=M(5),tt=M(6),et=T(!0),nt=T(!1),rt=F.values,ot=F.keys,it=F.entries,at=G.lastIndexOf,st=G.reduce,lt=G.reduceRight,ut=G.join,ct=G.sort,dt=G.slice,ft=G.toString,pt=G.toLocaleString,gt=L("iterator"),ht=L("toStringTag"),vt=E("typed_constructor"),mt=E("def_constructor"),yt=s.CONSTR,_t=s.TYPED,bt=s.VIEW,xt=M(1,function(t,e){return Ot(I(t,t[mt]),e)}),wt=i(function(){return 1===new H(new Uint16Array([1]).buffer)[0]}),St=!!H&&!!H.prototype.set&&i(function(){new H(1).set({})}),At=function(t,e){var n=g(t);if(n<0||n%e)throw W("Wrong offset!");return n},jt=function(t){if(x(t)&&_t in t)return t;throw V(t+" is not a typed array!")},Ot=function(t,e){if(!(x(t)&&vt in t))throw V("It is not a typed array constructor!");return new t(e)},Pt=function(t,e){return Et(I(t,t[mt]),e)},Et=function(t,e){for(var n=0,r=e.length,o=Ot(t,r);r>n;)o[n]=e[n++];return o},Lt=function(t,e,n){z(t,e,{get:function(){return this._d[n]}})},Mt=function(t){var e,n,r,o,i,a,s=w(t),l=arguments.length,c=l>1?arguments[1]:void 0,d=void 0!==c,f=P(s);if(null!=f&&!S(f)){for(a=f.call(s),r=[],e=0;!(i=a.next()).done;e++)r.push(i.value);s=r}for(d&&l>2&&(c=u(c,arguments[2],2)),e=0,n=h(s.length),o=Ot(this,n);n>e;e++)o[e]=d?c(s[e],e):s[e];return o},Tt=function(){for(var t=0,e=arguments.length,n=Ot(this,e);e>t;)n[t]=arguments[t++];return n},It=!!H&&i(function(){pt.call(new H(1))}),Ft=function(){return pt.apply(It?dt.call(jt(this)):jt(this),arguments)},Ct={copyWithin:function(t,e){return D.call(jt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return J(jt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return R.apply(jt(this),arguments)},filter:function(t){return Pt(this,Q(jt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Z(jt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(jt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){$(jt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(jt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(jt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ut.apply(jt(this),arguments)},lastIndexOf:function(t){return at.apply(jt(this),arguments)},map:function(t){return xt(jt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return st.apply(jt(this),arguments)},reduceRight:function(t){return lt.apply(jt(this),arguments)},reverse:function(){for(var t,e=jt(this).length,n=Math.floor(e/2),r=0;r<n;)t=this[r],this[r++]=this[--e],this[e]=t;return this},some:function(t){return K(jt(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return ct.call(jt(this),t)},subarray:function(t,e){var n=jt(this),r=n.length,o=m(t,r);return new(I(n,n[mt]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,h((void 0===e?r:m(e,r))-o))}},Nt=function(t,e){return Pt(this,dt.call(jt(this),t,e))},kt=function(t){jt(this);var e=At(arguments[1],1),n=this.length,r=w(t),o=h(r.length),i=0;if(o+e>n)throw W("Wrong length!");for(;i<o;)this[e+i]=r[i++]},Rt={entries:function(){return it.call(jt(this))},keys:function(){return ot.call(jt(this))},values:function(){return rt.call(jt(this))}},Dt=function(t,e){return x(t)&&t[_t]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},qt=function(t,e){return Dt(t,e=y(e,!0))?d(2,t[e]):U(t,e)},Bt=function(t,e,n){return!(Dt(t,e=y(e,!0))&&x(n)&&_(n,"value"))||_(n,"get")||_(n,"set")||n.configurable||_(n,"writable")&&!n.writable||_(n,"enumerable")&&!n.enumerable?z(t,e,n):(t[e]=n.value,t)};yt||(B.f=qt,q.f=Bt),a(a.S+a.F*!yt,"Object",{getOwnPropertyDescriptor:qt,defineProperty:Bt}),i(function(){ft.call({})})&&(ft=pt=function(){return ut.call(this)});var zt=p({},Ct);p(zt,Rt),f(zt,gt,Rt.values),p(zt,{slice:Nt,set:kt,constructor:function(){},toString:ft,toLocaleString:Ft}),Lt(zt,"buffer","b"),Lt(zt,"byteOffset","o"),Lt(zt,"byteLength","l"),Lt(zt,"length","e"),z(zt,ht,{get:function(){return this[_t]}}),t.exports=function(t,e,n,l){var u=t+((l=!!l)?"Clamped":"")+"Array",d="get"+t,p="set"+t,g=o[u],m=g||{},y=g&&j(g),_=!g||!s.ABV,w={},S=g&&g.prototype,P=function(t,n){z(t,n,{get:function(){return function(t,n){var r=t._d;return r.v[d](n*e+r.o,wt)}(this,n)},set:function(t){return function(t,n,r){var o=t._d;l&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),o.v[p](n*e+o.o,r,wt)}(this,n,t)},enumerable:!0})};_?(g=n(function(t,n,r,o){c(t,g,u,"_d");var i,a,s,l,d=0,p=0;if(x(n)){if(!(n instanceof Y||"ArrayBuffer"==(l=b(n))||"SharedArrayBuffer"==l))return _t in n?Et(g,n):Mt.call(g,n);i=n,p=At(r,e);var m=n.byteLength;if(void 0===o){if(m%e)throw W("Wrong length!");if((a=m-p)<0)throw W("Wrong length!")}else if((a=h(o)*e)+p>m)throw W("Wrong length!");s=a/e}else s=v(n),i=new Y(a=s*e);for(f(t,"_d",{b:i,o:p,l:a,e:s,v:new X(i)});d<s;)P(t,d++)}),S=g.prototype=A(zt),f(S,"constructor",g)):i(function(){g(1)})&&i(function(){new g(-1)})&&N(function(t){new g,new g(null),new g(1.5),new g(t)},!0)||(g=n(function(t,n,r,o){var i;return c(t,g,u),x(n)?n instanceof Y||"ArrayBuffer"==(i=b(n))||"SharedArrayBuffer"==i?void 0!==o?new m(n,At(r,e),o):void 0!==r?new m(n,At(r,e)):new m(n):_t in n?Et(g,n):Mt.call(g,n):new m(v(n))}),$(y!==Function.prototype?O(m).concat(O(y)):O(m),function(t){t in g||f(g,t,m[t])}),g.prototype=S,r||(S.constructor=g));var E=S[gt],L=!!E&&("values"==E.name||null==E.name),M=Rt.values;f(g,vt,!0),f(S,_t,u),f(S,bt,!0),f(S,mt,g),(l?new g(1)[ht]==u:ht in S)||z(S,ht,{get:function(){return u}}),w[u]=g,a(a.G+a.W+a.F*(g!=m),w),a(a.S,u,{BYTES_PER_ELEMENT:e}),a(a.S+a.F*i(function(){m.of.call(g,1)}),u,{from:Mt,of:Tt}),"BYTES_PER_ELEMENT"in S||f(S,"BYTES_PER_ELEMENT",e),a(a.P,u,Ct),k(u),a(a.P+a.F*St,u,{set:kt}),a(a.P+a.F*!L,u,Rt),r||S.toString==ft||(S.toString=ft),a(a.P+a.F*i(function(){new g(1).slice()}),u,{slice:Nt}),a(a.P+a.F*(i(function(){return[1,2].toLocaleString()!=new g([1,2]).toLocaleString()})||!i(function(){S.toLocaleString.call([1,2])})),u,{toLocaleString:Ft}),C[u]=L?E:M,r||L||f(S,gt,M)}}else t.exports=function(){}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(30)("meta"),o=n(4),i=n(14),a=n(7).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(2)(function(){return l(Object.preventExtensions({}))}),c=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},d=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!l(t))return"F";if(!e)return"E";c(t)}return t[r].i},getWeak:function(t,e){if(!i(t,r)){if(!l(t))return!0;if(!e)return!1;c(t)}return t[r].w},onFreeze:function(t){return u&&d.NEED&&l(t)&&!i(t,r)&&c(t),t}}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports=!1},function(t,e,n){var r=n(104),o=n(67);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(18),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(3),o=n(105),i=n(67),a=n(66)("IE_PROTO"),s=function(){},l=function(){var t,e=n(64)("iframe"),r=i.length;for(e.style.display="none",n(69).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;r--;)delete l.prototype[i[r]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=l(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(104),o=n(67).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(14),o=n(11),i=n(66)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){var r=n(7).f,o=n(14),i=n(5)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e){t.exports={}},function(t,e,n){var r=n(5)("unscopables"),o=Array.prototype;null==o[r]&&n(15)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e,n){"use strict";var r=n(1),o=n(7),i=n(8),a=n(5)("species");t.exports=function(t){var e=r[t];i&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(10);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e,n){var r=n(24);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(24),o=n(5)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){var r=n(3),o=n(23),i=n(5)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,e){if(0==e)t.style.opacity=1,t.style.height="auto";else{e/=10;var n=0,r=setInterval(function(){n>.9&&(t.style.opacity=1,clearInterval(r)),t.style.opacity=n,n+=.1},e);t.style.height="auto"}}},function(t,e,n){var r=n(9),o=n(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(31)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(16),o=n(6),i=n(33);t.exports=function(t){return function(e,n,a){var s,l=r(e),u=o(l.length),c=i(a,u);if(t&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(0),o=n(25),i=n(2),a=n(71),s="["+a+"]",l=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),c=function(t,e,n){var o={},s=i(function(){return!!a[t]()||"
"!="
"[t]()}),l=o[t]=s?e(d):a[t];n&&(o[n]=l),r(r.P+r.F*s,"String",o)},d=c.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(l,"")),2&e&&(t=t.replace(u,"")),t};t.exports=c},function(t,e,n){var r=n(5)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},t(i)}catch(t){}return n}},function(t,e,n){"use strict";var r=n(3);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){"use strict";var r=n(46),o=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},function(t,e,n){"use strict";n(121);var r=n(10),o=n(15),i=n(2),a=n(25),s=n(5),l=n(86),u=s("species"),c=!i(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),d=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var f=s(t),p=!i(function(){var e={};return e[f]=function(){return 7},7!=""[t](e)}),g=p?!i(function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[u]=function(){return n}),n[f](""),!e}):void 0;if(!p||!g||"replace"===t&&!c||"split"===t&&!d){var h=/./[f],v=n(a,f,""[t],function(t,e,n,r,o){return e.exec===l?p&&!o?{done:!0,value:h.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),m=v[0],y=v[1];r(String.prototype,t,m),o(RegExp.prototype,f,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},function(t,e,n){var r=n(22),o=n(117),i=n(81),a=n(3),s=n(6),l=n(83),u={},c={};(e=t.exports=function(t,e,n,d,f){var p,g,h,v,m=f?function(){return t}:l(t),y=r(n,d,e?2:1),_=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(i(m)){for(p=s(t.length);p>_;_++)if((v=e?y(a(g=t[_])[0],g[1]):y(t[_]))===u||v===c)return v}else for(h=m.call(t);!(g=h.next()).done;)if((v=o(h,y,g.value,e))===u||v===c)return v}).BREAK=u,e.RETURN=c},function(t,e,n){var r=n(1).navigator;t.exports=r&&r.userAgent||""},function(t,e,n){"use strict";var r=n(1),o=n(0),i=n(10),a=n(43),s=n(28),l=n(57),u=n(42),c=n(4),d=n(2),f=n(53),p=n(38),g=n(72);t.exports=function(t,e,n,h,v,m){var y=r[t],_=y,b=v?"set":"add",x=_&&_.prototype,w={},S=function(t){var e=x[t];i(x,t,"delete"==t?function(t){return!(m&&!c(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(m&&!c(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return m&&!c(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof _&&(m||x.forEach&&!d(function(){(new _).entries().next()}))){var A=new _,j=A[b](m?{}:-0,1)!=A,O=d(function(){A.has(1)}),P=f(function(t){new _(t)}),E=!m&&d(function(){for(var t=new _,e=5;e--;)t[b](e,e);return!t.has(-0)});P||((_=e(function(e,n){u(e,_,t);var r=g(new y,e,_);return null!=n&&l(n,v,r[b],r),r})).prototype=x,x.constructor=_),(O||E)&&(S("delete"),S("has"),v&&S("get")),(E||j)&&S(b),m&&x.clear&&delete x.clear}else _=h.getConstructor(e,t,v,b),a(_.prototype,n),s.NEED=!0;return p(_,t),w[t]=_,o(o.G+o.W+o.F*(_!=y),w),m||h.setStrong(_,t,v),_}},function(t,e,n){for(var r,o=n(1),i=n(15),a=n(30),s=a("typed_array"),l=a("view"),u=!(!o.ArrayBuffer||!o.DataView),c=u,d=0,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");d<9;)(r=o[f[d++]])?(i(r.prototype,s,!0),i(r.prototype,l,!0)):c=!1;t.exports={ABV:u,CONSTR:c,TYPED:s,VIEW:l}},function(t,e,n){"use strict";(function(e){var r=n(13),o=n(139),i={"Content-Type":"application/x-www-form-urlencoded"};function a(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var s,l={adapter:("undefined"!=typeof XMLHttpRequest?s=n(92):void 0!==e&&(s=n(92)),s),transformRequest:[function(t,e){return o(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(a(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(a(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};l.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(t){l.headers[t]={}}),r.forEach(["post","put","patch"],function(t){l.headers[t]=r.merge(i)}),t.exports=l}).call(this,n(138))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text/html";if(!t)return!1;var n=(new DOMParser).parseFromString(t,e);return n?Array.prototype.slice.call(n.body.childNodes):n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,e){e/=10,t.style.opacity=.5;var n=setInterval(function(){t.style.opacity<.1?clearInterval(n):t.style.opacity-=.1},e)}},function(t,e,n){var r=n(4),o=n(1).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){e.f=n(5)},function(t,e,n){var r=n(49)("keys"),o=n(30);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(24);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(1).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(4),o=n(3),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(22)(Function.call,n(19).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,e,n){var r=n(4),o=n(70).set;t.exports=function(t,e,n){var i,a=e.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(t,i),t}},function(t,e,n){"use strict";var r=n(18),o=n(25);t.exports=function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e,n){var r=n(18),o=n(25);t.exports=function(t){return function(e,n){var i,a,s=String(o(e)),l=r(n),u=s.length;return l<0||l>=u?t?"":void 0:(i=s.charCodeAt(l))<55296||i>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?t?s.charAt(l):i:t?s.slice(l,l+2):a-56320+(i-55296<<10)+65536}}},function(t,e,n){"use strict";var r=n(31),o=n(0),i=n(10),a=n(15),s=n(39),l=n(116),u=n(38),c=n(36),d=n(5)("iterator"),f=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,n,g,h,v,m){l(n,e,g);var y,_,b,x=function(t){if(!f&&t in j)return j[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},w=e+" Iterator",S="values"==h,A=!1,j=t.prototype,O=j[d]||j["@@iterator"]||h&&j[h],P=O||x(h),E=h?S?x("entries"):P:void 0,L="Array"==e&&j.entries||O;if(L&&(b=c(L.call(new t)))!==Object.prototype&&b.next&&(u(b,w,!0),r||"function"==typeof b[d]||a(b,d,p)),S&&O&&"values"!==O.name&&(A=!0,P=function(){return O.call(this)}),r&&!m||!f&&!A&&j[d]||a(j,d,P),s[e]=P,s[w]=p,h)if(y={values:S?P:x("values"),keys:v?P:x("keys"),entries:E},m)for(_ in y)_ in j||i(j,_,y[_]);else o(o.P+o.F*(f||A),e,y);return y}},function(t,e,n){var r=n(79),o=n(25);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(t))}},function(t,e,n){var r=n(4),o=n(24),i=n(5)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},function(t,e,n){var r=n(5)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,n){var r=n(39),o=n(5)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){"use strict";var r=n(7),o=n(29);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var r=n(46),o=n(5)("iterator"),i=n(39);t.exports=n(9).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){"use strict";var r=n(11),o=n(33),i=n(6);t.exports=function(t){for(var e=r(this),n=i(e.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,u=void 0===l?n:o(l,n);u>s;)e[s++]=t;return e}},function(t,e,n){"use strict";var r=n(40),o=n(120),i=n(39),a=n(16);t.exports=n(77)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e,n){"use strict";var r,o,i=n(54),a=RegExp.prototype.exec,s=String.prototype.replace,l=a,u=(r=/a/,o=/b*/g,a.call(r,"a"),a.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),c=void 0!==/()??/.exec("")[1];(u||c)&&(l=function(t){var e,n,r,o,l=this;return c&&(n=new RegExp("^"+l.source+"$(?!\\s)",i.call(l))),u&&(e=l.lastIndex),r=a.call(l,t),u&&r&&(l.lastIndex=l.global?r.index+r[0].length:e),c&&r&&r.length>1&&s.call(r[0],n,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)}),r}),t.exports=l},function(t,e,n){"use strict";var r=n(76)(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},function(t,e,n){var r,o,i,a=n(22),s=n(110),l=n(69),u=n(64),c=n(1),d=c.process,f=c.setImmediate,p=c.clearImmediate,g=c.MessageChannel,h=c.Dispatch,v=0,m={},y=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},_=function(t){y.call(t.data)};f&&p||(f=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++v]=function(){s("function"==typeof t?t:Function(t),e)},r(v),v},p=function(t){delete m[t]},"process"==n(24)(d)?r=function(t){d.nextTick(a(y,t,1))}:h&&h.now?r=function(t){h.now(a(y,t,1))}:g?(i=(o=new g).port2,o.port1.onmessage=_,r=a(i.postMessage,i,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(t){c.postMessage(t+"","*")},c.addEventListener("message",_,!1)):r="onreadystatechange"in u("script")?function(t){l.appendChild(u("script")).onreadystatechange=function(){l.removeChild(this),y.call(t)}}:function(t){setTimeout(a(y,t,1),0)}),t.exports={set:f,clear:p}},function(t,e,n){"use strict";var r=n(1),o=n(8),i=n(31),a=n(60),s=n(15),l=n(43),u=n(2),c=n(42),d=n(18),f=n(6),p=n(128),g=n(35).f,h=n(7).f,v=n(84),m=n(38),y="prototype",_="Wrong index!",b=r.ArrayBuffer,x=r.DataView,w=r.Math,S=r.RangeError,A=r.Infinity,j=b,O=w.abs,P=w.pow,E=w.floor,L=w.log,M=w.LN2,T=o?"_b":"buffer",I=o?"_l":"byteLength",F=o?"_o":"byteOffset";function C(t,e,n){var r,o,i,a=new Array(n),s=8*n-e-1,l=(1<<s)-1,u=l>>1,c=23===e?P(2,-24)-P(2,-77):0,d=0,f=t<0||0===t&&1/t<0?1:0;for((t=O(t))!=t||t===A?(o=t!=t?1:0,r=l):(r=E(L(t)/M),t*(i=P(2,-r))<1&&(r--,i*=2),(t+=r+u>=1?c/i:c*P(2,1-u))*i>=2&&(r++,i/=2),r+u>=l?(o=0,r=l):r+u>=1?(o=(t*i-1)*P(2,e),r+=u):(o=t*P(2,u-1)*P(2,e),r=0));e>=8;a[d++]=255&o,o/=256,e-=8);for(r=r<<e|o,s+=e;s>0;a[d++]=255&r,r/=256,s-=8);return a[--d]|=128*f,a}function N(t,e,n){var r,o=8*n-e-1,i=(1<<o)-1,a=i>>1,s=o-7,l=n-1,u=t[l--],c=127&u;for(u>>=7;s>0;c=256*c+t[l],l--,s-=8);for(r=c&(1<<-s)-1,c>>=-s,s+=e;s>0;r=256*r+t[l],l--,s-=8);if(0===c)c=1-a;else{if(c===i)return r?NaN:u?-A:A;r+=P(2,e),c-=a}return(u?-1:1)*r*P(2,c-e)}function k(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function R(t){return[255&t]}function D(t){return[255&t,t>>8&255]}function q(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function B(t){return C(t,52,8)}function z(t){return C(t,23,4)}function U(t,e,n){h(t[y],e,{get:function(){return this[n]}})}function W(t,e,n,r){var o=p(+n);if(o+e>t[I])throw S(_);var i=t[T]._b,a=o+t[F],s=i.slice(a,a+e);return r?s:s.reverse()}function V(t,e,n,r,o,i){var a=p(+n);if(a+e>t[I])throw S(_);for(var s=t[T]._b,l=a+t[F],u=r(+o),c=0;c<e;c++)s[l+c]=u[i?c:e-c-1]}if(a.ABV){if(!u(function(){b(1)})||!u(function(){new b(-1)})||u(function(){return new b,new b(1.5),new b(NaN),"ArrayBuffer"!=b.name})){for(var H,G=(b=function(t){return c(this,b),new j(p(t))})[y]=j[y],Y=g(j),X=0;Y.length>X;)(H=Y[X++])in b||s(b,H,j[H]);i||(G.constructor=b)}var $=new x(new b(2)),Q=x[y].setInt8;$.setInt8(0,2147483648),$.setInt8(1,2147483649),!$.getInt8(0)&&$.getInt8(1)||l(x[y],{setInt8:function(t,e){Q.call(this,t,e<<24>>24)},setUint8:function(t,e){Q.call(this,t,e<<24>>24)}},!0)}else b=function(t){c(this,b,"ArrayBuffer");var e=p(t);this._b=v.call(new Array(e),0),this[I]=e},x=function(t,e,n){c(this,x,"DataView"),c(t,b,"DataView");var r=t[I],o=d(e);if(o<0||o>r)throw S("Wrong offset!");if(o+(n=void 0===n?r-o:f(n))>r)throw S("Wrong length!");this[T]=t,this[F]=o,this[I]=n},o&&(U(b,"byteLength","_l"),U(x,"buffer","_b"),U(x,"byteLength","_l"),U(x,"byteOffset","_o")),l(x[y],{getInt8:function(t){return W(this,1,t)[0]<<24>>24},getUint8:function(t){return W(this,1,t)[0]},getInt16:function(t){var e=W(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=W(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return k(W(this,4,t,arguments[1]))},getUint32:function(t){return k(W(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return N(W(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return N(W(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){V(this,1,t,R,e)},setUint8:function(t,e){V(this,1,t,R,e)},setInt16:function(t,e){V(this,2,t,D,e,arguments[2])},setUint16:function(t,e){V(this,2,t,D,e,arguments[2])},setInt32:function(t,e){V(this,4,t,q,e,arguments[2])},setUint32:function(t,e){V(this,4,t,q,e,arguments[2])},setFloat32:function(t,e){V(this,4,t,z,e,arguments[2])},setFloat64:function(t,e){V(this,8,t,B,e,arguments[2])}});m(b,"ArrayBuffer"),m(x,"DataView"),s(x[y],a.VIEW,!0),e.ArrayBuffer=b,e.DataView=x},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.render=e.getOffset=e.almScroll=e.start=e.tracking=e.tab=e.filter=void 0;var r=E(n(134)),o=E(n(154));n(155);var i=E(n(156)),a=E(n(157)),s=E(n(96)),l=E(n(159)),u=E(n(160)),c=E(n(62)),d=E(n(161)),f=P(n(162)),p=P(n(97)),g=n(98),h=E(n(163)),v=E(n(164)),m=E(n(99)),y=E(n(165)),_=E(n(48)),b=E(n(63)),x=E(n(167)),w=E(n(168)),S=E(n(169)),A=E(n(170)),j=E(n(100)),O=n(171);function P(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function E(t){return t&&t.__esModule?t:{default:t}}function L(t){return function(){var e=t.apply(this,arguments);return new Promise(function(t,n){return function r(o,i){try{var a=e[o](i),s=a.value}catch(t){return void n(t)}if(!a.done)return Promise.resolve(s).then(function(t){r("next",t)},function(t){r("throw",t)});t(s)}("next")})}}n(172),n(339);var M=n(340),T=n(101);o.default.polyfill();var I=!1;!function(){var t=function(t,e){alm_localize&&"true"===alm_localize.scrolltop&&window.scrollTo(0,0);var n=this;n.AjaxLoadMore={},n.addons={},n.extensions={},n.integration={},n.window=window,n.page=0,n.posts=0,n.totalposts=0,n.proceed=!1,n.disable_ajax=!1,n.init=!0,n.loading=!0,n.finished=!1,n.timer=null,n.ua=window.navigator.userAgent?window.navigator.userAgent:"",n.vendor=window.navigator.vendor?window.navigator.vendor:"",n.isSafari=/Safari/i.test(n.ua)&&/Apple Computer/.test(n.vendor)&&!/Mobi|Android/i.test(n.ua),n.main=t,n.master_id=t.dataset.id?"ajax-load-more-"+t.dataset.id:t.id,t.classList.add("alm-"+e),t.setAttribute("data-alm-id",e),n.master_id=n.master_id.replace(/-/g,"_"),n.localize=window[n.master_id+"_vars"],n.main=t,n.listing=t.querySelector(".alm-listing")||t.querySelector(".alm-comments"),n.content=n.listing,n.el=n.content,n.ajax=t.querySelector(".alm-ajax"),n.container_type=n.listing.dataset.containerType,n.canonical_url=t.dataset.canonicalUrl,n.nested=t.dataset.nested?t.dataset.nested:null,n.is_search=t.dataset.search,n.slug=t.dataset.slug,n.post_id=t.dataset.postId,n.id=t.dataset.id?t.dataset.id:"";var o=t.querySelector(".alm-no-results");if(n.no_results=o?o.innerHTML:"",n.repeater=n.listing.dataset.repeater,n.theme_repeater=n.listing.dataset.themeRepeater,n.post_type=n.listing.dataset.postType?n.listing.dataset.postType:"post",n.sticky_posts=n.listing.dataset.stickyPosts?n.listing.dataset.stickyPosts:null,n.btnWrap=t.querySelectorAll(".alm-btn-wrap"),n.btnWrap=Array.prototype.slice.call(n.btnWrap),n.btnWrap[n.btnWrap.length-1].style.visibility="visible",n.trigger=n.btnWrap[n.btnWrap.length-1],n.button_label=n.listing.dataset.buttonLabel,n.button_loading_label=n.listing.dataset.buttonLoadingLabel,n.placeholder=n.main.querySelector(".alm-placeholder"),n.scroll_distance=n.listing.dataset.scrollDistance,n.scroll_distance=n.scroll_distance?n.scroll_distance:100,n.scroll_container=n.listing.dataset.scrollContainer,n.max_pages=n.listing.dataset.maxPages?parseInt(n.listing.dataset.maxPages):0,n.pause_override=n.listing.dataset.pauseOverride,n.pause=!!n.listing.dataset.pause&&n.listing.dataset.pause,n.transition=n.listing.dataset.transition,n.transition_container=n.listing.dataset.transitionContainer,n.tcc=n.listing.dataset.transitionContainerClasses,n.speed=alm_localize.speed?parseInt(alm_localize.speed):200,n.images_loaded=!!n.listing.dataset.imagesLoaded&&n.listing.dataset.imagesLoaded,n.destroy_after=n.listing.dataset.destroyAfter?n.listing.dataset.destroyAfter:"",n.orginal_posts_per_page=parseInt(n.listing.dataset.postsPerPage),n.posts_per_page=n.listing.dataset.postsPerPage,n.offset=n.listing.dataset.offset?parseInt(n.listing.dataset.offset):0,n.integration.woocommerce=!!n.listing.dataset.woocommerce&&n.listing.dataset.woocommerce,n.integration.woocommerce="true"===n.integration.woocommerce,n.addons.cache=n.listing.dataset.cache,n.addons.cache=void 0!==n.addons.cache&&n.addons.cache,n.addons.cache_id=n.listing.dataset.cacheId,n.addons.cache_path=n.listing.dataset.cachePath,n.addons.cache_logged_in=n.listing.dataset.cacheLoggedIn,n.addons.cache_logged_in=void 0!==n.addons.cache_logged_in&&n.addons.cache_logged_in,n.addons.cta=n.listing.dataset.cta,n.addons.cta_position=n.listing.dataset.ctaPosition,n.addons.cta_repeater=n.listing.dataset.ctaRepeater,n.addons.cta_theme_repeater=n.listing.dataset.ctaThemeRepeater,n.addons.nextpage=n.listing.dataset.nextpage,n.addons.nextpage_urls=n.listing.dataset.nextpageUrls,n.addons.nextpage_scroll=n.listing.dataset.nextpageScroll,n.addons.nextpage_pageviews=n.listing.dataset.nextpagePageviews,n.addons.nextpage_post_id=n.listing.dataset.nextpagePostId,n.addons.nextpage_startpage=n.listing.dataset.nextpageStartpage,n.addons.single_post=n.listing.dataset.singlePost,n.addons.single_post_id=n.listing.dataset.singlePostId,n.addons.single_post_order=n.listing.dataset.singlePostOrder,n.addons.single_post_init_id=n.listing.dataset.singlePostId,n.addons.single_post_taxonomy=n.listing.dataset.singlePostTaxonomy,n.addons.single_post_excluded_terms=n.listing.dataset.singlePostExcludedTerms,n.addons.single_post_progress_bar=n.listing.dataset.singlePostProgressBar,n.addons.single_post_target=n.listing.dataset.singlePostTarget,n.addons.comments=n.listing.dataset.comments,n.addons.comments_post_id=n.listing.dataset.comments_post_id,n.addons.comments_per_page=n.listing.dataset.comments_per_page,n.addons.comments_per_page=void 0===n.addons.comments_per_page?"5":n.addons.comments_per_page,n.addons.comments_type=n.listing.dataset.comments_type,n.addons.comments_style=n.listing.dataset.comments_style,n.addons.comments_template=n.listing.dataset.comments_template,n.addons.comments_callback=n.listing.dataset.comments_callback,n.addons.tabs=n.listing.dataset.tabs,n.addons.filters=n.listing.dataset.filters,n.addons.seo=n.listing.dataset.seo,n.addons.preloaded=n.listing.dataset.preloaded,n.addons.preloaded_amount=n.listing.dataset.preloadedAmount?n.listing.dataset.preloadedAmount:0,n.is_preloaded="true"===n.listing.dataset.isPreloaded,n.addons.paging=n.listing.dataset.paging,n.addons.users="true"===n.listing.dataset.users,n.addons.users&&(n.orginal_posts_per_page=n.listing.dataset.usersPerPage,n.posts_per_page=n.listing.dataset.usersPerPage),n.extensions.restapi=n.listing.dataset.restapi,n.extensions.restapi_base_url=n.listing.dataset.restapiBaseUrl,n.extensions.restapi_namespace=n.listing.dataset.restapiNamespace,n.extensions.restapi_endpoint=n.listing.dataset.restapiEndpoint,n.extensions.restapi_template_id=n.listing.dataset.restapiTemplateId,n.extensions.restapi_debug=n.listing.dataset.restapiDebug,n.extensions.acf=n.listing.dataset.acf,n.extensions.acf_field_type=n.listing.dataset.acfFieldType,n.extensions.acf_field_name=n.listing.dataset.acfFieldName,n.extensions.acf_parent_field_name=n.listing.dataset.acfParentFieldName,n.extensions.acf_post_id=n.listing.dataset.acfPostId,n.extensions.acf="true"===n.extensions.acf,void 0!==n.extensions.acf_field_type&&void 0!==n.extensions.acf_field_name&&void 0!==n.extensions.acf_post_id||(n.extensions.acf=!1),n.extensions.term_query=n.listing.dataset.termQuery,n.extensions.term_query_taxonomy=n.listing.dataset.termQueryTaxonomy,n.extensions.term_query_hide_empty=n.listing.dataset.termQueryHideEmpty,n.extensions.term_query_number=n.listing.dataset.termQueryNumber,n.extensions.term_query="true"===n.extensions.term_query,"true"===n.addons.paging?(n.addons.paging=!0,n.addons.paging_init=!0,n.addons.paging_controls="true"===n.listing.dataset.pagingControls,n.addons.paging_show_at_most=n.listing.dataset.pagingShowAtMost,n.addons.paging_classes=n.listing.dataset.pagingClasses,n.addons.paging_show_at_most=void 0===n.addons.paging_show_at_most?7:n.addons.paging_show_at_most,n.addons.paging_first_label=n.listing.dataset.pagingFirstLabel,n.addons.paging_previous_label=n.listing.dataset.pagingPreviousLabel,n.addons.paging_next_label=n.listing.dataset.pagingNextLabel,n.addons.paging_last_label=n.listing.dataset.pagingLastLabel,n.pause="true"===n.addons.preloaded||n.pause):n.addons.paging=!1,"true"===n.addons.filters){n.addons.filters=!0,n.addons.filters_url="true"===n.listing.dataset.filtersUrl,n.addons.filters_paging="true"===n.listing.dataset.filtersPaging,n.addons.filters_scroll="true"===n.listing.dataset.filtersScroll,n.addons.filters_scrolltop=n.listing.dataset.filtersScrolltop?n.listing.dataset.filtersScrolltop:"30",n.addons.filters_analtyics=n.listing.dataset.filtersAnalytics,n.addons.filters_debug=n.listing.dataset.filtersDebug,n.addons.filters_startpage=0;var x=(0,a.default)("pg");n.addons.filters_startpage=null!==x?parseInt(x):0,!n.addons.paging&&n.addons.filters_startpage>0&&(n.posts_per_page=n.posts_per_page*n.addons.filters_startpage,n.isPaged=n.addons.filters_startpage>0)}else n.addons.filters=!1;if("true"===n.addons.tabs){if(n.addons.tabs=!0,n.addons.tab_template=n.listing.dataset.tabTemplate?n.listing.dataset.tabTemplate:"",n.addons.tab_onload=n.listing.dataset.tabOnload?n.listing.dataset.tabOnload:"",n.addons.tabs_resturl=n.listing.dataset.tabsRestUrl?n.listing.dataset.tabsRestUrl:"",""!==n.addons.tab_onload){var P=document.querySelector(".alm-tab-nav li [data-tab-url="+n.addons.tab_onload+"]");if(n.addons.tab_template=P?P.dataset.tabTemplate:n.addons.tab_template,n.listing.dataset.tabOnload="",P){var E=document.querySelector(".alm-tab-nav li .active");E&&E.classList.remove("active")}}}else n.addons.tabs=!1;if("true"===n.extensions.restapi?(n.extensions.restapi=!0,n.extensions.restapi_debug=void 0!==n.extensions.restapi_debug&&n.extensions.restapi_debug,n.extensions.restapi=""!==n.extensions.restapi_template_id&&n.extensions.restapi):n.extensions.restapi=!1,"true"===n.addons.preloaded?(n.addons.preloaded_amount=void 0===n.addons.preloaded_amount?n.posts_per_page:n.addons.preloaded_amount,n.localize&&n.localize.total_posts&&parseInt(n.localize.total_posts)<=parseInt(n.addons.preloaded_amount)&&(n.addons.preloaded_total_posts=n.localize.total_posts,n.disable_ajax=!0)):n.addons.preloaded="false",n.addons.seo=void 0!==n.addons.seo&&n.addons.seo,n.addons.seo="true"===n.addons.seo||n.addons.seo,n.is_search=void 0!==n.is_search&&n.is_search,n.search_value="true"===n.is_search?n.slug:"",n.addons.seo_permalink=n.listing.dataset.seoPermalink,n.addons.seo_pageview=n.listing.dataset.seoPageview,n.addons.seo_trailing_slash="false"===n.listing.dataset.seoTrailingSlash?"":"/",n.addons.seo_leading_slash="true"===n.listing.dataset.seoLeadingSlash?"/":"",n.start_page=n.listing.dataset.seoStartPage,n.start_page?(n.addons.seo_scroll=n.listing.dataset.seoScroll,n.addons.seo_scrolltop=n.listing.dataset.seoScrolltop,n.addons.seo_controls=n.listing.dataset.seoControls,n.isPaged=!1,n.start_page>1&&(n.isPaged=!0,n.posts_per_page=n.start_page*n.posts_per_page),n.addons.paging&&(n.posts_per_page=n.orginal_posts_per_page)):n.start_page=1,"true"===n.addons.nextpage?(n.addons.nextpage=!0,n.posts_per_page=1):n.addons.nextpage=!1,void 0===n.addons.nextpage_urls&&(n.addons.nextpage_urls="true"),void 0===n.addons.nextpage_scroll&&(n.addons.nextpage_scroll="250:30"),void 0===n.addons.nextpage_pageviews&&(n.addons.nextpage_pageviews="true"),void 0===n.addons.nextpage_post_id&&(n.addons.nextpage=!1,n.addons.nextpage_post_id=null),void 0===n.addons.nextpage_startpage&&(n.addons.nextpage_startpage=1),n.addons.nextpage_startpage>1&&(n.isPaged=!0),"true"===n.addons.single_post?(n.addons.single_post=!0,n.addons.single_post_permalink="",n.addons.single_post_title="",n.addons.single_post_slug=""):n.addons.single_post=!1,void 0===n.addons.single_post_id&&(n.addons.single_post_id="",n.addons.single_post_init_id=""),n.addons.single_post_order=void 0===n.addons.single_post_order?"previous":n.addons.single_post_order,n.addons.single_post_taxonomy=void 0===n.addons.single_post_taxonomy?"":n.addons.single_post_taxonomy,n.addons.single_post_excluded_terms=void 0===n.addons.single_post_excluded_terms?"":n.addons.single_post_excluded_terms,n.addons.single_post_progress_bar=void 0===n.addons.single_post_progress_bar?"":n.addons.single_post_progress_bar,n.addons.single_post_target=void 0===n.addons.single_post_target?"":n.addons.single_post_target,n.addons.single_post_title_template=n.listing.dataset.singlePostTitleTemplate,n.addons.single_post_siteTitle=n.listing.dataset.singlePostSiteTitle,n.addons.single_post_siteTagline=n.listing.dataset.singlePostSiteTagline,n.addons.single_post_pageview=n.listing.dataset.singlePostPageview,n.addons.single_post_scroll=n.listing.dataset.singlePostScroll,n.addons.single_post_scroll_speed=n.listing.dataset.singlePostScrollSpeed,n.addons.single_post_scroll_top=n.listing.dataset.singlePostScrolltop,n.addons.single_post_controls=n.listing.dataset.singlePostControls,(void 0===n.pause||n.addons.seo&&n.start_page>1)&&(n.pause=!1),"true"===n.addons.preloaded&&n.addons.seo&&n.start_page>0&&(n.pause=!1),n.addons.filters&&n.addons.filters_startpage>0&&(n.pause=!1),"true"===n.addons.preloaded&&n.addons.paging&&(n.pause=!0),n.repeater=void 0===n.repeater?"default":n.repeater,n.theme_repeater=void 0!==n.theme_repeater&&n.theme_repeater,n.max_pages=void 0===n.max_pages||0===n.max_pages?1e4:n.max_pages,n.scroll_distance=void 0===n.scroll_distance?100:n.scroll_distance,n.scroll_distance_perc=!1,-1==n.scroll_distance.toString().indexOf("%")?n.scroll_distance=parseInt(n.scroll_distance):(n.scroll_distance_perc=!0,n.scroll_distance_orig=parseInt(n.scroll_distance),n.scroll_distance=(0,A.default)(n)),n.scroll_container=void 0===n.scroll_container?"":n.scroll_container,n.transition=void 0===n.transition?"fade":n.transition,n.tcc=void 0===n.tcc?"":n.tcc,n.is_masonry_preloaded=!1,"masonry"===n.transition&&(n.masonry_init=!0,n.msnry?n.msnry.destroy():n.msnry="",n.masonry_selector=n.listing.dataset.masonrySelector,n.masonry_columnwidth=n.listing.dataset.masonryColumnwidth,n.masonry_animation=n.listing.dataset.masonryAnimation,n.masonry_animation=void 0===n.masonry_animation?"standard":n.masonry_animation,n.masonry_horizontalorder=n.listing.dataset.masonryHorizontalorder,n.masonry_horizontalorder=void 0===n.masonry_horizontalorder?"true":n.masonry_horizontalorder,n.transition_container=!1,n.images_loaded=!1,n.is_masonry_preloaded="true"===n.addons.preloaded||n.is_masonry_preloaded),void 0===n.listing.dataset.scroll?n.scroll=!0:"false"===n.listing.dataset.scroll?n.scroll=!1:n.scroll=!0,n.transition_container=void 0===n.transition_container||"true"===n.transition_container,n.button_label=void 0===n.button_label?"Older Posts":n.button_label,n.button_loading_label=void 0!==n.button_loading_label&&n.button_loading_label,n.addons.paging)n.main.classList.add("loading");else{var F=t.childNodes;if(F){var C=Array.prototype.slice.call(F).filter(function(t){return!!t.classList&&t.classList.contains("alm-btn-wrap")});n.button=C?C[0].querySelector(".alm-load-more-btn"):container.querySelector(".alm-btn-wrap .alm-load-more-btn")}else n.button=container.querySelector(".alm-btn-wrap .alm-load-more-btn");n.button.disabled=!1}if(n.integration.woocommerce?(n.resultsText=document.querySelectorAll(".woocommerce-result-count"),n.resultsText.length<1&&(n.resultsText=document.querySelectorAll(".alm-results-text"))):n.resultsText=document.querySelectorAll(".alm-results-text"),n.resultsText?n.resultsText.forEach(function(t){t.setAttribute("aria-live","polite"),t.setAttribute("aria-atomic","true")}):n.resultsText=!1,n.tableofcontents=document.querySelector(".alm-toc"),n.tableofcontents?(n.tableofcontents.setAttribute("aria-live","polite"),n.tableofcontents.setAttribute("aria-atomic","true")):n.tableofcontents=!1,n.AjaxLoadMore.loadPosts=function(){if("function"==typeof almOnChange&&window.almOnChange(n),(0,O.showPlaceholder)(n),!n.disable_ajax)if(n.addons.paging||(n.button.classList.add("loading"),!1!==n.button_loading_label&&(n.button.innerHTML=n.button_loading_label)),n.main.classList.add("alm-loading"),n.loading=!0,"true"!==n.addons.cache||n.addons.cache_logged_in)n.AjaxLoadMore.ajax("standard");else{var t=(0,u.default)(n);t?r.default.get(t).then(function(t){n.AjaxLoadMore.success(t.data,!0)}).catch(function(t){n.AjaxLoadMore.ajax("standard")}):n.AjaxLoadMore.ajax("standard")}},n.AjaxLoadMore.ajax=function(t){var e="alm_get_posts";n.acf_array="",n.extensions.acf&&("relationship"!==n.extensions.acf_field_type&&(e="alm_acf"),n.acf_array={acf:"true",post_id:n.extensions.acf_post_id,field_type:n.extensions.acf_field_type,field_name:n.extensions.acf_field_name,parent_field_name:n.extensions.acf_parent_field_name}),n.term_query_array="",n.extensions.term_query&&(e="alm_get_terms",n.term_query_array={term_query:"true",taxonomy:n.extensions.term_query_taxonomy,hide_empty:n.extensions.term_query_hide_empty,number:n.extensions.term_query_number}),n.nextpage_array="",n.addons.nextpage&&(e="alm_nextpage",n.nextpage_array={nextpage:"true",urls:n.addons.nextpage_urls,scroll:n.addons.nextpage_scroll,pageviews:n.addons.nextpage_pageviews,post_id:n.addons.nextpage_post_id,startpage:n.addons.nextpage_startpage}),n.single_post_array="",n.addons.single_post&&(n.single_post_array={single_post:"true",id:n.addons.single_post_id,slug:n.addons.single_post_slug}),n.comments_array="","true"===n.addons.comments&&(e="alm_comments",n.posts_per_page=n.addons.comments_per_page,n.comments_array={comments:"true",post_id:n.addons.comments_post_id,per_page:n.addons.comments_per_page,type:n.addons.comments_type,style:n.addons.comments_style,template:n.addons.comments_template,callback:n.addons.comments_callback}),n.users_array="",n.addons.users&&(e="alm_users",n.users_array={users:"true",role:n.listing.dataset.usersRole,include:n.listing.dataset.usersInclude,exclude:n.listing.dataset.usersExclude,per_page:n.posts_per_page,order:n.listing.dataset.usersOrder,orderby:n.listing.dataset.usersOrderby}),n.cta_array="","true"===n.addons.cta&&(n.cta_array={cta:"true",cta_position:n.addons.cta_position,cta_repeater:n.addons.cta_repeater,cta_theme_repeater:n.addons.cta_theme_repeater}),n.extensions.restapi?n.AjaxLoadMore.restapi(n,e,t):n.addons.tabs?n.AjaxLoadMore.tabs(n):n.AjaxLoadMore.adminajax(n,e,t)},n.AjaxLoadMore.adminajax=function(t,e,n){1==t.page||t.addons.paging||t.button.classList.add("loading"),r.default.interceptors.request.use(function(t){return t.paramsSerializer=function(t){return M.stringify(t,{arrayFormat:"brackets",encode:!1})},t});var o=alm_localize.ajaxurl,i=f.almGetAjaxParams(t,e,n);t.addons.single_post&&t.addons.single_post_target&&(o=t.addons.single_post_permalink,i=""),r.default.get(o,{params:i}).then(function(e){var r="";r=t.addons.single_post&&t.addons.single_post_target?t.AjaxLoadMore.createSinglePostHTML(e,t.addons.single_post_target):e.data,"standard"===n?t.AjaxLoadMore.success(r,!1):"totalpages"===n&&t.addons.paging&&t.addons.nextpage?"function"==typeof almBuildPagination&&window.almBuildPagination(r.totalpages,t):"totalposts"===n&&t.addons.paging&&"function"==typeof almBuildPagination&&window.almBuildPagination(r.totalposts,t)}).catch(function(e){t.AjaxLoadMore.error(e,"adminajax")})},n.AjaxLoadMore.createSinglePostHTML=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={html:"",meta:{postcount:1,totalposts:1,debug:"Single Posts Query"}};if(200===t.status&&t.data&&e){var r=document.createElement("div");r.innerHTML=t.data;var o=r.querySelector(e);o&&(n.html=o.innerHTML)}return n},n.AjaxLoadMore.tabs=function(t){var e=t.addons.tabs_resturl+"ajaxloadmore/tab",n={post_id:t.post_id,template:t.addons.tab_template};r.default.interceptors.request.use(function(t){return t.paramsSerializer=function(t){return M.stringify(t,{arrayFormat:"brackets",encode:!1})},t}),r.default.get(e,{params:n}).then(function(e){var n={html:e.data.html,meta:{postcount:1,totalposts:1}};t.AjaxLoadMore.success(n,!1),"function"==typeof almTabLoaded&&window.almTabLoaded(t)}).catch(function(e){t.AjaxLoadMore.error(e,"restapi")})},n.AjaxLoadMore.restapi=function(t,e,n){var o=wp.template(t.extensions.restapi_template_id),i=t.extensions.restapi_base_url+"/"+t.extensions.restapi_namespace+"/"+t.extensions.restapi_endpoint,a=f.almGetRestParams(t);r.default.interceptors.request.use(function(t){return t.paramsSerializer=function(t){return M.stringify(t,{arrayFormat:"brackets",encode:!1})},t}),r.default.get(i,{params:a}).then(function(e){for(var n=e.data,r="",i=n.html,a=n.meta,s=a.postcount,l=a.totalposts,u=0;u<i.length;u++){var c=i[u];"true"===t.restapi_debug&&console.log(c),r+=o(c)}var d={html:r,meta:{postcount:s,totalposts:l}};t.AjaxLoadMore.success(d,!1)}).catch(function(e){t.AjaxLoadMore.error(e,"restapi")})},n.addons.paging&&(n.addons.nextpage?n.AjaxLoadMore.ajax("totalpages"):n.AjaxLoadMore.ajax("totalposts")),n.AjaxLoadMore.success=function(e,r){var o=this;n.addons.single_post&&n.AjaxLoadMore.getSinglePost();var a=!1,u="table"===n.container_type?document.createElement("tbody"):document.createElement("div");n.el=u,u.style.opacity=0,u.style.height=0,u.style.outline="none";var f,p,x,A=n.listing.querySelector(".alm-paging-content");if(r?f=e:(f=e.html,p=e.meta,n.posts=n.addons.paging?p.postcount:n.posts+p.postcount,x=p.postcount,n.totalposts=p.totalposts,n.totalposts="true"===n.addons.preloaded?n.totalposts-n.addons.preloaded_amount:n.totalposts,n.debug=p.debug?p.debug:""),n.html=f,x=r?(0,c.default)(f).length:x,n.init&&(p&&(n.main.dataset.totalPosts=p.totalposts?p.totalposts:0),n.addons.paging&&x>0&&n.AjaxLoadMore.pagingInit(f,"alm-reveal"),0===x&&(n.addons.paging&&"function"==typeof almPagingEmpty&&window.almPagingEmpty(n),"function"==typeof almEmpty&&window.almEmpty(n),n.no_results&&setTimeout(function(){(0,w.default)(n.content,n.no_results)},n.speed+10)),n.isPaged&&(n.posts_per_page=n.users?n.listing.dataset.usersPerPage:n.listing.dataset.postsPerPage,n.page=n.start_page?n.start_page-1:n.page,n.addons.filters&&n.addons.filters_startpage>0&&(n.page=n.addons.filters_startpage-1,n.posts_per_page=n.listing.dataset.postsPerPage))),(0,S.default)(n),L(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,h.default)(n);case 2:case"end":return t.stop()}},t,o)}))(),x>0){if(n.addons.paging)n.init?setTimeout(function(){n.main.classList.remove("alm-loading"),n.AjaxLoadMore.triggerAddons(n)},n.speed):A&&((0,b.default)(A,n.speed),A.style.outline="none",n.main.classList.remove("alm-loading"),setTimeout(function(){A.style.opacity=0,A.innerHTML=n.html,T(A,function(){n.AjaxLoadMore.triggerAddons(n),(0,_.default)(A,n.speed),setTimeout(function(){A.style.opacity="",v.default.init(A)},parseInt(n.speed)+10),"function"==typeof almOnPagingComplete&&window.almOnPagingComplete(n)})},parseInt(n.speed)+25));else{if(n.addons.single_post)u.setAttribute("class","alm-reveal alm-single-post post-"+n.addons.single_post_id+n.tcc),u.dataset.url=n.addons.single_post_permalink,u.dataset.page=n.page,u.dataset.id=n.addons.single_post_id,u.dataset.title=n.addons.single_post_title,u.innerHTML=n.html;else if(n.transition_container){var O=void 0,P=window.location.search,E=n.addons.seo?" alm-seo":"",M=n.addons.filters?" alm-filters":"",F=n.is_preloaded?" alm-preloaded":"";if(n.init&&(n.start_page>1||n.addons.filters_startpage>0)){var C=[],N=[],k=parseInt(n.posts_per_page),R=Math.ceil(x/k);a=!0,"true"===n.addons.cta&&(k+=1,R=Math.ceil(x/k),x=R+x);for(var D=(0,d.default)((0,c.default)(n.html,"text/html")),q=0;q<x;q+=k)C.push(D.slice(q,k+q));for(var B=0;B<C.length;B++){var z="true"===n.addons.preloaded?1:0,U=document.createElement("div");B>0||"true"===n.addons.preloaded?(O=B+1+z,n.addons.seo&&("default"===n.addons.seo_permalink?(U.setAttribute("class","alm-reveal"+E+n.tcc),U.dataset.url=n.canonical_url+P+"&paged="+O,U.dataset.page=O):(U.setAttribute("class","alm-reveal"+E+n.tcc),U.dataset.url=n.canonical_url+n.addons.seo_leading_slash+"page/"+O+n.addons.seo_trailing_slash+P,U.dataset.page=O)),n.addons.filters&&(U.setAttribute("class","alm-reveal"+M+n.tcc),U.dataset.url=n.canonical_url+n.AjaxLoadMore.buildFilterURL(P,O),U.dataset.page=O)):(n.addons.seo&&(U.setAttribute("class","alm-reveal"+E+n.tcc),U.dataset.url=n.canonical_url+P,U.dataset.page="1"),n.addons.filters&&(U.setAttribute("class","alm-reveal"+M+F+n.tcc),U.dataset.url=n.canonical_url+n.AjaxLoadMore.buildFilterURL(P,0),U.dataset.page="1")),(0,s.default)(U,C[B]),(0,j.default)(U,n.ua),N.push(U)}n.listing.style.opacity=0,n.listing.style.height=0,(0,s.default)(n.listing,N),u=n.listing,n.el=u}else{if(n.addons.seo&&n.page>0||"true"===n.addons.preloaded){var W="true"===n.addons.preloaded?1:0;O=n.page+1+W,n.addons.seo?"default"===n.addons.seo_permalink?(u.setAttribute("class","alm-reveal"+E+n.tcc),u.dataset.url=n.canonical_url+P+"&paged="+O,u.dataset.page=O):(u.setAttribute("class","alm-reveal"+E+n.tcc),u.dataset.url=n.canonical_url+n.addons.seo_leading_slash+"page/"+O+n.addons.seo_trailing_slash+P,u.dataset.page=O):n.addons.filters?(u.setAttribute("class","alm-reveal"+M+n.tcc),u.dataset.url=n.canonical_url+n.AjaxLoadMore.buildFilterURL(P,O),u.dataset.page=O):u.setAttribute("class","alm-reveal"+n.tcc)}else n.addons.filters?(u.setAttribute("class","alm-reveal"+M+n.tcc),u.dataset.url=n.canonical_url+n.AjaxLoadMore.buildFilterURL(P,parseInt(n.page)+1),u.dataset.page=parseInt(n.page)+1):n.addons.seo?(u.setAttribute("class","alm-reveal"+E+n.tcc),u.dataset.url=n.canonical_url+P,u.dataset.page="1"):u.setAttribute("class","alm-reveal"+n.tcc);u.innerHTML=n.html}}else n.el=n.html,u="table"===n.container_type?(0,l.default)(n.html):(0,c.default)(n.html,"text/html");("masonry"!==n.transition||n.init&&!n.is_masonry_preloaded)&&(a||(n.transition_container?n.listing.appendChild(u):"true"===n.images_loaded?T(u,function(){(0,s.default)(n.listing,u),(0,j.default)(n.listing,n.ua)}):((0,s.default)(n.listing,u),(0,j.default)(n.listing,n.ua)))),"masonry"===n.transition?(n.el=n.listing,L(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,y.default)(n,n.init,I);case 2:n.masonry_init=!1,n.AjaxLoadMore.transitionEnd(),"function"==typeof almComplete&&window.almComplete(n);case 5:case"end":return t.stop()}},t,this)}))().catch(function(t){console.log("There was an error with ALM Masonry")})):"none"===n.transition?"true"===n.images_loaded?T(u,function(){(0,_.default)(u,0),n.AjaxLoadMore.transitionEnd()}):((0,_.default)(u,0),n.AjaxLoadMore.transitionEnd()):"true"===n.images_loaded?T(u,function(){n.transition_container&&(0,_.default)(u,n.speed),n.AjaxLoadMore.transitionEnd()}):(n.transition_container&&(0,_.default)(u,n.speed),n.AjaxLoadMore.transitionEnd()),n.addons.tabs&&"function"==typeof almTabsSetHeight&&T(u,function(){(0,_.default)(n.listing,n.speed),setTimeout(function(){window.almTabsSetHeight(n)},n.speed)})}T(u,function(){n.AjaxLoadMore.nested(u),v.default.init(n.el),"function"==typeof almComplete&&"masonry"!==n.transition&&window.almComplete(n),I&&n.addons.filters&&("function"==typeof almFilterComplete&&window.almFilterComplete(),"function"==typeof almFiltersAddonComplete&&window.almFiltersAddonComplete(t),I=!1),n.addons.tabs&&"function"==typeof almTabsComplete&&window.almTabsComplete(),"function"==typeof almFiltersOnload&&n.init&&window.almFiltersOnload(n),n.addons.cache?x<n.posts_per_page&&n.AjaxLoadMore.triggerDone():n.posts>=n.totalposts&&!n.addons.single_post&&n.AjaxLoadMore.triggerDone()})}else n.addons.paging||(setTimeout(function(){n.button.classList.remove("loading"),n.button.classList.add("done")},n.speed),n.AjaxLoadMore.resetBtnText()),"function"==typeof almComplete&&"masonry"!==n.transition&&window.almComplete(n),I&&n.addons.filters&&("function"==typeof almFilterComplete&&almFilterComplete(),"function"==typeof almFiltersAddonComplete&&almFiltersAddonComplete(t),I=!1),n.addons.tabs&&"function"==typeof almTabsComplete&&almTabsComplete(),n.AjaxLoadMore.triggerDone();if(void 0!==n.destroy_after&&""!==n.destroy_after){var V=n.page+1;(V="true"===n.addons.preloaded?V++:V)==n.destroy_after&&n.AjaxLoadMore.destroyed()}(0,g.tableOfContents)(n,n.init),(0,m.default)(n,u,x,I),(0,i.default)(n.addons.comments,n.listing),n.main.classList.contains("alm-is-filtering")&&n.main.classList.remove("alm-is-filtering"),n.init=!1},n.AjaxLoadMore.pagingPreloadedInit=function(t){t=null==t?"":t,n.AjaxLoadMore.pagingInit(t,"alm-reveal"),""===t&&("function"==typeof almPagingEmpty&&window.almPagingEmpty(n),"function"==typeof almEmpty&&window.almEmpty(n),n.no_results&&(0,w.default)(n.content,n.no_results))},n.AjaxLoadMore.pagingNextpageInit=function(t){t=null==t?"":t,n.AjaxLoadMore.pagingInit(t,"alm-reveal alm-nextpage"),"function"==typeof almSetNextPageVars&&window.almSetNextPageVars(n)},n.AjaxLoadMore.pagingInit=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"alm-reveal";t=null==t?"":t;var r=document.createElement("div");r.setAttribute("class",e);var o=document.createElement("div");o.setAttribute("class","alm-paging-content"+n.tcc),o.innerHTML=t,r.appendChild(o);var i=document.createElement("div");i.setAttribute("class","alm-paging-loading"),r.appendChild(i),n.listing.appendChild(r);var a=window.getComputedStyle(n.listing),s=parseInt(a.getPropertyValue("padding-top").replace("px","")),l=parseInt(a.getPropertyValue("padding-bottom").replace("px","")),u=r.offsetHeight;n.listing.style.height=u+s+l+"px",n.AjaxLoadMore.resetBtnText(),setTimeout(function(){"function"==typeof almFadePageControls&&window.almFadePageControls(n.btnWrap),"function"==typeof almOnWindowResize&&window.almOnWindowResize(n),n.main.classList.remove("loading")},n.speed)},n.AjaxLoadMore.nested=function(t){if(!t||!n.transition_container)return!1;var e=t.querySelectorAll(".ajax-load-more-wrap");e&&e.forEach(function(t){window.almInit(t)})},n.addons.single_post_id&&(n.fetchingPreviousPost=!1,n.addons.single_post_init=!0),n.AjaxLoadMore.getSinglePost=function(){if(n.fetchingPreviousPost)return!1;n.fetchingPreviousPost=!0;var t=alm_localize.ajaxurl,e={id:n.addons.single_post_id,initial_id:n.addons.single_post_init_id,order:n.addons.single_post_order,taxonomy:n.addons.single_post_taxonomy,excluded_terms:n.addons.single_post_excluded_terms,post_type:n.post_type,init:n.addons.single_post_init,action:"alm_get_single"};r.default.get(t,{params:e}).then(function(t){var e=t.data;e.has_previous_post?(n.listing.dataset.singlePostId=e.prev_id,n.addons.single_post_id=e.prev_id,n.addons.single_post_permalink=e.prev_permalink,n.addons.single_post_title=e.prev_title,n.addons.single_post_slug=e.prev_slug):e.has_previous_post||n.AjaxLoadMore.triggerDone(),"function"==typeof window.almSetSinglePost&&window.almSetSinglePost(n,e.current_id,e.permalink,e.title),n.fetchingPreviousPost=!1,n.addons.single_post_init=!1}).catch(function(t){n.AjaxLoadMore.error(t,"getSinglePost"),n.fetchingPreviousPost=!1})},n.AjaxLoadMore.triggerAddons=function(t){"function"==typeof almSEO&&window.almSEO(t,!1),"function"==typeof almSetNextPage&&window.almSetNextPage(t)},n.AjaxLoadMore.triggerDone=function(){n.loading=!1,n.finished=!0,n.addons.paging||(n.button.classList.add("done"),n.button.disabled=!0),"function"==typeof almDone&&setTimeout(function(){window.almDone(n),(0,O.hidePlaceholder)(n)},n.speed+10)},n.AjaxLoadMore.resetBtnText=function(){!1===n.button_loading_label||n.addons.paging||(n.button.innerHTML=n.button_label)},n.AjaxLoadMore.error=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;n.loading=!1,n.addons.paging||(n.button.classList.remove("loading"),n.AjaxLoadMore.resetBtnText()),console.log("Error: ",t),t.response?console.log("Error Msg: ",t.message):t.request?console.log(t.request):console.log("Error Msg: ",t.message),e&&console.log("ALM Error started in "+e),t.config&&console.log("ALM Error Debug: ",t.config)},n.AjaxLoadMore.click=function(t){var e=t.target||t.currentTarget;"true"===n.pause&&(n.pause=!1,n.pause_override=!1,n.AjaxLoadMore.loadPosts()),n.loading||n.finished||e.classList.contains("done")||(n.loading=!0,n.page++,n.AjaxLoadMore.loadPosts())},n.addons.paging||n.fetchingPreviousPost||(n.button.onclick=n.AjaxLoadMore.click),n.addons.paging||n.addons.tabs||n.scroll_distance_perc){var N=void 0;n.window.onresize=function(){clearTimeout(N),N=setTimeout(function(t){n.addons.tabs&&"function"==typeof almOnTabsWindowResize&&window.almOnTabsWindowResize(n),n.addons.paging&&"function"==typeof almOnWindowResize&&window.almOnWindowResize(n),n.scroll_distance_perc&&(n.scroll_distance=(0,A.default)(n))},n.speed)}}n.AjaxLoadMore.isVisible=function(){return n.visible=n.main.clientWidth>0&&n.main.clientHeight>0,n.visible},n.AjaxLoadMore.scroll=function(){n.timer&&clearTimeout(n.timer),n.timer=setTimeout(function(){if(n.AjaxLoadMore.isVisible()&&!n.fetchingPreviousPost){var t=n.trigger.getBoundingClientRect(),e=Math.round(t.top-n.window.innerHeight)+n.scroll_distance<=0;if(n.window!==window)e=n.window.querySelector(".ajax-load-more-wrap").offsetHeight<=Math.round(n.window.scrollTop+n.window.offsetHeight-n.scroll_distance);!n.loading&&!n.finished&&e&&n.page<n.max_pages-1&&n.proceed&&"true"===n.pause&&"true"===n.pause_override?n.button.click():!n.loading&&!n.finished&&e&&n.page<n.max_pages-1&&n.proceed&&"true"!==n.pause&&n.button.click()}},25)},n.scroll&&!n.addons.paging&&(""!==n.scroll_container&&(n.window=document.querySelector(n.scroll_container)?document.querySelector(n.scroll_container):n.window),n.window.addEventListener("scroll",n.AjaxLoadMore.scroll),n.window.addEventListener("touchstart",n.AjaxLoadMore.scroll),n.window.addEventListener("wheel",function(t){Math.sign(t.deltaY)>0&&n.AjaxLoadMore.scroll()}),n.window.addEventListener("keyup",function(t){switch(t.keyCode?t.keyCode:t.which){case 35:case 34:n.AjaxLoadMore.scroll()}})),n.AjaxLoadMore.destroyed=function(){n.disable_ajax=!0,n.addons.paging||(n.button.style.display="none",n.AjaxLoadMore.triggerDone(),"function"==typeof almDestroyed&&window.almDestroyed(n))},n.AjaxLoadMore.transitionEnd=function(){setTimeout(function(){n.AjaxLoadMore.resetBtnText(),n.main.classList.remove("alm-loading"),n.button.classList.remove("loading"),n.AjaxLoadMore.triggerAddons(n),n.addons.paging||setTimeout(function(){n.loading=!1},3*n.speed)},100),(0,O.hidePlaceholder)(n)},n.AjaxLoadMore.setLocalizedVar=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";n.localize&&""!==t&&""!==e&&(n.localize[t]=e.toString(),window[n.master_id+"_vars"][t]=e.toString())},n.AjaxLoadMore.getQueryVariable=function(t){for(var e=window.location.search.substring(1).split("&"),n=0;n<e.length;n++){var r=e[n].split("=");if(decodeURIComponent(r[0])==t)return decodeURIComponent(r[1])}return!1},n.AjaxLoadMore.buildFilterURL=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=t;return n.addons.filters_paging&&(r=e>1?r?n.AjaxLoadMore.getQueryVariable("pg")?t.replace(/(pg=)[^\&]+/,"$1"+e):t+"&pg="+e:"?pg="+e:"&"===(r="?"===(r=t.replace(/(pg=)[^\&]+/,""))?"":r)[r.length-1]?r.slice(0,-1):r),r},n.AjaxLoadMore.init=function(){if("true"===n.addons.preloaded&&1==n.destroy_after&&n.AjaxLoadMore.destroyed(),n.addons.paging||n.addons.single_post||(n.disable_ajax?(n.finished=!0,n.button.classList.add("done")):"true"===n.pause?(n.button.innerHTML=n.button_label,n.loading=!1):n.AjaxLoadMore.loadPosts()),n.addons.single_post&&(n.AjaxLoadMore.getSinglePost(),n.loading=!1,(0,g.tableOfContents)(n,!0,!0)),"true"===n.addons.preloaded&&n.addons.seo&&!n.addons.paging&&setTimeout(function(){"function"==typeof almSEO&&n.start_page<1&&window.almSEO(n,!0)},n.speed),"true"!==n.addons.preloaded||n.addons.paging||setTimeout(function(){n.addons.preloaded_total_posts<=parseInt(n.addons.preloaded_amount)&&n.AjaxLoadMore.triggerDone(),0==n.addons.preloaded_total_posts&&("function"==typeof almEmpty&&window.almEmpty(n),n.no_results&&(0,w.default)(n.content,n.no_results))},n.speed),"true"===n.addons.preloaded&&(n.resultsText&&p.almInitResultsText(n,"preloaded"),(0,g.tableOfContents)(n,n.init,!0)),n.addons.nextpage){if(n.listing.querySelector(".alm-nextpage")&&!n.addons.paging){var t=n.listing.querySelectorAll(".alm-nextpage"),e=n.listing.querySelector(".alm-nextpage:first-child");e&&t&&(e=e.dataset.totalPosts,(t=t.length)==e&&n.AjaxLoadMore.triggerDone())}n.resultsText&&p.almInitResultsText(n,"nextpage"),(0,g.tableOfContents)(n,n.init,!0)}n.window.addEventListener("load",function(){n.is_masonry_preloaded&&L(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,y.default)(n,!0,!1);case 2:n.masonry_init=!1;case 3:case"end":return t.stop()}},t,this)}))().catch(function(t){console.log("There was an error with ALM Masonry")}),"function"==typeof almOnLoad&&window.almOnLoad(n)})},n.AjaxLoadMore.init(),setTimeout(function(){n.proceed=!0},n.speed),window.almUpdateCurrentPage=function(t,e,n){n.page=t,n.page=n.addons.nextpage&&!n.addons.paging?n.page-1:n.page;var r="",o="";n.addons.paging_init&&"true"===n.addons.preloaded?((o=n.listing.querySelector(".alm-reveal")||n.listing.querySelector(".alm-nextpage"))&&(r=o.innerHTML,o.parentNode.removeChild(o),n.addons.preloaded_amount=0,n.AjaxLoadMore.pagingPreloadedInit(r)),n.addons.paging_init=!1,n.init=!1):n.addons.paging_init&&n.addons.nextpage?((o=n.listing.querySelector(".alm-reveal")||n.listing.querySelector(".alm-nextpage"))&&(r=o.innerHTML,o.parentNode.removeChild(o),n.AjaxLoadMore.pagingNextpageInit(r)),n.addons.paging_init=!1,n.init=!1):n.AjaxLoadMore.loadPosts()},window.almGetParentContainer=function(){return n.listing},window.almGetObj=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""!==t?n[t]:n},window.almTriggerClick=function(){n.button.click()}};window.almInit=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;new t(e,n)};var e=document.querySelectorAll(".ajax-load-more-wrap");e.length&&[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(e)).forEach(function(e,n){new t(e,n)})}();e.filter=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"fade",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"200",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!t||!e||!n)return!1;I=!0,(0,x.default)(t,e,n,"filter")};e.tab=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=(arguments.length>1&&void 0!==arguments[1]&&arguments[1],alm_localize.speed?parseInt(alm_localize.speed):200);if(!t)return!1;I=!0,(0,x.default)("fade",e,t,"tab")};e.tracking=function(t){"function"==typeof gtag&&(gtag("event","page_view",{page_path:t}),alm_localize.ga_debug&&console.log("Pageview sent to Google Analytics (gtag)")),"function"==typeof ga&&(ga("send","pageview",t),alm_localize.ga_debug&&console.log("Pageview sent to Google Analytics (ga)")),"function"==typeof __gaTracker&&(__gaTracker("send","pageview",t),alm_localize.ga_debug&&console.log("Pageview sent to Google Analytics (__gaTracker)")),"function"==typeof almAnalytics&&window.almAnalytics(t)};e.start=function(t){if(!t)return!1;window.almInit(t)};e.almScroll=function(t){if(!t)return!1;window.scrollTo({top:t,behavior:"smooth"})};e.getOffset=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!t)return!1;var e=t.getBoundingClientRect(),n=window.pageXOffset||document.documentElement.scrollLeft,r=window.pageYOffset||document.documentElement.scrollTop;return{top:e.top+r,left:e.left+n}};e.render=function(t){arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t)return!1}},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},function(t,e,n){"use strict";var r=n(13),o=n(140),i=n(142),a=n(143),s=n(144),l=n(93),u="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(145);t.exports=function(t){return new Promise(function(e,c){var d=t.data,f=t.headers;r.isFormData(d)&&delete f["Content-Type"];var p=new XMLHttpRequest,g="onreadystatechange",h=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in p||s(t.url)||(p=new window.XDomainRequest,g="onload",h=!0,p.onprogress=function(){},p.ontimeout=function(){}),t.auth){var v=t.auth.username||"",m=t.auth.password||"";f.Authorization="Basic "+u(v+":"+m)}if(p.open(t.method.toUpperCase(),i(t.url,t.params,t.paramsSerializer),!0),p.timeout=t.timeout,p[g]=function(){if(p&&(4===p.readyState||h)&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in p?a(p.getAllResponseHeaders()):null,r={data:t.responseType&&"text"!==t.responseType?p.response:p.responseText,status:1223===p.status?204:p.status,statusText:1223===p.status?"No Content":p.statusText,headers:n,config:t,request:p};o(e,c,r),p=null}},p.onerror=function(){c(l("Network Error",t,null,p)),p=null},p.ontimeout=function(){c(l("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var y=n(146),_=(t.withCredentials||s(t.url))&&t.xsrfCookieName?y.read(t.xsrfCookieName):void 0;_&&(f[t.xsrfHeaderName]=_)}if("setRequestHeader"in p&&r.forEach(f,function(t,e){void 0===d&&"content-type"===e.toLowerCase()?delete f[e]:p.setRequestHeader(e,t)}),t.withCredentials&&(p.withCredentials=!0),t.responseType)try{p.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&p.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){p&&(p.abort(),c(t),p=null)}),void 0===d&&(d=null),p.send(d)})}},function(t,e,n){"use strict";var r=n(141);t.exports=function(t,e,n,o,i){var a=new Error(t);return r(a,e,n,o,i)}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(158),i=(r=o)&&r.__esModule?r:{default:r};e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"fade";if(!t||!e)return!1;for(var r=0;r<e.length;r++){var o=e[r];(0,i.default)(t,o,n)}}},function(t,e,n){"use strict";function r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"standard";if(!t.resultsText||"true"===t.nested)return!1;var n=0,r=0,i=0,a=0,s="true"===t.addons.preloaded,l=!!t.addons.paging,u=t.orginal_posts_per_page;switch(e){case"nextpage":i=n=parseInt(t.localize.page),a=r=parseInt(t.localize.total_posts),o(t.resultsText,n,r,i,a);break;default:n=parseInt(t.page)+1,r=Math.ceil(t.localize.total_posts/u),i=t.localize.post_count,a=t.localize.total_posts,s&&(n=l?t.page+1:n+1),o(t.resultsText,n,r,i,a)}}Object.defineProperty(e,"__esModule",{value:!0}),e.almResultsText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"standard";if(!t.resultsText||"true"===t.nested)return!1;r(t,"nextpage"===e?"nextpage":"standard")},e.almGetResultsText=r,e.almInitResultsText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"standard";if(!t.resultsText||!t.localize||"true"===t.nested)return!1;var n=0,r=Math.ceil(t.localize.total_posts/t.orginal_posts_per_page),i=t.localize.post_count,a=t.localize.total_posts;switch(e){case"nextpage":n=t.addons.nextpage_startpage,i=n,o(t.resultsText,n,a,i,a);break;case"preloaded":n=t.addons.paging&&t.addons.seo?parseInt(t.start_page)+1:parseInt(t.page)+1,o(t.resultsText,n,r,i,a);break;default:console.log("No results to set.")}};var o=function(t,e,n,r,o){t.forEach(function(t){var i=(n=parseInt(n))>0?alm_localize.results_text:alm_localize.no_results_text;n>0?(i=(i=(i=(i=(i=(i=i.replace("{num}",'<span class="alm-results-num">'+e+"</span>")).replace("{page}",'<span class="alm-results-page">'+e+"</span>")).replace("{total}",'<span class="alm-results-total">'+n+"</span>")).replace("{pages}",'<span class="alm-results-pages">'+n+"</span>")).replace("{post_count}",'<span class="alm-results-post_count">'+r+"</span>")).replace("{total_posts}",'<span class="alm-results-total_posts">'+o+"</span>"),t.innerHTML=i):t.innerHTML=i})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.tableOfContents=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(0==(t.localize.post_count?parseInt(t.localize.post_count):0)&&!t.addons.single_post)return!1;if(t&&t.tableofcontents&&t.transition_container&&"masonry"!==t.transition){var r=t.tableofcontents.dataset.offset?parseInt(t.tableofcontents.dataset.offset):30,o=t.start_page?parseInt(t.start_page):0,i=t.addons.filters_startpage?parseInt(t.addons.filters_startpage):0,a=t.addons.nextpage_startpage?parseInt(t.addons.nextpage_startpage):0,l=parseInt(t.page),u="true"===t.addons.preloaded;if(t.addons.paging||t.addons.nextpage)return!1;e?setTimeout(function(){if(t.addons.seo&&o>1||t.addons.filters&&i>1||t.addons.nextpage&&a>1){if(t.addons.seo&&o>1)for(var e=0;e<o;e++)s(t,e,r);if(t.addons.filters&&i>1)for(var c=0;c<i;c++)s(t,c,r);if(t.addons.nextpage&&a>1)for(var d=0;d<a;d++)s(t,d,r)}else!n&&u&&(l+=1),s(t,l,r)},100):(u&&(t.addons.seo&&o>0?l=l:t.addons.filters&&i>0?l=l:l+=1),s(t,l,r))}},e.clearTOC=function(){var t=document.querySelector(".alm-toc");t&&(t.innerHTML="")};var r,o=n(90),i=n(99),a=(r=i)&&r.__esModule?r:{default:r};function s(t,e,n){if(!t.tableofcontents)return!1;var r=document.createElement("button");r.type="button",e=parseInt(e)+1,r.innerHTML=function(t,e){var n=e;if(t.addons.single_post){var r=document.querySelector('.alm-reveal.alm-single-post[data-page="'+(e-1)+'"]');n=r?r.dataset.title:n}var o="almTOCLabel_"+t.id;"function"==typeof window[o]&&(n=window[o](e,n));return n}(t,e),r.dataset.page=e,t.tableofcontents.appendChild(r),r.addEventListener("click",function(e){var r=this.dataset.page,i=document.querySelector(".alm-reveal:nth-child("+r+")")||document.querySelector(".alm-nextpage:nth-child("+r+")");if(!i)return!1;var s="function"==typeof o.getOffset?(0,o.getOffset)(i).top:i.offsetTop;(0,o.almScroll)(s-n),setTimeout(function(){(0,a.default)(t,i,r,!1)},1e3)})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t.transition_container&&n>0?t.addons.paging?r(t.init,t.addons.preloaded,t.listing,o,t.isSafari):t.addons.single_post||t.addons.nextpage?r(!1,t.addons.preloaded,e,o,t.isSafari):r(t.init,t.addons.preloaded,e,o,t.isSafari):t.transition_container||"table"!==t.container_type||r(t.init,t.addons.preloaded,e[0],o,t.isSafari)};var r=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"false",n=arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(!r&&(t||!n)&&"true"!==e)return!1;n.setAttribute("tabIndex","-1"),n.style.outline="none";var i=(n.classList.contains("alm-listing")?n:n.parentNode).dataset.scrollContainer;if(i){var a=document.querySelector(i);if(a){var s=a.scrollLeft,l=a.scrollTop;n.focus(),a.scrollLeft=s,a.scrollTop=l}}else{var u=window.scrollX,c=window.scrollY;o&&(window.scrollTo(u,c),c=0===c?1:c),n.focus(),window.scrollTo(u,c)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!t)return!1;if(e.indexOf("Safari")>-1&&-1!=e.indexOf("Chrome")||e.indexOf("Firefox")>-1||e.indexOf("Windows")>-1)return!1;for(var n=t.querySelectorAll("img[srcset]:not(.alm-loaded)"),r=0;r<n.length;r++){var o=n[r];o.classList.add("alm-loaded"),o.outerHTML=o.outerHTML}}},function(t,e,n){var r,o;
|
2 |
/*!
|
3 |
* imagesLoaded v4.1.4
|
4 |
* JavaScript is all like "You images are done yet or what?"
|
9 |
* JavaScript is all like "You images are done yet or what?"
|
10 |
* MIT License
|
11 |
*/
|
12 |
+
!function(i,a){"use strict";r=[n(166)],void 0===(o=function(t){return function(t,e){var n=t.jQuery,r=t.console;function o(t,e){for(var n in e)t[n]=e[n];return t}var i=Array.prototype.slice;function a(t,e,s){if(!(this instanceof a))return new a(t,e,s);var l=t;"string"==typeof t&&(l=document.querySelectorAll(t)),l?(this.elements=function(t){if(Array.isArray(t))return t;if("object"==typeof t&&"number"==typeof t.length)return i.call(t);return[t]}(l),this.options=o({},this.options),"function"==typeof e?s=e:o(this.options,e),s&&this.on("always",s),this.getImages(),n&&(this.jqDeferred=new n.Deferred),setTimeout(this.check.bind(this))):r.error("Bad element for imagesLoaded "+(l||t))}a.prototype=Object.create(e.prototype),a.prototype.options={},a.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},a.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&s[e]){for(var n=t.querySelectorAll("img"),r=0;r<n.length;r++){var o=n[r];this.addImage(o)}if("string"==typeof this.options.background){var i=t.querySelectorAll(this.options.background);for(r=0;r<i.length;r++){var a=i[r];this.addElementBackgroundImages(a)}}}};var s={1:!0,9:!0,11:!0};function l(t){this.img=t}function u(t,e){this.url=t,this.element=e,this.img=new Image}return a.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var n=/url\((['"])?(.*?)\1\)/gi,r=n.exec(e.backgroundImage);null!==r;){var o=r&&r[2];o&&this.addBackground(o,t),r=n.exec(e.backgroundImage)}},a.prototype.addImage=function(t){var e=new l(t);this.images.push(e)},a.prototype.addBackground=function(t,e){var n=new u(t,e);this.images.push(n)},a.prototype.check=function(){var t=this;function e(e,n,r){setTimeout(function(){t.progress(e,n,r)})}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach(function(t){t.once("progress",e),t.check()}):this.complete()},a.prototype.progress=function(t,e,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&r&&r.log("progress: "+n,t,e)},a.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},l.prototype=Object.create(e.prototype),l.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},l.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},l.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},l.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},l.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},l.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},u.prototype=Object.create(l.prototype),u.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},u.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},u.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},a.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((n=e).fn.imagesLoaded=function(t,e){return new a(this,t,e).jqDeferred.promise(n(this))})},a.makeJQueryPlugin(),a}(i,t)}.apply(e,r))||(t.exports=o)}("undefined"!=typeof window?window:this)},function(t,e,n){t.exports=!n(8)&&!n(2)(function(){return 7!=Object.defineProperty(n(64)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(1),o=n(9),i=n(31),a=n(65),s=n(7).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e,n){var r=n(14),o=n(16),i=n(50)(!1),a=n(66)("IE_PROTO");t.exports=function(t,e){var n,s=o(t),l=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;e.length>l;)r(s,n=e[l++])&&(~i(u,n)||u.push(n));return u}},function(t,e,n){var r=n(7),o=n(3),i=n(32);t.exports=n(8)?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),s=a.length,l=0;s>l;)r.f(t,n=a[l++],e[n]);return t}},function(t,e,n){var r=n(16),o=n(35).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return a.slice()}}(t):o(r(t))}},function(t,e,n){"use strict";var r=n(32),o=n(51),i=n(45),a=n(11),s=n(44),l=Object.assign;t.exports=!l||n(2)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=l({},t)[n]||Object.keys(l({},e)).join("")!=r})?function(t,e){for(var n=a(t),l=arguments.length,u=1,c=o.f,d=i.f;l>u;)for(var f,p=s(arguments[u++]),g=c?r(p).concat(c(p)):r(p),h=g.length,v=0;h>v;)d.call(p,f=g[v++])&&(n[f]=p[f]);return n}:l},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){"use strict";var r=n(23),o=n(4),i=n(110),a=[].slice,s={};t.exports=Function.bind||function(t){var e=r(this),n=a.call(arguments,1),l=function(){var r=n.concat(a.call(arguments));return this instanceof l?function(t,e,n){if(!(e in s)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";s[e]=Function("F,a","return new F("+r.join(",")+")")}return s[e](t,n)}(e,r.length,r):i(e,r,t)};return o(e.prototype)&&(l.prototype=e.prototype),l}},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(1).parseInt,o=n(52).trim,i=n(71),a=/^[-+]?0[xX]/;t.exports=8!==r(i+"08")||22!==r(i+"0x16")?function(t,e){var n=o(String(t),3);return r(n,e>>>0||(a.test(n)?16:10))}:r},function(t,e,n){var r=n(1).parseFloat,o=n(52).trim;t.exports=1/r(n(71)+"-0")!=-1/0?function(t){var e=o(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},function(t,e,n){var r=n(24);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},function(t,e,n){var r=n(4),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){"use strict";var r=n(34),o=n(29),i=n(38),a={};n(15)(a,n(5)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){var r=n(3);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){var r=n(23),o=n(11),i=n(44),a=n(6);t.exports=function(t,e,n,s,l){r(e);var u=o(t),c=i(u),d=a(u.length),f=l?d-1:0,p=l?-1:1;if(n<2)for(;;){if(f in c){s=c[f],f+=p;break}if(f+=p,l?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;l?f>=0:d>f;f+=p)f in c&&(s=e(s,c[f],f,u));return s}},function(t,e,n){"use strict";var r=n(11),o=n(33),i=n(6);t.exports=[].copyWithin||function(t,e){var n=r(this),a=i(n.length),s=o(t,a),l=o(e,a),u=arguments.length>2?arguments[2]:void 0,c=Math.min((void 0===u?a:o(u,a))-l,a-s),d=1;for(l<s&&s<l+c&&(d=-1,l+=c-1,s+=c-1);c-- >0;)l in n?n[s]=n[l]:delete n[s],s+=d,l+=d;return n}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var r=n(86);n(0)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(t,e,n){n(8)&&"g"!=/./g.flags&&n(7).f(RegExp.prototype,"flags",{configurable:!0,get:n(54)})},function(t,e,n){"use strict";var r,o,i,a,s=n(31),l=n(1),u=n(22),c=n(46),d=n(0),f=n(4),p=n(23),g=n(42),h=n(57),v=n(47),m=n(88).set,y=n(287)(),_=n(124),b=n(288),x=n(58),w=n(125),S=l.TypeError,A=l.process,j=A&&A.versions,O=j&&j.v8||"",P=l.Promise,E="process"==c(A),L=function(){},M=o=_.f,T=!!function(){try{var t=P.resolve(1),e=(t.constructor={})[n(5)("species")]=function(t){t(L,L)};return(E||"function"==typeof PromiseRejectionEvent)&&t.then(L)instanceof e&&0!==O.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(t){}}(),I=function(t){var e;return!(!f(t)||"function"!=typeof(e=t.then))&&e},F=function(t,e){if(!t._n){t._n=!0;var n=t._c;y(function(){for(var r=t._v,o=1==t._s,i=0,a=function(e){var n,i,a,s=o?e.ok:e.fail,l=e.resolve,u=e.reject,c=e.domain;try{s?(o||(2==t._h&&k(t),t._h=1),!0===s?n=r:(c&&c.enter(),n=s(r),c&&(c.exit(),a=!0)),n===e.promise?u(S("Promise-chain cycle")):(i=I(n))?i.call(n,l,u):l(n)):u(r)}catch(t){c&&!a&&c.exit(),u(t)}};n.length>i;)a(n[i++]);t._c=[],t._n=!1,e&&!t._h&&C(t)})}},C=function(t){m.call(l,function(){var e,n,r,o=t._v,i=N(t);if(i&&(e=b(function(){E?A.emit("unhandledRejection",o,t):(n=l.onunhandledrejection)?n({promise:t,reason:o}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=E||N(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},N=function(t){return 1!==t._h&&0===(t._a||t._c).length},k=function(t){m.call(l,function(){var e;E?A.emit("rejectionHandled",t):(e=l.onrejectionhandled)&&e({promise:t,reason:t._v})})},R=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),F(e,!0))},D=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw S("Promise can't be resolved itself");(e=I(t))?y(function(){var r={_w:n,_d:!1};try{e.call(t,u(D,r,1),u(R,r,1))}catch(t){R.call(r,t)}}):(n._v=t,n._s=1,F(n,!1))}catch(t){R.call({_w:n,_d:!1},t)}}};T||(P=function(t){g(this,P,"Promise","_h"),p(t),r.call(this);try{t(u(D,this,1),u(R,this,1))}catch(t){R.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(43)(P.prototype,{then:function(t,e){var n=M(v(this,P));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=E?A.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&F(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=u(D,t,1),this.reject=u(R,t,1)},_.f=M=function(t){return t===P||t===a?new i(t):o(t)}),d(d.G+d.W+d.F*!T,{Promise:P}),n(38)(P,"Promise"),n(41)("Promise"),a=n(9).Promise,d(d.S+d.F*!T,"Promise",{reject:function(t){var e=M(this);return(0,e.reject)(t),e.promise}}),d(d.S+d.F*(s||!T),"Promise",{resolve:function(t){return w(s&&this===a?P:this,t)}}),d(d.S+d.F*!(T&&n(53)(function(t){P.all(t).catch(L)})),"Promise",{all:function(t){var e=this,n=M(e),r=n.resolve,o=n.reject,i=b(function(){var n=[],i=0,a=1;h(t,!1,function(t){var s=i++,l=!1;n.push(void 0),a++,e.resolve(t).then(function(t){l||(l=!0,n[s]=t,--a||r(n))},o)}),--a||r(n)});return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=M(e),r=n.reject,o=b(function(){h(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(t,e,n){"use strict";var r=n(23);function o(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new o(t)}},function(t,e,n){var r=n(3),o=n(4),i=n(124);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var r=n(7).f,o=n(34),i=n(43),a=n(22),s=n(42),l=n(57),u=n(77),c=n(120),d=n(41),f=n(8),p=n(28).fastKey,g=n(37),h=f?"_s":"size",v=function(t,e){var n,r=p(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,u){var c=t(function(t,r){s(t,c,e,"_i"),t._t=e,t._i=o(null),t._f=void 0,t._l=void 0,t[h]=0,null!=r&&l(r,n,t[u],t)});return i(c.prototype,{clear:function(){for(var t=g(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[h]=0},delete:function(t){var n=g(this,e),r=v(n,t);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[h]--}return!!r},forEach:function(t){g(this,e);for(var n,r=a(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!v(g(this,e),t)}}),f&&r(c.prototype,"size",{get:function(){return g(this,e)[h]}}),c},def:function(t,e,n){var r,o,i=v(t,e);return i?i.v=n:(t._l=i={i:o=p(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=i),r&&(r.n=i),t[h]++,"F"!==o&&(t._i[o]=i)),t},getEntry:v,setStrong:function(t,e,n){u(t,e,function(t,n){this._t=g(t,e),this._k=n,this._l=void 0},function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?c(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,c(1))},n?"entries":"values",!n,!0),d(e)}}},function(t,e,n){"use strict";var r=n(43),o=n(28).getWeak,i=n(3),a=n(4),s=n(42),l=n(57),u=n(21),c=n(14),d=n(37),f=u(5),p=u(6),g=0,h=function(t){return t._l||(t._l=new v)},v=function(){this.a=[]},m=function(t,e){return f(t.a,function(t){return t[0]===e})};v.prototype={get:function(t){var e=m(this,t);if(e)return e[1]},has:function(t){return!!m(this,t)},set:function(t,e){var n=m(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=p(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,i){var u=t(function(t,r){s(t,u,e,"_i"),t._t=e,t._i=g++,t._l=void 0,null!=r&&l(r,n,t[i],t)});return r(u.prototype,{delete:function(t){if(!a(t))return!1;var n=o(t);return!0===n?h(d(this,e)).delete(t):n&&c(n,this._i)&&delete n[this._i]},has:function(t){if(!a(t))return!1;var n=o(t);return!0===n?h(d(this,e)).has(t):n&&c(n,this._i)}}),u},def:function(t,e,n){var r=o(i(e),!0);return!0===r?h(t).set(e,n):r[t._i]=n,t},ufstore:h}},function(t,e,n){var r=n(18),o=n(6);t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=o(e);if(e!==n)throw RangeError("Wrong length!");return n}},function(t,e,n){var r=n(35),o=n(51),i=n(3),a=n(1).Reflect;t.exports=a&&a.ownKeys||function(t){var e=r.f(i(t)),n=o.f;return n?e.concat(n(t)):e}},function(t,e,n){var r=n(6),o=n(73),i=n(25);t.exports=function(t,e,n,a){var s=String(i(t)),l=s.length,u=void 0===n?" ":String(n),c=r(e);if(c<=l||""==u)return s;var d=c-l,f=o.call(u,Math.ceil(d/u.length));return f.length>d&&(f=f.slice(0,d)),a?f+s:s+f}},function(t,e,n){var r=n(32),o=n(16),i=n(45).f;t.exports=function(t){return function(e){for(var n,a=o(e),s=r(a),l=s.length,u=0,c=[];l>u;)i.call(a,n=s[u++])&&c.push(t?[n,a[n]]:a[n]);return c}}},function(t,e,n){"use strict";var r=Object.prototype.hasOwnProperty,o=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),i=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},r=0;r<t.length;++r)void 0!==t[r]&&(n[r]=t[r]);return n};t.exports={arrayToObject:i,assign:function(t,e){return Object.keys(e).reduce(function(t,n){return t[n]=e[n],t},t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],r=0;r<e.length;++r)for(var o=e[r],i=o.obj[o.prop],a=Object.keys(i),s=0;s<a.length;++s){var l=a[s],u=i[l];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(e.push({obj:i,prop:l}),n.push(u))}return function(t){for(;t.length>1;){var e=t.pop(),n=e.obj[e.prop];if(Array.isArray(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);e.obj[e.prop]=r}}}(e),t},decode:function(t,e,n){var r=t.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(t){return r}},encode:function(t,e,n){if(0===t.length)return t;var r="string"==typeof t?t:String(t);if("iso-8859-1"===n)return escape(r).replace(/%u[0-9a-f]{4}/gi,function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"});for(var i="",a=0;a<r.length;++a){var s=r.charCodeAt(a);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122?i+=r.charAt(a):s<128?i+=o[s]:s<2048?i+=o[192|s>>6]+o[128|63&s]:s<55296||s>=57344?i+=o[224|s>>12]+o[128|s>>6&63]+o[128|63&s]:(a+=1,s=65536+((1023&s)<<10|1023&r.charCodeAt(a)),i+=o[240|s>>18]+o[128|s>>12&63]+o[128|s>>6&63]+o[128|63&s])}return i},isBuffer:function(t){return null!=t&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},merge:function t(e,n,o){if(!n)return e;if("object"!=typeof n){if(Array.isArray(e))e.push(n);else{if("object"!=typeof e)return[e,n];(o&&(o.plainObjects||o.allowPrototypes)||!r.call(Object.prototype,n))&&(e[n]=!0)}return e}if("object"!=typeof e)return[e].concat(n);var a=e;return Array.isArray(e)&&!Array.isArray(n)&&(a=i(e,o)),Array.isArray(e)&&Array.isArray(n)?(n.forEach(function(n,i){r.call(e,i)?e[i]&&"object"==typeof e[i]?e[i]=t(e[i],n,o):e.push(n):e[i]=n}),e):Object.keys(n).reduce(function(e,i){var a=n[i];return r.call(e,i)?e[i]=t(e[i],a,o):e[i]=a,e},a)}}},function(t,e,n){"use strict";var r=String.prototype.replace,o=/%20/g;t.exports={default:"RFC3986",formatters:{RFC1738:function(t){return r.call(t,o,"+")},RFC3986:function(t){return t}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},function(t,e,n){t.exports=n(135)},function(t,e,n){"use strict";var r=n(13),o=n(91),i=n(137),a=n(61);function s(t){var e=new i(t),n=o(i.prototype.request,e);return r.extend(n,i.prototype,e),r.extend(n,e),n}var l=s(a);l.Axios=i,l.create=function(t){return s(r.merge(a,t))},l.Cancel=n(95),l.CancelToken=n(152),l.isCancel=n(94),l.all=function(t){return Promise.all(t)},l.spread=n(153),t.exports=l,t.exports.default=l},function(t,e){function n(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}
|
13 |
/*!
|
14 |
* Determine if an object is a Buffer
|
15 |
*
|
16 |
* @author Feross Aboukhadijeh <https://feross.org>
|
17 |
* @license MIT
|
18 |
*/
|
19 |
+
t.exports=function(t){return null!=t&&(n(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))}(t)||!!t._isBuffer)}},function(t,e,n){"use strict";var r=n(61),o=n(13),i=n(147),a=n(148);function s(t){this.defaults=t,this.interceptors={request:new i,response:new i}}s.prototype.request=function(t){"string"==typeof t&&(t=o.merge({url:arguments[0]},arguments[1])),(t=o.merge(r,{method:"get"},this.defaults,t)).method=t.method.toLowerCase();var e=[a,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)n=n.then(e.shift(),e.shift());return n},o.forEach(["delete","get","head","options"],function(t){s.prototype[t]=function(e,n){return this.request(o.merge(n||{},{method:t,url:e}))}}),o.forEach(["post","put","patch"],function(t){s.prototype[t]=function(e,n,r){return this.request(o.merge(r||{},{method:t,url:e,data:n}))}}),t.exports=s},function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var l,u=[],c=!1,d=-1;function f(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&p())}function p(){if(!c){var t=s(f);c=!0;for(var e=u.length;e;){for(l=u,u=[];++d<e;)l&&l[d].run();d=-1,e=u.length}l=null,c=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function g(t,e){this.fun=t,this.array=e}function h(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new g(t,e)),1!==u.length||c||s(p)},g.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,n){"use strict";var r=n(13);t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},function(t,e,n){"use strict";var r=n(93);t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},function(t,e,n){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t}},function(t,e,n){"use strict";var r=n(13);function o(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(r.isURLSearchParams(e))i=e.toString();else{var a=[];r.forEach(e,function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(o(e)+"="+o(t))}))}),i=a.join("&")}return i&&(t+=(-1===t.indexOf("?")?"?":"&")+i),t}},function(t,e,n){"use strict";var r=n(13),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,i,a={};return t?(r.forEach(t.split("\n"),function(t){if(i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e){if(a[e]&&o.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}}),a):a}},function(t,e,n){"use strict";var r=n(13);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function o(){this.message="String contains an invalid character"}o.prototype=new Error,o.prototype.code=5,o.prototype.name="InvalidCharacterError",t.exports=function(t){for(var e,n,i=String(t),a="",s=0,l=r;i.charAt(0|s)||(l="=",s%1);a+=l.charAt(63&e>>8-s%1*8)){if((n=i.charCodeAt(s+=.75))>255)throw new o;e=e<<8|n}return a}},function(t,e,n){"use strict";var r=n(13);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,o,i,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var r=n(13);function o(){this.handlers=[]}o.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=o},function(t,e,n){"use strict";var r=n(13),o=n(149),i=n(94),a=n(61),s=n(150),l=n(151);function u(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return u(t),t.baseURL&&!s(t.url)&&(t.url=l(t.baseURL,t.url)),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||a.adapter)(t).then(function(e){return u(t),e.data=o(e.data,e.headers,t.transformResponse),e},function(e){return i(e)||(u(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(t,e,n){"use strict";var r=n(13);t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(95);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;t(function(t){n.reason||(n.reason=new r(t),e(n.reason))})}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o(function(e){t=e}),cancel:t}},t.exports=o},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){!function(){"use strict";t.exports={polyfill:function(){var t=window,e=document;if(!("scrollBehavior"in e.documentElement.style&&!0!==t.__forceSmoothScrollPolyfill__)){var n,r=t.HTMLElement||t.Element,o=468,i={scroll:t.scroll||t.scrollTo,scrollBy:t.scrollBy,elementScroll:r.prototype.scroll||l,scrollIntoView:r.prototype.scrollIntoView},a=t.performance&&t.performance.now?t.performance.now.bind(t.performance):Date.now,s=(n=t.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(n)?1:0);t.scroll=t.scrollTo=function(){void 0!==arguments[0]&&(!0!==u(arguments[0])?g.call(t,e.body,void 0!==arguments[0].left?~~arguments[0].left:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:t.scrollY||t.pageYOffset):i.scroll.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:t.scrollY||t.pageYOffset))},t.scrollBy=function(){void 0!==arguments[0]&&(u(arguments[0])?i.scrollBy.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):g.call(t,e.body,~~arguments[0].left+(t.scrollX||t.pageXOffset),~~arguments[0].top+(t.scrollY||t.pageYOffset)))},r.prototype.scroll=r.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==u(arguments[0])){var t=arguments[0].left,e=arguments[0].top;g.call(this,this,void 0===t?this.scrollLeft:~~t,void 0===e?this.scrollTop:~~e)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},r.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==u(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},r.prototype.scrollIntoView=function(){if(!0!==u(arguments[0])){var n=function(t){var n;do{n=(t=t.parentNode)===e.body}while(!1===n&&!1===f(t));return n=null,t}(this),r=n.getBoundingClientRect(),o=this.getBoundingClientRect();n!==e.body?(g.call(this,n,n.scrollLeft+o.left-r.left,n.scrollTop+o.top-r.top),"fixed"!==t.getComputedStyle(n).position&&t.scrollBy({left:r.left,top:r.top,behavior:"smooth"})):t.scrollBy({left:o.left,top:o.top,behavior:"smooth"})}else i.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function l(t,e){this.scrollLeft=t,this.scrollTop=e}function u(t){if(null===t||"object"!=typeof t||void 0===t.behavior||"auto"===t.behavior||"instant"===t.behavior)return!0;if("object"==typeof t&&"smooth"===t.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+t.behavior+" is not a valid value for enumeration ScrollBehavior.")}function c(t,e){return"Y"===e?t.clientHeight+s<t.scrollHeight:"X"===e?t.clientWidth+s<t.scrollWidth:void 0}function d(e,n){var r=t.getComputedStyle(e,null)["overflow"+n];return"auto"===r||"scroll"===r}function f(t){var e=c(t,"Y")&&d(t,"Y"),n=c(t,"X")&&d(t,"X");return e||n}function p(e){var n,r,i,s,l=(a()-e.startTime)/o;s=l=l>1?1:l,n=.5*(1-Math.cos(Math.PI*s)),r=e.startX+(e.x-e.startX)*n,i=e.startY+(e.y-e.startY)*n,e.method.call(e.scrollable,r,i),r===e.x&&i===e.y||t.requestAnimationFrame(p.bind(t,e))}function g(n,r,o){var s,u,c,d,f=a();n===e.body?(s=t,u=t.scrollX||t.pageXOffset,c=t.scrollY||t.pageYOffset,d=i.scroll):(s=n,u=n.scrollLeft,c=n.scrollTop,d=l),p({scrollable:s,method:d,startTime:f,startX:u,startY:c,x:r,y:o})}}}}()},function(t,e,n){"use strict";var r,o,i,a;history,Object.entries||(Object.entries=function(t){for(var e=Object.keys(t),n=e.length,r=new Array(n);n--;)r[n]=[e[n],t[e[n]]];return r}),void 0===Array.isArray&&(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),Array.from||(Array.from=(r=Object.prototype.toString,o=function(t){return"function"==typeof t||"[object Function]"===r.call(t)},i=Math.pow(2,53)-1,a=function(t){var e=function(t){var e=Number(t);return isNaN(e)?0:0!==e&&isFinite(e)?(e>0?1:-1)*Math.floor(Math.abs(e)):e}(t);return Math.min(Math.max(e,0),i)},function(t){var e=Object(t);if(null==t)throw new TypeError("Array.from requires an array-like object - not null or undefined");var n,r=arguments.length>1?arguments[1]:void 0;if(void 0!==r){if(!o(r))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(n=arguments[2])}for(var i,s=a(e.length),l=o(this)?Object(new this(s)):new Array(s),u=0;u<s;)i=e[u],l[u]=r?void 0===n?r(i,u):r.call(n,i,u):i,u+=1;return l.length=s,l})),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(t,e){e=e||window;for(var n=0;n<this.length;n++)t.call(e,this[n],n,this)}),[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach(function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("true"!==t)return!1;var n=e.querySelectorAll(".comment-reply-link");if(!n)return!1;n.forEach(function(t){t.onclick=function(e){e.preventDefault();var n=t.dataset.belowelement,r=t.dataset.commentid,o=t.dataset.respondelement,i=t.dataset.postid;n&&r&&o&&i&&!1===window.addComment.moveForm(n,r,o,i)&&event.preventDefault()}})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,e){e||(e=window.location.href),t=t.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)").exec(e);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=["#text","#comment"];e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"fade";if(!t||!e)return!1;-1===r.indexOf(e.nodeName.toLowerCase())&&("masonry"===n&&(e.style.opacity=0),t.appendChild(e))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!t)return!1;var e=document.createElement("tbody");return e.innerHTML=t,[e]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){if(!t)return!1;var e="",n=".html";if(t.init&&t.addons.seo&&t.isPaged)e=t.addons.cache_path+t.addons.cache_id+"/page-1-"+t.start_page+n;else if(t.addons.nextpage){var r=void 0;t.addons.paging?r=parseInt(t.page)+1:(r=parseInt(t.page)+2,t.isPaged&&(r=parseInt(t.page)+parseInt(t.addons.nextpage_startpage)+1)),e=t.addons.cache_path+t.addons.cache_id+"/page-"+r+n}else t.addons.single_post?e=t.addons.cache_path+t.addons.cache_id+"/"+t.addons.single_post_id+n:t.addons.filters?console.log(t):e=t.addons.cache_path+t.addons.cache_id+"/page-"+(t.page+1)+n;return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!t)return!1;var e=["#text","#comment"];return t.filter(function(t){return-1===e.indexOf(t.nodeName.toLowerCase())})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.almGetAjaxParams=function(t,e,n){var r={id:t.id,post_id:t.post_id,slug:t.slug,canonical_url:encodeURIComponent(t.canonical_url),posts_per_page:t.posts_per_page,page:t.page,offset:t.offset,post_type:t.post_type,repeater:t.repeater,seo_start_page:t.start_page};t.theme_repeater&&(r.theme_repeater=t.theme_repeater);t.addons.paging&&(r.paging=t.addons.paging);t.addons.preloaded&&(r.preloaded=t.addons.preloaded,r.preloaded_amount=t.addons.preloaded_amount);"true"===t.addons.cache&&(r.cache_id=t.addons.cache_id,r.cache_logged_in=t.addons.cache_logged_in);t.acf_array&&(r.acf=t.acf_array);t.term_query_array&&(r.term_query=t.term_query_array);t.cta_array&&(r.cta=t.cta_array);t.comments_array&&(r.comments=t.comments_array);t.nextpage_array&&(r.nextpage=t.nextpage_array);t.single_post_array&&(r.single_post=t.single_post_array);t.users_array&&(r.users=t.users_array);t.listing.dataset.lang&&(r.lang=t.listing.dataset.lang);t.listing.dataset.stickyPosts&&(r.sticky_posts=t.listing.dataset.stickyPosts);t.listing.dataset.postFormat&&(r.post_format=t.listing.dataset.postFormat);t.listing.dataset.category&&(r.category=t.listing.dataset.category);t.listing.dataset.categoryAnd&&(r.category__and=t.listing.dataset.categoryAnd);t.listing.dataset.categoryNotIn&&(r.category__not_in=t.listing.dataset.categoryNotIn);t.listing.dataset.tag&&(r.tag=t.listing.dataset.tag);t.listing.dataset.tagAnd&&(r.tag__and=t.listing.dataset.tagAnd);t.listing.dataset.tagNotIn&&(r.tag__not_in=t.listing.dataset.tagNotIn);t.listing.dataset.taxonomy&&(r.taxonomy=t.listing.dataset.taxonomy);t.listing.dataset.taxonomyTerms&&(r.taxonomy_terms=t.listing.dataset.taxonomyTerms);t.listing.dataset.taxonomyOperator&&(r.taxonomy_operator=t.listing.dataset.taxonomyOperator);t.listing.dataset.taxonomyRelation&&(r.taxonomy_relation=t.listing.dataset.taxonomyRelation);t.listing.dataset.metaKey&&(r.meta_key=t.listing.dataset.metaKey);t.listing.dataset.metaValue&&(r.meta_value=t.listing.dataset.metaValue);t.listing.dataset.metaCompare&&(r.meta_compare=t.listing.dataset.metaCompare);t.listing.dataset.metaRelation&&(r.meta_relation=t.listing.dataset.metaRelation);t.listing.dataset.metaType&&(r.meta_type=t.listing.dataset.metaType);t.listing.dataset.author&&(r.author=t.listing.dataset.author);t.listing.dataset.year&&(r.year=t.listing.dataset.year);t.listing.dataset.month&&(r.month=t.listing.dataset.month);t.listing.dataset.day&&(r.day=t.listing.dataset.day);t.listing.dataset.order&&(r.order=t.listing.dataset.order);t.listing.dataset.orderby&&(r.orderby=t.listing.dataset.orderby);t.listing.dataset.postStatus&&(r.post_status=t.listing.dataset.postStatus);t.listing.dataset.postIn&&(r.post__in=t.listing.dataset.postIn);t.listing.dataset.postNotIn&&(r.post__not_in=t.listing.dataset.postNotIn);t.listing.dataset.exclude&&(r.exclude=t.listing.dataset.exclude);t.listing.dataset.search&&(r.search=t.listing.dataset.search);t.listing.dataset.s&&(r.search=t.listing.dataset.s);t.listing.dataset.customArgs&&(r.custom_args=t.listing.dataset.customArgs);return r.action=e,r.query_type=n,r},e.almGetRestParams=function(t){return{id:t.id,post_id:t.post_id,posts_per_page:t.posts_per_page,page:t.page,offset:t.offset,slug:t.slug,canonical_url:encodeURIComponent(t.canonical_url),post_type:t.post_type,post_format:t.listing.dataset.postFormat,category:t.listing.dataset.category,category__not_in:t.listing.dataset.categoryNotIn,tag:t.listing.dataset.tag,tag__not_in:t.listing.dataset.tagNotIn,taxonomy:t.listing.dataset.taxonomy,taxonomy_terms:t.listing.dataset.taxonomyTerms,taxonomy_operator:t.listing.dataset.taxonomyOperator,taxonomy_relation:t.listing.dataset.taxonomyRelation,meta_key:t.listing.dataset.metaKey,meta_value:t.listing.dataset.metaValue,meta_compare:t.listing.dataset.metaCompare,meta_relation:t.listing.dataset.metaRelation,meta_type:t.listing.dataset.metaType,author:t.listing.dataset.author,year:t.listing.dataset.year,month:t.listing.dataset.month,day:t.listing.dataset.day,post_status:t.listing.dataset.postStatus,order:t.listing.dataset.order,orderby:t.listing.dataset.orderby,post__in:t.listing.dataset.postIn,post__not_in:t.listing.dataset.postNotIn,search:t.listing.dataset.search,s:t.listing.dataset.s,custom_args:t.listing.dataset.customArgs,lang:t.lang,preloaded:t.addons.preloaded,preloaded_amount:t.addons.preloaded_amount,seo_start_page:t.start_page}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(97));e.default=function(t){return new Promise(function(e){var n="standard";t.addons.nextpage?(n="nextpage",t.addons.paging?t.AjaxLoadMore.setLocalizedVar("page",parseInt(t.page)+1):t.AjaxLoadMore.setLocalizedVar("page",parseInt(t.page)+parseInt(t.addons.nextpage_startpage)+1)):t.AjaxLoadMore.setLocalizedVar("page",parseInt(t.page)+1),"true"===t.addons.preloaded||t.addons.nextpage||t.AjaxLoadMore.setLocalizedVar("total_posts",t.totalposts),t.AjaxLoadMore.setLocalizedVar("post_count",function(t){var e=parseInt(t.posts),n=parseInt(t.addons.preloaded_amount),r=e+n;return r=t.start_page>1?r-n:r,r=t.addons.filters_startpage>1?r-n:r,r=t.addons.single_post?r+1:r,r=t.addons.nextpage?r+1:r}(t)),r.almResultsText(t,n),e(!0)})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(62);(r=o)&&r.__esModule;var i={init:function(t){if(!0===this.isScript(t))t.parentNode.replaceChild(this.clone(t),t);else{var e=0,n=t.childNodes;if(void 0===n){var r=(new DOMParser).parseFromString(t,"text/html");r&&(n=r.body.childNodes)}for(;e<n.length;)this.replace(n[e++])}return t},replace:function(t){if(!0===this.isScript(t))t.parentNode.replaceChild(this.clone(t),t);else for(var e=0,n=t.childNodes;e<n.length;)this.replace(n[e++]);return t},isScript:function(t){return"SCRIPT"===t.tagName},clone:function(t){var e=document.createElement("script");e.text=t.innerHTML;for(var n=t.attributes.length-1;n>=0;n--)e.setAttribute(t.attributes[n].name,t.attributes[n].value);return e}};e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=s(n(48)),o=s(n(96)),i=s(n(62)),a=s(n(100));function s(t){return t&&t.__esModule?t:{default:t}}var l=n(101);e.default=function t(e,n,s){return new Promise(function(u){var c=e.listing,d=e.html,f=e.masonry_selector,p=e.masonry_columnwidth,g=e.masonry_animation,h=e.masonry_horizontalorder,v=e.speed,m=e.masonry_init,y=(v+100)/1e3+"s",_="scale(0.5)",b="scale(1)";if("zoom-out"===g&&(_="translateY(-20px) scale(1.25)",b="translateY(0) scale(1)"),"slide-up"===g&&(_="translateY(50px)",b="translateY(0)"),"slide-down"===g&&(_="translateY(-50px)",b="translateY(0)"),"none"===g&&(_="translateY(0)",b="translateY(0)"),p?isNaN(p)||(p=parseInt(p)):p=f,h="true"===h,s)c.parentNode.style.opacity=0,t(e,!0,!1),u(!0);else if(m&&n)(0,a.default)(c,e.ua),l(c,function(){var t={itemSelector:f,transitionDuration:y,columnWidth:p,horizontalOrder:h,hiddenStyle:{transform:_,opacity:0},visibleStyle:{transform:b,opacity:1}},n=window.alm_masonry_vars;n&&Object.keys(n).forEach(function(e){t[e]=n[e]}),setTimeout(function(){e.msnry=new Masonry(c,t),(0,r.default)(c.parentNode,v),u(!0)},100)});else{var x=(0,i.default)(d,"text/html");x&&((0,o.default)(e.listing,x,"masonry"),(0,a.default)(c,e.ua),l(c,function(){e.msnry.appended(x),u(!0)}))}})}},function(t,e,n){var r,o;"undefined"!=typeof window&&window,void 0===(o="function"==typeof(r=function(){"use strict";function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var n=this._events=this._events||{},r=n[t]=n[t]||[];return-1==r.indexOf(e)&&r.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var n=this._onceEvents=this._onceEvents||{};return(n[t]=n[t]||{})[e]=!0,this}},e.off=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){var r=n.indexOf(e);return-1!=r&&n.splice(r,1),this}},e.emitEvent=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){n=n.slice(0),e=e||[];for(var r=this._onceEvents&&this._onceEvents[t],o=0;o<n.length;o++){var i=n[o];r&&r[i]&&(this.off(t,i),delete r[i]),i.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t})?r.call(e,n,e,t):r)||(t.exports=o)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=s(n(48)),i=s(n(63)),a=n(98);function s(t){return t&&t.__esModule?t:{default:t}}e.default=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"filter";n.target?document.querySelectorAll('.ajax-load-more-wrap[data-id="'+n.target+'"]').forEach(function(o){l(t,e,n,o,r)}):document.querySelectorAll(".ajax-load-more-wrap").forEach(function(o){l(t,e,n,o,r)});(0,a.clearTOC)()};var l=function(t,e,n,r,o){if("fade"===t||"masonry"===t){switch(o){case"filter":r.classList.add("alm-is-filtering"),(0,i.default)(r,e);break;case"tab":r.classList.add("alm-loading");var a=r.querySelector(".alm-listing");r.style.height=a.offsetHeight+"px",(0,i.default)(a,e)}setTimeout(function(){u(e,n,r,o)},e)}else r.classList.add("alm-is-filtering"),u(e,n,r,o)},u=function(t,e,n,r){var o=n.querySelector(".alm-btn-wrap"),i=n.querySelectorAll(".alm-listing");[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(i)).forEach(function(t){t.innerHTML=""});var a=o.querySelector(".alm-load-more-btn");a&&a.classList.remove("done");var s=o.querySelector(".alm-paging");s&&(s.style.opacity=0),e.preloadedAmount=0,c(t,e,n,r)},c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,e=arguments[1],n=arguments[2],i=arguments[3],a=n.querySelector(".alm-listing")||n.querySelector(".alm-comments");if(!a)return!1;switch(i){case"filter":var s=!0,l=!1,u=void 0;try{for(var c,d=Object.entries(e)[Symbol.iterator]();!(s=(c=d.next()).done);s=!0){var f=c.value,p=r(f,2),g=p[0],h=p[1];g=g.replace(/\W+/g,"-").replace(/([a-z\d])([A-Z])/g,"$1-$2").toLowerCase(),a.setAttribute("data-"+g,h)}}catch(t){l=!0,u=t}finally{try{!s&&d.return&&d.return()}finally{if(l)throw u}}(0,o.default)(n,t);break;case"tab":a.setAttribute("data-preloaded","false"),a.setAttribute("data-pause","false"),a.setAttribute("data-tab-template",e.tabTemplate)}var v="";switch(e.target?(v=document.querySelector('.ajax-load-more-wrap[data-id="'+e.target+'"]'))&&window.almInit(v):(v=document.querySelector(".ajax-load-more-wrap"))&&window.almInit(v),i){case"tab":"function"==typeof almTabsComplete&&almTabsComplete()}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(""===e)return!1;e=e.replace(/(<p><\/p>)+/g,""),t.innerHTML=e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){if(t&&t.debug){var e={query:t.debug,localize:t.localize};console.log("ALM Debug:",e)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){if(!t)return!1;var e=-1!==t.scroll_distance_orig.toString().indexOf("-"),n=t.scroll_distance_orig.toString().replace("-","").replace("%",""),r=t.window.innerHeight,o=Math.floor(r/100*parseInt(n));return parseInt(e?"-"+o:o)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.showPlaceholder=function(t){if(!t||!t.main||t.addons.paging)return!1;t.placeholder&&(t.placeholder.style.display="block",(0,r.default)(t.placeholder,75))},e.hidePlaceholder=function(t){if(!t||!t.main||t.addons.paging)return!1;t.placeholder&&((0,o.default)(t.placeholder,75),setTimeout(function(){t.placeholder.style.display="none"},75))};var r=i(n(48)),o=i(n(63));function i(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){n(173)},function(t,e,n){"use strict";n(174),n(318),n(320),n(322),n(324),n(326),n(328),n(330),n(332),n(334),n(338)},function(t,e,n){n(175),n(178),n(179),n(180),n(181),n(182),n(183),n(184),n(185),n(186),n(187),n(188),n(189),n(190),n(191),n(192),n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218),n(219),n(221),n(222),n(223),n(224),n(225),n(226),n(227),n(228),n(229),n(230),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(242),n(243),n(244),n(245),n(246),n(247),n(248),n(249),n(250),n(251),n(252),n(253),n(254),n(256),n(257),n(259),n(260),n(261),n(262),n(263),n(264),n(265),n(268),n(269),n(270),n(271),n(272),n(273),n(274),n(275),n(276),n(277),n(278),n(279),n(280),n(85),n(281),n(121),n(282),n(122),n(283),n(284),n(285),n(286),n(123),n(289),n(290),n(291),n(292),n(293),n(294),n(295),n(296),n(297),n(298),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(317),t.exports=n(9)},function(t,e,n){"use strict";var r=n(1),o=n(14),i=n(8),a=n(0),s=n(10),l=n(28).KEY,u=n(2),c=n(49),d=n(38),f=n(30),p=n(5),g=n(65),h=n(103),v=n(177),m=n(68),y=n(3),_=n(4),b=n(16),x=n(27),w=n(29),S=n(34),A=n(106),j=n(19),O=n(7),P=n(32),E=j.f,L=O.f,M=A.f,T=r.Symbol,I=r.JSON,F=I&&I.stringify,C=p("_hidden"),N=p("toPrimitive"),k={}.propertyIsEnumerable,R=c("symbol-registry"),D=c("symbols"),q=c("op-symbols"),B=Object.prototype,z="function"==typeof T,U=r.QObject,W=!U||!U.prototype||!U.prototype.findChild,V=i&&u(function(){return 7!=S(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=E(B,e);r&&delete B[e],L(t,e,n),r&&t!==B&&L(B,e,r)}:L,H=function(t){var e=D[t]=S(T.prototype);return e._k=t,e},G=z&&"symbol"==typeof T.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof T},Y=function(t,e,n){return t===B&&Y(q,e,n),y(t),e=x(e,!0),y(n),o(D,e)?(n.enumerable?(o(t,C)&&t[C][e]&&(t[C][e]=!1),n=S(n,{enumerable:w(0,!1)})):(o(t,C)||L(t,C,w(1,{})),t[C][e]=!0),V(t,e,n)):L(t,e,n)},X=function(t,e){y(t);for(var n,r=v(e=b(e)),o=0,i=r.length;i>o;)Y(t,n=r[o++],e[n]);return t},$=function(t){var e=k.call(this,t=x(t,!0));return!(this===B&&o(D,t)&&!o(q,t))&&(!(e||!o(this,t)||!o(D,t)||o(this,C)&&this[C][t])||e)},Q=function(t,e){if(t=b(t),e=x(e,!0),t!==B||!o(D,e)||o(q,e)){var n=E(t,e);return!n||!o(D,e)||o(t,C)&&t[C][e]||(n.enumerable=!0),n}},K=function(t){for(var e,n=M(b(t)),r=[],i=0;n.length>i;)o(D,e=n[i++])||e==C||e==l||r.push(e);return r},J=function(t){for(var e,n=t===B,r=M(n?q:b(t)),i=[],a=0;r.length>a;)!o(D,e=r[a++])||n&&!o(B,e)||i.push(D[e]);return i};z||(s((T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var t=f(arguments.length>0?arguments[0]:void 0),e=function(n){this===B&&e.call(q,n),o(this,C)&&o(this[C],t)&&(this[C][t]=!1),V(this,t,w(1,n))};return i&&W&&V(B,t,{configurable:!0,set:e}),H(t)}).prototype,"toString",function(){return this._k}),j.f=Q,O.f=Y,n(35).f=A.f=K,n(45).f=$,n(51).f=J,i&&!n(31)&&s(B,"propertyIsEnumerable",$,!0),g.f=function(t){return H(p(t))}),a(a.G+a.W+a.F*!z,{Symbol:T});for(var Z="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;Z.length>tt;)p(Z[tt++]);for(var et=P(p.store),nt=0;et.length>nt;)h(et[nt++]);a(a.S+a.F*!z,"Symbol",{for:function(t){return o(R,t+="")?R[t]:R[t]=T(t)},keyFor:function(t){if(!G(t))throw TypeError(t+" is not a symbol!");for(var e in R)if(R[e]===t)return e},useSetter:function(){W=!0},useSimple:function(){W=!1}}),a(a.S+a.F*!z,"Object",{create:function(t,e){return void 0===e?S(t):X(S(t),e)},defineProperty:Y,defineProperties:X,getOwnPropertyDescriptor:Q,getOwnPropertyNames:K,getOwnPropertySymbols:J}),I&&a(a.S+a.F*(!z||u(function(){var t=T();return"[null]"!=F([t])||"{}"!=F({a:t})||"{}"!=F(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(_(e)||void 0!==t)&&!G(t))return m(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!G(e))return e}),r[1]=e,F.apply(I,r)}}),T.prototype[N]||n(15)(T.prototype,N,T.prototype.valueOf),d(T,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(t,e,n){t.exports=n(49)("native-function-to-string",Function.toString)},function(t,e,n){var r=n(32),o=n(51),i=n(45);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var a,s=n(t),l=i.f,u=0;s.length>u;)l.call(t,a=s[u++])&&e.push(a);return e}},function(t,e,n){var r=n(0);r(r.S,"Object",{create:n(34)})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(8),"Object",{defineProperty:n(7).f})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(8),"Object",{defineProperties:n(105)})},function(t,e,n){var r=n(16),o=n(19).f;n(20)("getOwnPropertyDescriptor",function(){return function(t,e){return o(r(t),e)}})},function(t,e,n){var r=n(11),o=n(36);n(20)("getPrototypeOf",function(){return function(t){return o(r(t))}})},function(t,e,n){var r=n(11),o=n(32);n(20)("keys",function(){return function(t){return o(r(t))}})},function(t,e,n){n(20)("getOwnPropertyNames",function(){return n(106).f})},function(t,e,n){var r=n(4),o=n(28).onFreeze;n(20)("freeze",function(t){return function(e){return t&&r(e)?t(o(e)):e}})},function(t,e,n){var r=n(4),o=n(28).onFreeze;n(20)("seal",function(t){return function(e){return t&&r(e)?t(o(e)):e}})},function(t,e,n){var r=n(4),o=n(28).onFreeze;n(20)("preventExtensions",function(t){return function(e){return t&&r(e)?t(o(e)):e}})},function(t,e,n){var r=n(4);n(20)("isFrozen",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(4);n(20)("isSealed",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(4);n(20)("isExtensible",function(t){return function(e){return!!r(e)&&(!t||t(e))}})},function(t,e,n){var r=n(0);r(r.S+r.F,"Object",{assign:n(107)})},function(t,e,n){var r=n(0);r(r.S,"Object",{is:n(108)})},function(t,e,n){var r=n(0);r(r.S,"Object",{setPrototypeOf:n(70).set})},function(t,e,n){"use strict";var r=n(46),o={};o[n(5)("toStringTag")]="z",o+""!="[object z]"&&n(10)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,e,n){var r=n(0);r(r.P,"Function",{bind:n(109)})},function(t,e,n){var r=n(7).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(8)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},function(t,e,n){"use strict";var r=n(4),o=n(36),i=n(5)("hasInstance"),a=Function.prototype;i in a||n(7).f(a,i,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=o(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){var r=n(0),o=n(111);r(r.G+r.F*(parseInt!=o),{parseInt:o})},function(t,e,n){var r=n(0),o=n(112);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},function(t,e,n){"use strict";var r=n(1),o=n(14),i=n(24),a=n(72),s=n(27),l=n(2),u=n(35).f,c=n(19).f,d=n(7).f,f=n(52).trim,p=r.Number,g=p,h=p.prototype,v="Number"==i(n(34)(h)),m="trim"in String.prototype,y=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){var n,r,o,i=(e=m?e.trim():f(e,3)).charCodeAt(0);if(43===i||45===i){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===i){switch(e.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+e}for(var a,l=e.slice(2),u=0,c=l.length;u<c;u++)if((a=l.charCodeAt(u))<48||a>o)return NaN;return parseInt(l,r)}}return+e};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof p&&(v?l(function(){h.valueOf.call(n)}):"Number"!=i(n))?a(new g(y(e)),n,p):y(e)};for(var _,b=n(8)?u(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;b.length>x;x++)o(g,_=b[x])&&!o(p,_)&&d(p,_,c(g,_));p.prototype=h,h.constructor=p,n(10)(r,"Number",p)}},function(t,e,n){"use strict";var r=n(0),o=n(18),i=n(113),a=n(73),s=1..toFixed,l=Math.floor,u=[0,0,0,0,0,0],c="Number.toFixed: incorrect invocation!",d=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*u[n],u[n]=r%1e7,r=l(r/1e7)},f=function(t){for(var e=6,n=0;--e>=0;)n+=u[e],u[e]=l(n/t),n=n%t*1e7},p=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==u[t]){var n=String(u[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e},g=function(t,e,n){return 0===e?n:e%2==1?g(t,e-1,n*t):g(t*t,e/2,n)};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(2)(function(){s.call({})})),"Number",{toFixed:function(t){var e,n,r,s,l=i(this,c),u=o(t),h="",v="0";if(u<0||u>20)throw RangeError(c);if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(h="-",l=-l),l>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(l*g(2,69,1))-69)<0?l*g(2,-e,1):l/g(2,e,1),n*=4503599627370496,(e=52-e)>0){for(d(0,n),r=u;r>=7;)d(1e7,0),r-=7;for(d(g(10,r,1),0),r=e-1;r>=23;)f(1<<23),r-=23;f(1<<r),d(1,1),f(2),v=p()}else d(0,n),d(1<<-e,0),v=p()+a.call("0",u);return v=u>0?h+((s=v.length)<=u?"0."+a.call("0",u-s)+v:v.slice(0,s-u)+"."+v.slice(s-u)):h+v}})},function(t,e,n){"use strict";var r=n(0),o=n(2),i=n(113),a=1..toPrecision;r(r.P+r.F*(o(function(){return"1"!==a.call(1,void 0)})||!o(function(){a.call({})})),"Number",{toPrecision:function(t){var e=i(this,"Number#toPrecision: incorrect invocation!");return void 0===t?a.call(e):a.call(e,t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){var r=n(0),o=n(1).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&o(t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{isInteger:n(114)})},function(t,e,n){var r=n(0);r(r.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var r=n(0),o=n(114),i=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},function(t,e,n){var r=n(0);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){var r=n(0);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var r=n(0),o=n(112);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(t,e,n){var r=n(0),o=n(111);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(t,e,n){var r=n(0),o=n(115),i=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:o(t-1+i(t-1)*i(t+1))}})},function(t,e,n){var r=n(0),o=Math.asinh;r(r.S+r.F*!(o&&1/o(0)>0),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},function(t,e,n){var r=n(0),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){var r=n(0),o=n(74);r(r.S,"Math",{cbrt:function(t){return o(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){var r=n(0),o=Math.exp;r(r.S,"Math",{cosh:function(t){return(o(t=+t)+o(-t))/2}})},function(t,e,n){var r=n(0),o=n(75);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},function(t,e,n){var r=n(0);r(r.S,"Math",{fround:n(220)})},function(t,e,n){var r=n(74),o=Math.pow,i=o(2,-52),a=o(2,-23),s=o(2,127)*(2-a),l=o(2,-126);t.exports=Math.fround||function(t){var e,n,o=Math.abs(t),u=r(t);return o<l?u*(o/l/a+1/i-1/i)*l*a:(n=(e=(1+a/i)*o)-(e-o))>s||n!=n?u*(1/0):u*n}},function(t,e,n){var r=n(0),o=Math.abs;r(r.S,"Math",{hypot:function(t,e){for(var n,r,i=0,a=0,s=arguments.length,l=0;a<s;)l<(n=o(arguments[a++]))?(i=i*(r=l/n)*r+1,l=n):i+=n>0?(r=n/l)*r:n;return l===1/0?1/0:l*Math.sqrt(i)}})},function(t,e,n){var r=n(0),o=Math.imul;r(r.S+r.F*n(2)(function(){return-5!=o(4294967295,5)||2!=o.length}),"Math",{imul:function(t,e){var n=+t,r=+e,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log1p:n(115)})},function(t,e,n){var r=n(0);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){var r=n(0);r(r.S,"Math",{sign:n(74)})},function(t,e,n){var r=n(0),o=n(75),i=Math.exp;r(r.S+r.F*n(2)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(o(t)-o(-t))/2:(i(t-1)-i(-t-1))*(Math.E/2)}})},function(t,e,n){var r=n(0),o=n(75),i=Math.exp;r(r.S,"Math",{tanh:function(t){var e=o(t=+t),n=o(-t);return e==1/0?1:n==1/0?-1:(e-n)/(i(t)+i(-t))}})},function(t,e,n){var r=n(0);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){var r=n(0),o=n(33),i=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?i(e):i(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},function(t,e,n){var r=n(0),o=n(16),i=n(6);r(r.S,"String",{raw:function(t){for(var e=o(t.raw),n=i(e.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(e[s++])),s<r&&a.push(String(arguments[s]));return a.join("")}})},function(t,e,n){"use strict";n(52)("trim",function(t){return function(){return t(this,3)}})},function(t,e,n){"use strict";var r=n(76)(!0);n(77)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var r=n(0),o=n(76)(!1);r(r.P,"String",{codePointAt:function(t){return o(this,t)}})},function(t,e,n){"use strict";var r=n(0),o=n(6),i=n(78),a="".endsWith;r(r.P+r.F*n(80)("endsWith"),"String",{endsWith:function(t){var e=i(this,t,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=o(e.length),s=void 0===n?r:Math.min(o(n),r),l=String(t);return a?a.call(e,l,s):e.slice(s-l.length,s)===l}})},function(t,e,n){"use strict";var r=n(0),o=n(78);r(r.P+r.F*n(80)("includes"),"String",{includes:function(t){return!!~o(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(0);r(r.P,"String",{repeat:n(73)})},function(t,e,n){"use strict";var r=n(0),o=n(6),i=n(78),a="".startsWith;r(r.P+r.F*n(80)("startsWith"),"String",{startsWith:function(t){var e=i(this,t,"startsWith"),n=o(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return a?a.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){"use strict";n(12)("anchor",function(t){return function(e){return t(this,"a","name",e)}})},function(t,e,n){"use strict";n(12)("big",function(t){return function(){return t(this,"big","","")}})},function(t,e,n){"use strict";n(12)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,e,n){"use strict";n(12)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,e,n){"use strict";n(12)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,e,n){"use strict";n(12)("fontcolor",function(t){return function(e){return t(this,"font","color",e)}})},function(t,e,n){"use strict";n(12)("fontsize",function(t){return function(e){return t(this,"font","size",e)}})},function(t,e,n){"use strict";n(12)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,e,n){"use strict";n(12)("link",function(t){return function(e){return t(this,"a","href",e)}})},function(t,e,n){"use strict";n(12)("small",function(t){return function(){return t(this,"small","","")}})},function(t,e,n){"use strict";n(12)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,e,n){"use strict";n(12)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,e,n){"use strict";n(12)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,e,n){var r=n(0);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,n){"use strict";var r=n(0),o=n(11),i=n(27);r(r.P+r.F*n(2)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var e=o(this),n=i(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){var r=n(0),o=n(255);r(r.P+r.F*(Date.prototype.toISOString!==o),"Date",{toISOString:o})},function(t,e,n){"use strict";var r=n(2),o=Date.prototype.getTime,i=Date.prototype.toISOString,a=function(t){return t>9?t:"0"+t};t.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=i.call(new Date(-5e13-1))})||!r(function(){i.call(new Date(NaN))})?function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+a(t.getUTCMonth()+1)+"-"+a(t.getUTCDate())+"T"+a(t.getUTCHours())+":"+a(t.getUTCMinutes())+":"+a(t.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}:i},function(t,e,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(10)(r,"toString",function(){var t=i.call(this);return t==t?o.call(this):"Invalid Date"})},function(t,e,n){var r=n(5)("toPrimitive"),o=Date.prototype;r in o||n(15)(o,r,n(258))},function(t,e,n){"use strict";var r=n(3),o=n(27);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!=t)}},function(t,e,n){var r=n(0);r(r.S,"Array",{isArray:n(68)})},function(t,e,n){"use strict";var r=n(22),o=n(0),i=n(11),a=n(117),s=n(81),l=n(6),u=n(82),c=n(83);o(o.S+o.F*!n(53)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,o,d,f=i(t),p="function"==typeof this?this:Array,g=arguments.length,h=g>1?arguments[1]:void 0,v=void 0!==h,m=0,y=c(f);if(v&&(h=r(h,g>2?arguments[2]:void 0,2)),null==y||p==Array&&s(y))for(n=new p(e=l(f.length));e>m;m++)u(n,m,v?h(f[m],m):f[m]);else for(d=y.call(f),n=new p;!(o=d.next()).done;m++)u(n,m,v?a(d,h,[o.value,m],!0):o.value);return n.length=m,n}})},function(t,e,n){"use strict";var r=n(0),o=n(82);r(r.S+r.F*n(2)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)o(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){"use strict";var r=n(0),o=n(16),i=[].join;r(r.P+r.F*(n(44)!=Object||!n(17)(i)),"Array",{join:function(t){return i.call(o(this),void 0===t?",":t)}})},function(t,e,n){"use strict";var r=n(0),o=n(69),i=n(24),a=n(33),s=n(6),l=[].slice;r(r.P+r.F*n(2)(function(){o&&l.call(o)}),"Array",{slice:function(t,e){var n=s(this.length),r=i(this);if(e=void 0===e?n:e,"Array"==r)return l.call(this,t,e);for(var o=a(t,n),u=a(e,n),c=s(u-o),d=new Array(c),f=0;f<c;f++)d[f]="String"==r?this.charAt(o+f):this[o+f];return d}})},function(t,e,n){"use strict";var r=n(0),o=n(23),i=n(11),a=n(2),s=[].sort,l=[1,2,3];r(r.P+r.F*(a(function(){l.sort(void 0)})||!a(function(){l.sort(null)})||!n(17)(s)),"Array",{sort:function(t){return void 0===t?s.call(i(this)):s.call(i(this),o(t))}})},function(t,e,n){"use strict";var r=n(0),o=n(21)(0),i=n(17)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(t){return o(this,t,arguments[1])}})},function(t,e,n){var r=n(267);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){var r=n(4),o=n(68),i=n(5)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){"use strict";var r=n(0),o=n(21)(1);r(r.P+r.F*!n(17)([].map,!0),"Array",{map:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(21)(2);r(r.P+r.F*!n(17)([].filter,!0),"Array",{filter:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(21)(3);r(r.P+r.F*!n(17)([].some,!0),"Array",{some:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(21)(4);r(r.P+r.F*!n(17)([].every,!0),"Array",{every:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(118);r(r.P+r.F*!n(17)([].reduce,!0),"Array",{reduce:function(t){return o(this,t,arguments.length,arguments[1],!1)}})},function(t,e,n){"use strict";var r=n(0),o=n(118);r(r.P+r.F*!n(17)([].reduceRight,!0),"Array",{reduceRight:function(t){return o(this,t,arguments.length,arguments[1],!0)}})},function(t,e,n){"use strict";var r=n(0),o=n(50)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(17)(i)),"Array",{indexOf:function(t){return a?i.apply(this,arguments)||0:o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(16),i=n(18),a=n(6),s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(l||!n(17)(s)),"Array",{lastIndexOf:function(t){if(l)return s.apply(this,arguments)||0;var e=o(this),n=a(e.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,i(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}})},function(t,e,n){var r=n(0);r(r.P,"Array",{copyWithin:n(119)}),n(40)("copyWithin")},function(t,e,n){var r=n(0);r(r.P,"Array",{fill:n(84)}),n(40)("fill")},function(t,e,n){"use strict";var r=n(0),o=n(21)(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),r(r.P+r.F*i,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(40)("find")},function(t,e,n){"use strict";var r=n(0),o=n(21)(6),i="findIndex",a=!0;i in[]&&Array(1)[i](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(40)(i)},function(t,e,n){n(41)("Array")},function(t,e,n){var r=n(1),o=n(72),i=n(7).f,a=n(35).f,s=n(79),l=n(54),u=r.RegExp,c=u,d=u.prototype,f=/a/g,p=/a/g,g=new u(f)!==f;if(n(8)&&(!g||n(2)(function(){return p[n(5)("match")]=!1,u(f)!=f||u(p)==p||"/a/i"!=u(f,"i")}))){u=function(t,e){var n=this instanceof u,r=s(t),i=void 0===e;return!n&&r&&t.constructor===u&&i?t:o(g?new c(r&&!i?t.source:t,e):c((r=t instanceof u)?t.source:t,r&&i?l.call(t):e),n?this:d,u)};for(var h=function(t){t in u||i(u,t,{configurable:!0,get:function(){return c[t]},set:function(e){c[t]=e}})},v=a(c),m=0;v.length>m;)h(v[m++]);d.constructor=u,u.prototype=d,n(10)(r,"RegExp",u)}n(41)("RegExp")},function(t,e,n){"use strict";n(122);var r=n(3),o=n(54),i=n(8),a=/./.toString,s=function(t){n(10)(RegExp.prototype,"toString",t,!0)};n(2)(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?s(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!i&&t instanceof RegExp?o.call(t):void 0)}):"toString"!=a.name&&s(function(){return a.call(this)})},function(t,e,n){"use strict";var r=n(3),o=n(6),i=n(87),a=n(55);n(56)("match",1,function(t,e,n,s){return[function(n){var r=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=s(n,t,this);if(e.done)return e.value;var l=r(t),u=String(this);if(!l.global)return a(l,u);var c=l.unicode;l.lastIndex=0;for(var d,f=[],p=0;null!==(d=a(l,u));){var g=String(d[0]);f[p]=g,""===g&&(l.lastIndex=i(u,o(l.lastIndex),c)),p++}return 0===p?null:f}]})},function(t,e,n){"use strict";var r=n(3),o=n(11),i=n(6),a=n(18),s=n(87),l=n(55),u=Math.max,c=Math.min,d=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g;n(56)("replace",2,function(t,e,n,g){return[function(r,o){var i=t(this),a=null==r?void 0:r[e];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(t,e){var o=g(n,t,this,e);if(o.done)return o.value;var d=r(t),f=String(this),p="function"==typeof e;p||(e=String(e));var v=d.global;if(v){var m=d.unicode;d.lastIndex=0}for(var y=[];;){var _=l(d,f);if(null===_)break;if(y.push(_),!v)break;""===String(_[0])&&(d.lastIndex=s(f,i(d.lastIndex),m))}for(var b,x="",w=0,S=0;S<y.length;S++){_=y[S];for(var A=String(_[0]),j=u(c(a(_.index),f.length),0),O=[],P=1;P<_.length;P++)O.push(void 0===(b=_[P])?b:String(b));var E=_.groups;if(p){var L=[A].concat(O,j,f);void 0!==E&&L.push(E);var M=String(e.apply(void 0,L))}else M=h(A,f,j,O,E,e);j>=w&&(x+=f.slice(w,j)+M,w=j+A.length)}return x+f.slice(w)}];function h(t,e,r,i,a,s){var l=r+t.length,u=i.length,c=p;return void 0!==a&&(a=o(a),c=f),n.call(s,c,function(n,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(l);case"<":s=a[o.slice(1,-1)];break;default:var c=+o;if(0===c)return n;if(c>u){var f=d(c/10);return 0===f?n:f<=u?void 0===i[f-1]?o.charAt(1):i[f-1]+o.charAt(1):n}s=i[c-1]}return void 0===s?"":s})}})},function(t,e,n){"use strict";var r=n(3),o=n(108),i=n(55);n(56)("search",1,function(t,e,n,a){return[function(n){var r=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=a(n,t,this);if(e.done)return e.value;var s=r(t),l=String(this),u=s.lastIndex;o(u,0)||(s.lastIndex=0);var c=i(s,l);return o(s.lastIndex,u)||(s.lastIndex=u),null===c?-1:c.index}]})},function(t,e,n){"use strict";var r=n(79),o=n(3),i=n(47),a=n(87),s=n(6),l=n(55),u=n(86),c=n(2),d=Math.min,f=[].push,p=!c(function(){RegExp(4294967295,"y")});n(56)("split",2,function(t,e,n,c){var g;return g="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,e){var o=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(o,t,e);for(var i,a,s,l=[],c=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,p=void 0===e?4294967295:e>>>0,g=new RegExp(t.source,c+"g");(i=u.call(g,o))&&!((a=g.lastIndex)>d&&(l.push(o.slice(d,i.index)),i.length>1&&i.index<o.length&&f.apply(l,i.slice(1)),s=i[0].length,d=a,l.length>=p));)g.lastIndex===i.index&&g.lastIndex++;return d===o.length?!s&&g.test("")||l.push(""):l.push(o.slice(d)),l.length>p?l.slice(0,p):l}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var o=t(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):g.call(String(o),n,r)},function(t,e){var r=c(g,t,this,e,g!==n);if(r.done)return r.value;var u=o(t),f=String(this),h=i(u,RegExp),v=u.unicode,m=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(p?"y":"g"),y=new h(p?u:"^(?:"+u.source+")",m),_=void 0===e?4294967295:e>>>0;if(0===_)return[];if(0===f.length)return null===l(y,f)?[f]:[];for(var b=0,x=0,w=[];x<f.length;){y.lastIndex=p?x:0;var S,A=l(y,p?f:f.slice(x));if(null===A||(S=d(s(y.lastIndex+(p?0:x)),f.length))===b)x=a(f,x,v);else{if(w.push(f.slice(b,x)),w.length===_)return w;for(var j=1;j<=A.length-1;j++)if(w.push(A[j]),w.length===_)return w;x=b=S}}return w.push(f.slice(b)),w}]})},function(t,e,n){var r=n(1),o=n(88).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,l="process"==n(24)(a);t.exports=function(){var t,e,n,u=function(){var r,o;for(l&&(r=a.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(l)n=function(){a.nextTick(u)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);n=function(){c.then(u)}}else n=function(){o.call(r,u)};else{var d=!0,f=document.createTextNode("");new i(u).observe(f,{characterData:!0}),n=function(){f.data=d=!d}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){"use strict";var r=n(126),o=n(37);t.exports=n(59)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=r.getEntry(o(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(o(this,"Map"),0===t?0:t,e)}},r,!0)},function(t,e,n){"use strict";var r=n(126),o=n(37);t.exports=n(59)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(o(this,"Set"),t=0===t?0:t,t)}},r)},function(t,e,n){"use strict";var r,o=n(1),i=n(21)(0),a=n(10),s=n(28),l=n(107),u=n(127),c=n(4),d=n(37),f=n(37),p=!o.ActiveXObject&&"ActiveXObject"in o,g=s.getWeak,h=Object.isExtensible,v=u.ufstore,m=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},y={get:function(t){if(c(t)){var e=g(t);return!0===e?v(d(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(d(this,"WeakMap"),t,e)}},_=t.exports=n(59)("WeakMap",m,y,u,!0,!0);f&&p&&(l((r=u.getConstructor(m,"WeakMap")).prototype,y),s.NEED=!0,i(["delete","has","get","set"],function(t){var e=_.prototype,n=e[t];a(e,t,function(e,o){if(c(e)&&!h(e)){this._f||(this._f=new r);var i=this._f[t](e,o);return"set"==t?this:i}return n.call(this,e,o)})}))},function(t,e,n){"use strict";var r=n(127),o=n(37);n(59)("WeakSet",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(o(this,"WeakSet"),t,!0)}},r,!1,!0)},function(t,e,n){"use strict";var r=n(0),o=n(60),i=n(89),a=n(3),s=n(33),l=n(6),u=n(4),c=n(1).ArrayBuffer,d=n(47),f=i.ArrayBuffer,p=i.DataView,g=o.ABV&&c.isView,h=f.prototype.slice,v=o.VIEW;r(r.G+r.W+r.F*(c!==f),{ArrayBuffer:f}),r(r.S+r.F*!o.CONSTR,"ArrayBuffer",{isView:function(t){return g&&g(t)||u(t)&&v in t}}),r(r.P+r.U+r.F*n(2)(function(){return!new f(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(t,e){if(void 0!==h&&void 0===e)return h.call(a(this),t);for(var n=a(this).byteLength,r=s(t,n),o=s(void 0===e?n:e,n),i=new(d(this,f))(l(o-r)),u=new p(this),c=new p(i),g=0;r<o;)c.setUint8(g++,u.getUint8(r++));return i}}),n(41)("ArrayBuffer")},function(t,e,n){var r=n(0);r(r.G+r.W+r.F*!n(60).ABV,{DataView:n(89).DataView})},function(t,e,n){n(26)("Int8",1,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(26)("Uint8",1,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(26)("Uint8",1,function(t){return function(e,n,r){return t(this,e,n,r)}},!0)},function(t,e,n){n(26)("Int16",2,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(26)("Uint16",2,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(26)("Int32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(26)("Uint32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(26)("Float32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(26)("Float64",8,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){var r=n(0),o=n(23),i=n(3),a=(n(1).Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!n(2)(function(){a(function(){})}),"Reflect",{apply:function(t,e,n){var r=o(t),l=i(n);return a?a(r,e,l):s.call(r,e,l)}})},function(t,e,n){var r=n(0),o=n(34),i=n(23),a=n(3),s=n(4),l=n(2),u=n(109),c=(n(1).Reflect||{}).construct,d=l(function(){function t(){}return!(c(function(){},[],t)instanceof t)}),f=!l(function(){c(function(){})});r(r.S+r.F*(d||f),"Reflect",{construct:function(t,e){i(t),a(e);var n=arguments.length<3?t:i(arguments[2]);if(f&&!d)return c(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(u.apply(t,r))}var l=n.prototype,p=o(s(l)?l:Object.prototype),g=Function.apply.call(t,p,e);return s(g)?g:p}})},function(t,e,n){var r=n(7),o=n(0),i=n(3),a=n(27);o(o.S+o.F*n(2)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,n){i(t),e=a(e,!0),i(n);try{return r.f(t,e,n),!0}catch(t){return!1}}})},function(t,e,n){var r=n(0),o=n(19).f,i=n(3);r(r.S,"Reflect",{deleteProperty:function(t,e){var n=o(i(t),e);return!(n&&!n.configurable)&&delete t[e]}})},function(t,e,n){"use strict";var r=n(0),o=n(3),i=function(t){this._t=o(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n(116)(i,"Object",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),r(r.S,"Reflect",{enumerate:function(t){return new i(t)}})},function(t,e,n){var r=n(19),o=n(36),i=n(14),a=n(0),s=n(4),l=n(3);a(a.S,"Reflect",{get:function t(e,n){var a,u,c=arguments.length<3?e:arguments[2];return l(e)===c?e[n]:(a=r.f(e,n))?i(a,"value")?a.value:void 0!==a.get?a.get.call(c):void 0:s(u=o(e))?t(u,n,c):void 0}})},function(t,e,n){var r=n(19),o=n(0),i=n(3);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(i(t),e)}})},function(t,e,n){var r=n(0),o=n(36),i=n(3);r(r.S,"Reflect",{getPrototypeOf:function(t){return o(i(t))}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){var r=n(0),o=n(3),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return o(t),!i||i(t)}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{ownKeys:n(129)})},function(t,e,n){var r=n(0),o=n(3),i=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){o(t);try{return i&&i(t),!0}catch(t){return!1}}})},function(t,e,n){var r=n(7),o=n(19),i=n(36),a=n(14),s=n(0),l=n(29),u=n(3),c=n(4);s(s.S,"Reflect",{set:function t(e,n,s){var d,f,p=arguments.length<4?e:arguments[3],g=o.f(u(e),n);if(!g){if(c(f=i(e)))return t(f,n,s,p);g=l(0)}if(a(g,"value")){if(!1===g.writable||!c(p))return!1;if(d=o.f(p,n)){if(d.get||d.set||!1===d.writable)return!1;d.value=s,r.f(p,n,d)}else r.f(p,n,l(0,s));return!0}return void 0!==g.set&&(g.set.call(p,s),!0)}})},function(t,e,n){var r=n(0),o=n(70);o&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){o.check(t,e);try{return o.set(t,e),!0}catch(t){return!1}}})},function(t,e,n){n(319),t.exports=n(9).Array.includes},function(t,e,n){"use strict";var r=n(0),o=n(50)(!0);r(r.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(40)("includes")},function(t,e,n){n(321),t.exports=n(9).String.padStart},function(t,e,n){"use strict";var r=n(0),o=n(130),i=n(58),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*a,"String",{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,e,n){n(323),t.exports=n(9).String.padEnd},function(t,e,n){"use strict";var r=n(0),o=n(130),i=n(58),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*a,"String",{padEnd:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,e,n){n(325),t.exports=n(65).f("asyncIterator")},function(t,e,n){n(103)("asyncIterator")},function(t,e,n){n(327),t.exports=n(9).Object.getOwnPropertyDescriptors},function(t,e,n){var r=n(0),o=n(129),i=n(16),a=n(19),s=n(82);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n,r=i(t),l=a.f,u=o(r),c={},d=0;u.length>d;)void 0!==(n=l(r,e=u[d++]))&&s(c,e,n);return c}})},function(t,e,n){n(329),t.exports=n(9).Object.values},function(t,e,n){var r=n(0),o=n(131)(!1);r(r.S,"Object",{values:function(t){return o(t)}})},function(t,e,n){n(331),t.exports=n(9).Object.entries},function(t,e,n){var r=n(0),o=n(131)(!0);r(r.S,"Object",{entries:function(t){return o(t)}})},function(t,e,n){"use strict";n(123),n(333),t.exports=n(9).Promise.finally},function(t,e,n){"use strict";var r=n(0),o=n(9),i=n(1),a=n(47),s=n(125);r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,o.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then(function(){return n})}:t,n?function(n){return s(e,t()).then(function(){throw n})}:t)}})},function(t,e,n){n(335),n(336),n(337),t.exports=n(9)},function(t,e,n){var r=n(1),o=n(0),i=n(58),a=[].slice,s=/MSIE .\./.test(i),l=function(t){return function(e,n){var r=arguments.length>2,o=!!r&&a.call(arguments,2);return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,o)}:e,n)}};o(o.G+o.B+o.F*s,{setTimeout:l(r.setTimeout),setInterval:l(r.setInterval)})},function(t,e,n){var r=n(0),o=n(88);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},function(t,e,n){for(var r=n(85),o=n(32),i=n(10),a=n(1),s=n(15),l=n(39),u=n(5),c=u("iterator"),d=u("toStringTag"),f=l.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},g=o(p),h=0;h<g.length;h++){var v,m=g[h],y=p[m],_=a[m],b=_&&_.prototype;if(b&&(b[c]||s(b,c,f),b[d]||s(b,d,m),l[m]=f,y))for(v in r)b[v]||i(b,v,r[v],!0)}},function(t,e){!function(e){"use strict";var n,r=Object.prototype,o=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag",u="object"==typeof t,c=e.regeneratorRuntime;if(c)u&&(t.exports=c);else{(c=e.regeneratorRuntime=u?t.exports:{}).wrap=b;var d="suspendedStart",f="suspendedYield",p="executing",g="completed",h={},v={};v[a]=function(){return this};var m=Object.getPrototypeOf,y=m&&m(m(T([])));y&&y!==r&&o.call(y,a)&&(v=y);var _=A.prototype=w.prototype=Object.create(v);S.prototype=_.constructor=A,A.constructor=S,A[l]=S.displayName="GeneratorFunction",c.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===S||"GeneratorFunction"===(e.displayName||e.name))},c.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,A):(t.__proto__=A,l in t||(t[l]="GeneratorFunction")),t.prototype=Object.create(_),t},c.awrap=function(t){return{__await:t}},j(O.prototype),O.prototype[s]=function(){return this},c.AsyncIterator=O,c.async=function(t,e,n,r){var o=new O(b(t,e,n,r));return c.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},j(_),_[l]="Generator",_[a]=function(){return this},_.toString=function(){return"[object Generator]"},c.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},c.values=T,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(L),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,o){return s.type="throw",s.arg=t,e.next=r,o&&(e.method="next",e.arg=n),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),L(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;L(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:T(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),h}}}function b(t,e,n,r){var o=e&&e.prototype instanceof w?e:w,i=Object.create(o.prototype),a=new M(r||[]);return i._invoke=function(t,e,n){var r=d;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===g){if("throw"===o)throw i;return I()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=P(a,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var l=x(t,e,n);if("normal"===l.type){if(r=n.done?g:f,l.arg===h)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=g,n.method="throw",n.arg=l.arg)}}}(t,n,a),i}function x(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function w(){}function S(){}function A(){}function j(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function O(t){var e;this._invoke=function(n,r){function i(){return new Promise(function(e,i){!function e(n,r,i,a){var s=x(t[n],t,r);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&o.call(u,"__await")?Promise.resolve(u.__await).then(function(t){e("next",t,i,a)},function(t){e("throw",t,i,a)}):Promise.resolve(u).then(function(t){l.value=t,i(l)},function(t){return e("throw",t,i,a)})}a(s.arg)}(n,r,e,i)})}return e=e?e.then(i,i):i()}}function P(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,P(t,e),"throw"===e.method))return h;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=x(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,h;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,h):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function T(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(o.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=n,e.done=!0,e};return i.next=i}}return{next:I}}function I(){return{value:n,done:!0}}}(function(){return this||"object"==typeof self&&self}()||Function("return this")())},function(t,e,n){"use strict";var r,o,i,a,s,l;if(Function.prototype.bind||(Function.prototype.bind=function(t){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var e=Array.prototype.slice.call(arguments,1),n=this,r=function(){},o=function(){return n.apply(this instanceof r&&t?this:t,e.concat(Array.prototype.slice.call(arguments)))};return r.prototype=this.prototype,o.prototype=new r,o}),r=Object.prototype,o=r.__defineGetter__,i=r.__defineSetter__,a=r.__lookupGetter__,s=r.__lookupSetter__,l=r.hasOwnProperty,o&&i&&a&&s&&(Object.defineProperty||(Object.defineProperty=function(t,e,n){if(arguments.length<3)throw new TypeError("Arguments not optional");if(e+="",l.call(n,"value")&&(a.call(t,e)||s.call(t,e)||(t[e]=n.value),l.call(n,"get")||l.call(n,"set")))throw new TypeError("Cannot specify an accessor and a value");if(!(n.writable&&n.enumerable&&n.configurable))throw new TypeError("This implementation of Object.defineProperty does not support false for configurable, enumerable, or writable.");return n.get&&o.call(t,e,n.get),n.set&&i.call(t,e,n.set),t}),Object.getOwnPropertyDescriptor||(Object.getOwnPropertyDescriptor=function(t,e){if(arguments.length<2)throw new TypeError("Arguments not optional.");e+="";var n={configurable:!0,enumerable:!0,writable:!0},r=a.call(t,e),o=s.call(t,e);return l.call(t,e)?r||o?(delete n.writable,n.get=n.set=void 0,r&&(n.get=r),o&&(n.set=o),n):(n.value=t[e],n):n}),Object.defineProperties||(Object.defineProperties=function(t,e){var n;for(n in e)l.call(e,n)&&Object.defineProperty(t,n,e[n])})),!(document.documentElement.dataset||Object.getOwnPropertyDescriptor(Element.prototype,"dataset")&&Object.getOwnPropertyDescriptor(Element.prototype,"dataset").get)){var u={enumerable:!0,get:function(){var t,e,n,r,o,i,a=this.attributes,s=a.length,l=function(t){return t.charAt(1).toUpperCase()},u=function(){return this},c=function(t,e){return void 0!==e?this.setAttribute(t,e):this.removeAttribute(t)};try{({}).__defineGetter__("test",function(){}),e={}}catch(t){e=document.createElement("div")}for(t=0;t<s;t++)if((i=a[t])&&i.name&&/^data-\w[\w\-]*$/.test(i.name)){n=i.value,o=(r=i.name).substr(5).replace(/-./g,l);try{Object.defineProperty(e,o,{enumerable:this.enumerable,get:u.bind(n||""),set:c.bind(this,r)})}catch(t){e[o]=n}}return e}};try{Object.defineProperty(Element.prototype,"dataset",u)}catch(t){u.enumerable=!1,Object.defineProperty(Element.prototype,"dataset",u)}}},function(t,e,n){"use strict";var r=n(341),o=n(342),i=n(133);t.exports={formats:i,parse:o,stringify:r}},function(t,e,n){"use strict";var r=n(132),o=n(133),i={brackets:function(t){return t+"[]"},indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},a=Array.isArray,s=Array.prototype.push,l=function(t,e){s.apply(t,a(e)?e:[e])},u=Date.prototype.toISOString,c={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,indices:!1,serializeDate:function(t){return u.call(t)},skipNulls:!1,strictNullHandling:!1},d=function t(e,n,o,i,a,s,u,d,f,p,g,h,v){var m=e;if("function"==typeof u?m=u(n,m):m instanceof Date&&(m=p(m)),null===m){if(i)return s&&!h?s(n,c.encoder,v):n;m=""}if("string"==typeof m||"number"==typeof m||"boolean"==typeof m||r.isBuffer(m))return s?[g(h?n:s(n,c.encoder,v))+"="+g(s(m,c.encoder,v))]:[g(n)+"="+g(String(m))];var y,_=[];if(void 0===m)return _;if(Array.isArray(u))y=u;else{var b=Object.keys(m);y=d?b.sort(d):b}for(var x=0;x<y.length;++x){var w=y[x];a&&null===m[w]||(Array.isArray(m)?l(_,t(m[w],o(n,w),o,i,a,s,u,d,f,p,g,h,v)):l(_,t(m[w],n+(f?"."+w:"["+w+"]"),o,i,a,s,u,d,f,p,g,h,v)))}return _};t.exports=function(t,e){var n=t,a=e?r.assign({},e):{};if(null!==a.encoder&&void 0!==a.encoder&&"function"!=typeof a.encoder)throw new TypeError("Encoder has to be a function.");var s=void 0===a.delimiter?c.delimiter:a.delimiter,u="boolean"==typeof a.strictNullHandling?a.strictNullHandling:c.strictNullHandling,f="boolean"==typeof a.skipNulls?a.skipNulls:c.skipNulls,p="boolean"==typeof a.encode?a.encode:c.encode,g="function"==typeof a.encoder?a.encoder:c.encoder,h="function"==typeof a.sort?a.sort:null,v=void 0===a.allowDots?c.allowDots:!!a.allowDots,m="function"==typeof a.serializeDate?a.serializeDate:c.serializeDate,y="boolean"==typeof a.encodeValuesOnly?a.encodeValuesOnly:c.encodeValuesOnly,_=a.charset||c.charset;if(void 0!==a.charset&&"utf-8"!==a.charset&&"iso-8859-1"!==a.charset)throw new Error("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0===a.format)a.format=o.default;else if(!Object.prototype.hasOwnProperty.call(o.formatters,a.format))throw new TypeError("Unknown format option provided.");var b,x,w=o.formatters[a.format];"function"==typeof a.filter?n=(x=a.filter)("",n):Array.isArray(a.filter)&&(b=x=a.filter);var S,A=[];if("object"!=typeof n||null===n)return"";S=a.arrayFormat in i?a.arrayFormat:"indices"in a?a.indices?"indices":"repeat":"indices";var j=i[S];b||(b=Object.keys(n)),h&&b.sort(h);for(var O=0;O<b.length;++O){var P=b[O];f&&null===n[P]||l(A,d(n[P],P,j,u,f,p?g:null,x,h,v,m,w,y,_))}var E=A.join(s),L=!0===a.addQueryPrefix?"?":"";return a.charsetSentinel&&(L+="iso-8859-1"===_?"utf8=%26%2310003%3B&":"utf8=%E2%9C%93&"),E.length>0?L+E:""}},function(t,e,n){"use strict";var r=n(132),o=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},a=function(t){return t.replace(/&#(\d+);/g,function(t,e){return String.fromCharCode(parseInt(e,10))})},s=function(t,e,n){if(t){var r=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,a=/(\[[^[\]]*])/.exec(r),s=a?r.slice(0,a.index):r,l=[];if(s){if(!n.plainObjects&&o.call(Object.prototype,s)&&!n.allowPrototypes)return;l.push(s)}for(var u=0;null!==(a=i.exec(r))&&u<n.depth;){if(u+=1,!n.plainObjects&&o.call(Object.prototype,a[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(a[1])}return a&&l.push("["+r.slice(a.index)+"]"),function(t,e,n){for(var r=e,o=t.length-1;o>=0;--o){var i,a=t[o];if("[]"===a&&n.parseArrays)i=[].concat(r);else{i=n.plainObjects?Object.create(null):{};var s="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,l=parseInt(s,10);n.parseArrays||""!==s?!isNaN(l)&&a!==s&&String(l)===s&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(i=[])[l]=r:i[s]=r:i={0:r}}r=i}return r}(l,e,n)}};t.exports=function(t,e){var n=e?r.assign({},e):{};if(null!==n.decoder&&void 0!==n.decoder&&"function"!=typeof n.decoder)throw new TypeError("Decoder has to be a function.");if(n.ignoreQueryPrefix=!0===n.ignoreQueryPrefix,n.delimiter="string"==typeof n.delimiter||r.isRegExp(n.delimiter)?n.delimiter:i.delimiter,n.depth="number"==typeof n.depth?n.depth:i.depth,n.arrayLimit="number"==typeof n.arrayLimit?n.arrayLimit:i.arrayLimit,n.parseArrays=!1!==n.parseArrays,n.decoder="function"==typeof n.decoder?n.decoder:i.decoder,n.allowDots=void 0===n.allowDots?i.allowDots:!!n.allowDots,n.plainObjects="boolean"==typeof n.plainObjects?n.plainObjects:i.plainObjects,n.allowPrototypes="boolean"==typeof n.allowPrototypes?n.allowPrototypes:i.allowPrototypes,n.parameterLimit="number"==typeof n.parameterLimit?n.parameterLimit:i.parameterLimit,n.strictNullHandling="boolean"==typeof n.strictNullHandling?n.strictNullHandling:i.strictNullHandling,void 0!==n.charset&&"utf-8"!==n.charset&&"iso-8859-1"!==n.charset)throw new Error("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0===n.charset&&(n.charset=i.charset),""===t||null==t)return n.plainObjects?Object.create(null):{};for(var l="string"==typeof t?function(t,e){var n,s={},l=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,u=e.parameterLimit===1/0?void 0:e.parameterLimit,c=l.split(e.delimiter,u),d=-1,f=e.charset;if(e.charsetSentinel)for(n=0;n<c.length;++n)0===c[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===c[n]?f="utf-8":"utf8=%26%2310003%3B"===c[n]&&(f="iso-8859-1"),d=n,n=c.length);for(n=0;n<c.length;++n)if(n!==d){var p,g,h=c[n],v=h.indexOf("]="),m=-1===v?h.indexOf("="):v+1;-1===m?(p=e.decoder(h,i.decoder,f),g=e.strictNullHandling?null:""):(p=e.decoder(h.slice(0,m),i.decoder,f),g=e.decoder(h.slice(m+1),i.decoder,f)),g&&e.interpretNumericEntities&&"iso-8859-1"===f&&(g=a(g)),o.call(s,p)?s[p]=r.combine(s[p],g):s[p]=g}return s}(t,n):t,u=n.plainObjects?Object.create(null):{},c=Object.keys(l),d=0;d<c.length;++d){var f=c[d],p=s(f,l[f],n);u=r.merge(u,p,n)}return r.compact(u)}}]);
|
core/functions.php
CHANGED
@@ -70,7 +70,7 @@ function alm_get_addons(){
|
|
70 |
'status' => 'alm_cta_license_status',
|
71 |
'settings_field' => 'alm_cta_license',
|
72 |
'img' => 'img/add-ons/cta-add-on.jpg',
|
73 |
-
'url' => $url_prefix .'
|
74 |
'item_id' => ALM_CTA_ITEM_NAME,
|
75 |
'version' => 'ALM_CTA_VERSION',
|
76 |
'path' => $path_prefix .'call-to-actions',
|
@@ -301,7 +301,7 @@ add_filter('alm_progress_css', 'alm_progress_css', 10, 3);
|
|
301 |
|
302 |
/*
|
303 |
* alm_css_disabled
|
304 |
-
*
|
305 |
*
|
306 |
* @param $setting name of the setting field
|
307 |
* @return boolean
|
@@ -311,7 +311,7 @@ add_filter('alm_progress_css', 'alm_progress_css', 10, 3);
|
|
311 |
function alm_css_disabled($setting) {
|
312 |
$options = get_option( 'alm_settings' );
|
313 |
$disabled = true;
|
314 |
-
if(!isset($options[$setting]) || $options[$setting]
|
315 |
$disabled = false;
|
316 |
}
|
317 |
return $disabled;
|
70 |
'status' => 'alm_cta_license_status',
|
71 |
'settings_field' => 'alm_cta_license',
|
72 |
'img' => 'img/add-ons/cta-add-on.jpg',
|
73 |
+
'url' => $url_prefix .'call-to-actions/',
|
74 |
'item_id' => ALM_CTA_ITEM_NAME,
|
75 |
'version' => 'ALM_CTA_VERSION',
|
76 |
'path' => $path_prefix .'call-to-actions',
|
301 |
|
302 |
/*
|
303 |
* alm_css_disabled
|
304 |
+
* Is ALM CSS disabled?
|
305 |
*
|
306 |
* @param $setting name of the setting field
|
307 |
* @return boolean
|
311 |
function alm_css_disabled($setting) {
|
312 |
$options = get_option( 'alm_settings' );
|
313 |
$disabled = true;
|
314 |
+
if(!isset($options[$setting]) || $options[$setting] !== '1'){
|
315 |
$disabled = false;
|
316 |
}
|
317 |
return $disabled;
|
core/src/js/ajax-load-more.js
CHANGED
@@ -25,12 +25,13 @@ import './helpers/helpers';
|
|
25 |
import commentReplyFix from './helpers/commentReplyFix';
|
26 |
import getParameterByName from './helpers/getParameterByName';
|
27 |
import almAppendChildren from './helpers/almAppendChildren';
|
28 |
-
import
|
29 |
-
import
|
30 |
import almDomParser from './helpers/almDomParser';
|
31 |
import stripEmptyNodes from './helpers/stripEmptyNodes';
|
32 |
import * as queryParams from './helpers/queryParams';
|
33 |
import * as resultsText from './modules/resultsText';
|
|
|
34 |
import setLocalizedVars from './modules/setLocalizedVars';
|
35 |
import insertScript from './modules/insertScript';
|
36 |
import setFocus from './modules/setFocus';
|
@@ -74,6 +75,7 @@ let alm_is_filtering = false;
|
|
74 |
alm.AjaxLoadMore = {};
|
75 |
alm.addons = {};
|
76 |
alm.extensions = {};
|
|
|
77 |
alm.window = window;
|
78 |
alm.page = 0;
|
79 |
alm.posts = 0;
|
@@ -142,7 +144,7 @@ let alm_is_filtering = false;
|
|
142 |
alm.scroll_container = alm.listing.dataset.scrollContainer;
|
143 |
alm.max_pages = (alm.listing.dataset.maxPages) ? parseInt(alm.listing.dataset.maxPages) : 0;
|
144 |
alm.pause_override = alm.listing.dataset.pauseOverride; // true | false
|
145 |
-
alm.pause = alm.listing.dataset.pause; // true | false
|
146 |
alm.transition = alm.listing.dataset.transition; // Transition
|
147 |
alm.transition_container = alm.listing.dataset.transitionContainer; // Transition Container
|
148 |
alm.tcc = alm.listing.dataset.transitionContainerClasses; // Transition Container Classes
|
@@ -152,6 +154,8 @@ let alm_is_filtering = false;
|
|
152 |
alm.orginal_posts_per_page = parseInt(alm.listing.dataset.postsPerPage); // Used for paging add-on
|
153 |
alm.posts_per_page = alm.listing.dataset.postsPerPage;
|
154 |
alm.offset = (alm.listing.dataset.offset) ? parseInt(alm.listing.dataset.offset) : 0;
|
|
|
|
|
155 |
|
156 |
|
157 |
// Addon Shortcode Params
|
@@ -181,6 +185,7 @@ let alm_is_filtering = false;
|
|
181 |
alm.addons.single_post_taxonomy = alm.listing.dataset.singlePostTaxonomy;
|
182 |
alm.addons.single_post_excluded_terms = alm.listing.dataset.singlePostExcludedTerms;
|
183 |
alm.addons.single_post_progress_bar = alm.listing.dataset.singlePostProgressBar;
|
|
|
184 |
|
185 |
alm.addons.comments = alm.listing.dataset.comments; // Comments add-on
|
186 |
alm.addons.comments_post_id = alm.listing.dataset.comments_post_id; // current post id
|
@@ -230,11 +235,10 @@ let alm_is_filtering = false;
|
|
230 |
|
231 |
alm.extensions.term_query = alm.listing.dataset.termQuery; // TERM QUERY
|
232 |
alm.extensions.term_query_taxonomy = alm.listing.dataset.termQueryTaxonomy;
|
233 |
-
alm.extensions.
|
234 |
alm.extensions.term_query_number = alm.listing.dataset.termQueryNumber;
|
235 |
alm.extensions.term_query = (alm.extensions.term_query === 'true') ? true : false;
|
236 |
|
237 |
-
|
238 |
/* Paging */
|
239 |
if (alm.addons.paging === 'true') {
|
240 |
alm.addons.paging = true;
|
@@ -296,7 +300,7 @@ let alm_is_filtering = false;
|
|
296 |
if(alm.addons.tab_onload !== ''){
|
297 |
let tabNav = document.querySelector(`.alm-tab-nav li [data-tab-url=${alm.addons.tab_onload}]`);
|
298 |
alm.addons.tab_template = (tabNav) ? tabNav.dataset.tabTemplate : alm.addons.tab_template;
|
299 |
-
alm.listing.dataset.tabOnload = '';
|
300 |
// Set selected tab
|
301 |
if(tabNav){
|
302 |
let activeTab = document.querySelector(`.alm-tab-nav li .active`);
|
@@ -415,6 +419,7 @@ let alm_is_filtering = false;
|
|
415 |
alm.addons.single_post_taxonomy = (alm.addons.single_post_taxonomy === undefined) ? '' : alm.addons.single_post_taxonomy;
|
416 |
alm.addons.single_post_excluded_terms = (alm.addons.single_post_excluded_terms === undefined) ? '' : alm.addons.single_post_excluded_terms;
|
417 |
alm.addons.single_post_progress_bar = (alm.addons.single_post_progress_bar === undefined) ? '' : alm.addons.single_post_progress_bar;
|
|
|
418 |
alm.addons.single_post_title_template = alm.listing.dataset.singlePostTitleTemplate;
|
419 |
alm.addons.single_post_siteTitle = alm.listing.dataset.singlePostSiteTitle;
|
420 |
alm.addons.single_post_siteTagline = alm.listing.dataset.singlePostSiteTagline;
|
@@ -535,15 +540,35 @@ let alm_is_filtering = false;
|
|
535 |
|
536 |
// Results Text
|
537 |
// Render "Showing x of y results" text.
|
538 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
539 |
if (alm.resultsText) {
|
540 |
-
alm.resultsText.
|
541 |
-
|
|
|
|
|
542 |
} else {
|
543 |
alm.resultsText = false;
|
544 |
}
|
545 |
|
546 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
547 |
|
548 |
/**
|
549 |
* LoadPosts()
|
@@ -571,7 +596,7 @@ let alm_is_filtering = false;
|
|
571 |
|
572 |
if (alm.addons.cache === 'true' && !alm.addons.cache_logged_in) {
|
573 |
// Cache
|
574 |
-
let cache_page =
|
575 |
if(cache_page){
|
576 |
|
577 |
// Load `.html` page
|
@@ -583,8 +608,7 @@ let alm_is_filtering = false;
|
|
583 |
)
|
584 |
.catch(function (error) {
|
585 |
// Error || Page does not yet exist
|
586 |
-
alm.AjaxLoadMore.ajax('standard');
|
587 |
-
//console.warn(error.message);
|
588 |
});
|
589 |
|
590 |
} else {
|
@@ -636,7 +660,7 @@ let alm_is_filtering = false;
|
|
636 |
alm.term_query_array = {
|
637 |
'term_query': 'true',
|
638 |
'taxonomy': alm.extensions.term_query_taxonomy,
|
639 |
-
'
|
640 |
'number': alm.extensions.term_query_number,
|
641 |
};
|
642 |
}
|
@@ -752,17 +776,31 @@ let alm_is_filtering = false;
|
|
752 |
return config;
|
753 |
});
|
754 |
|
755 |
-
// Get
|
756 |
let ajaxURL = alm_localize.ajaxurl;
|
757 |
|
758 |
// Get data params
|
759 |
-
let params = queryParams.almGetAjaxParams(alm, action, queryType); // [./helpers/queryParams.js
|
760 |
-
|
761 |
-
//
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
762 |
axios.get(ajaxURL, {params})
|
763 |
.then(function(response){
|
|
|
764 |
// Success
|
765 |
-
let data =
|
|
|
|
|
|
|
|
|
|
|
|
|
766 |
|
767 |
// Standard Query
|
768 |
if (queryType === 'standard') {
|
@@ -783,10 +821,43 @@ let alm_is_filtering = false;
|
|
783 |
|
784 |
})
|
785 |
.catch(function (error) {
|
|
|
786 |
// Error
|
787 |
alm.AjaxLoadMore.error(error, 'adminajax');
|
788 |
|
789 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
790 |
};
|
791 |
|
792 |
|
@@ -1028,7 +1099,7 @@ let alm_is_filtering = false;
|
|
1028 |
}
|
1029 |
}
|
1030 |
}
|
1031 |
-
}
|
1032 |
|
1033 |
|
1034 |
/*
|
@@ -1038,9 +1109,11 @@ let alm_is_filtering = false;
|
|
1038 |
|
1039 |
|
1040 |
/*
|
1041 |
-
* Set localized variables
|
1042 |
*/
|
1043 |
-
|
|
|
|
|
1044 |
|
1045 |
|
1046 |
/*
|
@@ -1068,7 +1141,7 @@ let alm_is_filtering = false;
|
|
1068 |
if (!alm.transition_container) { // No transition container
|
1069 |
|
1070 |
alm.el = alm.html;
|
1071 |
-
reveal = (alm.container_type === 'table') ?
|
1072 |
|
1073 |
} else { // Standard container
|
1074 |
|
@@ -1370,7 +1443,11 @@ let alm_is_filtering = false;
|
|
1370 |
// Remove opacity on element to fix CSS transition
|
1371 |
setTimeout(function(){
|
1372 |
pagingContent.style.opacity = '';
|
1373 |
-
|
|
|
|
|
|
|
|
|
1374 |
|
1375 |
// Paging addon
|
1376 |
if (typeof almOnPagingComplete === 'function') {
|
@@ -1393,8 +1470,9 @@ let alm_is_filtering = false;
|
|
1393 |
|
1394 |
|
1395 |
|
1396 |
-
// ALM Loaded
|
1397 |
imagesLoaded( reveal, function() {
|
|
|
1398 |
// Nested
|
1399 |
alm.AjaxLoadMore.nested(reveal);
|
1400 |
|
@@ -1405,6 +1483,28 @@ let alm_is_filtering = false;
|
|
1405 |
if (typeof almComplete === 'function' && alm.transition !== 'masonry') {
|
1406 |
window.almComplete(alm);
|
1407 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1408 |
|
1409 |
// Filters onLoad
|
1410 |
if(typeof almFiltersOnload === 'function' && alm.init){
|
@@ -1421,13 +1521,10 @@ let alm_is_filtering = false;
|
|
1421 |
alm.AjaxLoadMore.triggerDone();
|
1422 |
}
|
1423 |
}
|
1424 |
-
// End ALM Done
|
1425 |
-
|
1426 |
});
|
1427 |
// End ALM Loaded
|
1428 |
-
|
1429 |
-
|
1430 |
-
|
1431 |
|
1432 |
}
|
1433 |
|
@@ -1445,6 +1542,33 @@ let alm_is_filtering = false;
|
|
1445 |
}, alm.speed);
|
1446 |
alm.AjaxLoadMore.resetBtnText();
|
1447 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1448 |
|
1449 |
alm.AjaxLoadMore.triggerDone(); // ALM Done
|
1450 |
|
@@ -1458,7 +1582,13 @@ let alm_is_filtering = false;
|
|
1458 |
if (currentPage == alm.destroy_after) { // Disable ALM if page = alm.destroy_after val
|
1459 |
alm.AjaxLoadMore.destroyed();
|
1460 |
}
|
1461 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
1462 |
|
1463 |
|
1464 |
// Set Focus for A11y
|
@@ -1475,8 +1605,8 @@ let alm_is_filtering = false;
|
|
1475 |
}
|
1476 |
|
1477 |
|
1478 |
-
// Set
|
1479 |
-
|
1480 |
|
1481 |
};
|
1482 |
|
@@ -1774,8 +1904,7 @@ let alm_is_filtering = false;
|
|
1774 |
} else {
|
1775 |
// Something happened in setting up the request that triggered an Error
|
1776 |
console.log('Error Msg: ', error.message);
|
1777 |
-
}
|
1778 |
-
|
1779 |
|
1780 |
if(location){
|
1781 |
console.log('ALM Error started in '+ location);
|
@@ -2094,6 +2223,11 @@ let alm_is_filtering = false;
|
|
2094 |
if (alm.addons.single_post) {
|
2095 |
alm.AjaxLoadMore.getSinglePost(); // Set next post on load
|
2096 |
alm.loading = false;
|
|
|
|
|
|
|
|
|
|
|
2097 |
}
|
2098 |
|
2099 |
|
@@ -2135,6 +2269,11 @@ let alm_is_filtering = false;
|
|
2135 |
if (alm.resultsText) {
|
2136 |
resultsText.almInitResultsText(alm, 'preloaded');
|
2137 |
}
|
|
|
|
|
|
|
|
|
|
|
2138 |
}
|
2139 |
|
2140 |
|
@@ -2161,6 +2300,11 @@ let alm_is_filtering = false;
|
|
2161 |
resultsText.almInitResultsText(alm, 'nextpage');
|
2162 |
}
|
2163 |
|
|
|
|
|
|
|
|
|
|
|
2164 |
}
|
2165 |
|
2166 |
|
25 |
import commentReplyFix from './helpers/commentReplyFix';
|
26 |
import getParameterByName from './helpers/getParameterByName';
|
27 |
import almAppendChildren from './helpers/almAppendChildren';
|
28 |
+
import tableWrap from './helpers/tableWrap';
|
29 |
+
import getCacheUrl from './helpers/getCacheUrl';
|
30 |
import almDomParser from './helpers/almDomParser';
|
31 |
import stripEmptyNodes from './helpers/stripEmptyNodes';
|
32 |
import * as queryParams from './helpers/queryParams';
|
33 |
import * as resultsText from './modules/resultsText';
|
34 |
+
import { tableOfContents } from './modules/tableofcontents';
|
35 |
import setLocalizedVars from './modules/setLocalizedVars';
|
36 |
import insertScript from './modules/insertScript';
|
37 |
import setFocus from './modules/setFocus';
|
75 |
alm.AjaxLoadMore = {};
|
76 |
alm.addons = {};
|
77 |
alm.extensions = {};
|
78 |
+
alm.integration = {};
|
79 |
alm.window = window;
|
80 |
alm.page = 0;
|
81 |
alm.posts = 0;
|
144 |
alm.scroll_container = alm.listing.dataset.scrollContainer;
|
145 |
alm.max_pages = (alm.listing.dataset.maxPages) ? parseInt(alm.listing.dataset.maxPages) : 0;
|
146 |
alm.pause_override = alm.listing.dataset.pauseOverride; // true | false
|
147 |
+
alm.pause = (alm.listing.dataset.pause) ? alm.listing.dataset.pause : false; // true | false
|
148 |
alm.transition = alm.listing.dataset.transition; // Transition
|
149 |
alm.transition_container = alm.listing.dataset.transitionContainer; // Transition Container
|
150 |
alm.tcc = alm.listing.dataset.transitionContainerClasses; // Transition Container Classes
|
154 |
alm.orginal_posts_per_page = parseInt(alm.listing.dataset.postsPerPage); // Used for paging add-on
|
155 |
alm.posts_per_page = alm.listing.dataset.postsPerPage;
|
156 |
alm.offset = (alm.listing.dataset.offset) ? parseInt(alm.listing.dataset.offset) : 0;
|
157 |
+
alm.integration.woocommerce = (alm.listing.dataset.woocommerce) ? alm.listing.dataset.woocommerce : false;
|
158 |
+
alm.integration.woocommerce = (alm.integration.woocommerce === 'true') ? true : false;
|
159 |
|
160 |
|
161 |
// Addon Shortcode Params
|
185 |
alm.addons.single_post_taxonomy = alm.listing.dataset.singlePostTaxonomy;
|
186 |
alm.addons.single_post_excluded_terms = alm.listing.dataset.singlePostExcludedTerms;
|
187 |
alm.addons.single_post_progress_bar = alm.listing.dataset.singlePostProgressBar;
|
188 |
+
alm.addons.single_post_target = alm.listing.dataset.singlePostTarget;
|
189 |
|
190 |
alm.addons.comments = alm.listing.dataset.comments; // Comments add-on
|
191 |
alm.addons.comments_post_id = alm.listing.dataset.comments_post_id; // current post id
|
235 |
|
236 |
alm.extensions.term_query = alm.listing.dataset.termQuery; // TERM QUERY
|
237 |
alm.extensions.term_query_taxonomy = alm.listing.dataset.termQueryTaxonomy;
|
238 |
+
alm.extensions.term_query_hide_empty = alm.listing.dataset.termQueryHideEmpty;
|
239 |
alm.extensions.term_query_number = alm.listing.dataset.termQueryNumber;
|
240 |
alm.extensions.term_query = (alm.extensions.term_query === 'true') ? true : false;
|
241 |
|
|
|
242 |
/* Paging */
|
243 |
if (alm.addons.paging === 'true') {
|
244 |
alm.addons.paging = true;
|
300 |
if(alm.addons.tab_onload !== ''){
|
301 |
let tabNav = document.querySelector(`.alm-tab-nav li [data-tab-url=${alm.addons.tab_onload}]`);
|
302 |
alm.addons.tab_template = (tabNav) ? tabNav.dataset.tabTemplate : alm.addons.tab_template;
|
303 |
+
alm.listing.dataset.tabOnload = ''; // Clear tabOnload param
|
304 |
// Set selected tab
|
305 |
if(tabNav){
|
306 |
let activeTab = document.querySelector(`.alm-tab-nav li .active`);
|
419 |
alm.addons.single_post_taxonomy = (alm.addons.single_post_taxonomy === undefined) ? '' : alm.addons.single_post_taxonomy;
|
420 |
alm.addons.single_post_excluded_terms = (alm.addons.single_post_excluded_terms === undefined) ? '' : alm.addons.single_post_excluded_terms;
|
421 |
alm.addons.single_post_progress_bar = (alm.addons.single_post_progress_bar === undefined) ? '' : alm.addons.single_post_progress_bar;
|
422 |
+
alm.addons.single_post_target = (alm.addons.single_post_target === undefined) ? '' : alm.addons.single_post_target;
|
423 |
alm.addons.single_post_title_template = alm.listing.dataset.singlePostTitleTemplate;
|
424 |
alm.addons.single_post_siteTitle = alm.listing.dataset.singlePostSiteTitle;
|
425 |
alm.addons.single_post_siteTagline = alm.listing.dataset.singlePostSiteTagline;
|
540 |
|
541 |
// Results Text
|
542 |
// Render "Showing x of y results" text.
|
543 |
+
// If woocommerce, get the default woocommerce results block
|
544 |
+
if(alm.integration.woocommerce){
|
545 |
+
alm.resultsText = document.querySelectorAll('.woocommerce-result-count');
|
546 |
+
if(alm.resultsText.length < 1){
|
547 |
+
alm.resultsText = document.querySelectorAll('.alm-results-text');
|
548 |
+
}
|
549 |
+
} else {
|
550 |
+
alm.resultsText = document.querySelectorAll('.alm-results-text');
|
551 |
+
}
|
552 |
if (alm.resultsText) {
|
553 |
+
alm.resultsText.forEach(function(results) {
|
554 |
+
results.setAttribute('aria-live', 'polite');
|
555 |
+
results.setAttribute('aria-atomic', 'true');
|
556 |
+
});
|
557 |
} else {
|
558 |
alm.resultsText = false;
|
559 |
}
|
560 |
|
561 |
|
562 |
+
// Table of Contents
|
563 |
+
// Render 1, 2, 3 etc. when pages are loaded
|
564 |
+
alm.tableofcontents = document.querySelector('.alm-toc');
|
565 |
+
if (alm.tableofcontents) {
|
566 |
+
alm.tableofcontents.setAttribute('aria-live', 'polite');
|
567 |
+
alm.tableofcontents.setAttribute('aria-atomic', 'true');
|
568 |
+
} else {
|
569 |
+
alm.tableofcontents = false;
|
570 |
+
}
|
571 |
+
|
572 |
|
573 |
/**
|
574 |
* LoadPosts()
|
596 |
|
597 |
if (alm.addons.cache === 'true' && !alm.addons.cache_logged_in) {
|
598 |
// Cache
|
599 |
+
let cache_page = getCacheUrl(alm);
|
600 |
if(cache_page){
|
601 |
|
602 |
// Load `.html` page
|
608 |
)
|
609 |
.catch(function (error) {
|
610 |
// Error || Page does not yet exist
|
611 |
+
alm.AjaxLoadMore.ajax('standard');
|
|
|
612 |
});
|
613 |
|
614 |
} else {
|
660 |
alm.term_query_array = {
|
661 |
'term_query': 'true',
|
662 |
'taxonomy': alm.extensions.term_query_taxonomy,
|
663 |
+
'hide_empty': alm.extensions.term_query_hide_empty,
|
664 |
'number': alm.extensions.term_query_number,
|
665 |
};
|
666 |
}
|
776 |
return config;
|
777 |
});
|
778 |
|
779 |
+
// Get Ajax URL
|
780 |
let ajaxURL = alm_localize.ajaxurl;
|
781 |
|
782 |
// Get data params
|
783 |
+
let params = queryParams.almGetAjaxParams(alm, action, queryType); // [./helpers/queryParams.js
|
784 |
+
|
785 |
+
// If Single Post Target
|
786 |
+
// If has `single_post_target`, adjust the Ajax URL to the post URL.
|
787 |
+
if(alm.addons.single_post && alm.addons.single_post_target){
|
788 |
+
ajaxURL = alm.addons.single_post_permalink;
|
789 |
+
params = '';
|
790 |
+
}
|
791 |
+
|
792 |
+
// Send HTTP request via axios
|
793 |
axios.get(ajaxURL, {params})
|
794 |
.then(function(response){
|
795 |
+
|
796 |
// Success
|
797 |
+
let data = '';
|
798 |
+
if(alm.addons.single_post && alm.addons.single_post_target){
|
799 |
+
data = alm.AjaxLoadMore.createSinglePostHTML(response, alm.addons.single_post_target);
|
800 |
+
} else {
|
801 |
+
// Get data from response
|
802 |
+
data = response.data;
|
803 |
+
}
|
804 |
|
805 |
// Standard Query
|
806 |
if (queryType === 'standard') {
|
821 |
|
822 |
})
|
823 |
.catch(function (error) {
|
824 |
+
|
825 |
// Error
|
826 |
alm.AjaxLoadMore.error(error, 'adminajax');
|
827 |
|
828 |
});
|
829 |
+
|
830 |
+
};
|
831 |
+
|
832 |
+
|
833 |
+
|
834 |
+
|
835 |
+
/**
|
836 |
+
* createSinglePostHTML
|
837 |
+
* Create the HTML for loading Single Posts
|
838 |
+
*
|
839 |
+
* @param {Object} response Query response
|
840 |
+
* @param {HTMLElement} target The target div
|
841 |
+
* @since 5.1.8.1
|
842 |
+
*/
|
843 |
+
alm.AjaxLoadMore.createSinglePostHTML = function(response, target = null){
|
844 |
+
let data = {
|
845 |
+
html: '',
|
846 |
+
meta: {
|
847 |
+
postcount: 1,
|
848 |
+
totalposts: 1,
|
849 |
+
debug: 'Single Posts Query',
|
850 |
+
}
|
851 |
+
}
|
852 |
+
if(response.status === 200 && response.data && target){
|
853 |
+
let div = document.createElement("div");
|
854 |
+
div.innerHTML = response.data;
|
855 |
+
let htmlTarget = div.querySelector(target);
|
856 |
+
if(htmlTarget){
|
857 |
+
data.html = htmlTarget.innerHTML;
|
858 |
+
}
|
859 |
+
}
|
860 |
+
return data;
|
861 |
};
|
862 |
|
863 |
|
1099 |
}
|
1100 |
}
|
1101 |
}
|
1102 |
+
}
|
1103 |
|
1104 |
|
1105 |
/*
|
1109 |
|
1110 |
|
1111 |
/*
|
1112 |
+
* Set localized variables and Results Text
|
1113 |
*/
|
1114 |
+
(async () => {
|
1115 |
+
await setLocalizedVars(alm);
|
1116 |
+
})();
|
1117 |
|
1118 |
|
1119 |
/*
|
1141 |
if (!alm.transition_container) { // No transition container
|
1142 |
|
1143 |
alm.el = alm.html;
|
1144 |
+
reveal = (alm.container_type === 'table') ? tableWrap(alm.html) : almDomParser(alm.html, 'text/html');
|
1145 |
|
1146 |
} else { // Standard container
|
1147 |
|
1443 |
// Remove opacity on element to fix CSS transition
|
1444 |
setTimeout(function(){
|
1445 |
pagingContent.style.opacity = '';
|
1446 |
+
|
1447 |
+
// Insert Script
|
1448 |
+
insertScript.init(pagingContent);
|
1449 |
+
|
1450 |
+
}, parseInt(alm.speed) + 10);
|
1451 |
|
1452 |
// Paging addon
|
1453 |
if (typeof almOnPagingComplete === 'function') {
|
1470 |
|
1471 |
|
1472 |
|
1473 |
+
// ALM Loaded, run complete callbacks
|
1474 |
imagesLoaded( reveal, function() {
|
1475 |
+
|
1476 |
// Nested
|
1477 |
alm.AjaxLoadMore.nested(reveal);
|
1478 |
|
1483 |
if (typeof almComplete === 'function' && alm.transition !== 'masonry') {
|
1484 |
window.almComplete(alm);
|
1485 |
}
|
1486 |
+
|
1487 |
+
// Filters Complete
|
1488 |
+
if(alm_is_filtering && alm.addons.filters){
|
1489 |
+
// Filters Complete
|
1490 |
+
if (typeof almFilterComplete === 'function') { // Standard Filtering
|
1491 |
+
window.almFilterComplete();
|
1492 |
+
}
|
1493 |
+
|
1494 |
+
// Filter Add-on Complete
|
1495 |
+
if (typeof almFiltersAddonComplete === "function") { // Filters Add-on
|
1496 |
+
window.almFiltersAddonComplete(el);
|
1497 |
+
}
|
1498 |
+
alm_is_filtering = false;
|
1499 |
+
}
|
1500 |
+
|
1501 |
+
// Tabs Complete
|
1502 |
+
if(alm.addons.tabs){
|
1503 |
+
// Tabs Complete
|
1504 |
+
if (typeof almTabsComplete === 'function') { // Standard Filtering
|
1505 |
+
window.almTabsComplete();
|
1506 |
+
}
|
1507 |
+
}
|
1508 |
|
1509 |
// Filters onLoad
|
1510 |
if(typeof almFiltersOnload === 'function' && alm.init){
|
1521 |
alm.AjaxLoadMore.triggerDone();
|
1522 |
}
|
1523 |
}
|
1524 |
+
// End ALM Done
|
1525 |
+
|
1526 |
});
|
1527 |
// End ALM Loaded
|
|
|
|
|
|
|
1528 |
|
1529 |
}
|
1530 |
|
1542 |
}, alm.speed);
|
1543 |
alm.AjaxLoadMore.resetBtnText();
|
1544 |
}
|
1545 |
+
|
1546 |
+
// almComplete
|
1547 |
+
if (typeof almComplete === 'function' && alm.transition !== 'masonry') {
|
1548 |
+
window.almComplete(alm);
|
1549 |
+
}
|
1550 |
+
|
1551 |
+
// Filters Complete
|
1552 |
+
if(alm_is_filtering && alm.addons.filters){
|
1553 |
+
// Filters Complete
|
1554 |
+
if (typeof almFilterComplete === 'function') { // Standard Filtering
|
1555 |
+
almFilterComplete();
|
1556 |
+
}
|
1557 |
+
|
1558 |
+
// Filter Add-on Complete
|
1559 |
+
if (typeof almFiltersAddonComplete === "function") { // Filters Add-on
|
1560 |
+
almFiltersAddonComplete(el);
|
1561 |
+
}
|
1562 |
+
alm_is_filtering = false;
|
1563 |
+
}
|
1564 |
+
|
1565 |
+
// Tabs Complete
|
1566 |
+
if(alm.addons.tabs){
|
1567 |
+
// Tabs Complete
|
1568 |
+
if (typeof almTabsComplete === 'function') { // Standard Filtering
|
1569 |
+
almTabsComplete();
|
1570 |
+
}
|
1571 |
+
}
|
1572 |
|
1573 |
alm.AjaxLoadMore.triggerDone(); // ALM Done
|
1574 |
|
1582 |
if (currentPage == alm.destroy_after) { // Disable ALM if page = alm.destroy_after val
|
1583 |
alm.AjaxLoadMore.destroyed();
|
1584 |
}
|
1585 |
+
}
|
1586 |
+
|
1587 |
+
|
1588 |
+
/*
|
1589 |
+
* Display tableOfContents
|
1590 |
+
*/
|
1591 |
+
tableOfContents(alm, alm.init);
|
1592 |
|
1593 |
|
1594 |
// Set Focus for A11y
|
1605 |
}
|
1606 |
|
1607 |
|
1608 |
+
// Set init flag
|
1609 |
+
alm.init = false;
|
1610 |
|
1611 |
};
|
1612 |
|
1904 |
} else {
|
1905 |
// Something happened in setting up the request that triggered an Error
|
1906 |
console.log('Error Msg: ', error.message);
|
1907 |
+
}
|
|
|
1908 |
|
1909 |
if(location){
|
1910 |
console.log('ALM Error started in '+ location);
|
2223 |
if (alm.addons.single_post) {
|
2224 |
alm.AjaxLoadMore.getSinglePost(); // Set next post on load
|
2225 |
alm.loading = false;
|
2226 |
+
|
2227 |
+
/*
|
2228 |
+
* Display tableOfContents
|
2229 |
+
*/
|
2230 |
+
tableOfContents(alm, true, true);
|
2231 |
}
|
2232 |
|
2233 |
|
2269 |
if (alm.resultsText) {
|
2270 |
resultsText.almInitResultsText(alm, 'preloaded');
|
2271 |
}
|
2272 |
+
|
2273 |
+
/*
|
2274 |
+
* Display tableOfContents
|
2275 |
+
*/
|
2276 |
+
tableOfContents(alm, alm.init, true);
|
2277 |
}
|
2278 |
|
2279 |
|
2300 |
resultsText.almInitResultsText(alm, 'nextpage');
|
2301 |
}
|
2302 |
|
2303 |
+
/*
|
2304 |
+
* Display tableOfContents
|
2305 |
+
*/
|
2306 |
+
tableOfContents(alm, alm.init, true);
|
2307 |
+
|
2308 |
}
|
2309 |
|
2310 |
|
core/src/js/helpers/{almGetCacheUrl.js → getCacheUrl.js}
RENAMED
@@ -5,7 +5,7 @@
|
|
5 |
* @param {*} array | An array of elements
|
6 |
* @since 5.0
|
7 |
*/
|
8 |
-
let
|
9 |
|
10 |
if(!alm){
|
11 |
return false;
|
@@ -57,4 +57,4 @@ let almGetCacheUrl = function( alm ) {
|
|
57 |
return cache_url;
|
58 |
};
|
59 |
|
60 |
-
export default
|
5 |
* @param {*} array | An array of elements
|
6 |
* @since 5.0
|
7 |
*/
|
8 |
+
let getCacheUrl = function( alm ) {
|
9 |
|
10 |
if(!alm){
|
11 |
return false;
|
57 |
return cache_url;
|
58 |
};
|
59 |
|
60 |
+
export default getCacheUrl;
|
core/src/js/helpers/{almTableWrap.js → tableWrap.js}
RENAMED
@@ -5,7 +5,7 @@
|
|
5 |
* @param {*} html | Plain text
|
6 |
* @since 5.0
|
7 |
*/
|
8 |
-
let
|
9 |
if(!html){
|
10 |
return false;
|
11 |
}
|
@@ -14,4 +14,4 @@ let almTableWrap = function( html = null ) {
|
|
14 |
let table_reveal_array = [table_reveal];
|
15 |
return table_reveal_array; // Return new array
|
16 |
};
|
17 |
-
export default
|
5 |
* @param {*} html | Plain text
|
6 |
* @since 5.0
|
7 |
*/
|
8 |
+
let tableWrap = function( html = null ) {
|
9 |
if(!html){
|
10 |
return false;
|
11 |
}
|
14 |
let table_reveal_array = [table_reveal];
|
15 |
return table_reveal_array; // Return new array
|
16 |
};
|
17 |
+
export default tableWrap;
|
core/src/js/modules/almDebug.js
CHANGED
@@ -8,7 +8,11 @@
|
|
8 |
|
9 |
let almDebug = function(alm){
|
10 |
if(alm && alm.debug){
|
11 |
-
|
|
|
|
|
|
|
|
|
12 |
}
|
13 |
}
|
14 |
|
8 |
|
9 |
let almDebug = function(alm){
|
10 |
if(alm && alm.debug){
|
11 |
+
let obj = {
|
12 |
+
'query' : alm.debug,
|
13 |
+
'localize' : alm.localize
|
14 |
+
}
|
15 |
+
console.log('ALM Debug:', obj);
|
16 |
}
|
17 |
}
|
18 |
|
core/src/js/modules/filtering.js
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import almFadeIn from './fadeIn';
|
2 |
import almFadeOut from './fadeOut';
|
|
|
3 |
|
4 |
/**
|
5 |
* almFilter(type, speed, data)
|
@@ -12,7 +13,7 @@ import almFadeOut from './fadeOut';
|
|
12 |
* @since 2.6.1
|
13 |
*/
|
14 |
|
15 |
-
let almFilter = function(transition, speed, data, type = "filter") {
|
16 |
if(data.target){ // if a target has been specified
|
17 |
let target = document.querySelectorAll('.ajax-load-more-wrap[data-id="'+ data.target + '"]');
|
18 |
target.forEach(function(element){
|
@@ -24,6 +25,10 @@ let almFilter = function(transition, speed, data, type = "filter") {
|
|
24 |
almFilterTransition(transition, speed, data, element, type);
|
25 |
});
|
26 |
}
|
|
|
|
|
|
|
|
|
27 |
};
|
28 |
export default almFilter;
|
29 |
|
@@ -111,6 +116,8 @@ let almCompleteFilterTransition = (speed, data, el, type) => {
|
|
111 |
paging.style.opacity = 0;
|
112 |
}
|
113 |
|
|
|
|
|
114 |
// Dispatch Filters
|
115 |
almSetFilters(speed, data, el, type);
|
116 |
|
@@ -177,6 +184,7 @@ let almSetFilters = function(speed = 250, data, el, type){
|
|
177 |
|
178 |
switch (type){
|
179 |
|
|
|
180 |
case 'filter' :
|
181 |
// Filters Complete
|
182 |
if (typeof almFilterComplete === 'function') { // Standard Filtering
|
@@ -187,6 +195,7 @@ let almSetFilters = function(speed = 250, data, el, type){
|
|
187 |
almFiltersAddonComplete(el);
|
188 |
}
|
189 |
break;
|
|
|
190 |
|
191 |
case 'tab' :
|
192 |
// Tabs Complete
|
1 |
import almFadeIn from './fadeIn';
|
2 |
import almFadeOut from './fadeOut';
|
3 |
+
import { clearTOC } from './tableofcontents';
|
4 |
|
5 |
/**
|
6 |
* almFilter(type, speed, data)
|
13 |
* @since 2.6.1
|
14 |
*/
|
15 |
|
16 |
+
let almFilter = function(transition, speed, data, type = "filter") {
|
17 |
if(data.target){ // if a target has been specified
|
18 |
let target = document.querySelectorAll('.ajax-load-more-wrap[data-id="'+ data.target + '"]');
|
19 |
target.forEach(function(element){
|
25 |
almFilterTransition(transition, speed, data, element, type);
|
26 |
});
|
27 |
}
|
28 |
+
|
29 |
+
// Clear table of contents if required
|
30 |
+
clearTOC();
|
31 |
+
|
32 |
};
|
33 |
export default almFilter;
|
34 |
|
116 |
paging.style.opacity = 0;
|
117 |
}
|
118 |
|
119 |
+
// Reset Preloaded Amount
|
120 |
+
data.preloadedAmount = 0;
|
121 |
// Dispatch Filters
|
122 |
almSetFilters(speed, data, el, type);
|
123 |
|
184 |
|
185 |
switch (type){
|
186 |
|
187 |
+
/*
|
188 |
case 'filter' :
|
189 |
// Filters Complete
|
190 |
if (typeof almFilterComplete === 'function') { // Standard Filtering
|
195 |
almFiltersAddonComplete(el);
|
196 |
}
|
197 |
break;
|
198 |
+
*/
|
199 |
|
200 |
case 'tab' :
|
201 |
// Tabs Complete
|
core/src/js/modules/resultsText.js
CHANGED
@@ -5,8 +5,8 @@
|
|
5 |
* @param {string} type Type of results
|
6 |
* @since 5.1
|
7 |
*/
|
8 |
-
export function almResultsText(alm, type = 'standard'){
|
9 |
-
if(!alm.resultsText) return false;
|
10 |
let resultsType = (type === 'nextpage') ? 'nextpage' : 'standard';
|
11 |
|
12 |
almGetResultsText(alm, resultsType);
|
@@ -21,13 +21,14 @@ export function almResultsText(alm, type = 'standard'){
|
|
21 |
* @param {String} type
|
22 |
* @since 4.1
|
23 |
*/
|
24 |
-
export function almGetResultsText( alm, type = 'standard' ){
|
25 |
-
|
26 |
|
27 |
-
if(!alm.resultsText) return false;
|
28 |
|
29 |
-
let
|
30 |
-
let
|
|
|
|
|
31 |
let preloaded = (alm.addons.preloaded === 'true') ? true : false;
|
32 |
let paging = (alm.addons.paging) ? true : false;
|
33 |
let posts_per_page = alm.orginal_posts_per_page;
|
@@ -37,23 +38,27 @@ export function almGetResultsText( alm, type = 'standard' ){
|
|
37 |
// Nextpage
|
38 |
case 'nextpage' :
|
39 |
|
40 |
-
|
41 |
-
|
42 |
-
|
|
|
|
|
43 |
|
44 |
break;
|
45 |
|
46 |
default :
|
47 |
|
48 |
-
|
49 |
-
|
|
|
|
|
50 |
|
51 |
// Add 1 page if Preloaded
|
52 |
if(preloaded){
|
53 |
-
|
54 |
}
|
55 |
|
56 |
-
almRenderResultsText(alm.resultsText,
|
57 |
|
58 |
}
|
59 |
}
|
@@ -67,33 +72,33 @@ export function almGetResultsText( alm, type = 'standard' ){
|
|
67 |
* @param {String} type
|
68 |
* @since 4.1
|
69 |
*/
|
70 |
-
export function almInitResultsText( alm, type = 'standard'){
|
71 |
|
72 |
-
if(!alm.resultsText) return false;
|
73 |
|
74 |
-
let
|
75 |
-
let
|
|
|
|
|
76 |
|
77 |
switch (type) {
|
78 |
|
79 |
// Nextpage
|
80 |
-
case 'nextpage' :
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
break;
|
85 |
|
86 |
// Preloaded
|
87 |
-
case 'preloaded' :
|
88 |
-
|
89 |
-
|
90 |
-
almRenderResultsText(alm.resultsText, current, total);
|
91 |
-
|
92 |
break;
|
93 |
|
94 |
default :
|
95 |
|
96 |
-
console.log('
|
97 |
|
98 |
}
|
99 |
|
@@ -104,20 +109,29 @@ export function almInitResultsText( alm, type = 'standard'){
|
|
104 |
* Render `Showing {x} of {y} results` text.
|
105 |
*
|
106 |
* @param {Element} el
|
107 |
-
* @param {String}
|
108 |
-
* @param {String}
|
|
|
|
|
109 |
* @since 4.1
|
110 |
*/
|
111 |
-
let almRenderResultsText = function(el,
|
112 |
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
}
|
5 |
* @param {string} type Type of results
|
6 |
* @since 5.1
|
7 |
*/
|
8 |
+
export function almResultsText( alm, type = 'standard' ){
|
9 |
+
if(!alm.resultsText || alm.nested === 'true') return false;
|
10 |
let resultsType = (type === 'nextpage') ? 'nextpage' : 'standard';
|
11 |
|
12 |
almGetResultsText(alm, resultsType);
|
21 |
* @param {String} type
|
22 |
* @since 4.1
|
23 |
*/
|
24 |
+
export function almGetResultsText( alm, type = 'standard' ){
|
|
|
25 |
|
26 |
+
if(!alm.resultsText || alm.nested === 'true') return false;
|
27 |
|
28 |
+
let page = 0;
|
29 |
+
let pages = 0;
|
30 |
+
let post_count = 0;
|
31 |
+
let total_posts = 0;
|
32 |
let preloaded = (alm.addons.preloaded === 'true') ? true : false;
|
33 |
let paging = (alm.addons.paging) ? true : false;
|
34 |
let posts_per_page = alm.orginal_posts_per_page;
|
38 |
// Nextpage
|
39 |
case 'nextpage' :
|
40 |
|
41 |
+
page = parseInt(alm.localize.page);
|
42 |
+
post_count = page;
|
43 |
+
pages = parseInt(alm.localize.total_posts);
|
44 |
+
total_posts = pages;
|
45 |
+
almRenderResultsText(alm.resultsText, page, pages, post_count, total_posts);
|
46 |
|
47 |
break;
|
48 |
|
49 |
default :
|
50 |
|
51 |
+
page = parseInt(alm.page) + 1;
|
52 |
+
pages = Math.ceil(alm.localize.total_posts / posts_per_page);
|
53 |
+
post_count = alm.localize.post_count;
|
54 |
+
total_posts = alm.localize.total_posts;
|
55 |
|
56 |
// Add 1 page if Preloaded
|
57 |
if(preloaded){
|
58 |
+
page = (paging) ? alm.page + 1 : page + 1;
|
59 |
}
|
60 |
|
61 |
+
almRenderResultsText(alm.resultsText, page, pages, post_count, total_posts);
|
62 |
|
63 |
}
|
64 |
}
|
72 |
* @param {String} type
|
73 |
* @since 4.1
|
74 |
*/
|
75 |
+
export function almInitResultsText( alm, type = 'standard' ){
|
76 |
|
77 |
+
if(!alm.resultsText || !alm.localize || alm.nested === 'true') return false;
|
78 |
|
79 |
+
let page = 0;
|
80 |
+
let pages = Math.ceil(alm.localize.total_posts / alm.orginal_posts_per_page);
|
81 |
+
let post_count = alm.localize.post_count;
|
82 |
+
let total_posts = alm.localize.total_posts;
|
83 |
|
84 |
switch (type) {
|
85 |
|
86 |
// Nextpage
|
87 |
+
case 'nextpage' :
|
88 |
+
page = alm.addons.nextpage_startpage;
|
89 |
+
post_count = page;
|
90 |
+
almRenderResultsText(alm.resultsText, page, total_posts, post_count, total_posts);
|
91 |
break;
|
92 |
|
93 |
// Preloaded
|
94 |
+
case 'preloaded' :
|
95 |
+
page = (alm.addons.paging && alm.addons.seo) ? parseInt(alm.start_page) + 1 : parseInt(alm.page) + 1;
|
96 |
+
almRenderResultsText(alm.resultsText, page, pages, post_count, total_posts);
|
|
|
|
|
97 |
break;
|
98 |
|
99 |
default :
|
100 |
|
101 |
+
console.log('No results to set.');
|
102 |
|
103 |
}
|
104 |
|
109 |
* Render `Showing {x} of {y} results` text.
|
110 |
*
|
111 |
* @param {Element} el
|
112 |
+
* @param {String} page
|
113 |
+
* @param {String} pages
|
114 |
+
* @param {String} post_count
|
115 |
+
* @param {String} total_posts
|
116 |
* @since 4.1
|
117 |
*/
|
118 |
+
let almRenderResultsText = function( el, page, pages, post_count, total_posts ){
|
119 |
|
120 |
+
el.forEach(function(result){
|
121 |
+
|
122 |
+
pages = parseInt(pages);
|
123 |
+
let text = (pages > 0) ? alm_localize.results_text : alm_localize.no_results_text;
|
124 |
+
|
125 |
+
if(pages > 0){
|
126 |
+
text = text.replace('{num}', `<span class="alm-results-num">${page}</span>`); // Deprecated
|
127 |
+
text = text.replace('{page}', `<span class="alm-results-page">${page}</span>`);
|
128 |
+
text = text.replace('{total}', `<span class="alm-results-total">${pages}</span>`); // Deprecated
|
129 |
+
text = text.replace('{pages}', `<span class="alm-results-pages">${pages}</span>`);
|
130 |
+
text = text.replace('{post_count}', `<span class="alm-results-post_count">${post_count}</span>`)
|
131 |
+
text = text.replace('{total_posts}', `<span class="alm-results-total_posts">${total_posts}</span>`);
|
132 |
+
result.innerHTML = text;
|
133 |
+
} else {
|
134 |
+
result.innerHTML = text;
|
135 |
+
}
|
136 |
+
});
|
137 |
}
|
core/src/js/modules/setLocalizedVars.js
CHANGED
@@ -8,30 +8,55 @@ import * as resultsText from './resultsText';
|
|
8 |
*/
|
9 |
|
10 |
let setLocalizedVars = function(alm){
|
|
|
|
|
11 |
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
|
35 |
}
|
36 |
|
37 |
-
export default setLocalizedVars;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
*/
|
9 |
|
10 |
let setLocalizedVars = function(alm){
|
11 |
+
|
12 |
+
return new Promise(resolve => {
|
13 |
|
14 |
+
let type = 'standard';
|
15 |
+
|
16 |
+
// Current Page `page`
|
17 |
+
if(alm.addons.nextpage){
|
18 |
+
type = 'nextpage';
|
19 |
+
if(alm.addons.paging){
|
20 |
+
alm.AjaxLoadMore.setLocalizedVar('page', parseInt(alm.page) + 1);
|
21 |
+
} else {
|
22 |
+
alm.AjaxLoadMore.setLocalizedVar('page', parseInt(alm.page) + parseInt(alm.addons.nextpage_startpage) + 1);
|
23 |
+
}
|
24 |
+
} else {
|
25 |
+
alm.AjaxLoadMore.setLocalizedVar('page', parseInt(alm.page) + 1);
|
26 |
+
}
|
27 |
+
|
28 |
+
// Total Posts `total_posts`.
|
29 |
+
// Only update if !Preloaded && !Nextpage
|
30 |
+
if(alm.addons.preloaded !== 'true' && !alm.addons.nextpage){
|
31 |
+
alm.AjaxLoadMore.setLocalizedVar('total_posts', alm.totalposts);
|
32 |
+
}
|
33 |
+
|
34 |
+
// Viewing
|
35 |
+
alm.AjaxLoadMore.setLocalizedVar('post_count', almSetPostCount(alm));
|
36 |
+
|
37 |
+
// Set Results Text (if required)
|
38 |
+
resultsText.almResultsText(alm, type);
|
39 |
+
|
40 |
+
resolve(true);
|
41 |
+
});
|
42 |
|
43 |
}
|
44 |
|
45 |
+
export default setLocalizedVars;
|
46 |
+
|
47 |
+
|
48 |
+
/**
|
49 |
+
* almSetViewing
|
50 |
+
* Get total post_count
|
51 |
+
*/
|
52 |
+
function almSetPostCount(alm){
|
53 |
+
let pc = parseInt(alm.posts);
|
54 |
+
let pa = parseInt(alm.addons.preloaded_amount);
|
55 |
+
let count = pc + pa;
|
56 |
+
count = (alm.start_page > 1) ? count - pa : count; // SEO
|
57 |
+
count = (alm.addons.filters_startpage > 1) ? count - pa : count; // Filters
|
58 |
+
count = (alm.addons.single_post) ? count + 1 : count; // Single Posts
|
59 |
+
count = (alm.addons.nextpage) ? count + 1 : count; // Next Page
|
60 |
+
|
61 |
+
return count;
|
62 |
+
}
|
core/src/js/modules/tableofcontents.js
ADDED
@@ -0,0 +1,148 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import {almScroll, getOffset} from '../ajax-load-more';
|
2 |
+
import setFocus from './setFocus';
|
3 |
+
|
4 |
+
|
5 |
+
/**
|
6 |
+
* Create a numbered table of contents navigation
|
7 |
+
*
|
8 |
+
* @param {object} alm
|
9 |
+
* @param {boolean} init
|
10 |
+
* @since 5.2
|
11 |
+
*/
|
12 |
+
export function tableOfContents(alm, init = false, from_preloaded = false){
|
13 |
+
|
14 |
+
let totalPosts = (alm.localize.post_count) ? parseInt(alm.localize.post_count) : 0;
|
15 |
+
if(totalPosts == 0 && !alm.addons.single_post){ // Exit if zero posts and not single posts
|
16 |
+
return false;
|
17 |
+
}
|
18 |
+
|
19 |
+
if(alm && alm.tableofcontents && alm.transition_container && alm.transition !== 'masonry'){
|
20 |
+
|
21 |
+
let offset = (alm.tableofcontents.dataset.offset) ? parseInt(alm.tableofcontents.dataset.offset) : 30;
|
22 |
+
let startPage = (alm.start_page) ? parseInt(alm.start_page) : 0;
|
23 |
+
let filterStartPage = (alm.addons.filters_startpage) ? parseInt(alm.addons.filters_startpage) : 0;
|
24 |
+
let nextpageStartPage = (alm.addons.nextpage_startpage) ? parseInt(alm.addons.nextpage_startpage) : 0;
|
25 |
+
let page = parseInt(alm.page);
|
26 |
+
let preloaded = (alm.addons.preloaded === 'true') ? true : false;
|
27 |
+
|
28 |
+
// Exit if Paging or Next Page
|
29 |
+
if(alm.addons.paging || alm.addons.nextpage){
|
30 |
+
return false;
|
31 |
+
}
|
32 |
+
|
33 |
+
// Init
|
34 |
+
|
35 |
+
if(init){
|
36 |
+
setTimeout(function(){
|
37 |
+
// Paged results
|
38 |
+
if((alm.addons.seo && startPage > 1 ) || (alm.addons.filters && filterStartPage > 1) || (alm.addons.nextpage && nextpageStartPage > 1)){
|
39 |
+
// SEO
|
40 |
+
if(alm.addons.seo && startPage > 1){
|
41 |
+
for(let i = 0; i < startPage; i++){
|
42 |
+
createTOCButton(alm, i, offset);
|
43 |
+
}
|
44 |
+
}
|
45 |
+
// Filters
|
46 |
+
if(alm.addons.filters && filterStartPage > 1){
|
47 |
+
for(let i = 0; i < filterStartPage; i++){
|
48 |
+
createTOCButton(alm, i, offset);
|
49 |
+
}
|
50 |
+
}
|
51 |
+
// Nextpage
|
52 |
+
if(alm.addons.nextpage && nextpageStartPage > 1){
|
53 |
+
for(let i = 0; i < nextpageStartPage; i++){
|
54 |
+
createTOCButton(alm, i, offset);
|
55 |
+
}
|
56 |
+
}
|
57 |
+
}
|
58 |
+
else {
|
59 |
+
if(!from_preloaded && preloaded){
|
60 |
+
page = page + 1;
|
61 |
+
}
|
62 |
+
createTOCButton(alm, page, offset);
|
63 |
+
}
|
64 |
+
}, 100);
|
65 |
+
}
|
66 |
+
else {
|
67 |
+
|
68 |
+
// Preloaded
|
69 |
+
if(preloaded){
|
70 |
+
if(alm.addons.seo && startPage > 0){
|
71 |
+
page = page;
|
72 |
+
}
|
73 |
+
else if(alm.addons.filters && filterStartPage > 0){
|
74 |
+
page = page;
|
75 |
+
}
|
76 |
+
else {
|
77 |
+
page = page + 1;
|
78 |
+
}
|
79 |
+
}
|
80 |
+
|
81 |
+
createTOCButton(alm, page, offset);
|
82 |
+
|
83 |
+
}
|
84 |
+
}
|
85 |
+
}
|
86 |
+
|
87 |
+
|
88 |
+
// Clear table of contents
|
89 |
+
export function clearTOC(){
|
90 |
+
let toc = document.querySelector('.alm-toc');
|
91 |
+
if (toc) {
|
92 |
+
toc.innerHTML = '';
|
93 |
+
}
|
94 |
+
}
|
95 |
+
|
96 |
+
|
97 |
+
// Create Standard Page Button
|
98 |
+
function createTOCButton(alm, page, offset){
|
99 |
+
|
100 |
+
if(!alm.tableofcontents){
|
101 |
+
return false;
|
102 |
+
}
|
103 |
+
|
104 |
+
let button = document.createElement('button');
|
105 |
+
button.type = "button";
|
106 |
+
|
107 |
+
page = parseInt(page) + 1;
|
108 |
+
button.innerHTML = getTOCLabel(alm, page);
|
109 |
+
button.dataset.page = page;
|
110 |
+
alm.tableofcontents.appendChild(button);
|
111 |
+
|
112 |
+
button.addEventListener('click', function(e){
|
113 |
+
let page = this.dataset.page;
|
114 |
+
let target = document.querySelector(`.alm-reveal:nth-child(${page})`) || document.querySelector(`.alm-nextpage:nth-child(${page})`);
|
115 |
+
if(!target){
|
116 |
+
return false;
|
117 |
+
}
|
118 |
+
let top = (typeof getOffset === 'function') ? getOffset(target).top : target.offsetTop;
|
119 |
+
almScroll(top - offset);
|
120 |
+
|
121 |
+
// Set Focus for A11y
|
122 |
+
setTimeout(function(){
|
123 |
+
setFocus(alm, target, page, false);
|
124 |
+
}, 1000);
|
125 |
+
});
|
126 |
+
|
127 |
+
}
|
128 |
+
|
129 |
+
|
130 |
+
// Get Button Label
|
131 |
+
function getTOCLabel(alm, page){
|
132 |
+
|
133 |
+
let label = page;
|
134 |
+
|
135 |
+
// Single Posts
|
136 |
+
if(alm.addons.single_post){
|
137 |
+
let element = document.querySelector(`.alm-reveal.alm-single-post[data-page="${page - 1}"]`);
|
138 |
+
label = (element) ? element.dataset.title : label;
|
139 |
+
}
|
140 |
+
|
141 |
+
// Dynamic function name
|
142 |
+
let funcName = `almTOCLabel_${alm.id}`;
|
143 |
+
if (typeof window[funcName] === 'function') {
|
144 |
+
label = window[funcName](page, label);
|
145 |
+
}
|
146 |
+
|
147 |
+
return label;
|
148 |
+
}
|
core/src/scss/_listing.scss
ADDED
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
/**
|
3 |
+
* Generic alm-listing Styles
|
4 |
+
* @since 1.0.0
|
5 |
+
*/
|
6 |
+
.alm-listing{
|
7 |
+
.alm-reveal{
|
8 |
+
outline: none;
|
9 |
+
&:after{
|
10 |
+
display: table;
|
11 |
+
clear: both;
|
12 |
+
height: 0;
|
13 |
+
width: 100%;
|
14 |
+
content: '';
|
15 |
+
}
|
16 |
+
}
|
17 |
+
}
|
18 |
+
|
19 |
+
.alm-listing{
|
20 |
+
margin: 0;
|
21 |
+
padding: 0;
|
22 |
+
.alm-reveal > li,
|
23 |
+
.alm-paging-content > li,
|
24 |
+
> li{
|
25 |
+
background: none;
|
26 |
+
margin: 0 0 30px;
|
27 |
+
padding: 0 0 0 170px;
|
28 |
+
position: relative;
|
29 |
+
list-style: none;
|
30 |
+
&.no-img{
|
31 |
+
padding: 0;
|
32 |
+
}
|
33 |
+
p{
|
34 |
+
margin: 0;
|
35 |
+
&.entry-meta{
|
36 |
+
margin: 0 0 5px;
|
37 |
+
opacity: 0.75;
|
38 |
+
}
|
39 |
+
}
|
40 |
+
h3{
|
41 |
+
margin: 0 0 10px;
|
42 |
+
}
|
43 |
+
img{
|
44 |
+
position: absolute;
|
45 |
+
left: 0;
|
46 |
+
top: 0;
|
47 |
+
border-radius: 2px;
|
48 |
+
}
|
49 |
+
}
|
50 |
+
&.products{
|
51 |
+
li.product{
|
52 |
+
padding-left: inherit;
|
53 |
+
img{
|
54 |
+
position: static;
|
55 |
+
border-radius: inherit;
|
56 |
+
}
|
57 |
+
}
|
58 |
+
}
|
59 |
+
&.stylefree{
|
60 |
+
.alm-reveal > li,
|
61 |
+
.alm-paging-content > li,
|
62 |
+
> li{
|
63 |
+
padding: inherit;
|
64 |
+
margin: inherit;
|
65 |
+
img{
|
66 |
+
padding: inherit;
|
67 |
+
margin: inherit;
|
68 |
+
position: static;
|
69 |
+
border-radius: inherit;
|
70 |
+
}
|
71 |
+
}
|
72 |
+
}
|
73 |
+
}
|
74 |
+
|
75 |
+
// Right to left (rtl)
|
76 |
+
.alm-listing.rtl{
|
77 |
+
.alm-reveal > li,
|
78 |
+
.alm-paging-content > li{
|
79 |
+
padding: 0 170px 0 0;
|
80 |
+
text-align: right;
|
81 |
+
img{
|
82 |
+
left: auto;
|
83 |
+
right: 0;
|
84 |
+
}
|
85 |
+
}
|
86 |
+
&.products{
|
87 |
+
li.product{
|
88 |
+
padding-right: inherit;
|
89 |
+
}
|
90 |
+
}
|
91 |
+
}
|
92 |
+
|
93 |
+
|
94 |
+
// Masonry default styles
|
95 |
+
.alm-masonry{
|
96 |
+
display: block;
|
97 |
+
overflow: hidden;
|
98 |
+
clear: both;
|
99 |
+
}
|
100 |
+
|
101 |
+
|
102 |
+
// Placeholder default styles
|
103 |
+
.alm-placeholder{
|
104 |
+
opacity: 0;
|
105 |
+
transition: opacity 0.2s ease;
|
106 |
+
display: none;
|
107 |
+
}
|
core/src/scss/_loaders.scss
ADDED
@@ -0,0 +1,196 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.alm-btn-wrap{
|
2 |
+
display: block;
|
3 |
+
text-align: center;
|
4 |
+
padding: 10px 0 25px;
|
5 |
+
position: relative;
|
6 |
+
&:after{
|
7 |
+
display: table;
|
8 |
+
clear: both;
|
9 |
+
height: 0;
|
10 |
+
width: 100%;
|
11 |
+
content: '';
|
12 |
+
}
|
13 |
+
.alm-load-more-btn{
|
14 |
+
font-size: 15px;
|
15 |
+
font-weight: 600;
|
16 |
+
width: auto;
|
17 |
+
height: 42px;
|
18 |
+
line-height: 42px;
|
19 |
+
background: #ed7070;
|
20 |
+
color: #fff;
|
21 |
+
border: none;
|
22 |
+
border-radius: 4px;
|
23 |
+
margin: 0 0 4px;
|
24 |
+
padding:0 20px;
|
25 |
+
display: inline-block;
|
26 |
+
position: relative;
|
27 |
+
transition: all 0.35s ease;
|
28 |
+
text-align: center;
|
29 |
+
text-decoration: none;
|
30 |
+
appearance: none;
|
31 |
+
user-select: none;
|
32 |
+
cursor: pointer;
|
33 |
+
&:hover,
|
34 |
+
&.loading{
|
35 |
+
background-color: #e06464;
|
36 |
+
color: #fff;
|
37 |
+
text-decoration: none;
|
38 |
+
}
|
39 |
+
&:active{
|
40 |
+
box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.1);
|
41 |
+
text-decoration: none;
|
42 |
+
}
|
43 |
+
|
44 |
+
/* Loading */
|
45 |
+
&.loading{
|
46 |
+
cursor: default;
|
47 |
+
outline: none;
|
48 |
+
padding-left: 44px;
|
49 |
+
}
|
50 |
+
|
51 |
+
/* Loaded / Done */
|
52 |
+
&.done{
|
53 |
+
cursor: default;
|
54 |
+
opacity: 0.15;
|
55 |
+
background-color: #ed7070;
|
56 |
+
outline: none !important;
|
57 |
+
box-shadow: none !important;
|
58 |
+
}
|
59 |
+
|
60 |
+
/* Loading Icon */
|
61 |
+
&:before,
|
62 |
+
&.done:before{
|
63 |
+
background: none;
|
64 |
+
width: 0;
|
65 |
+
}
|
66 |
+
|
67 |
+
/* Loading :before */
|
68 |
+
&.loading:before {
|
69 |
+
background: #fff url("../../img/ajax-loader.gif") no-repeat center center;
|
70 |
+
width: 30px;
|
71 |
+
height: 30px;
|
72 |
+
margin: 6px;
|
73 |
+
border-radius: 3px;
|
74 |
+
display: inline-block;
|
75 |
+
z-index: 0;
|
76 |
+
content: '';
|
77 |
+
position: absolute;
|
78 |
+
left: 0;
|
79 |
+
top: 0;
|
80 |
+
overflow: hidden;
|
81 |
+
transition: width 0.5s ease-in-out;
|
82 |
+
}
|
83 |
+
}
|
84 |
+
}
|
85 |
+
|
86 |
+
/* Blue */
|
87 |
+
.ajax-load-more-wrap.blue .alm-load-more-btn{
|
88 |
+
background-color: #0081bf;
|
89 |
+
&:hover,
|
90 |
+
&.loading,
|
91 |
+
&.done{
|
92 |
+
background-color: #0073aa;
|
93 |
+
}
|
94 |
+
}
|
95 |
+
|
96 |
+
/* green */
|
97 |
+
.ajax-load-more-wrap.green .alm-load-more-btn{
|
98 |
+
background-color: #6fca68;
|
99 |
+
&:hover,
|
100 |
+
&.loading,
|
101 |
+
&.done{
|
102 |
+
background-color: #64b95e;
|
103 |
+
}
|
104 |
+
}
|
105 |
+
/* red */
|
106 |
+
.ajax-load-more-wrap.red .alm-load-more-btn{
|
107 |
+
background-color: #ca4b4b;
|
108 |
+
&:hover,
|
109 |
+
&.loading,
|
110 |
+
&.done{
|
111 |
+
background-color: #b13b3b;
|
112 |
+
}
|
113 |
+
}
|
114 |
+
|
115 |
+
/* purple */
|
116 |
+
.ajax-load-more-wrap.purple .alm-load-more-btn{
|
117 |
+
background-color: #a86bb9;
|
118 |
+
&:hover,
|
119 |
+
&.loading,
|
120 |
+
&.done{
|
121 |
+
background-color: #9963a8;
|
122 |
+
}
|
123 |
+
}
|
124 |
+
|
125 |
+
/* grey */
|
126 |
+
.ajax-load-more-wrap.grey .alm-load-more-btn{
|
127 |
+
background-color: #888;
|
128 |
+
&:hover,
|
129 |
+
&.loading,
|
130 |
+
&.done{
|
131 |
+
background-color: #777;
|
132 |
+
}
|
133 |
+
}
|
134 |
+
|
135 |
+
/* white */
|
136 |
+
.ajax-load-more-wrap.white .alm-load-more-btn{
|
137 |
+
background-color: #fff;
|
138 |
+
color: #666;
|
139 |
+
border: 1px solid #efefef;
|
140 |
+
&:hover,
|
141 |
+
&.loading,
|
142 |
+
&.done{
|
143 |
+
background-color: #efefef;
|
144 |
+
color: #333;
|
145 |
+
}
|
146 |
+
&.done{
|
147 |
+
border-color: #fff;
|
148 |
+
}
|
149 |
+
}
|
150 |
+
|
151 |
+
/* Infinite */
|
152 |
+
.ajax-load-more-wrap.infinite{
|
153 |
+
.alm-load-more-btn {
|
154 |
+
width: 100%;
|
155 |
+
background-color: transparent !important;
|
156 |
+
background-position: center center;
|
157 |
+
background-repeat: no-repeat;
|
158 |
+
background-image: url("../../img/spinner.gif");
|
159 |
+
border: none !important;
|
160 |
+
opacity: 0;
|
161 |
+
transition: opacity 0.2s ease;
|
162 |
+
box-shadow: none !important;
|
163 |
+
overflow: hidden;
|
164 |
+
text-indent: -9999px;
|
165 |
+
cursor: default !important;
|
166 |
+
outline: none !important;
|
167 |
+
&:before {
|
168 |
+
display: none !important;
|
169 |
+
}
|
170 |
+
&:focus,
|
171 |
+
&:active{
|
172 |
+
outline: none;
|
173 |
+
}
|
174 |
+
&.done {
|
175 |
+
opacity: 0;
|
176 |
+
}
|
177 |
+
&.loading {
|
178 |
+
opacity: 1;
|
179 |
+
}
|
180 |
+
}
|
181 |
+
&.skype .alm-load-more-btn {
|
182 |
+
background-image: url("../../img/spinner-skype.gif");
|
183 |
+
}
|
184 |
+
&.ring .alm-load-more-btn {
|
185 |
+
background-image: url("../../img/spinner-ring.gif");
|
186 |
+
}
|
187 |
+
&.fading-blocks .alm-load-more-btn {
|
188 |
+
background-image: url("../../img/loader-fading-blocks.gif");
|
189 |
+
}
|
190 |
+
&.fading-circles .alm-load-more-btn {
|
191 |
+
background-image: url("../../img/loader-fading-circles.gif");
|
192 |
+
}
|
193 |
+
&.chasing-arrows .alm-load-more-btn {
|
194 |
+
background-image: url("../../img/spinner-chasing-arrows.gif");
|
195 |
+
}
|
196 |
+
}
|
core/src/scss/_tableofcontents.scss
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.alm-toc{
|
2 |
+
display: flex;
|
3 |
+
width: auto;
|
4 |
+
padding: 10px 0;
|
5 |
+
button{
|
6 |
+
background: #f7f7f7;
|
7 |
+
border-radius: 4px;
|
8 |
+
transition: all 0.15s ease;
|
9 |
+
outline: none;
|
10 |
+
border: 1px solid #efefef;
|
11 |
+
box-shadow: none;
|
12 |
+
color: #454545;
|
13 |
+
cursor: pointer;
|
14 |
+
font-size: 14px;
|
15 |
+
font-weight: 500;
|
16 |
+
padding: 7px 10px;
|
17 |
+
line-height: 1;
|
18 |
+
margin: 0 5px 0 0;
|
19 |
+
height: auto;
|
20 |
+
&:hover,
|
21 |
+
&:focus{
|
22 |
+
border-color: #ccc;
|
23 |
+
color: #222;
|
24 |
+
}
|
25 |
+
&:hover{
|
26 |
+
text-decoration: underline;
|
27 |
+
}
|
28 |
+
&:focus{
|
29 |
+
box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
|
30 |
+
}
|
31 |
+
}
|
32 |
+
}
|
core/src/scss/ajax-load-more.scss
CHANGED
@@ -9,262 +9,7 @@
|
|
9 |
* Author: Darren Cooney
|
10 |
* Twitter: @KaptonKaos
|
11 |
*/
|
12 |
-
.alm-btn-wrap{
|
13 |
-
display: block;
|
14 |
-
text-align: center;
|
15 |
-
padding: 10px 0 25px;
|
16 |
-
position: relative;
|
17 |
-
&:after{
|
18 |
-
display: table;
|
19 |
-
clear: both;
|
20 |
-
height: 0;
|
21 |
-
width: 100%;
|
22 |
-
content: '';
|
23 |
-
}
|
24 |
-
.alm-load-more-btn{
|
25 |
-
font-size: 15px;
|
26 |
-
font-weight: 600;
|
27 |
-
width: auto;
|
28 |
-
height: 42px;
|
29 |
-
line-height: 42px;
|
30 |
-
background: #ed7070;
|
31 |
-
color: #fff;
|
32 |
-
border: none;
|
33 |
-
border-radius: 4px;
|
34 |
-
margin: 0 0 4px;
|
35 |
-
padding:0 20px;
|
36 |
-
display: inline-block;
|
37 |
-
position: relative;
|
38 |
-
transition: all 0.35s ease;
|
39 |
-
text-align: center;
|
40 |
-
text-decoration: none;
|
41 |
-
appearance: none;
|
42 |
-
user-select: none;
|
43 |
-
cursor: pointer;
|
44 |
-
&:hover,
|
45 |
-
&.loading{
|
46 |
-
background-color: #e06464;
|
47 |
-
color: #fff;
|
48 |
-
text-decoration: none;
|
49 |
-
}
|
50 |
-
&:active{
|
51 |
-
box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.1);
|
52 |
-
text-decoration: none;
|
53 |
-
}
|
54 |
-
|
55 |
-
/* Loading */
|
56 |
-
&.loading{
|
57 |
-
cursor: default;
|
58 |
-
outline: none;
|
59 |
-
padding-left: 44px;
|
60 |
-
}
|
61 |
-
|
62 |
-
/* Loaded / Done */
|
63 |
-
&.done{
|
64 |
-
cursor: default;
|
65 |
-
opacity: 0.15;
|
66 |
-
background-color: #ed7070;
|
67 |
-
outline: none !important;
|
68 |
-
box-shadow: none !important;
|
69 |
-
}
|
70 |
-
|
71 |
-
/* Loading Icon */
|
72 |
-
&:before,
|
73 |
-
&.done:before{
|
74 |
-
background: none;
|
75 |
-
width: 0;
|
76 |
-
}
|
77 |
-
|
78 |
-
/* Loading :before */
|
79 |
-
&.loading:before {
|
80 |
-
background: #fff url("../../img/ajax-loader.gif") no-repeat center center;
|
81 |
-
width: 30px;
|
82 |
-
height: 30px;
|
83 |
-
margin: 6px;
|
84 |
-
border-radius: 3px;
|
85 |
-
display: inline-block;
|
86 |
-
z-index: 0;
|
87 |
-
content: '';
|
88 |
-
position: absolute;
|
89 |
-
left: 0;
|
90 |
-
top: 0;
|
91 |
-
overflow: hidden;
|
92 |
-
transition: width 0.5s ease-in-out;
|
93 |
-
}
|
94 |
-
}
|
95 |
-
}
|
96 |
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
clear: both;
|
101 |
-
}
|
102 |
-
|
103 |
-
/* Blue */
|
104 |
-
.ajax-load-more-wrap.blue .alm-load-more-btn{
|
105 |
-
background-color: #0081bf;
|
106 |
-
&:hover,
|
107 |
-
&.loading,
|
108 |
-
&.done{
|
109 |
-
background-color: #0073aa;
|
110 |
-
}
|
111 |
-
}
|
112 |
-
|
113 |
-
/* green */
|
114 |
-
.ajax-load-more-wrap.green .alm-load-more-btn{
|
115 |
-
background-color: #6fca68;
|
116 |
-
&:hover,
|
117 |
-
&.loading,
|
118 |
-
&.done{
|
119 |
-
background-color: #64b95e;
|
120 |
-
}
|
121 |
-
}
|
122 |
-
/* red */
|
123 |
-
.ajax-load-more-wrap.red .alm-load-more-btn{
|
124 |
-
background-color: #ca4b4b;
|
125 |
-
&:hover,
|
126 |
-
&.loading,
|
127 |
-
&.done{
|
128 |
-
background-color: #b13b3b;
|
129 |
-
}
|
130 |
-
}
|
131 |
-
|
132 |
-
/* purple */
|
133 |
-
.ajax-load-more-wrap.purple .alm-load-more-btn{
|
134 |
-
background-color: #a86bb9;
|
135 |
-
&:hover,
|
136 |
-
&.loading,
|
137 |
-
&.done{
|
138 |
-
background-color: #9963a8;
|
139 |
-
}
|
140 |
-
}
|
141 |
-
|
142 |
-
/* grey */
|
143 |
-
.ajax-load-more-wrap.grey .alm-load-more-btn{
|
144 |
-
background-color: #888;
|
145 |
-
&:hover,
|
146 |
-
&.loading,
|
147 |
-
&.done{
|
148 |
-
background-color: #777;
|
149 |
-
}
|
150 |
-
}
|
151 |
-
|
152 |
-
/* white */
|
153 |
-
.ajax-load-more-wrap.white .alm-load-more-btn{
|
154 |
-
background-color: #fff;
|
155 |
-
color: #666;
|
156 |
-
border: 1px solid #efefef;
|
157 |
-
&:hover,
|
158 |
-
&.loading,
|
159 |
-
&.done{
|
160 |
-
background-color: #efefef;
|
161 |
-
color: #333;
|
162 |
-
}
|
163 |
-
&.done{
|
164 |
-
border-color: #fff;
|
165 |
-
}
|
166 |
-
}
|
167 |
-
|
168 |
-
/* Infinite */
|
169 |
-
.ajax-load-more-wrap.infinite{
|
170 |
-
.alm-load-more-btn {
|
171 |
-
width: 100%;
|
172 |
-
background-color: transparent !important;
|
173 |
-
background-position: center center;
|
174 |
-
background-repeat: no-repeat;
|
175 |
-
background-image: url("../../img/spinner.gif");
|
176 |
-
border: none !important;
|
177 |
-
opacity: 0;
|
178 |
-
transition: opacity 0.2s ease;
|
179 |
-
box-shadow: none !important;
|
180 |
-
overflow: hidden;
|
181 |
-
text-indent: -9999px;
|
182 |
-
cursor: default !important;
|
183 |
-
outline: none !important;
|
184 |
-
&:before {
|
185 |
-
display: none !important;
|
186 |
-
}
|
187 |
-
&:focus,
|
188 |
-
&:active{
|
189 |
-
outline: none;
|
190 |
-
}
|
191 |
-
&.done {
|
192 |
-
opacity: 0;
|
193 |
-
}
|
194 |
-
&.loading {
|
195 |
-
opacity: 1;
|
196 |
-
}
|
197 |
-
}
|
198 |
-
&.skype .alm-load-more-btn {
|
199 |
-
background-image: url("../../img/spinner-skype.gif");
|
200 |
-
}
|
201 |
-
&.ring .alm-load-more-btn {
|
202 |
-
background-image: url("../../img/spinner-ring.gif");
|
203 |
-
}
|
204 |
-
&.fading-blocks .alm-load-more-btn {
|
205 |
-
background-image: url("../../img/loader-fading-blocks.gif");
|
206 |
-
}
|
207 |
-
&.fading-circles .alm-load-more-btn {
|
208 |
-
background-image: url("../../img/loader-fading-circles.gif");
|
209 |
-
}
|
210 |
-
&.chasing-arrows .alm-load-more-btn {
|
211 |
-
background-image: url("../../img/spinner-chasing-arrows.gif");
|
212 |
-
}
|
213 |
-
}
|
214 |
-
|
215 |
-
|
216 |
-
/*
|
217 |
-
* Generic alm-listing styles
|
218 |
-
* @since 1.0.0
|
219 |
-
*/
|
220 |
-
|
221 |
-
.alm-listing{
|
222 |
-
margin: 0;
|
223 |
-
padding: 0;
|
224 |
-
.alm-reveal{
|
225 |
-
outline: none;
|
226 |
-
&:after{
|
227 |
-
display: table;
|
228 |
-
clear: both;
|
229 |
-
height: 0;
|
230 |
-
width: 100%;
|
231 |
-
content: '';
|
232 |
-
}
|
233 |
-
}
|
234 |
-
.alm-reveal > li,
|
235 |
-
.alm-paging-content > li,
|
236 |
-
> li{
|
237 |
-
background: none;
|
238 |
-
margin: 0 0 30px;
|
239 |
-
padding: 0 0 0 170px;
|
240 |
-
overflow: hidden;
|
241 |
-
position: relative;
|
242 |
-
list-style: none;
|
243 |
-
&.no-img{
|
244 |
-
padding: 0;
|
245 |
-
}
|
246 |
-
p{
|
247 |
-
margin: 0;
|
248 |
-
&.entry-meta{
|
249 |
-
margin: 0 0 5px;
|
250 |
-
opacity: 0.75;
|
251 |
-
}
|
252 |
-
}
|
253 |
-
h3{
|
254 |
-
margin: 0 0 10px;
|
255 |
-
}
|
256 |
-
img{
|
257 |
-
position: absolute;
|
258 |
-
left: 0;
|
259 |
-
top: 0;
|
260 |
-
border-radius: 2px;
|
261 |
-
}
|
262 |
-
}
|
263 |
-
}
|
264 |
-
|
265 |
-
|
266 |
-
.alm-placeholder{
|
267 |
-
opacity: 0;
|
268 |
-
transition: opacity 0.2s ease;
|
269 |
-
display: none;
|
270 |
-
}
|
9 |
* Author: Darren Cooney
|
10 |
* Twitter: @KaptonKaos
|
11 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
|
13 |
+
@import './loaders';
|
14 |
+
@import './listing';
|
15 |
+
@import './tableofcontents';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lang/ajax-load-more.pot
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Ajax Load More\n"
|
5 |
-
"POT-Creation-Date: 2020-
|
6 |
"PO-Revision-Date: 2018-06-20 13:05-0500\n"
|
7 |
"Last-Translator: Darren Cooney <darren@connekthq.com>\n"
|
8 |
"Language-Team: \n"
|
@@ -18,53 +18,60 @@ msgstr ""
|
|
18 |
"X-Poedit-SearchPathExcluded-0: core/src\n"
|
19 |
"X-Poedit-SearchPathExcluded-1: admin/src\n"
|
20 |
|
21 |
-
#: admin/admin.php:
|
22 |
msgid "Looks like your subscription has expired."
|
23 |
msgstr ""
|
24 |
|
25 |
-
#: admin/admin.php:
|
26 |
msgid ""
|
27 |
"Please login to your <a href=\"https://connekthq.com/account/\" target="
|
28 |
"\"_blank\">Account</a> to renew the license."
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: admin/admin.php:
|
32 |
msgid "Looks like your license is inactive and/or invalid."
|
33 |
msgstr ""
|
34 |
|
35 |
-
#: admin/admin.php:
|
36 |
msgid ""
|
37 |
"Please activate the <a href=\"admin.php?page=ajax-load-more-licenses\" "
|
38 |
"target=\"_blank\">license</a> or login to your <a href=\"https://connekthq."
|
39 |
"com/account/\" target=\"_blank\">Account</a> to renew the license."
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: admin/admin.php:
|
43 |
msgid "Looks like your license has been deactivated."
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: admin/admin.php:
|
47 |
msgid ""
|
48 |
"Please activate the <a href=\"admin.php?page=ajax-load-more-licenses\" "
|
49 |
"target=\"_blank\">license</a> to update."
|
50 |
msgstr ""
|
51 |
|
52 |
-
#: admin/admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
#: vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:170
|
54 |
#: vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:241
|
55 |
msgid "Error - unable to verify nonce, please try again."
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: admin/admin.php:
|
59 |
msgid "Transient set successfully"
|
60 |
msgstr ""
|
61 |
|
62 |
-
#: admin/admin.php:
|
63 |
-
#: admin/admin.php:
|
64 |
msgid "You don't belong here."
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: admin/admin.php:
|
68 |
msgid ""
|
69 |
"You have an invalid or expired <a href=\"admin.php?page=ajax-load-more"
|
70 |
"\"><b>Ajax Load More Pro</b></a> license key - please visit the <a href="
|
@@ -73,273 +80,273 @@ msgid ""
|
|
73 |
"\"_blank\">purchase</a> one now."
|
74 |
msgstr ""
|
75 |
|
76 |
-
#: admin/admin.php:
|
77 |
msgid ""
|
78 |
"You have invalid or expired <a href=\"admin.php?page=ajax-load-more"
|
79 |
"\"><b>Ajax Load More</b></a> license keys - please visit the <a href=\"admin."
|
80 |
"php?page=ajax-load-more-licenses\">Licenses</a> section and input your keys."
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: admin/admin.php:
|
84 |
msgid "Ajax Load More"
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: admin/admin.php:
|
88 |
#: admin/views/licenses.php:93
|
89 |
msgid "Active"
|
90 |
msgstr ""
|
91 |
|
92 |
-
#: admin/admin.php:
|
93 |
#: admin/views/licenses.php:101
|
94 |
msgid "Inactive"
|
95 |
msgstr ""
|
96 |
|
97 |
-
#: admin/admin.php:
|
98 |
msgid "Applying layout"
|
99 |
msgstr ""
|
100 |
|
101 |
-
#: admin/admin.php:
|
102 |
#: admin/views/repeater-templates.php:437
|
103 |
msgid "Template Updated"
|
104 |
msgstr ""
|
105 |
|
106 |
-
#: admin/admin.php:
|
107 |
msgid "Select Author(s)"
|
108 |
msgstr ""
|
109 |
|
110 |
-
#: admin/admin.php:
|
111 |
msgid "Select Categories"
|
112 |
msgstr ""
|
113 |
|
114 |
-
#: admin/admin.php:
|
115 |
msgid "Select Tags"
|
116 |
msgstr ""
|
117 |
|
118 |
-
#: admin/admin.php:
|
119 |
msgid "Select"
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: admin/admin.php:
|
123 |
#: admin/editor/editor-build.php:78
|
124 |
msgid "Jump to Option"
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: admin/admin.php:
|
128 |
msgid "Jump to Template"
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: admin/admin.php:
|
132 |
msgid "Are you sure you want to install this Ajax Load More extension?"
|
133 |
msgstr ""
|
134 |
|
135 |
-
#: admin/admin.php:
|
136 |
#: vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:51
|
137 |
#: vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:379
|
138 |
msgid "Install Now"
|
139 |
msgstr ""
|
140 |
|
141 |
-
#: admin/admin.php:
|
142 |
#: vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:90
|
143 |
#: vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:380
|
144 |
msgid "Activate"
|
145 |
msgstr ""
|
146 |
|
147 |
-
#: admin/admin.php:
|
148 |
msgid "Saving Settings"
|
149 |
msgstr ""
|
150 |
|
151 |
-
#: admin/admin.php:
|
152 |
msgid "Settings Saved Successfully"
|
153 |
msgstr ""
|
154 |
|
155 |
-
#: admin/admin.php:
|
156 |
msgid "Error Saving Settings"
|
157 |
msgstr ""
|
158 |
|
159 |
-
#: admin/admin.php:
|
160 |
msgid ""
|
161 |
"There is a maximum of 3 tax_query objects while using the shortcode builder"
|
162 |
msgstr ""
|
163 |
|
164 |
-
#: admin/admin.php:
|
165 |
msgid ""
|
166 |
"[Ajax Load More] Error opening default repeater template - Please check your "
|
167 |
"file path and ensure your server is configured to allow Ajax Load More to "
|
168 |
"read and write files within the /ajax-load-more/core/repeater directory"
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: admin/admin.php:
|
172 |
msgid ""
|
173 |
"[Ajax Load More] Error updating default repeater template - Please check "
|
174 |
"your file path and ensure your server is configured to allow Ajax Load More "
|
175 |
"to read and write files within the /ajax-load-more/core/repeater directory."
|
176 |
msgstr ""
|
177 |
|
178 |
-
#: admin/admin.php:
|
179 |
msgid "Settings"
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: admin/admin.php:
|
183 |
#: admin/views/repeater-templates.php:14 admin/views/repeater-templates.php:26
|
184 |
msgid "Repeater Templates"
|
185 |
msgstr ""
|
186 |
|
187 |
-
#: admin/admin.php:
|
188 |
msgid "Shortcode Builder"
|
189 |
msgstr ""
|
190 |
|
191 |
-
#: admin/admin.php:
|
192 |
msgid "Add-ons"
|
193 |
msgstr ""
|
194 |
|
195 |
-
#: admin/admin.php:
|
196 |
msgid "Extensions"
|
197 |
msgstr ""
|
198 |
|
199 |
-
#: admin/admin.php:
|
200 |
msgid "Help"
|
201 |
msgstr ""
|
202 |
|
203 |
-
#: admin/admin.php:
|
204 |
msgid "License"
|
205 |
msgstr ""
|
206 |
|
207 |
-
#: admin/admin.php:
|
208 |
msgid "Licenses"
|
209 |
msgstr ""
|
210 |
|
211 |
-
#: admin/admin.php:
|
212 |
#: admin/views/go-pro.php:5
|
213 |
msgid "Pro"
|
214 |
msgstr ""
|
215 |
|
216 |
-
#: admin/admin.php:
|
217 |
msgid "Go Pro"
|
218 |
msgstr ""
|
219 |
|
220 |
-
#: admin/admin.php:
|
221 |
#: admin/shortcode-builder/components/cache.php:3 admin/views/settings.php:35
|
222 |
#: core/functions.php:50
|
223 |
msgid "Cache"
|
224 |
msgstr ""
|
225 |
|
226 |
-
#: admin/admin.php:
|
227 |
#: admin/shortcode-builder/components/filters.php:3 admin/views/settings.php:37
|
228 |
#: core/functions.php:110
|
229 |
msgid "Filters"
|
230 |
msgstr ""
|
231 |
|
232 |
-
#: admin/admin.php:
|
233 |
msgid "[Ajax Load More] Unable to open repeater template - "
|
234 |
msgstr ""
|
235 |
|
236 |
-
#: admin/admin.php:
|
237 |
msgid "[Ajax Load More] Error saving repeater template - "
|
238 |
msgstr ""
|
239 |
|
240 |
-
#: admin/admin.php:
|
241 |
msgid "Template Saved Successfully"
|
242 |
msgstr ""
|
243 |
|
244 |
-
#: admin/admin.php:
|
245 |
msgid "Error Writing File"
|
246 |
msgstr ""
|
247 |
|
248 |
-
#: admin/admin.php:
|
249 |
msgid "Something went wrong and the data could not be saved."
|
250 |
msgstr ""
|
251 |
|
252 |
-
#: admin/admin.php:
|
253 |
msgid "Container Type"
|
254 |
msgstr ""
|
255 |
|
256 |
-
#: admin/admin.php:
|
257 |
msgid "Container Classes"
|
258 |
msgstr ""
|
259 |
|
260 |
-
#: admin/admin.php:
|
261 |
msgid "Disable CSS"
|
262 |
msgstr ""
|
263 |
|
264 |
-
#: admin/admin.php:
|
265 |
msgid "Button/Loading Style"
|
266 |
msgstr ""
|
267 |
|
268 |
-
#: admin/admin.php:
|
269 |
msgid "Load CSS Inline"
|
270 |
msgstr ""
|
271 |
|
272 |
-
#: admin/admin.php:
|
273 |
msgid "Button Classes"
|
274 |
msgstr ""
|
275 |
|
276 |
-
#: admin/admin.php:
|
277 |
msgid "Legacy Callbacks"
|
278 |
msgstr ""
|
279 |
|
280 |
-
#: admin/admin.php:
|
281 |
msgid "Top of Page"
|
282 |
msgstr ""
|
283 |
|
284 |
-
#: admin/admin.php:
|
285 |
msgid "Delete on Uninstall"
|
286 |
msgstr ""
|
287 |
|
288 |
-
#: admin/admin.php:
|
289 |
msgid "Dynamic Content"
|
290 |
msgstr ""
|
291 |
|
292 |
-
#: admin/admin.php:
|
293 |
msgid "Editor Button"
|
294 |
msgstr ""
|
295 |
|
296 |
-
#: admin/admin.php:
|
297 |
msgid "Error Notices"
|
298 |
msgstr ""
|
299 |
|
300 |
-
#: admin/admin.php:
|
301 |
msgid ""
|
302 |
"Customize the user experience of Ajax Load More by updating the fields below."
|
303 |
msgstr ""
|
304 |
|
305 |
-
#: admin/admin.php:
|
306 |
msgid "The following settings affect the WordPress admin area only."
|
307 |
msgstr ""
|
308 |
|
309 |
-
#: admin/admin.php:
|
310 |
msgid "I want to use my own CSS styles."
|
311 |
msgstr ""
|
312 |
|
313 |
-
#: admin/admin.php:
|
314 |
msgid "View Ajax Load More CSS"
|
315 |
msgstr ""
|
316 |
|
317 |
-
#: admin/admin.php:
|
318 |
msgid "Hide shortcode button in WYSIWYG editor."
|
319 |
msgstr ""
|
320 |
|
321 |
-
#: admin/admin.php:
|
322 |
msgid ""
|
323 |
"Display error messaging regarding repeater template updates in the browser "
|
324 |
"console."
|
325 |
msgstr ""
|
326 |
|
327 |
-
#: admin/admin.php:
|
328 |
msgid ""
|
329 |
"Disable dynamic population of categories, tags and authors in the Shortcode "
|
330 |
"Builder.<span style=\"display:block\">Recommended if you have a large number "
|
331 |
"of categories, tags and/or authors."
|
332 |
msgstr ""
|
333 |
|
334 |
-
#: admin/admin.php:
|
335 |
msgid "Ajax Posts Here"
|
336 |
msgstr ""
|
337 |
|
338 |
-
#: admin/admin.php:
|
339 |
msgid "You can modify the container type when building a shortcode."
|
340 |
msgstr ""
|
341 |
|
342 |
-
#: admin/admin.php:
|
343 |
msgid ""
|
344 |
"Add custom classes to the <i>.alm-listing</i> container - classes are "
|
345 |
"applied globally and will appear with every instance of Ajax Load More. "
|
@@ -347,63 +354,63 @@ msgid ""
|
|
347 |
"shortcode.</span>"
|
348 |
msgstr ""
|
349 |
|
350 |
-
#: admin/admin.php:
|
351 |
msgid ""
|
352 |
"Select an Ajax loading style - you can choose between a <strong>Button</"
|
353 |
"strong> or <strong>Infinite Scroll</strong>"
|
354 |
msgstr ""
|
355 |
|
356 |
-
#: admin/admin.php:
|
357 |
msgid "Button"
|
358 |
msgstr ""
|
359 |
|
360 |
-
#: admin/admin.php:
|
361 |
msgid "Infinite Scroll (No Button)"
|
362 |
msgstr ""
|
363 |
|
364 |
-
#: admin/admin.php:
|
365 |
msgid "Preview"
|
366 |
msgstr ""
|
367 |
|
368 |
-
#: admin/admin.php:
|
369 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
370 |
-
#: core/classes/class.alm-shortcode.php:
|
371 |
msgid "Older Posts"
|
372 |
msgstr ""
|
373 |
|
374 |
-
#: admin/admin.php:
|
375 |
msgid "Improve site performance by loading Ajax Load More CSS inline."
|
376 |
msgstr ""
|
377 |
|
378 |
-
#: admin/admin.php:
|
379 |
msgid "Add classes to your <strong>Load More</strong> button."
|
380 |
msgstr ""
|
381 |
|
382 |
-
#: admin/admin.php:
|
383 |
msgid ""
|
384 |
"On initial page load, move the user's browser window to the top of the "
|
385 |
"screen."
|
386 |
msgstr ""
|
387 |
|
388 |
-
#: admin/admin.php:
|
389 |
msgid "This may help prevent the loading of unnecessary posts."
|
390 |
msgstr ""
|
391 |
|
392 |
-
#: admin/admin.php:
|
393 |
msgid "Disable REST API."
|
394 |
msgstr ""
|
395 |
|
396 |
-
#: admin/admin.php:
|
397 |
msgid ""
|
398 |
"Use `admin-ajax.php` in favour of the WordPress REST API for all Ajax "
|
399 |
"requests."
|
400 |
msgstr ""
|
401 |
|
402 |
-
#: admin/admin.php:
|
403 |
msgid "Load legacy JavaScript callback functions."
|
404 |
msgstr ""
|
405 |
|
406 |
-
#: admin/admin.php:
|
407 |
msgid ""
|
408 |
"Ajax Load More <a href=\"https://connekthq.com/plugins/ajax-load-more/docs/"
|
409 |
"callback-functions/\" target=\"_blank\">callback functions</a> were updated "
|
@@ -411,16 +418,31 @@ msgid ""
|
|
411 |
"library to maintain compatibility."
|
412 |
msgstr ""
|
413 |
|
414 |
-
#: admin/admin.php:
|
415 |
msgid ""
|
416 |
"Check this box if Ajax Load More should remove all of its data* when the "
|
417 |
"plugin is deleted."
|
418 |
msgstr ""
|
419 |
|
420 |
-
#: admin/admin.php:
|
421 |
msgid "* Database Tables, Options and Repeater Templates"
|
422 |
msgstr ""
|
423 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
424 |
#: admin/editor/editor-build.php:45
|
425 |
msgid ""
|
426 |
"Create your own Ajax Load More shortcode by adjusting the parameters below:"
|
@@ -438,258 +460,6 @@ msgstr ""
|
|
438 |
msgid "You are not allowed to be here"
|
439 |
msgstr ""
|
440 |
|
441 |
-
#: admin/includes/components/example-list.php:2
|
442 |
-
#: admin/shortcode-builder/shortcode-builder.php:3
|
443 |
-
#: admin/views/repeater-templates.php:127
|
444 |
-
#: admin/views/repeater-templates.php:157
|
445 |
-
msgid "Collapse All"
|
446 |
-
msgstr ""
|
447 |
-
|
448 |
-
#: admin/includes/components/example-list.php:2
|
449 |
-
#: admin/shortcode-builder/shortcode-builder.php:4
|
450 |
-
#: admin/views/repeater-templates.php:128
|
451 |
-
#: admin/views/repeater-templates.php:158
|
452 |
-
msgid "Expand All"
|
453 |
-
msgstr ""
|
454 |
-
|
455 |
-
#: admin/includes/components/example-list.php:5
|
456 |
-
msgid "Archive.php"
|
457 |
-
msgstr ""
|
458 |
-
|
459 |
-
#: admin/includes/components/example-list.php:7
|
460 |
-
msgid "Shortcode for use on generic archive page."
|
461 |
-
msgstr ""
|
462 |
-
|
463 |
-
#: admin/includes/components/example-list.php:15
|
464 |
-
msgid "Author.php"
|
465 |
-
msgstr ""
|
466 |
-
|
467 |
-
#: admin/includes/components/example-list.php:17
|
468 |
-
msgid "Shortcode for use on author archive pages."
|
469 |
-
msgstr ""
|
470 |
-
|
471 |
-
#: admin/includes/components/example-list.php:24
|
472 |
-
msgid "Category.php"
|
473 |
-
msgstr ""
|
474 |
-
|
475 |
-
#: admin/includes/components/example-list.php:26
|
476 |
-
msgid "Shortcode for use on category archive pages."
|
477 |
-
msgstr ""
|
478 |
-
|
479 |
-
#: admin/includes/components/example-list.php:33
|
480 |
-
msgid "Date Archives"
|
481 |
-
msgstr ""
|
482 |
-
|
483 |
-
#: admin/includes/components/example-list.php:35
|
484 |
-
msgid "Shortcode for use for archiving by date."
|
485 |
-
msgstr ""
|
486 |
-
|
487 |
-
#: admin/includes/components/example-list.php:42
|
488 |
-
msgid "Excluding Posts"
|
489 |
-
msgstr ""
|
490 |
-
|
491 |
-
#: admin/includes/components/example-list.php:44
|
492 |
-
msgid "Shortcode for excluding an array of posts."
|
493 |
-
msgstr ""
|
494 |
-
|
495 |
-
#: admin/includes/components/example-list.php:50
|
496 |
-
msgid "Tag.php"
|
497 |
-
msgstr ""
|
498 |
-
|
499 |
-
#: admin/includes/components/example-list.php:52
|
500 |
-
msgid "Shortcode for use on tag archive pages."
|
501 |
-
msgstr ""
|
502 |
-
|
503 |
-
#: admin/includes/components/layout-list.php:2
|
504 |
-
msgid "Apply Layout"
|
505 |
-
msgstr ""
|
506 |
-
|
507 |
-
#: admin/includes/components/layout-list.php:15
|
508 |
-
msgid "Default Layout"
|
509 |
-
msgstr ""
|
510 |
-
|
511 |
-
#: admin/includes/components/layout-list.php:24
|
512 |
-
msgid ""
|
513 |
-
"Get predefined responsive layouts with the <strong>Layouts add-on</strong>"
|
514 |
-
msgstr ""
|
515 |
-
|
516 |
-
#: admin/includes/components/layout-list.php:26
|
517 |
-
msgid "Get More Layouts"
|
518 |
-
msgstr ""
|
519 |
-
|
520 |
-
#: admin/includes/components/repeater-options.php:5
|
521 |
-
#: admin/shortcode-builder/shortcode-builder.php:51
|
522 |
-
msgid "Options"
|
523 |
-
msgstr ""
|
524 |
-
|
525 |
-
#: admin/includes/components/repeater-options.php:12
|
526 |
-
msgid "Update Template from Database"
|
527 |
-
msgstr ""
|
528 |
-
|
529 |
-
#: admin/includes/components/repeater-options.php:12
|
530 |
-
msgid "Update from Database"
|
531 |
-
msgstr ""
|
532 |
-
|
533 |
-
#: admin/includes/components/repeater-options.php:23
|
534 |
-
#: admin/includes/components/repeater-options.php:24
|
535 |
-
msgid "Download Template"
|
536 |
-
msgstr ""
|
537 |
-
|
538 |
-
#: admin/includes/components/repeater-options.php:30
|
539 |
-
msgid "Copy Template Data"
|
540 |
-
msgstr ""
|
541 |
-
|
542 |
-
#: admin/includes/cta/about.php:2
|
543 |
-
msgid "Our Other Plugins"
|
544 |
-
msgstr ""
|
545 |
-
|
546 |
-
#: admin/includes/cta/add-ons.php:2
|
547 |
-
msgid "About the Add-ons"
|
548 |
-
msgstr ""
|
549 |
-
|
550 |
-
#: admin/includes/cta/add-ons.php:8
|
551 |
-
msgid "View Add-ons"
|
552 |
-
msgstr ""
|
553 |
-
|
554 |
-
#: admin/includes/cta/config.php:2
|
555 |
-
msgid "Plugin Configurations"
|
556 |
-
msgstr ""
|
557 |
-
|
558 |
-
#: admin/includes/cta/config.php:4
|
559 |
-
msgid "Plugin Version"
|
560 |
-
msgstr ""
|
561 |
-
|
562 |
-
#: admin/includes/cta/config.php:10
|
563 |
-
msgid "Release Date"
|
564 |
-
msgstr ""
|
565 |
-
|
566 |
-
#: admin/includes/cta/dyk.php:3
|
567 |
-
msgid "Did You Know?"
|
568 |
-
msgstr ""
|
569 |
-
|
570 |
-
#: admin/includes/cta/extend.php:3
|
571 |
-
msgid ""
|
572 |
-
"Unlock additional templates with the <a href=\"https://connekthq.com/plugins/"
|
573 |
-
"ajax-load-more/add-ons/custom-repeaters/?utm_source=WP"
|
574 |
-
"%20Admin&utm_medium=CustomRepeaters%20Extend&utm_campaign=Custom%20Repeaters"
|
575 |
-
"\" target=\"_parent\">Custom Repeaters add-on</a>"
|
576 |
-
msgstr ""
|
577 |
-
|
578 |
-
#: admin/includes/cta/extend.php:5
|
579 |
-
msgid "More Info"
|
580 |
-
msgstr ""
|
581 |
-
|
582 |
-
#: admin/includes/cta/pro-hero.php:26 admin/views/add-ons.php:41
|
583 |
-
msgid "Installed"
|
584 |
-
msgstr ""
|
585 |
-
|
586 |
-
#: admin/includes/cta/pro-hero.php:28
|
587 |
-
msgid "Upgrade to Pro"
|
588 |
-
msgstr ""
|
589 |
-
|
590 |
-
#: admin/includes/cta/resources.php:2
|
591 |
-
msgid "Resources"
|
592 |
-
msgstr ""
|
593 |
-
|
594 |
-
#: admin/includes/cta/resources.php:5
|
595 |
-
msgid "Ajax Load More Demo Site"
|
596 |
-
msgstr ""
|
597 |
-
|
598 |
-
#: admin/includes/cta/resources.php:6
|
599 |
-
msgid "Documentation"
|
600 |
-
msgstr ""
|
601 |
-
|
602 |
-
#: admin/includes/cta/resources.php:8 admin/includes/cta/resources.php:10
|
603 |
-
msgid "Support and Issues"
|
604 |
-
msgstr ""
|
605 |
-
|
606 |
-
#: admin/includes/cta/resources.php:12
|
607 |
-
msgid "Reviews"
|
608 |
-
msgstr ""
|
609 |
-
|
610 |
-
#: admin/includes/cta/resources.php:13
|
611 |
-
msgid "WordPress"
|
612 |
-
msgstr ""
|
613 |
-
|
614 |
-
#: admin/includes/cta/resources.php:14
|
615 |
-
msgid "Github"
|
616 |
-
msgstr ""
|
617 |
-
|
618 |
-
#: admin/includes/cta/resources.php:15 admin/includes/cta/sharing.php:14
|
619 |
-
msgid "Twitter"
|
620 |
-
msgstr ""
|
621 |
-
|
622 |
-
#: admin/includes/cta/resources.php:16 admin/includes/cta/sharing.php:17
|
623 |
-
msgid "Facebook"
|
624 |
-
msgstr ""
|
625 |
-
|
626 |
-
#: admin/includes/cta/reviews.php:1
|
627 |
-
msgid "Leave a Review"
|
628 |
-
msgstr ""
|
629 |
-
|
630 |
-
#: admin/includes/cta/reviews.php:2
|
631 |
-
msgid ""
|
632 |
-
"Good <em>or</em> bad - all reviews will help Ajax Load More push forward and "
|
633 |
-
"grow."
|
634 |
-
msgstr ""
|
635 |
-
|
636 |
-
#: admin/includes/cta/reviews.php:4
|
637 |
-
msgid "Write Review"
|
638 |
-
msgstr ""
|
639 |
-
|
640 |
-
#: admin/includes/cta/sharing.php:20
|
641 |
-
msgid "Review"
|
642 |
-
msgstr ""
|
643 |
-
|
644 |
-
#: admin/includes/cta/sharing.php:24
|
645 |
-
msgid "Don't show me this again!"
|
646 |
-
msgstr ""
|
647 |
-
|
648 |
-
#: admin/includes/cta/test.php:9
|
649 |
-
msgid "REST API Access"
|
650 |
-
msgstr ""
|
651 |
-
|
652 |
-
#: admin/includes/cta/test.php:14
|
653 |
-
msgid "REST API Blocked"
|
654 |
-
msgstr ""
|
655 |
-
|
656 |
-
#: admin/includes/cta/test.php:15
|
657 |
-
msgid ""
|
658 |
-
"Unable to access the WordPress REST API. Are you running a security plugin "
|
659 |
-
"or have your server configured in a way that may be preventing access to the "
|
660 |
-
"REST API?"
|
661 |
-
msgstr ""
|
662 |
-
|
663 |
-
#: admin/includes/cta/test.php:18
|
664 |
-
msgid "Get Plugin Support"
|
665 |
-
msgstr ""
|
666 |
-
|
667 |
-
#: admin/includes/cta/writeable.php:2
|
668 |
-
msgid "Read/Write Access"
|
669 |
-
msgstr ""
|
670 |
-
|
671 |
-
#: admin/includes/cta/writeable.php:12
|
672 |
-
msgid ""
|
673 |
-
"<p class=\"writeable-title\"><i class=\"fa fa-check\"></i><strong>Enabled</"
|
674 |
-
"strong></p><p class=\"desc\">Read/Write access is enabled within the "
|
675 |
-
"Repeater Template directory."
|
676 |
-
msgstr ""
|
677 |
-
|
678 |
-
#: admin/includes/cta/writeable.php:14
|
679 |
-
msgid ""
|
680 |
-
"<p class=\"writeable-title\"><i class=\"fa fa-exclamation\"></"
|
681 |
-
"i><strong>Access Denied</strong></p><p class=\"desc\">You must enable read "
|
682 |
-
"and write access to save repeater template data.<br/><br/>Please contact "
|
683 |
-
"your hosting provider or site administrator for more information.</p>"
|
684 |
-
msgstr ""
|
685 |
-
|
686 |
-
#: admin/includes/cta/writeable.php:17
|
687 |
-
msgid ""
|
688 |
-
"<p class=\"writeable-title\"><i class=\"fa fa-exclamation\"></"
|
689 |
-
"i><strong>Error</strong></p><p class=\"desc\">Unable to locate configuration "
|
690 |
-
"file. Directory access may not be granted."
|
691 |
-
msgstr ""
|
692 |
-
|
693 |
#: admin/shortcode-builder/components/acf.php:3
|
694 |
msgid "Advanced Custom Fields"
|
695 |
msgstr ""
|
@@ -717,16 +487,21 @@ msgstr ""
|
|
717 |
#: admin/shortcode-builder/components/rest-api.php:105
|
718 |
#: admin/shortcode-builder/components/seo.php:15
|
719 |
#: admin/shortcode-builder/components/single-post.php:15
|
720 |
-
#: admin/shortcode-builder/components/single-post.php:
|
|
|
|
|
|
|
721 |
#: admin/shortcode-builder/components/users.php:14
|
722 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
723 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
724 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
725 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
726 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
727 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
728 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
729 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
|
|
|
|
730 |
msgid "True"
|
731 |
msgstr ""
|
732 |
|
@@ -749,16 +524,21 @@ msgstr ""
|
|
749 |
#: admin/shortcode-builder/components/rest-api.php:109
|
750 |
#: admin/shortcode-builder/components/seo.php:19
|
751 |
#: admin/shortcode-builder/components/single-post.php:19
|
752 |
-
#: admin/shortcode-builder/components/single-post.php:
|
|
|
|
|
|
|
753 |
#: admin/shortcode-builder/components/users.php:18
|
754 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
755 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
756 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
757 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
758 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
759 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
760 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
761 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
|
|
|
|
762 |
msgid "False"
|
763 |
msgstr ""
|
764 |
|
@@ -936,8 +716,8 @@ msgid ""
|
|
936 |
msgstr ""
|
937 |
|
938 |
#: admin/shortcode-builder/components/comments.php:105
|
939 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
940 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
941 |
msgid "None"
|
942 |
msgstr ""
|
943 |
|
@@ -976,9 +756,11 @@ msgstr ""
|
|
976 |
|
977 |
#: admin/shortcode-builder/components/comments.php:135
|
978 |
#: admin/shortcode-builder/components/nextpage.php:108
|
979 |
-
#: admin/shortcode-builder/components/single-post.php:
|
980 |
-
#: admin/shortcode-builder/components/single-post.php:
|
981 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
|
|
|
|
982 |
msgid "View Docs"
|
983 |
msgstr ""
|
984 |
|
@@ -1046,6 +828,7 @@ msgid "Enable filters with this Ajax Load More instance."
|
|
1046 |
msgstr ""
|
1047 |
|
1048 |
#: admin/shortcode-builder/components/filters.php:30
|
|
|
1049 |
msgid "Target"
|
1050 |
msgstr ""
|
1051 |
|
@@ -1160,7 +943,7 @@ msgid "Enable the infinite scrolling of multipage WordPress content using the"
|
|
1160 |
msgstr ""
|
1161 |
|
1162 |
#: admin/shortcode-builder/components/nextpage.php:8
|
1163 |
-
msgid "Quicktag"
|
1164 |
msgstr ""
|
1165 |
|
1166 |
#: admin/shortcode-builder/components/nextpage.php:43
|
@@ -1168,11 +951,11 @@ msgid "URL Rewrite"
|
|
1168 |
msgstr ""
|
1169 |
|
1170 |
#: admin/shortcode-builder/components/nextpage.php:44
|
1171 |
-
msgid "Update the browser address bar as pages come into view"
|
1172 |
msgstr ""
|
1173 |
|
1174 |
#: admin/shortcode-builder/components/nextpage.php:51
|
1175 |
-
msgid "Yes, update the URL"
|
1176 |
msgstr ""
|
1177 |
|
1178 |
#: admin/shortcode-builder/components/nextpage.php:62
|
@@ -1182,15 +965,15 @@ msgstr ""
|
|
1182 |
#: admin/shortcode-builder/components/nextpage.php:63
|
1183 |
msgid ""
|
1184 |
"You must have a reference to your Google Analytics tracking code already on "
|
1185 |
-
"the page"
|
1186 |
msgstr ""
|
1187 |
|
1188 |
#: admin/shortcode-builder/components/nextpage.php:65
|
1189 |
-
msgid "Each time a page is loaded it will count as a pageview"
|
1190 |
msgstr ""
|
1191 |
|
1192 |
#: admin/shortcode-builder/components/nextpage.php:72
|
1193 |
-
msgid "Yes, send pageviews to Google Analytics"
|
1194 |
msgstr ""
|
1195 |
|
1196 |
#: admin/shortcode-builder/components/nextpage.php:82
|
@@ -1198,24 +981,24 @@ msgid "Scroll to Page"
|
|
1198 |
msgstr ""
|
1199 |
|
1200 |
#: admin/shortcode-builder/components/nextpage.php:84
|
1201 |
-
msgid "Scroll users automatically to the next page on 'Load More' action"
|
1202 |
msgstr ""
|
1203 |
|
1204 |
#: admin/shortcode-builder/components/nextpage.php:90
|
1205 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1206 |
msgid "Enable Scrolling"
|
1207 |
msgstr ""
|
1208 |
|
1209 |
#: admin/shortcode-builder/components/nextpage.php:99
|
1210 |
msgid ""
|
1211 |
"The scrolltop position of the window (used with scrolling and fwd/back "
|
1212 |
-
"browser buttons)"
|
1213 |
msgstr ""
|
1214 |
|
1215 |
#: admin/shortcode-builder/components/nextpage.php:108
|
1216 |
msgid ""
|
1217 |
-
"You must add the Next Page shortcode directly to your
|
1218 |
-
"
|
1219 |
"do_shortcode/\" target=\"_blank\">do_shortcode</a> method."
|
1220 |
msgstr ""
|
1221 |
|
@@ -1366,13 +1149,16 @@ msgid ""
|
|
1366 |
msgstr ""
|
1367 |
|
1368 |
#: admin/shortcode-builder/components/rest-api.php:86
|
1369 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1370 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1371 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1372 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1373 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1374 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1375 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
|
|
|
|
|
|
1376 |
msgid "View Example"
|
1377 |
msgstr ""
|
1378 |
|
@@ -1408,151 +1194,215 @@ msgid "Enable the infinite scrolling of single posts."
|
|
1408 |
msgstr ""
|
1409 |
|
1410 |
#: admin/shortcode-builder/components/single-post.php:42
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1411 |
msgid "Post Ordering"
|
1412 |
msgstr ""
|
1413 |
|
1414 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1415 |
msgid ""
|
1416 |
"By default, the Single Posts add-on will use the core WordPress "
|
1417 |
"`get_previous_post` function, but you can over ride that here."
|
1418 |
msgstr ""
|
1419 |
|
1420 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1421 |
msgid "Select the load order of posts while infinite scrolling."
|
1422 |
msgstr ""
|
1423 |
|
1424 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1425 |
msgid "Previous Post (by date DESC)"
|
1426 |
msgstr ""
|
1427 |
|
1428 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1429 |
msgid "Latest (Start at most recent post)"
|
1430 |
msgstr ""
|
1431 |
|
1432 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1433 |
msgid "Next Post (by date ASC)"
|
1434 |
msgstr ""
|
1435 |
|
1436 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1437 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1438 |
msgid "Post ID Array"
|
1439 |
msgstr ""
|
1440 |
|
1441 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1442 |
msgid "A comma separated list of post ID's to query by order."
|
1443 |
msgstr ""
|
1444 |
|
1445 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1446 |
-
#: admin/shortcode-builder/
|
|
|
1447 |
msgid "Taxonomy"
|
1448 |
msgstr ""
|
1449 |
|
1450 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1451 |
msgid ""
|
1452 |
"Selecting a taxonomy means only previous posts from the same taxonomy term "
|
1453 |
"will be returned. If a post has multiple terms attached, each term will be "
|
1454 |
-
"considered using an OR relationship query"
|
1455 |
msgstr ""
|
1456 |
|
1457 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1458 |
msgid "Query previous posts from the same taxonomy term(s)."
|
1459 |
msgstr ""
|
1460 |
|
1461 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1462 |
#: admin/shortcode-builder/includes/tax-query-options.php:5
|
1463 |
#: admin/shortcode-builder/includes/tax-query-options.php:62
|
1464 |
#: admin/shortcode-builder/includes/tax-query-options.php:105
|
1465 |
msgid "Select Taxonomy"
|
1466 |
msgstr ""
|
1467 |
|
1468 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1469 |
-
#: admin/shortcode-builder/
|
|
|
1470 |
msgid "Category"
|
1471 |
msgstr ""
|
1472 |
|
1473 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1474 |
-
#: admin/shortcode-builder/
|
|
|
1475 |
msgid "Tag"
|
1476 |
msgstr ""
|
1477 |
|
1478 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1479 |
msgid "Excluded Terms "
|
1480 |
msgstr ""
|
1481 |
|
1482 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1483 |
-
msgid "A comma-separated list of excluded terms by ID"
|
1484 |
msgstr ""
|
1485 |
|
1486 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1487 |
msgid "Exclude posts by term ID from the previous post query."
|
1488 |
msgstr ""
|
1489 |
|
1490 |
-
#: admin/shortcode-builder/components/single-post.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1491 |
msgid "Reading Progress Bar "
|
1492 |
msgstr ""
|
1493 |
|
1494 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1495 |
msgid ""
|
1496 |
"Display a reading progress bar indicator at the top or bottom of the browser "
|
1497 |
"window."
|
1498 |
msgstr ""
|
1499 |
|
1500 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1501 |
msgid "Position"
|
1502 |
msgstr ""
|
1503 |
|
1504 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1505 |
msgid "Select the window position of the progress bar."
|
1506 |
msgstr ""
|
1507 |
|
1508 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1509 |
msgid "Top"
|
1510 |
msgstr ""
|
1511 |
|
1512 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1513 |
msgid "Bottom"
|
1514 |
msgstr ""
|
1515 |
|
1516 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1517 |
msgid "Height"
|
1518 |
msgstr ""
|
1519 |
|
1520 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1521 |
msgid "Select the height of the progress bar in pixels."
|
1522 |
msgstr ""
|
1523 |
|
1524 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1525 |
msgid "Colors"
|
1526 |
msgstr ""
|
1527 |
|
1528 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1529 |
msgid "Enter the hex color values of the reading progress bar"
|
1530 |
msgstr ""
|
1531 |
|
1532 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1533 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1534 |
msgid "Default:"
|
1535 |
msgstr ""
|
1536 |
|
1537 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1538 |
msgid "Foreground Color:"
|
1539 |
msgstr ""
|
1540 |
|
1541 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1542 |
msgid "Background Color:"
|
1543 |
msgstr ""
|
1544 |
|
1545 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1546 |
msgid "Leave empty for a transparent background"
|
1547 |
msgstr ""
|
1548 |
|
1549 |
-
#: admin/shortcode-builder/components/single-post.php:
|
1550 |
msgid ""
|
1551 |
"You must add the Single Post shortcode directly to your single template file "
|
1552 |
"using the <a href=\"https://developer.wordpress.org/reference/functions/"
|
1553 |
"do_shortcode/\" target=\"_blank\">do_shortcode</a> method."
|
1554 |
msgstr ""
|
1555 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1556 |
#: admin/shortcode-builder/components/users.php:3 core/functions.php:230
|
1557 |
msgid "Users"
|
1558 |
msgstr ""
|
@@ -1574,9 +1424,9 @@ msgid "All Roles"
|
|
1574 |
msgstr ""
|
1575 |
|
1576 |
#: admin/shortcode-builder/components/users.php:56
|
1577 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1578 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1579 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1580 |
msgid "Include"
|
1581 |
msgstr ""
|
1582 |
|
@@ -1585,9 +1435,9 @@ msgid "A comma separated list of users to be included by ID"
|
|
1585 |
msgstr ""
|
1586 |
|
1587 |
#: admin/shortcode-builder/components/users.php:70
|
1588 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1589 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1590 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1591 |
msgid "Exclude"
|
1592 |
msgstr ""
|
1593 |
|
@@ -1612,12 +1462,12 @@ msgid "Sort users by Order and Orderby parameters"
|
|
1612 |
msgstr ""
|
1613 |
|
1614 |
#: admin/shortcode-builder/components/users.php:102
|
1615 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1616 |
msgid "Order"
|
1617 |
msgstr ""
|
1618 |
|
1619 |
#: admin/shortcode-builder/components/users.php:109
|
1620 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1621 |
msgid "Order By"
|
1622 |
msgstr ""
|
1623 |
|
@@ -1670,7 +1520,7 @@ msgid "Taxonomy Operator:"
|
|
1670 |
msgstr ""
|
1671 |
|
1672 |
#: admin/shortcode-builder/includes/tax-query-options.php:48
|
1673 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1674 |
msgid "Relation:"
|
1675 |
msgstr ""
|
1676 |
|
@@ -1679,670 +1529,766 @@ msgid ""
|
|
1679 |
"The logical relationship between each taxonomy when there is more than one."
|
1680 |
msgstr ""
|
1681 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1682 |
#: admin/shortcode-builder/shortcode-builder.php:23
|
1683 |
msgid "Add-ons & Extensions"
|
1684 |
msgstr ""
|
1685 |
|
1686 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1687 |
msgid "Display Settings"
|
1688 |
msgstr ""
|
1689 |
|
1690 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1691 |
msgid "ID"
|
1692 |
msgstr ""
|
1693 |
|
1694 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1695 |
msgid ""
|
1696 |
"Adding a unique ID will allow you target this specific Ajax Load More "
|
1697 |
"instance with the alm_query_args_id() filter"
|
1698 |
msgstr ""
|
1699 |
|
1700 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1701 |
msgid "Set a unique ID for this Ajax Load More instance."
|
1702 |
msgstr ""
|
1703 |
|
1704 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1705 |
#: admin/views/repeater-templates.php:493
|
1706 |
msgid "Learn More"
|
1707 |
msgstr ""
|
1708 |
|
1709 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1710 |
msgid "Generate Unique ID"
|
1711 |
msgstr ""
|
1712 |
|
1713 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1714 |
msgid ""
|
1715 |
"You can define a global button/loading style on the Ajax Load More settings "
|
1716 |
"screen"
|
1717 |
msgstr ""
|
1718 |
|
1719 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1720 |
msgid ""
|
1721 |
"Select an Ajax loading style - you can choose between a Button or Infinite "
|
1722 |
"Scroll."
|
1723 |
msgstr ""
|
1724 |
|
1725 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1726 |
msgid ""
|
1727 |
"You can define a global container type on the Ajax Load More settings screen"
|
1728 |
msgstr ""
|
1729 |
|
1730 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1731 |
msgid ""
|
1732 |
"Override the global Container Type set in <a href=\"admin.php?page=ajax-load-"
|
1733 |
"more\">ALM Settings</a>."
|
1734 |
msgstr ""
|
1735 |
|
1736 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1737 |
msgid ""
|
1738 |
"You can define global container classes on the Ajax Load More settings screen"
|
1739 |
msgstr ""
|
1740 |
|
1741 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1742 |
msgid "Add custom CSS classes to the <span>.alm-listing</span> container."
|
1743 |
msgstr ""
|
1744 |
|
1745 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1746 |
msgid "Pause"
|
1747 |
msgstr ""
|
1748 |
|
1749 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1750 |
msgid ""
|
1751 |
"Don't load any Ajax content until the user clicks or interacts with the "
|
1752 |
"<em>Load More</em> button."
|
1753 |
msgstr ""
|
1754 |
|
1755 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1756 |
msgid "Destroy After"
|
1757 |
msgstr ""
|
1758 |
|
1759 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1760 |
msgid ""
|
1761 |
"Remove Ajax Load More functionality after {<em>n</em>} number of pages have "
|
1762 |
"been loaded."
|
1763 |
msgstr ""
|
1764 |
|
1765 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1766 |
msgid "Images Loaded"
|
1767 |
msgstr ""
|
1768 |
|
1769 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1770 |
msgid "Background images are not supported."
|
1771 |
msgstr ""
|
1772 |
|
1773 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1774 |
msgid "Wait for all images to load before displaying ajax loaded content."
|
1775 |
msgstr ""
|
1776 |
|
1777 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1778 |
msgid "Loading Placeholder"
|
1779 |
msgstr ""
|
1780 |
|
1781 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1782 |
msgid ""
|
1783 |
"A loading placeholder can help the understand content is about to rendered."
|
1784 |
msgstr ""
|
1785 |
|
1786 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1787 |
msgid "Display a placeholder image while Ajax content is being loaded."
|
1788 |
msgstr ""
|
1789 |
|
1790 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1791 |
msgid "URL:"
|
1792 |
msgstr ""
|
1793 |
|
1794 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1795 |
msgid "No Results Text"
|
1796 |
msgstr ""
|
1797 |
|
1798 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1799 |
msgid ""
|
1800 |
"HTML is allowed, however when adding quote marks in classnames or IDs you "
|
1801 |
"must single quotes as shown in the example."
|
1802 |
msgstr ""
|
1803 |
|
1804 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1805 |
msgid ""
|
1806 |
"Add text/html to be displayed when no results are returned in the Ajax query."
|
1807 |
msgstr ""
|
1808 |
|
1809 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1810 |
msgid ""
|
1811 |
"e.g. <div class='no-results'>Sorry, nothing found in this query</div>"
|
1812 |
msgstr ""
|
1813 |
|
1814 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1815 |
msgid "Nested Instance"
|
1816 |
msgstr ""
|
1817 |
|
1818 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1819 |
msgid ""
|
1820 |
"When nesting ALM instances it's important to set this to true as it removes "
|
1821 |
"any problematic JavaScript functionality."
|
1822 |
msgstr ""
|
1823 |
|
1824 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1825 |
msgid ""
|
1826 |
"Is this instance of Ajax Load More nested inside another instance of Ajax "
|
1827 |
"Load More?"
|
1828 |
msgstr ""
|
1829 |
|
1830 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1831 |
msgid "Template Selection"
|
1832 |
msgstr ""
|
1833 |
|
1834 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1835 |
msgid "Repeater Template"
|
1836 |
msgstr ""
|
1837 |
|
1838 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1839 |
msgid ""
|
1840 |
"Select which <a href=\"admin.php?page=ajax-load-more-repeaters\" target="
|
1841 |
"\"_parent\">Repeater Template</a> you would like to use."
|
1842 |
msgstr ""
|
1843 |
|
1844 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1845 |
msgid "Button Labels"
|
1846 |
msgstr ""
|
1847 |
|
1848 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1849 |
msgid "Label"
|
1850 |
msgstr ""
|
1851 |
|
1852 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1853 |
msgid "Customize the text of the <em>Load More</em> button."
|
1854 |
msgstr ""
|
1855 |
|
1856 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1857 |
msgid "Loading Label"
|
1858 |
msgstr ""
|
1859 |
|
1860 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1861 |
msgid "Leave field empty to not update text while loading content"
|
1862 |
msgstr ""
|
1863 |
|
1864 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1865 |
msgid ""
|
1866 |
"Update the text of the <em>Load More</em> button while content is loading."
|
1867 |
msgstr ""
|
1868 |
|
1869 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1870 |
msgid "Loading Posts..."
|
1871 |
msgstr ""
|
1872 |
|
1873 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1874 |
msgid "Scrolling"
|
1875 |
msgstr ""
|
1876 |
|
1877 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1878 |
msgid "Load more posts as the user scrolls the page."
|
1879 |
msgstr ""
|
1880 |
|
1881 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1882 |
msgid "Scroll Distance"
|
1883 |
msgstr ""
|
1884 |
|
1885 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1886 |
msgid ""
|
1887 |
"Distance is based on the position of the loading button from the bottom of "
|
1888 |
"the screen"
|
1889 |
msgstr ""
|
1890 |
|
1891 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1892 |
msgid ""
|
1893 |
"The distance from the bottom of the screen to trigger loading of posts. "
|
1894 |
"(Default = 100)"
|
1895 |
msgstr ""
|
1896 |
|
1897 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1898 |
msgid "Pro-tip"
|
1899 |
msgstr ""
|
1900 |
|
1901 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1902 |
msgid ""
|
1903 |
"Use a negative number (-200) to trigger a post load before the button is in "
|
1904 |
"view"
|
1905 |
msgstr ""
|
1906 |
|
1907 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1908 |
msgid "Scroll Container"
|
1909 |
msgstr ""
|
1910 |
|
1911 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1912 |
msgid "Confine Ajax Load More scrolling to a parent container."
|
1913 |
msgstr ""
|
1914 |
|
1915 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1916 |
msgid "Enter the ID or classname of the parent container"
|
1917 |
msgstr ""
|
1918 |
|
1919 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1920 |
msgid "Maximum Pages"
|
1921 |
msgstr ""
|
1922 |
|
1923 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1924 |
msgid "If using an Infinite Scroll button style you should set this to 0"
|
1925 |
msgstr ""
|
1926 |
|
1927 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1928 |
msgid "Maximum number of pages to load while scrolling. (0 = unlimited)"
|
1929 |
msgstr ""
|
1930 |
|
1931 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1932 |
msgid "Pause Override"
|
1933 |
msgstr ""
|
1934 |
|
1935 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1936 |
msgid ""
|
1937 |
"Allow scrolling to override the Pause parameter and trigger the loading of "
|
1938 |
"posts on scroll."
|
1939 |
msgstr ""
|
1940 |
|
1941 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1942 |
msgid "Transition"
|
1943 |
msgstr ""
|
1944 |
|
1945 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1946 |
msgid "Type"
|
1947 |
msgstr ""
|
1948 |
|
1949 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1950 |
msgid "Select a loading transition style."
|
1951 |
msgstr ""
|
1952 |
|
1953 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1954 |
msgid "Fade In"
|
1955 |
msgstr ""
|
1956 |
|
1957 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1958 |
msgid "Masonry"
|
1959 |
msgstr ""
|
1960 |
|
1961 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1962 |
msgid "Masonry Options"
|
1963 |
msgstr ""
|
1964 |
|
1965 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1966 |
msgid "Ajax Load More does not support all available Masonry options"
|
1967 |
msgstr ""
|
1968 |
|
1969 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1970 |
msgid ""
|
1971 |
"The following Masonry <a href=\"https://masonry.desandro.com/options.html\" "
|
1972 |
"target=\"_blank\">options</a> are supported by Ajax Load More."
|
1973 |
msgstr ""
|
1974 |
|
1975 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1976 |
msgid "Item Selector"
|
1977 |
msgstr ""
|
1978 |
|
1979 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1980 |
msgid ""
|
1981 |
"Item Selector is required for Masonry to target each element loaded with "
|
1982 |
"Ajax."
|
1983 |
msgstr ""
|
1984 |
|
1985 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1986 |
msgid "Enter the target classname of each masonry item."
|
1987 |
msgstr ""
|
1988 |
|
1989 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1990 |
msgid "Column Width"
|
1991 |
msgstr ""
|
1992 |
|
1993 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
1994 |
msgid ""
|
1995 |
"If columnWidth is not set, Masonry will use the outer width of the first "
|
1996 |
"Item Selector."
|
1997 |
msgstr ""
|
1998 |
|
1999 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2000 |
msgid ""
|
2001 |
"Enter the <a href=\"https://masonry.desandro.com/options.html#columnwidth\" "
|
2002 |
"target=\"_blank\">columnWidth</a> of the masonry items."
|
2003 |
msgstr ""
|
2004 |
|
2005 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2006 |
msgid "Animation Type"
|
2007 |
msgstr ""
|
2008 |
|
2009 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2010 |
msgid "All Masonry animations include a fade-in effect as items are loaded."
|
2011 |
msgstr ""
|
2012 |
|
2013 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2014 |
msgid "Select a loading transition for Masonry items."
|
2015 |
msgstr ""
|
2016 |
|
2017 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2018 |
msgid "Default (Zoom)"
|
2019 |
msgstr ""
|
2020 |
|
2021 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2022 |
msgid "Items scale up from 50% to 100% size on load."
|
2023 |
msgstr ""
|
2024 |
|
2025 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2026 |
msgid "Zoom Out"
|
2027 |
msgstr ""
|
2028 |
|
2029 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2030 |
msgid "Items scale down from 125% to 100% size on load."
|
2031 |
msgstr ""
|
2032 |
|
2033 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2034 |
msgid "Slide Up"
|
2035 |
msgstr ""
|
2036 |
|
2037 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2038 |
msgid "Items animate up as they are loaded into view."
|
2039 |
msgstr ""
|
2040 |
|
2041 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2042 |
msgid "Slide Down"
|
2043 |
msgstr ""
|
2044 |
|
2045 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2046 |
msgid "Items animate down when loaded into view."
|
2047 |
msgstr ""
|
2048 |
|
2049 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2050 |
msgid "Horizontal Order"
|
2051 |
msgstr ""
|
2052 |
|
2053 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2054 |
msgid "Lays out items to maintain left-to-right order."
|
2055 |
msgstr ""
|
2056 |
|
2057 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2058 |
msgid ""
|
2059 |
"Don't see your favorite Masonry option listed? You can always add your own!"
|
2060 |
msgstr ""
|
2061 |
|
2062 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2063 |
msgid "Transition Container Classes"
|
2064 |
msgstr ""
|
2065 |
|
2066 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2067 |
msgid "This setting is not available with the Single Post or Next Page add-ons"
|
2068 |
msgstr ""
|
2069 |
|
2070 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2071 |
msgid "Add custom classes to the <span>.alm-reveal</span> loading container"
|
2072 |
msgstr ""
|
2073 |
|
2074 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2075 |
msgid "Transition Container"
|
2076 |
msgstr ""
|
2077 |
|
2078 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2079 |
msgid ""
|
2080 |
"Removing the transition container may have undesired results and is not "
|
2081 |
"recommended"
|
2082 |
msgstr ""
|
2083 |
|
2084 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2085 |
msgid ""
|
2086 |
"Remove the <span>.alm-reveal</span> loading container from Ajax Load More"
|
2087 |
msgstr ""
|
2088 |
|
2089 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2090 |
msgid "Remove Container"
|
2091 |
msgstr ""
|
2092 |
|
2093 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2094 |
msgid "Progress Bar"
|
2095 |
msgstr ""
|
2096 |
|
2097 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2098 |
msgid ""
|
2099 |
"Display progress bar indicator at the top of the window while loading Ajax "
|
2100 |
"content."
|
2101 |
msgstr ""
|
2102 |
|
2103 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2104 |
msgid "Color"
|
2105 |
msgstr ""
|
2106 |
|
2107 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2108 |
msgid "Enter the hex color of the progress bar"
|
2109 |
msgstr ""
|
2110 |
|
2111 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2112 |
msgid "Query Parameters"
|
2113 |
msgstr ""
|
2114 |
|
2115 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2116 |
msgid "Posts Per Page"
|
2117 |
msgstr ""
|
2118 |
|
2119 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2120 |
msgid "Select the number of posts to load with each Ajax request."
|
2121 |
msgstr ""
|
2122 |
|
2123 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2124 |
msgid "Post Type"
|
2125 |
msgstr ""
|
2126 |
|
2127 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2128 |
msgid "Select the Post Types to include in this Ajax Load More query."
|
2129 |
msgstr ""
|
2130 |
|
2131 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2132 |
msgid "Any"
|
2133 |
msgstr ""
|
2134 |
|
2135 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2136 |
msgid "Sticky Posts"
|
2137 |
msgstr ""
|
2138 |
|
2139 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2140 |
msgid "Sticky posts are only available for Posts"
|
2141 |
msgstr ""
|
2142 |
|
2143 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2144 |
msgid ""
|
2145 |
"Preserve the ordering of sticky posts by having them appear first in the "
|
2146 |
"Ajax listing."
|
2147 |
msgstr ""
|
2148 |
|
2149 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2150 |
msgid "Enable Sticky Posts"
|
2151 |
msgstr ""
|
2152 |
|
2153 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2154 |
msgid "Post Format"
|
2155 |
msgstr ""
|
2156 |
|
2157 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2158 |
msgid ""
|
2159 |
"Select a <a href=\"http://codex.wordpress.org/Post_Formats\" target=\"_blank"
|
2160 |
"\">Post Format</a> to query."
|
2161 |
msgstr ""
|
2162 |
|
2163 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2164 |
msgid "Select Post Format"
|
2165 |
msgstr ""
|
2166 |
|
2167 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2168 |
msgid "Standard"
|
2169 |
msgstr ""
|
2170 |
|
2171 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2172 |
msgid "Get posts by category using a category_name or category__and query"
|
2173 |
msgstr ""
|
2174 |
|
2175 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2176 |
msgid "Comma separated list of categories to include by"
|
2177 |
msgstr ""
|
2178 |
|
2179 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2180 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2181 |
msgid "slug"
|
2182 |
msgstr ""
|
2183 |
|
2184 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2185 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2186 |
msgid "What's this"
|
2187 |
msgstr ""
|
2188 |
|
2189 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2190 |
msgid "Comma separated list of categories to exclude by ID."
|
2191 |
msgstr ""
|
2192 |
|
2193 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2194 |
msgid "Get posts by tags using a tag or tag__and query"
|
2195 |
msgstr ""
|
2196 |
|
2197 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2198 |
msgid "Comma separated list of tags to include by"
|
2199 |
msgstr ""
|
2200 |
|
2201 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2202 |
msgid "Comma separated list of tags to exclude by ID"
|
2203 |
msgstr ""
|
2204 |
|
2205 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2206 |
msgid "Select a taxonomy then select the terms and an operator."
|
2207 |
msgstr ""
|
2208 |
|
2209 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2210 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2211 |
msgid "Add Another"
|
2212 |
msgstr ""
|
2213 |
|
2214 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2215 |
msgid "Custom Fields (Meta_Query)"
|
2216 |
msgstr ""
|
2217 |
|
2218 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2219 |
msgid ""
|
2220 |
"Query for <a href=\"http://codex.wordpress.org/Class_Reference/WP_Meta_Query"
|
2221 |
"\" target=\"_blank\">custom field</a> by entering a custom field key, value "
|
2222 |
"and operator."
|
2223 |
msgstr ""
|
2224 |
|
2225 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2226 |
msgid ""
|
2227 |
"The logical relationship between each custom field when there is more than "
|
2228 |
"one"
|
2229 |
msgstr ""
|
2230 |
|
2231 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2232 |
msgid "Date"
|
2233 |
msgstr ""
|
2234 |
|
2235 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2236 |
msgid "Enter a year, month(number) and day to query by date archive."
|
2237 |
msgstr ""
|
2238 |
|
2239 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2240 |
msgid "Year:"
|
2241 |
msgstr ""
|
2242 |
|
2243 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2244 |
msgid "Month:"
|
2245 |
msgstr ""
|
2246 |
|
2247 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2248 |
msgid "Day:"
|
2249 |
msgstr ""
|
2250 |
|
2251 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2252 |
msgid "Author"
|
2253 |
msgstr ""
|
2254 |
|
2255 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2256 |
msgid "Select an Author to query(by ID)."
|
2257 |
msgstr ""
|
2258 |
|
2259 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2260 |
-
msgid "Search
|
2261 |
msgstr ""
|
2262 |
|
2263 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2264 |
msgid "Enter a search term to query."
|
2265 |
msgstr ""
|
2266 |
|
2267 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
2268 |
msgid "Enter search term"
|
2269 |
msgstr ""
|
2270 |
|
2271 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2272 |
msgid "Post Parameters"
|
2273 |
msgstr ""
|
2274 |
|
2275 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2276 |
msgid "A comma separated list of post ID's to query."
|
2277 |
msgstr ""
|
2278 |
|
2279 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2280 |
msgid "225, 340, 818, etc..."
|
2281 |
msgstr ""
|
2282 |
|
2283 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2284 |
msgid "A comma separated list of post ID's to exclude from query."
|
2285 |
msgstr ""
|
2286 |
|
2287 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2288 |
msgid "Post Status"
|
2289 |
msgstr ""
|
2290 |
|
2291 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2292 |
msgid ""
|
2293 |
"Post Status parameters are only available for logged in (admin) users. Non "
|
2294 |
"logged in users will only have access to view content in a 'publish' or "
|
2295 |
"'inherit' state."
|
2296 |
msgstr ""
|
2297 |
|
2298 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2299 |
msgid "Select status of the post."
|
2300 |
msgstr ""
|
2301 |
|
2302 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2303 |
msgid "Published"
|
2304 |
msgstr ""
|
2305 |
|
2306 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2307 |
msgid "Ordering"
|
2308 |
msgstr ""
|
2309 |
|
2310 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2311 |
msgid "Sort posts by Order and Orderby parameters."
|
2312 |
msgstr ""
|
2313 |
|
2314 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2315 |
msgid "Offset"
|
2316 |
msgstr ""
|
2317 |
|
2318 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2319 |
msgid "Offset the initial query by <em>'x'</em> number of posts"
|
2320 |
msgstr ""
|
2321 |
|
2322 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2323 |
msgid "Custom Arguments"
|
2324 |
msgstr ""
|
2325 |
|
2326 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2327 |
msgid "A semicolon separated list of custom value:pair arguments."
|
2328 |
msgstr ""
|
2329 |
|
2330 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2331 |
msgid ""
|
2332 |
"Custom Arguments can be used to query by parameters not available in the "
|
2333 |
"Shortcode Builder"
|
2334 |
msgstr ""
|
2335 |
|
2336 |
-
#: admin/shortcode-builder/shortcode-builder.php:
|
2337 |
msgid "event_display:upcoming"
|
2338 |
msgstr ""
|
2339 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2340 |
#: admin/views/add-ons.php:7
|
2341 |
msgid ""
|
2342 |
"Add-ons are available to extend and enhance the core functionality of Ajax "
|
2343 |
"Load More"
|
2344 |
msgstr ""
|
2345 |
|
|
|
|
|
|
|
|
|
2346 |
#: admin/views/add-ons.php:43
|
2347 |
msgid "Purchase"
|
2348 |
msgstr ""
|
@@ -2543,7 +2489,7 @@ msgstr ""
|
|
2543 |
|
2544 |
#: admin/views/licenses.php:167
|
2545 |
msgid ""
|
2546 |
-
"Please try deactivating and then re-activating each license. Once you
|
2547 |
"done that, try running the update again."
|
2548 |
msgstr ""
|
2549 |
|
@@ -2689,15 +2635,15 @@ msgstr ""
|
|
2689 |
msgid "Reset"
|
2690 |
msgstr ""
|
2691 |
|
2692 |
-
#: ajax-load-more.php:
|
2693 |
msgid "Error creating repeater template directory"
|
2694 |
msgstr ""
|
2695 |
|
2696 |
-
#: ajax-load-more.php:
|
2697 |
-
msgid "
|
2698 |
msgstr ""
|
2699 |
|
2700 |
-
#: ajax-load-more.php:
|
2701 |
msgid "No results found."
|
2702 |
msgstr ""
|
2703 |
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Ajax Load More\n"
|
5 |
+
"POT-Creation-Date: 2020-03-13 10:00-0400\n"
|
6 |
"PO-Revision-Date: 2018-06-20 13:05-0500\n"
|
7 |
"Last-Translator: Darren Cooney <darren@connekthq.com>\n"
|
8 |
"Language-Team: \n"
|
18 |
"X-Poedit-SearchPathExcluded-0: core/src\n"
|
19 |
"X-Poedit-SearchPathExcluded-1: admin/src\n"
|
20 |
|
21 |
+
#: admin/admin.php:75
|
22 |
msgid "Looks like your subscription has expired."
|
23 |
msgstr ""
|
24 |
|
25 |
+
#: admin/admin.php:76
|
26 |
msgid ""
|
27 |
"Please login to your <a href=\"https://connekthq.com/account/\" target="
|
28 |
"\"_blank\">Account</a> to renew the license."
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: admin/admin.php:83
|
32 |
msgid "Looks like your license is inactive and/or invalid."
|
33 |
msgstr ""
|
34 |
|
35 |
+
#: admin/admin.php:84
|
36 |
msgid ""
|
37 |
"Please activate the <a href=\"admin.php?page=ajax-load-more-licenses\" "
|
38 |
"target=\"_blank\">license</a> or login to your <a href=\"https://connekthq."
|
39 |
"com/account/\" target=\"_blank\">Account</a> to renew the license."
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: admin/admin.php:91
|
43 |
msgid "Looks like your license has been deactivated."
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: admin/admin.php:92
|
47 |
msgid ""
|
48 |
"Please activate the <a href=\"admin.php?page=ajax-load-more-licenses\" "
|
49 |
"target=\"_blank\">license</a> to update."
|
50 |
msgstr ""
|
51 |
|
52 |
+
#: admin/admin.php:125
|
53 |
+
#, php-format
|
54 |
+
msgid ""
|
55 |
+
"%sRegister%s your copy of %s to receive access to automatic upgrades and "
|
56 |
+
"support. Need a license key? %sPurchase one now%s."
|
57 |
+
msgstr ""
|
58 |
+
|
59 |
+
#: admin/admin.php:191 admin/admin.php:1323
|
60 |
#: vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:170
|
61 |
#: vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:241
|
62 |
msgid "Error - unable to verify nonce, please try again."
|
63 |
msgstr ""
|
64 |
|
65 |
+
#: admin/admin.php:195
|
66 |
msgid "Transient set successfully"
|
67 |
msgstr ""
|
68 |
|
69 |
+
#: admin/admin.php:312 admin/admin.php:477 admin/admin.php:1185
|
70 |
+
#: admin/admin.php:1230 admin/admin.php:1280
|
71 |
msgid "You don't belong here."
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: admin/admin.php:341
|
75 |
msgid ""
|
76 |
"You have an invalid or expired <a href=\"admin.php?page=ajax-load-more"
|
77 |
"\"><b>Ajax Load More Pro</b></a> license key - please visit the <a href="
|
80 |
"\"_blank\">purchase</a> one now."
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: admin/admin.php:345
|
84 |
msgid ""
|
85 |
"You have invalid or expired <a href=\"admin.php?page=ajax-load-more"
|
86 |
"\"><b>Ajax Load More</b></a> license keys - please visit the <a href=\"admin."
|
87 |
"php?page=ajax-load-more-licenses\">Licenses</a> section and input your keys."
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: admin/admin.php:512
|
91 |
msgid "Ajax Load More"
|
92 |
msgstr ""
|
93 |
|
94 |
+
#: admin/admin.php:513 admin/editor/editor-build.php:69
|
95 |
#: admin/views/licenses.php:93
|
96 |
msgid "Active"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: admin/admin.php:514 admin/editor/editor-build.php:70
|
100 |
#: admin/views/licenses.php:101
|
101 |
msgid "Inactive"
|
102 |
msgstr ""
|
103 |
|
104 |
+
#: admin/admin.php:515 admin/editor/editor-build.php:71
|
105 |
msgid "Applying layout"
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: admin/admin.php:516 admin/editor/editor-build.php:72
|
109 |
#: admin/views/repeater-templates.php:437
|
110 |
msgid "Template Updated"
|
111 |
msgstr ""
|
112 |
|
113 |
+
#: admin/admin.php:518 admin/editor/editor-build.php:75
|
114 |
msgid "Select Author(s)"
|
115 |
msgstr ""
|
116 |
|
117 |
+
#: admin/admin.php:519 admin/editor/editor-build.php:76
|
118 |
msgid "Select Categories"
|
119 |
msgstr ""
|
120 |
|
121 |
+
#: admin/admin.php:520 admin/editor/editor-build.php:77
|
122 |
msgid "Select Tags"
|
123 |
msgstr ""
|
124 |
|
125 |
+
#: admin/admin.php:521 admin/editor/editor-build.php:74
|
126 |
msgid "Select"
|
127 |
msgstr ""
|
128 |
|
129 |
+
#: admin/admin.php:522 admin/editor/editor-build.php:41
|
130 |
#: admin/editor/editor-build.php:78
|
131 |
msgid "Jump to Option"
|
132 |
msgstr ""
|
133 |
|
134 |
+
#: admin/admin.php:523 admin/editor/editor-build.php:79
|
135 |
msgid "Jump to Template"
|
136 |
msgstr ""
|
137 |
|
138 |
+
#: admin/admin.php:524
|
139 |
msgid "Are you sure you want to install this Ajax Load More extension?"
|
140 |
msgstr ""
|
141 |
|
142 |
+
#: admin/admin.php:525
|
143 |
#: vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:51
|
144 |
#: vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:379
|
145 |
msgid "Install Now"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: admin/admin.php:526
|
149 |
#: vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:90
|
150 |
#: vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:380
|
151 |
msgid "Activate"
|
152 |
msgstr ""
|
153 |
|
154 |
+
#: admin/admin.php:527
|
155 |
msgid "Saving Settings"
|
156 |
msgstr ""
|
157 |
|
158 |
+
#: admin/admin.php:528
|
159 |
msgid "Settings Saved Successfully"
|
160 |
msgstr ""
|
161 |
|
162 |
+
#: admin/admin.php:529
|
163 |
msgid "Error Saving Settings"
|
164 |
msgstr ""
|
165 |
|
166 |
+
#: admin/admin.php:530
|
167 |
msgid ""
|
168 |
"There is a maximum of 3 tax_query objects while using the shortcode builder"
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: admin/admin.php:636
|
172 |
msgid ""
|
173 |
"[Ajax Load More] Error opening default repeater template - Please check your "
|
174 |
"file path and ensure your server is configured to allow Ajax Load More to "
|
175 |
"read and write files within the /ajax-load-more/core/repeater directory"
|
176 |
msgstr ""
|
177 |
|
178 |
+
#: admin/admin.php:640
|
179 |
msgid ""
|
180 |
"[Ajax Load More] Error updating default repeater template - Please check "
|
181 |
"your file path and ensure your server is configured to allow Ajax Load More "
|
182 |
"to read and write files within the /ajax-load-more/core/repeater directory."
|
183 |
msgstr ""
|
184 |
|
185 |
+
#: admin/admin.php:680 admin/admin.php:681 ajax-load-more.php:371
|
186 |
msgid "Settings"
|
187 |
msgstr ""
|
188 |
|
189 |
+
#: admin/admin.php:689 admin/admin.php:690
|
190 |
#: admin/views/repeater-templates.php:14 admin/views/repeater-templates.php:26
|
191 |
msgid "Repeater Templates"
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: admin/admin.php:698 admin/admin.php:699 admin/views/shortcode-builder.php:6
|
195 |
msgid "Shortcode Builder"
|
196 |
msgstr ""
|
197 |
|
198 |
+
#: admin/admin.php:708 admin/admin.php:709 admin/views/add-ons.php:6
|
199 |
msgid "Add-ons"
|
200 |
msgstr ""
|
201 |
|
202 |
+
#: admin/admin.php:718 admin/admin.php:719 admin/views/extensions.php:5
|
203 |
msgid "Extensions"
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: admin/admin.php:727 admin/admin.php:728 admin/views/help.php:18
|
207 |
msgid "Help"
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: admin/admin.php:734
|
211 |
msgid "License"
|
212 |
msgstr ""
|
213 |
|
214 |
+
#: admin/admin.php:734 admin/views/licenses.php:2
|
215 |
msgid "Licenses"
|
216 |
msgstr ""
|
217 |
|
218 |
+
#: admin/admin.php:754 admin/admin.php:755 admin/admin.php:763
|
219 |
#: admin/views/go-pro.php:5
|
220 |
msgid "Pro"
|
221 |
msgstr ""
|
222 |
|
223 |
+
#: admin/admin.php:764 admin/views/licenses.php:150
|
224 |
msgid "Go Pro"
|
225 |
msgstr ""
|
226 |
|
227 |
+
#: admin/admin.php:776 admin/admin.php:777
|
228 |
#: admin/shortcode-builder/components/cache.php:3 admin/views/settings.php:35
|
229 |
#: core/functions.php:50
|
230 |
msgid "Cache"
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: admin/admin.php:797 admin/admin.php:798
|
234 |
#: admin/shortcode-builder/components/filters.php:3 admin/views/settings.php:37
|
235 |
#: core/functions.php:110
|
236 |
msgid "Filters"
|
237 |
msgstr ""
|
238 |
|
239 |
+
#: admin/admin.php:1141
|
240 |
msgid "[Ajax Load More] Unable to open repeater template - "
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: admin/admin.php:1145
|
244 |
msgid "[Ajax Load More] Error saving repeater template - "
|
245 |
msgstr ""
|
246 |
|
247 |
+
#: admin/admin.php:1177
|
248 |
msgid "Template Saved Successfully"
|
249 |
msgstr ""
|
250 |
|
251 |
+
#: admin/admin.php:1179
|
252 |
msgid "Error Writing File"
|
253 |
msgstr ""
|
254 |
|
255 |
+
#: admin/admin.php:1179 admin/views/repeater-templates.php:378
|
256 |
msgid "Something went wrong and the data could not be saved."
|
257 |
msgstr ""
|
258 |
|
259 |
+
#: admin/admin.php:1388 admin/shortcode-builder/shortcode-builder.php:118
|
260 |
msgid "Container Type"
|
261 |
msgstr ""
|
262 |
|
263 |
+
#: admin/admin.php:1396 admin/shortcode-builder/shortcode-builder.php:148
|
264 |
msgid "Container Classes"
|
265 |
msgstr ""
|
266 |
|
267 |
+
#: admin/admin.php:1404
|
268 |
msgid "Disable CSS"
|
269 |
msgstr ""
|
270 |
|
271 |
+
#: admin/admin.php:1412 admin/shortcode-builder/shortcode-builder.php:80
|
272 |
msgid "Button/Loading Style"
|
273 |
msgstr ""
|
274 |
|
275 |
+
#: admin/admin.php:1420
|
276 |
msgid "Load CSS Inline"
|
277 |
msgstr ""
|
278 |
|
279 |
+
#: admin/admin.php:1428
|
280 |
msgid "Button Classes"
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: admin/admin.php:1446
|
284 |
msgid "Legacy Callbacks"
|
285 |
msgstr ""
|
286 |
|
287 |
+
#: admin/admin.php:1454
|
288 |
msgid "Top of Page"
|
289 |
msgstr ""
|
290 |
|
291 |
+
#: admin/admin.php:1462
|
292 |
msgid "Delete on Uninstall"
|
293 |
msgstr ""
|
294 |
|
295 |
+
#: admin/admin.php:1470
|
296 |
msgid "Dynamic Content"
|
297 |
msgstr ""
|
298 |
|
299 |
+
#: admin/admin.php:1478
|
300 |
msgid "Editor Button"
|
301 |
msgstr ""
|
302 |
|
303 |
+
#: admin/admin.php:1486
|
304 |
msgid "Error Notices"
|
305 |
msgstr ""
|
306 |
|
307 |
+
#: admin/admin.php:1570
|
308 |
msgid ""
|
309 |
"Customize the user experience of Ajax Load More by updating the fields below."
|
310 |
msgstr ""
|
311 |
|
312 |
+
#: admin/admin.php:1583
|
313 |
msgid "The following settings affect the WordPress admin area only."
|
314 |
msgstr ""
|
315 |
|
316 |
+
#: admin/admin.php:1614
|
317 |
msgid "I want to use my own CSS styles."
|
318 |
msgstr ""
|
319 |
|
320 |
+
#: admin/admin.php:1614
|
321 |
msgid "View Ajax Load More CSS"
|
322 |
msgstr ""
|
323 |
|
324 |
+
#: admin/admin.php:1634
|
325 |
msgid "Hide shortcode button in WYSIWYG editor."
|
326 |
msgstr ""
|
327 |
|
328 |
+
#: admin/admin.php:1655
|
329 |
msgid ""
|
330 |
"Display error messaging regarding repeater template updates in the browser "
|
331 |
"console."
|
332 |
msgstr ""
|
333 |
|
334 |
+
#: admin/admin.php:1676
|
335 |
msgid ""
|
336 |
"Disable dynamic population of categories, tags and authors in the Shortcode "
|
337 |
"Builder.<span style=\"display:block\">Recommended if you have a large number "
|
338 |
"of categories, tags and/or authors."
|
339 |
msgstr ""
|
340 |
|
341 |
+
#: admin/admin.php:1697 admin/admin.php:1700
|
342 |
msgid "Ajax Posts Here"
|
343 |
msgstr ""
|
344 |
|
345 |
+
#: admin/admin.php:1702
|
346 |
msgid "You can modify the container type when building a shortcode."
|
347 |
msgstr ""
|
348 |
|
349 |
+
#: admin/admin.php:1719
|
350 |
msgid ""
|
351 |
"Add custom classes to the <i>.alm-listing</i> container - classes are "
|
352 |
"applied globally and will appear with every instance of Ajax Load More. "
|
354 |
"shortcode.</span>"
|
355 |
msgstr ""
|
356 |
|
357 |
+
#: admin/admin.php:1781
|
358 |
msgid ""
|
359 |
"Select an Ajax loading style - you can choose between a <strong>Button</"
|
360 |
"strong> or <strong>Infinite Scroll</strong>"
|
361 |
msgstr ""
|
362 |
|
363 |
+
#: admin/admin.php:1786 admin/shortcode-builder/shortcode-builder.php:86
|
364 |
msgid "Button"
|
365 |
msgstr ""
|
366 |
|
367 |
+
#: admin/admin.php:1794 admin/shortcode-builder/shortcode-builder.php:93
|
368 |
msgid "Infinite Scroll (No Button)"
|
369 |
msgstr ""
|
370 |
|
371 |
+
#: admin/admin.php:1807 admin/shortcode-builder/shortcode-builder.php:105
|
372 |
msgid "Preview"
|
373 |
msgstr ""
|
374 |
|
375 |
+
#: admin/admin.php:1807 admin/shortcode-builder/shortcode-builder.php:107
|
376 |
+
#: admin/shortcode-builder/shortcode-builder.php:345
|
377 |
+
#: core/classes/class.alm-shortcode.php:214
|
378 |
msgid "Older Posts"
|
379 |
msgstr ""
|
380 |
|
381 |
+
#: admin/admin.php:1828
|
382 |
msgid "Improve site performance by loading Ajax Load More CSS inline."
|
383 |
msgstr ""
|
384 |
|
385 |
+
#: admin/admin.php:1848
|
386 |
msgid "Add classes to your <strong>Load More</strong> button."
|
387 |
msgstr ""
|
388 |
|
389 |
+
#: admin/admin.php:1892
|
390 |
msgid ""
|
391 |
"On initial page load, move the user's browser window to the top of the "
|
392 |
"screen."
|
393 |
msgstr ""
|
394 |
|
395 |
+
#: admin/admin.php:1893
|
396 |
msgid "This may help prevent the loading of unnecessary posts."
|
397 |
msgstr ""
|
398 |
|
399 |
+
#: admin/admin.php:1916
|
400 |
msgid "Disable REST API."
|
401 |
msgstr ""
|
402 |
|
403 |
+
#: admin/admin.php:1917
|
404 |
msgid ""
|
405 |
"Use `admin-ajax.php` in favour of the WordPress REST API for all Ajax "
|
406 |
"requests."
|
407 |
msgstr ""
|
408 |
|
409 |
+
#: admin/admin.php:1940
|
410 |
msgid "Load legacy JavaScript callback functions."
|
411 |
msgstr ""
|
412 |
|
413 |
+
#: admin/admin.php:1941
|
414 |
msgid ""
|
415 |
"Ajax Load More <a href=\"https://connekthq.com/plugins/ajax-load-more/docs/"
|
416 |
"callback-functions/\" target=\"_blank\">callback functions</a> were updated "
|
418 |
"library to maintain compatibility."
|
419 |
msgstr ""
|
420 |
|
421 |
+
#: admin/admin.php:1964
|
422 |
msgid ""
|
423 |
"Check this box if Ajax Load More should remove all of its data* when the "
|
424 |
"plugin is deleted."
|
425 |
msgstr ""
|
426 |
|
427 |
+
#: admin/admin.php:1965
|
428 |
msgid "* Database Tables, Options and Repeater Templates"
|
429 |
msgstr ""
|
430 |
|
431 |
+
#: admin/classes/class-nag.php:125
|
432 |
+
#, php-format
|
433 |
+
msgid ""
|
434 |
+
"<p style='padding: 0; margin: 0 0 15px;'>You've been using <b style='color: "
|
435 |
+
"#222;'><a href='%s'>Ajax Load More</a></b> for some time now, could you "
|
436 |
+
"please give it a review at wordpress.org?<br/>All reviews, both good and bad "
|
437 |
+
"are important as they help the plugin grow and improve over time.</p><p "
|
438 |
+
"style='padding: 0; margin: 0 0 15px;'><a href='%s' target='_blank' "
|
439 |
+
"class='button button-primary'>Yes, I'll leave a review</a> <a "
|
440 |
+
"href='%s' class='button-no'>I've already done this</a></p><p style='padding: "
|
441 |
+
"10px 0 0; margin: 0;'><small><a href='http://connekthq.com/plugins/' "
|
442 |
+
"target='_blank'>Check out other <b>Connekt</b> WordPress plugins</a></"
|
443 |
+
"small></p>"
|
444 |
+
msgstr ""
|
445 |
+
|
446 |
#: admin/editor/editor-build.php:45
|
447 |
msgid ""
|
448 |
"Create your own Ajax Load More shortcode by adjusting the parameters below:"
|
460 |
msgid "You are not allowed to be here"
|
461 |
msgstr ""
|
462 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
463 |
#: admin/shortcode-builder/components/acf.php:3
|
464 |
msgid "Advanced Custom Fields"
|
465 |
msgstr ""
|
487 |
#: admin/shortcode-builder/components/rest-api.php:105
|
488 |
#: admin/shortcode-builder/components/seo.php:15
|
489 |
#: admin/shortcode-builder/components/single-post.php:15
|
490 |
+
#: admin/shortcode-builder/components/single-post.php:146
|
491 |
+
#: admin/shortcode-builder/components/single-post.php:168
|
492 |
+
#: admin/shortcode-builder/components/term-query.php:15
|
493 |
+
#: admin/shortcode-builder/components/term-query.php:79
|
494 |
#: admin/shortcode-builder/components/users.php:14
|
495 |
+
#: admin/shortcode-builder/shortcode-builder.php:172
|
496 |
+
#: admin/shortcode-builder/shortcode-builder.php:209
|
497 |
+
#: admin/shortcode-builder/shortcode-builder.php:232
|
498 |
+
#: admin/shortcode-builder/shortcode-builder.php:275
|
499 |
+
#: admin/shortcode-builder/shortcode-builder.php:380
|
500 |
+
#: admin/shortcode-builder/shortcode-builder.php:452
|
501 |
+
#: admin/shortcode-builder/shortcode-builder.php:587
|
502 |
+
#: admin/shortcode-builder/shortcode-builder.php:663
|
503 |
+
#: admin/shortcode-builder/shortcode-builder.php:1308
|
504 |
+
#: admin/shortcode-builder/shortcode-builder.php:1339
|
505 |
msgid "True"
|
506 |
msgstr ""
|
507 |
|
524 |
#: admin/shortcode-builder/components/rest-api.php:109
|
525 |
#: admin/shortcode-builder/components/seo.php:19
|
526 |
#: admin/shortcode-builder/components/single-post.php:19
|
527 |
+
#: admin/shortcode-builder/components/single-post.php:150
|
528 |
+
#: admin/shortcode-builder/components/single-post.php:172
|
529 |
+
#: admin/shortcode-builder/components/term-query.php:19
|
530 |
+
#: admin/shortcode-builder/components/term-query.php:80
|
531 |
#: admin/shortcode-builder/components/users.php:18
|
532 |
+
#: admin/shortcode-builder/shortcode-builder.php:176
|
533 |
+
#: admin/shortcode-builder/shortcode-builder.php:213
|
534 |
+
#: admin/shortcode-builder/shortcode-builder.php:236
|
535 |
+
#: admin/shortcode-builder/shortcode-builder.php:279
|
536 |
+
#: admin/shortcode-builder/shortcode-builder.php:384
|
537 |
+
#: admin/shortcode-builder/shortcode-builder.php:456
|
538 |
+
#: admin/shortcode-builder/shortcode-builder.php:591
|
539 |
+
#: admin/shortcode-builder/shortcode-builder.php:667
|
540 |
+
#: admin/shortcode-builder/shortcode-builder.php:1312
|
541 |
+
#: admin/shortcode-builder/shortcode-builder.php:1343
|
542 |
msgid "False"
|
543 |
msgstr ""
|
544 |
|
716 |
msgstr ""
|
717 |
|
718 |
#: admin/shortcode-builder/components/comments.php:105
|
719 |
+
#: admin/shortcode-builder/shortcode-builder.php:482
|
720 |
+
#: admin/shortcode-builder/shortcode-builder.php:568
|
721 |
msgid "None"
|
722 |
msgstr ""
|
723 |
|
756 |
|
757 |
#: admin/shortcode-builder/components/comments.php:135
|
758 |
#: admin/shortcode-builder/components/nextpage.php:108
|
759 |
+
#: admin/shortcode-builder/components/single-post.php:58
|
760 |
+
#: admin/shortcode-builder/components/single-post.php:259
|
761 |
+
#: admin/shortcode-builder/shortcode-builder.php:600
|
762 |
+
#: admin/shortcode-builder/shortcode-builder.php:1301
|
763 |
+
#: admin/shortcode-builder/shortcode-builder.php:1331
|
764 |
msgid "View Docs"
|
765 |
msgstr ""
|
766 |
|
828 |
msgstr ""
|
829 |
|
830 |
#: admin/shortcode-builder/components/filters.php:30
|
831 |
+
#: admin/shortcode-builder/components/single-post.php:42
|
832 |
msgid "Target"
|
833 |
msgstr ""
|
834 |
|
943 |
msgstr ""
|
944 |
|
945 |
#: admin/shortcode-builder/components/nextpage.php:8
|
946 |
+
msgid "Quicktag or Page Break block."
|
947 |
msgstr ""
|
948 |
|
949 |
#: admin/shortcode-builder/components/nextpage.php:43
|
951 |
msgstr ""
|
952 |
|
953 |
#: admin/shortcode-builder/components/nextpage.php:44
|
954 |
+
msgid "Update the browser address bar as pages come into view."
|
955 |
msgstr ""
|
956 |
|
957 |
#: admin/shortcode-builder/components/nextpage.php:51
|
958 |
+
msgid "Yes, update the URL."
|
959 |
msgstr ""
|
960 |
|
961 |
#: admin/shortcode-builder/components/nextpage.php:62
|
965 |
#: admin/shortcode-builder/components/nextpage.php:63
|
966 |
msgid ""
|
967 |
"You must have a reference to your Google Analytics tracking code already on "
|
968 |
+
"the page."
|
969 |
msgstr ""
|
970 |
|
971 |
#: admin/shortcode-builder/components/nextpage.php:65
|
972 |
+
msgid "Each time a page is loaded it will count as a pageview."
|
973 |
msgstr ""
|
974 |
|
975 |
#: admin/shortcode-builder/components/nextpage.php:72
|
976 |
+
msgid "Yes, send pageviews to Google Analytics."
|
977 |
msgstr ""
|
978 |
|
979 |
#: admin/shortcode-builder/components/nextpage.php:82
|
981 |
msgstr ""
|
982 |
|
983 |
#: admin/shortcode-builder/components/nextpage.php:84
|
984 |
+
msgid "Scroll users automatically to the next page on 'Load More' action."
|
985 |
msgstr ""
|
986 |
|
987 |
#: admin/shortcode-builder/components/nextpage.php:90
|
988 |
+
#: admin/shortcode-builder/shortcode-builder.php:372
|
989 |
msgid "Enable Scrolling"
|
990 |
msgstr ""
|
991 |
|
992 |
#: admin/shortcode-builder/components/nextpage.php:99
|
993 |
msgid ""
|
994 |
"The scrolltop position of the window (used with scrolling and fwd/back "
|
995 |
+
"browser buttons)."
|
996 |
msgstr ""
|
997 |
|
998 |
#: admin/shortcode-builder/components/nextpage.php:108
|
999 |
msgid ""
|
1000 |
+
"You must add the Next Page shortcode directly to your template file using "
|
1001 |
+
"the <a href=\"https://developer.wordpress.org/reference/functions/"
|
1002 |
"do_shortcode/\" target=\"_blank\">do_shortcode</a> method."
|
1003 |
msgstr ""
|
1004 |
|
1149 |
msgstr ""
|
1150 |
|
1151 |
#: admin/shortcode-builder/components/rest-api.php:86
|
1152 |
+
#: admin/shortcode-builder/shortcode-builder.php:188
|
1153 |
+
#: admin/shortcode-builder/shortcode-builder.php:202
|
1154 |
+
#: admin/shortcode-builder/shortcode-builder.php:225
|
1155 |
+
#: admin/shortcode-builder/shortcode-builder.php:656
|
1156 |
+
#: admin/shortcode-builder/shortcode-builder.php:839
|
1157 |
+
#: admin/shortcode-builder/shortcode-builder.php:930
|
1158 |
+
#: admin/shortcode-builder/shortcode-builder.php:1073
|
1159 |
+
#: admin/shortcode-builder/shortcode-builder.php:1111
|
1160 |
+
#: admin/shortcode-builder/shortcode-builder.php:1140
|
1161 |
+
#: admin/shortcode-builder/shortcode-builder.php:1171
|
1162 |
msgid "View Example"
|
1163 |
msgstr ""
|
1164 |
|
1194 |
msgstr ""
|
1195 |
|
1196 |
#: admin/shortcode-builder/components/single-post.php:42
|
1197 |
+
msgid ""
|
1198 |
+
"Repeater Templates are not required when using the Target implementation."
|
1199 |
+
msgstr ""
|
1200 |
+
|
1201 |
+
#: admin/shortcode-builder/components/single-post.php:43
|
1202 |
+
msgid ""
|
1203 |
+
"Enter the ID or classname of HTML element that wraps your single post "
|
1204 |
+
"content."
|
1205 |
+
msgstr ""
|
1206 |
+
|
1207 |
+
#: admin/shortcode-builder/components/single-post.php:45
|
1208 |
+
msgid "View Guide"
|
1209 |
+
msgstr ""
|
1210 |
+
|
1211 |
+
#: admin/shortcode-builder/components/single-post.php:56
|
1212 |
msgid "Post Ordering"
|
1213 |
msgstr ""
|
1214 |
|
1215 |
+
#: admin/shortcode-builder/components/single-post.php:56
|
1216 |
msgid ""
|
1217 |
"By default, the Single Posts add-on will use the core WordPress "
|
1218 |
"`get_previous_post` function, but you can over ride that here."
|
1219 |
msgstr ""
|
1220 |
|
1221 |
+
#: admin/shortcode-builder/components/single-post.php:57
|
1222 |
msgid "Select the load order of posts while infinite scrolling."
|
1223 |
msgstr ""
|
1224 |
|
1225 |
+
#: admin/shortcode-builder/components/single-post.php:63
|
1226 |
msgid "Previous Post (by date DESC)"
|
1227 |
msgstr ""
|
1228 |
|
1229 |
+
#: admin/shortcode-builder/components/single-post.php:64
|
1230 |
msgid "Latest (Start at most recent post)"
|
1231 |
msgstr ""
|
1232 |
|
1233 |
+
#: admin/shortcode-builder/components/single-post.php:65
|
1234 |
msgid "Next Post (by date ASC)"
|
1235 |
msgstr ""
|
1236 |
|
1237 |
+
#: admin/shortcode-builder/components/single-post.php:66
|
1238 |
+
#: admin/shortcode-builder/components/single-post.php:75
|
1239 |
msgid "Post ID Array"
|
1240 |
msgstr ""
|
1241 |
|
1242 |
+
#: admin/shortcode-builder/components/single-post.php:76
|
1243 |
msgid "A comma separated list of post ID's to query by order."
|
1244 |
msgstr ""
|
1245 |
|
1246 |
+
#: admin/shortcode-builder/components/single-post.php:89
|
1247 |
+
#: admin/shortcode-builder/components/term-query.php:39
|
1248 |
+
#: admin/shortcode-builder/shortcode-builder.php:1013
|
1249 |
msgid "Taxonomy"
|
1250 |
msgstr ""
|
1251 |
|
1252 |
+
#: admin/shortcode-builder/components/single-post.php:89
|
1253 |
msgid ""
|
1254 |
"Selecting a taxonomy means only previous posts from the same taxonomy term "
|
1255 |
"will be returned. If a post has multiple terms attached, each term will be "
|
1256 |
+
"considered using an OR relationship query."
|
1257 |
msgstr ""
|
1258 |
|
1259 |
+
#: admin/shortcode-builder/components/single-post.php:90
|
1260 |
msgid "Query previous posts from the same taxonomy term(s)."
|
1261 |
msgstr ""
|
1262 |
|
1263 |
+
#: admin/shortcode-builder/components/single-post.php:103
|
1264 |
#: admin/shortcode-builder/includes/tax-query-options.php:5
|
1265 |
#: admin/shortcode-builder/includes/tax-query-options.php:62
|
1266 |
#: admin/shortcode-builder/includes/tax-query-options.php:105
|
1267 |
msgid "Select Taxonomy"
|
1268 |
msgstr ""
|
1269 |
|
1270 |
+
#: admin/shortcode-builder/components/single-post.php:104
|
1271 |
+
#: admin/shortcode-builder/components/term-query.php:45
|
1272 |
+
#: admin/shortcode-builder/shortcode-builder.php:832
|
1273 |
msgid "Category"
|
1274 |
msgstr ""
|
1275 |
|
1276 |
+
#: admin/shortcode-builder/components/single-post.php:105
|
1277 |
+
#: admin/shortcode-builder/components/term-query.php:46
|
1278 |
+
#: admin/shortcode-builder/shortcode-builder.php:922
|
1279 |
msgid "Tag"
|
1280 |
msgstr ""
|
1281 |
|
1282 |
+
#: admin/shortcode-builder/components/single-post.php:121
|
1283 |
msgid "Excluded Terms "
|
1284 |
msgstr ""
|
1285 |
|
1286 |
+
#: admin/shortcode-builder/components/single-post.php:121
|
1287 |
+
msgid "A comma-separated list of excluded terms by ID."
|
1288 |
msgstr ""
|
1289 |
|
1290 |
+
#: admin/shortcode-builder/components/single-post.php:122
|
1291 |
msgid "Exclude posts by term ID from the previous post query."
|
1292 |
msgstr ""
|
1293 |
|
1294 |
+
#: admin/shortcode-builder/components/single-post.php:137
|
1295 |
+
msgid "Elementor"
|
1296 |
+
msgstr ""
|
1297 |
+
|
1298 |
+
#: admin/shortcode-builder/components/single-post.php:138
|
1299 |
+
msgid ""
|
1300 |
+
"Set Elementor <b>true</b> if you are using Elementor templates to build "
|
1301 |
+
"single posts."
|
1302 |
+
msgstr ""
|
1303 |
+
|
1304 |
+
#: admin/shortcode-builder/components/single-post.php:139
|
1305 |
+
msgid "View Blog Post"
|
1306 |
+
msgstr ""
|
1307 |
+
|
1308 |
+
#: admin/shortcode-builder/components/single-post.php:160
|
1309 |
msgid "Reading Progress Bar "
|
1310 |
msgstr ""
|
1311 |
|
1312 |
+
#: admin/shortcode-builder/components/single-post.php:161
|
1313 |
msgid ""
|
1314 |
"Display a reading progress bar indicator at the top or bottom of the browser "
|
1315 |
"window."
|
1316 |
msgstr ""
|
1317 |
|
1318 |
+
#: admin/shortcode-builder/components/single-post.php:188
|
1319 |
msgid "Position"
|
1320 |
msgstr ""
|
1321 |
|
1322 |
+
#: admin/shortcode-builder/components/single-post.php:189
|
1323 |
msgid "Select the window position of the progress bar."
|
1324 |
msgstr ""
|
1325 |
|
1326 |
+
#: admin/shortcode-builder/components/single-post.php:196
|
1327 |
msgid "Top"
|
1328 |
msgstr ""
|
1329 |
|
1330 |
+
#: admin/shortcode-builder/components/single-post.php:200
|
1331 |
msgid "Bottom"
|
1332 |
msgstr ""
|
1333 |
|
1334 |
+
#: admin/shortcode-builder/components/single-post.php:209
|
1335 |
msgid "Height"
|
1336 |
msgstr ""
|
1337 |
|
1338 |
+
#: admin/shortcode-builder/components/single-post.php:210
|
1339 |
msgid "Select the height of the progress bar in pixels."
|
1340 |
msgstr ""
|
1341 |
|
1342 |
+
#: admin/shortcode-builder/components/single-post.php:221
|
1343 |
msgid "Colors"
|
1344 |
msgstr ""
|
1345 |
|
1346 |
+
#: admin/shortcode-builder/components/single-post.php:222
|
1347 |
msgid "Enter the hex color values of the reading progress bar"
|
1348 |
msgstr ""
|
1349 |
|
1350 |
+
#: admin/shortcode-builder/components/single-post.php:223
|
1351 |
+
#: admin/shortcode-builder/shortcode-builder.php:683
|
1352 |
msgid "Default:"
|
1353 |
msgstr ""
|
1354 |
|
1355 |
+
#: admin/shortcode-builder/components/single-post.php:230
|
1356 |
msgid "Foreground Color:"
|
1357 |
msgstr ""
|
1358 |
|
1359 |
+
#: admin/shortcode-builder/components/single-post.php:237
|
1360 |
msgid "Background Color:"
|
1361 |
msgstr ""
|
1362 |
|
1363 |
+
#: admin/shortcode-builder/components/single-post.php:237
|
1364 |
msgid "Leave empty for a transparent background"
|
1365 |
msgstr ""
|
1366 |
|
1367 |
+
#: admin/shortcode-builder/components/single-post.php:259
|
1368 |
msgid ""
|
1369 |
"You must add the Single Post shortcode directly to your single template file "
|
1370 |
"using the <a href=\"https://developer.wordpress.org/reference/functions/"
|
1371 |
"do_shortcode/\" target=\"_blank\">do_shortcode</a> method."
|
1372 |
msgstr ""
|
1373 |
|
1374 |
+
#: admin/shortcode-builder/components/term-query.php:3
|
1375 |
+
msgid "Terms"
|
1376 |
+
msgstr ""
|
1377 |
+
|
1378 |
+
#: admin/shortcode-builder/components/term-query.php:8
|
1379 |
+
msgid "Enable Terms Query."
|
1380 |
+
msgstr ""
|
1381 |
+
|
1382 |
+
#: admin/shortcode-builder/components/term-query.php:40
|
1383 |
+
msgid "Select a taxonomy to query."
|
1384 |
+
msgstr ""
|
1385 |
+
|
1386 |
+
#: admin/shortcode-builder/components/term-query.php:61
|
1387 |
+
msgid "Number"
|
1388 |
+
msgstr ""
|
1389 |
+
|
1390 |
+
#: admin/shortcode-builder/components/term-query.php:61
|
1391 |
+
msgid "Leave empty to return all terms."
|
1392 |
+
msgstr ""
|
1393 |
+
|
1394 |
+
#: admin/shortcode-builder/components/term-query.php:62
|
1395 |
+
msgid "The number of terms to return per page."
|
1396 |
+
msgstr ""
|
1397 |
+
|
1398 |
+
#: admin/shortcode-builder/components/term-query.php:73
|
1399 |
+
msgid "Hide Empty"
|
1400 |
+
msgstr ""
|
1401 |
+
|
1402 |
+
#: admin/shortcode-builder/components/term-query.php:74
|
1403 |
+
msgid "Whether to hide terms not assigned to any posts."
|
1404 |
+
msgstr ""
|
1405 |
+
|
1406 |
#: admin/shortcode-builder/components/users.php:3 core/functions.php:230
|
1407 |
msgid "Users"
|
1408 |
msgstr ""
|
1424 |
msgstr ""
|
1425 |
|
1426 |
#: admin/shortcode-builder/components/users.php:56
|
1427 |
+
#: admin/shortcode-builder/shortcode-builder.php:836
|
1428 |
+
#: admin/shortcode-builder/shortcode-builder.php:926
|
1429 |
+
#: admin/shortcode-builder/shortcode-builder.php:1158
|
1430 |
msgid "Include"
|
1431 |
msgstr ""
|
1432 |
|
1435 |
msgstr ""
|
1436 |
|
1437 |
#: admin/shortcode-builder/components/users.php:70
|
1438 |
+
#: admin/shortcode-builder/shortcode-builder.php:883
|
1439 |
+
#: admin/shortcode-builder/shortcode-builder.php:975
|
1440 |
+
#: admin/shortcode-builder/shortcode-builder.php:1169
|
1441 |
msgid "Exclude"
|
1442 |
msgstr ""
|
1443 |
|
1462 |
msgstr ""
|
1463 |
|
1464 |
#: admin/shortcode-builder/components/users.php:102
|
1465 |
+
#: admin/shortcode-builder/shortcode-builder.php:1214
|
1466 |
msgid "Order"
|
1467 |
msgstr ""
|
1468 |
|
1469 |
#: admin/shortcode-builder/components/users.php:109
|
1470 |
+
#: admin/shortcode-builder/shortcode-builder.php:1221
|
1471 |
msgid "Order By"
|
1472 |
msgstr ""
|
1473 |
|
1520 |
msgstr ""
|
1521 |
|
1522 |
#: admin/shortcode-builder/includes/tax-query-options.php:48
|
1523 |
+
#: admin/shortcode-builder/shortcode-builder.php:1048
|
1524 |
msgid "Relation:"
|
1525 |
msgstr ""
|
1526 |
|
1529 |
"The logical relationship between each taxonomy when there is more than one."
|
1530 |
msgstr ""
|
1531 |
|
1532 |
+
#: admin/shortcode-builder/shortcode-builder.php:3
|
1533 |
+
#: admin/views/repeater-templates.php:127
|
1534 |
+
#: admin/views/repeater-templates.php:157
|
1535 |
+
msgid "Collapse All"
|
1536 |
+
msgstr ""
|
1537 |
+
|
1538 |
+
#: admin/shortcode-builder/shortcode-builder.php:4
|
1539 |
+
#: admin/views/repeater-templates.php:128
|
1540 |
+
#: admin/views/repeater-templates.php:158
|
1541 |
+
msgid "Expand All"
|
1542 |
+
msgstr ""
|
1543 |
+
|
1544 |
#: admin/shortcode-builder/shortcode-builder.php:23
|
1545 |
msgid "Add-ons & Extensions"
|
1546 |
msgstr ""
|
1547 |
|
1548 |
+
#: admin/shortcode-builder/shortcode-builder.php:47
|
1549 |
msgid "Display Settings"
|
1550 |
msgstr ""
|
1551 |
|
1552 |
+
#: admin/shortcode-builder/shortcode-builder.php:50
|
1553 |
+
msgid ""
|
1554 |
+
"Display Settings allow you create a custom Ajax Load More experience for "
|
1555 |
+
"your visitors."
|
1556 |
+
msgstr ""
|
1557 |
+
|
1558 |
+
#: admin/shortcode-builder/shortcode-builder.php:54
|
1559 |
+
msgid "Options"
|
1560 |
+
msgstr ""
|
1561 |
+
|
1562 |
+
#: admin/shortcode-builder/shortcode-builder.php:60
|
1563 |
msgid "ID"
|
1564 |
msgstr ""
|
1565 |
|
1566 |
+
#: admin/shortcode-builder/shortcode-builder.php:60
|
1567 |
msgid ""
|
1568 |
"Adding a unique ID will allow you target this specific Ajax Load More "
|
1569 |
"instance with the alm_query_args_id() filter"
|
1570 |
msgstr ""
|
1571 |
|
1572 |
+
#: admin/shortcode-builder/shortcode-builder.php:61
|
1573 |
msgid "Set a unique ID for this Ajax Load More instance."
|
1574 |
msgstr ""
|
1575 |
|
1576 |
+
#: admin/shortcode-builder/shortcode-builder.php:62
|
1577 |
#: admin/views/repeater-templates.php:493
|
1578 |
msgid "Learn More"
|
1579 |
msgstr ""
|
1580 |
|
1581 |
+
#: admin/shortcode-builder/shortcode-builder.php:68
|
1582 |
msgid "Generate Unique ID"
|
1583 |
msgstr ""
|
1584 |
|
1585 |
+
#: admin/shortcode-builder/shortcode-builder.php:80
|
1586 |
msgid ""
|
1587 |
"You can define a global button/loading style on the Ajax Load More settings "
|
1588 |
"screen"
|
1589 |
msgstr ""
|
1590 |
|
1591 |
+
#: admin/shortcode-builder/shortcode-builder.php:81
|
1592 |
msgid ""
|
1593 |
"Select an Ajax loading style - you can choose between a Button or Infinite "
|
1594 |
"Scroll."
|
1595 |
msgstr ""
|
1596 |
|
1597 |
+
#: admin/shortcode-builder/shortcode-builder.php:118
|
1598 |
msgid ""
|
1599 |
"You can define a global container type on the Ajax Load More settings screen"
|
1600 |
msgstr ""
|
1601 |
|
1602 |
+
#: admin/shortcode-builder/shortcode-builder.php:119
|
1603 |
msgid ""
|
1604 |
"Override the global Container Type set in <a href=\"admin.php?page=ajax-load-"
|
1605 |
"more\">ALM Settings</a>."
|
1606 |
msgstr ""
|
1607 |
|
1608 |
+
#: admin/shortcode-builder/shortcode-builder.php:148
|
1609 |
msgid ""
|
1610 |
"You can define global container classes on the Ajax Load More settings screen"
|
1611 |
msgstr ""
|
1612 |
|
1613 |
+
#: admin/shortcode-builder/shortcode-builder.php:150
|
1614 |
msgid "Add custom CSS classes to the <span>.alm-listing</span> container."
|
1615 |
msgstr ""
|
1616 |
|
1617 |
+
#: admin/shortcode-builder/shortcode-builder.php:164
|
1618 |
msgid "Pause"
|
1619 |
msgstr ""
|
1620 |
|
1621 |
+
#: admin/shortcode-builder/shortcode-builder.php:165
|
1622 |
msgid ""
|
1623 |
"Don't load any Ajax content until the user clicks or interacts with the "
|
1624 |
"<em>Load More</em> button."
|
1625 |
msgstr ""
|
1626 |
|
1627 |
+
#: admin/shortcode-builder/shortcode-builder.php:186
|
1628 |
msgid "Destroy After"
|
1629 |
msgstr ""
|
1630 |
|
1631 |
+
#: admin/shortcode-builder/shortcode-builder.php:187
|
1632 |
msgid ""
|
1633 |
"Remove Ajax Load More functionality after {<em>n</em>} number of pages have "
|
1634 |
"been loaded."
|
1635 |
msgstr ""
|
1636 |
|
1637 |
+
#: admin/shortcode-builder/shortcode-builder.php:200
|
1638 |
msgid "Images Loaded"
|
1639 |
msgstr ""
|
1640 |
|
1641 |
+
#: admin/shortcode-builder/shortcode-builder.php:200
|
1642 |
msgid "Background images are not supported."
|
1643 |
msgstr ""
|
1644 |
|
1645 |
+
#: admin/shortcode-builder/shortcode-builder.php:201
|
1646 |
msgid "Wait for all images to load before displaying ajax loaded content."
|
1647 |
msgstr ""
|
1648 |
|
1649 |
+
#: admin/shortcode-builder/shortcode-builder.php:223
|
1650 |
msgid "Loading Placeholder"
|
1651 |
msgstr ""
|
1652 |
|
1653 |
+
#: admin/shortcode-builder/shortcode-builder.php:223
|
1654 |
msgid ""
|
1655 |
"A loading placeholder can help the understand content is about to rendered."
|
1656 |
msgstr ""
|
1657 |
|
1658 |
+
#: admin/shortcode-builder/shortcode-builder.php:224
|
1659 |
msgid "Display a placeholder image while Ajax content is being loaded."
|
1660 |
msgstr ""
|
1661 |
|
1662 |
+
#: admin/shortcode-builder/shortcode-builder.php:242
|
1663 |
msgid "URL:"
|
1664 |
msgstr ""
|
1665 |
|
1666 |
+
#: admin/shortcode-builder/shortcode-builder.php:254
|
1667 |
msgid "No Results Text"
|
1668 |
msgstr ""
|
1669 |
|
1670 |
+
#: admin/shortcode-builder/shortcode-builder.php:254
|
1671 |
msgid ""
|
1672 |
"HTML is allowed, however when adding quote marks in classnames or IDs you "
|
1673 |
"must single quotes as shown in the example."
|
1674 |
msgstr ""
|
1675 |
|
1676 |
+
#: admin/shortcode-builder/shortcode-builder.php:255
|
1677 |
msgid ""
|
1678 |
"Add text/html to be displayed when no results are returned in the Ajax query."
|
1679 |
msgstr ""
|
1680 |
|
1681 |
+
#: admin/shortcode-builder/shortcode-builder.php:255
|
1682 |
msgid ""
|
1683 |
"e.g. <div class='no-results'>Sorry, nothing found in this query</div>"
|
1684 |
msgstr ""
|
1685 |
|
1686 |
+
#: admin/shortcode-builder/shortcode-builder.php:267
|
1687 |
msgid "Nested Instance"
|
1688 |
msgstr ""
|
1689 |
|
1690 |
+
#: admin/shortcode-builder/shortcode-builder.php:267
|
1691 |
msgid ""
|
1692 |
"When nesting ALM instances it's important to set this to true as it removes "
|
1693 |
"any problematic JavaScript functionality."
|
1694 |
msgstr ""
|
1695 |
|
1696 |
+
#: admin/shortcode-builder/shortcode-builder.php:268
|
1697 |
msgid ""
|
1698 |
"Is this instance of Ajax Load More nested inside another instance of Ajax "
|
1699 |
"Load More?"
|
1700 |
msgstr ""
|
1701 |
|
1702 |
+
#: admin/shortcode-builder/shortcode-builder.php:294
|
1703 |
msgid "Template Selection"
|
1704 |
msgstr ""
|
1705 |
|
1706 |
+
#: admin/shortcode-builder/shortcode-builder.php:299
|
1707 |
msgid "Repeater Template"
|
1708 |
msgstr ""
|
1709 |
|
1710 |
+
#: admin/shortcode-builder/shortcode-builder.php:301
|
1711 |
msgid ""
|
1712 |
"Select which <a href=\"admin.php?page=ajax-load-more-repeaters\" target="
|
1713 |
"\"_parent\">Repeater Template</a> you would like to use."
|
1714 |
msgstr ""
|
1715 |
|
1716 |
+
#: admin/shortcode-builder/shortcode-builder.php:335
|
1717 |
msgid "Button Labels"
|
1718 |
msgstr ""
|
1719 |
|
1720 |
+
#: admin/shortcode-builder/shortcode-builder.php:340
|
1721 |
msgid "Label"
|
1722 |
msgstr ""
|
1723 |
|
1724 |
+
#: admin/shortcode-builder/shortcode-builder.php:341
|
1725 |
msgid "Customize the text of the <em>Load More</em> button."
|
1726 |
msgstr ""
|
1727 |
|
1728 |
+
#: admin/shortcode-builder/shortcode-builder.php:352
|
1729 |
msgid "Loading Label"
|
1730 |
msgstr ""
|
1731 |
|
1732 |
+
#: admin/shortcode-builder/shortcode-builder.php:352
|
1733 |
msgid "Leave field empty to not update text while loading content"
|
1734 |
msgstr ""
|
1735 |
|
1736 |
+
#: admin/shortcode-builder/shortcode-builder.php:353
|
1737 |
msgid ""
|
1738 |
"Update the text of the <em>Load More</em> button while content is loading."
|
1739 |
msgstr ""
|
1740 |
|
1741 |
+
#: admin/shortcode-builder/shortcode-builder.php:357
|
1742 |
msgid "Loading Posts..."
|
1743 |
msgstr ""
|
1744 |
|
1745 |
+
#: admin/shortcode-builder/shortcode-builder.php:368
|
1746 |
msgid "Scrolling"
|
1747 |
msgstr ""
|
1748 |
|
1749 |
+
#: admin/shortcode-builder/shortcode-builder.php:373
|
1750 |
msgid "Load more posts as the user scrolls the page."
|
1751 |
msgstr ""
|
1752 |
|
1753 |
+
#: admin/shortcode-builder/shortcode-builder.php:399
|
1754 |
msgid "Scroll Distance"
|
1755 |
msgstr ""
|
1756 |
|
1757 |
+
#: admin/shortcode-builder/shortcode-builder.php:399
|
1758 |
msgid ""
|
1759 |
"Distance is based on the position of the loading button from the bottom of "
|
1760 |
"the screen"
|
1761 |
msgstr ""
|
1762 |
|
1763 |
+
#: admin/shortcode-builder/shortcode-builder.php:400
|
1764 |
msgid ""
|
1765 |
"The distance from the bottom of the screen to trigger loading of posts. "
|
1766 |
"(Default = 100)"
|
1767 |
msgstr ""
|
1768 |
|
1769 |
+
#: admin/shortcode-builder/shortcode-builder.php:401
|
1770 |
msgid "Pro-tip"
|
1771 |
msgstr ""
|
1772 |
|
1773 |
+
#: admin/shortcode-builder/shortcode-builder.php:401
|
1774 |
msgid ""
|
1775 |
"Use a negative number (-200) to trigger a post load before the button is in "
|
1776 |
"view"
|
1777 |
msgstr ""
|
1778 |
|
1779 |
+
#: admin/shortcode-builder/shortcode-builder.php:419
|
1780 |
msgid "Scroll Container"
|
1781 |
msgstr ""
|
1782 |
|
1783 |
+
#: admin/shortcode-builder/shortcode-builder.php:419
|
1784 |
msgid "Confine Ajax Load More scrolling to a parent container."
|
1785 |
msgstr ""
|
1786 |
|
1787 |
+
#: admin/shortcode-builder/shortcode-builder.php:420
|
1788 |
msgid "Enter the ID or classname of the parent container"
|
1789 |
msgstr ""
|
1790 |
|
1791 |
+
#: admin/shortcode-builder/shortcode-builder.php:432
|
1792 |
msgid "Maximum Pages"
|
1793 |
msgstr ""
|
1794 |
|
1795 |
+
#: admin/shortcode-builder/shortcode-builder.php:432
|
1796 |
msgid "If using an Infinite Scroll button style you should set this to 0"
|
1797 |
msgstr ""
|
1798 |
|
1799 |
+
#: admin/shortcode-builder/shortcode-builder.php:433
|
1800 |
msgid "Maximum number of pages to load while scrolling. (0 = unlimited)"
|
1801 |
msgstr ""
|
1802 |
|
1803 |
+
#: admin/shortcode-builder/shortcode-builder.php:445
|
1804 |
msgid "Pause Override"
|
1805 |
msgstr ""
|
1806 |
|
1807 |
+
#: admin/shortcode-builder/shortcode-builder.php:446
|
1808 |
msgid ""
|
1809 |
"Allow scrolling to override the Pause parameter and trigger the loading of "
|
1810 |
"posts on scroll."
|
1811 |
msgstr ""
|
1812 |
|
1813 |
+
#: admin/shortcode-builder/shortcode-builder.php:469
|
1814 |
msgid "Transition"
|
1815 |
msgstr ""
|
1816 |
|
1817 |
+
#: admin/shortcode-builder/shortcode-builder.php:474
|
1818 |
msgid "Type"
|
1819 |
msgstr ""
|
1820 |
|
1821 |
+
#: admin/shortcode-builder/shortcode-builder.php:475
|
1822 |
msgid "Select a loading transition style."
|
1823 |
msgstr ""
|
1824 |
|
1825 |
+
#: admin/shortcode-builder/shortcode-builder.php:480
|
1826 |
msgid "Fade In"
|
1827 |
msgstr ""
|
1828 |
|
1829 |
+
#: admin/shortcode-builder/shortcode-builder.php:481
|
1830 |
msgid "Masonry"
|
1831 |
msgstr ""
|
1832 |
|
1833 |
+
#: admin/shortcode-builder/shortcode-builder.php:495
|
1834 |
msgid "Masonry Options"
|
1835 |
msgstr ""
|
1836 |
|
1837 |
+
#: admin/shortcode-builder/shortcode-builder.php:495
|
1838 |
msgid "Ajax Load More does not support all available Masonry options"
|
1839 |
msgstr ""
|
1840 |
|
1841 |
+
#: admin/shortcode-builder/shortcode-builder.php:496
|
1842 |
msgid ""
|
1843 |
"The following Masonry <a href=\"https://masonry.desandro.com/options.html\" "
|
1844 |
"target=\"_blank\">options</a> are supported by Ajax Load More."
|
1845 |
msgstr ""
|
1846 |
|
1847 |
+
#: admin/shortcode-builder/shortcode-builder.php:502
|
1848 |
msgid "Item Selector"
|
1849 |
msgstr ""
|
1850 |
|
1851 |
+
#: admin/shortcode-builder/shortcode-builder.php:502
|
1852 |
msgid ""
|
1853 |
"Item Selector is required for Masonry to target each element loaded with "
|
1854 |
"Ajax."
|
1855 |
msgstr ""
|
1856 |
|
1857 |
+
#: admin/shortcode-builder/shortcode-builder.php:503
|
1858 |
msgid "Enter the target classname of each masonry item."
|
1859 |
msgstr ""
|
1860 |
|
1861 |
+
#: admin/shortcode-builder/shortcode-builder.php:517
|
1862 |
msgid "Column Width"
|
1863 |
msgstr ""
|
1864 |
|
1865 |
+
#: admin/shortcode-builder/shortcode-builder.php:517
|
1866 |
msgid ""
|
1867 |
"If columnWidth is not set, Masonry will use the outer width of the first "
|
1868 |
"Item Selector."
|
1869 |
msgstr ""
|
1870 |
|
1871 |
+
#: admin/shortcode-builder/shortcode-builder.php:518
|
1872 |
msgid ""
|
1873 |
"Enter the <a href=\"https://masonry.desandro.com/options.html#columnwidth\" "
|
1874 |
"target=\"_blank\">columnWidth</a> of the masonry items."
|
1875 |
msgstr ""
|
1876 |
|
1877 |
+
#: admin/shortcode-builder/shortcode-builder.php:531
|
1878 |
msgid "Animation Type"
|
1879 |
msgstr ""
|
1880 |
|
1881 |
+
#: admin/shortcode-builder/shortcode-builder.php:531
|
1882 |
msgid "All Masonry animations include a fade-in effect as items are loaded."
|
1883 |
msgstr ""
|
1884 |
|
1885 |
+
#: admin/shortcode-builder/shortcode-builder.php:532
|
1886 |
msgid "Select a loading transition for Masonry items."
|
1887 |
msgstr ""
|
1888 |
|
1889 |
+
#: admin/shortcode-builder/shortcode-builder.php:540
|
1890 |
msgid "Default (Zoom)"
|
1891 |
msgstr ""
|
1892 |
|
1893 |
+
#: admin/shortcode-builder/shortcode-builder.php:541
|
1894 |
msgid "Items scale up from 50% to 100% size on load."
|
1895 |
msgstr ""
|
1896 |
|
1897 |
+
#: admin/shortcode-builder/shortcode-builder.php:547
|
1898 |
msgid "Zoom Out"
|
1899 |
msgstr ""
|
1900 |
|
1901 |
+
#: admin/shortcode-builder/shortcode-builder.php:548
|
1902 |
msgid "Items scale down from 125% to 100% size on load."
|
1903 |
msgstr ""
|
1904 |
|
1905 |
+
#: admin/shortcode-builder/shortcode-builder.php:554
|
1906 |
msgid "Slide Up"
|
1907 |
msgstr ""
|
1908 |
|
1909 |
+
#: admin/shortcode-builder/shortcode-builder.php:555
|
1910 |
msgid "Items animate up as they are loaded into view."
|
1911 |
msgstr ""
|
1912 |
|
1913 |
+
#: admin/shortcode-builder/shortcode-builder.php:561
|
1914 |
msgid "Slide Down"
|
1915 |
msgstr ""
|
1916 |
|
1917 |
+
#: admin/shortcode-builder/shortcode-builder.php:562
|
1918 |
msgid "Items animate down when loaded into view."
|
1919 |
msgstr ""
|
1920 |
|
1921 |
+
#: admin/shortcode-builder/shortcode-builder.php:578
|
1922 |
msgid "Horizontal Order"
|
1923 |
msgstr ""
|
1924 |
|
1925 |
+
#: admin/shortcode-builder/shortcode-builder.php:579
|
1926 |
msgid "Lays out items to maintain left-to-right order."
|
1927 |
msgstr ""
|
1928 |
|
1929 |
+
#: admin/shortcode-builder/shortcode-builder.php:599
|
1930 |
msgid ""
|
1931 |
"Don't see your favorite Masonry option listed? You can always add your own!"
|
1932 |
msgstr ""
|
1933 |
|
1934 |
+
#: admin/shortcode-builder/shortcode-builder.php:614
|
1935 |
msgid "Transition Container Classes"
|
1936 |
msgstr ""
|
1937 |
|
1938 |
+
#: admin/shortcode-builder/shortcode-builder.php:614
|
1939 |
msgid "This setting is not available with the Single Post or Next Page add-ons"
|
1940 |
msgstr ""
|
1941 |
|
1942 |
+
#: admin/shortcode-builder/shortcode-builder.php:615
|
1943 |
msgid "Add custom classes to the <span>.alm-reveal</span> loading container"
|
1944 |
msgstr ""
|
1945 |
|
1946 |
+
#: admin/shortcode-builder/shortcode-builder.php:627
|
1947 |
msgid "Transition Container"
|
1948 |
msgstr ""
|
1949 |
|
1950 |
+
#: admin/shortcode-builder/shortcode-builder.php:627
|
1951 |
msgid ""
|
1952 |
"Removing the transition container may have undesired results and is not "
|
1953 |
"recommended"
|
1954 |
msgstr ""
|
1955 |
|
1956 |
+
#: admin/shortcode-builder/shortcode-builder.php:628
|
1957 |
msgid ""
|
1958 |
"Remove the <span>.alm-reveal</span> loading container from Ajax Load More"
|
1959 |
msgstr ""
|
1960 |
|
1961 |
+
#: admin/shortcode-builder/shortcode-builder.php:635
|
1962 |
msgid "Remove Container"
|
1963 |
msgstr ""
|
1964 |
|
1965 |
+
#: admin/shortcode-builder/shortcode-builder.php:651
|
1966 |
msgid "Progress Bar"
|
1967 |
msgstr ""
|
1968 |
|
1969 |
+
#: admin/shortcode-builder/shortcode-builder.php:655
|
1970 |
msgid ""
|
1971 |
"Display progress bar indicator at the top of the window while loading Ajax "
|
1972 |
"content."
|
1973 |
msgstr ""
|
1974 |
|
1975 |
+
#: admin/shortcode-builder/shortcode-builder.php:681
|
1976 |
msgid "Color"
|
1977 |
msgstr ""
|
1978 |
|
1979 |
+
#: admin/shortcode-builder/shortcode-builder.php:682
|
1980 |
msgid "Enter the hex color of the progress bar"
|
1981 |
msgstr ""
|
1982 |
|
1983 |
+
#: admin/shortcode-builder/shortcode-builder.php:707
|
1984 |
msgid "Query Parameters"
|
1985 |
msgstr ""
|
1986 |
|
1987 |
+
#: admin/shortcode-builder/shortcode-builder.php:710
|
1988 |
+
msgid ""
|
1989 |
+
"Query Parameters allow you build a custom <b>WP_Query</b> based on Ajax Load "
|
1990 |
+
"More shortcode values."
|
1991 |
+
msgstr ""
|
1992 |
+
|
1993 |
+
#: admin/shortcode-builder/shortcode-builder.php:710
|
1994 |
+
msgid ""
|
1995 |
+
"When using Ajax Load More add-ons or extensions not all Query Parameters "
|
1996 |
+
"will be available in the query."
|
1997 |
+
msgstr ""
|
1998 |
+
|
1999 |
+
#: admin/shortcode-builder/shortcode-builder.php:714
|
2000 |
msgid "Posts Per Page"
|
2001 |
msgstr ""
|
2002 |
|
2003 |
+
#: admin/shortcode-builder/shortcode-builder.php:718
|
2004 |
msgid "Select the number of posts to load with each Ajax request."
|
2005 |
msgstr ""
|
2006 |
|
2007 |
+
#: admin/shortcode-builder/shortcode-builder.php:738
|
2008 |
msgid "Post Type"
|
2009 |
msgstr ""
|
2010 |
|
2011 |
+
#: admin/shortcode-builder/shortcode-builder.php:743
|
2012 |
msgid "Select the Post Types to include in this Ajax Load More query."
|
2013 |
msgstr ""
|
2014 |
|
2015 |
+
#: admin/shortcode-builder/shortcode-builder.php:757
|
2016 |
msgid "Any"
|
2017 |
msgstr ""
|
2018 |
|
2019 |
+
#: admin/shortcode-builder/shortcode-builder.php:768
|
2020 |
msgid "Sticky Posts"
|
2021 |
msgstr ""
|
2022 |
|
2023 |
+
#: admin/shortcode-builder/shortcode-builder.php:768
|
2024 |
msgid "Sticky posts are only available for Posts"
|
2025 |
msgstr ""
|
2026 |
|
2027 |
+
#: admin/shortcode-builder/shortcode-builder.php:769
|
2028 |
msgid ""
|
2029 |
"Preserve the ordering of sticky posts by having them appear first in the "
|
2030 |
"Ajax listing."
|
2031 |
msgstr ""
|
2032 |
|
2033 |
+
#: admin/shortcode-builder/shortcode-builder.php:776
|
2034 |
msgid "Enable Sticky Posts"
|
2035 |
msgstr ""
|
2036 |
|
2037 |
+
#: admin/shortcode-builder/shortcode-builder.php:799
|
2038 |
msgid "Post Format"
|
2039 |
msgstr ""
|
2040 |
|
2041 |
+
#: admin/shortcode-builder/shortcode-builder.php:803
|
2042 |
msgid ""
|
2043 |
"Select a <a href=\"http://codex.wordpress.org/Post_Formats\" target=\"_blank"
|
2044 |
"\">Post Format</a> to query."
|
2045 |
msgstr ""
|
2046 |
|
2047 |
+
#: admin/shortcode-builder/shortcode-builder.php:806
|
2048 |
msgid "Select Post Format"
|
2049 |
msgstr ""
|
2050 |
|
2051 |
+
#: admin/shortcode-builder/shortcode-builder.php:807
|
2052 |
msgid "Standard"
|
2053 |
msgstr ""
|
2054 |
|
2055 |
+
#: admin/shortcode-builder/shortcode-builder.php:836
|
2056 |
msgid "Get posts by category using a category_name or category__and query"
|
2057 |
msgstr ""
|
2058 |
|
2059 |
+
#: admin/shortcode-builder/shortcode-builder.php:837
|
2060 |
msgid "Comma separated list of categories to include by"
|
2061 |
msgstr ""
|
2062 |
|
2063 |
+
#: admin/shortcode-builder/shortcode-builder.php:837
|
2064 |
+
#: admin/shortcode-builder/shortcode-builder.php:927
|
2065 |
msgid "slug"
|
2066 |
msgstr ""
|
2067 |
|
2068 |
+
#: admin/shortcode-builder/shortcode-builder.php:873
|
2069 |
+
#: admin/shortcode-builder/shortcode-builder.php:965
|
2070 |
msgid "What's this"
|
2071 |
msgstr ""
|
2072 |
|
2073 |
+
#: admin/shortcode-builder/shortcode-builder.php:885
|
2074 |
msgid "Comma separated list of categories to exclude by ID."
|
2075 |
msgstr ""
|
2076 |
|
2077 |
+
#: admin/shortcode-builder/shortcode-builder.php:926
|
2078 |
msgid "Get posts by tags using a tag or tag__and query"
|
2079 |
msgstr ""
|
2080 |
|
2081 |
+
#: admin/shortcode-builder/shortcode-builder.php:927
|
2082 |
msgid "Comma separated list of tags to include by"
|
2083 |
msgstr ""
|
2084 |
|
2085 |
+
#: admin/shortcode-builder/shortcode-builder.php:977
|
2086 |
msgid "Comma separated list of tags to exclude by ID"
|
2087 |
msgstr ""
|
2088 |
|
2089 |
+
#: admin/shortcode-builder/shortcode-builder.php:1017
|
2090 |
msgid "Select a taxonomy then select the terms and an operator."
|
2091 |
msgstr ""
|
2092 |
|
2093 |
+
#: admin/shortcode-builder/shortcode-builder.php:1022
|
2094 |
+
#: admin/shortcode-builder/shortcode-builder.php:1058
|
2095 |
msgid "Add Another"
|
2096 |
msgstr ""
|
2097 |
|
2098 |
+
#: admin/shortcode-builder/shortcode-builder.php:1033
|
2099 |
msgid "Custom Fields (Meta_Query)"
|
2100 |
msgstr ""
|
2101 |
|
2102 |
+
#: admin/shortcode-builder/shortcode-builder.php:1037
|
2103 |
msgid ""
|
2104 |
"Query for <a href=\"http://codex.wordpress.org/Class_Reference/WP_Meta_Query"
|
2105 |
"\" target=\"_blank\">custom field</a> by entering a custom field key, value "
|
2106 |
"and operator."
|
2107 |
msgstr ""
|
2108 |
|
2109 |
+
#: admin/shortcode-builder/shortcode-builder.php:1048
|
2110 |
msgid ""
|
2111 |
"The logical relationship between each custom field when there is more than "
|
2112 |
"one"
|
2113 |
msgstr ""
|
2114 |
|
2115 |
+
#: admin/shortcode-builder/shortcode-builder.php:1068
|
2116 |
msgid "Date"
|
2117 |
msgstr ""
|
2118 |
|
2119 |
+
#: admin/shortcode-builder/shortcode-builder.php:1072
|
2120 |
msgid "Enter a year, month(number) and day to query by date archive."
|
2121 |
msgstr ""
|
2122 |
|
2123 |
+
#: admin/shortcode-builder/shortcode-builder.php:1079
|
2124 |
msgid "Year:"
|
2125 |
msgstr ""
|
2126 |
|
2127 |
+
#: admin/shortcode-builder/shortcode-builder.php:1083
|
2128 |
msgid "Month:"
|
2129 |
msgstr ""
|
2130 |
|
2131 |
+
#: admin/shortcode-builder/shortcode-builder.php:1087
|
2132 |
msgid "Day:"
|
2133 |
msgstr ""
|
2134 |
|
2135 |
+
#: admin/shortcode-builder/shortcode-builder.php:1105
|
2136 |
msgid "Author"
|
2137 |
msgstr ""
|
2138 |
|
2139 |
+
#: admin/shortcode-builder/shortcode-builder.php:1109
|
2140 |
msgid "Select an Author to query(by ID)."
|
2141 |
msgstr ""
|
2142 |
|
2143 |
+
#: admin/shortcode-builder/shortcode-builder.php:1134
|
2144 |
+
msgid "Search"
|
2145 |
msgstr ""
|
2146 |
|
2147 |
+
#: admin/shortcode-builder/shortcode-builder.php:1138
|
2148 |
msgid "Enter a search term to query."
|
2149 |
msgstr ""
|
2150 |
|
2151 |
+
#: admin/shortcode-builder/shortcode-builder.php:1139
|
2152 |
+
msgid ""
|
2153 |
+
"Search uses the default WordPress search, however Ajax Load More does offer "
|
2154 |
+
"integrations with SearchWP and Relevanssi."
|
2155 |
+
msgstr ""
|
2156 |
+
|
2157 |
+
#: admin/shortcode-builder/shortcode-builder.php:1144
|
2158 |
msgid "Enter search term"
|
2159 |
msgstr ""
|
2160 |
|
2161 |
+
#: admin/shortcode-builder/shortcode-builder.php:1154
|
2162 |
msgid "Post Parameters"
|
2163 |
msgstr ""
|
2164 |
|
2165 |
+
#: admin/shortcode-builder/shortcode-builder.php:1159
|
2166 |
msgid "A comma separated list of post ID's to query."
|
2167 |
msgstr ""
|
2168 |
|
2169 |
+
#: admin/shortcode-builder/shortcode-builder.php:1163
|
2170 |
msgid "225, 340, 818, etc..."
|
2171 |
msgstr ""
|
2172 |
|
2173 |
+
#: admin/shortcode-builder/shortcode-builder.php:1170
|
2174 |
msgid "A comma separated list of post ID's to exclude from query."
|
2175 |
msgstr ""
|
2176 |
|
2177 |
+
#: admin/shortcode-builder/shortcode-builder.php:1181
|
2178 |
msgid "Post Status"
|
2179 |
msgstr ""
|
2180 |
|
2181 |
+
#: admin/shortcode-builder/shortcode-builder.php:1181
|
2182 |
msgid ""
|
2183 |
"Post Status parameters are only available for logged in (admin) users. Non "
|
2184 |
"logged in users will only have access to view content in a 'publish' or "
|
2185 |
"'inherit' state."
|
2186 |
msgstr ""
|
2187 |
|
2188 |
+
#: admin/shortcode-builder/shortcode-builder.php:1182
|
2189 |
msgid "Select status of the post."
|
2190 |
msgstr ""
|
2191 |
|
2192 |
+
#: admin/shortcode-builder/shortcode-builder.php:1187
|
2193 |
msgid "Published"
|
2194 |
msgstr ""
|
2195 |
|
2196 |
+
#: admin/shortcode-builder/shortcode-builder.php:1205
|
2197 |
msgid "Ordering"
|
2198 |
msgstr ""
|
2199 |
|
2200 |
+
#: admin/shortcode-builder/shortcode-builder.php:1209
|
2201 |
msgid "Sort posts by Order and Orderby parameters."
|
2202 |
msgstr ""
|
2203 |
|
2204 |
+
#: admin/shortcode-builder/shortcode-builder.php:1244
|
2205 |
msgid "Offset"
|
2206 |
msgstr ""
|
2207 |
|
2208 |
+
#: admin/shortcode-builder/shortcode-builder.php:1248
|
2209 |
msgid "Offset the initial query by <em>'x'</em> number of posts"
|
2210 |
msgstr ""
|
2211 |
|
2212 |
+
#: admin/shortcode-builder/shortcode-builder.php:1262
|
2213 |
msgid "Custom Arguments"
|
2214 |
msgstr ""
|
2215 |
|
2216 |
+
#: admin/shortcode-builder/shortcode-builder.php:1266
|
2217 |
msgid "A semicolon separated list of custom value:pair arguments."
|
2218 |
msgstr ""
|
2219 |
|
2220 |
+
#: admin/shortcode-builder/shortcode-builder.php:1266
|
2221 |
msgid ""
|
2222 |
"Custom Arguments can be used to query by parameters not available in the "
|
2223 |
"Shortcode Builder"
|
2224 |
msgstr ""
|
2225 |
|
2226 |
+
#: admin/shortcode-builder/shortcode-builder.php:1270
|
2227 |
msgid "event_display:upcoming"
|
2228 |
msgstr ""
|
2229 |
|
2230 |
+
#: admin/shortcode-builder/shortcode-builder.php:1287
|
2231 |
+
msgid "Integrations"
|
2232 |
+
msgstr ""
|
2233 |
+
|
2234 |
+
#: admin/shortcode-builder/shortcode-builder.php:1291
|
2235 |
+
msgid ""
|
2236 |
+
"Ajax Load More provides integration solutions for popular plugins and core "
|
2237 |
+
"WP functionality - when selecting an integration, Ajax Load More will "
|
2238 |
+
"automatically set various parameters on the server side to provide the best "
|
2239 |
+
"experience for users based on the selected integration."
|
2240 |
+
msgstr ""
|
2241 |
+
|
2242 |
+
#: admin/shortcode-builder/shortcode-builder.php:1295
|
2243 |
+
msgid "Archives"
|
2244 |
+
msgstr ""
|
2245 |
+
|
2246 |
+
#: admin/shortcode-builder/shortcode-builder.php:1299
|
2247 |
+
msgid ""
|
2248 |
+
"Ajax Load More will automatically create an archive query while viewing site "
|
2249 |
+
"archives."
|
2250 |
+
msgstr ""
|
2251 |
+
|
2252 |
+
#: admin/shortcode-builder/shortcode-builder.php:1300
|
2253 |
+
msgid ""
|
2254 |
+
"Taxonomy, category, tag, date (year, month, day), post type and author "
|
2255 |
+
"archives are currently supported."
|
2256 |
+
msgstr ""
|
2257 |
+
|
2258 |
+
#: admin/shortcode-builder/shortcode-builder.php:1318
|
2259 |
+
msgid ""
|
2260 |
+
"<b>Note</b>: Do not select Query Parameters other than <b>Posts Per Page</b> "
|
2261 |
+
"and/or <b>Post Type</b> when using the Archives integration. Ajax Load More "
|
2262 |
+
"will automatically create the perfect shortcode for you based on the current "
|
2263 |
+
"archive page."
|
2264 |
+
msgstr ""
|
2265 |
+
|
2266 |
+
#: admin/shortcode-builder/shortcode-builder.php:1325
|
2267 |
+
msgid "WooCommerce"
|
2268 |
+
msgstr ""
|
2269 |
+
|
2270 |
+
#: admin/shortcode-builder/shortcode-builder.php:1329
|
2271 |
+
msgid ""
|
2272 |
+
"Ajax Load More will automatically set WooCommerce configuration options."
|
2273 |
+
msgstr ""
|
2274 |
+
|
2275 |
+
#: admin/shortcode-builder/shortcode-builder.php:1330
|
2276 |
+
msgid ""
|
2277 |
+
"Post type, products per page, container classes, sort order and taxonomy/tag "
|
2278 |
+
"archive queries will be set on the server side based on your sites "
|
2279 |
+
"WooCommerce configuration."
|
2280 |
+
msgstr ""
|
2281 |
+
|
2282 |
#: admin/views/add-ons.php:7
|
2283 |
msgid ""
|
2284 |
"Add-ons are available to extend and enhance the core functionality of Ajax "
|
2285 |
"Load More"
|
2286 |
msgstr ""
|
2287 |
|
2288 |
+
#: admin/views/add-ons.php:41
|
2289 |
+
msgid "Installed"
|
2290 |
+
msgstr ""
|
2291 |
+
|
2292 |
#: admin/views/add-ons.php:43
|
2293 |
msgid "Purchase"
|
2294 |
msgstr ""
|
2489 |
|
2490 |
#: admin/views/licenses.php:167
|
2491 |
msgid ""
|
2492 |
+
"Please try deactivating and then re-activating each license. Once you've "
|
2493 |
"done that, try running the update again."
|
2494 |
msgstr ""
|
2495 |
|
2635 |
msgid "Reset"
|
2636 |
msgstr ""
|
2637 |
|
2638 |
+
#: ajax-load-more.php:314
|
2639 |
msgid "Error creating repeater template directory"
|
2640 |
msgstr ""
|
2641 |
|
2642 |
+
#: ajax-load-more.php:459
|
2643 |
+
msgid "Viewing {post_count} of {total_posts} results."
|
2644 |
msgstr ""
|
2645 |
|
2646 |
+
#: ajax-load-more.php:460
|
2647 |
msgid "No results found."
|
2648 |
msgstr ""
|
2649 |
|
uninstall.php
CHANGED
@@ -12,11 +12,9 @@
|
|
12 |
// Exit if accessed directly.
|
13 |
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) exit;
|
14 |
|
15 |
-
|
16 |
include_once( 'ajax-load-more.php' );
|
17 |
|
18 |
|
19 |
-
|
20 |
global $wpdb;
|
21 |
|
22 |
if(is_multisite()){ // Multisite
|
@@ -60,7 +58,7 @@ if(is_multisite()){ // Multisite
|
|
60 |
function alm_delete_templates(){
|
61 |
|
62 |
$dir = AjaxLoadMore::alm_get_repeater_path(); // /alm_templates directory
|
63 |
-
|
64 |
if(!is_dir( $dir )) return; // Confirm directory exists
|
65 |
|
66 |
// Loop all files in directory
|
12 |
// Exit if accessed directly.
|
13 |
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) exit;
|
14 |
|
|
|
15 |
include_once( 'ajax-load-more.php' );
|
16 |
|
17 |
|
|
|
18 |
global $wpdb;
|
19 |
|
20 |
if(is_multisite()){ // Multisite
|
58 |
function alm_delete_templates(){
|
59 |
|
60 |
$dir = AjaxLoadMore::alm_get_repeater_path(); // /alm_templates directory
|
61 |
+
|
62 |
if(!is_dir( $dir )) return; // Confirm directory exists
|
63 |
|
64 |
// Loop all files in directory
|