WordPress Infinite Scroll – Ajax Load More - Version 5.1.1

Version Description

  • May 29, 2019 =
  • NEW - Added new ALM_DISABLE_REPEATER_TEMPLATES PHP constant that prevents ALM from creating the default Repeater Template or storing template data in your database. To use this feature, add the following to your wp-config.php in the root of your site: define('ALM_DISABLE_REPEATER_TEMPLATES', true);.
  • UPDATE - Removed REST API settings from admin/admin.php and ajax-load-more.php.
  • UPDATE - Better error reporting for failed Ajax requests.
  • UPDATE - Updated the scroll trigger from the Load More <button class="button"/> to the button wrap <div class="alm-btn-wrap/>. This is because many users were setting display: none; on the button directly and that caused loading issues.
  • FIX - FIxed issue with ALM not maintaining past page scroll position when a user hits the browser back button.
  • FIX - Security fix for $querystring URLs in Preloaded content.
  • FIX - Fixed issue with nested .alm-preloaded div elements with Filters and Preloaded addon.
  • FIX - Fixed issue with alm_render function throwing non static function warning message.
  • FIX - Fixed JS console warning message abut duplicate babel/polyfill scripts for users running other versions of Babel.
  • FIX - Fixed srcSet issue with paged results in Filters and SEO addon when using Safari browser.
Download this release

Release Info

Developer dcooney
Plugin Icon 128x128 WordPress Infinite Scroll – Ajax Load More
Version 5.1.1
Comparing to
See all releases

Code changes from version 5.1.0.1 to 5.1.1

README.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: dcooney, connekthq
3
  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.2.0
7
- Stable tag: 5.1.0.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -36,7 +36,7 @@ Check out the **[demo site](https://connekthq.com/plugins/ajax-load-more/)** for
36
 
37
 
38
 
39
- #### What's New 4.0
40
  * **[Pro](https://connekthq.com/plugins/ajax-load-more/pro/)** - Access to all premium add-ons in a single installation.
41
  * **[Filters](https://connekthq.com/plugins/ajax-load-more/add-ons/filters/)** - The Filters add-on provides front-end and admin functionality for building and managing Ajax filters.
42
  * **[User Query](https://connekthq.com/plugins/ajax-load-more/add-ons/users/)** - Query and display a list of WordPress users by role using a `WP_User_Query` and Ajax Load More.
@@ -377,16 +377,27 @@ How to install Ajax Load More.
377
 
378
  == Changelog ==
379
 
380
- = 5.1.0.1 - May 7, 2019 =
 
 
 
 
 
 
 
 
 
 
 
381
 
 
382
  * UPDATE - After the 5.1.0 launch I discovered an issue with the REST API and WooCommerce. I have reverted the default REST API Usage until I can sort this out. 😢
383
 
384
 
385
  = 5.1.0 - May 7, 2019 =
386
-
387
  MAJOR UPDATE NOTICE
388
- Ajax Load More can now use the WordPress REST API as the default for Ajax requests - this includes all add-ons and extensions.
389
- Users that wish to continue using `admin-ajax.php` for Ajax requests can disable the REST API from `Ajax Load More > Settings > Global Settings` in your WordPress admin.
390
 
391
  For backwards compatibility, all users running WordPress version 4.7 or lower will default to using `admin-ajax.php`.
392
 
@@ -401,13 +412,13 @@ What's New in 5.1.0
401
  * FIX - Fixed issue with images not displaying in Safari when `transition_container="false"` is set.
402
  * FIX - Fixed issue where Load More button was not hiding after `destory_after` value was reached.
403
  * FIX - Fixed issue with `meta_value` shortcode parameter. Passing zero as a value was returning false and not the number.
404
- * FIX - Fixed IE11 issue where filtering was not working with camelCase data attributes.
405
 
406
 
407
 
408
  = 5.0.2 - April 4, 2019 =
409
- * NEW - `alm_shortcode_defaults` filter (docs coming soon).
410
- * NEW - `Added alm_settings` filter (docs coming soon).
411
  * FIX - Added custom Safari polyfill for srcset img height issue with Masonry and ImagesLoaded.
412
  * FIX - Fixed issue with encoding URLs in HTTP Ajax request.
413
  * FIX - Fix for undefined labels in Shortcode Builder.
3
  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.2.1
7
+ Stable tag: 5.1.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
36
 
37
 
38
 
39
+ #### What's New
40
  * **[Pro](https://connekthq.com/plugins/ajax-load-more/pro/)** - Access to all premium add-ons in a single installation.
41
  * **[Filters](https://connekthq.com/plugins/ajax-load-more/add-ons/filters/)** - The Filters add-on provides front-end and admin functionality for building and managing Ajax filters.
42
  * **[User Query](https://connekthq.com/plugins/ajax-load-more/add-ons/users/)** - Query and display a list of WordPress users by role using a `WP_User_Query` and Ajax Load More.
377
 
378
  == Changelog ==
379
 
380
+ = 5.1.1 - May 29, 2019 =
381
+ * NEW - Added new `ALM_DISABLE_REPEATER_TEMPLATES` PHP constant that prevents ALM from creating the default Repeater Template or storing template data in your database. To use this feature, add the following to your `wp-config.php` in the root of your site: `define('ALM_DISABLE_REPEATER_TEMPLATES', true);`.
382
+ * UPDATE - Removed REST API settings from admin/admin.php and ajax-load-more.php.
383
+ * UPDATE - Better error reporting for failed Ajax requests.
384
+ * UPDATE - Updated the scroll trigger from the Load More `<button class="button"/>` to the button wrap `<div class="alm-btn-wrap/>`. This is because many users were setting `display: none;` on the button directly and that caused loading issues.
385
+ * FIX - FIxed issue with ALM not maintaining past page scroll position when a user hits the browser back button.
386
+ * FIX - Security fix for $querystring URLs in Preloaded content.
387
+ * FIX - Fixed issue with nested `.alm-preloaded` div elements with Filters and Preloaded addon.
388
+ * FIX - Fixed issue with alm_render function throwing non static function warning message.
389
+ * FIX - Fixed JS console warning message abut duplicate `babel/polyfill scripts` for users running other versions of Babel.
390
+ * FIX - Fixed `srcSet` issue with paged results in Filters and SEO addon when using Safari browser.
391
+
392
 
393
+ = 5.1.0.1 - May 7, 2019 =
394
  * UPDATE - After the 5.1.0 launch I discovered an issue with the REST API and WooCommerce. I have reverted the default REST API Usage until I can sort this out. 😢
395
 
396
 
397
  = 5.1.0 - May 7, 2019 =
 
398
  MAJOR UPDATE NOTICE
399
+ Ajax Load More can now use the WordPress REST API as the default for Ajax requests - this includes all add-ons and extensions.
400
+ Users that wish to continue using `admin-ajax.php` for Ajax requests can disable the REST API from `Ajax Load More > Settings > Global Settings` in your WordPress admin.
401
 
402
  For backwards compatibility, all users running WordPress version 4.7 or lower will default to using `admin-ajax.php`.
403
 
412
  * FIX - Fixed issue with images not displaying in Safari when `transition_container="false"` is set.
413
  * FIX - Fixed issue where Load More button was not hiding after `destory_after` value was reached.
414
  * FIX - Fixed issue with `meta_value` shortcode parameter. Passing zero as a value was returning false and not the number.
415
+ * FIX - Fixed IE11 issue where filtering was not working with camelCase data attributes.
416
 
417
 
418
 
419
  = 5.0.2 - April 4, 2019 =
420
+ * NEW - `alm_shortcode_defaults` filter.
421
+ * NEW - `Added `alm_settings` filter.
422
  * FIX - Added custom Safari polyfill for srcset img height issue with Masonry and ImagesLoaded.
423
  * FIX - Fixed issue with encoding URLs in HTTP Ajax request.
424
  * FIX - Fix for undefined labels in Shortcode Builder.
admin/admin.php CHANGED
@@ -369,8 +369,14 @@ function alm_set_admin_nonce(){
369
  */
370
 
371
  function alm_core_update() {
 
 
 
 
 
372
 
373
- if(!get_option( 'alm_version')){ // Add 'alm_version' to WP options table if it does not exist
 
374
  add_option( 'alm_version', ALM_VERSION );
375
  }
376
 
369
  */
370
 
371
  function alm_core_update() {
372
+
373
+ // Exit if Repeater Templates are disbaled
374
+ if(defined('ALM_DISABLE_REPEATER_TEMPLATES') && ALM_DISABLE_REPEATER_TEMPLATES){
375
+ return false;
376
+ }
377
 
378
+ // Add 'alm_version' to WP options table if it does not exist
379
+ if(!get_option( 'alm_version')){
380
  add_option( 'alm_version', ALM_VERSION );
381
  }
382
 
admin/dist/css/admin.css CHANGED
@@ -1046,10 +1046,13 @@ body.ajax-load-more_page_ajax-load-more-pro {
1046
  #alm-help.ajax-load-more {
1047
  max-width: 1600px; }
1048
 
1049
- .ajax-load-more a:focus {
1050
- -webkit-box-shadow: none;
1051
- box-shadow: none; }
1052
-
 
 
 
1053
  .ajax-load-more img {
1054
  max-width: 100%; }
1055
 
@@ -1535,23 +1538,21 @@ a.button-small {
1535
  margin: 0 0 0 10px; }
1536
  .ajax-load-more p.warning-callout a.button-small:hover, .ajax-load-more p.warning-callout a.button-small:focus {
1537
  background-color: #fff; }
1538
-
1539
- .ajax-load-more p.warning-callout strong {
1540
- display: inline-block;
1541
- font-weight: normal;
1542
- font-family: Consolas, monaco, monospace;
1543
- background-color: #fff;
1544
- padding: 0 6px;
1545
- border-radius: 2px; }
1546
 
1547
  .ajax-load-more p.warning-callout.notify {
1548
- background-color: #ad4141;
1549
- border-color: #903030;
1550
- color: #fff; }
1551
-
1552
- .ajax-load-more p.warning-callout.notify strong {
1553
- background-color: #cb5858;
1554
  color: #fff; }
 
 
 
1555
 
1556
  .ajax-load-more label,
1557
  .ajax-load-more input,
@@ -4167,7 +4168,9 @@ span.dismiss a {
4167
  /* share-alm */
4168
  .alm-notification {
4169
  background: #6199c3 !important;
4170
- border-color: #3f7d9a !important; }
 
 
4171
  .alm-notification:hover a.dismiss {
4172
  opacity: 0.7; }
4173
  .alm-notification .dotted {
@@ -4177,8 +4180,6 @@ span.dismiss a {
4177
  margin: 0 0 20px;
4178
  padding: 0 0 15px; }
4179
  .alm-notification h2 {
4180
- padding-right: 50px;
4181
- padding-left: 32px;
4182
  line-height: 1.25;
4183
  position: relative;
4184
  color: #fff;
1046
  #alm-help.ajax-load-more {
1047
  max-width: 1600px; }
1048
 
1049
+ /*
1050
+ .ajax-load-more a:focus{
1051
+ -webkit-box-shadow: none;
1052
+ -moz-box-shadow: none;
1053
+ box-shadow: none;
1054
+ }
1055
+ */
1056
  .ajax-load-more img {
1057
  max-width: 100%; }
1058
 
1538
  margin: 0 0 0 10px; }
1539
  .ajax-load-more p.warning-callout a.button-small:hover, .ajax-load-more p.warning-callout a.button-small:focus {
1540
  background-color: #fff; }
1541
+ .ajax-load-more p.warning-callout strong {
1542
+ display: inline-block;
1543
+ font-weight: normal;
1544
+ font-family: Consolas, monaco, monospace;
1545
+ background-color: #fff;
1546
+ padding: 1px 6px 0;
1547
+ border-radius: 2px; }
 
1548
 
1549
  .ajax-load-more p.warning-callout.notify {
1550
+ background-color: #da5858;
1551
+ border-color: #b94848;
 
 
 
 
1552
  color: #fff; }
1553
+ .ajax-load-more p.warning-callout.notify strong {
1554
+ background-color: #9a4343;
1555
+ color: #fff; }
1556
 
1557
  .ajax-load-more label,
1558
  .ajax-load-more input,
4168
  /* share-alm */
4169
  .alm-notification {
4170
  background: #6199c3 !important;
4171
+ border-color: #3f7d9a !important;
4172
+ padding: 20px;
4173
+ margin: 0 0 20px; }
4174
  .alm-notification:hover a.dismiss {
4175
  opacity: 0.7; }
4176
  .alm-notification .dotted {
4180
  margin: 0 0 20px;
4181
  padding: 0 0 15px; }
4182
  .alm-notification h2 {
 
 
4183
  line-height: 1.25;
4184
  position: relative;
4185
  color: #fff;
admin/includes/cta/sharing.php CHANGED
@@ -3,8 +3,8 @@
3
  if(!isset($alm_share_notification) || empty($alm_share_notification)){
4
  // If transient has not been set - display this notice.
5
  ?>
6
- <div class="group alm-notification alm-notification--blue">
7
- <h2><span>👋</span>Thank you for installing Ajax Load More!</h2>
8
  <p class="opening">I hope you're finding the plugin easy to use and a nice feature addition to your website.</p>
9
  <p>If so, would you consider helping <a href="https://twitter.com/KaptonKaos" target="_blank">me</a> widen the reach of Ajax Load More by sharing with your networks and/or leaving a review.</p>
10
  <ul class="share">
3
  if(!isset($alm_share_notification) || empty($alm_share_notification)){
4
  // If transient has not been set - display this notice.
5
  ?>
6
+ <div class="alm-notification alm-notification--blue">
7
+ <h2>Thanks for installing Ajax Load More!</h2>
8
  <p class="opening">I hope you're finding the plugin easy to use and a nice feature addition to your website.</p>
9
  <p>If so, would you consider helping <a href="https://twitter.com/KaptonKaos" target="_blank">me</a> widen the reach of Ajax Load More by sharing with your networks and/or leaving a review.</p>
10
  <ul class="share">
admin/src/scss/admin.scss CHANGED
@@ -131,11 +131,13 @@ body.ajax-load-more_page_ajax-load-more-pro{
131
  #alm-help.ajax-load-more{
132
  max-width: 1600px;
133
  }
 
134
  .ajax-load-more a:focus{
135
  -webkit-box-shadow: none;
136
  -moz-box-shadow: none;
137
  box-shadow: none;
138
  }
 
139
  .ajax-load-more img{
140
  max-width: 100%;
141
  }
@@ -662,25 +664,24 @@ a.button-small{
662
  background-color: #fff;
663
  }
664
  }
 
 
 
 
 
 
 
 
665
  }
666
- .ajax-load-more p.warning-callout strong{
667
- display: inline-block;
668
- font-weight: normal;
669
- font-family: Consolas, monaco, monospace;
670
- background-color: #fff;
671
- padding: 0 6px;
672
- border-radius: 2px;
673
- }
674
  .ajax-load-more p.warning-callout.notify{
675
- background-color: #ad4141;
676
- border-color: #903030;
677
  color: #fff;
678
- }
679
-
680
- .ajax-load-more p.warning-callout.notify strong{
681
- background-color: #cb5858;
682
  color: #fff;
683
  }
 
684
 
685
 
686
  .ajax-load-more label,
@@ -3536,6 +3537,8 @@ p.theme-title{
3536
  .alm-notification{
3537
  background: #6199c3 !important;
3538
  border-color: #3f7d9a !important;
 
 
3539
  &:hover{
3540
  a.dismiss{
3541
  opacity: 0.7;
@@ -3549,8 +3552,6 @@ p.theme-title{
3549
  padding: 0 0 15px;
3550
  }
3551
  h2{
3552
- padding-right: 50px;
3553
- padding-left: 32px;
3554
  line-height: 1.25;
3555
  position: relative;
3556
  color: #fff;
131
  #alm-help.ajax-load-more{
132
  max-width: 1600px;
133
  }
134
+ /*
135
  .ajax-load-more a:focus{
136
  -webkit-box-shadow: none;
137
  -moz-box-shadow: none;
138
  box-shadow: none;
139
  }
140
+ */
141
  .ajax-load-more img{
142
  max-width: 100%;
143
  }
664
  background-color: #fff;
665
  }
666
  }
667
+ strong{
668
+ display: inline-block;
669
+ font-weight: normal;
670
+ font-family: Consolas, monaco, monospace;
671
+ background-color: #fff;
672
+ padding: 1px 6px 0;
673
+ border-radius: 2px;
674
+ }
675
  }
 
 
 
 
 
 
 
 
676
  .ajax-load-more p.warning-callout.notify{
677
+ background-color: #da5858;
678
+ border-color: #b94848;
679
  color: #fff;
680
+ strong{
681
+ background-color: #9a4343;
 
 
682
  color: #fff;
683
  }
684
+ }
685
 
686
 
687
  .ajax-load-more label,
3537
  .alm-notification{
3538
  background: #6199c3 !important;
3539
  border-color: #3f7d9a !important;
3540
+ padding: 20px;
3541
+ margin: 0 0 20px;
3542
  &:hover{
3543
  a.dismiss{
3544
  opacity: 0.7;
3552
  padding: 0 0 15px;
3553
  }
3554
  h2{
 
 
3555
  line-height: 1.25;
3556
  position: relative;
3557
  color: #fff;
admin/views/licenses.php CHANGED
@@ -137,6 +137,9 @@
137
  <ul>
138
  <li><?php _e('License keys are found in the purchase receipt email that was sent immediately after purchase and in the <a target="_blank" href="https://connekthq.com/account/">Account</a> section on our website', 'ajax-load-more');?></li>
139
  <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>
 
 
 
140
  </ul>
141
  </div>
142
  <div class="major-publishing-actions">
137
  <ul>
138
  <li><?php _e('License keys are found in the purchase receipt email that was sent immediately after purchase and in the <a target="_blank" href="https://connekthq.com/account/">Account</a> section on our website', 'ajax-load-more');?></li>
139
  <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>
140
+ <li>
141
+ <strong><?php _e('Are you having issues updating an addon?', 'ajax-load-more'); ?></strong><br/>
142
+ <?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>
143
  </ul>
144
  </div>
145
  <div class="major-publishing-actions">
admin/views/repeater-templates.php CHANGED
@@ -1,75 +1,75 @@
1
- <?php
2
  $theme_repeaters = false;
3
  if (isset($_GET['theme-repeaters'])) {
4
- $theme_repeaters = $_GET['theme-repeaters'];
5
  $theme_repeaters = ($theme_repeaters == 'true' && has_action('alm_get_theme_repeater')) ? true : false;
6
  }
7
  ?>
8
 
9
  <div class="admin ajax-load-more" id="alm-repeaters">
10
  <div class="wrap main-cnkt-wrap">
11
-
12
  <header class="header-wrap">
13
  <h1>
14
  <?php echo ALM_TITLE; ?>: <strong><?php _e('Repeater Templates', 'ajax-load-more'); ?></strong>
15
  <em><?php _e('The library of editable templates for use within your theme', 'ajax-load-more'); ?></em>
16
  </h1>
17
- <?php alm_render_transient_notification(); ?>
18
  </header>
19
-
20
  <div class="ajax-load-more-inner-wrapper">
21
-
22
- <div class="cnkt-main repeaters">
23
-
24
  <?php if(has_action('alm_get_theme_repeater')){ ?>
25
  <ul class="alm-toggle-switch">
26
  <li><a href="?page=ajax-load-more-repeaters" class="<?php if(!$theme_repeaters){ echo 'active'; } ?>"><?php _e('Repeater Templates', 'ajax-load-more'); ?></a></li>
27
  <li><a href="?page=ajax-load-more-repeaters&theme-repeaters=true" class="<?php if($theme_repeaters){ echo 'active'; } ?>"><?php _e('Theme Repeaters', 'ajax-load-more'); ?></a></li>
28
- </ul>
29
  <?php } ?>
30
-
31
-
32
  <?php
33
-
34
  // Theme Repeaters
35
-
36
  if($theme_repeaters){ ?>
37
  <div class="group no-shadow">
38
-
39
- <?php
40
-
41
- $options = get_option( 'alm_settings' );
42
  if(!isset($options['_alm_theme_repeaters_dir'])){
43
  $options['_alm_theme_repeaters_dir'] = 'alm_templates';
44
  }
45
-
46
  // Get template location
47
  if(is_child_theme()){
48
- $dir = get_stylesheet_directory() . '/' . $options['_alm_theme_repeaters_dir'];
49
- }else{
50
- $dir = get_template_directory() . '/' . $options['_alm_theme_repeaters_dir'];
51
- }
52
-
53
- $count = 0;
54
- foreach (glob($dir.'/*') as $file) {
55
- $count++;
56
  $file = realpath($file);
57
  $link = substr($file, strlen($dir) + 1);
58
-
59
  $file_extension = strtolower(substr(basename($file), strrpos(basename($file), '.') + 1));
60
  $file_directory = get_option('stylesheet') .'/'. strtolower(substr(basename($dir), strrpos(basename($dir), '/')));
61
-
62
- $id = preg_replace('/\\.[^.\\s]{3,4}$/', '', $link);
63
-
64
  if($file_extension == 'php'){ // Only display .php files files ?>
65
-
66
  <div class="row template" id="tr-<?php echo $id; ?>">
67
- <h3 class="heading"><?php echo basename($file); ?></h3>
68
  <div class="expand-wrap">
69
- <div class="wrap repeater-wrap cm-readonly" data-name="template-tr-<?php echo $id; ?>">
70
-
71
- <div class="alm-row alm-row--margin-btm">
72
- <div class="column">
73
  <?php
74
  $template = fopen ($file, "r"); // Open file
75
  $tr_contents = '';
@@ -92,35 +92,35 @@
92
  });
93
  </script>
94
  </div>
95
- </div>
96
-
97
- <div class="alm-row">
98
- <div class="column">
99
  <div class="file-location">
100
  <p title="<?php echo $file; ?>"><?php _e('Location', 'ajax-load-more'); ?>:</p>
101
  <code><?php echo $file_directory; ?>/<?php echo basename($file); ?></code>
102
  </div>
103
  </div>
104
  </div>
105
- <?php
106
  $repeater_options = array(
107
  'path' => $file,
108
  'name' => basename($file),
109
  'type' => 'theme-repeater'
110
  );
111
- include( ALM_PATH . 'admin/includes/components/repeater-options.php');
112
  unset($repeater_options);
113
- ?>
114
-
115
  </div>
116
  </div>
117
- </div>
118
- <?php
119
  unset($template);
120
  unset($file);
121
- }
122
- }
123
-
124
  if($count > 1){?>
125
  <span class="toggle-all">
126
  <span class="inner-wrap">
@@ -128,9 +128,9 @@
128
  <em class="expand"><?php _e('Expand All', 'ajax-load-more'); ?></em>
129
  </span>
130
  </span>
131
- <?php
132
- }
133
-
134
  if($count == 0){ ?>
135
  <div style="padding: 20px;">
136
  <h3><?php _e('Templates Not Found', 'ajax-load-more'); ?></h3>
@@ -141,15 +141,15 @@
141
  <a href="https://connekthq.com/plugins/ajax-load-more/add-ons/theme-repeaters/" class="button button-primary button-large" target="_blank"><?php _e('Learn More About Theme Repeaters', 'ajax-load-more'); ?></a>
142
  </p>
143
  </div>
144
- <?php }
145
  ?>
146
  </div>
147
-
148
- <?php } else { ?>
149
-
150
  <!-- Repeaters -->
151
  <div class="group no-shadow">
152
-
153
  <?php
154
  if (has_action('alm_custom_repeaters') || has_action('alm_unlimited_repeaters')){ ?>
155
  <span class="toggle-all">
@@ -159,10 +159,10 @@
159
  </span>
160
  </span>
161
  <?php } ?>
162
-
163
  <!-- Default Template -->
164
  <div class="row template default-repeater" id="default-template">
165
-
166
  <?php
167
  // Check for local repeater template
168
  $local_template = false;
@@ -182,9 +182,9 @@
182
  $local_template = true;
183
  $readOnly = true;
184
  }
185
-
186
  $filename = alm_get_default_repeater(); // Get default repeater template
187
-
188
  $handle = fopen ($filename, "r"); // Open file
189
  $contents = '';
190
  if(filesize ($filename) != 0){
@@ -192,21 +192,21 @@
192
  }
193
  fclose ($handle);
194
  ?>
195
- <h3 class="heading"><?php _e('Default Template', 'ajax-load-more'); ?></h3>
196
  <div class="expand-wrap">
197
  <div class="wrap repeater-wrap<?php if($local_template){ echo ' cm-readonly'; } ?>" data-name="default" data-type="default">
198
- <?php
199
- if(!$local_template){
200
  echo '<div class="alm-row alm-row--margin-btm">';
201
- echo '<div class="column column--two-third">';
202
  // Add Label
203
  echo '<label class="template-title" for="template-default">';
204
  _e('Enter the HTML and PHP code for the default template', 'ajax-load-more');
205
- echo ':</label>';
206
- echo '</div>';
207
- echo '<div class="column column--one-third">';
208
- do_action('alm_get_layouts'); // Layouts - Template Selection
209
- echo '</div>';
210
  echo '</div>';
211
  }
212
  ?>
@@ -227,73 +227,86 @@
227
  </script>
228
  </div>
229
  </div>
230
-
231
  <div class="alm-row">
232
  <div class="column">
233
- <?php if(!$local_template){ ?>
234
- <input type="submit" value="<?php _e('Save Template', 'ajax-load-more'); ?>" class="button button-primary save-repeater" data-editor-id="template-default">
235
- <div class="saved-response">&nbsp;</div>
236
- <?php
237
- $repeater_options = array(
238
- 'path' => $filename,
239
- 'name' => 'default',
240
- 'type' => 'standard'
241
- );
242
- include( ALM_PATH . 'admin/includes/components/repeater-options.php');
243
- unset($repeater_options);
244
- ?>
245
- <?php } else {
 
 
 
 
246
  $file_directory = get_option('stylesheet') .'/'. strtolower(substr(basename($template_dir), strrpos(basename($template_dir), '/')));
247
- ?>
248
- <p class="warning-callout" style="margin-right: 0; margin-left: 0;"><?php _e('It appears you are loading the <a href="https://connekthq.com/plugins/ajax-load-more/docs/repeater-templates/#default-template" target="_blank"><b>default template</b></a> (<em>default.php</em>) from your current theme directory. To modify this template, you must edit the file directly on your server.', 'ajax-load-more'); ?></p>
249
  <div class="file-location">
250
  <p title="<?php echo $filename; ?>"><?php _e('Location', 'ajax-load-more'); ?>:</p>
251
  <code><?php echo $file_directory; ?></code>
252
- </div>
253
  <?php } ?>
 
 
 
 
 
 
 
 
 
254
  </div>
255
  </div>
256
-
257
  </div>
258
  </div>
259
- </div>
260
  <!-- End Default Template -->
261
-
262
-
263
  <!-- Custom Repeaters -->
264
  <?php
265
-
266
  if ( !has_action('alm_get_unlimited_repeaters') && !has_action('alm_get_custom_repeaters') ){
267
  // If Custom Repeaters & Theme Repeaters is NOT installed
268
  echo '<div class="alm-row" style="padding-top: 15px;">';
269
  include( ALM_PATH . 'admin/includes/cta/extend.php');
270
  echo '</div>';
271
  }
272
-
273
  // Custom Repeaters V1
274
- if (has_action('alm_custom_repeaters')){
275
  do_action('alm_custom_repeaters');
276
  }
277
-
278
  // Custom Repeaters V2
279
  if (has_action('alm_unlimited_repeaters')){
280
  do_action('alm_unlimited_repeaters');
281
  }
282
-
283
  ?>
284
-
285
  <script>
286
  jQuery(document).ready(function($) {
287
  "use strict";
288
  var _alm_admin = {};
289
-
290
  /*
291
  * _alm_admin.saveRepeater
292
  * Save Custom Repeater Value
293
  *
294
  * @since 2.0.0
295
  */
296
-
297
  _alm_admin.saveRepeater = function(btn, editorId) {
298
  var container = btn.closest('.repeater-wrap'),
299
  el = $('textarea._alm_repeater', container),
@@ -304,32 +317,32 @@
304
  type = container.data('type'), // Get template type (default/repeater/unlimited)
305
  alias = ($('input._alm_repeater_alias', container).length) ? $('input._alm_repeater_alias', container).val() : '',
306
  responseText = $(".saved-response", container);
307
-
308
  if(type === undefined) // Fix for custom repeaters v1
309
  type = 'undefined';
310
-
311
  //Get value from CodeMirror textarea
312
  var id = editorId.replace('template-', ''); // Editor ID
313
-
314
  if(id === 'default'){ // Default Template
315
  value = editorDefault.getValue();
316
  }else{ // Repeater Templates
317
  var eid = window['editor_'+id]; // Set editor ID
318
  value = eid.getValue();
319
  }
320
-
321
  // if value is null, then set repeater to non breaking space
322
  if(value === '' || value === 'undefined'){
323
  value = '&nbsp;';
324
  }
325
-
326
  //If template is not already saving, then proceed
327
  if (!btn.hasClass('saving')) {
328
  btn.addClass('saving');
329
  textarea.addClass('loading');
330
  responseText.addClass('loading').html('<?php _e('Saving template...', 'ajax-load-more') ?>');
331
  responseText.animate({'opacity' : 1});
332
-
333
  $.ajax({
334
  type: 'POST',
335
  url: alm_admin_localize.ajax_admin_url,
@@ -342,22 +355,22 @@
342
  nonce: alm_admin_localize.alm_admin_nonce,
343
  },
344
  success: function(response) {
345
-
346
  $('textarea#'+editorId).val(value); // Set the target textarea val to 'value'
347
-
348
  setTimeout(function() {
349
  responseText.delay(500).html(response).removeClass('loading');
350
  textarea.removeClass('loading');
351
  }, 250);
352
-
353
  setTimeout(function() {
354
  responseText.animate({'opacity': 0}, function(){
355
  responseText.html('&nbsp;');
356
  btn.removeClass('saving');
357
  });
358
-
359
  }, 3000);
360
-
361
  },
362
  error: function(xhr, status, error) {
363
  responseText.html('<?php _e('Something went wrong and the data could not be saved.', 'ajax-load-more') ?>').removeClass('loading');
@@ -367,22 +380,22 @@
367
  });
368
  }
369
  }
370
-
371
-
372
  $(document).on('click', 'input.save-repeater', function(){
373
  var btn = $(this),
374
  editorId = btn.data('editor-id');
375
  _alm_admin.saveRepeater(btn, editorId);
376
  });
377
-
378
-
379
  /*
380
  * _alm_admin.updateRepeater
381
  * Update Repeater Value
382
  *
383
  * @since 2.5
384
  */
385
-
386
  _alm_admin.updateRepeater = function(btn, editorId) {
387
  var container = btn.closest('.repeater-wrap'),
388
  el = $('textarea._alm_repeater', container),
@@ -391,11 +404,11 @@
391
  editor = $('.CodeMirror', container),
392
  repeater = container.data('name'), // Get templete name
393
  type = container.data('type'); // Get template type (default/repeater/unlimited)
394
-
395
  //Get value from CodeMirror textarea
396
  var editorId = repeater,
397
  id = editorId.replace('template-', ''); // Editor ID
398
-
399
  //If template is not already saving, then proceed
400
  if (!btn.hasClass('updating')) {
401
  btn.addClass('updating').text("<?php _e('Updating template...', 'ajax-load-more'); ?>");
@@ -416,7 +429,7 @@
416
  var eid = window['editor_'+id]; // Set editor ID
417
  eid.setValue(response);
418
  }
419
-
420
  // Clear button styles
421
  setTimeout(function() {
422
  btn.text("<?php _e('Template Updated', 'ajax-load-more'); ?>").blur();
@@ -426,7 +439,7 @@
426
  editor.removeClass('loading');
427
  }, 400);
428
  }, 400);
429
-
430
  },
431
  error: function(xhr, status, error) {
432
  btn.removeClass('updating').html(btn_text).blur();
@@ -435,30 +448,30 @@
435
  });
436
  }
437
  }
438
-
439
  $('.option-update a').click(function(){
440
  var btn = $(this);
441
  _alm_admin.updateRepeater(btn);
442
  });
443
-
444
  });
445
  </script>
446
-
447
  </div>
448
  <!-- End Repeaters -->
449
-
450
  <?php } ?>
451
-
452
  </div>
453
-
454
  <aside class="cnkt-sidebar">
455
-
456
  <div id="cnkt-sticky-wrapper">
457
  <div id="cnkt-sticky">
458
-
459
- <?php
460
  // Add TOC if users has Custom Repeaters
461
- if (has_action('alm_unlimited_repeaters') || $theme_repeaters){
462
  ?>
463
  <div class="table-of-contents repeaters-toc">
464
  <div class="cta">
@@ -468,30 +481,30 @@
468
  </div>
469
  </div>
470
  <?php } ?>
471
-
472
  <div class="cta">
473
  <h3><?php _e('What\'s a Repeater Template?', 'ajax-load-more'); ?></h3>
474
  <div class="cta-inner">
475
  <p><?php _e('A <a href="https://connekthq.com/plugins/ajax-load-more/docs/repeater-templates/" target="_blank">Repeater Template</a> is a snippet of code that will execute over and over within a <a href="http://codex.wordpress.org/The_Loop" target="_blank">WordPress loop</a>', 'ajax-load-more'); ?>.</p>
476
- </div>
477
  <div class="major-publishing-actions">
478
  <a class="button button-primary" href="https://connekthq.com/plugins/ajax-load-more/docs/repeater-templates/" target="_blank"><?php _e('Learn More', 'ajax-load-more'); ?></a>
479
  </div>
480
  </div>
481
-
482
- <?php
483
  if(!$theme_repeaters){
484
- include_once( ALM_PATH . 'admin/includes/cta/writeable.php');
485
  }
486
  ?>
487
-
488
  </div>
489
  </div>
490
-
491
  </aside>
492
-
493
  <div class="clear"></div>
494
  </div>
495
 
496
  </div>
497
- </div>
1
+ <?php
2
  $theme_repeaters = false;
3
  if (isset($_GET['theme-repeaters'])) {
4
+ $theme_repeaters = $_GET['theme-repeaters'];
5
  $theme_repeaters = ($theme_repeaters == 'true' && has_action('alm_get_theme_repeater')) ? true : false;
6
  }
7
  ?>
8
 
9
  <div class="admin ajax-load-more" id="alm-repeaters">
10
  <div class="wrap main-cnkt-wrap">
11
+
12
  <header class="header-wrap">
13
  <h1>
14
  <?php echo ALM_TITLE; ?>: <strong><?php _e('Repeater Templates', 'ajax-load-more'); ?></strong>
15
  <em><?php _e('The library of editable templates for use within your theme', 'ajax-load-more'); ?></em>
16
  </h1>
17
+ <?php alm_render_transient_notification(); ?>
18
  </header>
19
+
20
  <div class="ajax-load-more-inner-wrapper">
21
+
22
+ <div class="cnkt-main repeaters">
23
+
24
  <?php if(has_action('alm_get_theme_repeater')){ ?>
25
  <ul class="alm-toggle-switch">
26
  <li><a href="?page=ajax-load-more-repeaters" class="<?php if(!$theme_repeaters){ echo 'active'; } ?>"><?php _e('Repeater Templates', 'ajax-load-more'); ?></a></li>
27
  <li><a href="?page=ajax-load-more-repeaters&theme-repeaters=true" class="<?php if($theme_repeaters){ echo 'active'; } ?>"><?php _e('Theme Repeaters', 'ajax-load-more'); ?></a></li>
28
+ </ul>
29
  <?php } ?>
30
+
31
+
32
  <?php
33
+
34
  // Theme Repeaters
35
+
36
  if($theme_repeaters){ ?>
37
  <div class="group no-shadow">
38
+
39
+ <?php
40
+
41
+ $options = get_option( 'alm_settings' );
42
  if(!isset($options['_alm_theme_repeaters_dir'])){
43
  $options['_alm_theme_repeaters_dir'] = 'alm_templates';
44
  }
45
+
46
  // Get template location
47
  if(is_child_theme()){
48
+ $dir = get_stylesheet_directory() . '/' . $options['_alm_theme_repeaters_dir'];
49
+ }else{
50
+ $dir = get_template_directory() . '/' . $options['_alm_theme_repeaters_dir'];
51
+ }
52
+
53
+ $count = 0;
54
+ foreach (glob($dir.'/*') as $file) {
55
+ $count++;
56
  $file = realpath($file);
57
  $link = substr($file, strlen($dir) + 1);
58
+
59
  $file_extension = strtolower(substr(basename($file), strrpos(basename($file), '.') + 1));
60
  $file_directory = get_option('stylesheet') .'/'. strtolower(substr(basename($dir), strrpos(basename($dir), '/')));
61
+
62
+ $id = preg_replace('/\\.[^.\\s]{3,4}$/', '', $link);
63
+
64
  if($file_extension == 'php'){ // Only display .php files files ?>
65
+
66
  <div class="row template" id="tr-<?php echo $id; ?>">
67
+ <h3 class="heading" tabindex="0"><?php echo basename($file); ?></h3>
68
  <div class="expand-wrap">
69
+ <div class="wrap repeater-wrap cm-readonly" data-name="template-tr-<?php echo $id; ?>">
70
+
71
+ <div class="alm-row alm-row--margin-btm">
72
+ <div class="column">
73
  <?php
74
  $template = fopen ($file, "r"); // Open file
75
  $tr_contents = '';
92
  });
93
  </script>
94
  </div>
95
+ </div>
96
+
97
+ <div class="alm-row">
98
+ <div class="column">
99
  <div class="file-location">
100
  <p title="<?php echo $file; ?>"><?php _e('Location', 'ajax-load-more'); ?>:</p>
101
  <code><?php echo $file_directory; ?>/<?php echo basename($file); ?></code>
102
  </div>
103
  </div>
104
  </div>
105
+ <?php
106
  $repeater_options = array(
107
  'path' => $file,
108
  'name' => basename($file),
109
  'type' => 'theme-repeater'
110
  );
111
+ include( ALM_PATH . 'admin/includes/components/repeater-options.php');
112
  unset($repeater_options);
113
+ ?>
114
+
115
  </div>
116
  </div>
117
+ </div>
118
+ <?php
119
  unset($template);
120
  unset($file);
121
+ }
122
+ }
123
+
124
  if($count > 1){?>
125
  <span class="toggle-all">
126
  <span class="inner-wrap">
128
  <em class="expand"><?php _e('Expand All', 'ajax-load-more'); ?></em>
129
  </span>
130
  </span>
131
+ <?php
132
+ }
133
+
134
  if($count == 0){ ?>
135
  <div style="padding: 20px;">
136
  <h3><?php _e('Templates Not Found', 'ajax-load-more'); ?></h3>
141
  <a href="https://connekthq.com/plugins/ajax-load-more/add-ons/theme-repeaters/" class="button button-primary button-large" target="_blank"><?php _e('Learn More About Theme Repeaters', 'ajax-load-more'); ?></a>
142
  </p>
143
  </div>
144
+ <?php }
145
  ?>
146
  </div>
147
+
148
+ <?php } else { ?>
149
+
150
  <!-- Repeaters -->
151
  <div class="group no-shadow">
152
+
153
  <?php
154
  if (has_action('alm_custom_repeaters') || has_action('alm_unlimited_repeaters')){ ?>
155
  <span class="toggle-all">
159
  </span>
160
  </span>
161
  <?php } ?>
162
+
163
  <!-- Default Template -->
164
  <div class="row template default-repeater" id="default-template">
165
+
166
  <?php
167
  // Check for local repeater template
168
  $local_template = false;
182
  $local_template = true;
183
  $readOnly = true;
184
  }
185
+
186
  $filename = alm_get_default_repeater(); // Get default repeater template
187
+
188
  $handle = fopen ($filename, "r"); // Open file
189
  $contents = '';
190
  if(filesize ($filename) != 0){
192
  }
193
  fclose ($handle);
194
  ?>
195
+ <h3 class="heading" tabindex="0"><?php _e('Default Template', 'ajax-load-more'); ?></h3>
196
  <div class="expand-wrap">
197
  <div class="wrap repeater-wrap<?php if($local_template){ echo ' cm-readonly'; } ?>" data-name="default" data-type="default">
198
+ <?php
199
+ if(!$local_template){
200
  echo '<div class="alm-row alm-row--margin-btm">';
201
+ echo '<div class="column column--two-third">';
202
  // Add Label
203
  echo '<label class="template-title" for="template-default">';
204
  _e('Enter the HTML and PHP code for the default template', 'ajax-load-more');
205
+ echo ':</label>';
206
+ echo '</div>';
207
+ echo '<div class="column column--one-third">';
208
+ do_action('alm_get_layouts'); // Layouts - Template Selection
209
+ echo '</div>';
210
  echo '</div>';
211
  }
212
  ?>
227
  </script>
228
  </div>
229
  </div>
230
+
231
  <div class="alm-row">
232
  <div class="column">
233
+ <?php if(!$local_template){ ?>
234
+
235
+ <?php if(!defined('ALM_DISABLE_REPEATER_TEMPLATES') || (defined('ALM_DISABLE_REPEATER_TEMPLATES') && !ALM_DISABLE_REPEATER_TEMPLATES)){ ?>
236
+ <input type="submit" value="<?php _e('Save Template', 'ajax-load-more'); ?>" class="button button-primary save-repeater" data-editor-id="template-default">
237
+ <div class="saved-response">&nbsp;</div>
238
+ <?php
239
+ $repeater_options = array(
240
+ 'path' => $filename,
241
+ 'name' => 'default',
242
+ 'type' => 'standard'
243
+ );
244
+ include( ALM_PATH . 'admin/includes/components/repeater-options.php');
245
+ unset($repeater_options);
246
+ ?>
247
+ <?php }?>
248
+
249
+ <?php } else {
250
  $file_directory = get_option('stylesheet') .'/'. strtolower(substr(basename($template_dir), strrpos(basename($template_dir), '/')));
251
+ ?>
252
+ <p class="warning-callout" style="margin-right: 0; margin-left: 0;"><?php _e('It appears you are loading the <a href="https://connekthq.com/plugins/ajax-load-more/docs/repeater-templates/#default-template" target="_blank"><b>default template</b></a> (<em>default.php</em>) from your current theme directory. To modify this template, you must edit the file directly on your server.', 'ajax-load-more'); ?></p>
253
  <div class="file-location">
254
  <p title="<?php echo $filename; ?>"><?php _e('Location', 'ajax-load-more'); ?>:</p>
255
  <code><?php echo $file_directory; ?></code>
256
+ </div>
257
  <?php } ?>
258
+
259
+ <?php
260
+ // Disbaled Repeater Templates warning
261
+ if(!$local_template && defined('ALM_DISABLE_REPEATER_TEMPLATES') && ALM_DISABLE_REPEATER_TEMPLATES){ ?>
262
+ <p class="warning-callout notify" style="margin-right: 0; margin-left: 0; margin-bottom: 0;">
263
+ <?php _e('Repeater Templates editing has been disabled for this instance of Ajax Load More. To enable the template editing, please remove the <strong>ALM_DISABLE_REPEATER_TEMPLATES</strong> PHP constant in your wp-config.php and then re-activate this plugin.', 'ajax-load-more'); ?>
264
+ </p>
265
+ <?php } ?>
266
+
267
  </div>
268
  </div>
269
+
270
  </div>
271
  </div>
272
+ </div>
273
  <!-- End Default Template -->
274
+
275
+
276
  <!-- Custom Repeaters -->
277
  <?php
278
+
279
  if ( !has_action('alm_get_unlimited_repeaters') && !has_action('alm_get_custom_repeaters') ){
280
  // If Custom Repeaters & Theme Repeaters is NOT installed
281
  echo '<div class="alm-row" style="padding-top: 15px;">';
282
  include( ALM_PATH . 'admin/includes/cta/extend.php');
283
  echo '</div>';
284
  }
285
+
286
  // Custom Repeaters V1
287
+ if (has_action('alm_custom_repeaters')){
288
  do_action('alm_custom_repeaters');
289
  }
290
+
291
  // Custom Repeaters V2
292
  if (has_action('alm_unlimited_repeaters')){
293
  do_action('alm_unlimited_repeaters');
294
  }
295
+
296
  ?>
297
+
298
  <script>
299
  jQuery(document).ready(function($) {
300
  "use strict";
301
  var _alm_admin = {};
302
+
303
  /*
304
  * _alm_admin.saveRepeater
305
  * Save Custom Repeater Value
306
  *
307
  * @since 2.0.0
308
  */
309
+
310
  _alm_admin.saveRepeater = function(btn, editorId) {
311
  var container = btn.closest('.repeater-wrap'),
312
  el = $('textarea._alm_repeater', container),
317
  type = container.data('type'), // Get template type (default/repeater/unlimited)
318
  alias = ($('input._alm_repeater_alias', container).length) ? $('input._alm_repeater_alias', container).val() : '',
319
  responseText = $(".saved-response", container);
320
+
321
  if(type === undefined) // Fix for custom repeaters v1
322
  type = 'undefined';
323
+
324
  //Get value from CodeMirror textarea
325
  var id = editorId.replace('template-', ''); // Editor ID
326
+
327
  if(id === 'default'){ // Default Template
328
  value = editorDefault.getValue();
329
  }else{ // Repeater Templates
330
  var eid = window['editor_'+id]; // Set editor ID
331
  value = eid.getValue();
332
  }
333
+
334
  // if value is null, then set repeater to non breaking space
335
  if(value === '' || value === 'undefined'){
336
  value = '&nbsp;';
337
  }
338
+
339
  //If template is not already saving, then proceed
340
  if (!btn.hasClass('saving')) {
341
  btn.addClass('saving');
342
  textarea.addClass('loading');
343
  responseText.addClass('loading').html('<?php _e('Saving template...', 'ajax-load-more') ?>');
344
  responseText.animate({'opacity' : 1});
345
+
346
  $.ajax({
347
  type: 'POST',
348
  url: alm_admin_localize.ajax_admin_url,
355
  nonce: alm_admin_localize.alm_admin_nonce,
356
  },
357
  success: function(response) {
358
+
359
  $('textarea#'+editorId).val(value); // Set the target textarea val to 'value'
360
+
361
  setTimeout(function() {
362
  responseText.delay(500).html(response).removeClass('loading');
363
  textarea.removeClass('loading');
364
  }, 250);
365
+
366
  setTimeout(function() {
367
  responseText.animate({'opacity': 0}, function(){
368
  responseText.html('&nbsp;');
369
  btn.removeClass('saving');
370
  });
371
+
372
  }, 3000);
373
+
374
  },
375
  error: function(xhr, status, error) {
376
  responseText.html('<?php _e('Something went wrong and the data could not be saved.', 'ajax-load-more') ?>').removeClass('loading');
380
  });
381
  }
382
  }
383
+
384
+
385
  $(document).on('click', 'input.save-repeater', function(){
386
  var btn = $(this),
387
  editorId = btn.data('editor-id');
388
  _alm_admin.saveRepeater(btn, editorId);
389
  });
390
+
391
+
392
  /*
393
  * _alm_admin.updateRepeater
394
  * Update Repeater Value
395
  *
396
  * @since 2.5
397
  */
398
+
399
  _alm_admin.updateRepeater = function(btn, editorId) {
400
  var container = btn.closest('.repeater-wrap'),
401
  el = $('textarea._alm_repeater', container),
404
  editor = $('.CodeMirror', container),
405
  repeater = container.data('name'), // Get templete name
406
  type = container.data('type'); // Get template type (default/repeater/unlimited)
407
+
408
  //Get value from CodeMirror textarea
409
  var editorId = repeater,
410
  id = editorId.replace('template-', ''); // Editor ID
411
+
412
  //If template is not already saving, then proceed
413
  if (!btn.hasClass('updating')) {
414
  btn.addClass('updating').text("<?php _e('Updating template...', 'ajax-load-more'); ?>");
429
  var eid = window['editor_'+id]; // Set editor ID
430
  eid.setValue(response);
431
  }
432
+
433
  // Clear button styles
434
  setTimeout(function() {
435
  btn.text("<?php _e('Template Updated', 'ajax-load-more'); ?>").blur();
439
  editor.removeClass('loading');
440
  }, 400);
441
  }, 400);
442
+
443
  },
444
  error: function(xhr, status, error) {
445
  btn.removeClass('updating').html(btn_text).blur();
448
  });
449
  }
450
  }
451
+
452
  $('.option-update a').click(function(){
453
  var btn = $(this);
454
  _alm_admin.updateRepeater(btn);
455
  });
456
+
457
  });
458
  </script>
459
+
460
  </div>
461
  <!-- End Repeaters -->
462
+
463
  <?php } ?>
464
+
465
  </div>
466
+
467
  <aside class="cnkt-sidebar">
468
+
469
  <div id="cnkt-sticky-wrapper">
470
  <div id="cnkt-sticky">
471
+
472
+ <?php
473
  // Add TOC if users has Custom Repeaters
474
+ if (has_action('alm_unlimited_repeaters') || $theme_repeaters){
475
  ?>
476
  <div class="table-of-contents repeaters-toc">
477
  <div class="cta">
481
  </div>
482
  </div>
483
  <?php } ?>
484
+
485
  <div class="cta">
486
  <h3><?php _e('What\'s a Repeater Template?', 'ajax-load-more'); ?></h3>
487
  <div class="cta-inner">
488
  <p><?php _e('A <a href="https://connekthq.com/plugins/ajax-load-more/docs/repeater-templates/" target="_blank">Repeater Template</a> is a snippet of code that will execute over and over within a <a href="http://codex.wordpress.org/The_Loop" target="_blank">WordPress loop</a>', 'ajax-load-more'); ?>.</p>
489
+ </div>
490
  <div class="major-publishing-actions">
491
  <a class="button button-primary" href="https://connekthq.com/plugins/ajax-load-more/docs/repeater-templates/" target="_blank"><?php _e('Learn More', 'ajax-load-more'); ?></a>
492
  </div>
493
  </div>
494
+
495
+ <?php
496
  if(!$theme_repeaters){
497
+ include_once( ALM_PATH . 'admin/includes/cta/writeable.php');
498
  }
499
  ?>
500
+
501
  </div>
502
  </div>
503
+
504
  </aside>
505
+
506
  <div class="clear"></div>
507
  </div>
508
 
509
  </div>
510
+ </div>
admin/views/settings.php CHANGED
@@ -65,9 +65,8 @@
65
 
66
  </div>
67
  <aside class="cnkt-sidebar">
68
- <?php //include_once( ALM_PATH . 'admin/includes/cta/pro.php'); ?>
69
  <?php //include_once( ALM_PATH . 'admin/includes/cta/sharing.php'); ?>
70
- <?php include_once( ALM_PATH . 'admin/includes/cta/test.php'); ?>
71
  <?php include_once( ALM_PATH . 'admin/includes/cta/resources.php'); ?>
72
  <?php include_once( ALM_PATH . 'admin/includes/cta/dyk.php'); ?>
73
  <?php include_once( ALM_PATH . 'admin/includes/cta/about.php'); ?>
65
 
66
  </div>
67
  <aside class="cnkt-sidebar">
 
68
  <?php //include_once( ALM_PATH . 'admin/includes/cta/sharing.php'); ?>
69
+ <?php //include_once( ALM_PATH . 'admin/includes/cta/test.php'); ?>
70
  <?php include_once( ALM_PATH . 'admin/includes/cta/resources.php'); ?>
71
  <?php include_once( ALM_PATH . 'admin/includes/cta/dyk.php'); ?>
72
  <?php include_once( ALM_PATH . 'admin/includes/cta/about.php'); ?>
ajax-load-more.php CHANGED
@@ -7,26 +7,27 @@ Text Domain: ajax-load-more
7
  Author: Darren Cooney
8
  Twitter: @KaptonKaos
9
  Author URI: https://connekthq.com
10
- Version: 5.1.0.1
11
  License: GPL
12
  Copyright: Darren Cooney & Connekt Media
13
  */
14
 
15
 
16
- define('ALM_VERSION', '5.1.0.1');
17
- define('ALM_RELEASE', 'May 7, 2019');
18
  define('ALM_STORE_URL', 'https://connekthq.com');
19
 
20
 
21
 
22
- /*
23
- * alm_install
24
- * Activation hook - Create table & repeater
25
- *
26
- * @since 2.0.0
27
- */
28
 
29
  function alm_install($network_wide) {
 
30
  global $wpdb;
31
  add_option( "alm_version", ALM_VERSION ); // Add to WP Option tbl
32
  if ( is_multisite() && $network_wide ) {
@@ -40,19 +41,20 @@ function alm_install($network_wide) {
40
  } else {
41
  alm_create_table();
42
  }
 
43
  }
44
  register_activation_hook( __FILE__, 'alm_install' );
45
  add_action( 'wpmu_new_blog', 'alm_install' );
46
 
47
 
48
 
49
- /*
50
- * alm_create_table
51
- * Create new table and repeater template
52
- *
53
- * @since 2.0.0
54
- * @updated 3.5
55
- */
56
  function alm_create_table(){
57
 
58
  global $wpdb;
@@ -71,9 +73,14 @@ function alm_create_table(){
71
  $w = fwrite($tmp, $defaultRepeater);
72
  fclose($tmp);
73
  }
 
 
 
 
 
74
 
75
- //C reate table, if it doesn't already exist.
76
- if($wpdb->get_var("SHOW TABLES LIKE '$table_name'") != $table_name) {
77
  $sql = "CREATE TABLE $table_name (
78
  id mediumint(9) NOT NULL AUTO_INCREMENT,
79
  name text NOT NULL,
@@ -87,6 +94,7 @@ function alm_create_table(){
87
  // Insert the default data in created table
88
  $wpdb->insert($table_name , array('name' => 'default', 'repeaterDefault' => $defaultRepeater, 'repeaterType' => 'default', 'pluginVersion' => ALM_VERSION));
89
  }
 
90
  }
91
 
92
 
@@ -257,8 +265,6 @@ if( !class_exists('AjaxLoadMore') ):
257
  public function alm_includes(){
258
 
259
  include_once( ALM_PATH . 'core/functions.php'); // Load Core Functions
260
- include_once( ALM_PATH . 'core/api/get_posts.php'); // API Endpoint
261
- include_once( ALM_PATH . 'core/api/test.php'); // API Endpoint
262
  include_once( ALM_PATH . 'core/classes/class.alm-shortcode.php'); // Load Shortcode Class
263
  include_once( ALM_PATH . 'core/classes/class.alm-enqueue.php'); // Load Enqueue Class
264
  include_once( ALM_PATH . 'core/classes/class.alm-queryargs.php'); // Load Query Args Class
@@ -351,19 +357,9 @@ if( !class_exists('AjaxLoadMore') ):
351
  $options = get_option( 'alm_settings' );
352
 
353
 
354
- /*
355
- * alm_js_dependencies
356
- *
357
- * ALM Core Filter
358
- *
359
- * @return Boolean
360
- */
361
- $dependencies = apply_filters( 'alm_js_dependencies', '' );
362
-
363
-
364
  // Core ALM JS
365
  $suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min'; // Use minified libraries if SCRIPT_DEBUG is turned off
366
- wp_register_script( 'ajax-load-more', plugins_url( '/core/dist/js/ajax-load-more'.$suffix.'.js', __FILE__ ), $dependencies, ALM_VERSION, true );
367
 
368
  // Progress Bar JS
369
  wp_register_script( 'ajax-load-more-progress', plugins_url( '/vendor/js/pace/pace.min.js', __FILE__ ), 'ajax-load-more', ALM_VERSION, true );
@@ -425,7 +421,7 @@ if( !class_exists('AjaxLoadMore') ):
425
  * @since 2.0.0
426
  * @updated 3.2.0
427
  */
428
- public function alm_shortcode($atts) {
429
  self::$shortcode_atts = $atts;
430
  return ALM_SHORTCODE::alm_render_shortcode($atts);
431
  }
@@ -460,7 +456,7 @@ if( !class_exists('AjaxLoadMore') ):
460
  $id = (isset($_GET['id'])) ? $_GET['id'] : '';
461
  $post_id = (isset($_GET['post_id'])) ? $_GET['post_id'] : '';
462
  $slug = (isset($_GET['slug'])) ? $_GET['slug'] : '';
463
- $canonical_url = (isset($_GET['canonical_url'])) ? $_GET['canonical_url'] : $_SERVER['HTTP_REFERER'];
464
 
465
 
466
  // Ajax Query Type
7
  Author: Darren Cooney
8
  Twitter: @KaptonKaos
9
  Author URI: https://connekthq.com
10
+ Version: 5.1.1
11
  License: GPL
12
  Copyright: Darren Cooney & Connekt Media
13
  */
14
 
15
 
16
+ define('ALM_VERSION', '5.1.1');
17
+ define('ALM_RELEASE', 'May 29, 2019');
18
  define('ALM_STORE_URL', 'https://connekthq.com');
19
 
20
 
21
 
22
+ /**
23
+ * alm_install
24
+ * Activation hook - Create table & repeater
25
+ *
26
+ * @since 2.0.0
27
+ */
28
 
29
  function alm_install($network_wide) {
30
+
31
  global $wpdb;
32
  add_option( "alm_version", ALM_VERSION ); // Add to WP Option tbl
33
  if ( is_multisite() && $network_wide ) {
41
  } else {
42
  alm_create_table();
43
  }
44
+
45
  }
46
  register_activation_hook( __FILE__, 'alm_install' );
47
  add_action( 'wpmu_new_blog', 'alm_install' );
48
 
49
 
50
 
51
+ /**
52
+ * alm_create_table
53
+ * Create new table and repeater template
54
+ *
55
+ * @since 2.0.0
56
+ * @updated 3.5
57
+ */
58
  function alm_create_table(){
59
 
60
  global $wpdb;
73
  $w = fwrite($tmp, $defaultRepeater);
74
  fclose($tmp);
75
  }
76
+
77
+ // Exit if Repeater Templates are disbaled, we don't want to create the table
78
+ if( defined('ALM_DISABLE_REPEATER_TEMPLATES') && ALM_DISABLE_REPEATER_TEMPLATES ){
79
+ return false;
80
+ }
81
 
82
+ // Create table, if it doesn't already exist.
83
+ if( $wpdb->get_var("SHOW TABLES LIKE '$table_name'") != $table_name ) {
84
  $sql = "CREATE TABLE $table_name (
85
  id mediumint(9) NOT NULL AUTO_INCREMENT,
86
  name text NOT NULL,
94
  // Insert the default data in created table
95
  $wpdb->insert($table_name , array('name' => 'default', 'repeaterDefault' => $defaultRepeater, 'repeaterType' => 'default', 'pluginVersion' => ALM_VERSION));
96
  }
97
+
98
  }
99
 
100
 
265
  public function alm_includes(){
266
 
267
  include_once( ALM_PATH . 'core/functions.php'); // Load Core Functions
 
 
268
  include_once( ALM_PATH . 'core/classes/class.alm-shortcode.php'); // Load Shortcode 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
357
  $options = get_option( 'alm_settings' );
358
 
359
 
 
 
 
 
 
 
 
 
 
 
360
  // Core ALM JS
361
  $suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min'; // Use minified libraries if SCRIPT_DEBUG is turned off
362
+ wp_register_script( 'ajax-load-more', plugins_url( '/core/dist/js/ajax-load-more'.$suffix.'.js', __FILE__ ), '', ALM_VERSION, true );
363
 
364
  // Progress Bar JS
365
  wp_register_script( 'ajax-load-more-progress', plugins_url( '/vendor/js/pace/pace.min.js', __FILE__ ), 'ajax-load-more', ALM_VERSION, true );
421
  * @since 2.0.0
422
  * @updated 3.2.0
423
  */
424
+ public static function alm_shortcode($atts) {
425
  self::$shortcode_atts = $atts;
426
  return ALM_SHORTCODE::alm_render_shortcode($atts);
427
  }
456
  $id = (isset($_GET['id'])) ? $_GET['id'] : '';
457
  $post_id = (isset($_GET['post_id'])) ? $_GET['post_id'] : '';
458
  $slug = (isset($_GET['slug'])) ? $_GET['slug'] : '';
459
+ $canonical_url = (isset($_GET['canonical_url'])) ? esc_url($_GET['canonical_url']) : esc_url($_SERVER['HTTP_REFERER']);
460
 
461
 
462
  // Ajax Query Type
core/classes/class.alm-shortcode.php CHANGED
@@ -425,7 +425,13 @@ if( !class_exists('ALM_SHORTCODE') ):
425
 
426
  // Generate ALM ID
427
  $div_id = (self::$counter > 1) ? 'ajax-load-more-'.self::$counter : 'ajax-load-more';
428
-
 
 
 
 
 
 
429
  // Custom unique ALM ID (shortcode)
430
  $unique_id = (!empty($id)) ? 'data-id="'.$id.'"' : '';
431
 
@@ -437,7 +443,7 @@ if( !class_exists('ALM_SHORTCODE') ):
437
 
438
 
439
  // Start .alm-listing
440
- $ajaxloadmore .= '<div id="'. $div_id .'" class="ajax-load-more-wrap'. $btn_color .''. $paging_color .''. $alm_layouts .'" '. $unique_id .' data-alm-id="" data-canonical-url="'. $canonicalURL .'" data-slug="'. $slug .'" data-post-id="'. $post_id .'" '. $is_search . $is_nested .'>';
441
 
442
 
443
  // Masonry Hook (Before)
@@ -1009,8 +1015,9 @@ if( !class_exists('ALM_SHORTCODE') ):
1009
  // End REST API Add-on
1010
 
1011
 
1012
- // Add some localized vars
1013
- ALM_LOCALIZE::add_localized_var('id', $div_id, $div_id);
 
1014
 
1015
 
1016
 
@@ -1021,7 +1028,7 @@ if( !class_exists('ALM_SHORTCODE') ):
1021
  *
1022
  * @return <script>
1023
  */
1024
- ALM_LOCALIZE::create_script_vars($div_id);
1025
 
1026
 
1027
 
425
 
426
  // Generate ALM ID
427
  $div_id = (self::$counter > 1) ? 'ajax-load-more-'.self::$counter : 'ajax-load-more';
428
+
429
+ // Localized ID - ID used for storin glocalized variables
430
+ $localize_id = (empty($id)) ? $div_id : 'ajax-load-more-'.$id;
431
+
432
+ // Master ID - Manual or generated ALM ID
433
+ $master_id = (empty($id)) ? $div_id : $id;
434
+
435
  // Custom unique ALM ID (shortcode)
436
  $unique_id = (!empty($id)) ? 'data-id="'.$id.'"' : '';
437
 
443
 
444
 
445
  // Start .alm-listing
446
+ $ajaxloadmore .= '<div id="'. $div_id .'" class="ajax-load-more-wrap'. $btn_color .''. $paging_color .''. $alm_layouts .'" '. $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' .'">';
447
 
448
 
449
  // Masonry Hook (Before)
1015
  // End REST API Add-on
1016
 
1017
 
1018
+
1019
+ // Add localized vars
1020
+ ALM_LOCALIZE::add_localized_var('id', $master_id, $localize_id);
1021
 
1022
 
1023
 
1028
  *
1029
  * @return <script>
1030
  */
1031
+ ALM_LOCALIZE::create_script_vars($localize_id);
1032
 
1033
 
1034
 
core/classes/includes/preloaded.php CHANGED
@@ -65,7 +65,7 @@ if($comments){
65
  $total_comments = wp_count_comments( $comments_post_id );
66
 
67
  // Add total_posts to localized ALM JS variables
68
- ALM_LOCALIZE::add_localized_var('total_posts', $total_comments->approved, $div_id);
69
 
70
  // Open .alm-reveal
71
  $preloaded_output .= $alm_reveal;
@@ -105,7 +105,7 @@ elseif($users){
105
 
106
 
107
  // Add total_posts to localized ALM JS variables
108
- ALM_LOCALIZE::add_localized_var('total_posts', $preloaded_users_total, $div_id);
109
 
110
 
111
  // Open .alm-reveal
@@ -141,7 +141,7 @@ elseif($acf && ($acf_field_type !== 'relationship')){
141
 
142
 
143
  // Add total_posts to localized ALM JS variables
144
- ALM_LOCALIZE::add_localized_var('total_posts', apply_filters('alm_acf_total_rows', $query_args), $div_id);
145
 
146
  // Open .alm-reveal
147
  if($seo === 'true'){
@@ -226,6 +226,7 @@ else {
226
  $alm_preload_query = new WP_Query($args);
227
 
228
  $alm_total_posts = $alm_preload_query->found_posts - $offset;
 
229
  $output = '';
230
 
231
  if ($alm_preload_query->have_posts()) :
@@ -233,9 +234,10 @@ else {
233
  $alm_item = $alm_page = $alm_current = 0;
234
  $alm_found_posts = $alm_total_posts;
235
 
 
236
  // Filters Wrap [Open]
237
  if($filters && has_filter('alm_filters_reveal_open')){
238
- $output .= apply_filters('alm_filters_reveal_open', $transition_container_classes, $canonicalURL, true);
239
  }
240
 
241
  while ($alm_preload_query->have_posts()) : $alm_preload_query->the_post();
@@ -258,6 +260,7 @@ else {
258
 
259
  endwhile; wp_reset_query();
260
 
 
261
  // Filters Wrap [close]
262
  if($filters && has_filter('alm_filters_reveal_close')){
263
  $output .= apply_filters('alm_filters_reveal_close', '</div>');
@@ -274,7 +277,7 @@ else {
274
 
275
 
276
  // Add total_posts to localized ALM JS variables
277
- ALM_LOCALIZE::add_localized_var('total_posts', $alm_total_posts, $div_id);
278
 
279
 
280
  if($seo === "true"){ // SEO, not Paging
@@ -287,8 +290,10 @@ else {
287
 
288
  // Append querystring to data-url
289
  $querystring = ($querystring) ? '?'.$querystring : '';
 
 
290
 
291
- $alm_reveal = '<div class="alm-reveal alm-seo alm-preloaded'. $transition_container_classes .'" data-page="1" data-url="'. $canonicalURL .''. $querystring .'" data-total-posts="'. $alm_preload_query->found_posts .'">';
292
 
293
  } else {
294
 
@@ -297,13 +302,13 @@ else {
297
  }
298
 
299
  // Open .alm-reveal
300
- $preloaded_output .= $alm_reveal;
301
 
302
  // Append content
303
  $preloaded_output .= $output;
304
 
305
  // Close .alm-reveal
306
- $preloaded_output .= '</div>';
307
 
308
  }
309
 
65
  $total_comments = wp_count_comments( $comments_post_id );
66
 
67
  // Add total_posts to localized ALM JS variables
68
+ ALM_LOCALIZE::add_localized_var('total_posts', $total_comments->approved, $localize_id);
69
 
70
  // Open .alm-reveal
71
  $preloaded_output .= $alm_reveal;
105
 
106
 
107
  // Add total_posts to localized ALM JS variables
108
+ ALM_LOCALIZE::add_localized_var('total_posts', $preloaded_users_total, $localize_id);
109
 
110
 
111
  // Open .alm-reveal
141
 
142
 
143
  // Add total_posts to localized ALM JS variables
144
+ ALM_LOCALIZE::add_localized_var('total_posts', apply_filters('alm_acf_total_rows', $query_args), $localize_id);
145
 
146
  // Open .alm-reveal
147
  if($seo === 'true'){
226
  $alm_preload_query = new WP_Query($args);
227
 
228
  $alm_total_posts = $alm_preload_query->found_posts - $offset;
229
+
230
  $output = '';
231
 
232
  if ($alm_preload_query->have_posts()) :
234
  $alm_item = $alm_page = $alm_current = 0;
235
  $alm_found_posts = $alm_total_posts;
236
 
237
+
238
  // Filters Wrap [Open]
239
  if($filters && has_filter('alm_filters_reveal_open')){
240
+ $output .= apply_filters('alm_filters_reveal_open', $transition_container_classes, $canonicalURL, true, $alm_preload_query->found_posts);
241
  }
242
 
243
  while ($alm_preload_query->have_posts()) : $alm_preload_query->the_post();
260
 
261
  endwhile; wp_reset_query();
262
 
263
+
264
  // Filters Wrap [close]
265
  if($filters && has_filter('alm_filters_reveal_close')){
266
  $output .= apply_filters('alm_filters_reveal_close', '</div>');
277
 
278
 
279
  // Add total_posts to localized ALM JS variables
280
+ ALM_LOCALIZE::add_localized_var('total_posts', $alm_total_posts, $localize_id);
281
 
282
 
283
  if($seo === "true"){ // SEO, not Paging
290
 
291
  // Append querystring to data-url
292
  $querystring = ($querystring) ? '?'.$querystring : '';
293
+
294
+ $cleaned_url = esc_url($canonicalURL .''. $querystring);
295
 
296
+ $alm_reveal = '<div class="alm-reveal alm-seo alm-preloaded'. $transition_container_classes .'" data-page="1" data-url="'. $cleaned_url .'" data-total-posts="'. $alm_preload_query->found_posts .'">';
297
 
298
  } else {
299
 
302
  }
303
 
304
  // Open .alm-reveal
305
+ $preloaded_output .= (!$filters) ? $alm_reveal : '';
306
 
307
  // Append content
308
  $preloaded_output .= $output;
309
 
310
  // Close .alm-reveal
311
+ $preloaded_output .= (!$filters) ? '</div>' : '';
312
 
313
  }
314
 
core/dist/css/ajax-load-more.css CHANGED
@@ -9,84 +9,90 @@
9
  * Author: Darren Cooney
10
  * Twitter: @KaptonKaos
11
  */
12
- .alm-btn-wrap .alm-load-more-btn {
13
- font-size: 15px;
14
- font-weight: 600;
15
- width: auto;
16
- height: 42px;
17
- line-height: 42px;
18
- background: #ed7070;
19
- color: #fff;
20
- border: none;
21
- border-radius: 4px;
22
- margin: 0 0 4px;
23
- padding: 0 20px;
24
- display: inline-block;
25
- position: relative;
26
- -webkit-transition: all 0.35s ease;
27
- transition: all 0.35s ease;
28
  text-align: center;
29
- text-decoration: none;
30
- -webkit-appearance: none;
31
- -moz-appearance: none;
32
- appearance: none;
33
- -webkit-user-select: none;
34
- -moz-user-select: none;
35
- -ms-user-select: none;
36
- user-select: none;
37
- cursor: pointer;
38
- /* Loading */
39
- /* Loaded / Done */
40
- /* Loading Icon */
41
- /* Loading :before */ }
42
- .alm-btn-wrap .alm-load-more-btn:hover, .alm-btn-wrap .alm-load-more-btn.loading {
43
- background-color: #e06464;
44
  color: #fff;
45
- text-decoration: none; }
46
- .alm-btn-wrap .alm-load-more-btn:active {
47
- -webkit-box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.1);
48
- box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.1);
49
- text-decoration: none; }
50
- .alm-btn-wrap .alm-load-more-btn.loading {
51
- cursor: default;
52
- outline: none;
53
- padding-left: 44px; }
54
- .alm-btn-wrap .alm-load-more-btn.done {
55
- cursor: default;
56
- opacity: 0.15;
57
- background-color: #ed7070;
58
- outline: none !important;
59
- -webkit-box-shadow: none !important;
60
- box-shadow: none !important; }
61
- .alm-btn-wrap .alm-load-more-btn:before, .alm-btn-wrap .alm-load-more-btn.done:before {
62
- background: none;
63
- width: 0; }
64
- .alm-btn-wrap .alm-load-more-btn.loading:before {
65
- background: #fff url("../../img/ajax-loader.gif") no-repeat center center;
66
- width: 30px;
67
- height: 30px;
68
- margin: 6px;
69
- border-radius: 3px;
70
  display: inline-block;
71
- z-index: 0;
72
- content: '';
73
- position: absolute;
74
- left: 0;
75
- top: 0;
76
- overflow: hidden;
77
- -webkit-transition: width 0.5s ease-in-out;
78
- transition: width 0.5s ease-in-out; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
 
80
- .alm-masonry,
81
- .alm-btn-wrap {
82
  display: block;
83
  overflow: hidden;
84
  clear: both; }
85
 
86
- .alm-btn-wrap {
87
- text-align: center;
88
- padding: 10px 0 25px; }
89
-
90
  /* Blue */
91
  .ajax-load-more-wrap.blue .alm-load-more-btn {
92
  background-color: #0081bf; }
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
+ .alm-btn-wrap:after {
18
+ display: table;
19
+ clear: both;
20
+ height: 0;
21
+ width: 100%;
22
+ content: ''; }
23
+ .alm-btn-wrap .alm-load-more-btn {
24
+ font-size: 15px;
25
+ font-weight: 600;
26
+ width: auto;
27
+ height: 42px;
28
+ line-height: 42px;
29
+ background: #ed7070;
30
  color: #fff;
31
+ border: none;
32
+ border-radius: 4px;
33
+ margin: 0 0 4px;
34
+ padding: 0 20px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  display: inline-block;
36
+ position: relative;
37
+ -webkit-transition: all 0.35s ease;
38
+ transition: all 0.35s ease;
39
+ text-align: center;
40
+ text-decoration: none;
41
+ -webkit-appearance: none;
42
+ -moz-appearance: none;
43
+ appearance: none;
44
+ -webkit-user-select: none;
45
+ -moz-user-select: none;
46
+ -ms-user-select: none;
47
+ user-select: none;
48
+ cursor: pointer;
49
+ /* Loading */
50
+ /* Loaded / Done */
51
+ /* Loading Icon */
52
+ /* Loading :before */ }
53
+ .alm-btn-wrap .alm-load-more-btn:hover, .alm-btn-wrap .alm-load-more-btn.loading {
54
+ background-color: #e06464;
55
+ color: #fff;
56
+ text-decoration: none; }
57
+ .alm-btn-wrap .alm-load-more-btn:active {
58
+ -webkit-box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.1);
59
+ box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.1);
60
+ text-decoration: none; }
61
+ .alm-btn-wrap .alm-load-more-btn.loading {
62
+ cursor: default;
63
+ outline: none;
64
+ padding-left: 44px; }
65
+ .alm-btn-wrap .alm-load-more-btn.done {
66
+ cursor: default;
67
+ opacity: 0.15;
68
+ background-color: #ed7070;
69
+ outline: none !important;
70
+ -webkit-box-shadow: none !important;
71
+ box-shadow: none !important; }
72
+ .alm-btn-wrap .alm-load-more-btn:before, .alm-btn-wrap .alm-load-more-btn.done:before {
73
+ background: none;
74
+ width: 0; }
75
+ .alm-btn-wrap .alm-load-more-btn.loading:before {
76
+ background: #fff url("../../img/ajax-loader.gif") no-repeat center center;
77
+ width: 30px;
78
+ height: 30px;
79
+ margin: 6px;
80
+ border-radius: 3px;
81
+ display: inline-block;
82
+ z-index: 0;
83
+ content: '';
84
+ position: absolute;
85
+ left: 0;
86
+ top: 0;
87
+ overflow: hidden;
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; }
core/dist/css/ajax-load-more.min.css CHANGED
@@ -1 +1 @@
1
- .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}.alm-btn-wrap,.alm-masonry{display:block;overflow:hidden;clear:both}.alm-btn-wrap{text-align:center;padding:10px 0 25px}.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{margin:0;padding:0}.alm-listing .alm-reveal{outline: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;overflow:hidden;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}
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}.alm-masonry{display:block;overflow:hidden;clear:both}.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{margin:0;padding:0}.alm-listing .alm-reveal{outline: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;overflow:hidden;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}
core/dist/js/ajax-load-more.js CHANGED
@@ -215,7 +215,7 @@ function _toConsumableArray(arr) {
215
  */
216
 
217
  // Polyfills
218
- __webpack_require__(/*! @babel/polyfill */ "./node_modules/@babel/polyfill/lib/index.js");
219
  __webpack_require__(/*! ./helpers/polyfills.js */ "./core/src/js/helpers/polyfills.js");
220
 
221
  // External Modules
@@ -266,7 +266,7 @@ var alm_is_filtering = false;
266
  alm.timer = null;
267
  alm.ua = window.navigator.userAgent ? window.navigator.userAgent : ''; // User agent
268
  alm.main = el;
269
- alm.master_id = el.id; // The div#id of the ALM instance
270
  el.classList.add('alm-' + e); // Add unique classname
271
  el.setAttribute('data-alm-id', e); // Add unique data id
272
 
@@ -302,6 +302,7 @@ var alm_is_filtering = false;
302
  alm.btnWrap = el.querySelectorAll('.alm-btn-wrap'); // Get all `.alm-button-wrap` divs
303
  alm.btnWrap = Array.prototype.slice.call(alm.btnWrap); // Convert NodeList to array
304
  alm.btnWrap[alm.btnWrap.length - 1].style.visibility = 'visible'; // Get last element (used for nesting)
 
305
 
306
  alm.button_label = alm.listing.dataset.buttonLabel;
307
  alm.button_loading_label = alm.listing.dataset.buttonLoadingLabel;
@@ -848,7 +849,7 @@ var alm_is_filtering = false;
848
  }
849
  }).catch(function (error) {
850
  // Error
851
- alm.AjaxLoadMore.error(error.message);
852
  });
853
  };
854
 
@@ -910,7 +911,7 @@ var alm_is_filtering = false;
910
  alm.AjaxLoadMore.success(obj, false); // Send data
911
  }).catch(function (error) {
912
  // Error
913
- alm.AjaxLoadMore.error(error.message);
914
  });
915
  };
916
 
@@ -1128,6 +1129,9 @@ var alm_is_filtering = false;
1128
  // Append children to `.alm-reveal` element
1129
  (0, _almAppendChildren2.default)(alm_reveal, return_data[k]);
1130
 
 
 
 
1131
  // Push alm_reveal elements into container_array
1132
  container_array.push(alm_reveal);
1133
  }
@@ -1565,7 +1569,7 @@ var alm_is_filtering = false;
1565
  }).catch(function (error) {
1566
  // Error
1567
 
1568
- alm.AjaxLoadMore.error(error.message);
1569
  alm.fetchingPreviousPost = false;
1570
  });
1571
  };
@@ -1627,14 +1631,30 @@ var alm_is_filtering = false;
1627
  *
1628
  * @since 2.6.0
1629
  */
1630
-
1631
- alm.AjaxLoadMore.error = function (message) {
1632
  alm.loading = false;
1633
  if (!alm.addons.paging) {
1634
  alm.button.classList.remove('loading');
1635
  alm.AjaxLoadMore.resetBtnText();
1636
  }
1637
- console.log(message);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1638
  };
1639
 
1640
  /**
@@ -1715,8 +1735,8 @@ var alm_is_filtering = false;
1715
 
1716
  alm.timer = setTimeout(function () {
1717
  if (alm.AjaxLoadMore.isVisible() && !alm.fetchingPreviousPost) {
1718
- var trigger = alm.button.getBoundingClientRect();
1719
- var btnPos = Math.round(trigger.top - alm.button.offsetHeight - alm.window.innerHeight) + alm.scroll_distance;
1720
  var scrollTrigger = btnPos <= 0 ? true : false;
1721
 
1722
  // Scroll Container
@@ -1802,8 +1822,8 @@ var alm_is_filtering = false;
1802
  var value = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
1803
 
1804
  if (alm.localize && name !== '' && value !== '') {
1805
- alm.localize[name] = value; // Set ALM localize var
1806
- window[alm.master_id + '_vars'][name] = value; // Update global window obj vars
1807
  }
1808
  };
1809
 
@@ -2127,6 +2147,11 @@ var tracking = function tracking(path) {
2127
  // Monster Insights
2128
  __gaTracker('send', 'pageview', path);
2129
  }
 
 
 
 
 
2130
  };
2131
  exports.tracking = tracking;
2132
 
@@ -2518,16 +2543,9 @@ exports.default = getParameterByName;
2518
  // Prevent native browser scrolling on popstate
2519
  // https://developer.mozilla.org/en-US/docs/Web/API/History#Browser_compatibility
2520
 
2521
- if ('scrollRestoration' in history) {
2522
- history.scrollRestoration = 'manual';
2523
- }
2524
 
2525
- // isArray
2526
- if (typeof Array.isArray === 'undefined') {
2527
- Array.isArray = function (obj) {
2528
- return Object.prototype.toString.call(obj) === '[object Array]';
2529
- };
2530
- };
2531
 
2532
  // Object.entries
2533
  if (!Object.entries) {
@@ -2541,6 +2559,13 @@ if (!Object.entries) {
2541
  };
2542
  }
2543
 
 
 
 
 
 
 
 
2544
  // Array.from
2545
  if (!Array.from) {
2546
  Array.from = function () {
@@ -2634,7 +2659,8 @@ if (window.NodeList && !NodeList.prototype.forEach) {
2634
  };
2635
  }
2636
 
2637
- // from:https://github.com/jserz/js_piece/blob/master/DOM/ChildNode/remove()/remove().md
 
2638
  (function (arr) {
2639
  arr.forEach(function (item) {
2640
  if (item.hasOwnProperty('remove')) {
@@ -4054,7 +4080,6 @@ var setLocalizedVars = function setLocalizedVars(alm) {
4054
  // Total Posts `total_posts`.
4055
  // Only update if !Preloaded && !Nextpage
4056
  if (alm.addons.preloaded !== 'true' && !alm.addons.nextpage) {
4057
- // Do not set if Preloaded
4058
  alm.AjaxLoadMore.setLocalizedVar('total_posts', alm.totalposts);
4059
  }
4060
 
@@ -4066,15 +4091,15 @@ exports.default = setLocalizedVars;
4066
 
4067
  /***/ }),
4068
 
4069
- /***/ "./node_modules/@babel/polyfill/lib/index.js":
4070
- /*!***************************************************!*\
4071
- !*** ./node_modules/@babel/polyfill/lib/index.js ***!
4072
- \***************************************************/
4073
  /*! no static exports found */
4074
  /***/ (function(module, exports, __webpack_require__) {
4075
 
4076
  "use strict";
4077
- /* WEBPACK VAR INJECTION */(function(global) {
4078
 
4079
  __webpack_require__(/*! core-js/es6 */ "./node_modules/@babel/polyfill/node_modules/core-js/es6/index.js");
4080
 
@@ -4098,12 +4123,17 @@ __webpack_require__(/*! core-js/web */ "./node_modules/@babel/polyfill/node_modu
4098
 
4099
  __webpack_require__(/*! regenerator-runtime/runtime */ "./node_modules/@babel/polyfill/node_modules/regenerator-runtime/runtime.js");
4100
 
4101
- if (global._babelPolyfill && typeof console !== "undefined" && console.warn) {
4102
- console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended " + "and may have consequences if different versions of the polyfills are applied sequentially. " + "If you do need to load the polyfill more than once, use @babel/polyfill/noConflict " + "instead to bypass the warning.");
4103
- }
 
 
 
 
 
 
 
4104
 
4105
- global._babelPolyfill = true;
4106
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../webpack/buildin/global.js */ "./node_modules/webpack/buildin/global.js")))
4107
 
4108
  /***/ }),
4109
 
@@ -17264,37 +17294,6 @@ module.exports = {
17264
  }());
17265
 
17266
 
17267
- /***/ }),
17268
-
17269
- /***/ "./node_modules/webpack/buildin/global.js":
17270
- /*!***********************************!*\
17271
- !*** (webpack)/buildin/global.js ***!
17272
- \***********************************/
17273
- /*! no static exports found */
17274
- /***/ (function(module, exports) {
17275
-
17276
- var g;
17277
-
17278
- // This works in non-strict mode
17279
- g = (function() {
17280
- return this;
17281
- })();
17282
-
17283
- try {
17284
- // This works if eval is allowed (see CSP)
17285
- g = g || new Function("return this")();
17286
- } catch (e) {
17287
- // This works if the window reference is available
17288
- if (typeof window === "object") g = window;
17289
- }
17290
-
17291
- // g can still be undefined, but nothing to do about it...
17292
- // We return undefined, instead of nothing here, so it's
17293
- // easier to handle this case. if(!global) { ...}
17294
-
17295
- module.exports = g;
17296
-
17297
-
17298
  /***/ })
17299
 
17300
  /******/ });
215
  */
216
 
217
  // Polyfills
218
+ __webpack_require__(/*! @babel/polyfill/noConflict */ "./node_modules/@babel/polyfill/noConflict.js");
219
  __webpack_require__(/*! ./helpers/polyfills.js */ "./core/src/js/helpers/polyfills.js");
220
 
221
  // External Modules
266
  alm.timer = null;
267
  alm.ua = window.navigator.userAgent ? window.navigator.userAgent : ''; // User agent
268
  alm.main = el;
269
+ alm.master_id = el.dataset.id ? 'ajax-load-more-' + el.dataset.id : el.id; // The defined or generated ID of the ALM instance
270
  el.classList.add('alm-' + e); // Add unique classname
271
  el.setAttribute('data-alm-id', e); // Add unique data id
272
 
302
  alm.btnWrap = el.querySelectorAll('.alm-btn-wrap'); // Get all `.alm-button-wrap` divs
303
  alm.btnWrap = Array.prototype.slice.call(alm.btnWrap); // Convert NodeList to array
304
  alm.btnWrap[alm.btnWrap.length - 1].style.visibility = 'visible'; // Get last element (used for nesting)
305
+ alm.trigger = alm.btnWrap[alm.btnWrap.length - 1];
306
 
307
  alm.button_label = alm.listing.dataset.buttonLabel;
308
  alm.button_loading_label = alm.listing.dataset.buttonLoadingLabel;
849
  }
850
  }).catch(function (error) {
851
  // Error
852
+ alm.AjaxLoadMore.error(error);
853
  });
854
  };
855
 
911
  alm.AjaxLoadMore.success(obj, false); // Send data
912
  }).catch(function (error) {
913
  // Error
914
+ alm.AjaxLoadMore.error(error);
915
  });
916
  };
917
 
1129
  // Append children to `.alm-reveal` element
1130
  (0, _almAppendChildren2.default)(alm_reveal, return_data[k]);
1131
 
1132
+ // Run srcSet polyfill
1133
+ (0, _srcsetPolyfill2.default)(alm_reveal, alm.ua);
1134
+
1135
  // Push alm_reveal elements into container_array
1136
  container_array.push(alm_reveal);
1137
  }
1569
  }).catch(function (error) {
1570
  // Error
1571
 
1572
+ alm.AjaxLoadMore.error(error);
1573
  alm.fetchingPreviousPost = false;
1574
  });
1575
  };
1631
  *
1632
  * @since 2.6.0
1633
  */
1634
+ alm.AjaxLoadMore.error = function (error) {
 
1635
  alm.loading = false;
1636
  if (!alm.addons.paging) {
1637
  alm.button.classList.remove('loading');
1638
  alm.AjaxLoadMore.resetBtnText();
1639
  }
1640
+ if (error.response) {
1641
+ // The request was made and the server responded with a status code
1642
+ // that falls out of the range of 2xx
1643
+ //console.log(error.response.data);
1644
+ //console.log(error.response.status);
1645
+ //console.log(error.response.headers);
1646
+ console.log('Error: ', error.message);
1647
+ } else if (error.request) {
1648
+ // The request was made but no response was received
1649
+ // `error.request` is an instance of XMLHttpRequest in the browser and an instance of
1650
+ // http.ClientRequest in node.js
1651
+ console.log(error.request);
1652
+ } else {
1653
+ // Something happened in setting up the request that triggered an Error
1654
+ console.log('Error: ', error.message);
1655
+ }
1656
+
1657
+ console.log('ALM Error Debug: ', error.config);
1658
  };
1659
 
1660
  /**
1735
 
1736
  alm.timer = setTimeout(function () {
1737
  if (alm.AjaxLoadMore.isVisible() && !alm.fetchingPreviousPost) {
1738
+ var trigger = alm.trigger.getBoundingClientRect();
1739
+ var btnPos = Math.round(trigger.top - alm.window.innerHeight) + alm.scroll_distance;
1740
  var scrollTrigger = btnPos <= 0 ? true : false;
1741
 
1742
  // Scroll Container
1822
  var value = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
1823
 
1824
  if (alm.localize && name !== '' && value !== '') {
1825
+ alm.localize[name] = value.toString(); // Set ALM localize var
1826
+ window[alm.master_id + '_vars'][name] = value.toString(); // Update global window obj vars
1827
  }
1828
  };
1829
 
2147
  // Monster Insights
2148
  __gaTracker('send', 'pageview', path);
2149
  }
2150
+
2151
+ // Dispatch global Analytics callback
2152
+ if (typeof almAnalytics === 'function') {
2153
+ window.almAnalytics(path);
2154
+ }
2155
  };
2156
  exports.tracking = tracking;
2157
 
2543
  // Prevent native browser scrolling on popstate
2544
  // https://developer.mozilla.org/en-US/docs/Web/API/History#Browser_compatibility
2545
 
2546
+ if ('scrollRestoration' in history) {}
2547
+ //history.scrollRestoration = 'manual';
 
2548
 
 
 
 
 
 
 
2549
 
2550
  // Object.entries
2551
  if (!Object.entries) {
2559
  };
2560
  }
2561
 
2562
+ // isArray
2563
+ if (typeof Array.isArray === 'undefined') {
2564
+ Array.isArray = function (obj) {
2565
+ return Object.prototype.toString.call(obj) === '[object Array]';
2566
+ };
2567
+ };
2568
+
2569
  // Array.from
2570
  if (!Array.from) {
2571
  Array.from = function () {
2659
  };
2660
  }
2661
 
2662
+ // removeChild
2663
+ // https://github.com/jserz/js_piece/blob/master/DOM/ChildNode/remove()/remove().md
2664
  (function (arr) {
2665
  arr.forEach(function (item) {
2666
  if (item.hasOwnProperty('remove')) {
4080
  // Total Posts `total_posts`.
4081
  // Only update if !Preloaded && !Nextpage
4082
  if (alm.addons.preloaded !== 'true' && !alm.addons.nextpage) {
 
4083
  alm.AjaxLoadMore.setLocalizedVar('total_posts', alm.totalposts);
4084
  }
4085
 
4091
 
4092
  /***/ }),
4093
 
4094
+ /***/ "./node_modules/@babel/polyfill/lib/noConflict.js":
4095
+ /*!********************************************************!*\
4096
+ !*** ./node_modules/@babel/polyfill/lib/noConflict.js ***!
4097
+ \********************************************************/
4098
  /*! no static exports found */
4099
  /***/ (function(module, exports, __webpack_require__) {
4100
 
4101
  "use strict";
4102
+
4103
 
4104
  __webpack_require__(/*! core-js/es6 */ "./node_modules/@babel/polyfill/node_modules/core-js/es6/index.js");
4105
 
4123
 
4124
  __webpack_require__(/*! regenerator-runtime/runtime */ "./node_modules/@babel/polyfill/node_modules/regenerator-runtime/runtime.js");
4125
 
4126
+ /***/ }),
4127
+
4128
+ /***/ "./node_modules/@babel/polyfill/noConflict.js":
4129
+ /*!****************************************************!*\
4130
+ !*** ./node_modules/@babel/polyfill/noConflict.js ***!
4131
+ \****************************************************/
4132
+ /*! no static exports found */
4133
+ /***/ (function(module, exports, __webpack_require__) {
4134
+
4135
+ __webpack_require__(/*! ./lib/noConflict */ "./node_modules/@babel/polyfill/lib/noConflict.js");
4136
 
 
 
4137
 
4138
  /***/ }),
4139
 
17294
  }());
17295
 
17296
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17297
  /***/ })
17298
 
17299
  /******/ });
core/dist/js/ajax-load-more.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack://ajaxloadmore/webpack/bootstrap","webpack://ajaxloadmore/./core/src/js/ajax-load-more.js","webpack://ajaxloadmore/./core/src/js/helpers/almAppendChild.js","webpack://ajaxloadmore/./core/src/js/helpers/almAppendChildren.js","webpack://ajaxloadmore/./core/src/js/helpers/almDomParser.js","webpack://ajaxloadmore/./core/src/js/helpers/almGetCacheUrl.js","webpack://ajaxloadmore/./core/src/js/helpers/almTableWrap.js","webpack://ajaxloadmore/./core/src/js/helpers/commentReplyFix.js","webpack://ajaxloadmore/./core/src/js/helpers/getParameterByName.js","webpack://ajaxloadmore/./core/src/js/helpers/helpers.js","webpack://ajaxloadmore/./core/src/js/helpers/polyfills.js","webpack://ajaxloadmore/./core/src/js/helpers/queryParams.js","webpack://ajaxloadmore/./core/src/js/helpers/restAPI.js","webpack://ajaxloadmore/./core/src/js/helpers/srcsetPolyfill.js","webpack://ajaxloadmore/./core/src/js/modules/fadeIn.js","webpack://ajaxloadmore/./core/src/js/modules/fadeOut.js","webpack://ajaxloadmore/./core/src/js/modules/filtering.js","webpack://ajaxloadmore/./core/src/js/modules/insertScript.js","webpack://ajaxloadmore/./core/src/js/modules/masonry.js","webpack://ajaxloadmore/./core/src/js/modules/resultsText.js","webpack://ajaxloadmore/./core/src/js/modules/setFocus.js","webpack://ajaxloadmore/./core/src/js/modules/setLocalizedVars.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/lib/index.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/es6/index.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/fn/array/includes.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/fn/object/entries.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/fn/object/get-own-property-descriptors.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/fn/object/values.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/fn/promise/finally.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/fn/string/pad-end.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/fn/string/pad-start.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/fn/symbol/async-iterator.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_a-function.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_a-number-value.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_add-to-unscopables.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_advance-string-index.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_an-instance.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_an-object.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_array-copy-within.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_array-fill.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_array-includes.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_array-methods.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_array-reduce.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_array-species-constructor.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_array-species-create.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_bind.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_classof.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_cof.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_collection-strong.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_collection-weak.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_collection.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_core.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_create-property.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_ctx.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_date-to-iso-string.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_date-to-primitive.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_defined.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_descriptors.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_dom-create.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_enum-bug-keys.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_enum-keys.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_export.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_fails-is-regexp.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_fails.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_fix-re-wks.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_flags.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_for-of.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_function-to-string.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_global.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_has.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_hide.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_html.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_ie8-dom-define.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_inherit-if-required.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_invoke.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_iobject.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_is-array-iter.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_is-array.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_is-integer.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_is-object.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_is-regexp.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_iter-call.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_iter-create.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_iter-define.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_iter-detect.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_iter-step.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_iterators.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_library.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_math-expm1.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_math-fround.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_math-log1p.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_math-sign.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_meta.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_microtask.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_new-promise-capability.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_object-assign.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_object-create.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_object-dp.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_object-dps.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_object-gopd.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_object-gopn-ext.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_object-gopn.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_object-gops.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_object-gpo.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_object-keys-internal.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_object-keys.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_object-pie.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_object-sap.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_object-to-array.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_own-keys.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_parse-float.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_parse-int.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_perform.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_promise-resolve.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_property-desc.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_redefine-all.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_redefine.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_regexp-exec-abstract.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_regexp-exec.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_same-value.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_set-proto.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_set-species.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_set-to-string-tag.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_shared-key.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_shared.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_species-constructor.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_strict-method.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_string-at.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_string-context.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_string-html.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_string-pad.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_string-repeat.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_string-trim.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_string-ws.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_task.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_to-absolute-index.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_to-index.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_to-integer.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_to-iobject.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_to-length.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_to-object.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_to-primitive.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_typed-array.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_typed-buffer.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_typed.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_uid.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_user-agent.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_validate-collection.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_wks-define.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_wks-ext.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/_wks.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/core.get-iterator-method.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.array.copy-within.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.array.every.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.array.fill.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.array.filter.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.array.find-index.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.array.find.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.array.for-each.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.array.from.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.array.index-of.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.array.is-array.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.array.iterator.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.array.join.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.array.last-index-of.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.array.map.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.array.of.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.array.reduce-right.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.array.reduce.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.array.slice.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.array.some.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.array.sort.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.array.species.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.date.now.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.date.to-iso-string.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.date.to-json.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.date.to-primitive.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.date.to-string.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.function.bind.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.function.has-instance.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.function.name.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.map.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.math.acosh.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.math.asinh.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.math.atanh.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.math.cbrt.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.math.clz32.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.math.cosh.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.math.expm1.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.math.fround.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.math.hypot.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.math.imul.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.math.log10.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.math.log1p.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.math.log2.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.math.sign.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.math.sinh.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.math.tanh.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.math.trunc.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.number.constructor.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.number.epsilon.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.number.is-finite.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.number.is-integer.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.number.is-nan.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.number.is-safe-integer.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.number.max-safe-integer.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.number.min-safe-integer.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.number.parse-float.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.number.parse-int.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.number.to-fixed.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.number.to-precision.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.object.assign.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.object.create.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.object.define-properties.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.object.define-property.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.object.freeze.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.object.get-own-property-descriptor.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.object.get-own-property-names.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.object.get-prototype-of.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.object.is-extensible.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.object.is-frozen.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.object.is-sealed.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.object.is.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.object.keys.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.object.prevent-extensions.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.object.seal.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.object.set-prototype-of.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.object.to-string.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.parse-float.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.parse-int.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.promise.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.reflect.apply.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.reflect.construct.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.reflect.define-property.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.reflect.delete-property.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.reflect.enumerate.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.reflect.get-prototype-of.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.reflect.get.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.reflect.has.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.reflect.is-extensible.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.reflect.own-keys.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.reflect.prevent-extensions.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.reflect.set-prototype-of.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.reflect.set.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.regexp.constructor.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.regexp.exec.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.regexp.flags.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.regexp.match.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.regexp.replace.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.regexp.search.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.regexp.split.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.regexp.to-string.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.set.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.string.anchor.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.string.big.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.string.blink.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.string.bold.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.string.code-point-at.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.string.ends-with.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.string.fixed.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.string.fontcolor.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.string.fontsize.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.string.from-code-point.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.string.includes.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.string.italics.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.string.iterator.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.string.link.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.string.raw.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.string.repeat.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.string.small.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.string.starts-with.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.string.strike.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.string.sub.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.string.sup.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.string.trim.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.symbol.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.typed.array-buffer.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.typed.data-view.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.typed.float32-array.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.typed.float64-array.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.typed.int16-array.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.typed.int32-array.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.typed.int8-array.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.typed.uint16-array.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.typed.uint32-array.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.typed.uint8-array.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.typed.uint8-clamped-array.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.weak-map.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es6.weak-set.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es7.array.includes.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es7.object.entries.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es7.object.get-own-property-descriptors.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es7.object.values.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es7.promise.finally.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es7.string.pad-end.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es7.string.pad-start.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/es7.symbol.async-iterator.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/web.dom.iterable.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/web.immediate.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/modules/web.timers.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/core-js/web/index.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/node_modules/regenerator-runtime/runtime.js","webpack://ajaxloadmore/./node_modules/axios/index.js","webpack://ajaxloadmore/./node_modules/axios/lib/adapters/xhr.js","webpack://ajaxloadmore/./node_modules/axios/lib/axios.js","webpack://ajaxloadmore/./node_modules/axios/lib/cancel/Cancel.js","webpack://ajaxloadmore/./node_modules/axios/lib/cancel/CancelToken.js","webpack://ajaxloadmore/./node_modules/axios/lib/cancel/isCancel.js","webpack://ajaxloadmore/./node_modules/axios/lib/core/Axios.js","webpack://ajaxloadmore/./node_modules/axios/lib/core/InterceptorManager.js","webpack://ajaxloadmore/./node_modules/axios/lib/core/createError.js","webpack://ajaxloadmore/./node_modules/axios/lib/core/dispatchRequest.js","webpack://ajaxloadmore/./node_modules/axios/lib/core/enhanceError.js","webpack://ajaxloadmore/./node_modules/axios/lib/core/settle.js","webpack://ajaxloadmore/./node_modules/axios/lib/core/transformData.js","webpack://ajaxloadmore/./node_modules/axios/lib/defaults.js","webpack://ajaxloadmore/./node_modules/axios/lib/helpers/bind.js","webpack://ajaxloadmore/./node_modules/axios/lib/helpers/btoa.js","webpack://ajaxloadmore/./node_modules/axios/lib/helpers/buildURL.js","webpack://ajaxloadmore/./node_modules/axios/lib/helpers/combineURLs.js","webpack://ajaxloadmore/./node_modules/axios/lib/helpers/cookies.js","webpack://ajaxloadmore/./node_modules/axios/lib/helpers/isAbsoluteURL.js","webpack://ajaxloadmore/./node_modules/axios/lib/helpers/isURLSameOrigin.js","webpack://ajaxloadmore/./node_modules/axios/lib/helpers/normalizeHeaderName.js","webpack://ajaxloadmore/./node_modules/axios/lib/helpers/parseHeaders.js","webpack://ajaxloadmore/./node_modules/axios/lib/helpers/spread.js","webpack://ajaxloadmore/./node_modules/axios/lib/utils.js","webpack://ajaxloadmore/./node_modules/ev-emitter/ev-emitter.js","webpack://ajaxloadmore/./node_modules/imagesloaded/imagesloaded.js","webpack://ajaxloadmore/./node_modules/is-buffer/index.js","webpack://ajaxloadmore/./node_modules/process/browser.js","webpack://ajaxloadmore/./node_modules/qs/lib/formats.js","webpack://ajaxloadmore/./node_modules/qs/lib/index.js","webpack://ajaxloadmore/./node_modules/qs/lib/parse.js","webpack://ajaxloadmore/./node_modules/qs/lib/stringify.js","webpack://ajaxloadmore/./node_modules/qs/lib/utils.js","webpack://ajaxloadmore/./node_modules/smoothscroll-polyfill/dist/smoothscroll.js","webpack://ajaxloadmore/(webpack)/buildin/global.js"],"names":["queryParams","restAPI_Opts","resultsText","require","qs","imagesLoaded","smoothscroll","alm_is_filtering","ajaxloadmore","alm_localize","window","alm","el","Array","parseInt","page","almChildren","almChildArray","btnWrap","element","container","document","cache_page","axios","response","action","acf_field_name","nextpage_startpage","single_post_slug","comments_callback","usersOrderby","cta_theme_repeater","config","arrayFormat","encode","ajaxURL","action_name","params","data","queryType","error","alm_rest_template","wp","alm_rest_url","results","html","meta","postcount","totalposts","i","result","console","obj","isPaged","reveal","pagingContent","total","pagenum","querystring","seo_class","filters_class","preloaded_class","return_data","container_array","posts_per_page","pages","Math","k","p","alm_reveal","p2","setTimeout","insertScript","currentPage","classes","content","loader","styles","pTop","pBtm","h","nested","id","initial_id","order","taxonomy","excluded_terms","post_type","init","button","e","pagingResize","clearTimeout","trigger","btnPos","scrollTrigger","scrollInstance","scrollHeight","scrollPosition","name","value","query","vars","pair","decodeURIComponent","alm_nextpage_pages","alm_nextpage_total","target","alm_instances","filter","transition","speed","tracking","gtag","path","ga","__gaTracker","start","almScroll","top","behavior","getOffset","rect","scrollLeft","scrollTop","left","nodeNameArray","almAppendChild","almAppendChildren","array","almDomParser","type","parser","almGetCacheUrl","cache_url","ext","firstpage","nextpage_cache_url","almTableWrap","table_reveal","table_reveal_array","commentReplyFix","listing","replyLinks","link","commId","parentId","respondId","postId","follow","event","getParameterByName","url","regex","history","Object","ownProps","resArray","toStr","isCallable","toInteger","number","Number","isNaN","isFinite","maxSafeInteger","toLength","len","C","items","arrayLike","mapFn","arguments","T","A","kValue","NodeList","thisArg","callback","arr","item","configurable","enumerable","writable","Element","CharacterData","DocumentType","Function","aArgs","fToBind","FNOP","fBound","ObjectProto","defineGetter","defineSetter","lookupGetter","lookupSetter","hasOwnProp","prop","descriptor","getter","setter","props","propDescriptor","get","that","attributes","attsLength","toUpperCase","n0","HTML5_DOMStringMap","attribute","attrVal","attrName","propName","set","almGetAjaxParams","almGetRestParams","post_id","slug","canonical_url","encodeURIComponent","offset","repeater","seo_start_page","start_page","post_format","category","category__not_in","tag","tag__not_in","taxonomy_terms","taxonomy_operator","taxonomy_relation","meta_key","meta_value","meta_compare","meta_relation","meta_type","author","year","month","day","post_status","orderby","post__in","post__not_in","search","s","custom_args","lang","preloaded","preloaded_amount","almGetAjaxUrl","almGetAjaxAction","srcsetPolyfill","ua","imgs","img","almFadeIn","op","timer","clearInterval","almFadeOut","fadeEffect","almFilter","almFilterTransition","almCompleteFilterTransition","almSetFilters","key","almFilterComplete","almFiltersAddonComplete","node","children","replace","isScript","clone","script","msnry","almMasonry","selector","columnWidth","animation","horizontalOrder","masonry_init","duration","hidden","visible","defaults","itemSelector","transitionDuration","hiddenStyle","transform","opacity","visibleStyle","alm_masonry_vars","almResultsText","almGetResultsText","almInitResultsText","resultsType","current","paging","almRenderResultsText","text","setFocus","scrollHierarchy","parent","setLocalizedVars"],"mappings":";;AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACtBA,iBAAiB;;AAEjB;AACA;AACA;;;;;;;;;;;;;ACJa;AACb,SAAS,mBAAO,CAAC,+FAAc;AAC/B,aAAa,mBAAO,CAAC,uGAAkB;AACvC,kBAAkB,mBAAO,CAAC,qGAAiB;AAC3C,UAAU,mBAAO,CAAC,mFAAQ;AAC1B,iBAAiB,mBAAO,CAAC,mGAAgB;AACzC,YAAY,mBAAO,CAAC,yFAAW;AAC/B,kBAAkB,mBAAO,CAAC,mGAAgB;AAC1C,WAAW,mBAAO,CAAC,+FAAc;AACjC,iBAAiB,mBAAO,CAAC,mGAAgB;AACzC,kBAAkB,mBAAO,CAAC,mGAAgB;AAC1C,cAAc,mBAAO,CAAC,qFAAS;AAC/B,eAAe,mBAAO,CAAC,mHAAwB;AAC/C;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,OAAO;AAC9B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,qBAAqB;AACrB,6BAA6B;AAC7B,0BAA0B;AAC1B,0BAA0B;AAC1B,qBAAqB;AACrB;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,8EAA8E,OAAO;AACrF;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,yCAAyC;AACzC,qBAAqB;AACrB,0BAA0B;AAC1B,KAAK;AACL;AAC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GAAgB;AAC1C,qBAAqB,mBAAO,CAAC,+GAAsB;AACnD,wBAAwB,mBAAO,CAAC,mHAAwB;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,OAAO,mCAAmC,gCAAgC,aAAa;AACvF,8BAA8B,mCAAmC,aAAa;AAC9E;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,qDAAqD;AACrD;AACA,kDAAkD,iBAAiB,EAAE;AACrE;AACA,wDAAwD,aAAa,EAAE,EAAE;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;;;;;;;;;;;;ACpFA,6BAA6B;AAC7B,uCAAuC;;;;;;;;;;;;;ACD1B;AACb,sBAAsB,mBAAO,CAAC,+FAAc;AAC5C,iBAAiB,mBAAO,CAAC,uGAAkB;;AAE3C;AACA;AACA;AACA;;;;;;;;;;;;ACPA;AACA,gBAAgB,mBAAO,CAAC,iGAAe;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACnBa;AACb;AACA,YAAY,mBAAO,CAAC,uFAAU;AAC9B;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;AACD;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACzBY;AACb,eAAe,mBAAO,CAAC,+FAAc;AACrC,kBAAkB,mBAAO,CAAC,qGAAiB;AAC3C;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;ACRA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA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U,mBAAO,CAAC,mFAAQ;AAC1B,iBAAiB,mBAAO,CAAC,mGAAgB;;AAEzC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,yBAAyB,4CAA4C;AACrE;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA;AACA,6BAA6B,UAAU;AACvC;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA,2BAA2B,mBAAmB,aAAa;AAC3D;AACA;AACA;AACA;AACA,6CAA6C,WAAW;AACxD;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB;AACpB;AACA,kBAAkB;AAClB;AACA,gBAAgB;AAChB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gCAAgC,qCAAqC;AACrE;AACA;AACA,2BAA2B,gCAAgC;AAC3D;AACA;AACA;;;;;;;;;;;;;AC/Fa;AACb;AACA,eAAe,mBAAO,CAAC,+FAAc;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACZA,UAAU,mBAAO,CAAC,mFAAQ;AAC1B,WAAW,mBAAO,CAAC,+FAAc;AACjC,kBAAkB,mBAAO,CAAC,uGAAkB;AAC5C,eAAe,mBAAO,CAAC,+FAAc;AACrC,eAAe,mBAAO,CAAC,+FAAc;AACrC,gBAAgB,mBAAO,CAAC,2HAA4B;AACpD;AACA;AACA;AACA,uCAAuC,iBAAiB,EAAE;AAC1D;AACA;AACA;AACA;AACA;AACA,mEAAmE,gBAAgB;AACnF;AACA;AACA,GAAG,4CAA4C,gCAAgC;AAC/E;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACxBA,iBAAiB,mBAAO,CAAC,yFAAW;;;;;;;;;;;;ACApC;AACA;AACA;AACA;AACA;AACA,yCAAyC;;;;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ACf;AACA;;;;;;;;;;;;ACrBA;AACA,UAAU;AACV;;;;;;;;;;;;ACFA;;;;;;;;;;;;ACAA;;;;;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACTD;AACA,WAAW,mBAAO,CAAC,+FAAc;AACjC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACtBA;AACA;AACA;AACA;;;;;;;;;;;;ACHA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA,WAAW,mBAAO,CAAC,mFAAQ;AAC3B,eAAe,mBAAO,CAAC,+FAAc;AACrC,UAAU,mBAAO,CAAC,mFAAQ;AAC1B,cAAc,mBAAO,CAAC,+FAAc;AACpC;AACA;AACA;AACA;AACA,cAAc,mBAAO,CAAC,uFAAU;AAChC,iDAAiD;AACjD,CAAC;AACD;AACA,qBAAqB;AACrB;AACA,SAAS;AACT,GAAG,EAAE;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACpDA,aAAa,mBAAO,CAAC,yFAAW;AAChC,gBAAgB,mBAAO,CAAC,qFAAS;AACjC;AACA;AACA;AACA,aAAa,mBAAO,CAAC,mFAAQ;;AAE7B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,uCAAuC,sBAAsB,EAAE;AAC/D;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A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AAY,mBAAO,CAAC,uFAAU;AAC9B,cAAc,mBAAO,CAAC,2FAAY;AAClC;AACA;AACA;AACA;AACA;AACA,0FAA0F;AAC1F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;AClBA;AACA,eAAe,mBAAO,CAAC,+FAAc;AACrC,aAAa,mBAAO,CAAC,uGAAkB;AACvC,cAAc,mBAAO,CAAC,2FAAY;;AAElC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACfa;AACb,gBAAgB,mBAAO,CAAC,iGAAe;AACvC,cAAc,mBAAO,CAAC,2FAAY;;AAElC;AACA;AACA;AACA;AACA;AACA,QAAQ,MAAM;AACd;AACA;;;;;;;;;;;;ACXA,cAAc,mBAAO,CAAC,yFAAW;AACjC,cAAc,mBAAO,CAAC,2FAAY;AAClC,YAAY,mBAAO,CAAC,uFAAU;AAC9B,aAAa,mBAAO,CAAC,+FAAc;AACnC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;AC7BA;AACA;;;;;;;;;;;;ACDA,UAAU,mBAAO,CAAC,mFAAQ;AAC1B,aAAa,mBAAO,CAAC,yFAAW;AAChC,WAAW,mBAAO,CAAC,qFAAS;AAC5B,UAAU,mBAAO,CAAC,iGAAe;AACjC,aAAa,mBAAO,CAAC,yFAAW;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,mBAAO,CAAC,mFAAQ;AACtB;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACnFA,gBAAgB,mBAAO,CAAC,iGAAe;AACvC;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACNA;AACA,gBAAgB,mBAAO,CAAC,iGAAe;AACvC,eAAe,mBAAO,CAAC,+FAAc;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACLA;AACA,cAAc,mBAAO,CAAC,2FAAY;AAClC,cAAc,mBAAO,CAAC,2FAAY;AAClC;AACA;AACA;;;;;;;;;;;;ACLA;AACA,gBAAgB,mBA