WordPress Infinite Scroll – Ajax Load More - Version 5.1.5

Version Description

  • October 1, 2019 =
  • NEW - Added new loading_style parameter that allows users to override the global button style at the shortcode level.
  • NEW - Added mousewheel detection, 'end' and 'page down' keyup listeners for loading posts. In some rare cases users would not be able to load posts unless the user scroll back up the page. This will hopefully solve that issue.
  • UPDATE - Improved plugin accessibility and focus states.
  • UPDATE - Improved admin UI of license updates and expiration notifications.
  • FIX - Fixed issue with no_results_text not displaying for some users.
  • FIX - Fixed issue with table data not rendering correctly in Ajax results.
  • FIX - Added fix for meta_value not working if set to 0 in a Meta_Query.
  • FIX - Fixed issue with focus not being set on Ajax Load More after a filter method.
  • FIX - Fixed posisble issue with ALM continuously loading posts when using SEO/Next Page or Single Posts addon.
  • FIX - Fixed issue in ALM admin with filename adding single quotes when exporting a Repeater Template from inside the ALM admin.
Download this release

Release Info

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

Code changes from version 5.1.4 to 5.1.5

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.2
7
- Stable tag: 5.1.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -121,6 +121,7 @@ Ajax Load More accepts a number of parameters that are passed to the WordPress q
121
  * **progress_bar_color** - Enter the hex color of the progress bar. Default = 'ed7070'
122
  * **button_label** - The label text for Load More button. Default = 'Older Posts'
123
  * **button_loading_label** - Update the text of the Load More button while content is loading. Default = null
 
124
  * **container_type** - Override the global Container Type that was set on ALM Settings page. Default = null
125
  * **css_classes** - Add custom CSS classes to the Ajax Load More container. Default = null
126
  * **id** - A unique ID for the Ajax Load More instance.
@@ -140,7 +141,7 @@ Ajax Load More accepts a number of parameters that are passed to the WordPress q
140
  * **[Default](https://connekthq.com/plugins/ajax-load-more/examples/default/)** - Out of the box functionality and styling.
141
  * **[Advanced Custom Fields](https://connekthq.com/plugins/ajax-load-more/examples/advanced-custom-fields/)** - Infinite scroll Advanced Custom Fields data with Ajax Load More.
142
  * **[Attachments](https://connekthq.com/plugins/ajax-load-more/examples/attachments/)** - Endless scroll post attachments.
143
- * **[CSS Grid](https://connekthq.com/plugins/ajax-load-more/examples/css-grid/)** - Rendering Ajax Load More listings with CSS Grid.
144
  * **[Destroy After](https://connekthq.com/plugins/ajax-load-more/examples/destroy-after/)** - Remove Ajax Load More functionality after 'n' number of pages.
145
  * **[Event Listing](https://connekthq.com/plugins/ajax-load-more/examples/event-listing/)** - Ordering and listing events by custom field date.
146
  * **[Filtering](https://connekthq.com/plugins/ajax-load-more/examples/filtering/)** - Reset and filter an Ajax Load More instance.
@@ -380,6 +381,19 @@ How to install Ajax Load More.
380
 
381
  == Changelog ==
382
 
 
 
 
 
 
 
 
 
 
 
 
 
 
383
  = 5.1.4 - August 15, 2019 =
384
  * NEW - Added No Results Text(`no_results_text`) parameter to display text/html when zero results are returned in an Ajax Load More query.
385
  * NEW - Added `almOnChange` callback dispatch at the beginning of every Ajax Load More query.
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.3
7
+ Stable tag: 5.1.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
121
  * **progress_bar_color** - Enter the hex color of the progress bar. Default = 'ed7070'
122
  * **button_label** - The label text for Load More button. Default = 'Older Posts'
123
  * **button_loading_label** - Update the text of the Load More button while content is loading. Default = null
124
+ * **loading_style** - Select an Ajax loading style - you can choose between a Button or Infinite Scroll. Default = null
125
  * **container_type** - Override the global Container Type that was set on ALM Settings page. Default = null
126
  * **css_classes** - Add custom CSS classes to the Ajax Load More container. Default = null
127
  * **id** - A unique ID for the Ajax Load More instance.
141
  * **[Default](https://connekthq.com/plugins/ajax-load-more/examples/default/)** - Out of the box functionality and styling.
142
  * **[Advanced Custom Fields](https://connekthq.com/plugins/ajax-load-more/examples/advanced-custom-fields/)** - Infinite scroll Advanced Custom Fields data with Ajax Load More.
143
  * **[Attachments](https://connekthq.com/plugins/ajax-load-more/examples/attachments/)** - Endless scroll post attachments.
144
+ * **[CSS Grid](https://connekthq.com/plugins/ajax-load-more/examples/css-grid/)** - Rendering Ajax Load More listings with CSS GridRe.
145
  * **[Destroy After](https://connekthq.com/plugins/ajax-load-more/examples/destroy-after/)** - Remove Ajax Load More functionality after 'n' number of pages.
146
  * **[Event Listing](https://connekthq.com/plugins/ajax-load-more/examples/event-listing/)** - Ordering and listing events by custom field date.
147
  * **[Filtering](https://connekthq.com/plugins/ajax-load-more/examples/filtering/)** - Reset and filter an Ajax Load More instance.
381
 
382
  == Changelog ==
383
 
384
+ = 5.1.5 - October 1, 2019 =
385
+ * NEW - Added new `loading_style` parameter that allows users to override the global button style at the shortcode level.
386
+ * NEW - Added mousewheel detection, 'end' and 'page down' keyup listeners for loading posts. In some rare cases users would not be able to load posts unless the user scroll back up the page. This will hopefully solve that issue.
387
+ * UPDATE - Improved plugin accessibility and focus states.
388
+ * UPDATE - Improved admin UI of license updates and expiration notifications.
389
+ * FIX - Fixed issue with `no_results_text` not displaying for some users.
390
+ * FIX - Fixed issue with table data not rendering correctly in Ajax results.
391
+ * FIX - Added fix for `meta_value` not working if set to `0` in a Meta_Query.
392
+ * FIX - Fixed issue with focus not being set on Ajax Load More after a filter method.
393
+ * FIX - Fixed posisble issue with ALM continuously loading posts when using SEO/Next Page or Single Posts addon.
394
+ * FIX - Fixed issue in ALM admin with filename adding single quotes when exporting a Repeater Template from inside the ALM admin.
395
+
396
+
397
  = 5.1.4 - August 15, 2019 =
398
  * NEW - Added No Results Text(`no_results_text`) parameter to display text/html when zero results are returned in an Ajax Load More query.
399
  * NEW - Added `almOnChange` callback dispatch at the beginning of every Ajax Load More query.
admin/admin-functions.php CHANGED
@@ -41,7 +41,7 @@ function alm_has_addon_shortcodes(){
41
  'alm_prev_post_installed',
42
  'alm_rest_api_installed',
43
  'alm_seo_installed',
44
- 'alm_single_post_installed',
45
  'alm_users_installed'
46
  );
47
 
@@ -71,7 +71,7 @@ function alm_has_addon_shortcodes(){
71
  */
72
 
73
  function alm_has_addon(){
74
- if(has_action('alm_cta_installed') || has_action('alm_comments_installed') || has_action('alm_unlimited_installed') || has_action('alm_layouts_installed') || has_action('alm_nextpage_installed') || has_action('alm_preload_installed') || has_action('alm_paging_installed') || has_action('alm_prev_post_installed') || has_action('alm_single_post_installed') || has_action('alm_rest_api_installed') || has_action('alm_seo_installed') || has_action('alm_theme_repeaters_installed') || has_action('alm_users_installed')) {
75
  return true;
76
  } else {
77
  return false;
41
  'alm_prev_post_installed',
42
  'alm_rest_api_installed',
43
  'alm_seo_installed',
44
+ 'alm_single_post_installed',
45
  'alm_users_installed'
46
  );
47
 
71
  */
72
 
73
  function alm_has_addon(){
74
+ if(has_action('alm_cta_installed') || has_action('alm_comments_installed') || has_action('alm_unlimited_installed') || has_action('alm_layouts_installed') || has_action('alm_nextpage_installed') || has_action('alm_preload_installed') || has_action('alm_paging_installed') || has_action('alm_prev_post_installed') || has_action('alm_single_post_installed') || has_action('alm_rest_api_installed') || has_action('alm_seo_installed') || has_action('alm_tabs_installed') || has_action('alm_theme_repeaters_installed') || has_action('alm_users_installed')) {
75
  return true;
76
  } else {
77
  return false;
admin/admin.php CHANGED
@@ -14,6 +14,78 @@ add_filter( 'admin_footer_text', 'alm_filter_admin_footer_text'); // Admin menu
14
 
15
 
16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
 
18
  /*
19
  * alm_render_transient_notification
@@ -97,7 +169,7 @@ function alm_repeaters_export(){
97
  if(file_exists($file)){
98
  header("Content-Description: File Transfer");
99
  header("Content-Type: application/octet-stream");
100
- header("Content-Disposition: attachment; filename='" . basename($file) . "'");
101
  readfile ($file);
102
  exit();
103
  }
@@ -164,14 +236,13 @@ add_action( 'admin_notices', 'alm_admin_notice_errors' );
164
  *
165
  * @since 2.8.3
166
  */
167
-
168
  function alm_license_activation(){
169
 
170
  if (current_user_can( 'edit_theme_options' )){
171
 
172
  $nonce = $_GET["nonce"];
173
  $type = $_GET["type"]; // activate / deactivate
174
- $item = $_GET["item"];
175
  $license = $_GET["license"];
176
  $url = $_GET["url"];
177
  $upgrade = $_GET["upgrade"];
@@ -179,30 +250,32 @@ function alm_license_activation(){
179
  $option_key = $_GET["key"];
180
 
181
  // Check our nonce, if they don't match then bounce!
182
- if (! wp_verify_nonce( $nonce, 'alm_repeater_nonce' ))
183
  die('Error - unable to verify nonce, please try again.');
 
184
 
185
- // data to send in our API request
186
- if($type === 'activate'){
187
  $action = 'activate_license';
188
  }else{
189
  $action = 'deactivate_license';
190
  }
191
-
 
192
  $api_params = array(
193
  'edd_action'=> $action,
194
  'license' => $license,
195
- 'item_id' => $item, // the ID of our product in EDD
196
  'url' => home_url()
197
  );
198
 
199
  // Call API
200
- // Updated 2.8.7
201
- $response = wp_remote_post( ALM_STORE_URL, array( 'timeout' => 15, 'sslverify' => false, 'body' => $api_params ) );
202
 
203
  // make sure the response came back okay
204
- if ( is_wp_error( $response ) )
205
  return false;
 
206
 
207
  $license_data = $response['body'];
208
  $license_data = json_decode($license_data); // decode the license data
@@ -214,20 +287,30 @@ function alm_license_activation(){
214
  $return["expires"] = $license_data->expires;
215
  $return["site_count"] = $license_data->site_count;
216
  $return["activations_left"] = $license_data->activations_left;
217
- $return["license"] = $license_data->license;
218
  $return["item_name"] = $license_data->item_name;
 
219
  if($license_data->activations_left === 0 && $license_data->success === false){
220
- $msg = '<strong>Sorry, but you are out of available licenses <em>('. $license_data->license_limit .' / '. $license_data->site_count .')</em>.</strong> Please visit the <a href="'.$upgrade.'" target="_blank">'.$license_data->item_name.'</a> page to add additional licenses.';
221
  }
222
  }
223
  $return["msg"] = $msg;
224
-
225
- update_option( $option_status, $license_data->license);
 
 
 
 
 
 
 
226
  update_option( $option_key, $license );
227
-
 
 
 
 
228
  wp_send_json($return);
229
 
230
-
231
  } else {
232
 
233
  echo __('You don\'t belong here.', 'ajax-load-more');
@@ -237,6 +320,45 @@ function alm_license_activation(){
237
 
238
 
239
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
240
  /*
241
  * alm_get_layout
242
  * Get layout and return value to repeater template
@@ -1357,6 +1479,13 @@ function alm_admin_init(){
1357
  }
1358
 
1359
 
 
 
 
 
 
 
 
1360
  // THEME REPEATERS
1361
  if(has_action('alm_theme_repeaters_settings')){
1362
  do_action('alm_theme_repeaters_settings');
14
 
15
 
16
 
17
+ /*
18
+ * almCreatePluginUpdateNotifications
19
+ * Create custom update notifications
20
+ *
21
+ * @since 5.2
22
+ */
23
+ function alm_plugin_update_messages(){
24
+ $addons = alm_get_addons();
25
+ foreach($addons as $addon){
26
+ $path = $addon['path'];
27
+ $hook = "in_plugin_update_message-{$path}/{$path}.php";
28
+ add_action( $hook, 'alm_prefix_plugin_update_message', 10, 2);
29
+ }
30
+ }
31
+ alm_plugin_update_messages();
32
+
33
+
34
+
35
+ /*
36
+ * alm_prefix_plugin_update_message
37
+ * Add extra message to plugin updater about expired/inactive licenses
38
+ *
39
+ * @since 5.2
40
+ */
41
+ function alm_prefix_plugin_update_message( $data, $response ) {
42
+ $addons = alm_get_addons();
43
+ $slug = $response->slug;
44
+ $version = $response->new_version;
45
+
46
+ foreach($addons as $key=>$addon){
47
+ if($addon['path'] === $slug){
48
+ $index = $key;
49
+ }
50
+ }
51
+
52
+ if(isset($index)){
53
+ $style = 'display: block; padding: 10px 5px 2px;';
54
+ $addon = $addons[$index];
55
+
56
+ if(isset($addon)){
57
+ $name = '<strong>'. $addon['name'] .'</strong>';
58
+ $status = get_option($addon['status']);
59
+
60
+ // Expired
61
+ if($status === 'expired'){
62
+ printf('<span style="'. $style .'">%s %s</span>',
63
+ __( 'Looks like your subscription has expired.', 'ajax-load-more' ),
64
+ __( 'Please login to your <a href="https://connekthq.com/account/" target="_blank">Account</a> to renew the license.', 'ajax-load-more' )
65
+ );
66
+ }
67
+
68
+ // Invalid/Inactive
69
+ if($status === 'invalid' || $status === 'disabled'){
70
+ printf('<span style="'. $style .'">%s %s</span>',
71
+ __( 'Looks like your license is inactive and/or invalid.', 'ajax-load-more' ),
72
+ __( 'Please activate the <a href="admin.php?page=ajax-load-more-licenses" target="_blank">license</a> or login to your <a href="https://connekthq.com/account/" target="_blank">Account</a> to renew the license.', 'ajax-load-more' )
73
+ );
74
+ }
75
+
76
+ // Deactivated
77
+ if($status === 'deactivated'){
78
+ printf('<span style="'. $style .'">%s %s</span>',
79
+ __( 'Looks like your license has been deactivated.', 'ajax-load-more' ),
80
+ __( 'Please activate the <a href="admin.php?page=ajax-load-more-licenses" target="_blank">license</a> to update.', 'ajax-load-more' )
81
+ );
82
+ }
83
+ //alm_pretty_print($response);
84
+ }
85
+ }
86
+ }
87
+
88
+
89
 
90
  /*
91
  * alm_render_transient_notification
169
  if(file_exists($file)){
170
  header("Content-Description: File Transfer");
171
  header("Content-Type: application/octet-stream");
172
+ header('Content-Disposition: attachment; filename="'. basename($file) .'"');
173
  readfile ($file);
174
  exit();
175
  }
236
  *
237
  * @since 2.8.3
238
  */
 
239
  function alm_license_activation(){
240
 
241
  if (current_user_can( 'edit_theme_options' )){
242
 
243
  $nonce = $_GET["nonce"];
244
  $type = $_GET["type"]; // activate / deactivate
245
+ $item_id = $_GET["item"];
246
  $license = $_GET["license"];
247
  $url = $_GET["url"];
248
  $upgrade = $_GET["upgrade"];
250
  $option_key = $_GET["key"];
251
 
252
  // Check our nonce, if they don't match then bounce!
253
+ if (! wp_verify_nonce( $nonce, 'alm_repeater_nonce' )){
254
  die('Error - unable to verify nonce, please try again.');
255
+ }
256
 
257
+ // API Action
258
+ if($type === 'activate' || $type === 'check'){
259
  $action = 'activate_license';
260
  }else{
261
  $action = 'deactivate_license';
262
  }
263
+
264
+ // Create the params for the request
265
  $api_params = array(
266
  'edd_action'=> $action,
267
  'license' => $license,
268
+ 'item_id' => $item_id, // the ID of our product in EDD
269
  'url' => home_url()
270
  );
271
 
272
  // Call API
273
+ $response = wp_remote_post( ALM_STORE_URL, array( 'body' => $api_params, 'timeout' => 15, 'sslverify' => false ) );
 
274
 
275
  // make sure the response came back okay
276
+ if ( is_wp_error($response) ){
277
  return false;
278
+ }
279
 
280
  $license_data = $response['body'];
281
  $license_data = json_decode($license_data); // decode the license data
287
  $return["expires"] = $license_data->expires;
288
  $return["site_count"] = $license_data->site_count;
289
  $return["activations_left"] = $license_data->activations_left;
 
290
  $return["item_name"] = $license_data->item_name;
291
+
292
  if($license_data->activations_left === 0 && $license_data->success === false){
293
+ $msg = '<strong>You\'re out of available licenses <em>('. $license_data->license_limit .' / '. $license_data->site_count .')</em></strong>. Please visit the <a href="'.$upgrade.'" target="_blank">'.$license_data->item_name.'</a> website to add additional licenses.';
294
  }
295
  }
296
  $return["msg"] = $msg;
297
+
298
+
299
+ // If error, make error the status of the license
300
+ $license_status = (isset($license_data->error)) ? $license_data->error : $license_data->license;
301
+
302
+ $return["license"] = $license_status;
303
+
304
+ // Update the options table
305
+ update_option( $option_status, $license_status);
306
  update_option( $option_key, $license );
307
+
308
+ // Set transient value to store license status
309
+ set_transient( "alm_{$item_id}_{$license}", $license_status, 96 * HOUR_IN_SECONDS ); // 4 days
310
+
311
+ // Send the response
312
  wp_send_json($return);
313
 
 
314
  } else {
315
 
316
  echo __('You don\'t belong here.', 'ajax-load-more');
320
 
321
 
322
 
323
+ /*
324
+ * alm_license_check
325
+ * Check the status of a license
326
+ *
327
+ * @since 2.8.3
328
+ */
329
+ function alm_license_check($item_id = null, $license = null, $option_status = null){
330
+
331
+ if(!$item_id || !$license || !$option_status){
332
+ return false;
333
+ }
334
+
335
+ $api_params = array(
336
+ 'edd_action' => 'check_license',
337
+ 'license' => $license,
338
+ 'item_id' => $item_id,
339
+ 'url' => home_url()
340
+ );
341
+ $response = wp_remote_post( ALM_STORE_URL, array( 'body' => $api_params, 'timeout' => 15, 'sslverify' => false ) );
342
+ if ( is_wp_error( $response ) ) {
343
+ return false;
344
+ }
345
+
346
+ // Get Data
347
+ $license_data = json_decode( wp_remote_retrieve_body( $response ) );
348
+
349
+ // Update the options table
350
+ update_option( $option_status, $license_data->license);
351
+
352
+ // Set transient value to store license status
353
+ set_transient( "alm_{$item_id}_{$license}", $license_data->license, 168 * HOUR_IN_SECONDS ); // 7 days
354
+
355
+ // Return the status
356
+ return $license_data->license;
357
+
358
+ }
359
+
360
+
361
+
362
  /*
363
  * alm_get_layout
364
  * Get layout and return value to repeater template
1479
  }
1480
 
1481
 
1482
+ // TABS
1483
+ if(has_action('alm_tabs_settings')){
1484
+ do_action('alm_tabs_settings');
1485
+ }
1486
+
1487
+
1488
+
1489
  // THEME REPEATERS
1490
  if(has_action('alm_theme_repeaters_settings')){
1491
  do_action('alm_theme_repeaters_settings');
admin/dist/css/admin.css CHANGED
@@ -1535,7 +1535,7 @@ a.button-small {
1535
  top: 14px;
1536
  font-size: 12px;
1537
  display: inline-block;
1538
- background-color: rgba(255, 255, 255, 0.65);
1539
  margin: 0 0 0 10px; }
1540
  .ajax-load-more p.warning-callout a.button-small:hover, .ajax-load-more p.warning-callout a.button-small:focus {
1541
  background-color: #fff; }
@@ -1739,14 +1739,44 @@ a.button-small {
1739
  clear: both;
1740
  border: 1px solid #efefef;
1741
  border-radius: 2px; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1742
 
1743
  .ajax-load-more#alm-repeaters .row {
1744
  overflow: visible; }
1745
 
1746
- .ajax-load-more .row.no-brd {
1747
- border: none !important;
1748
- padding: 0 !important; }
1749
-
1750
  .admin.ajax-load-more .row,
1751
  .forceColors .ajax-load-more .row {
1752
  border-color: #e1e1e1; }
@@ -2168,25 +2198,23 @@ hr.indented {
2168
 
2169
  .admin.ajax-load-more .ajax-load-more-wrap {
2170
  position: relative;
2171
- top: 10px;
2172
- padding: 20px;
2173
- border: 1px dashed #ccc;
2174
  display: inline-block;
2175
  margin-top: 10px;
2176
  margin-bottom: 10px; }
2177
-
2178
- .admin.ajax-load-more .ajax-load-more-wrap.preview-pane.none {
2179
- display: none; }
2180
-
2181
- .admin.ajax-load-more .ajax-load-more-wrap button {
2182
- margin: 0 !important; }
2183
-
2184
- .admin.ajax-load-more .ajax-load-more-wrap > span {
2185
- display: block;
2186
- font-size: 11px;
2187
- opacity: 0.7;
2188
- padding: 0 0 8px;
2189
- text-transform: uppercase; }
2190
 
2191
  .admin.ajax-load-more.settings .ajax-load-more-wrap.pages li {
2192
  font-size: 14px; }
@@ -2695,23 +2723,23 @@ span.cnkt-button.installed i,
2695
  position: relative; }
2696
 
2697
  .license-title .status {
2698
- width: 12px;
2699
- height: 12px;
2700
  border-radius: 100%;
2701
  background: #d45656;
2702
  position: absolute;
2703
  left: 15px;
2704
  top: 50%;
2705
- margin-top: -6px;
2706
  -webkit-box-shadow: inset 0 -6px 6px rgba(0, 0, 0, 0.05), 0 1px 0 #fff;
2707
  box-shadow: inset 0 -6px 6px rgba(0, 0, 0, 0.05), 0 1px 0 #fff; }
2708
 
2709
  .license-title .status.valid {
2710
- background-color: #acd481; }
2711
 
2712
  .license h2 {
2713
  margin: 0;
2714
- padding: 15px 15px 15px 35px;
2715
  font-size: 16px;
2716
  font-weight: 600;
2717
  line-height: 1.2; }
@@ -2758,7 +2786,8 @@ span.cnkt-button.installed i,
2758
  z-index: 9;
2759
  display: none; }
2760
 
2761
- .license-btn.hide {
 
2762
  display: none; }
2763
 
2764
  .license-btn-wrap {
@@ -2766,9 +2795,11 @@ span.cnkt-button.installed i,
2766
 
2767
  .license-btn-wrap .msg {
2768
  display: block;
2769
- padding: 10px 0 0;
2770
  font-size: 14px;
2771
- line-height: 18px; }
 
 
2772
 
2773
  .license-btn-wrap .msg strong {
2774
  display: block; }
@@ -2818,10 +2849,11 @@ span.cnkt-button.installed i,
2818
  padding: 6px 12px;
2819
  line-height: 1.3;
2820
  color: #fff;
2821
- border-color: #999; }
 
2822
 
2823
  .license-key-field .status.active {
2824
- background-color: #acd481; }
2825
 
2826
  .license-key-field .status.inactive {
2827
  background-color: #d45656; }
@@ -2877,6 +2909,10 @@ span.cnkt-button.installed i,
2877
  .ajax-load-more .cnkt-sidebar .cta-inner {
2878
  padding: 20px;
2879
  display: block; }
 
 
 
 
2880
 
2881
  .ajax-load-more .cnkt-sidebar .cta-inner.padding-bottom {
2882
  padding-bottom: 80px; }
@@ -3165,6 +3201,9 @@ span.cnkt-button.installed i,
3165
  /* Numbers */
3166
  color: #009999 !important; }
3167
 
 
 
 
3168
  /*
3169
  * Delete Template (Unlimited Repeaters
3170
  *
@@ -3534,7 +3573,7 @@ p.theme-title {
3534
  .ajax-load-more .form-table input[type=checkbox] + label,
3535
  .shortcode-builder input[type=radio] + label,
3536
  .ajax-load-more .form-table input[type=radio] + label {
3537
- background: #fff url("../../img/bkg-chkbox_off.png") no-repeat left 1px;
3538
  height: auto;
3539
  min-height: 23px;
3540
  width: 100%;
@@ -3555,16 +3594,20 @@ p.theme-title {
3555
 
3556
  .shortcode-builder input[type=radio] + label,
3557
  .ajax-load-more .form-table input[type=radio] + label {
3558
- background: #fff url("../../img/bkg-radio_off.png") no-repeat left 2px; }
3559
 
3560
  .shortcode-builder input[type=checkbox]:hover + label,
3561
- .ajax-load-more .form-table input[type=checkbox]:hover + label {
3562
- /* hover */
 
 
3563
  background-image: url("../../img/bkg-chkbox_on.png"); }
3564
 
3565
  .shortcode-builder input[type=radio]:hover + label,
3566
- .ajax-load-more .form-table input[type=radio]:hover + label {
3567
- /* hover */
 
 
3568
  background-image: url("../../img/bkg-radio_on.png"); }
3569
 
3570
  .shortcode-builder input[type=checkbox]:checked + label,
@@ -4169,12 +4212,14 @@ span.dismiss a {
4169
 
4170
  /* share-alm */
4171
  .alm-notification {
4172
- background: #6199c3 !important;
4173
- border-color: #3f7d9a !important;
4174
- padding: 20px;
4175
- margin: 0 0 20px; }
4176
  .alm-notification:hover a.dismiss {
4177
  opacity: 0.7; }
 
 
4178
  .alm-notification .dotted {
4179
  border: none;
4180
  border-bottom: 1px dashed #ccc;
@@ -4185,8 +4230,11 @@ span.dismiss a {
4185
  line-height: 1.25;
4186
  position: relative;
4187
  color: #fff;
4188
- font-size: 22px;
4189
- margin: 0 0 10px; }
 
 
 
4190
  .alm-notification h2 span {
4191
  position: absolute;
4192
  left: 0;
@@ -4197,38 +4245,47 @@ span.dismiss a {
4197
  .alm-notification h2 span {
4198
  display: none; } }
4199
  .alm-notification p {
4200
- color: #ddeaf1;
4201
  font-size: 14px;
4202
- padding-left: 33px;
4203
  margin: 0 0 20px; }
4204
- @media screen and (max-width: 480px) {
4205
- .alm-notification p {
4206
- padding-left: 0; } }
4207
  .alm-notification p a {
4208
- color: #fff;
4209
  font-weight: 600; }
4210
  .alm-notification p a:hover, .alm-notification p a:focus {
4211
  text-decoration: none; }
4212
  .alm-notification p.opening {
4213
  font-size: 18px;
4214
- margin: 0 0 13px;
4215
- font-weight: 300; }
 
 
 
 
 
 
 
4216
  .alm-notification ul.share {
4217
- margin: 0 0 10px;
4218
- padding: 0 0 0 32px;
4219
  width: auto;
4220
  clear: both;
4221
- display: inline-block;
 
 
 
 
 
4222
  overflow: visible;
4223
  text-align: left;
4224
  width: 100%;
4225
- height: auto; }
4226
- @media screen and (max-width: 480px) {
4227
- .alm-notification ul.share {
4228
- padding: 0; } }
4229
  .alm-notification ul.share li {
 
 
 
4230
  background: none;
4231
- display: inline-block;
4232
  vertical-align: top;
4233
  height: auto;
4234
  line-height: 40px;
@@ -4240,45 +4297,32 @@ span.dismiss a {
4240
  color: #787878;
4241
  width: auto;
4242
  text-align: center;
4243
- margin: 12px 10px 0 0 !important;
4244
- padding: 0; }
4245
- @media screen and (max-width: 480px) {
4246
- .alm-notification ul.share li {
4247
- display: block;
4248
- width: 100%; } }
4249
  .alm-notification ul.share li a {
4250
  display: block;
4251
- line-height: 40px;
4252
- height: 40px;
4253
- width: auto;
4254
- padding: 0 15px 0 47px;
4255
  text-decoration: none;
4256
  color: #fff;
4257
  text-align: center;
4258
  background: none;
4259
- border-radius: 3px;
4260
  position: relative;
4261
- font-weight: 600;
4262
- background: #33cf92;
4263
- -webkit-box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.075), inset 0 0 1px rgba(255, 255, 255, 0.2);
4264
- box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.075), inset 0 0 1px rgba(255, 255, 255, 0.2); }
4265
- @media screen and (min-width: 1500px) {
4266
- .alm-notification ul.share li a {
4267
- padding: 0 25px 0 50px; } }
4268
- .alm-notification ul.share li a:hover {
4269
- background-color: #45dfa3; }
4270
  .alm-notification ul.share li a i {
4271
- font-size: 20px;
4272
- line-height: 41px;
4273
- height: 40px;
4274
- width: 35px;
4275
- position: absolute;
4276
- top: 0;
4277
- left: 0;
4278
- text-align: center;
4279
- border-right: 1px solid rgba(0, 0, 0, 0.1);
4280
- background-color: rgba(0, 0, 0, 0.1);
4281
- border-radius: 2px 0 0 2px; }
4282
  .alm-notification ul.share li a:hover,
4283
  .alm-notification ul.share li a:hover i {
4284
  text-decoration: none;
@@ -4286,14 +4330,6 @@ span.dismiss a {
4286
  .alm-notification ul.share li a:hover span,
4287
  .alm-notification ul.share li a:hover i span {
4288
  text-decoration: none; }
4289
- .alm-notification ul.share li.twitter a {
4290
- background: #00aced; }
4291
- .alm-notification ul.share li.twitter a:hover {
4292
- background: #13beff !important; }
4293
- .alm-notification ul.share li.facebook a {
4294
- background: #3b5998; }
4295
- .alm-notification ul.share li.facebook a:hover {
4296
- background: #466cbc !important; }
4297
  .alm-notification a.dismiss {
4298
  position: absolute;
4299
  right: 3px;
@@ -4304,7 +4340,7 @@ span.dismiss a {
4304
  line-height: 30px;
4305
  padding: 0;
4306
  text-align: center;
4307
- color: #fff;
4308
  border-right: none;
4309
  border-top: none;
4310
  display: block;
@@ -4312,7 +4348,7 @@ span.dismiss a {
4312
  font-weight: 300;
4313
  opacity: 0.3; }
4314
  .alm-notification a.dismiss:hover, .alm-notification a.dismiss:focus {
4315
- color: #fff;
4316
  opacity: 1; }
4317
 
4318
  /*
@@ -4328,7 +4364,7 @@ span.dismiss a {
4328
  position: absolute;
4329
  left: 70px;
4330
  top: -20px;
4331
- background: #fefeed;
4332
  color: #333;
4333
  width: 40px;
4334
  height: 40px;
@@ -4339,6 +4375,8 @@ span.dismiss a {
4339
  border-radius: 100%;
4340
  text-transform: uppercase;
4341
  border: 1px solid #e1e1e1;
 
 
4342
  font-size: 13px; }
4343
 
4344
  .alm-template-section-nav {
1535
  top: 14px;
1536
  font-size: 12px;
1537
  display: inline-block;
1538
+ background-color: rgba(255, 255, 255, 0.75);
1539
  margin: 0 0 0 10px; }
1540
  .ajax-load-more p.warning-callout a.button-small:hover, .ajax-load-more p.warning-callout a.button-small:focus {
1541
  background-color: #fff; }
1739
  clear: both;
1740
  border: 1px solid #efefef;
1741
  border-radius: 2px; }
1742
+ .ajax-load-more .row.no-brd {
1743
+ border: none !important;
1744
+ padding: 0 !important; }
1745
+ .ajax-load-more .row .nested-component {
1746
+ padding: 0;
1747
+ position: relative; }
1748
+ .ajax-load-more .row .nested-component:after, .ajax-load-more .row .nested-component:before {
1749
+ top: 0;
1750
+ left: 35px;
1751
+ border: solid transparent;
1752
+ content: " ";
1753
+ height: 0;
1754
+ width: 0;
1755
+ position: absolute;
1756
+ pointer-events: none; }
1757
+ .ajax-load-more .row .nested-component:after {
1758
+ border-color: rgba(255, 255, 255, 0);
1759
+ border-top-color: #fff;
1760
+ border-width: 10px;
1761
+ margin-left: -10px; }
1762
+ .ajax-load-more .row .nested-component:before {
1763
+ border-color: rgba(239, 239, 239, 0);
1764
+ border-top-color: #e1e1e1;
1765
+ border-width: 11px;
1766
+ margin-left: -11px; }
1767
+ .ajax-load-more .row .nested-component--inner {
1768
+ padding: 0;
1769
+ position: relative;
1770
+ border-top: 1px solid #efefef;
1771
+ border-left: 6px solid #f7f7f7; }
1772
+ .ajax-load-more .row .nested-component--inner:after {
1773
+ clear: both;
1774
+ display: table;
1775
+ content: ''; }
1776
 
1777
  .ajax-load-more#alm-repeaters .row {
1778
  overflow: visible; }
1779
 
 
 
 
 
1780
  .admin.ajax-load-more .row,
1781
  .forceColors .ajax-load-more .row {
1782
  border-color: #e1e1e1; }
2198
 
2199
  .admin.ajax-load-more .ajax-load-more-wrap {
2200
  position: relative;
2201
+ top: 5px;
2202
+ padding: 15px 17px 17px;
2203
+ border: 2px dashed #efefef;
2204
  display: inline-block;
2205
  margin-top: 10px;
2206
  margin-bottom: 10px; }
2207
+ .admin.ajax-load-more .ajax-load-more-wrap.preview-pane.none {
2208
+ display: none; }
2209
+ .admin.ajax-load-more .ajax-load-more-wrap button {
2210
+ margin: 0 !important; }
2211
+ .admin.ajax-load-more .ajax-load-more-wrap > span {
2212
+ display: block;
2213
+ font-size: 10px;
2214
+ line-height: 1;
2215
+ opacity: 0.7;
2216
+ padding: 0 0 8px;
2217
+ text-transform: uppercase; }
 
 
2218
 
2219
  .admin.ajax-load-more.settings .ajax-load-more-wrap.pages li {
2220
  font-size: 14px; }
2723
  position: relative; }
2724
 
2725
  .license-title .status {
2726
+ width: 13px;
2727
+ height: 13px;
2728
  border-radius: 100%;
2729
  background: #d45656;
2730
  position: absolute;
2731
  left: 15px;
2732
  top: 50%;
2733
+ margin-top: -7px;
2734
  -webkit-box-shadow: inset 0 -6px 6px rgba(0, 0, 0, 0.05), 0 1px 0 #fff;
2735
  box-shadow: inset 0 -6px 6px rgba(0, 0, 0, 0.05), 0 1px 0 #fff; }
2736
 
2737
  .license-title .status.valid {
2738
+ background-color: #9ad682; }
2739
 
2740
  .license h2 {
2741
  margin: 0;
2742
+ padding: 15px 15px 15px 38px;
2743
  font-size: 16px;
2744
  font-weight: 600;
2745
  line-height: 1.2; }
2786
  z-index: 9;
2787
  display: none; }
2788
 
2789
+ .license-btn.hide,
2790
+ .renew-btn.hide {
2791
  display: none; }
2792
 
2793
  .license-btn-wrap {
2795
 
2796
  .license-btn-wrap .msg {
2797
  display: block;
2798
+ padding: 15px 0 0;
2799
  font-size: 14px;
2800
+ line-height: 24px;
2801
+ position: relative;
2802
+ top: 4px; }
2803
 
2804
  .license-btn-wrap .msg strong {
2805
  display: block; }
2849
  padding: 6px 12px;
2850
  line-height: 1.3;
2851
  color: #fff;
2852
+ border-color: #999;
2853
+ cursor: default; }
2854
 
2855
  .license-key-field .status.active {
2856
+ background-color: #9ad682; }
2857
 
2858
  .license-key-field .status.inactive {
2859
  background-color: #d45656; }
2909
  .ajax-load-more .cnkt-sidebar .cta-inner {
2910
  padding: 20px;
2911
  display: block; }
2912
+ .ajax-load-more .cnkt-sidebar .cta-inner .cta-inner {
2913
+ background-color: #f7f7f7;
2914
+ border-radius: 3px;
2915
+ border: 1px solid #e1e1e1; }
2916
 
2917
  .ajax-load-more .cnkt-sidebar .cta-inner.padding-bottom {
2918
  padding-bottom: 80px; }
3201
  /* Numbers */
3202
  color: #009999 !important; }
3203
 
3204
+ .shortcode-builder hr {
3205
+ margin: 0; }
3206
+
3207
  /*
3208
  * Delete Template (Unlimited Repeaters
3209
  *
3573
  .ajax-load-more .form-table input[type=checkbox] + label,
3574
  .shortcode-builder input[type=radio] + label,
3575
  .ajax-load-more .form-table input[type=radio] + label {
3576
+ background: transparent url("../../img/bkg-chkbox_off.png") no-repeat left 1px;
3577
  height: auto;
3578
  min-height: 23px;
3579
  width: 100%;
3594
 
3595
  .shortcode-builder input[type=radio] + label,
3596
  .ajax-load-more .form-table input[type=radio] + label {
3597
+ background: transparent url("../../img/bkg-radio_off.png") no-repeat left 2px; }
3598
 
3599
  .shortcode-builder input[type=checkbox]:hover + label,
3600
+ .ajax-load-more .form-table input[type=checkbox]:hover + label,
3601
+ .shortcode-builder input[type=checkbox]:focus + label,
3602
+ .ajax-load-more .form-table input[type=checkbox]:focus + label {
3603
+ /* hover/focus */
3604
  background-image: url("../../img/bkg-chkbox_on.png"); }
3605
 
3606
  .shortcode-builder input[type=radio]:hover + label,
3607
+ .ajax-load-more .form-table input[type=radio]:hover + label,
3608
+ .shortcode-builder input[type=radio]:focus + label,
3609
+ .ajax-load-more .form-table input[type=radio]:focus + label {
3610
+ /* hover/focus */
3611
  background-image: url("../../img/bkg-radio_on.png"); }
3612
 
3613
  .shortcode-builder input[type=checkbox]:checked + label,
4212
 
4213
  /* share-alm */
4214
  .alm-notification {
4215
+ border-radius: 2px; }
4216
+ .alm-notification--blue {
4217
+ background: #5899de !important;
4218
+ border-color: #4b7eb5 !important; }
4219
  .alm-notification:hover a.dismiss {
4220
  opacity: 0.7; }
4221
+ .alm-notification--inner {
4222
+ padding: 14px 20px 20px; }
4223
  .alm-notification .dotted {
4224
  border: none;
4225
  border-bottom: 1px dashed #ccc;
4230
  line-height: 1.25;
4231
  position: relative;
4232
  color: #fff;
4233
+ font-size: 15px;
4234
+ margin: 0;
4235
+ padding: 14px 20px;
4236
+ font-weight: 700;
4237
+ border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
4238
  .alm-notification h2 span {
4239
  position: absolute;
4240
  left: 0;
4245
  .alm-notification h2 span {
4246
  display: none; } }
4247
  .alm-notification p {
 
4248
  font-size: 14px;
 
4249
  margin: 0 0 20px; }
 
 
 
4250
  .alm-notification p a {
 
4251
  font-weight: 600; }
4252
  .alm-notification p a:hover, .alm-notification p a:focus {
4253
  text-decoration: none; }
4254
  .alm-notification p.opening {
4255
  font-size: 18px;
4256
+ margin: 0 0 15px;
4257
+ font-weight: 300;
4258
+ line-height: 1.4; }
4259
+ .alm-notification p.opener {
4260
+ color: #444;
4261
+ font-weight: 700;
4262
+ font-size: 16px;
4263
+ position: relative;
4264
+ margin: 0 0 20px; }
4265
  .alm-notification ul.share {
4266
+ margin: 0;
4267
+ padding: 0;
4268
  width: auto;
4269
  clear: both;
4270
+ display: -webkit-box;
4271
+ display: -ms-flexbox;
4272
+ display: flex;
4273
+ -ms-flex-wrap: nowrap;
4274
+ flex-wrap: nowrap;
4275
+ width: 100%;
4276
  overflow: visible;
4277
  text-align: left;
4278
  width: 100%;
4279
+ height: auto;
4280
+ border-radius: 0 0 3px 3px;
4281
+ background-color: #e06464;
4282
+ background-color: #9d87c7; }
4283
  .alm-notification ul.share li {
4284
+ -webkit-box-flex: 1;
4285
+ -ms-flex: 1;
4286
+ flex: 1;
4287
  background: none;
4288
+ display: block;
4289
  vertical-align: top;
4290
  height: auto;
4291
  line-height: 40px;
4297
  color: #787878;
4298
  width: auto;
4299
  text-align: center;
4300
+ margin: 0 !important;
4301
+ padding: 0;
4302
+ background: none;
4303
+ border-left: 1px solid rgba(255, 255, 255, 0.15); }
4304
+ .alm-notification ul.share li:first-of-type {
4305
+ border-left: none; }
4306
  .alm-notification ul.share li a {
4307
  display: block;
4308
+ line-height: 50px;
4309
+ height: 50px;
4310
+ width: 100%;
4311
+ padding: 0 10px;
4312
  text-decoration: none;
4313
  color: #fff;
4314
  text-align: center;
4315
  background: none;
4316
+ border-radius: 0;
4317
  position: relative;
4318
+ font-weight: 500; }
4319
+ .alm-notification ul.share li a:hover, .alm-notification ul.share li a:focus {
4320
+ background-color: #b3a0d6 !important; }
 
 
 
 
 
 
4321
  .alm-notification ul.share li a i {
4322
+ margin: 0 10px 0 0;
4323
+ font-size: 1.25em;
4324
+ position: relative;
4325
+ top: 1px; }
 
 
 
 
 
 
 
4326
  .alm-notification ul.share li a:hover,
4327
  .alm-notification ul.share li a:hover i {
4328
  text-decoration: none;
4330
  .alm-notification ul.share li a:hover span,
4331
  .alm-notification ul.share li a:hover i span {
4332
  text-decoration: none; }
 
 
 
 
 
 
 
 
4333
  .alm-notification a.dismiss {
4334
  position: absolute;
4335
  right: 3px;
4340
  line-height: 30px;
4341
  padding: 0;
4342
  text-align: center;
4343
+ color: #ccc;
4344
  border-right: none;
4345
  border-top: none;
4346
  display: block;
4348
  font-weight: 300;
4349
  opacity: 0.3; }
4350
  .alm-notification a.dismiss:hover, .alm-notification a.dismiss:focus {
4351
+ color: #999;
4352
  opacity: 1; }
4353
 
4354
  /*
4364
  position: absolute;
4365
  left: 70px;
4366
  top: -20px;
4367
+ background: #f7f7f7;
4368
  color: #333;
4369
  width: 40px;
4370
  height: 40px;
4375
  border-radius: 100%;
4376
  text-transform: uppercase;
4377
  border: 1px solid #e1e1e1;
4378
+ -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
4379
+ box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
4380
  font-size: 13px; }
4381
 
4382
  .alm-template-section-nav {
admin/dist/js/admin.js CHANGED
@@ -1395,7 +1395,6 @@ jQuery(document).ready(function ($) {
1395
  *
1396
  * @since 2.8.4
1397
  */
1398
-
1399
  $('body').on('mouseenter', '.tooltip:not(.tooltipstered)', function () {
1400
  $(this).tooltipster({
1401
  delay: 100,
@@ -1556,9 +1555,12 @@ jQuery(document).ready(function ($) {
1556
  var almActivating = false;
1557
  $(document).on('click', '.license-btn', function (e) {
1558
  e.preventDefault();
 
1559
  if (!almActivating) {
 
1560
  $('.license-btn-wrap .msg').remove();
1561
  almActivating = true;
 
1562
  var el = $(this),
1563
  wrap = el.closest('.license-btn-wrap'),
1564
  parent = el.closest('.license'),
@@ -1600,12 +1602,15 @@ jQuery(document).ready(function ($) {
1600
  $('.license-key-field .status', parent).addClass('active').removeClass('inactive').text(alm_admin_localize.active);
1601
  $('.license-title .status', parent).addClass('valid').removeClass('invalid');
1602
  $('.activate.license-btn', parent).addClass('hide');
 
1603
  $('.deactivate.license-btn', parent).removeClass('hide');
 
1604
  $('.no-license', parent).slideUp(200);
1605
  } else {
1606
  $('.license-key-field .status', parent).removeClass('active').addClass('inactive').text(alm_admin_localize.inactive);
1607
  $('.license-title .status', parent).removeClass('valid').addClass('invalid');
1608
  $('.activate.license-btn', parent).removeClass('hide');
 
1609
  $('.deactivate.license-btn', parent).addClass('hide');
1610
  $('.no-license', parent).slideDown(200);
1611
  }
@@ -1613,6 +1618,7 @@ jQuery(document).ready(function ($) {
1613
  $('.loading', parent).delay(250).fadeOut(300);
1614
  almActivating = false;
1615
  },
 
1616
  error: function error(xhr, status, _error2) {
1617
  console.log(status);
1618
  $('.loading', parent).delay(250).fadeOut(300);
@@ -1690,7 +1696,8 @@ jQuery(document).ready(function ($) {
1690
  $(document).on('click', '.alm-notification--dismiss', function (e) {
1691
  e.preventDefault();
1692
  var el = $(this),
1693
- container = el.parent('.group');
 
1694
  // Get value from Ajax
1695
  $.ajax({
1696
  type: 'POST',
1395
  *
1396
  * @since 2.8.4
1397
  */
 
1398
  $('body').on('mouseenter', '.tooltip:not(.tooltipstered)', function () {
1399
  $(this).tooltipster({
1400
  delay: 100,
1555
  var almActivating = false;
1556
  $(document).on('click', '.license-btn', function (e) {
1557
  e.preventDefault();
1558
+
1559
  if (!almActivating) {
1560
+
1561
  $('.license-btn-wrap .msg').remove();
1562
  almActivating = true;
1563
+
1564
  var el = $(this),
1565
  wrap = el.closest('.license-btn-wrap'),
1566
  parent = el.closest('.license'),
1602
  $('.license-key-field .status', parent).addClass('active').removeClass('inactive').text(alm_admin_localize.active);
1603
  $('.license-title .status', parent).addClass('valid').removeClass('invalid');
1604
  $('.activate.license-btn', parent).addClass('hide');
1605
+ $('.check-licence.license-btn', parent).addClass('hide');
1606
  $('.deactivate.license-btn', parent).removeClass('hide');
1607
+ $('.renew-btn', parent).addClass('hide');
1608
  $('.no-license', parent).slideUp(200);
1609
  } else {
1610
  $('.license-key-field .status', parent).removeClass('active').addClass('inactive').text(alm_admin_localize.inactive);
1611
  $('.license-title .status', parent).removeClass('valid').addClass('invalid');
1612
  $('.activate.license-btn', parent).removeClass('hide');
1613
+ $('.check-licence.license-btn', parent).addClass('hide');
1614
  $('.deactivate.license-btn', parent).addClass('hide');
1615
  $('.no-license', parent).slideDown(200);
1616
  }
1618
  $('.loading', parent).delay(250).fadeOut(300);
1619
  almActivating = false;
1620
  },
1621
+
1622
  error: function error(xhr, status, _error2) {
1623
  console.log(status);
1624
  $('.loading', parent).delay(250).fadeOut(300);
1696
  $(document).on('click', '.alm-notification--dismiss', function (e) {
1697
  e.preventDefault();
1698
  var el = $(this),
1699
+ container = el.parent('.cta');
1700
+
1701
  // Get value from Ajax
1702
  $.ajax({
1703
  type: 'POST',
admin/includes/cta/sharing.php CHANGED
@@ -1,25 +1,26 @@
1
- <?php
2
- $alm_share_notification = get_transient( 'alm_dismiss_sharing');
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">
11
- <li class="twitter">
12
- <a target="blank" title="Share on Twitter" href="//twitter.com/home?status=I'm infinite scrolling with Ajax Load More for %23WordPress - https://connekthq.com/plugins/ajax-load-more/" class="share-twitter"><i class="fa fa-twitter"></i> Twitter</a>
13
- </li>
14
- <li class="facebook">
15
- <a target="blank" title="Share on Facebook" href="//facebook.com/share.php?u=https://connekthq.com/plugins/ajax-load-more/" class="share-facebook"><i class="fa fa-facebook"></i> Facebook</a>
16
- </li>
17
- <li class="review">
18
- <a target="blank" title="Leave a Review" href="//wordpress.org/support/plugin/ajax-load-more/reviews/" class="share-review"><i class="fa fa-pencil"></i> Leave Review</a>
19
- </li>
20
- </ul>
21
- <div class="clear"></div>
22
- <a href="javascript: void(0);" class="dismiss alm-notification--dismiss" id="alm_dismiss_sharing" title="<?php _e('Don\'t show me this again!', 'ajax-load-more');?>">&times;</a>
23
-
24
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  <?php } ?>
1
+ <?php
2
+ //delete_transient( 'alm_dismiss_sharing');
3
+ $alm_share_notification = get_transient( 'alm_dismiss_sharing');
4
+ if(!isset($alm_share_notification) || empty($alm_share_notification)){ // If transient has not been set - display this notice. ?>
5
+ <div class="cta alm-notification">
6
+ <!-- <h3>Thank you for installing Ajax Load More</h3> -->
7
+ <div class="cta-inner alm-text-center">
8
+ <p class="opener">👋 <strong>Thank you for using Ajax Load More!</strong></p>
9
+ <p>It would mean the world to me if you would consider sharing Ajax Load More with your social media networks or leaving a <a target="blank" href="//wordpress.org/support/plugin/ajax-load-more/reviews/">plugin review</a> on the WordPress forums.</p>
10
+ <p>All reviews(good or bad) are important as they help the plugin grow and improve over time.</p>
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  </div>
12
+ <ul class="share">
13
+ <li class="twitter">
14
+ <a target="blank" title="Share on Twitter" href="//twitter.com/home?status=I'm infinite scrolling with Ajax Load More for %23WordPress - https://connekthq.com/plugins/ajax-load-more/" class="share-twitter" style="background-color: rgba(0, 0, 0, 0.15);"><i class="fa fa-twitter"></i><span class="offscreens"><?php _e('Twitter', 'ajax-load-more'); ?></span></a>
15
+ </li>
16
+ <li class="facebook">
17
+ <a target="blank" title="Share on Facebook" style="background-color: rgba(0, 0, 0, 0.075);" href="//facebook.com/share.php?u=https://connekthq.com/plugins/ajax-load-more/" class="share-facebook"><i class="fa fa-facebook"></i> <span class="offscreens"><?php _e('Facebook', 'ajax-load-more'); ?></span></a>
18
+ </li>
19
+ <li class="review">
20
+ <a target="blank" title="Leave a Review" href="//wordpress.org/support/plugin/ajax-load-more/reviews/" class="share-review"><i class="fa fa-pencil"></i><span class="offscreens"><?php _e('Review', 'ajax-load-more'); ?></span></a>
21
+ </li>
22
+ </ul>
23
+ <div class="clear"></div>
24
+ <a href="javascript: void(0);" class="dismiss alm-notification--dismiss" id="alm_dismiss_sharing" title="<?php _e('Don\'t show me this again!', 'ajax-load-more');?>">&times;</a>
25
+ </div>
26
  <?php } ?>
admin/shortcode-builder/components/acf.php CHANGED
@@ -21,54 +21,53 @@
21
  </div>
22
  <div class="clear"></div>
23
 
24
- <div class="acf-options">
25
-
26
- <div class="clear"></div>
27
- <hr>
28
- <div class="section-title">
29
- <h4><?php _e('Post ID', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Leave this field blank and Ajax Load More will retrieve the ID from the global $post object','ajax-load-more'); ?>."></a></h4>
30
- <p><?php _e('The ID of the current page/post.', 'ajax-load-more'); ?></p>
31
- </div>
32
- <div class="wrap">
33
- <div class="inner">
34
- <input type="text" value="" id="acf_post_id" class="alm_element numbers-only">
35
- </div>
36
- </div>
37
-
38
- <div class="clear"></div>
39
- <hr/>
40
-
41
- <div class="section-title">
42
- <h4><?php _e('Field Type', 'ajax-load-more'); ?></h4>
43
- <p><?php _e('Select the type of ACF field', 'ajax-load-more'); ?>.</p>
44
- </div>
45
- <div class="wrap">
46
- <div class="inner">
47
- <label class="offscreen" for="acf_field_type"><?php _e('Field Type', 'ajax-load-more'); ?>:</label>
48
- <select class="alm_element" name="acf_field_type" id="acf_field_type">
49
- <option value="" selected="selected">-- <?php _e('Select Field Type', 'ajax-load-more'); ?> --</option>
50
- <option value="flexible"><?php _e('Flexible Content', 'ajax-load-more'); ?></option>
51
- <option value="gallery"><?php _e('Gallery', 'ajax-load-more'); ?></option>
52
- <option value="relationship"><?php _e('Relationship', 'ajax-load-more'); ?></option>
53
- <option value="repeater"><?php _e('Repeater', 'ajax-load-more'); ?></option>
54
- </select>
55
- </div>
56
- </div>
57
-
58
- <div class="clear"></div>
59
- <hr/>
60
-
61
- <div class="section-title">
62
- <h4><?php _e('Field Name', 'ajax-load-more'); ?></h4>
63
- <p><?php _e('Enter the name of the ACF field', 'ajax-load-more'); ?>.</p>
64
- </div>
65
- <div class="wrap">
66
- <div class="inner">
67
- <label class="offscreen" for="acf_field_name"><?php _e('Field Type', 'ajax-load-more'); ?>:</label>
68
- <input type="text" class="alm_element" name="acf_field_name" id="acf_field_name" placeholder="{your_field_name}">
69
- </div>
70
- </div>
71
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
  </div>
73
  </div>
74
  </div>
21
  </div>
22
  <div class="clear"></div>
23
 
24
+ <div class="acf-options nested-component">
25
+ <div class="nested-component--inner">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
 
27
+ <div class="section-title">
28
+ <h4><?php _e('Post ID', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Leave this field blank and Ajax Load More will retrieve the ID from the global $post object','ajax-load-more'); ?>."></a></h4>
29
+ <p><?php _e('The ID of the current page/post.', 'ajax-load-more'); ?></p>
30
+ </div>
31
+ <div class="wrap">
32
+ <div class="inner">
33
+ <input type="text" value="" id="acf_post_id" class="alm_element numbers-only">
34
+ </div>
35
+ </div>
36
+
37
+ <div class="clear"></div>
38
+ <hr/>
39
+
40
+ <div class="section-title">
41
+ <h4><?php _e('Field Type', 'ajax-load-more'); ?></h4>
42
+ <p><?php _e('Select the type of ACF field', 'ajax-load-more'); ?>.</p>
43
+ </div>
44
+ <div class="wrap">
45
+ <div class="inner">
46
+ <label class="offscreen" for="acf_field_type"><?php _e('Field Type', 'ajax-load-more'); ?>:</label>
47
+ <select class="alm_element" name="acf_field_type" id="acf_field_type">
48
+ <option value="" selected="selected">-- <?php _e('Select Field Type', 'ajax-load-more'); ?> --</option>
49
+ <option value="flexible"><?php _e('Flexible Content', 'ajax-load-more'); ?></option>
50
+ <option value="gallery"><?php _e('Gallery', 'ajax-load-more'); ?></option>
51
+ <option value="relationship"><?php _e('Relationship', 'ajax-load-more'); ?></option>
52
+ <option value="repeater"><?php _e('Repeater', 'ajax-load-more'); ?></option>
53
+ </select>
54
+ </div>
55
+ </div>
56
+
57
+ <div class="clear"></div>
58
+ <hr/>
59
+
60
+ <div class="section-title">
61
+ <h4><?php _e('Field Name', 'ajax-load-more'); ?></h4>
62
+ <p><?php _e('Enter the name of the ACF field', 'ajax-load-more'); ?>.</p>
63
+ </div>
64
+ <div class="wrap">
65
+ <div class="inner">
66
+ <label class="offscreen" for="acf_field_name"><?php _e('Field Type', 'ajax-load-more'); ?>:</label>
67
+ <input type="text" class="alm_element" name="acf_field_name" id="acf_field_name" placeholder="{your_field_name}">
68
+ </div>
69
+ </div>
70
+ </div>
71
  </div>
72
  </div>
73
  </div>
admin/shortcode-builder/components/cache.php CHANGED
@@ -20,20 +20,20 @@
20
  </div>
21
  </div>
22
  <div class="clear"></div>
23
- <div class="cache_id">
24
- <div class="clear"></div>
25
- <hr>
26
- <div class="section-title">
27
- <h4><?php _e('Cache ID', 'ajax-load-more'); ?></h4>
28
- <p><?php _e('You <u>must</u> generate a unique ID for this cached query - this unique ID will be used as a content identifier.', 'ajax-load-more'); ?></p>
29
- </div>
30
- <div class="wrap">
31
- <div class="inner">
32
- <input type="text" class="alm_element" name="cache-id" id="cache-id">
33
- <div class="clear"></div>
34
- <p class="generate-id"><a href="javascript:void(0);" data-id="cache-id"><i class="fa fa-random"></i> <?php _e('Generate Cache ID', 'ajax-load-more'); ?></a></p>
35
- </div>
36
- </div>
37
  </div>
38
  </div>
39
  </div>
20
  </div>
21
  </div>
22
  <div class="clear"></div>
23
+ <div class="cache_id nested-component">
24
+ <div class="nested-component--inner">
25
+ <div class="section-title">
26
+ <h4><?php _e('Cache ID', 'ajax-load-more'); ?></h4>
27
+ <p><?php _e('You <u>must</u> generate a unique ID for this cached query - this unique ID will be used as a content identifier.', 'ajax-load-more'); ?></p>
28
+ </div>
29
+ <div class="wrap">
30
+ <div class="inner">
31
+ <input type="text" class="alm_element" name="cache-id" id="cache-id">
32
+ <div class="clear"></div>
33
+ <p class="generate-id"><a href="javascript:void(0);" data-id="cache-id"><i class="fa fa-random"></i> <?php _e('Generate Cache ID', 'ajax-load-more'); ?></a></p>
34
+ </div>
35
+ </div>
36
+ </div>
37
  </div>
38
  </div>
39
  </div>
admin/shortcode-builder/components/comments.php CHANGED
@@ -20,130 +20,129 @@
20
  </div>
21
  </div>
22
  <div class="clear"></div>
23
- <div class="comments_extras">
24
-
25
- <div class="clear"></div>
26
- <hr>
27
- <div class="section-title">
28
- <h4><?php _e('Post ID', 'ajax-load-more'); ?></h4>
29
- <p><?php _e('The ID of the current single post.', 'ajax-load-more'); ?></p>
30
- </div>
31
- <div class="wrap">
32
- <div class="inner">
33
- <input type="text" value="get_the_ID()" id="comments_post_id" class="alm_element disabled-input" disabled="disabled">
34
- </div>
35
- </div>
36
-
37
- <div class="clear"></div>
38
- <hr>
39
- <div class="section-title">
40
- <h4><?php _e('Comments Per Page', 'ajax-load-more'); ?></h4>
41
- <p><?php _e('The number of top level items to show for each page of comments.', 'ajax-load-more'); ?></p>
42
- </div>
43
- <div class="wrap">
44
- <div class="inner">
45
- <input type="number" class="alm_element numbers-only" name="comments-per-page" id="comments-per-page" step="1" min="1" value="5">
46
- </div>
47
- </div>
48
- <div class="section-title full">
49
- <p><?php _e('<strong>Note</strong>: The amount selected does NOT include comment replies.', 'ajax-load-more'); ?></p>
50
- </div>
51
-
52
- <div class="clear"></div>
53
- <hr>
54
- <div class="section-title">
55
- <h4><?php _e('Comment Type', 'ajax-load-more'); ?></h4>
56
- <p><?php _e('The type of comment(s) to display.', 'ajax-load-more'); ?></p>
57
- </div>
58
- <div class="wrap">
59
- <div class="inner">
60
- <select class="alm_element comments_type" id="comments_type">
61
- <option value="comment" selected="selected"><?php _e('Comment', 'ajax-load-more'); ?></option>
62
- <option value="all"><?php _e('All', 'ajax-load-more'); ?></option>
63
- <option value="trackback"><?php _e('Trackback', 'ajax-load-more'); ?></option>
64
- <option value="pingback"><?php _e('Pingback', 'ajax-load-more'); ?></option>
65
- <option value="pings"><?php _e('Pings', 'ajax-load-more'); ?></option>
66
- </select>
67
- </div>
68
- </div>
69
-
70
- <div class="clear"></div>
71
- <hr>
72
- <div class="section-title">
73
- <h4><?php _e('Comment Style', 'ajax-load-more'); ?></h4>
74
- <p><?php _e('Select the HTML container style for your comments.', 'ajax-load-more'); ?></p>
75
- </div>
76
- <div class="wrap">
77
- <div class="inner">
78
- <ul class="comment_container_type">
79
- <li>
80
- <input type="radio" id="comment-type-ol" value="ol" name="alm_comment_style" class="alm_element" checked="checked">
81
- <label for="comment-type-ol">&lt;ol&gt; &lt;/ol&gt;</label>
82
- </li>
83
- <li>
84
- <input type="radio" id="comment-type-ul" value="ul" name="alm_comment_style" class="alm_element">
85
- <label for="comment-type-ul">&lt;ul&gt; &lt;/ul&gt;</label>
86
- </li>
87
- <li>
88
- <input type="radio" id="comment-type-div" value="div" name="alm_comment_style" class="alm_element">
89
- <label for="comment-type-div">&lt;div&gt; &lt;/div&gt;</label>
90
- </li>
91
- </ul>
92
- </div>
93
- </div>
94
-
95
- <div class="clear"></div>
96
- <hr>
97
-
98
- <div class="section-title">
99
- <h4><?php _e('Comment Template', 'ajax-load-more'); ?></h4>
100
- <p><?php _e('Select a repeater template that will display comment data.', 'ajax-load-more'); ?></p>
101
- </div>
102
-
103
- <div class="wrap">
104
- <div class="inner">
105
- <select class="alm_element comments_template" id="comments_template">
106
- <option value="none" selected="selected"><?php _e('None', 'ajax-load-more'); ?></option>
107
- <option name="default" id="chk-default" value="default"><?php _e('Default', 'ajax-load-more'); ?></option>
108
- <?php if (has_action('alm_get_custom_repeaters')) {
109
- do_action('alm_get_custom_repeaters');
110
- }
111
- if (has_action('alm_get_unlimited_repeaters')) {
112
- do_action('alm_get_unlimited_repeaters');
113
- }
114
- ?>
115
- </select>
116
- </div>
117
- </div>
118
- <div class="section-title full">
119
- <p><?php _e('<strong>Note</strong>: <span>None</span> will use the default WordPress comment layout.', 'ajax-load-more'); ?></p>
120
- </div>
121
- <div class="spacer"></div>
122
- <div class="clear"></div>
123
- <div class="select-theme-repeater">
124
- <span class="or"><?php _e('or', 'ajax-load-more'); ?></span>
125
- <hr/>
126
- <div class="spacer"></div>
127
- <div class="section-title">
128
- <h4><?php _e('Callback Function', 'ajax-load-more'); ?></h4>
129
- <p><?php _e('A custom <a href="https://codex.wordpress.org/Function_Reference/wp_list_comments#Arguments" target="_blank">callback</a> function that will display each comment.', 'ajax-load-more'); ?></p>
130
- </div>
131
- <div class="wrap">
132
- <div class="inner">
133
- <input type="text" value="" placeholder="function_name" id="comments_callback" class="alm_element">
134
- </div>
135
- </div>
136
- <div class="section-title full">
137
- <p><?php _e('<strong>Note</strong>: The majority of premium themes have a custom callback function for displaying comments. Please see comments.php or functions.php within your theme directory to locate the callback function for your theme.', 'ajax-load-more'); ?></p>
138
- </div>
139
- </div>
140
-
141
- <div class="clear"></div>
142
- <hr>
143
- <p class="warning-callout">
144
- <?php _e('You must add the comments shortcode directly to your single template file using the <a href="https://developer.wordpress.org/reference/functions/do_shortcode/" target="_blank">do_shortcode</a> method.', 'ajax-load-more'); ?> <a class="button-small" href="https://connekthq.com/plugins/ajax-load-more/add-ons/comments/" target="_blank"><?php _e('View Docs', 'ajax-load-more'); ?></a>
145
- </p>
146
-
147
  </div>
148
  </div>
149
  </div>
20
  </div>
21
  </div>
22
  <div class="clear"></div>
23
+ <div class="comments_extras nested-component">
24
+ <div class="nested-component--inner">
25
+ <div class="section-title">
26
+ <h4><?php _e('Post ID', 'ajax-load-more'); ?></h4>
27
+ <p><?php _e('The ID of the current single post.', 'ajax-load-more'); ?></p>
28
+ </div>
29
+ <div class="wrap">
30
+ <div class="inner">
31
+ <input type="text" value="get_the_ID()" id="comments_post_id" class="alm_element disabled-input" disabled="disabled">
32
+ </div>
33
+ </div>
34
+
35
+ <div class="clear"></div>
36
+ <hr>
37
+ <div class="section-title">
38
+ <h4><?php _e('Comments Per Page', 'ajax-load-more'); ?></h4>
39
+ <p><?php _e('The number of top level items to show for each page of comments.', 'ajax-load-more'); ?></p>
40
+ </div>
41
+ <div class="wrap">
42
+ <div class="inner">
43
+ <input type="number" class="alm_element numbers-only" name="comments-per-page" id="comments-per-page" step="1" min="1" value="5">
44
+ </div>
45
+ </div>
46
+ <div class="section-title full">
47
+ <p><?php _e('<strong>Note</strong>: The amount selected does NOT include comment replies.', 'ajax-load-more'); ?></p>
48
+ </div>
49
+
50
+ <div class="clear"></div>
51
+ <hr>
52
+ <div class="section-title">
53
+ <h4><?php _e('Comment Type', 'ajax-load-more'); ?></h4>
54
+ <p><?php _e('The type of comment(s) to display.', 'ajax-load-more'); ?></p>
55
+ </div>
56
+ <div class="wrap">
57
+ <div class="inner">
58
+ <select class="alm_element comments_type" id="comments_type">
59
+ <option value="comment" selected="selected"><?php _e('Comment', 'ajax-load-more'); ?></option>
60
+ <option value="all"><?php _e('All', 'ajax-load-more'); ?></option>
61
+ <option value="trackback"><?php _e('Trackback', 'ajax-load-more'); ?></option>
62
+ <option value="pingback"><?php _e('Pingback', 'ajax-load-more'); ?></option>
63
+ <option value="pings"><?php _e('Pings', 'ajax-load-more'); ?></option>
64
+ </select>
65
+ </div>
66
+ </div>
67
+
68
+ <div class="clear"></div>
69
+ <hr>
70
+ <div class="section-title">
71
+ <h4><?php _e('Comment Style', 'ajax-load-more'); ?></h4>
72
+ <p><?php _e('Select the HTML container style for your comments.', 'ajax-load-more'); ?></p>
73
+ </div>
74
+ <div class="wrap">
75
+ <div class="inner">
76
+ <ul class="comment_container_type">
77
+ <li>
78
+ <input type="radio" id="comment-type-ol" value="ol" name="alm_comment_style" class="alm_element" checked="checked">
79
+ <label for="comment-type-ol">&lt;ol&gt; &lt;/ol&gt;</label>
80
+ </li>
81
+ <li>
82
+ <input type="radio" id="comment-type-ul" value="ul" name="alm_comment_style" class="alm_element">
83
+ <label for="comment-type-ul">&lt;ul&gt; &lt;/ul&gt;</label>
84
+ </li>
85
+ <li>
86
+ <input type="radio" id="comment-type-div" value="div" name="alm_comment_style" class="alm_element">
87
+ <label for="comment-type-div">&lt;div&gt; &lt;/div&gt;</label>
88
+ </li>
89
+ </ul>
90
+ </div>
91
+ </div>
92
+
93
+ <div class="clear"></div>
94
+ <hr>
95
+
96
+ <div class="section-title">
97
+ <h4><?php _e('Comment Template', 'ajax-load-more'); ?></h4>
98
+ <p><?php _e('Select a repeater template that will display comment data.', 'ajax-load-more'); ?></p>
99
+ </div>
100
+
101
+ <div class="wrap">
102
+ <div class="inner">
103
+ <select class="alm_element comments_template" id="comments_template">
104
+ <option value="none" selected="selected"><?php _e('None', 'ajax-load-more'); ?></option>
105
+ <option name="default" id="chk-default" value="default"><?php _e('Default', 'ajax-load-more'); ?></option>
106
+ <?php if (has_action('alm_get_custom_repeaters')) {
107
+ do_action('alm_get_custom_repeaters');
108
+ }
109
+ if (has_action('alm_get_unlimited_repeaters')) {
110
+ do_action('alm_get_unlimited_repeaters');
111
+ }
112
+ ?>
113
+ </select>
114
+ </div>
115
+ </div>
116
+ <div class="section-title full">
117
+ <p><?php _e('<strong>Note</strong>: <span>None</span> will use the default WordPress comment layout.', 'ajax-load-more'); ?></p>
118
+ </div>
119
+ <div class="spacer"></div>
120
+ <div class="clear"></div>
121
+ <div class="select-theme-repeater">
122
+ <span class="or"><?php _e('or', 'ajax-load-more'); ?></span>
123
+ <hr/>
124
+ <div class="spacer"></div>
125
+ <div class="section-title">
126
+ <h4><?php _e('Callback Function', 'ajax-load-more'); ?></h4>
127
+ <p><?php _e('A custom <a href="https://codex.wordpress.org/Function_Reference/wp_list_comments#Arguments" target="_blank">callback</a> function that will display each comment.', 'ajax-load-more'); ?></p>
128
+ </div>
129
+ <div class="wrap">
130
+ <div class="inner">
131
+ <input type="text" value="" placeholder="function_name" id="comments_callback" class="alm_element">
132
+ </div>
133
+ </div>
134
+ <div class="section-title full">
135
+ <p><?php _e('<strong>Note</strong>: The majority of premium themes have a custom callback function for displaying comments. Please see comments.php or functions.php within your theme directory to locate the callback function for your theme.', 'ajax-load-more'); ?></p>
136
+ </div>
137
+ </div>
138
+
139
+ <div class="clear"></div>
140
+ <hr>
141
+ <p class="warning-callout">
142
+ <?php _e('You must add the comments shortcode directly to your single template file using the <a href="https://developer.wordpress.org/reference/functions/do_shortcode/" target="_blank">do_shortcode</a> method.', 'ajax-load-more'); ?> <a class="button-small" href="https://connekthq.com/plugins/ajax-load-more/add-ons/comments/" target="_blank"><?php _e('View Docs', 'ajax-load-more'); ?></a>
143
+ </p>
144
+
145
+ </div>
 
146
  </div>
147
  </div>
148
  </div>
admin/shortcode-builder/components/cta.php CHANGED
@@ -22,71 +22,70 @@
22
  </div>
23
  <div class="clear"></div>
24
 
25
- <div class="cta_template_wrap">
 
26
 
27
- <hr/>
28
- <div class="spacer"></div>
29
-
30
- <div class="section-title">
31
- <h4><?php _e('CTA Positioning', 'ajax-load-more'); ?></h4>
32
- <p><?php _e('Insert call to action <strong><em id="sequence-update-before-after">before</em></strong> post #<strong><em id="sequence-update">1</em></strong>', 'ajax-load-more'); ?>.</p>
33
- </div>
34
- <div class="wrap">
35
- <div class="inner">
36
-
37
- <label class="full"><?php _e('Before / After', 'ajax-load-more'); ?>:</label>
38
- <select class="alm_element cta-before-after" name="cta-before-after" id="cta-before-after">
39
- <option value="before" selected="selected"><?php _e('Before', 'ajax-load-more'); ?></option>
40
- <option value="after"><?php _e('After', 'ajax-load-more'); ?></option>
41
- </select>
42
- <div class="clear"></div>
43
- <div class="spacer" style="height: 30px;"></div>
44
- <label class="full" for="cta-position"><?php _e('Post #', 'ajax-load-more'); ?>:</label>
45
- <input type="number" min="1" step="1" value="1" placeholder="1" id="cta-position" class="alm_element numbers-only" name="cta-position">
46
-
47
- </div>
48
- </div>
49
-
50
- <div class="clear"></div>
51
- <hr/>
52
- <div class="spacer"></div>
53
-
54
- <div class="section-title">
55
- <h4><?php _e('Template', 'ajax-load-more'); ?></h4>
56
- <?php
57
- echo '<p>'.__('Select the <a href="admin.php?page=ajax-load-more-repeaters" target="_parent">repeater template</a> that will display your call to action.', 'ajax-load-more'). '</p>';
58
- ?>
59
- </div>
60
- <div class="wrap">
61
- <div class="inner">
62
  <?php
63
- echo '<select name="cta-repeater-select" class="alm_element">';
64
- echo '<option name="" value="" selected="selected">'.__('-- Select Repeater --', 'ajax-load-more').'</option>';
65
- echo '<option name="default" value="default">Default</option>';
66
- if (has_action('alm_get_custom_repeaters')) {
67
- do_action('alm_get_custom_repeaters');
68
- }
69
- if (has_action('alm_get_unlimited_repeaters')) {
70
- do_action('alm_get_unlimited_repeaters');
71
- }
72
- echo '</select>';
73
- ?>
74
  </div>
75
- </div>
76
- <?php
77
- // Get Theme Repeaters
78
- if (has_action('alm_theme_repeaters_selection')){
79
- do_action('alm_theme_repeaters_selection');
80
- }
81
- ?>
82
-
83
- <div class="clear"></div>
84
- <hr>
85
- <p class="warning-callout">
86
- <?php _e('Call to actions do NOT count as a post within an Ajax Load More loop.', 'ajax-load-more'); ?><br/>
87
- <?php _e('For example, if you set <strong>posts_per_page="5"</strong> in your shortcode, 6 items will be displayed.', 'ajax-load-more'); ?>
88
- </p>
89
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
  </div>
91
 
92
  </div>
22
  </div>
23
  <div class="clear"></div>
24
 
25
+ <div class="cta_template_wrap nested-component">
26
+ <div class="nested-component--inner">
27
 
28
+ <div class="section-title">
29
+ <h4><?php _e('CTA Positioning', 'ajax-load-more'); ?></h4>
30
+ <p><?php _e('Insert call to action <strong><em id="sequence-update-before-after">before</em></strong> post #<strong><em id="sequence-update">1</em></strong>', 'ajax-load-more'); ?>.</p>
31
+ </div>
32
+ <div class="wrap">
33
+ <div class="inner">
34
+
35
+ <label class="full"><?php _e('Before / After', 'ajax-load-more'); ?>:</label>
36
+ <select class="alm_element cta-before-after" name="cta-before-after" id="cta-before-after">
37
+ <option value="before" selected="selected"><?php _e('Before', 'ajax-load-more'); ?></option>
38
+ <option value="after"><?php _e('After', 'ajax-load-more'); ?></option>
39
+ </select>
40
+ <div class="clear"></div>
41
+ <div class="spacer" style="height: 30px;"></div>
42
+ <label class="full" for="cta-position"><?php _e('Post #', 'ajax-load-more'); ?>:</label>
43
+ <input type="number" min="1" step="1" value="1" placeholder="1" id="cta-position" class="alm_element numbers-only" name="cta-position">
44
+
45
+ </div>
46
+ </div>
47
+
48
+ <div class="clear"></div>
49
+ <hr/>
50
+ <div class="spacer"></div>
51
+
52
+ <div class="section-title">
53
+ <h4><?php _e('Template', 'ajax-load-more'); ?></h4>
 
 
 
 
 
 
 
 
 
54
  <?php
55
+ echo '<p>'.__('Select the <a href="admin.php?page=ajax-load-more-repeaters" target="_parent">repeater template</a> that will display your call to action.', 'ajax-load-more'). '</p>';
56
+ ?>
 
 
 
 
 
 
 
 
 
57
  </div>
58
+ <div class="wrap">
59
+ <div class="inner">
60
+ <?php
61
+ echo '<select name="cta-repeater-select" class="alm_element">';
62
+ echo '<option name="" value="" selected="selected">'.__('-- Select Repeater --', 'ajax-load-more').'</option>';
63
+ echo '<option name="default" value="default">Default</option>';
64
+ if (has_action('alm_get_custom_repeaters')) {
65
+ do_action('alm_get_custom_repeaters');
66
+ }
67
+ if (has_action('alm_get_unlimited_repeaters')) {
68
+ do_action('alm_get_unlimited_repeaters');
69
+ }
70
+ echo '</select>';
71
+ ?>
72
+ </div>
73
+ </div>
74
+ <?php
75
+ // Get Theme Repeaters
76
+ if (has_action('alm_theme_repeaters_selection')){
77
+ do_action('alm_theme_repeaters_selection');
78
+ }
79
+ ?>
80
+
81
+ <div class="clear"></div>
82
+ <hr>
83
+ <p class="warning-callout">
84
+ <?php _e('Call to actions do NOT count as a post within an Ajax Load More loop.', 'ajax-load-more'); ?><br/>
85
+ <?php _e('For example, if you set <strong>posts_per_page="5"</strong> in your shortcode, 6 items will be displayed.', 'ajax-load-more'); ?>
86
+ </p>
87
+
88
+ </div>
89
  </div>
90
 
91
  </div>
admin/shortcode-builder/components/filters.php CHANGED
@@ -22,178 +22,177 @@
22
 
23
  <div class="clear"></div>
24
 
25
- <div class="filters_options">
26
-
27
- <div class="clear"></div>
28
- <hr>
29
-
30
- <div class="section-title">
31
- <h4><?php _e('Target', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('A target ID is not required but it is highly recommended to avoid issues with querystring parsing on page load.','ajax-load-more'); ?>"></a></h4>
32
- <p><?php _e('Connect Ajax Load More to a specific <a href="admin.php?page=ajax-load-more-filters">filter instance</a> by selecting the filter ID.', 'ajax-load-more'); ?></p>
33
- </div>
34
- <div class="wrap">
35
- <div class="inner">
36
- <?php
37
- if(class_exists('ALMFilters')){
38
- $current_filters = ALMFilters::alm_get_all_filters();
39
-
40
- if($current_filters){
41
- $count = 0;
42
- $return = '';
43
- foreach( $current_filters as $the_filter ) {
44
- if(!in_array($the_filter, array('alm_filters_license_key', 'alm_filters_license_status'))){
45
- $count++;
46
- $value = str_replace(ALM_FILTERS_PREFIX, '', $the_filter);
47
- $return .= '<option value="'. $value .'">'. $value .'</option>';
48
- }
49
- }
50
- if($count > 0){
51
- echo '<select class="alm_element" name="filters-id" id="filters-id">';
52
- echo '<option value="" selected="selected">'. __('-- Select Filter --', 'ajax-load-more') .'</option>';
53
- echo $return;
54
- echo '</select>';
55
- } else { ?>
56
- <p><?php _e('You don\'t have any filters! The first step is to create one', 'ajax-load-more'); ?>!</p>
57
- <?php
58
- }
59
-
60
- }
61
- }
62
- ?>
63
- </div>
64
- </div>
65
-
66
- <div class="clear"></div>
67
- <hr>
68
-
69
- <div class="section-title">
70
- <h4><?php _e('URLs', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Querystring URLs allow users to share deep links to filtered content.','ajax-load-more'); ?>"></a></h4>
71
- <p><?php _e('Update the browser querystring with active filters values.','ajax-load-more'); ?><br/><small>e.g. ?category=design&tag=mobile</small></p>
72
- </div>
73
- <div class="wrap">
74
- <div class="inner">
75
- <ul>
76
- <li>
77
- <input class="alm_element" type="radio" name="filters-url" value="true" id="filters-url-true" checked="checked">
78
- <label for="filters-url-true"><?php _e('True', 'ajax-load-more'); ?></label>
79
- </li>
80
- <li>
81
- <input class="alm_element" type="radio" name="filters-url" value="false" id="filters-url-false">
82
- <label for="filters-url-false"><?php _e('False', 'ajax-load-more'); ?></label>
83
- </li>
84
- </ul>
85
- </div>
86
- </div>
87
-
88
- <div class="clear"></div>
89
- <hr>
90
 
91
- <div class="section-title">
92
- <h4><?php _e('Paging Parameters', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Adding paging parameters will allow for deep linking to a paged filter.','ajax-load-more'); ?>"></a></h4>
93
- <p><?php _e('Add <span>?pg={x}</span> to the browser querystring as users load additional pages.', 'ajax-load-more'); ?></p>
94
- </div>
95
- <div class="wrap">
96
- <div class="inner">
97
- <ul>
98
- <li>
99
- <input class="alm_element" type="radio" name="filters-paging" value="true" id="filters-paging-true" checked="checked">
100
- <label for="filters-paging-true"><?php _e('True', 'ajax-load-more'); ?></label>
101
- </li>
102
- <li>
103
- <input class="alm_element" type="radio" name="filters-paging" value="false" id="filters-paging-false">
104
- <label for="filters-paging-false"><?php _e('False', 'ajax-load-more'); ?></label>
105
- </li>
106
- </ul>
107
- </div>
108
- </div>
109
-
110
- <div class="clear"></div>
111
- <hr>
112
-
113
- <div class="section-title">
114
- <h4><?php _e('Scroll', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('When a user filters a list they will be auto scrolled back to the top.','ajax-load-more'); ?>"></a></h4>
115
- <p><?php _e('Automatically scroll users to the top of list after a filter update.', 'ajax-load-more'); ?></p>
116
- </div>
117
- <div class="wrap">
118
- <div class="inner">
119
- <ul>
120
- <li>
121
- <input class="alm_element" type="radio" name="filters-scroll" value="true" id="filters-scroll-true">
122
- <label for="filters-scroll-true"><?php _e('True', 'ajax-load-more'); ?></label>
123
- </li>
124
- <li>
125
- <input class="alm_element" type="radio" name="filters-scroll" value="false" id="filters-scroll-false" checked="checked">
126
- <label for="filters-scroll-false"><?php _e('False', 'ajax-load-more'); ?></label>
127
- </li>
128
- </ul>
129
- </div>
130
- </div>
131
-
132
- <div class="clear"></div>
133
- <div id="filter-scrollTopOptions" style="display: none; overflow: hidden;">
134
  <div class="clear"></div>
135
  <hr>
136
-
137
  <div class="section-title">
138
- <h4><?php _e('Scroll Top', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('The Scroll Top value is the pixel position the window will be scrolled to.','ajax-load-more'); ?>"></a></h4>
139
- <p><?php _e('The offset top position of the window used with `Paging Parameters` and `Scroll`.', 'ajax-load-more'); ?></p>
140
  </div>
141
  <div class="wrap">
142
  <div class="inner">
143
- <label for="filters-scrolltop" class="full">
144
- <?php _e('Scroll Top Value', 'ajax-load-more'); ?>
145
- </label>
146
- <input id="filters-scrolltop" name="filters-scrolltop" class="alm_element sm" type="number" min="0" max="1000" step="1" value="30" placeholder="30">
 
 
 
 
 
 
147
  </div>
148
  </div>
149
- </div>
150
-
151
- <div class="clear"></div>
152
- <hr>
153
-
154
- <div class="section-title">
155
- <h4><?php _e('Analytics', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Each time the filter is updated a pageview will be sent to Google Analytics.','ajax-load-more'); ?>"></a></h4>
156
- <p><?php _e('Send pageviews to Google Analytics.', 'ajax-load-more'); ?></p>
157
- </div>
158
- <div class="wrap">
159
- <div class="inner">
160
- <ul>
161
- <li>
162
- <input class="alm_element" type="radio" name="filters-analytics" value="true" id="filters-analytics-true" checked="checked">
163
- <label for="filters-analytics-true"><?php _e('True', 'ajax-load-more'); ?></label>
164
- </li>
165
- <li>
166
- <input class="alm_element" type="radio" name="filters-analytics" value="false" id="filters-analytics-false">
167
- <label for="filters-analytics-false"><?php _e('False', 'ajax-load-more'); ?></label>
168
- </li>
169
- </ul>
170
- </div>
171
- </div>
172
-
173
- <div class="clear"></div>
174
- <hr>
175
-
176
- <div class="section-title">
177
- <h4><?php _e('Debug Mode', 'ajax-load-more'); ?></h4>
178
- <p><?php _e('Enable debugging of the Ajax Load More filter object in the browser console.', 'ajax-load-more'); ?></p>
179
- </div>
180
- <div class="wrap">
181
- <div class="inner">
182
- <ul>
183
- <li>
184
- <input class="alm_element" type="radio" name="filters-debug" value="true" id="filters-debug-true">
185
- <label for="filters-debug-true"><?php _e('True', 'ajax-load-more'); ?></label>
186
- </li>
187
- <li>
188
- <input class="alm_element" type="radio" name="filters-debug" value="false" id="filters-debug-false" checked="checked">
189
- <label for="filters-debug-false"><?php _e('False', 'ajax-load-more'); ?></label>
190
- </li>
191
- </ul>
192
- </div>
193
- </div>
194
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
195
  </div>
196
-
197
  </div>
198
  </div>
199
  <?php } ?>
22
 
23
  <div class="clear"></div>
24
 
25
+ <div class="filters_options nested-component">
26
+ <div class="nested-component--inner">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
 
28
+ <div class="section-title">
29
+ <h4><?php _e('Target', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('A target ID is not required but it is highly recommended to avoid issues with querystring parsing on page load.','ajax-load-more'); ?>"></a></h4>
30
+ <p><?php _e('Connect Ajax Load More to a specific <a href="admin.php?page=ajax-load-more-filters">filter instance</a> by selecting the filter ID.', 'ajax-load-more'); ?></p>
31
+ </div>
32
+ <div class="wrap">
33
+ <div class="inner">
34
+ <?php
35
+ if(class_exists('ALMFilters')){
36
+ $current_filters = ALMFilters::alm_get_all_filters();
37
+
38
+ if($current_filters){
39
+ $count = 0;
40
+ $return = '';
41
+ foreach( $current_filters as $the_filter ) {
42
+ if(!in_array($the_filter, array('alm_filters_license_key', 'alm_filters_license_status'))){
43
+ $count++;
44
+ $value = str_replace(ALM_FILTERS_PREFIX, '', $the_filter);
45
+ $return .= '<option value="'. $value .'">'. $value .'</option>';
46
+ }
47
+ }
48
+ if($count > 0){
49
+ echo '<select class="alm_element" name="filters-id" id="filters-id">';
50
+ echo '<option value="" selected="selected">'. __('-- Select Filter --', 'ajax-load-more') .'</option>';
51
+ echo $return;
52
+ echo '</select>';
53
+ } else { ?>
54
+ <p><?php _e('You don\'t have any filters! The first step is to create one', 'ajax-load-more'); ?>!</p>
55
+ <?php
56
+ }
57
+
58
+ }
59
+ }
60
+ ?>
61
+ </div>
62
+ </div>
63
+
 
 
 
 
 
 
 
64
  <div class="clear"></div>
65
  <hr>
66
+
67
  <div class="section-title">
68
+ <h4><?php _e('URLs', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Querystring URLs allow users to share deep links to filtered content.','ajax-load-more'); ?>"></a></h4>
69
+ <p><?php _e('Update the browser querystring with active filters values.','ajax-load-more'); ?><br/><small>e.g. ?category=design&tag=mobile</small></p>
70
  </div>
71
  <div class="wrap">
72
  <div class="inner">
73
+ <ul>
74
+ <li>
75
+ <input class="alm_element" type="radio" name="filters-url" value="true" id="filters-url-true" checked="checked">
76
+ <label for="filters-url-true"><?php _e('True', 'ajax-load-more'); ?></label>
77
+ </li>
78
+ <li>
79
+ <input class="alm_element" type="radio" name="filters-url" value="false" id="filters-url-false">
80
+ <label for="filters-url-false"><?php _e('False', 'ajax-load-more'); ?></label>
81
+ </li>
82
+ </ul>
83
  </div>
84
  </div>
85
+
86
+ <div class="clear"></div>
87
+ <hr>
88
+
89
+ <div class="section-title">
90
+ <h4><?php _e('Paging Parameters', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Adding paging parameters will allow for deep linking to a paged filter.','ajax-load-more'); ?>"></a></h4>
91
+ <p><?php _e('Add <span>?pg={x}</span> to the browser querystring as users load additional pages.', 'ajax-load-more'); ?></p>
92
+ </div>
93
+ <div class="wrap">
94
+ <div class="inner">
95
+ <ul>
96
+ <li>
97
+ <input class="alm_element" type="radio" name="filters-paging" value="true" id="filters-paging-true" checked="checked">
98
+ <label for="filters-paging-true"><?php _e('True', 'ajax-load-more'); ?></label>
99
+ </li>
100
+ <li>
101
+ <input class="alm_element" type="radio" name="filters-paging" value="false" id="filters-paging-false">
102
+ <label for="filters-paging-false"><?php _e('False', 'ajax-load-more'); ?></label>
103
+ </li>
104
+ </ul>
105
+ </div>
106
+ </div>
107
+
108
+ <div class="clear"></div>
109
+ <hr>
110
+
111
+ <div class="section-title">
112
+ <h4><?php _e('Scroll', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('When a user filters a list they will be auto scrolled back to the top.','ajax-load-more'); ?>"></a></h4>
113
+ <p><?php _e('Automatically scroll users to the top of list after a filter update.', 'ajax-load-more'); ?></p>
114
+ </div>
115
+ <div class="wrap">
116
+ <div class="inner">
117
+ <ul>
118
+ <li>
119
+ <input class="alm_element" type="radio" name="filters-scroll" value="true" id="filters-scroll-true">
120
+ <label for="filters-scroll-true"><?php _e('True', 'ajax-load-more'); ?></label>
121
+ </li>
122
+ <li>
123
+ <input class="alm_element" type="radio" name="filters-scroll" value="false" id="filters-scroll-false" checked="checked">
124
+ <label for="filters-scroll-false"><?php _e('False', 'ajax-load-more'); ?></label>
125
+ </li>
126
+ </ul>
127
+ </div>
128
+ </div>
129
+
130
+ <div class="clear"></div>
131
+ <div id="filter-scrollTopOptions" style="display: none; overflow: hidden;">
132
+ <div class="clear"></div>
133
+ <hr>
134
+
135
+ <div class="section-title">
136
+ <h4><?php _e('Scroll Top', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('The Scroll Top value is the pixel position the window will be scrolled to.','ajax-load-more'); ?>"></a></h4>
137
+ <p><?php _e('The offset top position of the window used with `Paging Parameters` and `Scroll`.', 'ajax-load-more'); ?></p>
138
+ </div>
139
+ <div class="wrap">
140
+ <div class="inner">
141
+ <label for="filters-scrolltop" class="full">
142
+ <?php _e('Scroll Top Value', 'ajax-load-more'); ?>
143
+ </label>
144
+ <input id="filters-scrolltop" name="filters-scrolltop" class="alm_element sm" type="number" min="0" max="1000" step="1" value="30" placeholder="30">
145
+ </div>
146
+ </div>
147
+ </div>
148
+
149
+ <div class="clear"></div>
150
+ <hr>
151
+
152
+ <div class="section-title">
153
+ <h4><?php _e('Analytics', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Each time the filter is updated a pageview will be sent to Google Analytics.','ajax-load-more'); ?>"></a></h4>
154
+ <p><?php _e('Send pageviews to Google Analytics.', 'ajax-load-more'); ?></p>
155
+ </div>
156
+ <div class="wrap">
157
+ <div class="inner">
158
+ <ul>
159
+ <li>
160
+ <input class="alm_element" type="radio" name="filters-analytics" value="true" id="filters-analytics-true" checked="checked">
161
+ <label for="filters-analytics-true"><?php _e('True', 'ajax-load-more'); ?></label>
162
+ </li>
163
+ <li>
164
+ <input class="alm_element" type="radio" name="filters-analytics" value="false" id="filters-analytics-false">
165
+ <label for="filters-analytics-false"><?php _e('False', 'ajax-load-more'); ?></label>
166
+ </li>
167
+ </ul>
168
+ </div>
169
+ </div>
170
+
171
+ <div class="clear"></div>
172
+ <hr>
173
+
174
+ <div class="section-title">
175
+ <h4><?php _e('Debug Mode', 'ajax-load-more'); ?></h4>
176
+ <p><?php _e('Enable debugging of the Ajax Load More filter object in the browser console.', 'ajax-load-more'); ?></p>
177
+ </div>
178
+ <div class="wrap">
179
+ <div class="inner">
180
+ <ul>
181
+ <li>
182
+ <input class="alm_element" type="radio" name="filters-debug" value="true" id="filters-debug-true">
183
+ <label for="filters-debug-true"><?php _e('True', 'ajax-load-more'); ?></label>
184
+ </li>
185
+ <li>
186
+ <input class="alm_element" type="radio" name="filters-debug" value="false" id="filters-debug-false" checked="checked">
187
+ <label for="filters-debug-false"><?php _e('False', 'ajax-load-more'); ?></label>
188
+ </li>
189
+ </ul>
190
+ </div>
191
+ </div>
192
+
193
+ </div>
194
+
195
  </div>
 
196
  </div>
197
  </div>
198
  <?php } ?>
admin/shortcode-builder/components/nextpage.php CHANGED
@@ -22,94 +22,94 @@
22
 
23
  <div class="clear"></div>
24
 
25
- <div class="next-page-content" style="display: none;">
26
-
27
- <div class="clear"></div>
28
- <hr>
29
- <div class="section-title">
30
- <h4><?php _e('Post ID', 'ajax-load-more'); ?></h4>
31
- <p><?php _e('The ID of the current page/post.', 'ajax-load-more'); ?></p>
32
- </div>
33
- <div class="wrap">
34
- <div class="inner">
35
- <input type="text" value="get_the_ID()" id="next-page_post_id" class="alm_element disabled-input" disabled="disabled">
36
- </div>
37
- </div>
38
-
39
- <div class="clear"></div>
40
- <hr/>
41
-
42
- <div class="section-title">
43
- <h4><?php _e('URL Rewrite', 'ajax-load-more'); ?></h4>
44
- <p><?php _e('Update the browser address bar as pages come into view', 'ajax-load-more'); ?>.</p>
45
- </div>
46
- <div class="wrap">
47
- <div class="inner">
48
- <ul>
49
- <li style="width:100%;">
50
- <input class="alm_element" type="checkbox" name="next-page-url" id="next-page-url" value="true" checked="checked">
51
- <label for="next-page-url"><?php _e('Yes, update the URL', 'ajax-load-more'); ?>.</label>
52
- </li>
53
- </ul>
54
- <input type="checkbox" class="alm_element" name="next-page-url" id="next-page-url" checked="checked">
55
- </div>
56
- </div>
57
-
58
- <div class="clear"></div>
59
- <hr/>
60
-
61
- <div class="section-title">
62
- <h4>
63
- <?php _e('Google Analytics', 'ajax-load-more'); ?>
64
- <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('You must have a reference to your Google Analytics tracking code already on the page','ajax-load-more'); ?>."></a>
65
- </h4>
66
- <p><?php _e('Each time a page is loaded it will count as a pageview', 'ajax-load-more'); ?>.</p>
67
- </div>
68
- <div class="wrap">
69
- <div class="inner">
70
- <ul>
71
- <li style="width:100%;">
72
- <input class="alm_element" type="checkbox" name="next-page-pageviews" id="next-page-pageviews" value="true" checked="checked">
73
- <label for="next-page-pageviews"><?php _e('Yes, send pageviews to Google Analytics', 'ajax-load-more'); ?>.</label>
74
- </li>
75
- </ul>
76
- <input type="checkbox" class="alm_element" name="next-page-url" id="next-page-url" checked="checked">
77
- </div>
78
- </div>
79
-
80
- <div class="clear"></div>
81
- <hr>
82
- <div class="section-title">
83
- <h4><?php _e('Scroll to Page', 'ajax-load-more'); ?></h4>
84
- <p>
85
- <?php _e('Scroll users automatically to the next page on \'Load More\' action', 'ajax-load-more'); ?>.
86
- </p>
87
- </div>
88
- <div class="wrap">
89
- <div class="inner half">
90
- <label for="next-page-scroll" class="full"><?php _e('Enable Scrolling', 'ajax-load-more'); ?></label>
91
- <select class="alm_element" name="next-page-scroll" id="next-page-scroll">
92
- <option value="true" selected="selected"><?php _e('True', 'ajax-load-more'); ?></option>
93
- <option value="false"><?php _e('False', 'ajax-load-more'); ?></option>
94
- </select>
95
- </div>
96
- <div class="inner half">
97
- <label for="next-page-scroll-top" class="full">
98
- <?php _e('Scroll Top', 'ajax-load-more'); ?>
99
- <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('The scrolltop position of the window (used with scrolling and fwd/back browser buttons)','ajax-load-more'); ?>."></a>
100
- </label>
101
- <input id="next-page-scroll-top" name="next-page-scroll-top" class="alm_element sm" type="number" min="0" max="1000" step="1" value="30" placeholder="30">
102
- </div>
103
- </div>
104
-
105
- <div class="clear"></div>
106
-
107
- <hr/>
108
-
109
- <p class="warning-callout">
110
- <?php _e('You must add the Next Page shortcode directly to your single template file using the <a href="https://developer.wordpress.org/reference/functions/do_shortcode/" target="_blank">do_shortcode</a> method.', 'ajax-load-more'); ?> <a class="button-small" href="https://connekthq.com/plugins/ajax-load-more/add-ons/next-page/" target="_blank"><?php _e('View Docs', 'ajax-load-more'); ?></a>
111
- </p>
112
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113
  </div>
114
  </div>
115
  </div>
22
 
23
  <div class="clear"></div>
24
 
25
+ <div class="next-page-content nested-component" style="display: none;">
26
+ <div class="nested-component--inner">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
 
28
+ <div class="section-title">
29
+ <h4><?php _e('Post ID', 'ajax-load-more'); ?></h4>
30
+ <p><?php _e('The ID of the current page/post.', 'ajax-load-more'); ?></p>
31
+ </div>
32
+ <div class="wrap">
33
+ <div class="inner">
34
+ <input type="text" value="get_the_ID()" id="next-page_post_id" class="alm_element disabled-input" disabled="disabled">
35
+ </div>
36
+ </div>
37
+
38
+ <div class="clear"></div>
39
+ <hr/>
40
+
41
+ <div class="section-title">
42
+ <h4><?php _e('URL Rewrite', 'ajax-load-more'); ?></h4>
43
+ <p><?php _e('Update the browser address bar as pages come into view', 'ajax-load-more'); ?>.</p>
44
+ </div>
45
+ <div class="wrap">
46
+ <div class="inner">
47
+ <ul>
48
+ <li style="width:100%;">
49
+ <input class="alm_element" type="checkbox" name="next-page-url" id="next-page-url" value="true" checked="checked">
50
+ <label for="next-page-url"><?php _e('Yes, update the URL', 'ajax-load-more'); ?>.</label>
51
+ </li>
52
+ </ul>
53
+ <input type="checkbox" class="alm_element" name="next-page-url" id="next-page-url" checked="checked">
54
+ </div>
55
+ </div>
56
+
57
+ <div class="clear"></div>
58
+ <hr/>
59
+
60
+ <div class="section-title">
61
+ <h4>
62
+ <?php _e('Google Analytics', 'ajax-load-more'); ?>
63
+ <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('You must have a reference to your Google Analytics tracking code already on the page','ajax-load-more'); ?>."></a>
64
+ </h4>
65
+ <p><?php _e('Each time a page is loaded it will count as a pageview', 'ajax-load-more'); ?>.</p>
66
+ </div>
67
+ <div class="wrap">
68
+ <div class="inner">
69
+ <ul>
70
+ <li style="width:100%;">
71
+ <input class="alm_element" type="checkbox" name="next-page-pageviews" id="next-page-pageviews" value="true" checked="checked">
72
+ <label for="next-page-pageviews"><?php _e('Yes, send pageviews to Google Analytics', 'ajax-load-more'); ?>.</label>
73
+ </li>
74
+ </ul>
75
+ <input type="checkbox" class="alm_element" name="next-page-url" id="next-page-url" checked="checked">
76
+ </div>
77
+ </div>
78
+
79
+ <div class="clear"></div>
80
+ <hr>
81
+
82
+ <div class="section-title">
83
+ <h4><?php _e('Scroll to Page', 'ajax-load-more'); ?></h4>
84
+ <p>
85
+ <?php _e('Scroll users automatically to the next page on \'Load More\' action', 'ajax-load-more'); ?>.
86
+ </p>
87
+ </div>
88
+ <div class="wrap">
89
+ <div class="inner half">
90
+ <label for="next-page-scroll" class="full"><?php _e('Enable Scrolling', 'ajax-load-more'); ?></label>
91
+ <select class="alm_element" name="next-page-scroll" id="next-page-scroll">
92
+ <option value="true" selected="selected"><?php _e('True', 'ajax-load-more'); ?></option>
93
+ <option value="false"><?php _e('False', 'ajax-load-more'); ?></option>
94
+ </select>
95
+ </div>
96
+ <div class="inner half">
97
+ <label for="next-page-scroll-top" class="full">
98
+ <?php _e('Scroll Top', 'ajax-load-more'); ?>
99
+ <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('The scrolltop position of the window (used with scrolling and fwd/back browser buttons)','ajax-load-more'); ?>."></a>
100
+ </label>
101
+ <input id="next-page-scroll-top" name="next-page-scroll-top" class="alm_element sm" type="number" min="0" max="1000" step="1" value="30" placeholder="30">
102
+ </div>
103
+ </div>
104
+
105
+ <div class="clear"></div>
106
+ <hr/>
107
+
108
+ <p class="warning-callout">
109
+ <?php _e('You must add the Next Page shortcode directly to your single template file using the <a href="https://developer.wordpress.org/reference/functions/do_shortcode/" target="_blank">do_shortcode</a> method.', 'ajax-load-more'); ?> <a class="button-small" href="https://connekthq.com/plugins/ajax-load-more/add-ons/next-page/" target="_blank"><?php _e('View Docs', 'ajax-load-more'); ?></a>
110
+ </p>
111
+ </div>
112
+
113
  </div>
114
  </div>
115
  </div>
admin/shortcode-builder/components/paging.php CHANGED
@@ -22,114 +22,113 @@
22
 
23
  <div class="clear"></div>
24
 
25
- <div id="nav-controls">
26
-
27
- <hr/>
28
- <div class="section-title">
29
- <h4><?php _e('Navigation Classes', 'ajax-load-more'); ?></h4>
30
- <p><?php _e('Add custom CSS classes to the paging navigation menu.', 'ajax-load-more'); ?></p>
31
- </div>
32
- <div class="wrap">
33
- <div class="inner">
34
- <input type="text" class="alm_element" name="paging-classes" id="paging-classes" placeholder="portfolio-paging-menu">
35
- </div>
36
- </div>
37
-
38
- <div class="clear"></div>
39
- <hr/>
40
- <div class="section-title">
41
- <h4><?php _e('Show at Most', 'ajax-load-more'); ?></h4>
42
- <p><?php _e('The maximum amount of page menu items to show at a time. <br/.>0 = no maximum', 'ajax-load-more'); ?></p>
43
- </div>
44
- <div class="wrap">
45
- <div class="inner">
46
- <input type="number" class="alm_element numbers-only" name="show-at-most" id="show-at-most" step="2" min="0" value="7">
47
- </div>
48
- </div>
49
-
50
- <div class="clear"></div>
51
- <hr/>
52
- <div class="section-title">
53
- <h4><?php _e('Controls', 'ajax-load-more'); ?></h4>
54
- <p><?php _e('Show first/last and next/previous buttons in the paging navigation.', 'ajax-load-more'); ?></p>
55
- </div>
56
- <div class="wrap">
57
- <div class="inner">
58
- <ul>
59
- <li>
60
- <input class="alm_element" type="radio" name="paging-controls" value="true" id="paging-controls-true" >
61
- <label for="paging-controls-true"><?php _e('True', 'ajax-load-more'); ?></label>
62
- </li>
63
- <li>
64
- <input class="alm_element" type="radio" name="paging-controls" value="false" id="paging-controls-false" checked="checked">
65
- <label for="paging-controls-false"><?php _e('False', 'ajax-load-more'); ?></label>
66
- </li>
67
- </ul>
68
- </div>
69
- </div>
70
- <div class="clear"></div>
71
- <div id="paging-controls-nav">
72
-
73
- <div class="clear"></div>
74
- <hr/>
75
- <div class="section-title">
76
- <h4><?php _e('First Page', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Leave empty to not render button.', 'ajax-load-more'); ?>"></a></h4>
77
- <p>
78
- <?php _e('Label for the <span>First Page</span> button.', 'ajax-load-more'); ?>
79
- </p>
80
- </div>
81
- <div class="wrap">
82
- <div class="inner">
83
- <input type="text" class="alm_element" name="paging-first-label" id="paging-first-label" placeholder="First">
84
- </div>
85
- </div>
86
-
87
- <div class="clear"></div>
88
- <hr/>
89
- <div class="section-title">
90
- <h4><?php _e('Last Page', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Leave empty to not render button.', 'ajax-load-more'); ?>"></a></h4>
91
- <p>
92
- <?php _e('Label for the <span>Last Page</span> button.', 'ajax-load-more'); ?>
93
- </p>
94
- </div>
95
- <div class="wrap">
96
- <div class="inner">
97
- <input type="text" class="alm_element" name="paging-last-label" id="paging-last-label" placeholder="Last">
98
- </div>
99
- </div>
100
-
101
- <div class="clear"></div>
102
- <hr/>
103
- <div class="section-title">
104
- <h4><?php _e('Previous Page', 'ajax-load-more'); ?></h4>
105
- <p>
106
- <?php _e('Label for the <span>Previous Page</span> button.', 'ajax-load-more'); ?>
107
- </p>
108
- </div>
109
- <div class="wrap">
110
- <div class="inner">
111
- <input type="text" class="alm_element" name="paging-previous-label" id="paging-previous-label" value="Prev" placeholder="Prev">
112
- </div>
113
- </div>
114
-
115
- <div class="clear"></div>
116
- <hr/>
117
- <div class="section-title">
118
- <h4><?php _e('Next Page', 'ajax-load-more'); ?></h4>
119
- <p>
120
- <?php _e('Label for the <span>Next Page</span> button.', 'ajax-load-more'); ?>
121
- </p>
122
- </div>
123
- <div class="wrap">
124
- <div class="inner">
125
- <input type="text" class="alm_element" name="paging-next-label" id="paging-next-label" value="Next" placeholder="Next">
126
- </div>
127
- </div>
128
-
129
- </div>
130
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
131
  </div>
132
-
133
  </div>
134
  </div>
135
  <?php } ?>
22
 
23
  <div class="clear"></div>
24
 
25
+ <div id="nav-controls" class="nested-component">
26
+ <div class="nested-component--inner">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
 
28
+ <div class="section-title">
29
+ <h4><?php _e('Navigation Classes', 'ajax-load-more'); ?></h4>
30
+ <p><?php _e('Add custom CSS classes to the paging navigation menu.', 'ajax-load-more'); ?></p>
31
+ </div>
32
+ <div class="wrap">
33
+ <div class="inner">
34
+ <input type="text" class="alm_element" name="paging-classes" id="paging-classes" placeholder="portfolio-paging-menu">
35
+ </div>
36
+ </div>
37
+
38
+ <div class="clear"></div>
39
+ <hr/>
40
+ <div class="section-title">
41
+ <h4><?php _e('Show at Most', 'ajax-load-more'); ?></h4>
42
+ <p><?php _e('The maximum amount of page menu items to show at a time. <br/.>0 = no maximum', 'ajax-load-more'); ?></p>
43
+ </div>
44
+ <div class="wrap">
45
+ <div class="inner">
46
+ <input type="number" class="alm_element numbers-only" name="show-at-most" id="show-at-most" step="2" min="0" value="7">
47
+ </div>
48
+ </div>
49
+
50
+ <div class="clear"></div>
51
+ <hr/>
52
+ <div class="section-title">
53
+ <h4><?php _e('Controls', 'ajax-load-more'); ?></h4>
54
+ <p><?php _e('Show first/last and next/previous buttons in the paging navigation.', 'ajax-load-more'); ?></p>
55
+ </div>
56
+ <div class="wrap">
57
+ <div class="inner">
58
+ <ul>
59
+ <li>
60
+ <input class="alm_element" type="radio" name="paging-controls" value="true" id="paging-controls-true" >
61
+ <label for="paging-controls-true"><?php _e('True', 'ajax-load-more'); ?></label>
62
+ </li>
63
+ <li>
64
+ <input class="alm_element" type="radio" name="paging-controls" value="false" id="paging-controls-false" checked="checked">
65
+ <label for="paging-controls-false"><?php _e('False', 'ajax-load-more'); ?></label>
66
+ </li>
67
+ </ul>
68
+ </div>
69
+ </div>
70
+ <div class="clear"></div>
71
+ <div id="paging-controls-nav">
72
+
73
+ <div class="clear"></div>
74
+ <hr/>
75
+ <div class="section-title">
76
+ <h4><?php _e('First Page', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Leave empty to not render button.', 'ajax-load-more'); ?>"></a></h4>
77
+ <p>
78
+ <?php _e('Label for the <span>First Page</span> button.', 'ajax-load-more'); ?>
79
+ </p>
80
+ </div>
81
+ <div class="wrap">
82
+ <div class="inner">
83
+ <input type="text" class="alm_element" name="paging-first-label" id="paging-first-label" placeholder="First">
84
+ </div>
85
+ </div>
86
+
87
+ <div class="clear"></div>
88
+ <hr/>
89
+ <div class="section-title">
90
+ <h4><?php _e('Last Page', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Leave empty to not render button.', 'ajax-load-more'); ?>"></a></h4>
91
+ <p>
92
+ <?php _e('Label for the <span>Last Page</span> button.', 'ajax-load-more'); ?>
93
+ </p>
94
+ </div>
95
+ <div class="wrap">
96
+ <div class="inner">
97
+ <input type="text" class="alm_element" name="paging-last-label" id="paging-last-label" placeholder="Last">
98
+ </div>
99
+ </div>
100
+
101
+ <div class="clear"></div>
102
+ <hr/>
103
+ <div class="section-title">
104
+ <h4><?php _e('Previous Page', 'ajax-load-more'); ?></h4>
105
+ <p>
106
+ <?php _e('Label for the <span>Previous Page</span> button.', 'ajax-load-more'); ?>
107
+ </p>
108
+ </div>
109
+ <div class="wrap">
110
+ <div class="inner">
111
+ <input type="text" class="alm_element" name="paging-previous-label" id="paging-previous-label" value="Prev" placeholder="Prev">
112
+ </div>
113
+ </div>
114
+
115
+ <div class="clear"></div>
116
+ <hr/>
117
+ <div class="section-title">
118
+ <h4><?php _e('Next Page', 'ajax-load-more'); ?></h4>
119
+ <p>
120
+ <?php _e('Label for the <span>Next Page</span> button.', 'ajax-load-more'); ?>
121
+ </p>
122
+ </div>
123
+ <div class="wrap">
124
+ <div class="inner">
125
+ <input type="text" class="alm_element" name="paging-next-label" id="paging-next-label" value="Next" placeholder="Next">
126
+ </div>
127
+ </div>
128
+
129
+ </div>
130
+ </div>
131
  </div>
 
132
  </div>
133
  </div>
134
  <?php } ?>
admin/shortcode-builder/components/preloaded.php CHANGED
@@ -20,19 +20,21 @@
20
  </div>
21
  </div>
22
  <div class="clear"></div>
23
- <div class="preload_amount">
24
- <div class="clear"></div>
25
- <hr>
26
- <div class="section-title">
27
- <h4><?php _e('Preload Amount', 'ajax-load-more'); ?></h4>
28
- <p><?php _e('Enter the number of posts to preload.', 'ajax-load-more'); ?></p>
29
- </div>
30
- <div class="wrap">
31
- <div class="inner">
32
- <input type="number" class="alm_element numbers-only" name="preload-amount" id="preload-amount" step="1" min="1" value="5">
33
- </div>
34
- </div>
 
35
  </div>
 
36
  </div>
37
  </div>
38
  <?php } ?>
20
  </div>
21
  </div>
22
  <div class="clear"></div>
23
+
24
+ <div class="preload_amount nested-component">
25
+ <div class="nested-component--inner">
26
+ <div class="section-title">
27
+ <h4><?php _e('Preload Amount', 'ajax-load-more'); ?></h4>
28
+ <p><?php _e('Enter the number of posts to preload.', 'ajax-load-more'); ?></p>
29
+ </div>
30
+ <div class="wrap">
31
+ <div class="inner">
32
+ <input type="number" class="alm_element numbers-only" name="preload-amount" id="preload-amount" step="1" min="1" value="5">
33
+ </div>
34
+ </div>
35
+ </div>
36
  </div>
37
+
38
  </div>
39
  </div>
40
  <?php } ?>
admin/shortcode-builder/components/rest-api.php CHANGED
@@ -36,93 +36,92 @@
36
  </div>
37
 
38
  <div class="clear"></div>
39
- <div class="restapi_options">
40
-
41
- <div class="clear"></div>
42
- <hr>
43
-
44
- <div class="section-title">
45
- <h4><?php _e('Base URL', 'ajax-load-more'); ?>
46
- <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Set a default Base URL in the Ajax Load More settings panel','ajax-load-more'); ?>."></a></h4>
47
- <p><?php _e('Enter the base URL to your installation of the REST API.', 'ajax-load-more'); ?></p>
48
- </div>
49
- <div class="wrap">
50
- <div class="inner">
51
- <input type="text" id="rest-base" class="alm_element" name="rest-base" value="<?php echo $restapi_baseurl; ?>">
52
- </div>
53
- </div>
54
-
55
- <div class="clear"></div>
56
- <hr>
57
-
58
- <div class="section-title">
59
- <h4><?php _e('Namespace', 'ajax-load-more'); ?>
60
- <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Set a default Namespace in the Ajax Load More settings panel','ajax-load-more'); ?>."></a></h4>
61
- <p><?php _e('Enter the custom namespace for this Ajax Load More query.', 'ajax-load-more'); ?></p>
62
- </div>
63
- <div class="wrap">
64
- <div class="inner">
65
- <input type="text" id="rest-namespace" class="alm_element" name="rest-namespace" value="<?php echo $restapi_namespace; ?>">
66
- </div>
67
- </div>
68
-
69
- <div class="clear"></div>
70
- <hr>
71
-
72
- <div class="section-title">
73
- <h4><?php _e('Endpoint', 'ajax-load-more'); ?>
74
- <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Set a default Endpoint in the Ajax Load More settings panel','ajax-load-more'); ?>."></a></h4>
75
- <p><?php _e('Enter your custom endpoint for this Ajax Load More query.', 'ajax-load-more'); ?></p>
76
- </div>
77
- <div class="wrap">
78
- <div class="inner">
79
- <input type="text" id="rest-endpoint" class="alm_element" name="rest-endpoint" value="<?php echo $restapi_endpoint; ?>">
80
- </div>
81
- </div>
82
-
83
- <div class="clear"></div>
84
- <hr>
85
-
86
- <div class="section-title">
87
- <h4><?php _e('Template ID', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Ajax Load More references this ID while looping and displaying your data. You must still select a repeater template for this instance of Ajax Load More','ajax-load-more'); ?>">.</a></h4>
88
- <p><?php _e('Enter the ID of your javascript template.<br/><br/>e.g. <em>tmpl-alm-template</em> = <em>alm-template</em>', 'ajax-load-more'); ?><br/>&raquo; <a href="https://gist.github.com/dcooney/c89f5859b73256b36de4a0c3320d9b07" target="_blank"><?php _e('View Example', 'ajax-load-more'); ?></a></p>
89
- </div>
90
- <div class="wrap">
91
- <div class="inner">
92
- <input type="text" id="rest-template-id" class="alm_element" name="rest-template-id" value="">
93
- </div>
94
- </div>
95
-
96
- <div class="clear"></div>
97
- <hr>
98
-
99
- <div class="section-title">
100
- <h4><?php _e('Debug Mode', 'ajax-load-more'); ?></h4>
101
- <p><?php _e('Enable debugging (console.log) of REST API responses in the browser console. ', 'ajax-load-more'); ?></p>
102
- </div>
103
- <div class="wrap">
104
- <div class="inner">
105
- <ul>
106
- <li>
107
- <input class="alm_element" type="radio" name="rest-debug" value="true" id="rest-debug-true" >
108
- <label for="rest-debug-true"><?php _e('True', 'ajax-load-more'); ?></label>
109
- </li>
110
- <li>
111
- <input class="alm_element" type="radio" name="rest-debug" value="false" id="rest-debug-false" checked="checked">
112
- <label for="rest-debug-false"><?php _e('False', 'ajax-load-more'); ?></label>
113
- </li>
114
- </ul>
115
- </div>
116
- </div>
117
-
118
- <div class="clear"></div>
119
- <hr>
120
- <p class="warning-callout">
121
- <?php _e('Visit <a href="http://v2.wp-api.org/" target="_blank">http://v2.wp-api.org</a> for documentation on creating custom <a href="http://v2.wp-api.org/extending/adding/" target="_blank">Endpoints</a> for use with Ajax Load More.', 'ajax-load-more'); ?>
122
- </p>
123
-
124
  </div>
125
-
126
  </div>
127
  </div>
128
  <?php } ?>
36
  </div>
37
 
38
  <div class="clear"></div>
39
+ <div class="restapi_options nested-component">
40
+ <div class="nested-component--inner">
41
+
42
+ <div class="section-title">
43
+ <h4><?php _e('Base URL', 'ajax-load-more'); ?>
44
+ <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Set a default Base URL in the Ajax Load More settings panel','ajax-load-more'); ?>."></a></h4>
45
+ <p><?php _e('Enter the base URL to your installation of the REST API.', 'ajax-load-more'); ?></p>
46
+ </div>
47
+ <div class="wrap">
48
+ <div class="inner">
49
+ <input type="text" id="rest-base" class="alm_element" name="rest-base" value="<?php echo $restapi_baseurl; ?>">
50
+ </div>
51
+ </div>
52
+
53
+ <div class="clear"></div>
54
+ <hr>
55
+
56
+ <div class="section-title">
57
+ <h4><?php _e('Namespace', 'ajax-load-more'); ?>
58
+ <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Set a default Namespace in the Ajax Load More settings panel','ajax-load-more'); ?>."></a></h4>
59
+ <p><?php _e('Enter the custom namespace for this Ajax Load More query.', 'ajax-load-more'); ?></p>
60
+ </div>
61
+ <div class="wrap">
62
+ <div class="inner">
63
+ <input type="text" id="rest-namespace" class="alm_element" name="rest-namespace" value="<?php echo $restapi_namespace; ?>">
64
+ </div>
65
+ </div>
66
+
67
+ <div class="clear"></div>
68
+ <hr>
69
+
70
+ <div class="section-title">
71
+ <h4><?php _e('Endpoint', 'ajax-load-more'); ?>
72
+ <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Set a default Endpoint in the Ajax Load More settings panel','ajax-load-more'); ?>."></a></h4>
73
+ <p><?php _e('Enter your custom endpoint for this Ajax Load More query.', 'ajax-load-more'); ?></p>
74
+ </div>
75
+ <div class="wrap">
76
+ <div class="inner">
77
+ <input type="text" id="rest-endpoint" class="alm_element" name="rest-endpoint" value="<?php echo $restapi_endpoint; ?>">
78
+ </div>
79
+ </div>
80
+
81
+ <div class="clear"></div>
82
+ <hr>
83
+
84
+ <div class="section-title">
85
+ <h4><?php _e('Template ID', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Ajax Load More references this ID while looping and displaying your data. You must still select a repeater template for this instance of Ajax Load More','ajax-load-more'); ?>">.</a></h4>
86
+ <p><?php _e('Enter the ID of your javascript template.<br/><br/>e.g. <em>tmpl-alm-template</em> = <em>alm-template</em>', 'ajax-load-more'); ?><br/>&raquo; <a href="https://gist.github.com/dcooney/c89f5859b73256b36de4a0c3320d9b07" target="_blank"><?php _e('View Example', 'ajax-load-more'); ?></a></p>
87
+ </div>
88
+ <div class="wrap">
89
+ <div class="inner">
90
+ <input type="text" id="rest-template-id" class="alm_element" name="rest-template-id" value="">
91
+ </div>
92
+ </div>
93
+
94
+ <div class="clear"></div>
95
+ <hr>
96
+
97
+ <div class="section-title">
98
+ <h4><?php _e('Debug Mode', 'ajax-load-more'); ?></h4>
99
+ <p><?php _e('Enable debugging (console.log) of REST API responses in the browser console. ', 'ajax-load-more'); ?></p>
100
+ </div>
101
+ <div class="wrap">
102
+ <div class="inner">
103
+ <ul>
104
+ <li>
105
+ <input class="alm_element" type="radio" name="rest-debug" value="true" id="rest-debug-true" >
106
+ <label for="rest-debug-true"><?php _e('True', 'ajax-load-more'); ?></label>
107
+ </li>
108
+ <li>
109
+ <input class="alm_element" type="radio" name="rest-debug" value="false" id="rest-debug-false" checked="checked">
110
+ <label for="rest-debug-false"><?php _e('False', 'ajax-load-more'); ?></label>
111
+ </li>
112
+ </ul>
113
+ </div>
114
+ </div>
115
+
116
+ <div class="clear"></div>
117
+ <hr>
118
+ <p class="warning-callout">
119
+ <?php _e('Visit <a href="http://v2.wp-api.org/" target="_blank">http://v2.wp-api.org</a> for documentation on creating custom <a href="http://v2.wp-api.org/extending/adding/" target="_blank">Endpoints</a> for use with Ajax Load More.', 'ajax-load-more'); ?>
120
+ </p>
121
+
122
+ </div>
123
+
124
  </div>
 
125
  </div>
126
  </div>
127
  <?php } ?>
admin/shortcode-builder/components/single-post.php CHANGED
@@ -9,11 +9,11 @@
9
  <div class="inner">
10
  <ul>
11
  <li>
12
- <input class="alm_element" type="radio" name="prev-post" value="true" id="prev-post-true" >
13
  <label for="prev-post-true"><?php _e('True', 'ajax-load-more'); ?></label>
14
  </li>
15
  <li>
16
- <input class="alm_element" type="radio" name="prev-post" value="false" id="prev-post-false" checked="checked">
17
  <label for="prev-post-false"><?php _e('False', 'ajax-load-more'); ?></label>
18
  </li>
19
  </ul>
@@ -21,103 +21,203 @@
21
  </div>
22
  <div class="clear"></div>
23
 
24
- <div class="prev_post_options" style="display: none;">
25
- <div class="clear"></div>
26
- <hr>
27
- <div class="section-title">
28
- <h4><?php _e('Post ID', 'ajax-load-more'); ?></h4>
29
- <p><?php _e('The ID of the current single post.', 'ajax-load-more'); ?></p>
30
- </div>
31
- <div class="wrap">
32
- <div class="inner">
33
- <input type="text" value="get_the_ID()" id="pp_id" class="alm_element disabled-input" disabled="disabled">
34
- </div>
35
- </div>
36
-
37
- <div class="clear"></div>
38
- <hr>
39
- <div class="section-title">
40
- <h4><?php _e('Post Ordering', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('By default, the Single Posts add-on will use the core WordPress `get_previous_post` function, but you can over ride that here.', 'ajax-load-more'); ?>."></a></h4>
41
- <p><?php _e('Select the load order of posts while infinite scrolling.', 'ajax-load-more'); ?></p>
42
- <p><a class="button-small" href="https://connekthq.com/plugins/ajax-load-more/add-ons/previous-post/#ordering" target="_blank"><?php _e('View Docs', 'ajax-load-more'); ?></a></p>
43
- </div>
44
- <div class="wrap">
45
- <div class="inner">
46
- <select class="alm_element" name="pp-order" id="pp-order">
47
- <option value="previous" selected="selected"><?php _e('Previous Post (by date DESC)', 'ajax-load-more'); ?></option>
48
- <option value="latest"><?php _e('Latest (Start at most recent post)', 'ajax-load-more'); ?></option>
49
- <option value="next"><?php _e('Next Post (by date ASC)', 'ajax-load-more'); ?></option>
50
- <option value="post__in"><?php _e('Post ID Array', 'ajax-load-more'); ?></option>
51
- </select>
52
- </div>
53
- </div>
54
-
55
- <div class="clear"></div>
56
- <div id="pp_post__in" style="display: none;">
57
- <div class="clear"></div>
58
- <hr>
59
- <div class="section-title">
60
- <h4><?php _e('Post ID Array', 'ajax-load-more'); ?></h4>
61
- <p><?php _e('A comma separated list of post ID\'s to query by order.', 'ajax-load-more'); ?></p>
62
- </div>
63
  <div class="wrap">
64
  <div class="inner">
65
- <input id="pp_post__in_input" class="alm_element numbers-only" type="text" placeholder="23, 66, 99">
66
  </div>
67
  </div>
68
- </div>
69
-
70
- <div id="pp_extras">
71
  <div class="clear"></div>
72
  <hr>
73
  <div class="section-title">
74
- <h4><?php _e('Taxonomy', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Selecting a taxonomy means only previous posts from the same taxonomy term will be returned. If a post has multiple terms attached, each term will be considered using an OR relationship query','ajax-load-more'); ?>."></a></h4>
75
- <p><?php _e('Query previous posts from the same taxonomy term(s).', 'ajax-load-more'); ?></p>
 
76
  </div>
77
  <div class="wrap">
78
  <div class="inner">
79
- <?php
80
- // Taxonomies
81
- $pp_tax_args = array(
82
- 'public' => true,
83
- '_builtin' => false
84
- );
85
- $pp_tax_output = 'objects';
86
- $pp_taxonomies = get_taxonomies( $pp_tax_args, $pp_tax_output );
87
- echo '<select class="alm_element" name="pp-taxonomy-select" id="pp-taxonomy-select">';
88
- echo '<option value="" selected="selected">-- ' . __('Select Taxonomy', 'ajax-load-more') . ' --</option>';
89
- echo '<option value="category">' . __('Category', 'ajax-load-more') . '</option>';
90
- echo '<option value="post_tag">' . __('Tag', 'ajax-load-more') . '</option>';
91
- if ( $pp_taxonomies ) {
92
-
93
- foreach( $pp_taxonomies as $pp_taxonomy ){
94
- echo '<option name="pp-'.$pp_taxonomy->query_var.'" id="pp-'.$pp_taxonomy->query_var.'" value="'.$pp_taxonomy->query_var.'">'.$pp_taxonomy->label.'</option>';
95
- }
96
-
97
- }
98
- echo '</select>';
99
- ?>
100
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101
  </div>
102
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
103
  <div class="clear"></div>
104
  <hr>
105
  <div class="section-title">
106
- <h4><?php _e('Excluded Terms ', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('A comma-separated list of excluded terms by ID','ajax-load-more'); ?>."></a></h4>
107
- <p><?php _e('Exclude posts by term ID from the previous post query.', 'ajax-load-more'); ?></p>
108
  </div>
109
  <div class="wrap">
110
  <div class="inner">
111
- <input type="text" id="pp-term-exclude" class="alm_element numbers-only" value="" placeholder="5, 8, 35">
 
 
 
 
 
 
 
 
 
112
  </div>
113
  </div>
114
- </div>
115
-
116
- <div class="clear"></div>
117
- <hr>
118
- <p class="warning-callout">
119
- <?php _e('You must add the Single Post shortcode directly to your single template file using the <a href="https://developer.wordpress.org/reference/functions/do_shortcode/" target="_blank">do_shortcode</a> method.', 'ajax-load-more'); ?> <a class="button-small" href="https://connekthq.com/plugins/ajax-load-more/add-ons/single-post/" target="_blank"><?php _e('View Docs', 'ajax-load-more'); ?></a>
120
- </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
121
  </div>
122
  </div>
123
  </div>
9
  <div class="inner">
10
  <ul>
11
  <li>
12
+ <input class="alm_element" type="radio" name="prev-post" value="true" id="prev-post-true">
13
  <label for="prev-post-true"><?php _e('True', 'ajax-load-more'); ?></label>
14
  </li>
15
  <li>
16
+ <input class="alm_element" type="radio" name="prev-post" value="false" id="prev-post-false" checked="checked">
17
  <label for="prev-post-false"><?php _e('False', 'ajax-load-more'); ?></label>
18
  </li>
19
  </ul>
21
  </div>
22
  <div class="clear"></div>
23
 
24
+ <div class="prev_post_options nested-component" style="display: none;">
25
+ <div class="nested-component--inner">
26
+
27
+ <div class="section-title">
28
+ <h4><?php _e('Post ID', 'ajax-load-more'); ?></h4>
29
+ <p><?php _e('The ID of the current single post.', 'ajax-load-more'); ?></p>
30
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  <div class="wrap">
32
  <div class="inner">
33
+ <input type="text" value="get_the_ID()" id="pp_id" class="alm_element disabled-input" disabled="disabled">
34
  </div>
35
  </div>
36
+
 
 
37
  <div class="clear"></div>
38
  <hr>
39
  <div class="section-title">
40
+ <h4><?php _e('Post Ordering', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('By default, the Single Posts add-on will use the core WordPress `get_previous_post` function, but you can over ride that here.', 'ajax-load-more'); ?>."></a></h4>
41
+ <p><?php _e('Select the load order of posts while infinite scrolling.', 'ajax-load-more'); ?></p>
42
+ <p><a class="button-small" href="https://connekthq.com/plugins/ajax-load-more/add-ons/single-post/#ordering" target="_blank"><?php _e('View Docs', 'ajax-load-more'); ?></a></p>
43
  </div>
44
  <div class="wrap">
45
  <div class="inner">
46
+ <select class="alm_element" name="pp-order" id="pp-order">
47
+ <option value="previous" selected="selected"><?php _e('Previous Post (by date DESC)', 'ajax-load-more'); ?></option>
48
+ <option value="latest"><?php _e('Latest (Start at most recent post)', 'ajax-load-more'); ?></option>
49
+ <option value="next"><?php _e('Next Post (by date ASC)', 'ajax-load-more'); ?></option>
50
+ <option value="post__in"><?php _e('Post ID Array', 'ajax-load-more'); ?></option>
51
+ </select>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
  </div>
53
+ </div>
54
+
55
+ <div class="clear"></div>
56
+
57
+ <div id="pp_post__in" style="display: none;">
58
+ <div class="clear"></div>
59
+ <hr>
60
+ <div class="section-title">
61
+ <h4><?php _e('Post ID Array', 'ajax-load-more'); ?></h4>
62
+ <p><?php _e('A comma separated list of post ID\'s to query by order.', 'ajax-load-more'); ?></p>
63
+ </div>
64
+ <div class="wrap">
65
+ <div class="inner">
66
+ <input id="pp_post__in_input" class="alm_element numbers-only" type="text" placeholder="23, 66, 99">
67
+ </div>
68
+ </div>
69
  </div>
70
+
71
+ <div id="pp_extras">
72
+ <div class="clear"></div>
73
+ <hr>
74
+ <div class="section-title">
75
+ <h4><?php _e('Taxonomy', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Selecting a taxonomy means only previous posts from the same taxonomy term will be returned. If a post has multiple terms attached, each term will be considered using an OR relationship query','ajax-load-more'); ?>."></a></h4>
76
+ <p><?php _e('Query previous posts from the same taxonomy term(s).', 'ajax-load-more'); ?></p>
77
+ </div>
78
+ <div class="wrap">
79
+ <div class="inner">
80
+ <?php
81
+ // Taxonomies
82
+ $pp_tax_args = array(
83
+ 'public' => true,
84
+ '_builtin' => false
85
+ );
86
+ $pp_tax_output = 'objects';
87
+ $pp_taxonomies = get_taxonomies( $pp_tax_args, $pp_tax_output );
88
+ echo '<select class="alm_element" name="pp-taxonomy-select" id="pp-taxonomy-select">';
89
+ echo '<option value="" selected="selected">-- ' . __('Select Taxonomy', 'ajax-load-more') . ' --</option>';
90
+ echo '<option value="category">' . __('Category', 'ajax-load-more') . '</option>';
91
+ echo '<option value="post_tag">' . __('Tag', 'ajax-load-more') . '</option>';
92
+ if ( $pp_taxonomies ) {
93
+
94
+ foreach( $pp_taxonomies as $pp_taxonomy ){
95
+ echo '<option name="pp-'.$pp_taxonomy->query_var.'" id="pp-'.$pp_taxonomy->query_var.'" value="'.$pp_taxonomy->query_var.'">'.$pp_taxonomy->label.'</option>';
96
+ }
97
+
98
+ }
99
+ echo '</select>';
100
+ ?>
101
+ </div>
102
+ </div>
103
+
104
+ <div class="clear"></div>
105
+ <hr>
106
+ <div class="section-title">
107
+ <h4><?php _e('Excluded Terms ', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('A comma-separated list of excluded terms by ID','ajax-load-more'); ?>."></a></h4>
108
+ <p><?php _e('Exclude posts by term ID from the previous post query.', 'ajax-load-more'); ?></p>
109
+ </div>
110
+ <div class="wrap">
111
+ <div class="inner">
112
+ <input type="text" id="pp-term-exclude" class="alm_element numbers-only" value="" placeholder="5, 8, 35">
113
+ </div>
114
+ </div>
115
+ </div>
116
+
117
  <div class="clear"></div>
118
  <hr>
119
  <div class="section-title">
120
+ <h4><?php _e('Reading Progress Bar ', 'ajax-load-more'); ?></h4>
121
+ <p><?php _e('Display a reading progress bar indicator at the top or bottom of the browser window.', 'ajax-load-more'); ?></p>
122
  </div>
123
  <div class="wrap">
124
  <div class="inner">
125
+ <ul>
126
+ <li>
127
+ <input class="alm_element" type="radio" name="prev-post-progress" value="true" id="prev-post-progress-true">
128
+ <label for="prev-post-progress-true"><?php _e('True', 'ajax-load-more'); ?></label>
129
+ </li>
130
+ <li>
131
+ <input class="alm_element" type="radio" name="prev-post-progress" value="false" id="prev-post-progress-false" checked="checked">
132
+ <label for="prev-post-progress-false"><?php _e('False', 'ajax-load-more'); ?></label>
133
+ </li>
134
+ </ul>
135
  </div>
136
  </div>
137
+
138
+
139
+ <!-- Reading Progress Bar Options -->
140
+ <div class="clear"></div>
141
+ <div id="pp_progressbar_options" class="nested-component" style="display: none;">
142
+
143
+ <div class="nested-component--inner">
144
+
145
+ <div class="section-title">
146
+ <h4><?php _e('Position', 'ajax-load-more'); ?></h4>
147
+ <p><?php _e('Select the window position of the progress bar.', 'ajax-load-more'); ?></p>
148
+ </div>
149
+ <div class="wrap">
150
+ <div class="inner">
151
+ <ul>
152
+ <li>
153
+ <input class="alm_element" type="radio" name="prev-post-progress-position" value="top" id="prev-post-progress-position-top" checked="checked">
154
+ <label for="prev-post-progress-position-top"><?php _e('Top', 'ajax-load-more'); ?></label>
155
+ </li>
156
+ <li>
157
+ <input class="alm_element" type="radio" name="prev-post-progress-position" value="bottom" id="prev-post-progress-position-btm">
158
+ <label for="prev-post-progress-position-btm"><?php _e('Bottom', 'ajax-load-more'); ?></label>
159
+ </li>
160
+ </ul>
161
+ </div>
162
+ </div>
163
+
164
+ <div class="clear"></div>
165
+ <hr/>
166
+ <div class="section-title">
167
+ <h4><?php _e('Height', 'ajax-load-more'); ?></h4>
168
+ <p><?php _e('Select the height of the progress bar in pixels.', 'ajax-load-more'); ?></p>
169
+ </div>
170
+ <div class="wrap">
171
+ <div class="inner">
172
+ <input type="number" class="alm_element numbers-only" name="prev-post-progress-height" id="prev-post-progress-height" step="1" min="1" value="10">
173
+ </div>
174
+ </div>
175
+
176
+ <div class="clear"></div>
177
+ <hr>
178
+ <div class="section-title">
179
+ <h4><?php _e('Colors', 'ajax-load-more'); ?> </h4>
180
+ <p><?php _e('Enter the hex color values of the reading progress bar', 'ajax-load-more'); ?>.<br/>
181
+ <?php _e('Default:', 'ajax-load-more'); ?> #<span>ed7070</span>
182
+ </p>
183
+ </div>
184
+ <div class="wrap">
185
+ <div class="inner" style="position: relative;">
186
+ <ul>
187
+ <li class="prev-post-progress-front-color">
188
+ <label for="prev-post-progress-color"><?php _e('Foreground Color:', 'ajax-load-more'); ?></label>
189
+ <div style="position: relative;">
190
+ <input type="text" class="alm_element" name="prev-post-progress-color" id="prev-post-progress-color" placeholder="ed7070" value="ed7070" maxlength="6" style="padding-left: 40px; width: 100%;">
191
+ <span class="progress_bar_color_indicator"></span>
192
+ </div>
193
+ </li>
194
+ <li class="prev-post-progress-back-color">
195
+ <label for="prev-post-progress-color-bkg"><?php _e('Background Color:', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Leave empty for a transparent background','ajax-load-more'); ?>."></a></label>
196
+ <div style="position: relative;">
197
+ <input type="text" class="alm_element" name="prev-post-progress-color-bkg" id="prev-post-progress-color-bkg" placeholder="efefef" value="" maxlength="6" style="padding-left: 40px; width: 100%;">
198
+ <style>
199
+ .progress_bar_color_indicator_alt{
200
+ background-color: transparent;
201
+ }
202
+ </style>
203
+ <span class="progress_bar_color_indicator progress_bar_color_indicator_alt"></span>
204
+ </div>
205
+ </li>
206
+ </ul>
207
+ </div>
208
+ </div>
209
+ </div>
210
+ </div>
211
+ <!-- END Reading Progress Bar -->
212
+
213
+ <div class="clear"></div>
214
+ <hr>
215
+
216
+ <p class="warning-callout">
217
+ <?php _e('You must add the Single Post shortcode directly to your single template file using the <a href="https://developer.wordpress.org/reference/functions/do_shortcode/" target="_blank">do_shortcode</a> method.', 'ajax-load-more'); ?> <a class="button-small" href="https://connekthq.com/plugins/ajax-load-more/add-ons/single-post/" target="_blank"><?php _e('View Docs', 'ajax-load-more'); ?></a>
218
+ </p>
219
+ </div>
220
+
221
  </div>
222
  </div>
223
  </div>
admin/shortcode-builder/components/users.php CHANGED
@@ -4,7 +4,7 @@
4
  <div class="expand-wrap">
5
  <div class="section-title">
6
  <p><?php _e('Infinite scroll WordPress users', 'ajax-load-more'); ?>.</p>
7
- </div>
8
  <div class="wrap">
9
  <div class="inner">
10
  <ul>
@@ -21,106 +21,108 @@
21
  </div>
22
 
23
  <div class="clear"></div>
24
- <div id="users-extended">
 
 
25
 
26
- <hr/>
27
- <div class="section-title">
28
- <h4><?php _e('User Role', 'ajax-load-more'); ?></h4>
29
- <p><?php _e('Select the role of user to be displayed', 'ajax-load-more'); ?>.</p>
30
- </div>
31
- <div class="wrap">
32
- <div class="inner">
33
- <select class="alm_element multiple" id="users-role" name="users-role" multiple="multiple">
34
- <option value="all"><?php _e('All Roles', 'ajax-load-more'); ?></option>
35
- <?php
36
- if(function_exists('alm_role_encrypt')) :
37
- global $wp_roles;
38
- $roles = $wp_roles->get_names();
39
- $role_value = 100;
40
- foreach($roles as $role) {
41
- ?>
42
- <option value="<?php echo $role;?>"><?php echo $role;?></option>
43
  <?php
44
- }
45
- endif;
46
- ?>
47
- </select>
48
- </div>
49
- </div>
50
-
51
- <div class="clear"></div>
52
- <hr>
53
- <div class="section-title">
54
- <h4><?php _e('Include', 'ajax-load-more'); ?></h4>
55
- <p>
56
- <?php _e('A comma separated list of users to be included by ID', 'ajax-load-more'); ?>.<em><br/>e.g. 1, 2, 3</em>
57
- </p>
58
- </div>
59
- <div class="wrap">
60
- <div class="inner">
61
- <input type="text" class="alm_element" name="users-include" id="users-include">
62
- </div>
63
- </div>
64
-
65
- <div class="clear"></div>
66
- <hr>
67
- <div class="section-title">
68
- <h4><?php _e('Exclude', 'ajax-load-more'); ?></h4>
69
- <p>
70
- <?php _e('A comma separated list of users to be excluded by ID', 'ajax-load-more'); ?>.<em><br/>e.g. 3, 6, 7</em>
71
- </p>
72
- </div>
73
- <div class="wrap">
74
- <div class="inner">
75
- <input type="text" class="alm_element" name="users-exclude" id="users-exclude">
76
- </div>
77
- </div>
78
-
79
- <div class="clear"></div>
80
- <hr>
81
- <div class="section-title">
82
- <h4><?php _e('Users Per Page', 'ajax-load-more'); ?></h4>
83
- <p><?php _e('The number of users to show.', 'ajax-load-more'); ?></p>
84
- </div>
85
- <div class="wrap">
86
- <div class="inner">
87
- <input type="number" class="alm_element numbers-only" name="users-per-page" id="users-per-page" step="1" min="1" value="5">
88
- </div>
89
- </div>
90
-
91
- <div class="clear"></div>
92
- <hr/>
93
- <div class="section-title">
94
- <h4><?php _e('Orderby', 'ajax-load-more'); ?></h4>
95
- <p><?php _e('Sort users by Order and Orderby parameters', 'ajax-load-more'); ?>.</p>
96
- </div>
97
- <div class="wrap">
98
- <div class="inner half">
99
- <label class="full"><?php _e('Order', 'ajax-load-more'); ?>:</label>
100
- <select class="alm_element" name="users-order" id="users-order">
101
- <option value="ASC" selected="selected">ASC (default)</option>
102
- <option value="DESC">DESC</option>
103
- </select>
104
- </div>
105
- <div class="inner half">
106
- <label class="full"><?php _e('Order By', 'ajax-load-more'); ?>:</label>
107
- <select class="alm_element" name="users-orderby" id="users-orderby">
108
- <option value="login" selected="selected">Login (default)</option>
109
- <option value="ID">ID</option>
110
- <option value="display_name">Display Name</option>
111
- <option value="user_name">Name</option>
112
- <option value="include">Include</option>
113
- <option value="email">Email</option>
114
- <option value="user_url">URL</option>
115
- <option value="registered">Registration Date</option>
116
- <option value="post_count">Post Count</option>
117
- </select>
118
- <!-- Add Meta Value Num soon, also need to add alm_query_args filter to users addon. -->
119
- </div>
120
- </div>
121
-
 
 
 
 
 
 
 
 
 
 
122
  </div>
123
-
124
  </div>
125
  </div>
126
  <?php } ?>
4
  <div class="expand-wrap">
5
  <div class="section-title">
6
  <p><?php _e('Infinite scroll WordPress users', 'ajax-load-more'); ?>.</p>
7
+ </div>
8
  <div class="wrap">
9
  <div class="inner">
10
  <ul>
21
  </div>
22
 
23
  <div class="clear"></div>
24
+
25
+ <div id="users-extended" class="nested-component">
26
+ <div class="nested-component--inner">
27
 
28
+ <div class="section-title">
29
+ <h4><?php _e('User Role', 'ajax-load-more'); ?></h4>
30
+ <p><?php _e('Select the role of user to be displayed', 'ajax-load-more'); ?>.</p>
31
+ </div>
32
+ <div class="wrap">
33
+ <div class="inner">
34
+ <select class="alm_element multiple" id="users-role" name="users-role" multiple="multiple">
35
+ <option value="all"><?php _e('All Roles', 'ajax-load-more'); ?></option>
 
 
 
 
 
 
 
 
 
36
  <?php
37
+ if(function_exists('alm_role_encrypt')) :
38
+ global $wp_roles;
39
+ $roles = $wp_roles->get_names();
40
+ $role_value = 100;
41
+ foreach($roles as $role) {
42
+ ?>
43
+ <option value="<?php echo $role;?>"><?php echo $role;?></option>
44
+ <?php
45
+ }
46
+ endif;
47
+ ?>
48
+ </select>
49
+ </div>
50
+ </div>
51
+
52
+ <div class="clear"></div>
53
+ <hr>
54
+ <div class="section-title">
55
+ <h4><?php _e('Include', 'ajax-load-more'); ?></h4>
56
+ <p>
57
+ <?php _e('A comma separated list of users to be included by ID', 'ajax-load-more'); ?>.<em><br/>e.g. 1, 2, 3</em>
58
+ </p>
59
+ </div>
60
+ <div class="wrap">
61
+ <div class="inner">
62
+ <input type="text" class="alm_element" name="users-include" id="users-include">
63
+ </div>
64
+ </div>
65
+
66
+ <div class="clear"></div>
67
+ <hr>
68
+ <div class="section-title">
69
+ <h4><?php _e('Exclude', 'ajax-load-more'); ?></h4>
70
+ <p>
71
+ <?php _e('A comma separated list of users to be excluded by ID', 'ajax-load-more'); ?>.<em><br/>e.g. 3, 6, 7</em>
72
+ </p>
73
+ </div>
74
+ <div class="wrap">
75
+ <div class="inner">
76
+ <input type="text" class="alm_element" name="users-exclude" id="users-exclude">
77
+ </div>
78
+ </div>
79
+
80
+ <div class="clear"></div>
81
+ <hr>
82
+ <div class="section-title">
83
+ <h4><?php _e('Users Per Page', 'ajax-load-more'); ?></h4>
84
+ <p><?php _e('The number of users to show.', 'ajax-load-more'); ?></p>
85
+ </div>
86
+ <div class="wrap">
87
+ <div class="inner">
88
+ <input type="number" class="alm_element numbers-only" name="users-per-page" id="users-per-page" step="1" min="1" value="5">
89
+ </div>
90
+ </div>
91
+
92
+ <div class="clear"></div>
93
+ <hr/>
94
+ <div class="section-title">
95
+ <h4><?php _e('Orderby', 'ajax-load-more'); ?></h4>
96
+ <p><?php _e('Sort users by Order and Orderby parameters', 'ajax-load-more'); ?>.</p>
97
+ </div>
98
+ <div class="wrap">
99
+ <div class="inner half">
100
+ <label class="full"><?php _e('Order', 'ajax-load-more'); ?>:</label>
101
+ <select class="alm_element" name="users-order" id="users-order">
102
+ <option value="ASC" selected="selected">ASC (default)</option>
103
+ <option value="DESC">DESC</option>
104
+ </select>
105
+ </div>
106
+ <div class="inner half">
107
+ <label class="full"><?php _e('Order By', 'ajax-load-more'); ?>:</label>
108
+ <select class="alm_element" name="users-orderby" id="users-orderby">
109
+ <option value="login" selected="selected">Login (default)</option>
110
+ <option value="ID">ID</option>
111
+ <option value="display_name">Display Name</option>
112
+ <option value="user_name">Name</option>
113
+ <option value="include">Include</option>
114
+ <option value="email">Email</option>
115
+ <option value="user_url">URL</option>
116
+ <option value="registered">Registration Date</option>
117
+ <option value="post_count">Post Count</option>
118
+ </select>
119
+ <!-- Add Meta Value Num soon, also need to add alm_query_args filter to users addon. -->
120
+ </div>
121
+ </div>
122
+
123
+ </div>
124
+
125
  </div>
 
126
  </div>
127
  </div>
128
  <?php } ?>
admin/shortcode-builder/js/shortcode-builder.js CHANGED
@@ -89,8 +89,6 @@ jQuery(document).ready(function($) {
89
  });
90
 
91
 
92
-
93
-
94
  // Add additional meta_query
95
  var meta_query_obj = $('.meta-query-wrap').eq(0).clone();
96
  $('.meta-query-wrap .remove').remove();
@@ -123,6 +121,7 @@ jQuery(document).ready(function($) {
123
  }
124
 
125
  });
 
126
 
127
  /* Delete Meta Query */
128
  $(document).on('click', '.remove-meta-query', function(e){
@@ -132,11 +131,9 @@ jQuery(document).ready(function($) {
132
  el.parent('.meta-query-wrap').remove();
133
  _alm.buildShortcode();
134
  });
135
-
136
  if($('.meta-query-wrap').length > 3){ // Show "Add" button if less than 4 $('.meta-query-wrap')
137
  $('#alm-meta-key .controls button').removeClass('disabled');
138
  }
139
-
140
  });
141
 
142
 
@@ -162,6 +159,24 @@ jQuery(document).ready(function($) {
162
  output += ' id="'+unique_id+'"';
163
 
164
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
165
  // ---------------------------
166
  // - Container Type
167
  // ---------------------------
@@ -510,7 +525,6 @@ jQuery(document).ready(function($) {
510
  if(seo !== 'false' && seo != undefined){
511
  if(preload === 'true')
512
  $('.preload_amount').slideUp(250, 'alm_easeInOutQuad');
513
-
514
  output += ' seo="'+seo+'"';
515
  }
516
 
@@ -527,7 +541,9 @@ jQuery(document).ready(function($) {
527
  pp_order = $('#pp-order').val(),
528
  pp_post__in_order = $('#pp_post__in_input').val(),
529
  pp_taxonomy = $('#pp-taxonomy-select').val(),
530
- pp_excluded_terms = $('#pp-term-exclude').val();
 
 
531
 
532
  $('.prev_post_options').slideDown(250, 'alm_easeInOutQuad');
533
 
@@ -560,6 +576,38 @@ jQuery(document).ready(function($) {
560
  output += (pp_taxonomy !== '' ) ? ' single_post_taxonomy="'+pp_taxonomy+'"' : '';
561
  output += (pp_excluded_terms !== '' ) ? ' single_post_excluded_terms="'+pp_excluded_terms+'"' : '';
562
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
563
  }else{
564
  $('.prev_post_options').slideUp(250, 'alm_easeInOutQuad');
565
  }
@@ -1124,13 +1172,13 @@ jQuery(document).ready(function($) {
1124
  var scroll_load = $('.scroll_load input[name=scroll]:checked').val();
1125
  if(scroll_load === 'f'){
1126
 
1127
- $('.max_pages, .scroll_distance, .pause_override, .scroll_container').slideUp(250, 'alm_easeInOutQuad');
1128
  if($('.scroll_load input').hasClass('changed'))
1129
  output += ' scroll="false"';
1130
 
1131
  }else{
1132
 
1133
- $('.max_pages, .scroll_distance, .pause_override, .scroll_container').slideDown(250, 'alm_easeInOutQuad');
1134
 
1135
  var scroll_distance = $('.scroll_distance input').val();
1136
  if(scroll_distance !== '100')
@@ -1212,10 +1260,10 @@ jQuery(document).ready(function($) {
1212
  var progress_bar_color = $('.alm-progress-bar input[name=progress_bar_color]').val();
1213
  $('.progress-bar-options').slideDown(250, 'alm_easeInOutQuad');
1214
  output += ' progress_bar="true"';
1215
- $('.progress_bar_color_indicator').removeAttr('style');
1216
  if(progress_bar_color){
1217
  if(progress_bar_color.length === 6){
1218
- $('.progress_bar_color_indicator').css("background-color", '#'+progress_bar_color);
1219
  }
1220
  output += ' progress_bar_color="'+ progress_bar_color +'"';
1221
  }
89
  });
90
 
91
 
 
 
92
  // Add additional meta_query
93
  var meta_query_obj = $('.meta-query-wrap').eq(0).clone();
94
  $('.meta-query-wrap .remove').remove();
121
  }
122
 
123
  });
124
+
125
 
126
  /* Delete Meta Query */
127
  $(document).on('click', '.remove-meta-query', function(e){
131
  el.parent('.meta-query-wrap').remove();
132
  _alm.buildShortcode();
133
  });
 
134
  if($('.meta-query-wrap').length > 3){ // Show "Add" button if less than 4 $('.meta-query-wrap')
135
  $('#alm-meta-key .controls button').removeClass('disabled');
136
  }
 
137
  });
138
 
139
 
159
  output += ' id="'+unique_id+'"';
160
 
161
 
162
+ // ---------------------------
163
+ // - Loading Style
164
+ // ---------------------------
165
+
166
+ var loading_style = $('select#loading-style').val();
167
+ var loading_style_default = $('select#loading-style').data('default');
168
+ var loading_style_target = $('select#loading-style').parent().find('.ajax-load-more-wrap');
169
+
170
+ if(loading_style_target){
171
+ var loading_style_base = loading_style_target.data('base');
172
+ loading_style_target.removeAttr('class');
173
+ loading_style_target.attr('class', loading_style_base + loading_style);
174
+ }
175
+ if(loading_style && loading_style !== loading_style_default){
176
+ output += ' loading_style="'+loading_style+'"';
177
+ }
178
+
179
+
180
  // ---------------------------
181
  // - Container Type
182
  // ---------------------------
525
  if(seo !== 'false' && seo != undefined){
526
  if(preload === 'true')
527
  $('.preload_amount').slideUp(250, 'alm_easeInOutQuad');
 
528
  output += ' seo="'+seo+'"';
529
  }
530
 
541
  pp_order = $('#pp-order').val(),
542
  pp_post__in_order = $('#pp_post__in_input').val(),
543
  pp_taxonomy = $('#pp-taxonomy-select').val(),
544
+ pp_excluded_terms = $('#pp-term-exclude').val(),
545
+ pp_progress_bar = $('.previous-post input[name=prev-post-progress]:checked').val();
546
+
547
 
548
  $('.prev_post_options').slideDown(250, 'alm_easeInOutQuad');
549
 
576
  output += (pp_taxonomy !== '' ) ? ' single_post_taxonomy="'+pp_taxonomy+'"' : '';
577
  output += (pp_excluded_terms !== '' ) ? ' single_post_excluded_terms="'+pp_excluded_terms+'"' : '';
578
 
579
+ // Reading Progress Bar
580
+ if(pp_progress_bar === 'true'){
581
+ $('#pp_progressbar_options').slideDown(250, 'alm_easeInOutQuad');
582
+
583
+ var pp_progress_bar_position = $('#pp_progressbar_options input[name=prev-post-progress-position]:checked').val();
584
+ var pp_progress_bar_height = $('#pp_progressbar_options input[name=prev-post-progress-height]').val();
585
+
586
+ var pp_progress_bar_color = $('.prev-post-progress-front-color input').val();
587
+ var pp_progress_indicator = $('.prev-post-progress-front-color .progress_bar_color_indicator');
588
+
589
+ var pp_progress_bar_bkg_color = $('.prev-post-progress-back-color input').val();
590
+ pp_progress_bar_bkg_color = (pp_progress_bar_bkg_color.length === 6) ? pp_progress_bar_bkg_color : ''; // Minimum 6
591
+ var pp_progress_indicator_bkg = $('.prev-post-progress-back-color .progress_bar_color_indicator');
592
+
593
+
594
+ // Remove style atts from indicator
595
+ pp_progress_indicator_bkg.removeAttr('style');
596
+ pp_progress_indicator.removeAttr('style');
597
+
598
+
599
+ // If all values are set
600
+ if(pp_progress_bar_color.length === 6 && pp_progress_bar_height && pp_progress_bar_position){
601
+ pp_progress_indicator.css("background-color", '#'+pp_progress_bar_color);
602
+ pp_progress_indicator_bkg.css("background-color", '#'+pp_progress_bar_bkg_color);
603
+ pp_progress_bar_bkg_color = (pp_progress_bar_bkg_color !== '') ? ':'+ pp_progress_bar_bkg_color : '';
604
+ output += ' single_post_progress_bar="'+ pp_progress_bar_position +':'+ pp_progress_bar_height +':'+ pp_progress_bar_color + pp_progress_bar_bkg_color +'"';
605
+ }
606
+
607
+ } else {
608
+ $('#pp_progressbar_options').slideUp(250, 'alm_easeInOutQuad');
609
+ }
610
+
611
  }else{
612
  $('.prev_post_options').slideUp(250, 'alm_easeInOutQuad');
613
  }
1172
  var scroll_load = $('.scroll_load input[name=scroll]:checked').val();
1173
  if(scroll_load === 'f'){
1174
 
1175
+ $('.scrolling-options').slideUp(250, 'alm_easeInOutQuad');
1176
  if($('.scroll_load input').hasClass('changed'))
1177
  output += ' scroll="false"';
1178
 
1179
  }else{
1180
 
1181
+ $('.scrolling-options').slideDown(250, 'alm_easeInOutQuad');
1182
 
1183
  var scroll_distance = $('.scroll_distance input').val();
1184
  if(scroll_distance !== '100')
1260
  var progress_bar_color = $('.alm-progress-bar input[name=progress_bar_color]').val();
1261
  $('.progress-bar-options').slideDown(250, 'alm_easeInOutQuad');
1262
  output += ' progress_bar="true"';
1263
+ $('.alm-progress-bar .progress_bar_color_indicator').removeAttr('style');
1264
  if(progress_bar_color){
1265
  if(progress_bar_color.length === 6){
1266
+ $('.alm-progress-bar .progress_bar_color_indicator').css("background-color", '#'+progress_bar_color);
1267
  }
1268
  output += ' progress_bar_color="'+ progress_bar_color +'"';
1269
  }
admin/shortcode-builder/shortcode-builder.php CHANGED
@@ -65,6 +65,49 @@
65
  </div>
66
  </div>
67
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  <div class="clear"></div>
69
  <hr/>
70
 
@@ -132,7 +175,7 @@
132
 
133
  <!-- Nested ALM -->
134
  <div class="section-title">
135
- <h4><?php _e('Nested Instance', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('When nesting ALM instances it\'s important to set this to true as it removes certain problematic functionality.','ajax-load-more'); ?>"></a></h4>
136
  <p><?php _e('Is this instance of Ajax Load More nested inside another instance of Ajax Load More?', 'ajax-load-more'); ?></p>
137
  </div>
138
  <div class="wrap">
@@ -156,7 +199,7 @@
156
  <!-- No Results -->
157
  <div class="section-title">
158
  <h4><?php _e('No Results Text', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('HTML is allowed, however when adding quote marks in classnames or IDs you must single quotes as shown in the example.','ajax-load-more'); ?>"></a></h4>
159
- <p><?php _e('Add text/html to be displayed when no results are returned in the Ajax query.', 'ajax-load-more'); ?><br/><small><?php _e('e.g. &lt;div>Sorry, nothing found in this query&lt;/div>', 'ajax-load-more'); ?></small></p>
160
  </div>
161
  <div class="wrap">
162
  <div class="inner">
@@ -248,6 +291,7 @@
248
  <div class="row checkbox scroll_load" id="alm-scroll">
249
  <h3 class="heading" tabindex="0"><?php _e('Scrolling', 'ajax-load-more'); ?></h3>
250
  <div class="expand-wrap">
 
251
  <div class="section-title">
252
  <h4><?php _e('Enable Scrolling', 'ajax-load-more'); ?></h4>
253
  <p><?php _e('Load more posts as the user scrolls the page.', 'ajax-load-more'); ?></p>
@@ -266,65 +310,78 @@
266
  </ul>
267
  </div>
268
  </div>
 
269
  <div class="clear"></div>
270
- <div class="scroll_distance">
271
- <div class="clear"></div>
272
- <hr>
273
- <div class="section-title">
274
- <h4><?php _e('Scroll Distance', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Distance is based on the position of the loading button from the bottom of the screen','ajax-load-more'); ?>."></a></h4>
275
- <p><?php _e('The distance from the bottom of the screen to trigger loading of posts. (Default = 100)', 'ajax-load-more'); ?></p>
276
- </div>
277
- <div class="wrap">
278
- <div class="inner">
279
- <input type="number" class="alm_element numbers-only" name="scroll-distance" id="scroll-distance" step="10" min="0" value="100">
280
- </div>
281
- </div>
282
- </div>
283
- <div class="scroll_container">
284
- <div class="clear"></div>
285
- <hr>
286
- <div class="section-title">
287
- <h4><?php _e('Scroll Container', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Confine Ajax Load More scrolling to a parent container','ajax-load-more'); ?>."></a></h4>
288
- <p><?php _e('Enter the ID or classname of the parent container', 'ajax-load-more'); ?></p>
289
- </div>
290
- <div class="wrap">
291
- <div class="inner">
292
- <input type="text" class="alm_element" name="scroll-container" id="scroll-container" placeholder="#my-div">
293
- </div>
294
- </div>
295
- </div>
296
- <div class="max_pages">
297
- <div class="clear"></div>
298
- <hr>
299
- <div class="section-title">
300
- <h4><?php _e('Maximum Pages', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('If using an Infinite Scroll button style you should set this to 0','ajax-load-more'); ?>."></a></h4>
301
- <p><?php _e('Maximum number of pages to load while scrolling. (0 = unlimited)', 'ajax-load-more'); ?></p>
302
- </div>
303
- <div class="wrap">
304
- <div class="inner">
305
- <input type="number" class="alm_element numbers-only" name="max-select" id="max-select" step="1" min="0" value="0">
306
- </div>
307
- </div>
308
- </div>
309
- <div class="pause_override">
310
- <div class="clear"></div>
311
- <hr>
312
- <div class="section-title">
313
- <h4><?php _e('Pause Override', 'ajax-load-more'); ?></h4>
314
- <p><?php _e('Allow scrolling to override the Pause parameter and trigger the loading of posts on scroll.', 'ajax-load-more'); ?></p>
315
- </div>
316
- <div class="wrap">
317
- <ul>
318
- <li>
319
- <input class="alm_element" type="radio" name="pause_override" value="t" id="pause_override_t">
320
- <label for="pause_override_t"><?php _e('True', 'ajax-load-more'); ?></label>
321
- </li>
322
- <li>
323
- <input class="alm_element" type="radio" name="pause_override" value="f" id="pause_override_f" checked="checked">
324
- <label for="pause_override_f"><?php _e('False', 'ajax-load-more'); ?></label>
325
- </li>
326
- </ul>
327
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
328
  </div>
329
  </div>
330
  </div>
@@ -350,118 +407,120 @@
350
 
351
  <div class="clear"></div>
352
 
353
- <div class="masonry-options">
354
-
355
- <div class="clear"></div>
356
- <hr>
357
- <div class="section-title full" style="padding-bottom: 10px;">
358
- <h4><?php _e('Masonry Options', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Ajax Load More does not support all available Masonry options','ajax-load-more'); ?>."></a></h4>
359
- <p><?php _e('The following Masonry <a href="https://masonry.desandro.com/options.html" target="_blank">options</a> are supported by Ajax Load More.', 'ajax-load-more'); ?></p>
360
- </div>
361
- <div class="clear"></div>
362
-
363
- <div class="section-title">
364
- <h4><?php _e('Item Selector', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Item Selector is required for Masonry to target each element loaded with Ajax.','ajax-load-more'); ?>"></a></h4>
365
- <p><?php _e('Enter the target classname of each masonry item.', 'ajax-load-more'); ?><br/>
366
- e.g <span>.grid-item</span>
367
- </p>
368
- </div>
369
- <div class="wrap">
370
- <div class="inner">
371
- <input type="text" class="alm_element" name="masonry-item" id="masonry-item" placeholder=".grid-item">
372
- </div>
373
- </div>
374
-
375
- <div class="clear"></div>
376
- <hr class="indented" />
377
-
378
- <div class="section-title">
379
- <h4><?php _e('Column Width', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('If columnWidth is not set, Masonry will use the outer width of the first Item Selector.','ajax-load-more'); ?>"></a></h4>
380
- <p><?php _e('Enter the <a href="https://masonry.desandro.com/options.html#columnwidth" target="_blank">columnWidth</a> of the masonry items.', 'ajax-load-more'); ?><br/>
381
- e.g <span>80</span>
382
- </p>
383
- </div>
384
- <div class="wrap">
385
- <div class="inner">
386
- <input type="number" class="alm_element numbers-only" name="masonry-columnwidth" id="masonry-columnwidth" placeholder="80" min="0" step="1">
387
- </div>
388
- </div>
389
-
390
- <div class="clear"></div>
391
- <hr class="indented" />
392
-
393
- <div class="section-title">
394
- <h4><?php _e('Animation Type', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('All Masonry animations include a fade-in effect as items are loaded.','ajax-load-more'); ?>"></a></h4>
395
- <p><?php _e('Select a loading transition for Masonry items.', 'ajax-load-more'); ?></p>
396
- </div>
397
- <div class="wrap">
398
- <div class="inner">
399
- <ul>
400
- <li style="width:100%;">
401
- <input class="alm_element" type="radio" name="masonry-animation" value="default" id="masonry-animation-default" checked="checked">
402
- <label for="masonry-animation-default">
403
- <?php _e('Default (Zoom)', 'ajax-load-more'); ?>
404
- <span class="description"><?php _e('Items scale up from 50% to 100% size on load.','ajax-load-more'); ?></span>
405
- </label>
406
- </li>
407
- <li style="width:100%;">
408
- <input class="alm_element" type="radio" name="masonry-animation" value="zoom-out" id="masonry-animation-zoom-out">
409
- <label for="masonry-animation-zoom-out">
410
- <?php _e('Zoom Out', 'ajax-load-more'); ?>
411
- <span class="description"><?php _e('Items scale down from 125% to 100% size on load.','ajax-load-more'); ?></span>
412
- </label>
413
- </li>
414
- <li style="width:100%;">
415
- <input class="alm_element" type="radio" name="masonry-animation" value="slide-up" id="masonry-animation-up">
416
- <label for="masonry-animation-up">
417
- <?php _e('Slide Up', 'ajax-load-more'); ?>
418
- <span class="description"><?php _e('Items animate up as they are loaded into view.','ajax-load-more'); ?></span>
419
- </label>
420
- </li>
421
- <li style="width:100%;">
422
- <input class="alm_element" type="radio" name="masonry-animation" value="slide-down" id="masonry-animation-down">
423
- <label for="masonry-animation-down">
424
- <?php _e('Slide Down', 'ajax-load-more'); ?>
425
- <span class="description"><?php _e('Items animate down when loaded into view.','ajax-load-more'); ?></span>
426
- </label>
427
- </li>
428
- <li style="width:100%;">
429
- <input class="alm_element" type="radio" name="masonry-animation" value="none" id="masonry-animation-none">
430
- <label for="masonry-animation-none">
431
- <?php _e('None', 'ajax-load-more'); ?>
432
- </label>
433
- </li>
434
- </ul>
435
- </div>
436
- </div>
437
-
438
- <div class="clear"></div>
439
- <hr class="indented" />
440
-
441
- <div class="section-title">
442
- <h4><?php _e('Horizontal Order', 'ajax-load-more'); ?></h4>
443
- <p><?php _e('Lays out items to maintain left-to-right order.', 'ajax-load-more'); ?>
444
- </p>
445
- </div>
446
- <div class="wrap">
447
- <div class="inner">
448
- <ul>
449
- <li>
450
- <input class="alm_element" type="radio" name="masonry-horizontalorder" value="t" id="horizontalOrder_t" checked="checked">
451
- <label for="horizontalOrder_t"><?php _e('True', 'ajax-load-more'); ?></label>
452
- </li>
453
- <li>
454
- <input class="alm_element" type="radio" name="masonry-horizontalorder" value="f" id="horizontalOrder_f">
455
- <label for="horizontalOrder_f"><?php _e('False', 'ajax-load-more'); ?></label>
456
- </li>
457
- </ul>
458
- </div>
459
- </div>
460
-
461
- <p class="warning-callout">
462
- <?php _e('Don\'t see your favorite Masonry option listed? You can always add your own!', 'ajax-load-more'); ?>
463
- <a class="button-small" href="https://connekthq.com/plugins/ajax-load-more/docs/masonry/" target="_blank"><?php _e('View Docs', 'ajax-load-more'); ?></a>
464
- </p>
 
 
465
 
466
  </div>
467
 
@@ -559,24 +618,21 @@
559
 
560
  <div class="clear"></div>
561
 
562
- <div class="progress-bar-options">
563
-
564
- <div class="clear"></div>
565
- <hr>
566
-
567
- <div class="section-title">
568
- <h4><?php _e('Color', 'ajax-load-more'); ?> </h4>
569
- <p><?php _e('Enter the hex color of the progress bar', 'ajax-load-more'); ?>.<br/>
570
- Default: #<span>ed7070</span>
571
- </p>
572
- </div>
573
- <div class="wrap">
574
- <div class="inner" style="position: relative;">
575
- <input type="text" class="alm_element" name="progress_bar_color" id="progress_bar_color" placeholder="ed7070" value="ed7070" maxlength="6" style="padding-left: 40px;">
576
- <span class="progress_bar_color_indicator"></span>
577
- </div>
578
- </div>
579
-
580
  </div>
581
 
582
  </div>
@@ -667,11 +723,9 @@
667
  </div>
668
  <div class="clear"></div>
669
 
670
- <div class="sticky-wrap">
671
- <div style="display: block;">
672
- <div class="clear"></div>
673
- <hr/>
674
-
675
  <div class="section-title">
676
  <h4><?php _e('Sticky Posts', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Sticky posts are only available for Posts','ajax-load-more'); ?>."></a></h4>
677
  <p><?php _e('Preserve the ordering of sticky posts by having them appear first in the Ajax listing.', 'ajax-load-more'); ?></p>
@@ -685,8 +739,8 @@
685
  </li>
686
  </ul>
687
  </div>
688
- </div>
689
- </div>
690
  </div>
691
 
692
  </div>
65
  </div>
66
  </div>
67
 
68
+ <div class="clear"></div>
69
+ <hr/>
70
+
71
+ <!-- Loading Style -->
72
+ <?php
73
+ $loading_style = (isset($alm_options['_alm_btn_color'])) ? $alm_options['_alm_btn_color'] : 'default';
74
+ $selected = ' selected="selected"';
75
+ ?>
76
+ <div class="section-title">
77
+ <h4><?php _e('Button/Loading Style', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('You can define a global button/loading style on the Ajax Load More settings screen','ajax-load-more'); ?>."></a></h4>
78
+ <p><?php _e('Select an Ajax loading style - you can choose between a Button or Infinite Scroll.', 'ajax-load-more'); ?></p>
79
+ </div>
80
+ <div class="wrap">
81
+ <div class="inner">
82
+ <select id="loading-style" class="alm_element" data-default="<?php echo $loading_style; ?>">
83
+ <optgroup label="<?php _e('Button', 'ajax-load-more'); ?>">
84
+ <option value="default" class="alm-color default"<?php echo ($loading_style === 'default') ? $selected : ''; ?>>Default</option>
85
+ <option value="blue" class="alm-color blue"<?php echo ($loading_style === 'blue') ? $selected : ''; ?>>Blue</option>
86
+ <option value="green" class="alm-color green"<?php echo ($loading_style === 'green') ? $selected : ''; ?>>Green</option>
87
+ <option value="purple" class="alm-color purple"<?php echo ($loading_style === 'purple') ? $selected : ''; ?>>Purple</option>
88
+ <option value="grey" class="alm-color grey"<?php echo ($loading_style === 'grey') ? $selected : ''; ?>>Grey</option>
89
+ </optgroup>
90
+ <optgroup label="<?php _e('Infinite Scroll (No Button)', 'ajax-load-more'); ?>">
91
+ <option value="infinite classic" class="infinite classic"<?php echo ($loading_style === 'infinite classic') ? $selected : ''; ?>>Classic</option>
92
+ <option value="infinite skype" class="infinite skype"<?php echo ($loading_style === 'infinite skype') ? $selected : ''; ?>>Skype</option>
93
+ <option value="infinite ring" class="infinite ring"<?php echo ($loading_style === 'infinite ring') ? $selected : ''; ?>>Circle Fill</option>
94
+ <option value="infinite fading-blocks" class="infinite fading-blocks"<?php echo ($loading_style === 'infinite fading-blocks') ? $selected : ''; ?>>Fading Blocks</option>
95
+ <option value="infinite fading-circles" class="infinite fading-circles"<?php echo ($loading_style === 'infinite fading-circles') ? $selected : ''; ?>>Fading Circles</option>
96
+ <option value="infinite chasing-arrows" class="infinite chasing-arrows"<?php echo ($loading_style === 'infinite chasing-arrows') ? $selected : ''; ?>>Chasing Arrows</option>
97
+ </optgroup>
98
+ </select>
99
+ <div class="clear"></div>
100
+ <div class="alm-btn-wrap">
101
+ <div class="ajax-load-more-wrap core target <?php echo $loading_style; ?>" data-base="ajax-load-more-wrap core ">
102
+ <span><?php _e('Preview', 'ajax-load-more'); ?></span>
103
+ <button class="alm-load-more-btn loading" disabled="disabled">
104
+ <?php echo apply_filters('alm_button_label', __('Older Posts', 'ajax-load-more')) ;?>
105
+ </button>
106
+ </div>
107
+ </div>
108
+ </div>
109
+ </div>
110
+
111
  <div class="clear"></div>
112
  <hr/>
113
 
175
 
176
  <!-- Nested ALM -->
177
  <div class="section-title">
178
+ <h4><?php _e('Nested Instance', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('When nesting ALM instances it\'s important to set this to true as it removes any problematic JavaScript functionality.','ajax-load-more'); ?>"></a></h4>
179
  <p><?php _e('Is this instance of Ajax Load More nested inside another instance of Ajax Load More?', 'ajax-load-more'); ?></p>
180
  </div>
181
  <div class="wrap">
199
  <!-- No Results -->
200
  <div class="section-title">
201
  <h4><?php _e('No Results Text', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('HTML is allowed, however when adding quote marks in classnames or IDs you must single quotes as shown in the example.','ajax-load-more'); ?>"></a></h4>
202
+ <p><?php _e('Add text/html to be displayed when no results are returned in the Ajax query.', 'ajax-load-more'); ?><br/><small><?php _e('e.g. &lt;div class=\'no-results\'>Sorry, nothing found in this query&lt;/div>', 'ajax-load-more'); ?></small></p>
203
  </div>
204
  <div class="wrap">
205
  <div class="inner">
291
  <div class="row checkbox scroll_load" id="alm-scroll">
292
  <h3 class="heading" tabindex="0"><?php _e('Scrolling', 'ajax-load-more'); ?></h3>
293
  <div class="expand-wrap">
294
+
295
  <div class="section-title">
296
  <h4><?php _e('Enable Scrolling', 'ajax-load-more'); ?></h4>
297
  <p><?php _e('Load more posts as the user scrolls the page.', 'ajax-load-more'); ?></p>
310
  </ul>
311
  </div>
312
  </div>
313
+
314
  <div class="clear"></div>
315
+
316
+ <div class="scrolling-options nested-component">
317
+ <div class="nested-component--inner">
318
+
319
+ <!-- Scroll Distance -->
320
+ <div class="scroll_distance">
321
+ <div class="section-title">
322
+ <h4><?php _e('Scroll Distance', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Distance is based on the position of the loading button from the bottom of the screen','ajax-load-more'); ?>."></a></h4>
323
+ <p><?php _e('The distance from the bottom of the screen to trigger loading of posts. (Default = 100)', 'ajax-load-more'); ?></p>
324
+ </div>
325
+ <div class="wrap">
326
+ <div class="inner">
327
+ <input type="number" class="alm_element numbers-only" name="scroll-distance" id="scroll-distance" step="10" min="0" value="100">
328
+ </div>
329
+ </div>
330
+ </div>
331
+
332
+ <div class="scroll_container">
333
+ <div class="clear"></div>
334
+ <hr>
335
+
336
+ <!-- Scroll Container -->
337
+ <div class="section-title">
338
+ <h4><?php _e('Scroll Container', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Confine Ajax Load More scrolling to a parent container','ajax-load-more'); ?>."></a></h4>
339
+ <p><?php _e('Enter the ID or classname of the parent container', 'ajax-load-more'); ?></p>
340
+ </div>
341
+ <div class="wrap">
342
+ <div class="inner">
343
+ <input type="text" class="alm_element" name="scroll-container" id="scroll-container" placeholder="#my-div">
344
+ </div>
345
+ </div>
346
+ </div>
347
+
348
+ <!-- Max Pages -->
349
+ <div class="max_pages">
350
+ <div class="clear"></div>
351
+ <hr>
352
+ <div class="section-title">
353
+ <h4><?php _e('Maximum Pages', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('If using an Infinite Scroll button style you should set this to 0','ajax-load-more'); ?>."></a></h4>
354
+ <p><?php _e('Maximum number of pages to load while scrolling. (0 = unlimited)', 'ajax-load-more'); ?></p>
355
+ </div>
356
+ <div class="wrap">
357
+ <div class="inner">
358
+ <input type="number" class="alm_element numbers-only" name="max-select" id="max-select" step="1" min="0" value="0">
359
+ </div>
360
+ </div>
361
+ </div>
362
+
363
+ <!-- Pause Override -->
364
+ <div class="pause_override">
365
+ <div class="clear"></div>
366
+ <hr>
367
+ <div class="section-title">
368
+ <h4><?php _e('Pause Override', 'ajax-load-more'); ?></h4>
369
+ <p><?php _e('Allow scrolling to override the Pause parameter and trigger the loading of posts on scroll.', 'ajax-load-more'); ?></p>
370
+ </div>
371
+ <div class="wrap">
372
+ <ul>
373
+ <li>
374
+ <input class="alm_element" type="radio" name="pause_override" value="t" id="pause_override_t">
375
+ <label for="pause_override_t"><?php _e('True', 'ajax-load-more'); ?></label>
376
+ </li>
377
+ <li>
378
+ <input class="alm_element" type="radio" name="pause_override" value="f" id="pause_override_f" checked="checked">
379
+ <label for="pause_override_f"><?php _e('False', 'ajax-load-more'); ?></label>
380
+ </li>
381
+ </ul>
382
+ </div>
383
+ </div>
384
+ </div>
385
  </div>
386
  </div>
387
  </div>
407
 
408
  <div class="clear"></div>
409
 
410
+ <div class="masonry-options nested-component" style="display: none;">
411
+ <div class="nested-component--inner">
412
+
413
+ <div class="section-title full" style="padding-bottom: 10px;">
414
+ <h4><?php _e('Masonry Options', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Ajax Load More does not support all available Masonry options','ajax-load-more'); ?>."></a></h4>
415
+ <p><?php _e('The following Masonry <a href="https://masonry.desandro.com/options.html" target="_blank">options</a> are supported by Ajax Load More.', 'ajax-load-more'); ?></p>
416
+ </div>
417
+ <div class="clear"></div>
418
+
419
+ <div class="section-title">
420
+ <h4><?php _e('Item Selector', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Item Selector is required for Masonry to target each element loaded with Ajax.','ajax-load-more'); ?>"></a></h4>
421
+ <p><?php _e('Enter the target classname of each masonry item.', 'ajax-load-more'); ?><br/>
422
+ e.g <span>.grid-item</span>
423
+ </p>
424
+ </div>
425
+ <div class="wrap">
426
+ <div class="inner">
427
+ <input type="text" class="alm_element" name="masonry-item" id="masonry-item" placeholder=".grid-item">
428
+ </div>
429
+ </div>
430
+
431
+ <div class="clear"></div>
432
+ <hr class="indented" />
433
+
434
+ <div class="section-title">
435
+ <h4><?php _e('Column Width', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('If columnWidth is not set, Masonry will use the outer width of the first Item Selector.','ajax-load-more'); ?>"></a></h4>
436
+ <p><?php _e('Enter the <a href="https://masonry.desandro.com/options.html#columnwidth" target="_blank">columnWidth</a> of the masonry items.', 'ajax-load-more'); ?><br/>
437
+ e.g <span>80</span>
438
+ </p>
439
+ </div>
440
+ <div class="wrap">
441
+ <div class="inner">
442
+ <input type="number" class="alm_element numbers-only" name="masonry-columnwidth" id="masonry-columnwidth" placeholder="80" min="0" step="1">
443
+ </div>
444
+ </div>
445
+
446
+ <div class="clear"></div>
447
+ <hr class="indented" />
448
+
449
+ <div class="section-title">
450
+ <h4><?php _e('Animation Type', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('All Masonry animations include a fade-in effect as items are loaded.','ajax-load-more'); ?>"></a></h4>
451
+ <p><?php _e('Select a loading transition for Masonry items.', 'ajax-load-more'); ?></p>
452
+ </div>
453
+ <div class="wrap">
454
+ <div class="inner">
455
+ <ul>
456
+ <li style="width:100%;">
457
+ <input class="alm_element" type="radio" name="masonry-animation" value="default" id="masonry-animation-default" checked="checked">
458
+ <label for="masonry-animation-default">
459
+ <?php _e('Default (Zoom)', 'ajax-load-more'); ?>
460
+ <span class="description"><?php _e('Items scale up from 50% to 100% size on load.','ajax-load-more'); ?></span>
461
+ </label>
462
+ </li>
463
+ <li style="width:100%;">
464
+ <input class="alm_element" type="radio" name="masonry-animation" value="zoom-out" id="masonry-animation-zoom-out">
465
+ <label for="masonry-animation-zoom-out">
466
+ <?php _e('Zoom Out', 'ajax-load-more'); ?>
467
+ <span class="description"><?php _e('Items scale down from 125% to 100% size on load.','ajax-load-more'); ?></span>
468
+ </label>
469
+ </li>
470
+ <li style="width:100%;">
471
+ <input class="alm_element" type="radio" name="masonry-animation" value="slide-up" id="masonry-animation-up">
472
+ <label for="masonry-animation-up">
473
+ <?php _e('Slide Up', 'ajax-load-more'); ?>
474
+ <span class="description"><?php _e('Items animate up as they are loaded into view.','ajax-load-more'); ?></span>
475
+ </label>
476
+ </li>
477
+ <li style="width:100%;">
478
+ <input class="alm_element" type="radio" name="masonry-animation" value="slide-down" id="masonry-animation-down">
479
+ <label for="masonry-animation-down">
480
+ <?php _e('Slide Down', 'ajax-load-more'); ?>
481
+ <span class="description"><?php _e('Items animate down when loaded into view.','ajax-load-more'); ?></span>
482
+ </label>
483
+ </li>
484
+ <li style="width:100%;">
485
+ <input class="alm_element" type="radio" name="masonry-animation" value="none" id="masonry-animation-none">
486
+ <label for="masonry-animation-none">
487
+ <?php _e('None', 'ajax-load-more'); ?>
488
+ </label>
489
+ </li>
490
+ </ul>
491
+ </div>
492
+ </div>
493
+
494
+ <div class="clear"></div>
495
+ <hr class="indented" />
496
+
497
+ <div class="section-title">
498
+ <h4><?php _e('Horizontal Order', 'ajax-load-more'); ?></h4>
499
+ <p><?php _e('Lays out items to maintain left-to-right order.', 'ajax-load-more'); ?>
500
+ </p>
501
+ </div>
502
+ <div class="wrap">
503
+ <div class="inner">
504
+ <ul>
505
+ <li>
506
+ <input class="alm_element" type="radio" name="masonry-horizontalorder" value="t" id="horizontalOrder_t" checked="checked">
507
+ <label for="horizontalOrder_t"><?php _e('True', 'ajax-load-more'); ?></label>
508
+ </li>
509
+ <li>
510
+ <input class="alm_element" type="radio" name="masonry-horizontalorder" value="f" id="horizontalOrder_f">
511
+ <label for="horizontalOrder_f"><?php _e('False', 'ajax-load-more'); ?></label>
512
+ </li>
513
+ </ul>
514
+ </div>
515
+ </div>
516
+ <div class="clear"></div>
517
+ <hr/>
518
+ <p class="warning-callout">
519
+ <?php _e('Don\'t see your favorite Masonry option listed? You can always add your own!', 'ajax-load-more'); ?>
520
+ <a class="button-small" href="https://connekthq.com/plugins/ajax-load-more/docs/masonry/" target="_blank"><?php _e('View Docs', 'ajax-load-more'); ?></a>
521
+ </p>
522
+
523
+ </div>
524
 
525
  </div>
526
 
618
 
619
  <div class="clear"></div>
620
 
621
+ <div class="progress-bar-options nested-component" style="display: none;">
622
+ <div class="nested-component--inner">
623
+ <div class="section-title">
624
+ <h4><?php _e('Color', 'ajax-load-more'); ?> </h4>
625
+ <p><?php _e('Enter the hex color of the progress bar', 'ajax-load-more'); ?>.<br/>
626
+ <?php _e('Default:', 'ajax-load-more'); ?> #<span>ed7070</span>
627
+ </p>
628
+ </div>
629
+ <div class="wrap">
630
+ <div class="inner" style="position: relative;">
631
+ <input type="text" class="alm_element" name="progress_bar_color" id="progress_bar_color" placeholder="ed7070" value="ed7070" maxlength="6" style="padding-left: 40px;">
632
+ <span class="progress_bar_color_indicator"></span>
633
+ </div>
634
+ </div>
635
+ </div>
 
 
 
636
  </div>
637
 
638
  </div>
723
  </div>
724
  <div class="clear"></div>
725
 
726
+ <!-- Sticky Posts -->
727
+ <div class="sticky-wrap nested-component">
728
+ <div class="nested-component--inner">
 
 
729
  <div class="section-title">
730
  <h4><?php _e('Sticky Posts', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Sticky posts are only available for Posts','ajax-load-more'); ?>."></a></h4>
731
  <p><?php _e('Preserve the ordering of sticky posts by having them appear first in the Ajax listing.', 'ajax-load-more'); ?></p>
739
  </li>
740
  </ul>
741
  </div>
742
+ </div>
743
+ </div>
744
  </div>
745
 
746
  </div>
admin/src/js/admin.js CHANGED
@@ -137,7 +137,6 @@ jQuery(document).ready(function($) {
137
  *
138
  * @since 2.8.4
139
  */
140
-
141
  $('body').on('mouseenter', '.tooltip:not(.tooltipstered)', function(){
142
  $(this).tooltipster({
143
  delay: 100,
@@ -310,9 +309,12 @@ jQuery(document).ready(function($) {
310
  var almActivating = false;
311
  $(document).on('click', '.license-btn', function(e){
312
  e.preventDefault();
 
313
  if(!almActivating){
 
314
  $('.license-btn-wrap .msg').remove();
315
  almActivating = true;
 
316
  var el = $(this),
317
  wrap = el.closest('.license-btn-wrap'),
318
  parent = el.closest('.license'),
@@ -354,13 +356,16 @@ jQuery(document).ready(function($) {
354
  $('.license-key-field .status', parent).addClass('active').removeClass('inactive').text(alm_admin_localize.active);
355
  $('.license-title .status', parent).addClass('valid').removeClass('invalid');
356
  $('.activate.license-btn', parent).addClass('hide');
 
357
  $('.deactivate.license-btn', parent).removeClass('hide');
 
358
  $('.no-license', parent).slideUp(200);
359
 
360
  }else{
361
  $('.license-key-field .status', parent).removeClass('active').addClass('inactive').text(alm_admin_localize.inactive);
362
  $('.license-title .status', parent).removeClass('valid').addClass('invalid');
363
  $('.activate.license-btn', parent).removeClass('hide');
 
364
  $('.deactivate.license-btn', parent).addClass('hide');
365
  $('.no-license', parent).slideDown(200);
366
  }
@@ -369,6 +374,7 @@ jQuery(document).ready(function($) {
369
  almActivating = false;
370
 
371
  },
 
372
  error: function(xhr, status, error) {
373
  console.log(status);
374
  $('.loading', parent).delay(250).fadeOut(300);
@@ -453,7 +459,8 @@ jQuery(document).ready(function($) {
453
  $(document).on('click', '.alm-notification--dismiss', function(e){
454
  e.preventDefault();
455
  var el = $(this),
456
- container = el.parent('.group');
 
457
  // Get value from Ajax
458
  $.ajax({
459
  type: 'POST',
137
  *
138
  * @since 2.8.4
139
  */
 
140
  $('body').on('mouseenter', '.tooltip:not(.tooltipstered)', function(){
141
  $(this).tooltipster({
142
  delay: 100,
309
  var almActivating = false;
310
  $(document).on('click', '.license-btn', function(e){
311
  e.preventDefault();
312
+
313
  if(!almActivating){
314
+
315
  $('.license-btn-wrap .msg').remove();
316
  almActivating = true;
317
+
318
  var el = $(this),
319
  wrap = el.closest('.license-btn-wrap'),
320
  parent = el.closest('.license'),
356
  $('.license-key-field .status', parent).addClass('active').removeClass('inactive').text(alm_admin_localize.active);
357
  $('.license-title .status', parent).addClass('valid').removeClass('invalid');
358
  $('.activate.license-btn', parent).addClass('hide');
359
+ $('.check-licence.license-btn', parent).addClass('hide');
360
  $('.deactivate.license-btn', parent).removeClass('hide');
361
+ $('.renew-btn', parent).addClass('hide');
362
  $('.no-license', parent).slideUp(200);
363
 
364
  }else{
365
  $('.license-key-field .status', parent).removeClass('active').addClass('inactive').text(alm_admin_localize.inactive);
366
  $('.license-title .status', parent).removeClass('valid').addClass('invalid');
367
  $('.activate.license-btn', parent).removeClass('hide');
368
+ $('.check-licence.license-btn', parent).addClass('hide');
369
  $('.deactivate.license-btn', parent).addClass('hide');
370
  $('.no-license', parent).slideDown(200);
371
  }
374
  almActivating = false;
375
 
376
  },
377
+
378
  error: function(xhr, status, error) {
379
  console.log(status);
380
  $('.loading', parent).delay(250).fadeOut(300);
459
  $(document).on('click', '.alm-notification--dismiss', function(e){
460
  e.preventDefault();
461
  var el = $(this),
462
+ container = el.parent('.cta');
463
+
464
  // Get value from Ajax
465
  $.ajax({
466
  type: 'POST',
admin/src/scss/_variables.scss CHANGED
@@ -5,6 +5,7 @@ $green: #63ccb2;
5
  $green_hover: #57bda4;
6
  $yellow: #ffffe8;
7
  $yellow_dark: #e4e4c8;
 
8
 
9
  $small: 480px;
10
 
5
  $green_hover: #57bda4;
6
  $yellow: #ffffe8;
7
  $yellow_dark: #e4e4c8;
8
+ $red: #e06464;
9
 
10
  $small: 480px;
11
 
admin/src/scss/admin.scss CHANGED
@@ -658,7 +658,7 @@ a.button-small{
658
  top: 14px;
659
  font-size: 12px;
660
  display: inline-block;
661
- background-color: rgba(255, 255, 255, 0.65);
662
  margin: 0 0 0 10px;
663
  &:hover,
664
  &:focus{
@@ -903,18 +903,55 @@ a.button-small{
903
  overflow: hidden;
904
  clear: both;
905
  border: 1px solid #efefef;
906
- -webkit-border-radius: 2px;
907
- -moz-border-radius: 2px;
908
  border-radius: 2px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
909
  }
910
  .ajax-load-more#alm-repeaters .row{
911
  overflow: visible;
912
  }
913
- .ajax-load-more .row.no-brd{
914
- border: none !important;
915
- padding: 0 !important;
916
- }
917
-
918
  .admin.ajax-load-more .row,
919
  .forceColors .ajax-load-more .row{
920
  border-color: #e1e1e1;
@@ -1380,27 +1417,27 @@ hr.indented{ // Indented as fake padding in shortcode builder
1380
  }
1381
  .admin.ajax-load-more .ajax-load-more-wrap {
1382
  position: relative;
1383
- top: 10px;
1384
- padding: 20px;
1385
- border: 1px dashed #ccc;
1386
  display: inline-block;
1387
  margin-top:10px;
1388
  margin-bottom: 10px;
1389
- }
1390
-
1391
- .admin.ajax-load-more .ajax-load-more-wrap.preview-pane.none{
1392
- display: none;
1393
- }
1394
- .admin.ajax-load-more .ajax-load-more-wrap button{
1395
  margin: 0 !important;
1396
  }
1397
- .admin.ajax-load-more .ajax-load-more-wrap > span{
1398
  display: block;
1399
- font-size: 11px;
 
1400
  opacity: 0.7;
1401
  padding: 0 0 8px;
1402
  text-transform: uppercase;
1403
  }
 
1404
 
1405
  .admin.ajax-load-more.settings .ajax-load-more-wrap.pages{}
1406
  .admin.ajax-load-more.settings .ajax-load-more-wrap.pages li{
@@ -1939,8 +1976,8 @@ table.highlight{
1939
  position: relative;
1940
  }
1941
  .license-title .status{
1942
- width: 12px;
1943
- height: 12px;
1944
  -webkit-border-radius: 100%;
1945
  -moz-border-radius: 100%;
1946
  border-radius: 100%;
@@ -1948,15 +1985,15 @@ table.highlight{
1948
  position: absolute;
1949
  left: 15px;
1950
  top: 50%;
1951
- margin-top: -6px;
1952
  box-shadow: inset 0 -6px 6px rgba(0, 0, 0, 0.05), 0 1px 0 #fff;
1953
  }
1954
  .license-title .status.valid{
1955
- background-color: #acd481;
1956
  }
1957
  .license h2{
1958
  margin: 0;
1959
- padding: 15px 15px 15px 35px;
1960
  font-size: 16px;
1961
  font-weight: 600;
1962
  line-height: 1.2;
@@ -2007,7 +2044,8 @@ table.highlight{
2007
  z-index: 9;
2008
  display: none;
2009
  }
2010
- .license-btn.hide{
 
2011
  display: none;
2012
  }
2013
  .license-btn-wrap{
@@ -2015,9 +2053,11 @@ table.highlight{
2015
  }
2016
  .license-btn-wrap .msg{
2017
  display: block;
2018
- padding: 10px 0 0;
2019
  font-size: 14px;
2020
- line-height: 18px;
 
 
2021
  }
2022
  .license-btn-wrap .msg strong{
2023
  display: block;
@@ -2067,9 +2107,10 @@ table.highlight{
2067
  line-height: 1.3;
2068
  color: #fff;
2069
  border-color: #999;
 
2070
  }
2071
  .license-key-field .status.active{
2072
- background-color: #acd481;
2073
  }
2074
  .license-key-field .status.inactive{
2075
  background-color: #d45656;
@@ -2132,6 +2173,11 @@ table.highlight{
2132
  .ajax-load-more .cnkt-sidebar .cta-inner{
2133
  padding: 20px;
2134
  display: block;
 
 
 
 
 
2135
  }
2136
  .ajax-load-more .cnkt-sidebar .cta-inner.padding-bottom{
2137
  padding-bottom: 80px;
@@ -2434,6 +2480,11 @@ table.highlight{
2434
 
2435
 
2436
 
 
 
 
 
 
2437
 
2438
  /*
2439
  * Delete Template (Unlimited Repeaters
@@ -2860,7 +2911,7 @@ p.theme-title{
2860
  .ajax-load-more .form-table input[type=checkbox] + label,
2861
  .shortcode-builder input[type=radio] + label,
2862
  .ajax-load-more .form-table input[type=radio] + label{
2863
- background: #fff url('../../img/bkg-chkbox_off.png') no-repeat left 1px;
2864
  height: auto;
2865
  min-height: 23px;
2866
  width: 100%;
@@ -2879,16 +2930,20 @@ p.theme-title{
2879
  }
2880
  .shortcode-builder input[type=radio] + label,
2881
  .ajax-load-more .form-table input[type=radio] + label{
2882
- background: #fff url('../../img/bkg-radio_off.png') no-repeat left 2px;
2883
  }
2884
 
2885
  .shortcode-builder input[type=checkbox]:hover + label,
2886
- .ajax-load-more .form-table input[type=checkbox]:hover + label{ /* hover */
 
 
2887
  background-image: url('../../img/bkg-chkbox_on.png');
2888
  }
2889
 
2890
  .shortcode-builder input[type=radio]:hover + label,
2891
- .ajax-load-more .form-table input[type=radio]:hover + label{ /* hover */
 
 
2892
  background-image: url('../../img/bkg-radio_on.png');
2893
  }
2894
 
@@ -3537,15 +3592,19 @@ p.theme-title{
3537
 
3538
  /* share-alm */
3539
  .alm-notification{
3540
- background: #6199c3 !important;
3541
- border-color: #3f7d9a !important;
3542
- padding: 20px;
3543
- margin: 0 0 20px;
 
3544
  &:hover{
3545
  a.dismiss{
3546
  opacity: 0.7;
3547
  }
3548
  }
 
 
 
3549
  .dotted{
3550
  border: none;
3551
  border-bottom: 1px dashed #ccc;
@@ -3557,8 +3616,11 @@ p.theme-title{
3557
  line-height: 1.25;
3558
  position: relative;
3559
  color: #fff;
3560
- font-size: 22px;
3561
- margin: 0 0 10px;
 
 
 
3562
  span{
3563
  position: absolute;
3564
  left: 0;
@@ -3573,15 +3635,9 @@ p.theme-title{
3573
  }
3574
 
3575
  p{
3576
- color: #ddeaf1;
3577
  font-size: 14px;
3578
- padding-left: 33px;
3579
  margin: 0 0 20px;
3580
- @media screen and (max-width: $small){
3581
- padding-left: 0;
3582
- }
3583
  a{
3584
- color: #fff;
3585
  font-weight: 600;
3586
  &:hover,
3587
  &:focus{
@@ -3590,27 +3646,41 @@ p.theme-title{
3590
  }
3591
  &.opening{
3592
  font-size: 18px;
3593
- margin: 0 0 13px;
3594
  font-weight: 300;
 
3595
  }
3596
  }
 
 
 
 
 
 
 
 
 
 
3597
 
3598
  ul.share{
3599
- margin: 0 0 10px;
3600
- padding: 0 0 0 32px;
3601
  width: auto;
3602
  clear: both;
3603
- display: inline-block;
 
 
3604
  overflow: visible;
3605
  text-align: left;
3606
  width: 100%;
3607
  height: auto;
3608
- @media screen and (max-width: $small){
3609
- padding: 0;
3610
- }
3611
  li{
 
3612
  background: none;
3613
- display: inline-block;
3614
  vertical-align: top;
3615
  height: auto;
3616
  line-height: 40px;
@@ -3622,45 +3692,35 @@ p.theme-title{
3622
  color: #787878;
3623
  width: auto;
3624
  text-align: center;
3625
- margin: 12px 10px 0 0 !important;
3626
  padding: 0;
3627
- @media screen and (max-width: $small){
3628
- display: block;
3629
- width: 100%;
 
3630
  }
3631
  a{
3632
  display: block;
3633
- line-height: 40px;
3634
- height: 40px;
3635
- width: auto;
3636
- padding: 0 15px 0 47px;
3637
  text-decoration: none;
3638
  color: #fff;
3639
  text-align: center;
3640
  background: none;
3641
- border-radius: 3px;
3642
  position: relative;
3643
- font-weight: 600;
3644
- background: #33cf92;
3645
- box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.075), inset 0 0 1px rgba(255, 255, 255, 0.2);
3646
- @media screen and (min-width: 1500px){
3647
- padding: 0 25px 0 50px;
3648
- }
3649
- &:hover{
3650
- background-color: #45dfa3;
3651
  }
3652
  i{
3653
- font-size: 20px;
3654
- line-height: 41px;
3655
- height: 40px;
3656
- width: 35px;
3657
- position: absolute;
3658
- top: 0;
3659
- left: 0;
3660
- text-align: center;
3661
- border-right: 1px solid rgba(0, 0, 0, 0.1);
3662
- background-color: rgba(0, 0, 0, 0.1);
3663
- border-radius: 2px 0 0 2px;
3664
  }
3665
  &:hover,
3666
  &:hover i{
@@ -3672,16 +3732,16 @@ p.theme-title{
3672
  }
3673
  }
3674
  &.twitter a{
3675
- background: #00aced;
3676
  }
3677
  &.twitter a:hover{
3678
- background: #13beff !important;
3679
  }
3680
  &.facebook a{
3681
- background: #3b5998;
3682
  }
3683
  &.facebook a:hover{
3684
- background: #466cbc !important;
3685
  }
3686
  }
3687
  }
@@ -3697,7 +3757,7 @@ p.theme-title{
3697
  line-height: 30px;
3698
  padding: 0;
3699
  text-align: center;
3700
- color: #fff;
3701
  border-right: none;
3702
  border-top: none;
3703
  display: block;
@@ -3706,7 +3766,7 @@ p.theme-title{
3706
  opacity: 0.3;
3707
  &:hover,
3708
  &:focus{
3709
- color: #fff;
3710
  opacity: 1;
3711
  }
3712
  }
@@ -3728,7 +3788,7 @@ p.theme-title{
3728
  position: absolute;
3729
  left: 70px;
3730
  top: -20px;
3731
- background: #fefeed;
3732
  color: #333;
3733
  width: 40px;
3734
  height: 40px;
@@ -3741,6 +3801,7 @@ p.theme-title{
3741
  border-radius: 100%;
3742
  text-transform: uppercase;
3743
  border: 1px solid #e1e1e1;
 
3744
  font-size: 13px;
3745
  }
3746
 
658
  top: 14px;
659
  font-size: 12px;
660
  display: inline-block;
661
+ background-color: rgba(255, 255, 255, 0.75);
662
  margin: 0 0 0 10px;
663
  &:hover,
664
  &:focus{
903
  overflow: hidden;
904
  clear: both;
905
  border: 1px solid #efefef;
 
 
906
  border-radius: 2px;
907
+ &.no-brd{
908
+ border: none !important;
909
+ padding: 0 !important;
910
+ }
911
+
912
+ .nested-component{
913
+ padding: 0;
914
+ position: relative;
915
+ &:after, &:before {
916
+ top: 0;
917
+ left: 35px;
918
+ border: solid transparent;
919
+ content: " ";
920
+ height: 0;
921
+ width: 0;
922
+ position: absolute;
923
+ pointer-events: none;
924
+ }
925
+ &:after {
926
+ border-color: rgba(255, 255, 255, 0);
927
+ border-top-color: #fff;
928
+ border-width: 10px;
929
+ margin-left: -10px;
930
+ }
931
+ &:before {
932
+ border-color: rgba(239, 239, 239, 0);
933
+ border-top-color: #e1e1e1;
934
+ border-width: 11px;
935
+ margin-left: -11px;
936
+ }
937
+
938
+ &--inner{
939
+ padding: 0;
940
+ position: relative;
941
+ border-top: 1px solid #efefef;
942
+ border-left: 6px solid #f7f7f7;
943
+ &:after {
944
+ clear: both;
945
+ display: table;
946
+ content: '';
947
+ }
948
+ }
949
+ }
950
+
951
  }
952
  .ajax-load-more#alm-repeaters .row{
953
  overflow: visible;
954
  }
 
 
 
 
 
955
  .admin.ajax-load-more .row,
956
  .forceColors .ajax-load-more .row{
957
  border-color: #e1e1e1;
1417
  }
1418
  .admin.ajax-load-more .ajax-load-more-wrap {
1419
  position: relative;
1420
+ top: 5px;
1421
+ padding: 15px 17px 17px;
1422
+ border: 2px dashed #efefef;
1423
  display: inline-block;
1424
  margin-top:10px;
1425
  margin-bottom: 10px;
1426
+ &.preview-pane.none{
1427
+ display: none;
1428
+ }
1429
+ button{
 
 
1430
  margin: 0 !important;
1431
  }
1432
+ > span{
1433
  display: block;
1434
+ font-size: 10px;
1435
+ line-height: 1;
1436
  opacity: 0.7;
1437
  padding: 0 0 8px;
1438
  text-transform: uppercase;
1439
  }
1440
+ }
1441
 
1442
  .admin.ajax-load-more.settings .ajax-load-more-wrap.pages{}
1443
  .admin.ajax-load-more.settings .ajax-load-more-wrap.pages li{
1976
  position: relative;
1977
  }
1978
  .license-title .status{
1979
+ width: 13px;
1980
+ height: 13px;
1981
  -webkit-border-radius: 100%;
1982
  -moz-border-radius: 100%;
1983
  border-radius: 100%;
1985
  position: absolute;
1986
  left: 15px;
1987
  top: 50%;
1988
+ margin-top: -7px;
1989
  box-shadow: inset 0 -6px 6px rgba(0, 0, 0, 0.05), 0 1px 0 #fff;
1990
  }
1991
  .license-title .status.valid{
1992
+ background-color: #9ad682;
1993
  }
1994
  .license h2{
1995
  margin: 0;
1996
+ padding: 15px 15px 15px 38px;
1997
  font-size: 16px;
1998
  font-weight: 600;
1999
  line-height: 1.2;
2044
  z-index: 9;
2045
  display: none;
2046
  }
2047
+ .license-btn.hide,
2048
+ .renew-btn.hide{
2049
  display: none;
2050
  }
2051
  .license-btn-wrap{
2053
  }
2054
  .license-btn-wrap .msg{
2055
  display: block;
2056
+ padding: 15px 0 0;
2057
  font-size: 14px;
2058
+ line-height: 24px;
2059
+ position: relative;
2060
+ top: 4px;
2061
  }
2062
  .license-btn-wrap .msg strong{
2063
  display: block;
2107
  line-height: 1.3;
2108
  color: #fff;
2109
  border-color: #999;
2110
+ cursor: default;
2111
  }
2112
  .license-key-field .status.active{
2113
+ background-color: #9ad682;
2114
  }
2115
  .license-key-field .status.inactive{
2116
  background-color: #d45656;
2173
  .ajax-load-more .cnkt-sidebar .cta-inner{
2174
  padding: 20px;
2175
  display: block;
2176
+ .cta-inner{
2177
+ background-color: #f7f7f7;
2178
+ border-radius: 3px;
2179
+ border: 1px solid #e1e1e1;
2180
+ }
2181
  }
2182
  .ajax-load-more .cnkt-sidebar .cta-inner.padding-bottom{
2183
  padding-bottom: 80px;
2480
 
2481
 
2482
 
2483
+ .shortcode-builder{
2484
+ hr{
2485
+ margin: 0;
2486
+ }
2487
+ }
2488
 
2489
  /*
2490
  * Delete Template (Unlimited Repeaters
2911
  .ajax-load-more .form-table input[type=checkbox] + label,
2912
  .shortcode-builder input[type=radio] + label,
2913
  .ajax-load-more .form-table input[type=radio] + label{
2914
+ background: transparent url('../../img/bkg-chkbox_off.png') no-repeat left 1px;
2915
  height: auto;
2916
  min-height: 23px;
2917
  width: 100%;
2930
  }
2931
  .shortcode-builder input[type=radio] + label,
2932
  .ajax-load-more .form-table input[type=radio] + label{
2933
+ background: transparent url('../../img/bkg-radio_off.png') no-repeat left 2px;
2934
  }
2935
 
2936
  .shortcode-builder input[type=checkbox]:hover + label,
2937
+ .ajax-load-more .form-table input[type=checkbox]:hover + label,
2938
+ .shortcode-builder input[type=checkbox]:focus + label,
2939
+ .ajax-load-more .form-table input[type=checkbox]:focus + label{ /* hover/focus */
2940
  background-image: url('../../img/bkg-chkbox_on.png');
2941
  }
2942
 
2943
  .shortcode-builder input[type=radio]:hover + label,
2944
+ .ajax-load-more .form-table input[type=radio]:hover + label,
2945
+ .shortcode-builder input[type=radio]:focus + label,
2946
+ .ajax-load-more .form-table input[type=radio]:focus + label{ /* hover/focus */
2947
  background-image: url('../../img/bkg-radio_on.png');
2948
  }
2949
 
3592
 
3593
  /* share-alm */
3594
  .alm-notification{
3595
+ border-radius: 2px;
3596
+ &--blue{
3597
+ background: #5899de !important;
3598
+ border-color: #4b7eb5 !important;
3599
+ }
3600
  &:hover{
3601
  a.dismiss{
3602
  opacity: 0.7;
3603
  }
3604
  }
3605
+ &--inner{
3606
+ padding: 14px 20px 20px;
3607
+ }
3608
  .dotted{
3609
  border: none;
3610
  border-bottom: 1px dashed #ccc;
3616
  line-height: 1.25;
3617
  position: relative;
3618
  color: #fff;
3619
+ font-size: 15px;
3620
+ margin: 0;
3621
+ padding: 14px 20px;
3622
+ font-weight: 700;
3623
+ border-bottom: 1px solid rgba(255, 255, 255, 0.15);
3624
  span{
3625
  position: absolute;
3626
  left: 0;
3635
  }
3636
 
3637
  p{
 
3638
  font-size: 14px;
 
3639
  margin: 0 0 20px;
 
 
 
3640
  a{
 
3641
  font-weight: 600;
3642
  &:hover,
3643
  &:focus{
3646
  }
3647
  &.opening{
3648
  font-size: 18px;
3649
+ margin: 0 0 15px;
3650
  font-weight: 300;
3651
+ line-height: 1.4;
3652
  }
3653
  }
3654
+
3655
+
3656
+
3657
+ p.opener{
3658
+ color: #444;
3659
+ font-weight: 700;
3660
+ font-size: 16px;
3661
+ position: relative;
3662
+ margin: 0 0 20px;
3663
+ }
3664
 
3665
  ul.share{
3666
+ margin: 0;
3667
+ padding: 0;
3668
  width: auto;
3669
  clear: both;
3670
+ display: flex;
3671
+ flex-wrap: nowrap;
3672
+ width: 100%;
3673
  overflow: visible;
3674
  text-align: left;
3675
  width: 100%;
3676
  height: auto;
3677
+ border-radius: 0 0 3px 3px;
3678
+ background-color: $red;
3679
+ background-color: #9d87c7;
3680
  li{
3681
+ flex: 1;
3682
  background: none;
3683
+ display: block;
3684
  vertical-align: top;
3685
  height: auto;
3686
  line-height: 40px;
3692
  color: #787878;
3693
  width: auto;
3694
  text-align: center;
3695
+ margin: 0 !important;
3696
  padding: 0;
3697
+ background: none;
3698
+ border-left: 1px solid rgba(255, 255, 255, 0.15);
3699
+ &:first-of-type{
3700
+ border-left: none;
3701
  }
3702
  a{
3703
  display: block;
3704
+ line-height: 50px;
3705
+ height: 50px;
3706
+ width: 100%;
3707
+ padding: 0 10px;
3708
  text-decoration: none;
3709
  color: #fff;
3710
  text-align: center;
3711
  background: none;
3712
+ border-radius: 0;
3713
  position: relative;
3714
+ font-weight: 500;
3715
+ &:hover,
3716
+ &:focus{
3717
+ background-color: #b3a0d6 !important;
 
 
 
 
3718
  }
3719
  i{
3720
+ margin: 0 10px 0 0;
3721
+ font-size: 1.25em;
3722
+ position: relative;
3723
+ top: 1px;
 
 
 
 
 
 
 
3724
  }
3725
  &:hover,
3726
  &:hover i{
3732
  }
3733
  }
3734
  &.twitter a{
3735
+ //background: #00aced;
3736
  }
3737
  &.twitter a:hover{
3738
+ //background: #13beff !important;
3739
  }
3740
  &.facebook a{
3741
+ //background: #3b5998;
3742
  }
3743
  &.facebook a:hover{
3744
+ //background: #466cbc !important;
3745
  }
3746
  }
3747
  }
3757
  line-height: 30px;
3758
  padding: 0;
3759
  text-align: center;
3760
+ color: #ccc;
3761
  border-right: none;
3762
  border-top: none;
3763
  display: block;
3766
  opacity: 0.3;
3767
  &:hover,
3768
  &:focus{
3769
+ color: #999;
3770
  opacity: 1;
3771
  }
3772
  }
3788
  position: absolute;
3789
  left: 70px;
3790
  top: -20px;
3791
+ background: #f7f7f7;
3792
  color: #333;
3793
  width: 40px;
3794
  height: 40px;
3801
  border-radius: 100%;
3802
  text-transform: uppercase;
3803
  border: 1px solid #e1e1e1;
3804
+ box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
3805
  font-size: 13px;
3806
  }
3807
 
admin/views/licenses.php CHANGED
@@ -40,6 +40,7 @@
40
  $addon_count = 0;
41
 
42
  foreach($addons as $addon){
 
43
  $name = $addon['name'];
44
  $intro = $addon['intro'];
45
  $desc = $addon['desc'];
@@ -47,19 +48,34 @@
47
  $key = $addon['key'];
48
  $license = get_option($key);
49
  $status = $addon['status'];
50
- $license_status = get_option($status);
51
  $settings_field = $addon['settings_field'];
52
  $url = $addon['url'];
53
  $img = $addon['img'];
54
- $item_id = $addon['item_id'];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
 
56
- if(has_action($action)){
57
- $addon_count++;
58
  ?>
59
 
60
  <div class="license" id="license-<?php echo sanitize_title_with_dashes($name); ?>">
61
  <div class="license-title">
62
- <div class="status <?php if($license_status == 'valid'){echo 'valid';}else{echo 'invalid';} ?> "></div>
63
  <h2><?php echo $name; ?></h2>
64
  </div>
65
  <div class="license-wrap">
@@ -85,7 +101,13 @@
85
  </span>
86
  <?php } else { ?>
87
  <span class="status inactive">
88
- <?php _e('Inactive', 'ajax-load-more'); ?>
 
 
 
 
 
 
89
  </span>
90
  <?php } ?>
91
  </div>
@@ -107,15 +129,20 @@
107
  <button type="button" class="deactivate license-btn <?php if($license_status !== 'valid'){ echo 'hide'; } ?> button-secondary" data-type="deactivate">
108
  <?php _e('Deactivate License', 'ajax-load-more'); ?>
109
  </button>
110
- </div>
 
 
 
 
 
 
 
111
  </form>
112
  </div>
113
  <div class="loading"></div>
114
- </div>
115
- <?php } ?>
116
  <?php } unset($addons); ?>
117
 
118
-
119
  <?php
120
  // No add-ons installed
121
  if($addon_count == 0) :
@@ -138,7 +165,7 @@
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>
40
  $addon_count = 0;
41
 
42
  foreach($addons as $addon){
43
+
44
  $name = $addon['name'];
45
  $intro = $addon['intro'];
46
  $desc = $addon['desc'];
48
  $key = $addon['key'];
49
  $license = get_option($key);
50
  $status = $addon['status'];
 
51
  $settings_field = $addon['settings_field'];
52
  $url = $addon['url'];
53
  $img = $addon['img'];
54
+ $item_id = $addon['item_id'];
55
+
56
+
57
+ // If installed
58
+ if(!has_action($action)){
59
+ continue;
60
+ }
61
+
62
+ $addon_count++;
63
+
64
+
65
+ // Get plugin transient for license status
66
+ if(get_transient( "alm_{$item_id}_{$license}")){
67
+ // Exists
68
+ $license_status = get_transient( "alm_{$item_id}_{$license}");
69
+ }else{
70
+ // Check license
71
+ $license_status = alm_license_check($item_id, $license, $status);
72
+ }
73
 
 
 
74
  ?>
75
 
76
  <div class="license" id="license-<?php echo sanitize_title_with_dashes($name); ?>">
77
  <div class="license-title">
78
+ <div class="status <?php echo ($license_status === 'valid') ? 'valid' : 'invalid'; ?> "></div>
79
  <h2><?php echo $name; ?></h2>
80
  </div>
81
  <div class="license-wrap">
101
  </span>
102
  <?php } else { ?>
103
  <span class="status inactive">
104
+ <?php
105
+ if($license_status === 'expired'){
106
+ _e('Expired', 'ajax-load-more');
107
+ }else{
108
+ _e('Inactive', 'ajax-load-more');
109
+ }
110
+ ?>
111
  </span>
112
  <?php } ?>
113
  </div>
129
  <button type="button" class="deactivate license-btn <?php if($license_status !== 'valid'){ echo 'hide'; } ?> button-secondary" data-type="deactivate">
130
  <?php _e('Deactivate License', 'ajax-load-more'); ?>
131
  </button>
132
+ <button type="button" class="check-licence license-btn <?php if($license_status !== 'valid'){ echo 'hide'; } ?> button-secondary" data-type="check">
133
+ <i class="fa fa-refresh" aria-hidden="true"></i> <?php _e('Refresh Status', 'ajax-load-more'); ?>
134
+ </button>
135
+ <?php if($license_status === 'expired'){ ?>
136
+ <a class="button renew-btn" href="<?php echo $url; ?>" target="_blank">
137
+ <?php _e('Renew License', 'ajax-load-more'); ?></a>
138
+ <?php } ?>
139
+ </div>
140
  </form>
141
  </div>
142
  <div class="loading"></div>
143
+ </div>
 
144
  <?php } unset($addons); ?>
145
 
 
146
  <?php
147
  // No add-ons installed
148
  if($addon_count == 0) :
165
  <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>
166
  <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>
167
  <li>
168
+ <strong><?php _e('Are you having issues updating an add-on?', 'ajax-load-more'); ?></strong><br/>
169
  <?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>
170
  </ul>
171
  </div>
admin/views/settings.php CHANGED
@@ -20,7 +20,7 @@
20
  <?php //include_once( ALM_PATH . 'admin/includes/cta/sharing.php'); ?>
21
 
22
  <?php
23
- if(has_action('alm_cache_settings') || has_action('alm_layouts_installed') || has_action('alm_prev_post_settings') || has_action('alm_paging_settings') || has_action('alm_seo_settings') || has_action('alm_theme_repeaters_settings')) {
24
  ?>
25
  <div class="admin-select">
26
  <label for="alm-settings-nav" class="offscreen">
@@ -45,8 +45,10 @@
45
  echo '<option value="7">'.__('SEO', 'ajax-load-more').'</option>';
46
  if(has_action('alm_prev_post_settings'))
47
  echo '<option value="8">'.__('Single Posts', 'ajax-load-more').'</option>';
 
 
48
  if(has_action('alm_theme_repeaters_settings'))
49
- echo '<option value="9">'.__('Theme Repeaters', 'ajax-load-more').'</option>';
50
  ?>
51
  </select>
52
  </div>
@@ -56,16 +58,17 @@
56
  <?php settings_errors(); ?>
57
  <form action="options.php" method="post" id="alm_OptionsForm">
58
  <?php
59
- settings_fields( 'alm-setting-group' );
60
- do_settings_sections( 'ajax-load-more' );
61
- //get the older values, wont work the first time
62
- $options = get_option( '_alm_settings' ); ?>
 
63
  <div class="save-in-progress"></div>
64
  </form>
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'); ?>
20
  <?php //include_once( ALM_PATH . 'admin/includes/cta/sharing.php'); ?>
21
 
22
  <?php
23
+ if(has_action('alm_cache_settings') || has_action('alm_layouts_installed') || has_action('alm_prev_post_settings') || has_action('alm_paging_settings') || has_action('alm_seo_settings') || has_action('alm_tabs_settings') || has_action('alm_theme_repeaters_settings')) {
24
  ?>
25
  <div class="admin-select">
26
  <label for="alm-settings-nav" class="offscreen">
45
  echo '<option value="7">'.__('SEO', 'ajax-load-more').'</option>';
46
  if(has_action('alm_prev_post_settings'))
47
  echo '<option value="8">'.__('Single Posts', 'ajax-load-more').'</option>';
48
+ if(has_action('alm_tabs_settings'))
49
+ echo '<option value="9">'.__('Tabs', 'ajax-load-more').'</option>';
50
  if(has_action('alm_theme_repeaters_settings'))
51
+ echo '<option value="10">'.__('Theme Repeaters', 'ajax-load-more').'</option>';
52
  ?>
53
  </select>
54
  </div>
58
  <?php settings_errors(); ?>
59
  <form action="options.php" method="post" id="alm_OptionsForm">
60
  <?php
61
+ settings_fields( 'alm-setting-group' );
62
+ do_settings_sections( 'ajax-load-more' );
63
+ //get the older values, wont work the first time
64
+ $options = get_option( '_alm_settings' );
65
+ ?>
66
  <div class="save-in-progress"></div>
67
  </form>
68
 
69
  </div>
70
  <aside class="cnkt-sidebar">
71
+ <?php include_once( ALM_PATH . 'admin/includes/cta/sharing.php'); ?>
72
  <?php //include_once( ALM_PATH . 'admin/includes/cta/test.php'); ?>
73
  <?php include_once( ALM_PATH . 'admin/includes/cta/resources.php'); ?>
74
  <?php include_once( ALM_PATH . 'admin/includes/cta/dyk.php'); ?>
ajax-load-more.php CHANGED
@@ -6,15 +6,15 @@ Description: The ultimate solution to add infinite scroll functionality to your
6
  Text Domain: ajax-load-more
7
  Author: Darren Cooney
8
  Twitter: @KaptonKaos
9
- Author URI: https://connekthq.com
10
- Version: 5.1.4
11
  License: GPL
12
  Copyright: Darren Cooney & Connekt Media
13
  */
14
 
15
 
16
- define('ALM_VERSION', '5.1.4');
17
- define('ALM_RELEASE', 'August 15, 2019');
18
  define('ALM_STORE_URL', 'https://connekthq.com');
19
 
20
 
@@ -27,7 +27,7 @@ define('ALM_STORE_URL', 'https://connekthq.com');
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,7 +41,7 @@ function alm_install($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' );
@@ -73,7 +73,7 @@ function alm_create_table(){
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;
@@ -94,7 +94,7 @@ function alm_create_table(){
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
 
@@ -112,7 +112,6 @@ function alm_render($args){
112
 
113
 
114
 
115
-
116
  if( !class_exists('AjaxLoadMore') ):
117
 
118
  class AjaxLoadMore {
@@ -123,7 +122,7 @@ if( !class_exists('AjaxLoadMore') ):
123
 
124
  $this->alm_define_constants();
125
  $this->alm_includes();
126
-
127
  add_action( 'wp_ajax_alm_get_posts', array(&$this, 'alm_query_posts') );
128
  add_action( 'wp_ajax_nopriv_alm_get_posts', array(&$this, 'alm_query_posts') );
129
  add_action( 'wp_enqueue_scripts', array(&$this, 'alm_enqueue_scripts') );
@@ -134,7 +133,7 @@ if( !class_exists('AjaxLoadMore') ):
134
  add_filter( 'plugin_row_meta', array(&$this, 'alm_plugin_meta_links'), 10, 2 );
135
  add_shortcode( 'ajax_load_more', array(&$this, 'alm_shortcode') );
136
  add_filter( 'widget_text', 'do_shortcode' ); // Allow shortcodes in widget areas
137
- load_plugin_textdomain( 'ajax-load-more', false, dirname(plugin_basename( __FILE__ )).'/lang/'); //load text domain
138
 
139
  }
140
 
@@ -169,6 +168,7 @@ if( !class_exists('AjaxLoadMore') ):
169
  if (!defined('ALM_PREV_POST_ITEM_NAME')) define('ALM_PREV_POST_ITEM_NAME', '9686');
170
  if (!defined('ALM_RESTAPI_ITEM_NAME')) define('ALM_RESTAPI_ITEM_NAME', '17105'); // Deprecated
171
  if (!defined('ALM_SEO_ITEM_NAME')) define('ALM_SEO_ITEM_NAME', '3482');
 
172
  if (!defined('ALM_THEME_REPEATERS_ITEM_NAME')) define('ALM_THEME_REPEATERS_ITEM_NAME', '8860');
173
  if (!defined('ALM_USERS_ITEM_NAME')) define('ALM_USERS_ITEM_NAME', '32311');
174
  if (!defined('ALM_PRO_ITEM_NAME')) define('ALM_PRO_ITEM_NAME', '42166');
@@ -263,7 +263,7 @@ if( !class_exists('AjaxLoadMore') ):
263
  */
264
 
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
@@ -279,7 +279,7 @@ if( !class_exists('AjaxLoadMore') ):
279
  include( dirname( __FILE__ ) . '/vendor/EDD_SL_Plugin_Updater.php' );
280
  }
281
  }
282
-
283
  }
284
 
285
 
@@ -369,7 +369,7 @@ if( !class_exists('AjaxLoadMore') ):
369
 
370
  // Callback Helpers
371
  wp_register_script( 'ajax-load-more-legacy-callbacks', plugins_url( '/vendor/js/alm/legacy-callbacks.js', __FILE__ ), 'jquery', '', false);
372
-
373
 
374
  // Core CSS
375
  if( !alm_do_inline_css('_alm_inline_css') && !alm_css_disabled('_alm_disable_css')){ // Not inline or disabled
@@ -379,8 +379,8 @@ if( !class_exists('AjaxLoadMore') ):
379
 
380
  // Prevent loading of unnessasry posts - move user to top of page
381
  $scrolltop = (!isset($options['_alm_scroll_top']) || $options['_alm_scroll_top'] != '1') ? 'false' : 'true';
382
-
383
-
384
  // Localized JS variables
385
  wp_localize_script(
386
  'ajax-load-more',
@@ -390,12 +390,13 @@ if( !class_exists('AjaxLoadMore') ):
390
  'alm_nonce' => wp_create_nonce( "ajax_load_more_nonce" ),
391
  'pluginurl' => ALM_URL,
392
  'scrolltop' => $scrolltop,
393
- 'speed' => apply_filters('alm_speed', 250),
 
394
  'results_text' => apply_filters('alm_display_results', __('Displaying page {num} of {total}.', 'ajax-load-more')),
395
  'no_results_text' => apply_filters('alm_no_results_text', __('No results found.', 'ajax-load-more'))
396
  )
397
  );
398
-
399
  }
400
 
401
 
@@ -423,57 +424,57 @@ if( !class_exists('AjaxLoadMore') ):
423
  public static function alm_return_shortcode_atts(){
424
  return self::$shortcode_atts;
425
  }
426
-
427
-
428
-
429
  /**
430
  * alm_query_posts
431
- * Ajax Load More Query - Legacy admin-ajax usage
432
  *
433
  * @since 2.0.0
434
- */
435
- public function alm_query_posts() {
436
-
437
  // WPML fix for category/tag/taxonomy archives
438
  if ( (isset( $_GET['category'] ) && $_GET['category']) || (isset($_GET['taxonomy']) && $_GET['taxonomy']) || (isset($_GET['tag']) && $_GET['tag']) ) {
439
  unset($_REQUEST['post_id']);
440
  }
441
-
442
  $id = (isset($_GET['id'])) ? $_GET['id'] : '';
443
  $post_id = (isset($_GET['post_id'])) ? $_GET['post_id'] : '';
444
  $slug = (isset($_GET['slug'])) ? $_GET['slug'] : '';
445
  $canonical_url = (isset($_GET['canonical_url'])) ? esc_url($_GET['canonical_url']) : esc_url($_SERVER['HTTP_REFERER']);
446
-
447
-
448
  // Ajax Query Type
449
  $queryType = (isset($_GET['query_type'])) ? $_GET['query_type'] : 'standard'; // 'standard' or 'totalposts'; totalposts returns $alm_found_posts
450
-
451
-
452
  // Cache
453
  $cache_id = (isset($_GET['cache_id'])) ? $_GET['cache_id'] : '';
454
  $cache_logged_in = (isset($_GET['cache_logged_in'])) ? $_GET['cache_logged_in'] : false;
455
  $do_create_cache = ($cache_logged_in === 'true' && is_user_logged_in()) ? false : true;
456
-
457
-
458
  // Offset
459
  $offset = (isset($_GET['offset'])) ? $_GET['offset'] : 0;
460
-
461
-
462
  // Repeater Templates
463
  $repeater = (isset($_GET['repeater'])) ? $_GET['repeater'] : 'default';
464
  $type = alm_get_repeater_type($repeater);
465
  $theme_repeater = (isset($_GET['theme_repeater'])) ? $_GET['theme_repeater'] : 'null';
466
-
467
-
468
  // Post Type
469
  $postType = (isset($_GET['post_type'])) ? $_GET['post_type'] : 'post';
470
-
471
-
472
  // Page Parameters
473
  $posts_per_page = (isset($_GET['posts_per_page'])) ? $_GET['posts_per_page'] : 5;
474
  $page = (isset($_GET['page'])) ? $_GET['page'] : 0;
475
-
476
-
477
  // Advanced Custom Fields
478
  $acfData = (isset($_GET['acf'])) ? $_GET['acf'] : false;
479
  if($acfData){
@@ -482,12 +483,12 @@ if( !class_exists('AjaxLoadMore') ):
482
  $acf_field_type = (isset($acfData['field_type'])) ? $acfData['field_type'] : ''; // ACF Field Type
483
  $acf_field_name = (isset($acfData['field_name'])) ? $acfData['field_name'] : ''; // ACF Field Type
484
  }
485
-
486
-
487
  // Paging Add-on
488
  $paging = (isset($_GET['paging'])) ? $_GET['paging'] : 'false';
489
-
490
-
491
  // Preload Add-on
492
  $preloaded = (isset($_GET['preloaded'])) ? $_GET['preloaded'] : 'false';
493
  $preloaded_amount = (isset($_GET['preloaded_amount'])) ? $_GET['preloaded_amount'] : '5';
@@ -496,8 +497,8 @@ if( !class_exists('AjaxLoadMore') ):
496
  $old_offset = $preloaded_amount;
497
  $offset = $offset + $preloaded_amount;
498
  }
499
-
500
-
501
  // CTA Add-on
502
  $cta = false;
503
  $ctaData = (isset($_GET['cta'])) ? $_GET['cta'] : false;
@@ -511,8 +512,8 @@ if( !class_exists('AjaxLoadMore') ):
511
  $cta_repeater = (isset($ctaData['cta_repeater'])) ? $ctaData['cta_repeater'] : 'null';
512
  $cta_theme_repeater = (isset($ctaData['cta_theme_repeater'])) ? $ctaData['cta_theme_repeater'] : 'null';
513
  }
514
-
515
-
516
  // Single Post Add-on
517
  $single_post = false;
518
  $single_post_data = (isset($_GET['single_post'])) ? $_GET['single_post'] : false;
@@ -521,22 +522,22 @@ if( !class_exists('AjaxLoadMore') ):
521
  $single_post_id = (isset($single_post_data['id'])) ? $single_post_data['id'] : '';
522
  $single_post_slug = (isset($single_post_data['slug'])) ? $single_post_data['slug'] : '';
523
  }
524
-
525
-
526
  // SEO Add-on
527
  $seo_start_page = (isset($_GET['seo_start_page'])) ? $_GET['seo_start_page'] : 1;
528
-
529
-
530
  // Set up initial WP_Query $args
531
- $args = ALM_QUERY_ARGS::alm_build_queryargs($_GET, true);
532
  $args['paged'] = (get_query_var('paged')) ? get_query_var('paged') : 1;
533
  $args['offset'] = $offset + ($posts_per_page*$page);
534
-
535
-
536
  // Get current page number for determining item number
537
  $alm_page_count = ($page == 0) ? 1 : $page + 1;
538
-
539
-
540
  /*
541
  * alm_single_post_args
542
  *
@@ -546,9 +547,9 @@ if( !class_exists('AjaxLoadMore') ):
546
  * @return $args;
547
  */
548
  $args = ($single_post && has_action('alm_single_post_installed')) ? apply_filters('alm_single_post_args', $single_post_id, $postType) : $args;
549
-
550
-
551
-
552
  /*
553
  * alm_modify_query_args
554
  *
@@ -558,9 +559,9 @@ if( !class_exists('AjaxLoadMore') ):
558
  * Deprecated 2.10
559
  */
560
  $args = apply_filters('alm_modify_query_args', $args, $slug); // ALM Core Filter Hook
561
-
562
-
563
-
564
  /*
565
  * alm_query_args_{id}
566
  *
@@ -569,25 +570,25 @@ if( !class_exists('AjaxLoadMore') ):
569
  * @return $args;
570
  */
571
  $args = apply_filters('alm_query_args_'.$id, $args, $post_id); // ALM Core Filter Hook
572
-
573
-
574
-
575
  /*
576
  * Set custom `alm_action` parameter in the WP_Query
577
  * Value is accessed elsewhere for filters & hooks etc.
578
- */
579
  $args['alm_query'] = ($single_post) ? 'single_posts' : 'alm';
580
-
581
-
582
-
583
  /*
584
  * WP_Query || ALM Query
585
  *
586
  * @return $alm_query;
587
  */
588
  $alm_query = new WP_Query( $args );
589
-
590
-
591
  // If preloaded, update our loop count and total posts
592
  if(has_action('alm_preload_installed') && $preloaded === 'true'){
593
  $alm_total_posts = $alm_query->found_posts - $offset + $preloaded_amount;
@@ -599,9 +600,9 @@ if( !class_exists('AjaxLoadMore') ):
599
  $alm_total_posts = $alm_query->found_posts - $offset;
600
  $alm_loop_count = 0;
601
  }
602
-
603
-
604
-
605
  /*
606
  * alm_cache_create_dir
607
  *
@@ -613,40 +614,40 @@ if( !class_exists('AjaxLoadMore') ):
613
  if(!empty($cache_id) && has_action('alm_cache_create_dir') && $do_create_cache){
614
  apply_filters('alm_cache_create_dir', $cache_id, $canonical_url);
615
  }
616
-
617
-
618
  if($queryType === 'standard'){
619
-
620
  // Run the loop
621
-
622
  if ($alm_query->have_posts()) {
623
-
624
  $alm_found_posts = $alm_total_posts;
625
  $alm_post_count = $alm_query->post_count;
626
  $alm_current = 0;
627
  $alm_has_cta = false;
628
-
629
  $cta_array = Array();
630
  if($cta && has_action('alm_cta_pos_array')){ // Build CTA Position Array
631
  $cta_array = apply_filters('alm_cta_pos_array', $seo_start_page, $page, $posts_per_page, $alm_post_count, $cta_val, $paging);
632
  }
633
-
634
  ob_start();
635
-
636
  // ALM Loop
637
  while ($alm_query->have_posts()): $alm_query->the_post();
638
-
639
  $alm_loop_count++;
640
  $alm_current++; // Current item in loop
641
  $alm_page = $alm_page_count; // Get page number
642
- $alm_item = ($alm_page_count * $posts_per_page) - $posts_per_page + $alm_loop_count; // Get current item
643
-
644
  // Call to Action [Before]
645
  if($cta && has_action('alm_cta_inc') && $cta_pos === 'before' && in_array($alm_current, $cta_array)){
646
  do_action('alm_cta_inc', $cta_repeater, $cta_theme_repeater, $alm_found_posts, $alm_page, $alm_item, $alm_current, false);
647
  $alm_has_cta = true;
648
  }
649
-
650
  // Repeater Template
651
  if($theme_repeater != 'null' && has_action('alm_get_theme_repeater')){ // Theme Repeater
652
  do_action('alm_get_theme_repeater', $theme_repeater, $alm_found_posts, $alm_page, $alm_item, $alm_current);
@@ -654,19 +655,19 @@ if( !class_exists('AjaxLoadMore') ):
654
  include(alm_get_current_repeater( $repeater, $type )); // Repeater
655
  }
656
  // End Repeater Template
657
-
658
  // Call to Action [After]
659
  if($cta && has_action('alm_cta_inc') && $cta_pos === 'after' && in_array($alm_current, $cta_array)){
660
  do_action('alm_cta_inc', $cta_repeater, $cta_theme_repeater, $alm_found_posts, $alm_page, $alm_item, $alm_current, false);
661
  $alm_has_cta = true;
662
  }
663
-
664
  endwhile; wp_reset_query();
665
  // End ALM Loop
666
-
667
  $data = ob_get_clean();
668
-
669
-
670
  /*
671
  * alm_cache_file
672
  *
@@ -688,9 +689,9 @@ if( !class_exists('AjaxLoadMore') ):
688
  apply_filters('alm_cache_file', $cache_id, $page, $seo_start_page, $data, $preloaded);
689
  }
690
  }
691
-
692
-
693
-
694
  /*
695
  * alm_debug
696
  *
@@ -699,8 +700,8 @@ if( !class_exists('AjaxLoadMore') ):
699
  * @return $alm_query/false;
700
  */
701
  $debug = (apply_filters('alm_debug', false)) ? $alm_query : false;
702
-
703
-
704
  $return = array(
705
  'html' => $data,
706
  'meta' => array(
@@ -710,9 +711,9 @@ if( !class_exists('AjaxLoadMore') ):
710
  )
711
  );
712
  wp_send_json($return);
713
-
714
  } else {
715
-
716
  $return = array(
717
  'html' => null,
718
  'meta' => array(
@@ -721,28 +722,28 @@ if( !class_exists('AjaxLoadMore') ):
721
  'debug' => null
722
  )
723
  );
724
-
725
  wp_send_json($return);
726
-
727
  }
728
-
729
  }
730
-
731
  elseif($queryType === 'totalposts'){ // Paging add-on
732
-
733
  // Paging add-on
734
  wp_send_json(array(
735
  'totalposts' => $alm_total_posts
736
  ));
737
-
738
  }
739
-
740
  wp_die();
741
-
742
- }
743
 
744
  }
745
-
746
 
747
 
748
  /**
@@ -759,9 +760,9 @@ if( !class_exists('AjaxLoadMore') ):
759
  }
760
  return $ajax_load_more;
761
  }
762
-
763
  AjaxLoadMore(); // initialize
764
-
765
-
766
 
767
  endif; // class_exists check
6
  Text Domain: ajax-load-more
7
  Author: Darren Cooney
8
  Twitter: @KaptonKaos
9
+ Author URI: https://connekthq.com
10
+ Version: 5.1.5
11
  License: GPL
12
  Copyright: Darren Cooney & Connekt Media
13
  */
14
 
15
 
16
+ define('ALM_VERSION', '5.1.5');
17
+ define('ALM_RELEASE', 'October 1, 2019');
18
  define('ALM_STORE_URL', 'https://connekthq.com');
19
 
20
 
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' );
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;
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
 
112
 
113
 
114
 
 
115
  if( !class_exists('AjaxLoadMore') ):
116
 
117
  class AjaxLoadMore {
122
 
123
  $this->alm_define_constants();
124
  $this->alm_includes();
125
+
126
  add_action( 'wp_ajax_alm_get_posts', array(&$this, 'alm_query_posts') );
127
  add_action( 'wp_ajax_nopriv_alm_get_posts', array(&$this, 'alm_query_posts') );
128
  add_action( 'wp_enqueue_scripts', array(&$this, 'alm_enqueue_scripts') );
133
  add_filter( 'plugin_row_meta', array(&$this, 'alm_plugin_meta_links'), 10, 2 );
134
  add_shortcode( 'ajax_load_more', array(&$this, 'alm_shortcode') );
135
  add_filter( 'widget_text', 'do_shortcode' ); // Allow shortcodes in widget areas
136
+ load_plugin_textdomain( 'ajax-load-more', false, dirname(plugin_basename( __FILE__ )).'/lang'); //load text domain
137
 
138
  }
139
 
168
  if (!defined('ALM_PREV_POST_ITEM_NAME')) define('ALM_PREV_POST_ITEM_NAME', '9686');
169
  if (!defined('ALM_RESTAPI_ITEM_NAME')) define('ALM_RESTAPI_ITEM_NAME', '17105'); // Deprecated
170
  if (!defined('ALM_SEO_ITEM_NAME')) define('ALM_SEO_ITEM_NAME', '3482');
171
+ if (!defined('ALM_TABS_ITEM_NAME')) define('ALM_TABS_ITEM_NAME', '54855');
172
  if (!defined('ALM_THEME_REPEATERS_ITEM_NAME')) define('ALM_THEME_REPEATERS_ITEM_NAME', '8860');
173
  if (!defined('ALM_USERS_ITEM_NAME')) define('ALM_USERS_ITEM_NAME', '32311');
174
  if (!defined('ALM_PRO_ITEM_NAME')) define('ALM_PRO_ITEM_NAME', '42166');
263
  */
264
 
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
279
  include( dirname( __FILE__ ) . '/vendor/EDD_SL_Plugin_Updater.php' );
280
  }
281
  }
282
+
283
  }
284
 
285
 
369
 
370
  // Callback Helpers
371
  wp_register_script( 'ajax-load-more-legacy-callbacks', plugins_url( '/vendor/js/alm/legacy-callbacks.js', __FILE__ ), 'jquery', '', false);
372
+
373
 
374
  // Core CSS
375
  if( !alm_do_inline_css('_alm_inline_css') && !alm_css_disabled('_alm_disable_css')){ // Not inline or disabled
379
 
380
  // Prevent loading of unnessasry posts - move user to top of page
381
  $scrolltop = (!isset($options['_alm_scroll_top']) || $options['_alm_scroll_top'] != '1') ? 'false' : 'true';
382
+
383
+
384
  // Localized JS variables
385
  wp_localize_script(
386
  'ajax-load-more',
390
  'alm_nonce' => wp_create_nonce( "ajax_load_more_nonce" ),
391
  'pluginurl' => ALM_URL,
392
  'scrolltop' => $scrolltop,
393
+ 'speed' => apply_filters('alm_speed', 200),
394
+ 'ga_debug' => apply_filters('alm_ga_debug', 'false'),
395
  'results_text' => apply_filters('alm_display_results', __('Displaying page {num} of {total}.', 'ajax-load-more')),
396
  'no_results_text' => apply_filters('alm_no_results_text', __('No results found.', 'ajax-load-more'))
397
  )
398
  );
399
+
400
  }
401
 
402
 
424
  public static function alm_return_shortcode_atts(){
425
  return self::$shortcode_atts;
426
  }
427
+
428
+
429
+
430
  /**
431
  * alm_query_posts
432
+ * Core Ajax Load More Query
433
  *
434
  * @since 2.0.0
435
+ */
436
+ public function alm_query_posts() {
437
+
438
  // WPML fix for category/tag/taxonomy archives
439
  if ( (isset( $_GET['category'] ) && $_GET['category']) || (isset($_GET['taxonomy']) && $_GET['taxonomy']) || (isset($_GET['tag']) && $_GET['tag']) ) {
440
  unset($_REQUEST['post_id']);
441
  }
442
+
443
  $id = (isset($_GET['id'])) ? $_GET['id'] : '';
444
  $post_id = (isset($_GET['post_id'])) ? $_GET['post_id'] : '';
445
  $slug = (isset($_GET['slug'])) ? $_GET['slug'] : '';
446
  $canonical_url = (isset($_GET['canonical_url'])) ? esc_url($_GET['canonical_url']) : esc_url($_SERVER['HTTP_REFERER']);
447
+
448
+
449
  // Ajax Query Type
450
  $queryType = (isset($_GET['query_type'])) ? $_GET['query_type'] : 'standard'; // 'standard' or 'totalposts'; totalposts returns $alm_found_posts
451
+
452
+
453
  // Cache
454
  $cache_id = (isset($_GET['cache_id'])) ? $_GET['cache_id'] : '';
455
  $cache_logged_in = (isset($_GET['cache_logged_in'])) ? $_GET['cache_logged_in'] : false;
456
  $do_create_cache = ($cache_logged_in === 'true' && is_user_logged_in()) ? false : true;
457
+
458
+
459
  // Offset
460
  $offset = (isset($_GET['offset'])) ? $_GET['offset'] : 0;
461
+
462
+
463
  // Repeater Templates
464
  $repeater = (isset($_GET['repeater'])) ? $_GET['repeater'] : 'default';
465
  $type = alm_get_repeater_type($repeater);
466
  $theme_repeater = (isset($_GET['theme_repeater'])) ? $_GET['theme_repeater'] : 'null';
467
+
468
+
469
  // Post Type
470
  $postType = (isset($_GET['post_type'])) ? $_GET['post_type'] : 'post';
471
+
472
+
473
  // Page Parameters
474
  $posts_per_page = (isset($_GET['posts_per_page'])) ? $_GET['posts_per_page'] : 5;
475
  $page = (isset($_GET['page'])) ? $_GET['page'] : 0;
476
+
477
+
478
  // Advanced Custom Fields
479
  $acfData = (isset($_GET['acf'])) ? $_GET['acf'] : false;
480
  if($acfData){
483
  $acf_field_type = (isset($acfData['field_type'])) ? $acfData['field_type'] : ''; // ACF Field Type
484
  $acf_field_name = (isset($acfData['field_name'])) ? $acfData['field_name'] : ''; // ACF Field Type
485
  }
486
+
487
+
488
  // Paging Add-on
489
  $paging = (isset($_GET['paging'])) ? $_GET['paging'] : 'false';
490
+
491
+
492
  // Preload Add-on
493
  $preloaded = (isset($_GET['preloaded'])) ? $_GET['preloaded'] : 'false';
494
  $preloaded_amount = (isset($_GET['preloaded_amount'])) ? $_GET['preloaded_amount'] : '5';
497
  $old_offset = $preloaded_amount;
498
  $offset = $offset + $preloaded_amount;
499
  }
500
+
501
+
502
  // CTA Add-on
503
  $cta = false;
504
  $ctaData = (isset($_GET['cta'])) ? $_GET['cta'] : false;
512
  $cta_repeater = (isset($ctaData['cta_repeater'])) ? $ctaData['cta_repeater'] : 'null';
513
  $cta_theme_repeater = (isset($ctaData['cta_theme_repeater'])) ? $ctaData['cta_theme_repeater'] : 'null';
514
  }
515
+
516
+
517
  // Single Post Add-on
518
  $single_post = false;
519
  $single_post_data = (isset($_GET['single_post'])) ? $_GET['single_post'] : false;
522
  $single_post_id = (isset($single_post_data['id'])) ? $single_post_data['id'] : '';
523
  $single_post_slug = (isset($single_post_data['slug'])) ? $single_post_data['slug'] : '';
524
  }
525
+
526
+
527
  // SEO Add-on
528
  $seo_start_page = (isset($_GET['seo_start_page'])) ? $_GET['seo_start_page'] : 1;
529
+
530
+
531
  // Set up initial WP_Query $args
532
+ $args = ALM_QUERY_ARGS::alm_build_queryargs($_GET, true);
533
  $args['paged'] = (get_query_var('paged')) ? get_query_var('paged') : 1;
534
  $args['offset'] = $offset + ($posts_per_page*$page);
535
+
536
+
537
  // Get current page number for determining item number
538
  $alm_page_count = ($page == 0) ? 1 : $page + 1;
539
+
540
+
541
  /*
542
  * alm_single_post_args
543
  *
547
  * @return $args;
548
  */
549
  $args = ($single_post && has_action('alm_single_post_installed')) ? apply_filters('alm_single_post_args', $single_post_id, $postType) : $args;
550
+
551
+
552
+
553
  /*
554
  * alm_modify_query_args
555
  *
559
  * Deprecated 2.10
560
  */
561
  $args = apply_filters('alm_modify_query_args', $args, $slug); // ALM Core Filter Hook
562
+
563
+
564
+
565
  /*
566
  * alm_query_args_{id}
567
  *
570
  * @return $args;
571
  */
572
  $args = apply_filters('alm_query_args_'.$id, $args, $post_id); // ALM Core Filter Hook
573
+
574
+
575
+
576
  /*
577
  * Set custom `alm_action` parameter in the WP_Query
578
  * Value is accessed elsewhere for filters & hooks etc.
579
+ */
580
  $args['alm_query'] = ($single_post) ? 'single_posts' : 'alm';
581
+
582
+
583
+
584
  /*
585
  * WP_Query || ALM Query
586
  *
587
  * @return $alm_query;
588
  */
589
  $alm_query = new WP_Query( $args );
590
+
591
+
592
  // If preloaded, update our loop count and total posts
593
  if(has_action('alm_preload_installed') && $preloaded === 'true'){
594
  $alm_total_posts = $alm_query->found_posts - $offset + $preloaded_amount;
600
  $alm_total_posts = $alm_query->found_posts - $offset;
601
  $alm_loop_count = 0;
602
  }
603
+
604
+
605
+
606
  /*
607
  * alm_cache_create_dir
608
  *
614
  if(!empty($cache_id) && has_action('alm_cache_create_dir') && $do_create_cache){
615
  apply_filters('alm_cache_create_dir', $cache_id, $canonical_url);
616
  }
617
+
618
+
619
  if($queryType === 'standard'){
620
+
621
  // Run the loop
622
+
623
  if ($alm_query->have_posts()) {
624
+
625
  $alm_found_posts = $alm_total_posts;
626
  $alm_post_count = $alm_query->post_count;
627
  $alm_current = 0;
628
  $alm_has_cta = false;
629
+
630
  $cta_array = Array();
631
  if($cta && has_action('alm_cta_pos_array')){ // Build CTA Position Array
632
  $cta_array = apply_filters('alm_cta_pos_array', $seo_start_page, $page, $posts_per_page, $alm_post_count, $cta_val, $paging);
633
  }
634
+
635
  ob_start();
636
+
637
  // ALM Loop
638
  while ($alm_query->have_posts()): $alm_query->the_post();
639
+
640
  $alm_loop_count++;
641
  $alm_current++; // Current item in loop
642
  $alm_page = $alm_page_count; // Get page number
643
+ $alm_item = ($alm_page_count * $posts_per_page) - $posts_per_page + $alm_loop_count; // Get current item
644
+
645
  // Call to Action [Before]
646
  if($cta && has_action('alm_cta_inc') && $cta_pos === 'before' && in_array($alm_current, $cta_array)){
647
  do_action('alm_cta_inc', $cta_repeater, $cta_theme_repeater, $alm_found_posts, $alm_page, $alm_item, $alm_current, false);
648
  $alm_has_cta = true;
649
  }
650
+
651
  // Repeater Template
652
  if($theme_repeater != 'null' && has_action('alm_get_theme_repeater')){ // Theme Repeater
653
  do_action('alm_get_theme_repeater', $theme_repeater, $alm_found_posts, $alm_page, $alm_item, $alm_current);
655
  include(alm_get_current_repeater( $repeater, $type )); // Repeater
656
  }
657
  // End Repeater Template
658
+
659
  // Call to Action [After]
660
  if($cta && has_action('alm_cta_inc') && $cta_pos === 'after' && in_array($alm_current, $cta_array)){
661
  do_action('alm_cta_inc', $cta_repeater, $cta_theme_repeater, $alm_found_posts, $alm_page, $alm_item, $alm_current, false);
662
  $alm_has_cta = true;
663
  }
664
+
665
  endwhile; wp_reset_query();
666
  // End ALM Loop
667
+
668
  $data = ob_get_clean();
669
+
670
+
671
  /*
672
  * alm_cache_file
673
  *
689
  apply_filters('alm_cache_file', $cache_id, $page, $seo_start_page, $data, $preloaded);
690
  }
691
  }
692
+
693
+
694
+
695
  /*
696
  * alm_debug
697
  *
700
  * @return $alm_query/false;
701
  */
702
  $debug = (apply_filters('alm_debug', false)) ? $alm_query : false;
703
+
704
+
705
  $return = array(
706
  'html' => $data,
707
  'meta' => array(
711
  )
712
  );
713
  wp_send_json($return);
714
+
715
  } else {
716
+
717
  $return = array(
718
  'html' => null,
719
  'meta' => array(
722
  'debug' => null
723
  )
724
  );
725
+
726
  wp_send_json($return);
727
+
728
  }
729
+
730
  }
731
+
732
  elseif($queryType === 'totalposts'){ // Paging add-on
733
+
734
  // Paging add-on
735
  wp_send_json(array(
736
  'totalposts' => $alm_total_posts
737
  ));
738
+
739
  }
740
+
741
  wp_die();
742
+
743
+ }
744
 
745
  }
746
+
747
 
748
 
749
  /**
760
  }
761
  return $ajax_load_more;
762
  }
763
+
764
  AjaxLoadMore(); // initialize
765
+
766
+
767
 
768
  endif; // class_exists check
core/classes/class.alm-queryargs.php CHANGED
@@ -232,7 +232,7 @@ if(!class_exists('ALM_QUERY_ARGS')):
232
  }
233
 
234
  // Meta Query
235
- if(!empty($meta_key) && !empty($meta_value) || !empty($meta_key) && $meta_compare !== "IN"){
236
 
237
  // Parse multiple meta query
238
  $meta_query_total = count(explode(":", $meta_key)); // Total meta_query objects
232
  }
233
 
234
  // Meta Query
235
+ if(!empty($meta_key) && isset($meta_value) || !empty($meta_key) && $meta_compare !== "IN"){
236
 
237
  // Parse multiple meta query
238
  $meta_query_total = count(explode(":", $meta_key)); // Total meta_query objects
core/classes/class.alm-shortcode.php CHANGED
@@ -29,16 +29,16 @@ if( !class_exists('ALM_SHORTCODE') ):
29
  */
30
 
31
  public static function alm_render_shortcode($atts){
32
-
33
-
34
  // Get global $post obj
35
  global $post;
36
 
37
 
38
  // Get ALM options
39
  $options = get_option( 'alm_settings' );
40
-
41
-
42
  /*
43
  * alm_settings
44
  * Override default ALM Settings
@@ -48,8 +48,8 @@ if( !class_exists('ALM_SHORTCODE') ):
48
  * @return $options;
49
  */
50
  $options = (has_filter('alm_settings')) ? apply_filters('alm_settings', $options) : $options;
51
-
52
-
53
  // Add count
54
  self::$counter++;
55
 
@@ -62,10 +62,10 @@ if( !class_exists('ALM_SHORTCODE') ):
62
  // Custom CSS for Layouts - Only run this once.
63
  if(has_action('alm_layouts_custom_css')){
64
  do_action('alm_layouts_custom_css', self::$counter);
65
- }
66
-
67
-
68
-
69
  /*
70
  * alm_shortcode_defaults
71
  * Set default shortcode values that can be over written via shortcode atts
@@ -74,16 +74,18 @@ if( !class_exists('ALM_SHORTCODE') ):
74
  *
75
  * @return $atts;
76
  */
77
- $default_atts = apply_filters('alm_shortcode_defaults', '');
78
-
79
  // Merge arrays. Allows for defaults to be overwritten by the actual shortcode.
80
  $atts = ($default_atts) ? array_merge($default_atts, $atts) : $atts;
81
-
82
-
83
-
84
  // Extact shortcode arrtibutes
85
  extract(shortcode_atts(array(
86
  'nested' => false,
 
 
87
  'filters' => false,
88
  'target' => '',
89
  'filters_url' => 'true',
@@ -132,6 +134,7 @@ if( !class_exists('ALM_SHORTCODE') ):
132
  'single_post_order' => 'previous',
133
  'single_post_taxonomy' => '',
134
  'single_post_excluded_terms' => '',
 
135
  'cache' => 'false',
136
  'cache_id' => '',
137
  'paging' => 'false',
@@ -206,14 +209,15 @@ if( !class_exists('ALM_SHORTCODE') ):
206
  'button_loading_label' => '',
207
  'container_type' => '',
208
  'css_classes' => '',
 
209
  'id' => '',
210
  'primary' => false,
211
  'woocommerce' => false,
212
  'no_results_text' => ''
213
- ), $atts));
214
-
215
-
216
-
217
  // Backwards compat
218
  // If $previous_post_ is true, set the $single_post_{value} params
219
  if($previous_post === 'true'){
@@ -226,8 +230,8 @@ if( !class_exists('ALM_SHORTCODE') ):
226
 
227
 
228
  // Start Enqueue Scripts
229
-
230
-
231
  // Inline Core CSS
232
  if( !is_admin() && alm_do_inline_css('_alm_inline_css') && !alm_css_disabled('_alm_disable_css') && self::$counter === 1 ){
233
  $file = ALM_PATH . '/core/dist/css/'. ALM_SLUG .'.min.css'; // Core Ajax Load More
@@ -238,21 +242,26 @@ if( !class_exists('ALM_SHORTCODE') ):
238
  if(isset($options['_alm_legacy_callbacks']) && $options['_alm_legacy_callbacks'] == '1'){ // Load if active
239
  wp_enqueue_script( 'ajax-load-more-legacy-callbacks' );
240
  }
241
-
242
  // Core ALM
243
  wp_enqueue_script( 'ajax-load-more' );
244
-
 
 
 
 
 
 
 
 
 
 
 
245
  // Masonry
246
  if($transition === 'masonry'){
247
  wp_enqueue_script( 'ajax-load-more-masonry' ); // Enqueue before core ALM
248
  }
249
 
250
- // Progress Bar
251
- if($progress_bar === 'true'){ // Enqueue bar JS
252
- wp_add_inline_script( 'ajax-load-more', 'window.paceOptions = {restartOnPushState: false};' );
253
- wp_enqueue_script( 'ajax-load-more-progress' );
254
- }
255
-
256
  // Next Page
257
  if(has_action('alm_nextpage_installed') && $nextpage === 'true'){
258
  wp_enqueue_script( 'ajax-load-more-nextpage' );
@@ -262,8 +271,8 @@ if( !class_exists('ALM_SHORTCODE') ):
262
  if(has_action('alm_paging_installed') && $paging === 'true'){
263
  wp_enqueue_script( 'ajax-load-more-paging' );
264
  wp_enqueue_script( 'ajax-load-more-images-loaded' ); // Required for Paging
265
-
266
- // Inline paging CSS
267
  if( !is_admin() && alm_do_inline_css('_alm_inline_css') && !alm_css_disabled('_alm_paging_disable_css') ){
268
  if(defined('ALM_PAGING_PATH') && defined('ALM_PAGING_URL')){
269
  $file = ALM_PAGING_PATH.'/core/css/ajax-load-more-paging.min.css';
@@ -272,16 +281,11 @@ if( !class_exists('ALM_SHORTCODE') ):
272
  }
273
  }
274
 
275
- // Layouts
276
- if(has_action('alm_layouts_installed')){
277
- // Inline Layouts CSS
278
- if( !is_admin() && alm_do_inline_css('_alm_inline_css') && self::$counter === 1 ){
279
- if(defined('ALM_LAYOUTS_PATH') && defined('ALM_LAYOUTS_URL')){
280
- $file = ALM_LAYOUTS_PATH.'/core/css/ajax-load-more-layouts.min.css';
281
- echo ALM_ENQUEUE::alm_inline_css('ajax-load-more-layouts', $file, ALM_LAYOUTS_URL);
282
- }
283
- }
284
- }
285
 
286
  // Previous Post
287
  if(has_action('alm_single_post_installed') && $single_post === 'true'){
@@ -292,7 +296,20 @@ if( !class_exists('ALM_SHORTCODE') ):
292
  if(has_action('alm_seo_installed') && $seo === 'true'){
293
  wp_enqueue_script( 'ajax-load-more-seo' );
294
  }
295
-
 
 
 
 
 
 
 
 
 
 
 
 
 
296
 
297
 
298
  /*
@@ -306,26 +323,26 @@ if( !class_exists('ALM_SHORTCODE') ):
306
 
307
 
308
  // End Enqueue Scripts
309
-
310
-
311
  // Filters - Set initial shortcode state
312
  $filters = ($filters === 'true' && class_exists('ALMFilters')) ? true : false;
313
- if($filters){
314
  $single_post = $seo = false;
315
  $transition_container = "true"; // required
316
  if(defined('ALM_FILTERS_PATH')){
317
  include(ALM_FILTERS_PATH .'includes/initial-state-params.php');
318
  }
319
- }
320
-
321
- $single_post = ($single_post === 'true') ? true : false;
322
 
323
  $transition_container = ($seo === "true" || $single_post || $filters) ? 'true' : $transition_container;
324
-
325
  // Transition Container Classes
326
  $transition_container_classes = (!empty($transition_container_classes)) ? ' '. $transition_container_classes : '';
327
-
328
-
329
  // REST API
330
  if($restapi === 'true'){
331
  $restapi = true;
@@ -337,7 +354,7 @@ if( !class_exists('ALM_SHORTCODE') ):
337
  if($options['_alm_container_type'] == '2' || $single_post){
338
  $container_element = 'div';
339
  }
340
-
341
  // CSS Classes
342
  $css_classes = (!empty($css_classes)) ? ' ' . $css_classes : '';
343
 
@@ -349,9 +366,9 @@ if( !class_exists('ALM_SHORTCODE') ):
349
  $posts_per_page = 1;
350
  $container_element = 'div';
351
  }
352
-
353
  // Users
354
- $users = ($users === 'true') ? true : false;
355
 
356
  // Comments
357
  $container_element = ($comments === 'true') ? $comments_style : $container_element;
@@ -363,21 +380,19 @@ if( !class_exists('ALM_SHORTCODE') ):
363
  $classname = (empty($classname)) ? '' : ' '.$classname;
364
  }
365
 
366
- // Get button color
367
- $btn_color = '';
368
- if(isset($options['_alm_btn_color'])){
369
- $btn_color = ' '.$options['_alm_btn_color'];
370
- }
371
 
372
  // Get paging color
373
- $paging_color = '';
374
- if(isset($options['_alm_paging_color']) && has_action('alm_paging_installed') && $paging === 'true'){
375
- $paging_color = ' paging-'.$options['_alm_paging_color'];
376
- }
377
 
378
- // Get Layouts activated
379
  $alm_layouts = (has_action('alm_layouts_installed')) ? ' alm-layouts' : '';
380
 
 
 
 
381
  // Get btn classnames
382
  $button_classname = (isset($options['_alm_btn_classname'])) ? ' '.$options['_alm_btn_classname'] : '';
383
 
@@ -389,7 +404,7 @@ if( !class_exists('ALM_SHORTCODE') ):
389
  if (function_exists('qtrans_getLanguage')){ // qTranslate - https://wordpress.org/plugins/qtranslate/
390
  $lang = qtrans_getLanguage();
391
  }
392
-
393
  // Global Posts Per Page
394
  $wp_posts_per_page = get_option( 'posts_per_page' ); // Posts per page - settings -> reading
395
 
@@ -411,12 +426,12 @@ if( !class_exists('ALM_SHORTCODE') ):
411
  $pause_override = 'false';
412
  }
413
  }
414
-
415
 
416
  // Start ALM object
417
  $ajaxloadmore = '';
418
-
419
-
420
 
421
  /*
422
  * alm_before_container
@@ -432,31 +447,31 @@ if( !class_exists('ALM_SHORTCODE') ):
432
 
433
  // Generate ALM ID
434
  $div_id = (self::$counter > 1) ? 'ajax-load-more-'.self::$counter : 'ajax-load-more';
435
-
436
  // Localized ID - ID used for storin glocalized variables
437
  $localize_id = (empty($id)) ? $div_id : 'ajax-load-more-'.$id;
438
-
439
  // Master ID - Manual or generated ALM ID
440
  $master_id = (empty($id)) ? $div_id : $id;
441
-
442
  // Custom unique ALM ID (shortcode)
443
  $unique_id = (!empty($id)) ? 'data-id="'.$id.'"' : '';
444
 
445
  // Search atts - Used with SEO
446
  $is_search = (is_search()) ? 'data-search="true"' : '';
447
 
448
- // Search atts - Used with SEO
449
  $is_nested = ($nested === 'true') ? ' data-nested="true"' : '';
450
 
451
 
452
  // Start .alm-listing
453
- $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' .'">';
454
 
455
 
456
  // Masonry Hook (Before)
457
  $ajaxloadmore .= apply_filters('alm_masonry_before', $transition);
458
-
459
-
460
  // WooCommerce
461
  // - Set required WooCommerce config options
462
  if($woocommerce === 'true'){
@@ -512,20 +527,20 @@ if( !class_exists('ALM_SHORTCODE') ):
512
  $acf = false;
513
  $pause = 'true';
514
  }
515
-
516
  // If SEO, set preloaded_amount to posts_per_page
517
  if($seo === 'true' || $filters){
518
  $preloaded_amount = $posts_per_page;
519
  }
520
-
521
  // If Filters & Filters Paging, set preloaded_amount to posts_per_page
522
  if($filters && $filters_paging === 'true'){
523
  $preloaded_amount = $posts_per_page;
524
  }
525
-
526
-
527
  // $query_args array to store global ALM variables
528
- $query_args = array(
529
  'post_id' => $post_id,
530
  'preloaded' => $preloaded,
531
  'preloaded_amount' => $preloaded_amount,
@@ -587,14 +602,14 @@ if( !class_exists('ALM_SHORTCODE') ):
587
  'theme_repeater' => $theme_repeater,
588
  'paged' => (get_query_var('paged')) ? get_query_var('paged') : 1
589
  );
590
-
591
-
592
  $listing_class = ($comments === 'true') ? 'commentlist alm-comments' : 'alm-listing'; // If Comments
593
-
594
-
595
  // Open #ajax-load-more
596
-
597
- $ajaxloadmore .= '<'.$container_element.' aria-live="polite"';
598
  $ajaxloadmore .= ' class="'.$listing_class.' alm-ajax'. $paging_container_class . $classname . $css_classes .'"'.$paging_transition.'';
599
 
600
  // Build container data atts
@@ -611,8 +626,8 @@ if( !class_exists('ALM_SHORTCODE') ):
611
  );
612
  $ajaxloadmore .= $acf_return;
613
  }
614
-
615
-
616
  // Cache Add-on
617
  if(has_action('alm_cache_installed') && $cache === 'true'){
618
  $cache_return = apply_filters(
@@ -623,8 +638,8 @@ if( !class_exists('ALM_SHORTCODE') ):
623
  );
624
  $ajaxloadmore .= $cache_return;
625
  }
626
-
627
-
628
  // CTA Add-on
629
  if(has_action('alm_cta_installed') && $cta === 'true'){
630
  $cta_return = apply_filters(
@@ -636,8 +651,8 @@ if( !class_exists('ALM_SHORTCODE') ):
636
  );
637
  $ajaxloadmore .= $cta_return;
638
  }
639
-
640
-
641
  // Comments Add-on
642
  if(has_action('alm_comments_installed') && $comments === 'true'){
643
  $comments_return = apply_filters(
@@ -652,8 +667,8 @@ if( !class_exists('ALM_SHORTCODE') ):
652
  );
653
  $ajaxloadmore .= $comments_return;
654
  }
655
-
656
-
657
  // Filters Add-on
658
  if(has_action('alm_filters_installed') && $filters){
659
  $filters_return = apply_filters(
@@ -670,8 +685,8 @@ if( !class_exists('ALM_SHORTCODE') ):
670
  );
671
  $ajaxloadmore .= $filters_return;
672
  }
673
-
674
-
675
  // Paging Add-on
676
  if(has_action('alm_paging_installed') && $paging === 'true'){
677
  $paging_return = apply_filters(
@@ -679,7 +694,7 @@ if( !class_exists('ALM_SHORTCODE') ):
679
  $paging,
680
  $paging_controls,
681
  $paging_show_at_most,
682
- $paging_classes,
683
  $paging_first_label,
684
  $paging_last_label,
685
  $paging_previous_label,
@@ -688,18 +703,35 @@ if( !class_exists('ALM_SHORTCODE') ):
688
  );
689
  $ajaxloadmore .= $paging_return;
690
  }
691
-
692
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
693
  // Preloaded Add-on
694
- if(has_action('alm_preload_installed') && $preloaded === 'true'){
695
-
696
- $preloaded = ($seo === 'true' && (int)$query_args['paged'] < 1 && $paging !== 'true') ? 'true' : $preloaded; // SEO page 1
697
-
698
-
699
  // SEO > page 1
700
  $preloaded = ($seo === 'true' && $query_args['paged'] > 1 && $paging !== 'true') ? false : $preloaded; // SEO page > 1
701
-
702
-
703
  // Filters
704
  if($filters && $_SERVER['QUERY_STRING']){
705
  $querystring = $_SERVER['QUERY_STRING'];
@@ -709,18 +741,16 @@ if( !class_exists('ALM_SHORTCODE') ):
709
  $ajaxloadmore .= ' data-is-preloaded="true"';
710
  }
711
  }
712
-
713
-
714
- // Set was-preloaded attribute to add alm-preloaded class to first alm-reveal div
715
- if($seo === 'true' && $query_args['paged'] > 1){
716
- $ajaxloadmore .= ' data-is-preloaded="true"';
717
- }
718
-
719
- $ajaxloadmore .= ' data-preloaded="'.$preloaded.'"';
720
  $ajaxloadmore .= ' data-preloaded-amount="'.$preloaded_amount.'"';
721
  }
722
-
723
-
724
  // REST API Extension
725
  if(has_action('alm_rest_api_installed') && $restapi === true){
726
  $restapi_return = apply_filters(
@@ -734,8 +764,8 @@ if( !class_exists('ALM_SHORTCODE') ):
734
  );
735
  $ajaxloadmore .= $restapi_return;
736
  }
737
-
738
-
739
  // SEO Add-on
740
  if(has_action('alm_seo_installed') && $seo === 'true'){
741
  $seo_return = apply_filters(
@@ -746,8 +776,8 @@ if( !class_exists('ALM_SHORTCODE') ):
746
  );
747
  $ajaxloadmore .= $seo_return;
748
  }
749
-
750
-
751
  // Single Posts Add-on
752
  if(has_action('alm_single_post_installed') && $single_post){
753
  $single_post_return = apply_filters(
@@ -756,12 +786,13 @@ if( !class_exists('ALM_SHORTCODE') ):
756
  $single_post_order,
757
  $single_post_taxonomy,
758
  $single_post_excluded_terms,
 
759
  $options
760
  );
761
  $ajaxloadmore .= $single_post_return;
762
  }
763
-
764
-
765
  // Nextpage Post Add-on
766
  if(has_action('alm_nextpage_installed') && $nextpage){
767
  $nextpage_return = apply_filters(
@@ -774,11 +805,11 @@ if( !class_exists('ALM_SHORTCODE') ):
774
  );
775
  $ajaxloadmore .= $nextpage_return;
776
  }
777
-
778
-
779
  // Users Add-on
780
- if(has_action('alm_users_installed') && $users){
781
- $posts_per_page = $users_per_page; // Update $posts_per_page var to be $users_per_page
782
  $users_return = apply_filters(
783
  'alm_users_shortcode',
784
  $users_role,
@@ -789,82 +820,82 @@ if( !class_exists('ALM_SHORTCODE') ):
789
  $users_orderby,
790
  $options
791
  );
792
- $ajaxloadmore .= $users_return;
793
  }
794
-
795
- $ajaxloadmore .= ' data-container-type="'.$container_element.'"';
796
-
797
-
798
- $ajaxloadmore .= ' data-repeater="'.$repeater.'"';
799
- $ajaxloadmore .= ($theme_repeater != 'null') ? ' data-theme-repeater="'.$theme_repeater.'"' : '';
800
-
801
- // Post Type
802
  $ajaxloadmore .= ' data-post-type="'.$post_type.'"';
803
-
804
  // Sticky posts
805
  $ajaxloadmore .= ($sticky_posts === 'true') ? ' data-sticky-posts="'.$sticky_posts.'"' : '';
806
-
807
  // Post Format
808
  $ajaxloadmore .= (!empty($post_format)) ? ' data-post-format="'.$post_format.'"' : '';
809
-
810
  // Category
811
  $ajaxloadmore .= (!empty($category)) ? ' data-category="'.$category.'"' : '';
812
  $ajaxloadmore .= (!empty($category__and)) ? ' data-category-and="'.$category__and.'"' : '';
813
  $ajaxloadmore .= (!empty($category__not_in)) ? ' data-category-not-in="'.$category__not_in.'"' : '';
814
-
815
  // Tag
816
  $ajaxloadmore .= (!empty($tag)) ? ' data-tag="'.$tag.'"' : '';
817
  $ajaxloadmore .= (!empty($tag__and)) ? ' data-tag-and="'.$tag__and.'"' : '';
818
  $ajaxloadmore .= (!empty($tag__not_in)) ? ' data-tag-not-in="'.$tag__not_in.'"' : '';
819
-
820
  // Taxonomy
821
  $ajaxloadmore .= (!empty($taxonomy)) ? ' data-taxonomy="'.$taxonomy.'"' : '';
822
  $ajaxloadmore .= (!empty($taxonomy_terms)) ? ' data-taxonomy-terms="'.$taxonomy_terms.'"' : '';
823
  $ajaxloadmore .= (!empty($taxonomy_operator)) ? ' data-taxonomy-operator="'.$taxonomy_operator.'"' : '';
824
  $ajaxloadmore .= (!empty($taxonomy_relation)) ? ' data-taxonomy-relation="'.$taxonomy_relation.'"' : '';
825
-
826
  // Meta Query
827
  $ajaxloadmore .= (!empty($meta_key)) ? ' data-meta-key="'.$meta_key.'"' : '';
828
  $ajaxloadmore .= (!empty($meta_value) || $meta_value === '0') ? ' data-meta-value="'.$meta_value.'"' : '';
829
  $ajaxloadmore .= (!empty($meta_compare)) ? ' data-meta-compare="'.$meta_compare.'"' : '';
830
  $ajaxloadmore .= (!empty($meta_relation)) ? ' data-meta-relation="'.$meta_relation.'"' : '';
831
  $ajaxloadmore .= (!empty($meta_type)) ? ' data-meta-type="'.$meta_type.'"' : '';
832
-
833
  // Dates
834
  $ajaxloadmore .= (!empty($year)) ? ' data-year="'.$year.'"' : '';
835
  $ajaxloadmore .= (!empty($month)) ? ' data-month="'.$month.'"' : '';
836
  $ajaxloadmore .= (!empty($day)) ? ' data-day="'.$day.'"' : '';
837
-
838
  // Author
839
  $ajaxloadmore .= (!empty($author)) ? ' data-author="'.$author.'"' : '';
840
-
841
  // Post Parameters
842
  $ajaxloadmore .= (!empty($post__in)) ? ' data-post-in="'.$post__in.'"' : '';
843
  $ajaxloadmore .= (!empty($post__not_in)) ? ' data-post-not-in="'.$post__not_in.'"' : '';
844
  $ajaxloadmore .= (!empty($exclude)) ? ' data-exclude="'.$exclude.'"' : '';
845
-
846
  // Search
847
  $ajaxloadmore .= (!empty($search)) ? ' data-search="'.$search.'"' : '';
848
-
849
  // Custom Args
850
  $ajaxloadmore .= (!empty($custom_args)) ? ' data-custom-args="'.$custom_args.'"' : '';
851
-
852
  // Status
853
  $ajaxloadmore .= (!empty($post_status)) ? ' data-post-status="'.$post_status.'"' : '';
854
-
855
  // Order
856
  $ajaxloadmore .= ' data-order="'.$order.'"';
857
  $ajaxloadmore .= ' data-orderby="'.$orderby.'"';
858
-
859
  // Offset
860
  $ajaxloadmore .= ' data-offset="'.$offset.'"';
861
-
862
  // Posts Per Page
863
  $ajaxloadmore .= ' data-posts-per-page="'.$posts_per_page.'"';
864
-
865
  // Lang
866
  $ajaxloadmore .= (!empty($lang)) ? ' data-lang="'.$lang.'"' : '';
867
-
868
  // Scroll
869
  $ajaxloadmore .= ' data-scroll="'.$scroll.'"';
870
  if($scroll === 'true'){
@@ -873,54 +904,54 @@ if( !class_exists('ALM_SHORTCODE') ):
873
  $ajaxloadmore .= ' data-max-pages="'.$max_pages.'"';
874
  $ajaxloadmore .= (!empty($pause_override)) ? ' data-pause-override="'.$pause_override.'"' : '';
875
  }
876
-
877
  // Pause
878
  $ajaxloadmore .= ' data-pause="'.$pause.'"';
879
-
880
  // Button
881
- $ajaxloadmore .= ' data-button-label="'.$button_label.'"';
882
  $ajaxloadmore .= (!empty($button_loading_label)) ? ' data-button-loading-label="'.$button_loading_label.'"' : '';
883
-
884
  // Destroy After
885
  $ajaxloadmore .= (!empty($destroy_after)) ? ' data-destroy-after="'.$destroy_after.'"' : '';
886
-
887
  // Transition
888
  $ajaxloadmore .= ' data-transition="'.$transition.'"';
889
  $ajaxloadmore .= ($transition_container === 'false') ? ' data-transition-container="'.$transition_container.'"' : '';
890
  $ajaxloadmore .= (!empty($transition_container_classes)) ? ' data-transition-container-classes="'.$transition_container_classes.'"' : '';
891
-
892
  // Masonry
893
  $ajaxloadmore .= (!empty($masonry_selector)) ? ' data-masonry-selector="'.$masonry_selector.'"' : '';
894
  $ajaxloadmore .= (!empty($masonry_columnwidth)) ? ' data-masonry-columnwidth="'.$masonry_columnwidth.'"' : '';
895
  $ajaxloadmore .= (!empty($masonry_animation)) ? ' data-masonry-animation="'.$masonry_animation.'"' : '';
896
  $ajaxloadmore .= (!empty($masonry_horizontalorder)) ? ' data-masonry-horizontalorder="'.$masonry_horizontalorder.'"' : '';
897
-
898
  // Images Loaded
899
  $ajaxloadmore .= (!empty($images_loaded)) ? ' data-images-loaded="'.$images_loaded.'"' : '';
900
-
901
  // Primary
902
  $ajaxloadmore .= ($primary !== false) ? ' data-primary="true"' : '';
903
-
904
  $ajaxloadmore .= '>';
905
  // End .alm-listing
906
-
907
-
908
- // Preloaded
909
  // Add Preloaded Posts
910
  $noscript_pagingnav = '';
911
  if(has_action('alm_preload_installed') && $preloaded === 'true'){
912
  include(ALM_PATH .'core/classes/includes/preloaded.php');
913
  }
914
-
915
 
916
  // Single Post
917
  // Get first post and append to alm object
918
  if(has_action('alm_single_post_installed') && $single_post){
919
-
920
-
921
  $repeater_type = preg_split('/(?=\d)/', $repeater, 2); // split $repeater at number to retrieve type
922
  $repeater_type = $repeater_type[0]; // (default | repeater | template_)
923
-
924
  if($theme_repeater != 'null' && has_filter('alm_get_theme_repeater')){
925
  $repeater_type = null;
926
  }
@@ -937,12 +968,12 @@ if( !class_exists('ALM_SHORTCODE') ):
937
  *
938
  * @return $args;
939
  */
940
-
941
  if($offset < 1){
942
  // Only render include if offset is zero
943
  $single_post_output .= apply_filters('alm_single_post_inc', $repeater, $repeater_type, $theme_repeater, $single_post_id, $post_type);
944
  }
945
-
946
 
947
  $single_post_output .= '</div>';
948
  $ajaxloadmore .= $single_post_output; // Add $single_post_output data to $ajaxloadmore
@@ -959,7 +990,7 @@ if( !class_exists('ALM_SHORTCODE') ):
959
  $nextpage_is_paged = ($nextpage_start > 1) ? true : false;
960
 
961
  $alm_nextpage_output = apply_filters('alm_init_nextpage', $nextpage_post_id, $nextpage_start,$nextpage_is_paged, $paging, $div_id, $id);
962
-
963
  $ajaxloadmore .= $alm_nextpage_output;
964
 
965
  }
@@ -968,22 +999,22 @@ if( !class_exists('ALM_SHORTCODE') ):
968
 
969
  // Masonry Hook (After)
970
  $ajaxloadmore .= apply_filters('alm_masonry_after', $transition);
971
-
972
-
973
  // Close ALM container element
974
  $ajaxloadmore .= '</'.$container_element.'>';
975
-
976
-
977
  /*
978
  * alm_noscript (Generates <noscript/> element of current query)
979
  *
980
- * ALM Core Filter Hook
981
  *
982
  * @return html;
983
  */
984
  if(($seo === 'true' || $filters) && $preloaded !== 'true' && !$restapi){
985
  $ajaxloadmore .= apply_filters('alm_noscript', $query_args, $container_element, $css_classes, $transition_container_classes);
986
- }
987
 
988
 
989
  /*
@@ -993,28 +1024,28 @@ if( !class_exists('ALM_SHORTCODE') ):
993
  *
994
  * @return html;
995
  */
996
- $ajaxloadmore .= apply_filters('alm_before_button', '');
997
-
998
-
999
  // Create Load More button
1000
- $ajaxloadmore .= self::alm_render_button($seo, $paging, $button_classname, $button_label, $canonicalURL);
 
1001
 
1002
-
1003
  // Render <noscript> pagination for SEO and Preloaded (./preloaded.php)
1004
  $ajaxloadmore .= (!empty($noscript_pagingnav)) ? $noscript_pagingnav : '';
1005
-
1006
-
1007
- // Render <noscript> pagination for Nextpage addon
1008
- if(has_action('alm_nextpage_installed') && $nextpage){
1009
  $ajaxloadmore .= apply_filters( 'alm_nextpage_noscript_paging', $query_args['post_id'], $query_args['id'] ); // located in Nextpage add-on
1010
  }
1011
-
1012
  // No results text
1013
  if($no_results_text !== '' && !empty($no_results_text)){
1014
  $ajaxloadmore .= '<div class="alm-no-results" style="display: none;">'. $no_results_text .'</div>';
1015
  }
1016
-
1017
-
1018
  // Close #ajax-load-more
1019
  $ajaxloadmore .= '</div>';
1020
 
@@ -1044,14 +1075,14 @@ if( !class_exists('ALM_SHORTCODE') ):
1044
  }
1045
  }
1046
  // End REST API Add-on
1047
-
1048
-
1049
-
1050
  // Add localized vars
1051
  ALM_LOCALIZE::add_localized_var('id', $master_id, $localize_id);
1052
-
1053
-
1054
-
1055
  /*
1056
  * alm_create_script_vars
1057
  *
@@ -1060,15 +1091,15 @@ if( !class_exists('ALM_SHORTCODE') ):
1060
  * @return <script>
1061
  */
1062
  ALM_LOCALIZE::create_script_vars($localize_id);
1063
-
1064
-
1065
-
1066
  return $ajaxloadmore; // End $ajaxloadmore object
1067
-
1068
  }
1069
-
1070
-
1071
-
1072
  /**
1073
  * alm_render_button
1074
  * Render the load more button.
@@ -1077,21 +1108,21 @@ if( !class_exists('ALM_SHORTCODE') ):
1077
  * @return $html
1078
  */
1079
  public static function alm_render_button($seo, $paging, $button_classname, $button_label, $canonicalURL){
1080
-
1081
- $html = '<div class="alm-btn-wrap" style="visibility: hidden;">';
1082
- if($paging !== 'true'){
1083
  $btn_element = 'button';
1084
  $btn_href = '';
1085
- $btn_rel = ' rel="next"';
1086
- $html .= '<'. $btn_element .' class="alm-load-more-btn more'. $button_classname .'"'. $btn_href . $btn_rel .'>'. $button_label .'</'. $btn_element .'>';
1087
- }
1088
  $html .= '</div>';
1089
-
1090
- return $html;
1091
-
1092
- }
1093
 
1094
  }
1095
-
1096
  endif;
1097
 
29
  */
30
 
31
  public static function alm_render_shortcode($atts){
32
+
33
+
34
  // Get global $post obj
35
  global $post;
36
 
37
 
38
  // Get ALM options
39
  $options = get_option( 'alm_settings' );
40
+
41
+
42
  /*
43
  * alm_settings
44
  * Override default ALM Settings
48
  * @return $options;
49
  */
50
  $options = (has_filter('alm_settings')) ? apply_filters('alm_settings', $options) : $options;
51
+
52
+
53
  // Add count
54
  self::$counter++;
55
 
62
  // Custom CSS for Layouts - Only run this once.
63
  if(has_action('alm_layouts_custom_css')){
64
  do_action('alm_layouts_custom_css', self::$counter);
65
+ }
66
+
67
+
68
+
69
  /*
70
  * alm_shortcode_defaults
71
  * Set default shortcode values that can be over written via shortcode atts
74
  *
75
  * @return $atts;
76
  */
77
+ $default_atts = apply_filters('alm_shortcode_defaults', '');
78
+
79
  // Merge arrays. Allows for defaults to be overwritten by the actual shortcode.
80
  $atts = ($default_atts) ? array_merge($default_atts, $atts) : $atts;
81
+
82
+
83
+
84
  // Extact shortcode arrtibutes
85
  extract(shortcode_atts(array(
86
  'nested' => false,
87
+ 'tabs' => false,
88
+ 'tab_template' => '',
89
  'filters' => false,
90
  'target' => '',
91
  'filters_url' => 'true',
134
  'single_post_order' => 'previous',
135
  'single_post_taxonomy' => '',
136
  'single_post_excluded_terms' => '',
137
+ 'single_post_progress_bar' => '',
138
  'cache' => 'false',
139
  'cache_id' => '',
140
  'paging' => 'false',
209
  'button_loading_label' => '',
210
  'container_type' => '',
211
  'css_classes' => '',
212
+ 'loading_style' => '',
213
  'id' => '',
214
  'primary' => false,
215
  'woocommerce' => false,
216
  'no_results_text' => ''
217
+ ), $atts));
218
+
219
+
220
+
221
  // Backwards compat
222
  // If $previous_post_ is true, set the $single_post_{value} params
223
  if($previous_post === 'true'){
230
 
231
 
232
  // Start Enqueue Scripts
233
+
234
+
235
  // Inline Core CSS
236
  if( !is_admin() && alm_do_inline_css('_alm_inline_css') && !alm_css_disabled('_alm_disable_css') && self::$counter === 1 ){
237
  $file = ALM_PATH . '/core/dist/css/'. ALM_SLUG .'.min.css'; // Core Ajax Load More
242
  if(isset($options['_alm_legacy_callbacks']) && $options['_alm_legacy_callbacks'] == '1'){ // Load if active
243
  wp_enqueue_script( 'ajax-load-more-legacy-callbacks' );
244
  }
245
+
246
  // Core ALM
247
  wp_enqueue_script( 'ajax-load-more' );
248
+
249
+ // Layouts
250
+ if(has_action('alm_layouts_installed')){
251
+ // Inline Layouts CSS
252
+ if( !is_admin() && alm_do_inline_css('_alm_inline_css') && self::$counter === 1 ){
253
+ if(defined('ALM_LAYOUTS_PATH') && defined('ALM_LAYOUTS_URL')){
254
+ $file = ALM_LAYOUTS_PATH.'/core/css/ajax-load-more-layouts.min.css';
255
+ echo ALM_ENQUEUE::alm_inline_css('ajax-load-more-layouts', $file, ALM_LAYOUTS_URL);
256
+ }
257
+ }
258
+ }
259
+
260
  // Masonry
261
  if($transition === 'masonry'){
262
  wp_enqueue_script( 'ajax-load-more-masonry' ); // Enqueue before core ALM
263
  }
264
 
 
 
 
 
 
 
265
  // Next Page
266
  if(has_action('alm_nextpage_installed') && $nextpage === 'true'){
267
  wp_enqueue_script( 'ajax-load-more-nextpage' );
271
  if(has_action('alm_paging_installed') && $paging === 'true'){
272
  wp_enqueue_script( 'ajax-load-more-paging' );
273
  wp_enqueue_script( 'ajax-load-more-images-loaded' ); // Required for Paging
274
+
275
+ // Inline paging CSS
276
  if( !is_admin() && alm_do_inline_css('_alm_inline_css') && !alm_css_disabled('_alm_paging_disable_css') ){
277
  if(defined('ALM_PAGING_PATH') && defined('ALM_PAGING_URL')){
278
  $file = ALM_PAGING_PATH.'/core/css/ajax-load-more-paging.min.css';
281
  }
282
  }
283
 
284
+ // Progress Bar
285
+ if($progress_bar === 'true'){ // Enqueue bar JS
286
+ wp_add_inline_script( 'ajax-load-more', 'window.paceOptions = {restartOnPushState: false};' );
287
+ wp_enqueue_script( 'ajax-load-more-progress' );
288
+ }
 
 
 
 
 
289
 
290
  // Previous Post
291
  if(has_action('alm_single_post_installed') && $single_post === 'true'){
296
  if(has_action('alm_seo_installed') && $seo === 'true'){
297
  wp_enqueue_script( 'ajax-load-more-seo' );
298
  }
299
+
300
+ // Tabs
301
+ if(has_action('alm_tabs_installed') && $tabs === 'true'){
302
+ wp_enqueue_script( 'ajax-load-more-tabs' );
303
+
304
+ // Inline tabs CSS
305
+ if( !is_admin() && alm_do_inline_css('_alm_inline_css') && !alm_css_disabled('_alm_tabs_disable_css') ){
306
+ if(defined('ALM_TABS_PATH') && defined('ALM_TABS_URL')){
307
+ $file = ALM_TABS_PATH.'/core/css/ajax-load-more-tabs.min.css';
308
+ echo ALM_ENQUEUE::alm_inline_css('ajax-load-more-tabs', $file, ALM_TABS_URL);
309
+ }
310
+ }
311
+ }
312
+
313
 
314
 
315
  /*
323
 
324
 
325
  // End Enqueue Scripts
326
+
327
+
328
  // Filters - Set initial shortcode state
329
  $filters = ($filters === 'true' && class_exists('ALMFilters')) ? true : false;
330
+ if($filters){
331
  $single_post = $seo = false;
332
  $transition_container = "true"; // required
333
  if(defined('ALM_FILTERS_PATH')){
334
  include(ALM_FILTERS_PATH .'includes/initial-state-params.php');
335
  }
336
+ }
337
+
338
+ $single_post = ($single_post === 'true') ? true : false;
339
 
340
  $transition_container = ($seo === "true" || $single_post || $filters) ? 'true' : $transition_container;
341
+
342
  // Transition Container Classes
343
  $transition_container_classes = (!empty($transition_container_classes)) ? ' '. $transition_container_classes : '';
344
+
345
+
346
  // REST API
347
  if($restapi === 'true'){
348
  $restapi = true;
354
  if($options['_alm_container_type'] == '2' || $single_post){
355
  $container_element = 'div';
356
  }
357
+
358
  // CSS Classes
359
  $css_classes = (!empty($css_classes)) ? ' ' . $css_classes : '';
360
 
366
  $posts_per_page = 1;
367
  $container_element = 'div';
368
  }
369
+
370
  // Users
371
+ $users = ($users === 'true') ? true : false;
372
 
373
  // Comments
374
  $container_element = ($comments === 'true') ? $comments_style : $container_element;
380
  $classname = (empty($classname)) ? '' : ' '.$classname;
381
  }
382
 
383
+ // Get loading style (color/style)
384
+ $alm_loading_style = (isset($options['_alm_btn_color'])) ? ' '.$options['_alm_btn_color'] : ' default';
385
+ $alm_loading_style = ($loading_style !== '') ? ' ' . $loading_style : $alm_loading_style;
 
 
386
 
387
  // Get paging color
388
+ $paging_color = (isset($options['_alm_paging_color']) && has_action('alm_paging_installed') && $paging === 'true') ? ' paging-'.$options['_alm_paging_color'] : '';
 
 
 
389
 
390
+ // Layouts Class
391
  $alm_layouts = (has_action('alm_layouts_installed')) ? ' alm-layouts' : '';
392
 
393
+ // Tabs Class
394
+ $alm_tabs = (has_action('alm_tabs_installed')) ? ' alm-tabs' : '';
395
+
396
  // Get btn classnames
397
  $button_classname = (isset($options['_alm_btn_classname'])) ? ' '.$options['_alm_btn_classname'] : '';
398
 
404
  if (function_exists('qtrans_getLanguage')){ // qTranslate - https://wordpress.org/plugins/qtranslate/
405
  $lang = qtrans_getLanguage();
406
  }
407
+
408
  // Global Posts Per Page
409
  $wp_posts_per_page = get_option( 'posts_per_page' ); // Posts per page - settings -> reading
410
 
426
  $pause_override = 'false';
427
  }
428
  }
429
+
430
 
431
  // Start ALM object
432
  $ajaxloadmore = '';
433
+
434
+
435
 
436
  /*
437
  * alm_before_container
447
 
448
  // Generate ALM ID
449
  $div_id = (self::$counter > 1) ? 'ajax-load-more-'.self::$counter : 'ajax-load-more';
450
+
451
  // Localized ID - ID used for storin glocalized variables
452
  $localize_id = (empty($id)) ? $div_id : 'ajax-load-more-'.$id;
453
+
454
  // Master ID - Manual or generated ALM ID
455
  $master_id = (empty($id)) ? $div_id : $id;
456
+
457
  // Custom unique ALM ID (shortcode)
458
  $unique_id = (!empty($id)) ? 'data-id="'.$id.'"' : '';
459
 
460
  // Search atts - Used with SEO
461
  $is_search = (is_search()) ? 'data-search="true"' : '';
462
 
463
+ // Nested Instance
464
  $is_nested = ($nested === 'true') ? ' data-nested="true"' : '';
465
 
466
 
467
  // Start .alm-listing
468
+ $ajaxloadmore .= '<div id="'. $div_id .'" class="ajax-load-more-wrap'. $alm_loading_style .''. $paging_color .''. $alm_layouts . $alm_tabs .'" '. $unique_id .' data-alm-id="" data-canonical-url="'. $canonicalURL .'" data-slug="'. $slug .'" data-post-id="'. $post_id .'" '. $is_search . $is_nested .' data-localized="'. alm_convert_dashes_to_underscore($localize_id) .'_vars' .'">';
469
 
470
 
471
  // Masonry Hook (Before)
472
  $ajaxloadmore .= apply_filters('alm_masonry_before', $transition);
473
+
474
+
475
  // WooCommerce
476
  // - Set required WooCommerce config options
477
  if($woocommerce === 'true'){
527
  $acf = false;
528
  $pause = 'true';
529
  }
530
+
531
  // If SEO, set preloaded_amount to posts_per_page
532
  if($seo === 'true' || $filters){
533
  $preloaded_amount = $posts_per_page;
534
  }
535
+
536
  // If Filters & Filters Paging, set preloaded_amount to posts_per_page
537
  if($filters && $filters_paging === 'true'){
538
  $preloaded_amount = $posts_per_page;
539
  }
540
+
541
+
542
  // $query_args array to store global ALM variables
543
+ $query_args = array(
544
  'post_id' => $post_id,
545
  'preloaded' => $preloaded,
546
  'preloaded_amount' => $preloaded_amount,
602
  'theme_repeater' => $theme_repeater,
603
  'paged' => (get_query_var('paged')) ? get_query_var('paged') : 1
604
  );
605
+
606
+
607
  $listing_class = ($comments === 'true') ? 'commentlist alm-comments' : 'alm-listing'; // If Comments
608
+
609
+
610
  // Open #ajax-load-more
611
+
612
+ $ajaxloadmore .= '<'.$container_element.' aria-live="polite" aria-atomic="true"';
613
  $ajaxloadmore .= ' class="'.$listing_class.' alm-ajax'. $paging_container_class . $classname . $css_classes .'"'.$paging_transition.'';
614
 
615
  // Build container data atts
626
  );
627
  $ajaxloadmore .= $acf_return;
628
  }
629
+
630
+
631
  // Cache Add-on
632
  if(has_action('alm_cache_installed') && $cache === 'true'){
633
  $cache_return = apply_filters(
638
  );
639
  $ajaxloadmore .= $cache_return;
640
  }
641
+
642
+
643
  // CTA Add-on
644
  if(has_action('alm_cta_installed') && $cta === 'true'){
645
  $cta_return = apply_filters(
651
  );
652
  $ajaxloadmore .= $cta_return;
653
  }
654
+
655
+
656
  // Comments Add-on
657
  if(has_action('alm_comments_installed') && $comments === 'true'){
658
  $comments_return = apply_filters(
667
  );
668
  $ajaxloadmore .= $comments_return;
669
  }
670
+
671
+
672
  // Filters Add-on
673
  if(has_action('alm_filters_installed') && $filters){
674
  $filters_return = apply_filters(
685
  );
686
  $ajaxloadmore .= $filters_return;
687
  }
688
+
689
+
690
  // Paging Add-on
691
  if(has_action('alm_paging_installed') && $paging === 'true'){
692
  $paging_return = apply_filters(
694
  $paging,
695
  $paging_controls,
696
  $paging_show_at_most,
697
+ $paging_classes,
698
  $paging_first_label,
699
  $paging_last_label,
700
  $paging_previous_label,
703
  );
704
  $ajaxloadmore .= $paging_return;
705
  }
706
+
707
+
708
+ // Tabs Add-on
709
+ if(has_action('alm_tabs_installed') && $tabs === 'true'){
710
+ $tabs_return = apply_filters(
711
+ 'alm_tabs_shortcode',
712
+ $tabs,
713
+ $tab_template,
714
+ $options
715
+ );
716
+ $ajaxloadmore .= $tabs_return;
717
+
718
+ $transition_container = "true"; // required
719
+
720
+ // Set `pause` true for tabs and preloaded
721
+ if($preloaded === 'true'){
722
+ $pause = "true";
723
+ }
724
+ }
725
+
726
+
727
  // Preloaded Add-on
728
+ if(has_action('alm_preload_installed') && $preloaded === 'true'){
729
+
730
+ $preloaded = ($seo === 'true' && (int)$query_args['paged'] < 1 && $paging !== 'true') ? 'true' : $preloaded; // SEO page 1
731
+
 
732
  // SEO > page 1
733
  $preloaded = ($seo === 'true' && $query_args['paged'] > 1 && $paging !== 'true') ? false : $preloaded; // SEO page > 1
734
+
 
735
  // Filters
736
  if($filters && $_SERVER['QUERY_STRING']){
737
  $querystring = $_SERVER['QUERY_STRING'];
741
  $ajaxloadmore .= ' data-is-preloaded="true"';
742
  }
743
  }
744
+
745
+ // Set `is-preloaded` attribute to add `.alm-preloaded` class to first `.alm-reveal` div
746
+ $ajaxloadmore .= ($seo === 'true' && $query_args['paged'] > 1) ? ' data-is-preloaded="true"' : '';
747
+
748
+ // Add `preloaded` atts
749
+ $ajaxloadmore .= ' data-preloaded="'.$preloaded.'"';
 
 
750
  $ajaxloadmore .= ' data-preloaded-amount="'.$preloaded_amount.'"';
751
  }
752
+
753
+
754
  // REST API Extension
755
  if(has_action('alm_rest_api_installed') && $restapi === true){
756
  $restapi_return = apply_filters(
764
  );
765
  $ajaxloadmore .= $restapi_return;
766
  }
767
+
768
+
769
  // SEO Add-on
770
  if(has_action('alm_seo_installed') && $seo === 'true'){
771
  $seo_return = apply_filters(
776
  );
777
  $ajaxloadmore .= $seo_return;
778
  }
779
+
780
+
781
  // Single Posts Add-on
782
  if(has_action('alm_single_post_installed') && $single_post){
783
  $single_post_return = apply_filters(
786
  $single_post_order,
787
  $single_post_taxonomy,
788
  $single_post_excluded_terms,
789
+ $single_post_progress_bar,
790
  $options
791
  );
792
  $ajaxloadmore .= $single_post_return;
793
  }
794
+
795
+
796
  // Nextpage Post Add-on
797
  if(has_action('alm_nextpage_installed') && $nextpage){
798
  $nextpage_return = apply_filters(
805
  );
806
  $ajaxloadmore .= $nextpage_return;
807
  }
808
+
809
+
810
  // Users Add-on
811
+ if(has_action('alm_users_installed') && $users){
812
+ $posts_per_page = $users_per_page; // Update $posts_per_page var to be $users_per_page
813
  $users_return = apply_filters(
814
  'alm_users_shortcode',
815
  $users_role,
820
  $users_orderby,
821
  $options
822
  );
823
+ $ajaxloadmore .= $users_return;
824
  }
825
+
826
+ $ajaxloadmore .= ' data-container-type="'.$container_element.'"';
827
+
828
+
829
+ $ajaxloadmore .= ' data-repeater="'.$repeater.'"';
830
+ $ajaxloadmore .= ($theme_repeater != 'null') ? ' data-theme-repeater="'.$theme_repeater.'"' : '';
831
+
832
+ // Post Type
833
  $ajaxloadmore .= ' data-post-type="'.$post_type.'"';
834
+
835
  // Sticky posts
836
  $ajaxloadmore .= ($sticky_posts === 'true') ? ' data-sticky-posts="'.$sticky_posts.'"' : '';
837
+
838
  // Post Format
839
  $ajaxloadmore .= (!empty($post_format)) ? ' data-post-format="'.$post_format.'"' : '';
840
+
841
  // Category
842
  $ajaxloadmore .= (!empty($category)) ? ' data-category="'.$category.'"' : '';
843
  $ajaxloadmore .= (!empty($category__and)) ? ' data-category-and="'.$category__and.'"' : '';
844
  $ajaxloadmore .= (!empty($category__not_in)) ? ' data-category-not-in="'.$category__not_in.'"' : '';
845
+
846
  // Tag
847
  $ajaxloadmore .= (!empty($tag)) ? ' data-tag="'.$tag.'"' : '';
848
  $ajaxloadmore .= (!empty($tag__and)) ? ' data-tag-and="'.$tag__and.'"' : '';
849
  $ajaxloadmore .= (!empty($tag__not_in)) ? ' data-tag-not-in="'.$tag__not_in.'"' : '';
850
+
851
  // Taxonomy
852
  $ajaxloadmore .= (!empty($taxonomy)) ? ' data-taxonomy="'.$taxonomy.'"' : '';
853
  $ajaxloadmore .= (!empty($taxonomy_terms)) ? ' data-taxonomy-terms="'.$taxonomy_terms.'"' : '';
854
  $ajaxloadmore .= (!empty($taxonomy_operator)) ? ' data-taxonomy-operator="'.$taxonomy_operator.'"' : '';
855
  $ajaxloadmore .= (!empty($taxonomy_relation)) ? ' data-taxonomy-relation="'.$taxonomy_relation.'"' : '';
856
+
857
  // Meta Query
858
  $ajaxloadmore .= (!empty($meta_key)) ? ' data-meta-key="'.$meta_key.'"' : '';
859
  $ajaxloadmore .= (!empty($meta_value) || $meta_value === '0') ? ' data-meta-value="'.$meta_value.'"' : '';
860
  $ajaxloadmore .= (!empty($meta_compare)) ? ' data-meta-compare="'.$meta_compare.'"' : '';
861
  $ajaxloadmore .= (!empty($meta_relation)) ? ' data-meta-relation="'.$meta_relation.'"' : '';
862
  $ajaxloadmore .= (!empty($meta_type)) ? ' data-meta-type="'.$meta_type.'"' : '';
863
+
864
  // Dates
865
  $ajaxloadmore .= (!empty($year)) ? ' data-year="'.$year.'"' : '';
866
  $ajaxloadmore .= (!empty($month)) ? ' data-month="'.$month.'"' : '';
867
  $ajaxloadmore .= (!empty($day)) ? ' data-day="'.$day.'"' : '';
868
+
869
  // Author
870
  $ajaxloadmore .= (!empty($author)) ? ' data-author="'.$author.'"' : '';
871
+
872
  // Post Parameters
873
  $ajaxloadmore .= (!empty($post__in)) ? ' data-post-in="'.$post__in.'"' : '';
874
  $ajaxloadmore .= (!empty($post__not_in)) ? ' data-post-not-in="'.$post__not_in.'"' : '';
875
  $ajaxloadmore .= (!empty($exclude)) ? ' data-exclude="'.$exclude.'"' : '';
876
+
877
  // Search
878
  $ajaxloadmore .= (!empty($search)) ? ' data-search="'.$search.'"' : '';
879
+
880
  // Custom Args
881
  $ajaxloadmore .= (!empty($custom_args)) ? ' data-custom-args="'.$custom_args.'"' : '';
882
+
883
  // Status
884
  $ajaxloadmore .= (!empty($post_status)) ? ' data-post-status="'.$post_status.'"' : '';
885
+
886
  // Order
887
  $ajaxloadmore .= ' data-order="'.$order.'"';
888
  $ajaxloadmore .= ' data-orderby="'.$orderby.'"';
889
+
890
  // Offset
891
  $ajaxloadmore .= ' data-offset="'.$offset.'"';
892
+
893
  // Posts Per Page
894
  $ajaxloadmore .= ' data-posts-per-page="'.$posts_per_page.'"';
895
+
896
  // Lang
897
  $ajaxloadmore .= (!empty($lang)) ? ' data-lang="'.$lang.'"' : '';
898
+
899
  // Scroll
900
  $ajaxloadmore .= ' data-scroll="'.$scroll.'"';
901
  if($scroll === 'true'){
904
  $ajaxloadmore .= ' data-max-pages="'.$max_pages.'"';
905
  $ajaxloadmore .= (!empty($pause_override)) ? ' data-pause-override="'.$pause_override.'"' : '';
906
  }
907
+
908
  // Pause
909
  $ajaxloadmore .= ' data-pause="'.$pause.'"';
910
+
911
  // Button
912
+ $ajaxloadmore .= ' data-button-label="'.$button_label.'"';
913
  $ajaxloadmore .= (!empty($button_loading_label)) ? ' data-button-loading-label="'.$button_loading_label.'"' : '';
914
+
915
  // Destroy After
916
  $ajaxloadmore .= (!empty($destroy_after)) ? ' data-destroy-after="'.$destroy_after.'"' : '';
917
+
918
  // Transition
919
  $ajaxloadmore .= ' data-transition="'.$transition.'"';
920
  $ajaxloadmore .= ($transition_container === 'false') ? ' data-transition-container="'.$transition_container.'"' : '';
921
  $ajaxloadmore .= (!empty($transition_container_classes)) ? ' data-transition-container-classes="'.$transition_container_classes.'"' : '';
922
+
923
  // Masonry
924
  $ajaxloadmore .= (!empty($masonry_selector)) ? ' data-masonry-selector="'.$masonry_selector.'"' : '';
925
  $ajaxloadmore .= (!empty($masonry_columnwidth)) ? ' data-masonry-columnwidth="'.$masonry_columnwidth.'"' : '';
926
  $ajaxloadmore .= (!empty($masonry_animation)) ? ' data-masonry-animation="'.$masonry_animation.'"' : '';
927
  $ajaxloadmore .= (!empty($masonry_horizontalorder)) ? ' data-masonry-horizontalorder="'.$masonry_horizontalorder.'"' : '';
928
+
929
  // Images Loaded
930
  $ajaxloadmore .= (!empty($images_loaded)) ? ' data-images-loaded="'.$images_loaded.'"' : '';
931
+
932
  // Primary
933
  $ajaxloadmore .= ($primary !== false) ? ' data-primary="true"' : '';
934
+
935
  $ajaxloadmore .= '>';
936
  // End .alm-listing
937
+
938
+
939
+ // Preloaded
940
  // Add Preloaded Posts
941
  $noscript_pagingnav = '';
942
  if(has_action('alm_preload_installed') && $preloaded === 'true'){
943
  include(ALM_PATH .'core/classes/includes/preloaded.php');
944
  }
945
+
946
 
947
  // Single Post
948
  // Get first post and append to alm object
949
  if(has_action('alm_single_post_installed') && $single_post){
950
+
951
+
952
  $repeater_type = preg_split('/(?=\d)/', $repeater, 2); // split $repeater at number to retrieve type
953
  $repeater_type = $repeater_type[0]; // (default | repeater | template_)
954
+
955
  if($theme_repeater != 'null' && has_filter('alm_get_theme_repeater')){
956
  $repeater_type = null;
957
  }
968
  *
969
  * @return $args;
970
  */
971
+
972
  if($offset < 1){
973
  // Only render include if offset is zero
974
  $single_post_output .= apply_filters('alm_single_post_inc', $repeater, $repeater_type, $theme_repeater, $single_post_id, $post_type);
975
  }
976
+
977
 
978
  $single_post_output .= '</div>';
979
  $ajaxloadmore .= $single_post_output; // Add $single_post_output data to $ajaxloadmore
990
  $nextpage_is_paged = ($nextpage_start > 1) ? true : false;
991
 
992
  $alm_nextpage_output = apply_filters('alm_init_nextpage', $nextpage_post_id, $nextpage_start,$nextpage_is_paged, $paging, $div_id, $id);
993
+
994
  $ajaxloadmore .= $alm_nextpage_output;
995
 
996
  }
999
 
1000
  // Masonry Hook (After)
1001
  $ajaxloadmore .= apply_filters('alm_masonry_after', $transition);
1002
+
1003
+
1004
  // Close ALM container element
1005
  $ajaxloadmore .= '</'.$container_element.'>';
1006
+
1007
+
1008
  /*
1009
  * alm_noscript (Generates <noscript/> element of current query)
1010
  *
1011
+ * ALM Core Filter Hook
1012
  *
1013
  * @return html;
1014
  */
1015
  if(($seo === 'true' || $filters) && $preloaded !== 'true' && !$restapi){
1016
  $ajaxloadmore .= apply_filters('alm_noscript', $query_args, $container_element, $css_classes, $transition_container_classes);
1017
+ }
1018
 
1019
 
1020
  /*
1024
  *
1025
  * @return html;
1026
  */
1027
+ $ajaxloadmore .= apply_filters('alm_before_button', '');
1028
+
1029
+
1030
  // Create Load More button
1031
+ $ajaxloadmore .= self::alm_render_button($seo, $paging, $button_classname, $button_label, $canonicalURL);
1032
+
1033
 
 
1034
  // Render <noscript> pagination for SEO and Preloaded (./preloaded.php)
1035
  $ajaxloadmore .= (!empty($noscript_pagingnav)) ? $noscript_pagingnav : '';
1036
+
1037
+
1038
+ // Render <noscript> pagination for Nextpage addon
1039
+ if(has_action('alm_nextpage_installed') && $nextpage){
1040
  $ajaxloadmore .= apply_filters( 'alm_nextpage_noscript_paging', $query_args['post_id'], $query_args['id'] ); // located in Nextpage add-on
1041
  }
1042
+
1043
  // No results text
1044
  if($no_results_text !== '' && !empty($no_results_text)){
1045
  $ajaxloadmore .= '<div class="alm-no-results" style="display: none;">'. $no_results_text .'</div>';
1046
  }
1047
+
1048
+
1049
  // Close #ajax-load-more
1050
  $ajaxloadmore .= '</div>';
1051
 
1075
  }
1076
  }
1077
  // End REST API Add-on
1078
+
1079
+
1080
+
1081
  // Add localized vars
1082
  ALM_LOCALIZE::add_localized_var('id', $master_id, $localize_id);
1083
+
1084
+
1085
+
1086
  /*
1087
  * alm_create_script_vars
1088
  *
1091
  * @return <script>
1092
  */
1093
  ALM_LOCALIZE::create_script_vars($localize_id);
1094
+
1095
+
1096
+
1097
  return $ajaxloadmore; // End $ajaxloadmore object
1098
+
1099
  }
1100
+
1101
+
1102
+
1103
  /**
1104
  * alm_render_button
1105
  * Render the load more button.
1108
  * @return $html
1109
  */
1110
  public static function alm_render_button($seo, $paging, $button_classname, $button_label, $canonicalURL){
1111
+
1112
+ $html = '<div class="alm-btn-wrap" style="visibility: hidden;">';
1113
+ if($paging !== 'true'){
1114
  $btn_element = 'button';
1115
  $btn_href = '';
1116
+ $btn_rel = ' rel="next"';
1117
+ $html .= '<'. $btn_element .' class="alm-load-more-btn more'. $button_classname .'"'. $btn_href . $btn_rel .'>'. $button_label .'</'. $btn_element .'>';
1118
+ }
1119
  $html .= '</div>';
1120
+
1121
+ return $html;
1122
+
1123
+ }
1124
 
1125
  }
1126
+
1127
  endif;
1128
 
core/classes/includes/preloaded.php CHANGED
@@ -48,14 +48,29 @@ $query_args['posts_per_page'] = $preloaded_amount;
48
  $type = alm_get_repeater_type($repeater);
49
 
50
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  // Comments
52
- if($comments){
53
 
54
  if(has_action('alm_comments_installed') && $comments){
55
 
56
  /*
57
  * alm_comments_preloaded
58
- *
59
  * Preloaded Comments Filter
60
  *
61
  * @return $preloaded_comments;
48
  $type = alm_get_repeater_type($repeater);
49
 
50
 
51
+ // Tabs
52
+ if($tabs === 'true'){
53
+
54
+ /*
55
+ * alm_tabs_preloaded
56
+ * Preloaded Tabs Filter
57
+ *
58
+ * @return $preloaded_tabs;
59
+ */
60
+ $preloaded_tabs = apply_filters('alm_tabs_preloaded', $tab_template);
61
+ $preloaded_output .= $alm_reveal;
62
+ $preloaded_output .= $preloaded_tabs;
63
+ $preloaded_output .= '</div>';
64
+
65
+ }
66
+
67
  // Comments
68
+ elseif($comments){
69
 
70
  if(has_action('alm_comments_installed') && $comments){
71
 
72
  /*
73
  * alm_comments_preloaded
 
74
  * Preloaded Comments Filter
75
  *
76
  * @return $preloaded_comments;
core/dist/js/ajax-load-more.js CHANGED
@@ -100,7 +100,7 @@ var ajaxloadmore =
100
  Object.defineProperty(exports, "__esModule", {
101
  value: true
102
  });
103
- exports.getOffset = exports.almScroll = exports.start = exports.tracking = exports.filter = undefined;
104
 
105
  var _axios = __webpack_require__(/*! axios */ "./node_modules/axios/index.js");
106
 
@@ -324,7 +324,7 @@ var alm_is_filtering = false;
324
  alm.transition = alm.listing.dataset.transition; // Transition
325
  alm.transition_container = alm.listing.dataset.transitionContainer; // Transition Container
326
  alm.tcc = alm.listing.dataset.transitionContainerClasses; // Transition Container Classes
327
- alm.speed = alm_localize.speed ? parseInt(alm_localize.speed) : 250;
328
  alm.images_loaded = alm.listing.dataset.imagesLoaded ? alm.listing.dataset.imagesLoaded : false;
329
  alm.destroy_after = alm.listing.dataset.destroyAfter ? alm.listing.dataset.destroyAfter : '';
330
  alm.orginal_posts_per_page = parseInt(alm.listing.dataset.postsPerPage); // Used for paging add-on
@@ -357,6 +357,7 @@ var alm_is_filtering = false;
357
  alm.addons.single_post_init_id = alm.listing.dataset.singlePostId;
358
  alm.addons.single_post_taxonomy = alm.listing.dataset.singlePostTaxonomy;
359
  alm.addons.single_post_excluded_terms = alm.listing.dataset.singlePostExcludedTerms;
 
360
 
361
  alm.addons.comments = alm.listing.dataset.comments; // Comments add-on
362
  alm.addons.comments_post_id = alm.listing.dataset.comments_post_id; // current post id
@@ -367,6 +368,8 @@ var alm_is_filtering = false;
367
  alm.addons.comments_template = alm.listing.dataset.comments_template;
368
  alm.addons.comments_callback = alm.listing.dataset.comments_callback;
369
 
 
 
370
  alm.addons.filters = alm.listing.dataset.filters;
371
 
372
  alm.addons.seo = alm.listing.dataset.seo; // SEO add-on
@@ -449,6 +452,25 @@ var alm_is_filtering = false;
449
  }
450
  /* End Filters */
451
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
452
  /* REST API */
453
  if (alm.extensions.restapi === 'true') {
454
  alm.extensions.restapi = true;
@@ -549,6 +571,7 @@ var alm_is_filtering = false;
549
  alm.addons.single_post_order = alm.addons.single_post_order === undefined ? 'previous' : alm.addons.single_post_order;
550
  alm.addons.single_post_taxonomy = alm.addons.single_post_taxonomy === undefined ? '' : alm.addons.single_post_taxonomy;
551
  alm.addons.single_post_excluded_terms = alm.addons.single_post_excluded_terms === undefined ? '' : alm.addons.single_post_excluded_terms;
 
552
  alm.addons.single_post_title_template = alm.listing.dataset.singlePostTitleTemplate;
553
  alm.addons.single_post_siteTitle = alm.listing.dataset.singlePostSiteTitle;
554
  alm.addons.single_post_siteTagline = alm.listing.dataset.singlePostSiteTagline;
@@ -656,6 +679,7 @@ var alm_is_filtering = false;
656
  alm.resultsText = document.querySelector('.alm-results-text');
657
  if (alm.resultsText) {
658
  alm.resultsText.setAttribute('aria-live', 'polite');
 
659
  } else {
660
  alm.resultsText = false;
661
  }
@@ -804,6 +828,8 @@ var alm_is_filtering = false;
804
  // REST API
805
  if (alm.extensions.restapi) {
806
  alm.AjaxLoadMore.restapi(alm, action, queryType);
 
 
807
  }
808
 
809
  // Standard ALM
@@ -870,9 +896,64 @@ var alm_is_filtering = false;
870
  });
871
  };
872
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
873
  /**
874
  * restapi
875
- * Send request to the WP RESP APT
876
  *
877
  * @param {*} alm | ALm object
878
  * @param {*} action | Ajax action
@@ -958,8 +1039,9 @@ var alm_is_filtering = false;
958
 
959
  var isPaged = false;
960
 
961
- // Create `.alm-reveal` div
962
- var reveal = document.createElement('div');
 
963
  alm.el = reveal;
964
  reveal.style.opacity = 0;
965
  reveal.style.height = 0;
@@ -971,7 +1053,7 @@ var alm_is_filtering = false;
971
  var html, meta, total;
972
 
973
  if (is_cache) {
974
- // If cached don't look for json data - we won't be querying the DB.
975
  html = data;
976
  } else {
977
  // Standard ALM query results
@@ -1008,9 +1090,11 @@ var alm_is_filtering = false;
1008
  }
1009
  }
1010
  if (typeof almEmpty === 'function') {
1011
- (0, _noResults2.default)(alm.content, alm.no_results);
1012
  window.almEmpty(alm);
1013
  }
 
 
 
1014
  }
1015
 
1016
  // isPaged
@@ -1032,7 +1116,6 @@ var alm_is_filtering = false;
1032
  /*
1033
  * Set localized variables
1034
  */
1035
-
1036
  (0, _setLocalizedVars2.default)(alm);
1037
 
1038
  /*
@@ -1053,7 +1136,6 @@ var alm_is_filtering = false;
1053
  reveal.dataset.page = alm.page;
1054
  reveal.dataset.id = alm.addons.single_post_id;
1055
  reveal.dataset.title = alm.addons.single_post_title;
1056
-
1057
  reveal.innerHTML = alm.html;
1058
  } else {
1059
 
@@ -1289,6 +1371,29 @@ var alm_is_filtering = false;
1289
  alm.AjaxLoadMore.transitionEnd();
1290
  }
1291
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1292
  } else {
1293
 
1294
  // Paging
@@ -1402,13 +1507,22 @@ var alm_is_filtering = false;
1402
  }
1403
  }
1404
 
1405
- // Set focus (only with transition_containers)
1406
- if (alm.transition_container) {
1407
  if (alm.addons.paging) {
1408
- (0, _setFocus2.default)(alm.init, alm.addons.preloaded, pagingContent);
 
 
 
 
1409
  } else {
1410
- (0, _setFocus2.default)(alm.init, alm.addons.preloaded, reveal);
 
1411
  }
 
 
 
 
1412
  }
1413
 
1414
  // Comment Reply Fix
@@ -1445,9 +1559,11 @@ var alm_is_filtering = false;
1445
  window.almPagingEmpty(alm);
1446
  }
1447
  if (typeof almEmpty === 'function') {
1448
- (0, _noResults2.default)(alm.content, alm.no_results);
1449
  window.almEmpty(alm);
1450
  }
 
 
 
1451
  }
1452
  };
1453
 
@@ -1739,18 +1855,27 @@ var alm_is_filtering = false;
1739
 
1740
  /**
1741
  * Window Resize
1742
- * Add resize function for Paging add-on only.
1743
  *
1744
  * @since 2.1.2
1745
- * @updated 4.2
1746
  */
1747
- if (alm.addons.paging) {
1748
- var pagingResize = void 0;
1749
  alm.window.onresize = function () {
1750
- clearTimeout(pagingResize);
1751
- pagingResize = setTimeout(function (e) {
1752
- if (typeof almOnWindowResize === 'function') {
1753
- window.almOnWindowResize(alm);
 
 
 
 
 
 
 
 
 
1754
  }
1755
  }, alm.speed);
1756
  };
@@ -1817,8 +1942,25 @@ var alm_is_filtering = false;
1817
  // Scroll Container
1818
  alm.window = document.querySelector(alm.scroll_container) ? document.querySelector(alm.scroll_container) : alm.window;
1819
  }
1820
- alm.window.addEventListener('scroll', alm.AjaxLoadMore.scroll);
1821
- alm.window.addEventListener('touchstart', alm.AjaxLoadMore.scroll);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1822
  }
1823
 
1824
  /**
@@ -1848,14 +1990,15 @@ var alm_is_filtering = false;
1848
  setTimeout(function () {
1849
  alm.AjaxLoadMore.resetBtnText();
1850
  alm.main.classList.remove('alm-loading');
 
1851
  alm.AjaxLoadMore.triggerAddons(alm);
1852
  if (!alm.addons.paging) {
1853
  setTimeout(function () {
1854
- alm.button.classList.remove('loading'); // Loading button
1855
  alm.loading = false; // Delay to prevent loading to fast
1856
- }, alm.speed);
1857
  }
1858
- }, alm.speed);
1859
  };
1860
 
1861
  /**
@@ -1988,9 +2131,11 @@ var alm_is_filtering = false;
1988
  // almEmpty
1989
  if (alm.addons.preloaded_total_posts == 0) {
1990
  if (typeof almEmpty === 'function') {
1991
- (0, _noResults2.default)(alm.content, alm.no_results);
1992
  window.almEmpty(alm);
1993
  }
 
 
 
1994
  }
1995
  }, alm.speed);
1996
  }
@@ -2166,17 +2311,42 @@ var alm_is_filtering = false;
2166
  */
2167
  var filter = function filter() {
2168
  var transition = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'fade';
2169
- var speed = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '250';
2170
  var data = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
2171
 
2172
  if (!transition || !speed || !data) {
2173
  return false;
2174
  }
2175
  alm_is_filtering = true;
2176
- (0, _filtering2.default)(transition, speed, data);
2177
  };
2178
  exports.filter = filter;
2179
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2180
  /**
2181
  * tracking
2182
  * Track Page Views in Google Analytics
@@ -2191,14 +2361,23 @@ var tracking = function tracking(path) {
2191
  gtag('event', 'page_view', {
2192
  'page_path': path
2193
  });
 
 
 
2194
  }
2195
  if (typeof ga === 'function') {
2196
  // Deprecated GA Tracking
2197
  ga('send', 'pageview', path);
 
 
 
2198
  }
2199
  if (typeof __gaTracker === 'function') {
2200
  // Monster Insights
2201
  __gaTracker('send', 'pageview', path);
 
 
 
2202
  }
2203
 
2204
  // Dispatch global Analytics callback
@@ -2264,6 +2443,24 @@ var getOffset = function getOffset() {
2264
  };
2265
  exports.getOffset = getOffset;
2266
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2267
  /***/ }),
2268
 
2269
  /***/ "./core/src/js/helpers/almAppendChild.js":
@@ -3378,33 +3575,33 @@ exports.default = almFadeOut;
3378
 
3379
 
3380
  Object.defineProperty(exports, "__esModule", {
3381
- value: true
3382
  });
3383
 
3384
  var _slicedToArray = function () {
3385
- function sliceIterator(arr, i) {
3386
- var _arr = [];var _n = true;var _d = false;var _e = undefined;try {
3387
- for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
3388
- _arr.push(_s.value);if (i && _arr.length === i) break;
3389
- }
3390
- } catch (err) {
3391
- _d = true;_e = err;
3392
- } finally {
3393
- try {
3394
- if (!_n && _i["return"]) _i["return"]();
3395
- } finally {
3396
- if (_d) throw _e;
3397
- }
3398
- }return _arr;
3399
- }return function (arr, i) {
3400
- if (Array.isArray(arr)) {
3401
- return arr;
3402
- } else if (Symbol.iterator in Object(arr)) {
3403
- return sliceIterator(arr, i);
3404
- } else {
3405
- throw new TypeError("Invalid attempt to destructure non-iterable instance");
3406
- }
3407
- };
3408
  }();
3409
 
3410
  var _fadeIn = __webpack_require__(/*! ./fadeIn */ "./core/src/js/modules/fadeIn.js");
@@ -3416,43 +3613,46 @@ var _fadeOut = __webpack_require__(/*! ./fadeOut */ "./core/src/js/modules/fadeO
3416
  var _fadeOut2 = _interopRequireDefault(_fadeOut);
3417
 
3418
  function _interopRequireDefault(obj) {
3419
- return obj && obj.__esModule ? obj : { default: obj };
3420
  }
3421
 
3422
  function _toConsumableArray(arr) {
3423
- if (Array.isArray(arr)) {
3424
- for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {
3425
- arr2[i] = arr[i];
3426
- }return arr2;
3427
- } else {
3428
- return Array.from(arr);
3429
- }
3430
  }
3431
 
3432
  /**
3433
  * almFilter(type, speed, data)
3434
  * Filter Ajax Load More
3435
  *
3436
- * @param transition string;
3437
- * @param speed number;
3438
- * @param data obj;
 
3439
  * @since 2.6.1
3440
  */
3441
 
3442
  var almFilter = function almFilter(transition, speed, data) {
3443
- if (data.target) {
3444
- // if a target has been specified
3445
- var target = document.querySelectorAll('.ajax-load-more-wrap[data-id="' + data.target + '"]');
3446
- target.forEach(function (element) {
3447
- almFilterTransition(transition, speed, data, element);
3448
- });
3449
- } else {
3450
- // Target not specified
3451
- var alm = document.querySelectorAll('.ajax-load-more-wrap');
3452
- alm.forEach(function (element) {
3453
- almFilterTransition(transition, speed, data, element);
3454
- });
3455
- }
 
 
3456
  };
3457
  exports.default = almFilter;
3458
 
@@ -3460,151 +3660,196 @@ exports.default = almFilter;
3460
  * almFilterTransition(transition, speed, data, el)
3461
  * Transition Ajax Load More
3462
  *
3463
- * @param transition string;
3464
- * @param speed number;
3465
- * @param data obj;
3466
- * @param el element;
 
3467
  * @since 2.13.1
3468
  */
3469
 
3470
- var almFilterTransition = function almFilterTransition(transition, speed, data, el) {
3471
 
3472
- if (transition === 'fade' || transition === 'masonry') {
3473
- // Fade, Masonry transition
3474
- (0, _fadeOut2.default)(el, speed);
3475
- setTimeout(function () {
3476
- el.classList.add('alm-is-filtering');
3477
- almCompleteFilterTransition(speed, data, el);
3478
- }, speed);
3479
- } else {
3480
- // No transition
3481
- el.classList.add('alm-is-filtering');
3482
- almCompleteFilterTransition(speed, data, el);
3483
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3484
  };
3485
 
3486
  /**
3487
  * almCompleteFilterTransition
3488
  * Complete the filter transition
3489
  *
3490
- * @param speed number;
3491
- * @param data obj;
3492
- * @param el element;
 
3493
  * @since 3.3
3494
  */
3495
- var almCompleteFilterTransition = function almCompleteFilterTransition(speed, data, el) {
3496
 
3497
- // Get `.alm-btn-wrap` element
3498
- var btnWrap = el.querySelector('.alm-btn-wrap');
3499
 
3500
- // Get `.alm-listing` element
3501
- var listing = el.querySelectorAll('.alm-listing');
3502
 
3503
- // Loop over all .alm-listing divs
3504
- [].concat(_toConsumableArray(listing)).forEach(function (e) {
3505
- e.innerHTML = ''; // Clear listings
3506
- });
3507
 
3508
- // Get Load More button
3509
- var button = btnWrap.querySelector('.alm-load-more-btn');
3510
- if (button) {
3511
- button.classList.remove('done'); // Reset Button
3512
- }
3513
 
3514
- // Clear paging navigation
3515
- var paging = btnWrap.querySelector('.alm-paging');
3516
- if (paging) {
3517
- paging.style.opacity = 0;
3518
- }
3519
 
3520
- // Dispatch Filters
3521
- almSetFilters(speed, data, el);
3522
  };
3523
 
3524
  /**
3525
  * almSetFilters
3526
  * Set filter parameters on .alm-listing element
3527
  *
3528
- * @param speed number;
3529
- * @param el element;
3530
- * @param data string;
 
3531
  * @updated 3.3
3532
  * @since 2.6.1
3533
  */
3534
  var almSetFilters = function almSetFilters() {
3535
- var speed = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 250;
3536
- var data = arguments[1];
3537
- var el = arguments[2];
 
 
 
 
 
 
 
3538
 
3539
- // Get `alm-listing` container
3540
- var listing = el.querySelector('.alm-listing') || el.querySelector('.alm-comments');
3541
- if (!listing) {
3542
- return false;
3543
- }
 
3544
 
3545
- // Update data attributes
3546
- var _iteratorNormalCompletion = true;
3547
- var _didIteratorError = false;
3548
- var _iteratorError = undefined;
3549
 
3550
- try {
3551
- for (var _iterator = Object.entries(data)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
3552
- var _ref = _step.value;
3553
 
3554
- var _ref2 = _slicedToArray(_ref, 2);
 
3555
 
3556
- var key = _ref2[0];
3557
- var value = _ref2[1];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3558
 
3559
- // Convert camelCase data atts back to dashes (-).
3560
- key = key.replace(/\W+/g, '-').replace(/([a-z\d])([A-Z])/g, '$1-$2').toLowerCase();
3561
- listing.setAttribute('data-' + key, value);
3562
- }
3563
 
3564
- // Fade ALM back in
3565
- } catch (err) {
3566
- _didIteratorError = true;
3567
- _iteratorError = err;
3568
- } finally {
3569
- try {
3570
- if (!_iteratorNormalCompletion && _iterator.return) {
3571
- _iterator.return();
3572
- }
3573
- } finally {
3574
- if (_didIteratorError) {
3575
- throw _iteratorError;
3576
- }
3577
- }
3578
- }
3579
 
3580
- (0, _fadeIn2.default)(el, speed);
 
3581
 
3582
- // Re-initiate Ajax Load More
3583
- var target = '';
3584
- if (data.target) {
3585
- // Target has been specified
3586
- target = document.querySelector('.ajax-load-more-wrap[data-id="' + data.target + '"]');
3587
- if (target) {
3588
- window.almInit(target);
3589
- }
3590
- } else {
3591
- // Target not specified
3592
- target = document.querySelector('.ajax-load-more-wrap');
3593
- if (target) {
3594
- window.almInit(target);
3595
- }
3596
- }
3597
 
3598
- // Filters Complete
3599
- if (typeof almFilterComplete === 'function') {
3600
- // Standard Filtering
3601
- almFilterComplete();
3602
- }
3603
- if (typeof almFiltersAddonComplete === "function") {
3604
- // Filters Add-on
3605
- almFiltersAddonComplete(el);
3606
- }
3607
- // End Filters Complete
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3608
  };
3609
 
3610
  /***/ }),
@@ -4060,15 +4305,19 @@ Object.defineProperty(exports, "__esModule", {
4060
  * @param {Boolean} init
4061
  * @param {String} preloaded
4062
  * @param {HTMLElement} element
 
4063
  * @since 5.1
4064
  */
4065
  var setFocus = function setFocus() {
4066
  var init = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
4067
  var preloaded = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'false';
4068
  var element = arguments[2];
 
4069
 
4070
- if ((init || !element) && preloaded !== 'true') {
4071
- return false; // Exit if first run
 
 
4072
  }
4073
 
4074
  // Check if element is an array.
@@ -4080,9 +4329,11 @@ var setFocus = function setFocus() {
4080
 
4081
  // Set tabIndex on `.alm-reveal`
4082
  element.setAttribute('tabIndex', '-1');
 
4083
 
4084
  // Get Parent container
4085
- var parent = element.parentNode;
 
4086
 
4087
  // Scroll Container
4088
  var scrollContainer = parent.dataset.scrollContainer;
100
  Object.defineProperty(exports, "__esModule", {
101
  value: true
102
  });
103
+ exports.render = exports.getOffset = exports.almScroll = exports.start = exports.tracking = exports.tab = exports.filter = undefined;
104
 
105
  var _axios = __webpack_require__(/*! axios */ "./node_modules/axios/index.js");
106
 
324
  alm.transition = alm.listing.dataset.transition; // Transition
325
  alm.transition_container = alm.listing.dataset.transitionContainer; // Transition Container
326
  alm.tcc = alm.listing.dataset.transitionContainerClasses; // Transition Container Classes
327
+ alm.speed = alm_localize.speed ? parseInt(alm_localize.speed) : 200;
328
  alm.images_loaded = alm.listing.dataset.imagesLoaded ? alm.listing.dataset.imagesLoaded : false;
329
  alm.destroy_after = alm.listing.dataset.destroyAfter ? alm.listing.dataset.destroyAfter : '';
330
  alm.orginal_posts_per_page = parseInt(alm.listing.dataset.postsPerPage); // Used for paging add-on
357
  alm.addons.single_post_init_id = alm.listing.dataset.singlePostId;
358
  alm.addons.single_post_taxonomy = alm.listing.dataset.singlePostTaxonomy;
359
  alm.addons.single_post_excluded_terms = alm.listing.dataset.singlePostExcludedTerms;
360
+ alm.addons.single_post_progress_bar = alm.listing.dataset.singlePostProgressBar;
361
 
362
  alm.addons.comments = alm.listing.dataset.comments; // Comments add-on
363
  alm.addons.comments_post_id = alm.listing.dataset.comments_post_id; // current post id
368
  alm.addons.comments_template = alm.listing.dataset.comments_template;
369
  alm.addons.comments_callback = alm.listing.dataset.comments_callback;
370
 
371
+ alm.addons.tabs = alm.listing.dataset.tabs;
372
+
373
  alm.addons.filters = alm.listing.dataset.filters;
374
 
375
  alm.addons.seo = alm.listing.dataset.seo; // SEO add-on
452
  }
453
  /* End Filters */
454
 
455
+ /* TABS */
456
+ if (alm.addons.tabs === 'true') {
457
+ alm.addons.tabs = true;
458
+ alm.addons.tab_template = alm.listing.dataset.tabTemplate ? alm.listing.dataset.tabTemplate : '';
459
+
460
+ // Set current template
461
+ setTimeout(function () {
462
+ //window.almTabsOnLoad(alm);
463
+ }, 500);
464
+ if (typeof almTabsOnLoad === 'function' && window.location.hash) {
465
+ //alm.addons.tab_template = window.almTabsOnLoad(alm);
466
+ }
467
+
468
+ alm.addons.tabs_resturl = alm.listing.dataset.tabsRestUrl ? alm.listing.dataset.tabsRestUrl : '';
469
+ } else {
470
+ alm.addons.tabs = false;
471
+ }
472
+ /* End TABS */
473
+
474
  /* REST API */
475
  if (alm.extensions.restapi === 'true') {
476
  alm.extensions.restapi = true;
571
  alm.addons.single_post_order = alm.addons.single_post_order === undefined ? 'previous' : alm.addons.single_post_order;
572
  alm.addons.single_post_taxonomy = alm.addons.single_post_taxonomy === undefined ? '' : alm.addons.single_post_taxonomy;
573
  alm.addons.single_post_excluded_terms = alm.addons.single_post_excluded_terms === undefined ? '' : alm.addons.single_post_excluded_terms;
574
+ alm.addons.single_post_progress_bar = alm.addons.single_post_progress_bar === undefined ? '' : alm.addons.single_post_progress_bar;
575
  alm.addons.single_post_title_template = alm.listing.dataset.singlePostTitleTemplate;
576
  alm.addons.single_post_siteTitle = alm.listing.dataset.singlePostSiteTitle;
577
  alm.addons.single_post_siteTagline = alm.listing.dataset.singlePostSiteTagline;
679
  alm.resultsText = document.querySelector('.alm-results-text');
680
  if (alm.resultsText) {
681
  alm.resultsText.setAttribute('aria-live', 'polite');
682
+ alm.resultsText.setAttribute('aria-atomic', 'true');
683
  } else {
684
  alm.resultsText = false;
685
  }
828
  // REST API
829
  if (alm.extensions.restapi) {
830
  alm.AjaxLoadMore.restapi(alm, action, queryType);
831
+ } else if (alm.addons.tabs) {
832
+ alm.AjaxLoadMore.tabs(alm);
833
  }
834
 
835
  // Standard ALM
896
  });
897
  };
898
 
899
+ /**
900
+ * tabs
901
+ * Send request to the WP REST API
902
+ *
903
+ * @param {*} alm | ALm object
904
+ * @since 5.2.0
905
+ */
906
+ alm.AjaxLoadMore.tabs = function (alm) {
907
+
908
+ var alm_rest_url = alm.addons.tabs_resturl + 'ajaxloadmore/tab';
909
+
910
+ var params = {
911
+ post_id: alm.post_id,
912
+ template: alm.addons.tab_template
913
+
914
+ // Axios Interceptor for nested data objects
915
+ };_axios2.default.interceptors.request.use(function (config) {
916
+ config.paramsSerializer = function (params) {
917
+ // Qs is already included in the Axios package
918
+ return qs.stringify(params, {
919
+ arrayFormat: 'brackets',
920
+ encode: false
921
+ });
922
+ };
923
+ return config;
924
+ });
925
+
926
+ // Send Ajax request
927
+ _axios2.default.get(alm_rest_url, { params: params }).then(function (response) {
928
+
929
+ // Success
930
+ var results = response.data; // Get data from response
931
+ var html = results.html;
932
+
933
+ // Create object to pass to success()
934
+ var obj = {
935
+ 'html': html,
936
+ 'meta': {
937
+ 'postcount': 1,
938
+ 'totalposts': 1
939
+ }
940
+ };
941
+ alm.AjaxLoadMore.success(obj, false); // Send data
942
+
943
+
944
+ // Callback to Tabs add-on
945
+ if (typeof almTabLoaded === 'function') {
946
+ window.almTabLoaded(alm);
947
+ }
948
+ }).catch(function (error) {
949
+ // Error
950
+ alm.AjaxLoadMore.error(error, 'restapi');
951
+ });
952
+ };
953
+
954
  /**
955
  * restapi
956
+ * Send request to the WP REST API
957
  *
958
  * @param {*} alm | ALm object
959
  * @param {*} action | Ajax action
1039
 
1040
  var isPaged = false;
1041
 
1042
+ // Create `.alm-reveal` element
1043
+ //let reveal = document.createElement('div');
1044
+ var reveal = alm.container_type === 'table' ? document.createElement('tbody') : document.createElement('div');
1045
  alm.el = reveal;
1046
  reveal.style.opacity = 0;
1047
  reveal.style.height = 0;
1053
  var html, meta, total;
1054
 
1055
  if (is_cache) {
1056
+ // If Cache, do not look for json data as we won't be querying the DB.
1057
  html = data;
1058
  } else {
1059
  // Standard ALM query results
1090
  }
1091
  }
1092
  if (typeof almEmpty === 'function') {
 
1093
  window.almEmpty(alm);
1094
  }
1095
+ if (alm.no_results) {
1096
+ (0, _noResults2.default)(alm.content, alm.no_results);
1097
+ }
1098
  }
1099
 
1100
  // isPaged
1116
  /*
1117
  * Set localized variables
1118
  */
 
1119
  (0, _setLocalizedVars2.default)(alm);
1120
 
1121
  /*
1136
  reveal.dataset.page = alm.page;
1137
  reveal.dataset.id = alm.addons.single_post_id;
1138
  reveal.dataset.title = alm.addons.single_post_title;
 
1139
  reveal.innerHTML = alm.html;
1140
  } else {
1141
 
1371
  alm.AjaxLoadMore.transitionEnd();
1372
  }
1373
  }
1374
+
1375
+ // *****
1376
+ // TABS - Trigger almTabsSetHeight callback in Tabs add-on
1377
+ // *****
1378
+ if (typeof almTabsSetHeight === 'function') {
1379
+ if (alm.images_loaded === 'true') {
1380
+ imagesLoaded(reveal, function () {
1381
+ setTimeout(function () {
1382
+ (0, _fadeIn2.default)(alm.listing, alm.speed);
1383
+ setTimeout(function () {
1384
+ window.almTabsSetHeight(alm);
1385
+ }, alm.speed);
1386
+ }, alm.speed + 1);
1387
+ });
1388
+ } else {
1389
+ setTimeout(function () {
1390
+ (0, _fadeIn2.default)(alm.listing, alm.speed);
1391
+ setTimeout(function () {
1392
+ window.almTabsSetHeight(alm);
1393
+ }, alm.speed);
1394
+ }, alm.speed + 1);
1395
+ }
1396
+ }
1397
  } else {
1398
 
1399
  // Paging
1507
  }
1508
  }
1509
 
1510
+ // Set Focus for A11y
1511
+ if (alm.transition_container && total > 0) {
1512
  if (alm.addons.paging) {
1513
+ // Paging
1514
+ (0, _setFocus2.default)(alm.init, alm.addons.preloaded, alm.listing, alm_is_filtering);
1515
+ } else if (alm.addons.single_post || alm.addons.nextpage) {
1516
+ // Single Posts OR Next Page, set `init` to false to trigger focus
1517
+ (0, _setFocus2.default)(false, alm.addons.preloaded, reveal, alm_is_filtering);
1518
  } else {
1519
+ // Standard ALM
1520
+ (0, _setFocus2.default)(alm.init, alm.addons.preloaded, reveal, alm_is_filtering);
1521
  }
1522
+ } else if (!alm.transition_container && alm.container_type === 'table') {
1523
+
1524
+ // Table Layout
1525
+ (0, _setFocus2.default)(alm.init, alm.addons.preloaded, reveal[0], alm_is_filtering);
1526
  }
1527
 
1528
  // Comment Reply Fix
1559
  window.almPagingEmpty(alm);
1560
  }
1561
  if (typeof almEmpty === 'function') {
 
1562
  window.almEmpty(alm);
1563
  }
1564
+ if (alm.no_results) {
1565
+ (0, _noResults2.default)(alm.content, alm.no_results);
1566
+ }
1567
  }
1568
  };
1569
 
1855
 
1856
  /**
1857
  * Window Resize
1858
+ * Add resize function for Paging & Tabs add-ons.
1859
  *
1860
  * @since 2.1.2
1861
+ * @updated 5.2
1862
  */
1863
+ if (alm.addons.paging || alm.addons.tabs) {
1864
+ var resize = void 0;
1865
  alm.window.onresize = function () {
1866
+ clearTimeout(resize);
1867
+ resize = setTimeout(function (e) {
1868
+ if (alm.addons.tabs) {
1869
+ // Tabs
1870
+ if (typeof almOnTabsWindowResize === 'function') {
1871
+ window.almOnTabsWindowResize(alm);
1872
+ }
1873
+ }
1874
+ if (alm.addons.paging) {
1875
+ // Paging
1876
+ if (typeof almOnWindowResize === 'function') {
1877
+ window.almOnWindowResize(alm);
1878
+ }
1879
  }
1880
  }, alm.speed);
1881
  };
1942
  // Scroll Container
1943
  alm.window = document.querySelector(alm.scroll_container) ? document.querySelector(alm.scroll_container) : alm.window;
1944
  }
1945
+ alm.window.addEventListener('scroll', alm.AjaxLoadMore.scroll); // Scroll
1946
+ alm.window.addEventListener('touchstart', alm.AjaxLoadMore.scroll); // Touch Devices
1947
+ alm.window.addEventListener('wheel', function (e) {
1948
+ // Mousewheel
1949
+ var direction = Math.sign(e.deltaY);
1950
+ if (direction > 0) {
1951
+ alm.AjaxLoadMore.scroll();
1952
+ }
1953
+ });
1954
+ alm.window.addEventListener('keyup', function (e) {
1955
+ // End, Page Down
1956
+ var code = e.keyCode ? e.keyCode : e.which;
1957
+ switch (code) {
1958
+ case 35:
1959
+ case 34:
1960
+ alm.AjaxLoadMore.scroll();
1961
+ break;
1962
+ }
1963
+ });
1964
  }
1965
 
1966
  /**
1990
  setTimeout(function () {
1991
  alm.AjaxLoadMore.resetBtnText();
1992
  alm.main.classList.remove('alm-loading');
1993
+ alm.button.classList.remove('loading'); // Loading button
1994
  alm.AjaxLoadMore.triggerAddons(alm);
1995
  if (!alm.addons.paging) {
1996
  setTimeout(function () {
1997
+
1998
  alm.loading = false; // Delay to prevent loading to fast
1999
+ }, alm.speed * 3);
2000
  }
2001
+ }, 100);
2002
  };
2003
 
2004
  /**
2131
  // almEmpty
2132
  if (alm.addons.preloaded_total_posts == 0) {
2133
  if (typeof almEmpty === 'function') {
 
2134
  window.almEmpty(alm);
2135
  }
2136
+ if (alm.no_results) {
2137
+ (0, _noResults2.default)(alm.content, alm.no_results);
2138
+ }
2139
  }
2140
  }, alm.speed);
2141
  }
2311
  */
2312
  var filter = function filter() {
2313
  var transition = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'fade';
2314
+ var speed = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '200';
2315
  var data = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
2316
 
2317
  if (!transition || !speed || !data) {
2318
  return false;
2319
  }
2320
  alm_is_filtering = true;
2321
+ (0, _filtering2.default)(transition, speed, data, 'filter');
2322
  };
2323
  exports.filter = filter;
2324
 
2325
+ /**
2326
+ * tab
2327
+ * Tabbed content for Ajax Load More instance
2328
+ *
2329
+ * @since 5.2
2330
+ * @param {*} data
2331
+ * @param {*} url
2332
+ */
2333
+
2334
+ var tab = function tab() {
2335
+ var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
2336
+ var url = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
2337
+
2338
+ var transition = 'fade';
2339
+ var speed = alm_localize.speed ? parseInt(alm_localize.speed) : 200;
2340
+
2341
+ if (!data) {
2342
+ return false;
2343
+ }
2344
+
2345
+ alm_is_filtering = true;
2346
+ (0, _filtering2.default)(transition, speed, data, 'tab');
2347
+ };
2348
+ exports.tab = tab;
2349
+
2350
  /**
2351
  * tracking
2352
  * Track Page Views in Google Analytics
2361
  gtag('event', 'page_view', {
2362
  'page_path': path
2363
  });
2364
+ if (alm_localize.ga_debug) {
2365
+ console.log('Pageview sent to Google Analytics (gtag)');
2366
+ }
2367
  }
2368
  if (typeof ga === 'function') {
2369
  // Deprecated GA Tracking
2370
  ga('send', 'pageview', path);
2371
+ if (alm_localize.ga_debug) {
2372
+ console.log('Pageview sent to Google Analytics (ga)');
2373
+ }
2374
  }
2375
  if (typeof __gaTracker === 'function') {
2376
  // Monster Insights
2377
  __gaTracker('send', 'pageview', path);
2378
+ if (alm_localize.ga_debug) {
2379
+ console.log('Pageview sent to Google Analytics (__gaTracker)');
2380
+ }
2381
  }
2382
 
2383
  // Dispatch global Analytics callback
2443
  };
2444
  exports.getOffset = getOffset;
2445
 
2446
+ /**
2447
+ * almScroll
2448
+ * Scroll window to position (global function)
2449
+ *
2450
+ * @since 5.0
2451
+ * @param {*} position
2452
+ */
2453
+
2454
+ var render = function render(el) {
2455
+ var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
2456
+
2457
+ if (!el) {
2458
+ return false;
2459
+ }
2460
+ // console.log(el, options);
2461
+ };
2462
+ exports.render = render;
2463
+
2464
  /***/ }),
2465
 
2466
  /***/ "./core/src/js/helpers/almAppendChild.js":
3575
 
3576
 
3577
  Object.defineProperty(exports, "__esModule", {
3578
+ value: true
3579
  });
3580
 
3581
  var _slicedToArray = function () {
3582
+ function sliceIterator(arr, i) {
3583
+ var _arr = [];var _n = true;var _d = false;var _e = undefined;try {
3584
+ for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
3585
+ _arr.push(_s.value);if (i && _arr.length === i) break;
3586
+ }
3587
+ } catch (err) {
3588
+ _d = true;_e = err;
3589
+ } finally {
3590
+ try {
3591
+ if (!_n && _i["return"]) _i["return"]();
3592
+ } finally {
3593
+ if (_d) throw _e;
3594
+ }
3595
+ }return _arr;
3596
+ }return function (arr, i) {
3597
+ if (Array.isArray(arr)) {
3598
+ return arr;
3599
+ } else if (Symbol.iterator in Object(arr)) {
3600
+ return sliceIterator(arr, i);
3601
+ } else {
3602
+ throw new TypeError("Invalid attempt to destructure non-iterable instance");
3603
+ }
3604
+ };
3605
  }();
3606
 
3607
  var _fadeIn = __webpack_require__(/*! ./fadeIn */ "./core/src/js/modules/fadeIn.js");
3613
  var _fadeOut2 = _interopRequireDefault(_fadeOut);
3614
 
3615
  function _interopRequireDefault(obj) {
3616
+ return obj && obj.__esModule ? obj : { default: obj };
3617
  }
3618
 
3619
  function _toConsumableArray(arr) {
3620
+ if (Array.isArray(arr)) {
3621
+ for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {
3622
+ arr2[i] = arr[i];
3623
+ }return arr2;
3624
+ } else {
3625
+ return Array.from(arr);
3626
+ }
3627
  }
3628
 
3629
  /**
3630
  * almFilter(type, speed, data)
3631
  * Filter Ajax Load More
3632
  *
3633
+ * @param {*} transition string;
3634
+ * @param {*} speed number;
3635
+ * @param {*} data obj;
3636
+ * @param {*} type string;
3637
  * @since 2.6.1
3638
  */
3639
 
3640
  var almFilter = function almFilter(transition, speed, data) {
3641
+ var type = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "filter";
3642
+
3643
+ if (data.target) {
3644
+ // if a target has been specified
3645
+ var target = document.querySelectorAll('.ajax-load-more-wrap[data-id="' + data.target + '"]');
3646
+ target.forEach(function (element) {
3647
+ almFilterTransition(transition, speed, data, element, type);
3648
+ });
3649
+ } else {
3650
+ // Target not specified
3651
+ var alm = document.querySelectorAll('.ajax-load-more-wrap');
3652
+ alm.forEach(function (element) {
3653
+ almFilterTransition(transition, speed, data, element, type);
3654
+ });
3655
+ }
3656
  };
3657
  exports.default = almFilter;
3658
 
3660
  * almFilterTransition(transition, speed, data, el)
3661
  * Transition Ajax Load More
3662
  *
3663
+ * @param {*} transition string;
3664
+ * @param {*} speed number;
3665
+ * @param {*} data obj;
3666
+ * @param {*} el element;
3667
+ * @param {*} type string;
3668
  * @since 2.13.1
3669
  */
3670
 
3671
+ var almFilterTransition = function almFilterTransition(transition, speed, data, el, type) {
3672
 
3673
+ if (transition === 'fade' || transition === 'masonry') {
3674
+ // Fade, Masonry transition
3675
+
3676
+ switch (type) {
3677
+ case 'filter':
3678
+ el.classList.add('alm-is-filtering');
3679
+ (0, _fadeOut2.default)(el, speed);
3680
+
3681
+ break;
3682
+
3683
+ case 'tab':
3684
+ el.classList.add('alm-loading');
3685
+ var new_el = el.querySelector('.alm-listing');
3686
+ el.style.height = new_el.offsetHeight + 'px';
3687
+ (0, _fadeOut2.default)(new_el, speed);
3688
+
3689
+ break;
3690
+ }
3691
+
3692
+ // Move to next function
3693
+ setTimeout(function () {
3694
+ almCompleteFilterTransition(speed, data, el, type);
3695
+ }, speed);
3696
+ } else {
3697
+ // No transition
3698
+ el.classList.add('alm-is-filtering');
3699
+ almCompleteFilterTransition(speed, data, el, type);
3700
+ }
3701
  };
3702
 
3703
  /**
3704
  * almCompleteFilterTransition
3705
  * Complete the filter transition
3706
  *
3707
+ * @param {*} speed number;
3708
+ * @param {*} data obj;
3709
+ * @param {*} el element;
3710
+ * @param {*} type string;
3711
  * @since 3.3
3712
  */
3713
+ var almCompleteFilterTransition = function almCompleteFilterTransition(speed, data, el, type) {
3714
 
3715
+ // Get `.alm-btn-wrap` element
3716
+ var btnWrap = el.querySelector('.alm-btn-wrap');
3717
 
3718
+ // Get `.alm-listing` element
3719
+ var listing = el.querySelectorAll('.alm-listing');
3720
 
3721
+ // Loop over all .alm-listing divs
3722
+ [].concat(_toConsumableArray(listing)).forEach(function (e) {
3723
+ e.innerHTML = ''; // Clear listings
3724
+ });
3725
 
3726
+ // Get Load More button
3727
+ var button = btnWrap.querySelector('.alm-load-more-btn');
3728
+ if (button) {
3729
+ button.classList.remove('done'); // Reset Button
3730
+ }
3731
 
3732
+ // Clear paging navigation
3733
+ var paging = btnWrap.querySelector('.alm-paging');
3734
+ if (paging) {
3735
+ paging.style.opacity = 0;
3736
+ }
3737
 
3738
+ // Dispatch Filters
3739
+ almSetFilters(speed, data, el, type);
3740
  };
3741
 
3742
  /**
3743
  * almSetFilters
3744
  * Set filter parameters on .alm-listing element
3745
  *
3746
+ * @param {*} speed number;
3747
+ * @param {*} el element;
3748
+ * @param {*} data string;
3749
+ * @param {*} type string;
3750
  * @updated 3.3
3751
  * @since 2.6.1
3752
  */
3753
  var almSetFilters = function almSetFilters() {
3754
+ var speed = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 250;
3755
+ var data = arguments[1];
3756
+ var el = arguments[2];
3757
+ var type = arguments[3];
3758
+
3759
+ // Get `alm-listing` container
3760
+ var listing = el.querySelector('.alm-listing') || el.querySelector('.alm-comments');
3761
+ if (!listing) {
3762
+ return false;
3763
+ }
3764
 
3765
+ switch (type) {
3766
+ case 'filter':
3767
+ // Update data attributes
3768
+ var _iteratorNormalCompletion = true;
3769
+ var _didIteratorError = false;
3770
+ var _iteratorError = undefined;
3771
 
3772
+ try {
3773
+ for (var _iterator = Object.entries(data)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
3774
+ var _ref = _step.value;
 
3775
 
3776
+ var _ref2 = _slicedToArray(_ref, 2);
 
 
3777
 
3778
+ var key = _ref2[0];
3779
+ var value = _ref2[1];
3780
 
3781
+ // Convert camelCase data atts back to dashes (-).
3782
+ key = key.replace(/\W+/g, '-').replace(/([a-z\d])([A-Z])/g, '$1-$2').toLowerCase();
3783
+ listing.setAttribute('data-' + key, value);
3784
+ }
3785
+ // Fade ALM back (Filters only)
3786
+ } catch (err) {
3787
+ _didIteratorError = true;
3788
+ _iteratorError = err;
3789
+ } finally {
3790
+ try {
3791
+ if (!_iteratorNormalCompletion && _iterator.return) {
3792
+ _iterator.return();
3793
+ }
3794
+ } finally {
3795
+ if (_didIteratorError) {
3796
+ throw _iteratorError;
3797
+ }
3798
+ }
3799
+ }
3800
 
3801
+ (0, _fadeIn2.default)(el, speed);
3802
+ break;
 
 
3803
 
3804
+ case 'tab':
3805
+ // Update `data-tab-template` attribute
3806
+ listing.setAttribute('data-preloaded', 'false');
3807
+ listing.setAttribute('data-pause', 'false');
3808
+ listing.setAttribute('data-tab-template', data.tabTemplate);
 
 
 
 
 
 
 
 
 
 
3809
 
3810
+ break;
3811
+ }
3812
 
3813
+ // Re-initiate Ajax Load More
3814
+ var target = '';
3815
+ if (data.target) {
3816
+ // Target has been specified
3817
+ target = document.querySelector('.ajax-load-more-wrap[data-id="' + data.target + '"]');
3818
+ if (target) {
3819
+ window.almInit(target);
3820
+ }
3821
+ } else {
3822
+ // Target not specified
3823
+ target = document.querySelector('.ajax-load-more-wrap');
3824
+ if (target) {
3825
+ window.almInit(target);
3826
+ }
3827
+ }
3828
 
3829
+ switch (type) {
3830
+
3831
+ case 'filter':
3832
+ // Filters Complete
3833
+ if (typeof almFilterComplete === 'function') {
3834
+ // Standard Filtering
3835
+ almFilterComplete();
3836
+ }
3837
+ // Filter Add-on Complete
3838
+ if (typeof almFiltersAddonComplete === "function") {
3839
+ // Filters Add-on
3840
+ almFiltersAddonComplete(el);
3841
+ }
3842
+ break;
3843
+
3844
+ case 'tab':
3845
+ // Tabs Complete
3846
+ if (typeof almTabsComplete === 'function') {
3847
+ // Standard Filtering
3848
+ almTabsComplete();
3849
+ }
3850
+ break;
3851
+
3852
+ }
3853
  };
3854
 
3855
  /***/ }),
4305
  * @param {Boolean} init
4306
  * @param {String} preloaded
4307
  * @param {HTMLElement} element
4308
+ * @param {Boolean} alm_is_filtering
4309
  * @since 5.1
4310
  */
4311
  var setFocus = function setFocus() {
4312
  var init = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
4313
  var preloaded = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'false';
4314
  var element = arguments[2];
4315
+ var alm_is_filtering = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
4316
 
4317
+ if (!alm_is_filtering) {
4318
+ if ((init || !element) && preloaded !== 'true') {
4319
+ return false; // Exit if first run
4320
+ }
4321
  }
4322
 
4323
  // Check if element is an array.
4329
 
4330
  // Set tabIndex on `.alm-reveal`
4331
  element.setAttribute('tabIndex', '-1');
4332
+ element.style.outline = 'none';
4333
 
4334
  // Get Parent container
4335
+ // If `.alm-listing` set parent to element
4336
+ var parent = !element.classList.contains('alm-listing') ? element.parentNode : element;
4337
 
4338
  // Scroll Container
4339
  var scrollContainer = parent.dataset.scrollContainer;
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/srcsetPolyfill.js","webpack://ajaxloadmore/./core/src/js/helpers/stripEmptyNodes.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/noResults.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/noConflict.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/noConflict.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"],"names":["queryParams","resultsText","require","qs","imagesLoaded","smoothscroll","alm_is_filtering","ajaxloadmore","alm_localize","window","alm","el","alm_no_results","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","params","data","queryType","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","location","error","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","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","srcsetPolyfill","ua","imgs","img","stripEmptyNodes","nodes","node","almFadeIn","op","timer","clearInterval","almFadeOut","fadeEffect","almFilter","almFilterTransition","almCompleteFilterTransition","paging","almSetFilters","key","almFilterComplete","almFiltersAddonComplete","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","almNoResults","almResultsText","almGetResultsText","almInitResultsText","resultsType","current","almRenderResultsText","text","setFocus","parent","scrollContainer","x","y","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;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;;;;;;;;;ACjEA;;;;AACA;;;;AAKA;;AACA;;;;AACA;;;;AACA;;;;AACA;;;;AACA;;;;AACA;;;;AACA;;;;AACA;;IAAYA,c;;AACZ;;IAAYC,c;;AACZ;;;;AACA;;;;AACA;;;;AACA;;;;AACA;;;;AACA;;;;AACA;;;;AACA;;;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAzCA;;;;;;;;AASA;AACAC,mBAAOA,CAAPA;AACAA,mBAAOA,CAAPA;;AAGA;AACA,IAAIC,KAAKD,mBAAOA,CAAhB,0CAASA,CAAT;AACA,IAAIE,eAAeF,mBAAOA,CAA1B,iEAAmBA,CAAnB;AAEkD;AAClDG;;AAGA;;;AAsBA;AACA,IAAIC,mBAAJ;;AAGA;AACA,CAAC,YAAW;AACT;;AAEA;;;;;;;;AAOA,OAAIC,eAAe,SAAfA,YAAe,QAAgB;;AAGhC;AACA,UAAIC,gBAAgBA,2BAApB,QAAu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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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;;;;;;;;;;;;AC/Ia;AACb,kBAAkB,mBAAO,CAAC,qGAAiB;AAC3C,cAAc,mBAAO,CAAC,qFAAS;AAC/B,eAAe,mBAAO,CAAC,+FAAc;AACrC,eAAe,mBAAO,CAAC,+FAAc;AACrC,iBAAiB,mBAAO,CAAC,mGAAgB;AACzC,YAAY,mBAAO,CAAC,yFAAW;AAC/B,wBAAwB,mBAAO,CAAC,uGAAkB;AAClD,WAAW,mBAAO,CAAC,mFAAQ;AAC3B,eAAe,mBAAO,CAAC,mHAAwB;AAC/C;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,qBAAqB;AACrB,qBAAqB;AACrB,0BAA0B;AAC1B;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;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ACd,cAAc;AACd,eAAe;AACf,eAAe;AACf,eAAe;AACf,gBAAgB;AAChB;;;;;;;;;;;;AC1CA,YAAY,mBAAO,CAAC,mFAAQ;AAC5B;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK,YAAY;AACjB,GAAG;AACH;;;;;;;;;;;;ACXA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;;;;;;;;;;;;ACNa;AACb,mBAAO,CAAC,yGAAmB;AAC3B,eAAe,mBAAO,CAAC,6FAAa;AACpC,WAAW,mBAAO,CAAC,qFAAS;AAC5B,YAAY,mBAAO,CAAC,uFAAU;AAC9B,cAAc,mBAAO,CAAC,2FAAY;AAClC,UAAU,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;AAC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;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,mBAAmB;AACnC;AACA;AACA,kCAAkC,2BAA2B;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;;;;;;;;;;;ACpEA,eAAe,mBAAO,CAAC,mFAAQ;AAC/B;;AAEA;AACA;AACA,iCAAiC,qBAAqB;AACtD;AACA,iCAAiC,SAAS,EAAE;AAC5C,CAAC,YAAY;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,SAAS,qBAAqB;AAC3D,iCAAiC,aAAa;AAC9C;AACA,GAAG,YAAY;AACf;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;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;;;;;;;;;;;;ACpEa;AACb;AACA,gBAAgB,mBAAO,CAAC,iGAAe;;AAEvC;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;ACjBa;AACb;AACA,cAAc,mBAAO,CAAC,mGAAgB;AACtC,WAAW,mBAAO,CAAC,mGAAgB;AACnC,UAAU,mBAAO,CAAC,iGAAe;AACjC,eAAe,mBAAO,CAAC,+FAAc;AACrC,cAAc,mBAAO,CAAC,2FAAY;AAClC;;AAEA;AACA,6BAA6B,mBAAO,CAAC,uFAAU;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC,UAAU,EAAE;AAChD,mBAAmB,sCAAsC;AACzD,CAAC,qCAAqC;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;ACjCD;AACA,eAAe,mBAAO,CAAC,+FAAc;AACrC,UAAU,mBAAO,CAAC,iGAAe;AACjC,kBAAkB,mBAAO,CAAC,uGAAkB;AAC5C,eAAe,mBAAO,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C,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,mBAAO,CAAC,iGAAe;AACvC;AACA;AACA,2DAA2D;AAC3D;;;;;;;;;;;;ACLA;AACA,cAAc,mBAAO,CAAC,2FAAY;AAClC;AACA;AACA;;;;;;;;;;;;ACJA;AACA,eAAe,mBAAO,CAAC,+FAAc;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACXa;AACb,IAAI,mBAAO,CAAC,mGAAgB;AAC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Ae;AACzC,wBAAwB,mBAAO,CAAC,+GAAsB;AACtD,YAAY,mBAAO,CAAC,+FAAc;AAClC,cAAc,mBAAO,CAAC,mGAAgB;AACtC;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;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;AACA,4BAA4B;AAC5B,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,iBAAiB,mBAAmB,0BAA0B,EAAE,EAAE;AAClE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yDAAyD,gCAAgC;AACzF;AACA,OAAO;AACP;AACA;AACA,6EAA6E,YAAY;AACzF;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,yDAAyD,6CAA6C,EAAE;;AAExG;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL,mDAAmD;AACnD;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL,oCAAoC;AACpC;AACA,KAAK;AACL,wEAAwE;AACxE;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL,8DAA8D;AAC9D;AACA,KAAK;AACL,wEAAwE;AACxE;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;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,KAAK;AACL;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH,yBAAyB,sBAAsB,EAAE,EAAE;AACnD;AACA;AACA;AACA;;AAEA,4CAA4C;AAC5C;AACA;AACA;AACA;AACA;AACA,8BAA8B,aAAa;AAC3C;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,sBAAsB,0BAA0B;AAChD,GAAG;;AAEH;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,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL,yBAAyB;AACzB,KAAK;AACL,uBAAuB;AACvB,2BAA2B;AAC3B,0BAA0B;AAC1B,2BAA2B;AAC3B,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AAC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AACA,QAAQ,WAAW;AACnB;AACA;AACA,QAAQ,UAAU;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,WAAW;AACnB;AACA;AACA;AACA,QAAQ,WAAW;AACnB;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,yBAAyB,mBAAmB,uBAAuB,EAAE,EAAE;AACvE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,WAAW;AAC5B;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,GAAG;AACH,CAAC;AACD;AACA;AACA,GAAG;AACH,yBAAyB;AACzB,GAAG;AACH,uBAAuB;AACvB,0BAA0B;AAC1B,0BAA0B;AAC1B;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,iDAAiD,iBAAiB;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AAC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AAG;;;;;;;;;;;;ACHpE;AACA,cAAc,mBAAO,CAAC,yFAAW;;AAEjC;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACRD;AACA,cAAc,mBAAO,CAAC,yFAAW;AACjC,gBAAgB,mBAAO,CAAC,iGAAe;AACvC;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACTD;AACA,cAAc,mBAAO,CAAC,yFAAW;;AAEjC,8BAA8B,qCAAqC;;;;;;;;;;;;ACHnE;AACA,cAAc,mBAAO,CAAC,yFAAW;;AAEjC,8BAA8B,sCAAsC;;;;;;;;;;;;ACHpE,cAAc,mBAAO,CAAC,yFAAW;AACjC,kBAAkB,mBAAO,CAAC,mGAAgB;AAC1C;AACA,+EAA+E,0BAA0B;;;;;;;;;;;;ACHzG,cAAc,mBAAO,CAAC,yFAAW;AACjC,gBAAgB,mBAAO,CAAC,+FAAc;AACtC;AACA,2EAA2E,sBAAsB;;;;;;;;;;;;;ACHpF;AACb,cAAc,mBAAO,CAAC,yFAAW;AACjC,gBAAgB,mBAAO,CAAC,iGAAe;AACvC,mBAAmB,mBAAO,CAAC,yGAAmB;AAC9C,aAAa,mBAAO,CAAC,uGAAkB;AACvC;AACA;AACA;AACA;AACA;;AAEA;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,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA,MAAM,mBAAO,CAAC,uFAAU;AACxB;AACA,kBAAkB;AAClB,CAAC;AACD;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;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;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,mBAAmB,kCAAkC;AACrD,SAAS;AACT;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,eAAe,uCAAuC;AACtD;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;AACA,uBAAuB,0BAA0B;AACjD;AACA;AACA,SAAS;AACT;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA;AACA,GAAG;AACH,kBAAkB,yBAAyB,KAAK;AAChD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB,wBAAwB;AACxB,gBAAgB;AAChB,oBAAoB;AACpB,wBAAwB;AACxB,gBAAgB;AAChB,oBAAoB;AACpB;AACA,uBAAuB,mBAAO,CAAC,qGAAiB;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,0DAA0D,oBAAoB;AAC9E,mBAAO,CAAC,+GAAsB;AAC9B,mBAAO,CAAC,mGAAgB;AACxB,UAAU,mBAAO,CAAC,qFAAS;;AAE3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,gDAAgD,mBAAO,CAAC,mGAAgB;AACxE;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;A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AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,oBAAoB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,mBAAmB;AAC1C;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;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,KAAK;AACL;AACA,CAAC;;;;;;;;;;;;;ACrHY;;AAEb,eAAe,mBAAO,CAAC,+FAAc;AACrC,gBAAgB,mBAAO,CAAC,iGAAe;AACvC,iBAAiB,mBAAO,CAAC,qHAAyB;;AAElD;AACA,mBAAO,CAAC,iGAAe;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;AC9BY;;AAEb,eAAe,mBAAO,CAAC,+FAAc;AACrC,eAAe,mBAAO,CAAC,+FAAc;AACrC,yBAAyB,mBAAO,CAAC,mHAAwB;AACzD,yBAAyB,mBAAO,CAAC,qHAAyB;AAC1D,eAAe,mBAAO,CAAC,+FAAc;AACrC,qBAAqB,mBAAO,CAAC,qHAAyB;AACtD,iBAAiB,mBAAO,CAAC,mGAAgB;AACzC,YAAY,mBAAO,CAAC,uFAAU;AAC9B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,qCAAqC,yBAAyB,EAAE;;AAEhE;AACA,mBAAO,CAAC,iGAAe;AACvB;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,mFAAmF;AACnF;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,yBAAyB,mBAAmB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACrIY;AACb,mBAAO,CAAC,2GAAoB;AAC5B,eAAe,mBAAO,CAAC,+FAAc;AACrC,aAAa,mBAAO,CAAC,uFAAU;AAC/B,kBAAkB,mBAAO,CAAC,mGAAgB;AAC1C;AACA;;AAEA;AACA,EAAE,mBAAO,CAAC,6FAAa;AACvB;;AAEA;AACA,IAAI,mBAAO,CAAC,uFAAU,eAAe,wBAAwB,0BAA0B,YAAY,EAAE;AACrG;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,CAAC;AACD;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;ACxBa;AACb,aAAa,mBAAO,CAAC,+GAAsB;AAC3C,eAAe,mBAAO,CAAC,mHAAwB;AAC/C;;AAEA;AACA,iBAAiB,mBAAO,CAAC,iGAAe;AACxC,yBAAyB,mEAAmE;AAC5F,CAAC;AACD;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACbY;AACb;AACA,mBAAO,CAAC,mGAAgB;AACxB;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACNY;AACb;AACA,mBAAO,CAAC,mGAAgB;AACxB;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACNY;AACb;AACA,mBAAO,CAAC,mGAAgB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AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gEAAgE,gCAAgC;AAChG;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,EAAE,mBAAO,CAAC,mGAAgB;AAC1B,EAAE,mBAAO,CAAC,iGAAe;AACzB,EAAE,mBAAO,CAAC,mGAAgB;;AAE1B,sBAAsB,mBAAO,CAAC,2FAAY;AAC1C;AACA;;AAEA;AACA;AACA;AACA;;AAEA,0DAA0D,kBAAkB;;AAE5E;AACA;AACA;AACA,oBAAoB,uBAAuB;;AAE3C,oDAAoD,6BAA6B;;AAEjF;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH,0BAA0B,eAAe,EAAE;AAC3C,0BAA0B,gBAAgB;AAC1C,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,oDAAoD,OAAO,QAAQ,iCAAiC;AACpG,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,wEAAwE;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,oCAAoC,mBAAO,CAAC,qFAAS;AACrD;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACzOa;AACb,cAAc,mBAAO,CAAC,yFAAW;AACjC,aAAa,mBAAO,CAAC,uFAAU;AAC/B,aAAa,mBAAO,CAAC,qGAAiB;AACtC,eAAe,mBAAO,CAAC,+FAAc;AACrC,sBAAsB,mBAAO,CAAC,+GAAsB;AACpD,eAAe,mBAAO,CAAC,+FAAc;AACrC,eAAe,mBAAO,CAAC,+FAAc;AACrC,kBAAkB,mBAAO,CAAC,yFAAW;AACrC,yBA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AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACzDA,cAAc,mBAAO,CAAC,yFAAW;AACjC,YAAY,mBAAO,CAAC,qFAAS;AAC7B;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACLD;AACA,aAAa,mBAAO,CAAC,yFAAW;AAChC,cAAc,mBAAO,CAAC,yFAAW;AACjC,gBAAgB,mBAAO,CAAC,iGAAe;AACvC;AACA,sCAAsC;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACnBD,mBAAO,CAAC,wGAAuB;AAC/B,mBAAO,CAAC,8GAA0B;AAClC,mBAAO,CAAC,oHAA6B;AACrC,iBAAiB,mBAAO,CAAC,8FAAkB;;;;;;;;;;;;ACH3C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd,KAAK;AACL,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yDAAyD;AACzD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,WAAW;AACX;;AAEA;AACA;AACA,wCAAwC,WAAW;AACnD;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,2BAA2B;AAC3B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,SAAS;AACT;AACA;AACA;AACA;;AAEA;;AAEA,SAAS;AACT;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,oCAAoC,cAAc;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,iCAAiC,kBAAkB;AACnD;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,iBAAiB;;AAEjB;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,wBAAwB,iBAAiB;AACzC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;;AAEA;AACA,YAAY;AACZ;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,8CAA8C,QAAQ;AACtD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa;AACb;AACA;;AAEA,WAAW;AACX;AACA;AACA;;AAEA,WAAW;AACX;AACA;AACA;;AAEA,WAAW;AACX;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,8CAA8C,QAAQ;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA,KAAK;;AAEL;AACA,8CAA8C,QAAQ;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,8CAA8C,QAAQ;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;AChtBA,iBAAiB,mBAAO,CAAC,sDAAa,E;;;;;;;;;;;;ACAzB;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,aAAa,mBAAO,CAAC,iEAAkB;AACvC,eAAe,mBAAO,CAAC,2EAAuB;AAC9C,mBAAmB,mBAAO,CAAC,mFAA2B;AACtD,sBAAsB,mBAAO,CAAC,yFAA8B;AAC5D,kBAAkB,mBAAO,CAAC,yEAAqB;AAC/C,yFAAyF,mBAAO,CAAC,mEAAmB;;AAEpH;AACA;AACA;AACA;;AAEA;AACA,4CAA4C;AAC5C;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAQ,KAA+B;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,oBAAoB,mBAAO,CAAC,yEAAsB;;AAElD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;ACnLa;;AAEb,YAAY,mBAAO,CAAC,kDAAS;AAC7B,WAAW,mBAAO,CAAC,gEAAgB;AACnC,YAAY,mBAAO,CAAC,4DAAc;AAClC,eAAe,mBAAO,CAAC,wDAAY;;AAEnC;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,MAAM;AAClB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,eAAe,mBAAO,CAAC,kEAAiB;AACxC,oBAAoB,mBAAO,CAAC,4EAAsB;AAClD,iBAAiB,mBAAO,CAAC,sEAAmB;;AAE5C;AACA;AACA;AACA;AACA,eAAe,mBAAO,CAAC,oEAAkB;;AAEzC;;AAEA;AACA;;;;;;;;;;;;;ACnDa;;AAEb;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;;;;;;;;;;;;AClBa;;AAEb,aAAa,mBAAO,CAAC,2DAAU;;AAE/B;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;ACxDa;;AAEb;AACA;AACA;;;;;;;;;;;;;ACJa;;AAEb,eAAe,mBAAO,CAAC,2DAAe;AACtC,YAAY,mBAAO,CAAC,qDAAY;AAChC,yBAAyB,mBAAO,CAAC,iFAAsB;AACvD,sBAAsB,mBAAO,CAAC,2EAAmB;;AAEjD;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA,kCAAkC,cAAc;AAChD;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA,KAAK;AACL;AACA,CAAC;;AAED;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA;AACA,KAAK;AACL;AACA,CAAC;;AAED;;;;;;;;;;;;;AC9Ea;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;;;;;;;;;;;;;ACnDa;;AAEb,mBAAmB,mBAAO,CAAC,qEAAgB;;AAE3C;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACjBa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,oBAAoB,mBAAO,CAAC,uEAAiB;AAC7C,eAAe,mBAAO,CAAC,uEAAoB;AAC3C,eAAe,mBAAO,CAAC,yDAAa;AACpC,oBAAoB,mBAAO,CAAC,qFAA4B;AACxD,kBAAkB,mBAAO,CAAC,iFAA0B;;AAEpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,+BAA+B;AAC/B,uCAAuC;AACvC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;;;;;;;;;;;;;ACrFa;;AAEb;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACpBa;;AAEb,kBAAkB,mBAAO,CAAC,mEAAe;;AAEzC;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACzBa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,MAAM;AACjB,WAAW,eAAe;AAC1B,aAAa,EAAE;AACf;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;ACnBA,+CAAa;;AAEb,YAAY,mBAAO,CAAC,kDAAS;AAC7B,0BAA0B,mBAAO,CAAC,8FAA+B;;AAEjE;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAc,mBAAO,CAAC,gEAAgB;AACtC,GAAG;AACH;AACA,cAAc,mBAAO,CAAC,iEAAiB;AACvC;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wEAAwE;AACxE;AACA;AACA;AACA,uDAAuD;AACvD;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,OAAO,YAAY;AACnB;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA,CAAC;;AAED;;;;;;;;;;;;;;AC/Fa;;AAEb;AACA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACVa;;AAEb;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;ACnCa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;ACjEa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACba;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,wCAAwC;AACxC,OAAO;;AAEP;AACA,0DAA0D,wBAAwB;AAClF;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,gCAAgC;AAChC,6BAA6B,aAAa,EAAE;AAC5C;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACba;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB,gBAAgB;AAChB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB,gBAAgB,QAAQ;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;ACnEa;;AAEb,YAAY,mBAAO,CAAC,mDAAU;;AAE9B;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;ACXa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA,iBAAiB,eAAe;;AAEhC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B;AAC/B;AACA;AACA,WAAW,SAAS;AACpB,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;AC1Ba;;AAEb,WAAW,mBAAO,CAAC,gEAAgB;AACnC,eAAe,mBAAO,CAAC,oDAAW;;AAElC;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC,OAAO;AAC1C;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,SAAS,GAAG,SAAS;AAC5C,2BAA2B;AAC3B;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA,uCAAuC,OAAO;AAC9C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AC9SA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,OAAO,IAAyC;AAChD;AACA,IAAI,oCAAQ,OAAO;AAAA;AAAA;AAAA;AAAA,oGAAE;AACrB,GAAG,MAAM,EAMN;;AAEH,CAAC;;AAED;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,gBAAgB,sBAAsB;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA,CAAC;;;;;;;;;;;;AC/GD;AACA;AACA;AACA;AACA;;AAEA,+BAA+B;AAC/B;;AAEA;;AAEA,OAAO,IAAyC;AAChD;AACA,IAAI,iCAAQ;AACZ,MAAM,2FAAuB;AAC7B,KAAK,mCAAE;AACP;AACA,KAAK;AAAA,oGAAC;AACN,GAAG,MAAM,EAYN;;AAEH,CAAC;;AAED;;AAEA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA,WAAW,iCAAiC;AAC5C,WAAW,mBAAmB;AAC9B,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,2BAA2B;AAC3B;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,WAAW,KAAK;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,sBAAsB;AACtC;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,qBAAqB;AACnC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA,CAAC;;;;;;;;;;;;ACxXD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;ACpBA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;;;;AAIA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,qCAAqC;;AAErC;AACA;AACA;;AAEA,2BAA2B;AAC3B;AACA;AACA;AACA,4BAA4B,UAAU;;;;;;;;;;;;;ACvLzB;;AAEb;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;;;;;;;;;;;;ACjBa;;AAEb,gBAAgB,mBAAO,CAAC,uDAAa;AACrC,YAAY,mBAAO,CAAC,+CAAS;AAC7B,cAAc,mBAAO,CAAC,mDAAW;;AAEjC;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACVa;;AAEb,YAAY,mBAAO,CAAC,+CAAS;;AAE7B;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,gCAAgC;AAChC;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA,wCAAwC,gCAAgC;;AAExE;AACA,uCAAuC;;AAEvC;AACA;AACA;AACA;AACA;AACA,uBAAuB;AACvB;;AAEA;AACA;AACA,mBAAmB,kBAAkB;AACrC;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;;AAEA,eAAe,kBAAkB;AACjC;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA,kCAAkC,QAAQ;AAC1C;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,uBAAuB;AACvB,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,wCAAwC;;AAExC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;ACjOa;;AAEb,YAAY,mBAAO,CAAC,+CAAS;AAC7B,cAAc,mBAAO,CAAC,mDAAW;;AAEjC;AACA,yCAAyC;AACzC;AACA,KAAK;AACL,4CAA4C;AAC5C;AACA,KAAK;AACL,qCAAqC;AACrC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD;AACjD;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA,mBAAmB,oBAAoB;AACvC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,wCAAwC;;AAExC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,mBAAmB,oBAAoB;AACvC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,2CAA2C;AAC3C;AACA,SAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;ACjPa;;AAEb;;AAEA;AACA;AACA,mBAAmB,SAAS;AAC5B;AACA;;AAEA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;;AAEA,2BAA2B,gBAAgB;AAC3C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,mBAAmB,mBAAmB;AACtC;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA,aAAa;AACb;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA,iDAAiD,EAAE;AACnD;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,kDAAkD,EAAE;AACpD;AACA,SAAS;AACT;;AAEA;AACA,mBAAmB,mBAAmB;AACtC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,kBAAkB,OAAO,WAAW,aAAa;AACjD;;AAEA,mBAAmB,kBAAkB;AACrC;AACA;;AAEA;AACA,uBAAuB,iBAAiB;AACxC;AACA;AACA;AACA,4BAA4B,sBAAsB;AAClD;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACnOA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,eAAe,OAAO;AACtB,iBAAiB;AACjB;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,eAAe,OAAO;AACtB,eAAe,OAAO;AACtB,iBAAiB;AACjB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,eAAe,OAAO;AACtB,iBAAiB;AACjB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,eAAe,cAAc;AAC7B,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,eAAe,KAAK;AACpB,eAAe,OAAO;AACtB,iBAAiB;AACjB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,eAAe,KAAK;AACpB,eAAe,OAAO;AACtB,iBAAiB;AACjB;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,eAAe,KAAK;AACpB,eAAe,OAAO;AACtB,iBAAiB;AACjB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,eAAe,KAAK;AACpB,iBAAiB,KAAK;AACtB;AACA;AACA;;AAEA;AACA;;AAEA;AACA,OAAO;;AAEP;;AAEA;AACA;;AAEA;AACA;AACA;AACA,eAAe,OAAO;AACtB,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,eAAe,YAAY;AAC3B,eAAe,OAAO;AACtB,eAAe,OAAO;AACtB,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA,MAAM,IAA4D;AAClE;AACA,sBAAsB;AACtB,GAAG,MAAM,EAGN;;AAEH,CAAC","file":"js/ajax-load-more.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./core/src/js/ajax-load-more.js\");\n","/*\n * Ajax Load More\n * https://connekthq.com/plugins/ajax-load-more/\n * Author: Darren Cooney\n * Twitter: @KaptonKaos, @ajaxloadmore, @connekthq \n * Copyright Connekt Media - https://connekthq.com\n */\n\n\n// Polyfills\nrequire(\"@babel/polyfill/noConflict\");\nrequire('./helpers/polyfills.js');\n\n\n// External Modules\nlet qs = require('qs');\nlet imagesLoaded = require('imagesloaded');\nimport axios from 'axios';\nimport smoothscroll from 'smoothscroll-polyfill'; // Smooth scrolling polyfill\nsmoothscroll.polyfill();\n\n\n// ALM Modules\nimport './helpers/helpers';\nimport commentReplyFix from './helpers/commentReplyFix';\nimport getParameterByName from './helpers/getParameterByName';\nimport almAppendChildren from './helpers/almAppendChildren';\nimport almTableWrap from './helpers/almTableWrap';\nimport almGetCacheUrl from './helpers/almGetCacheUrl';\nimport almDomParser from './helpers/almDomParser';\nimport stripEmptyNodes from './helpers/stripEmptyNodes'; \nimport * as queryParams from './helpers/queryParams';\nimport * as resultsText from './modules/resultsText';\nimport setLocalizedVars from './modules/setLocalizedVars';\nimport insertScript from './modules/insertScript';\nimport setFocus from './modules/setFocus';\nimport almMasonry from './modules/masonry';\nimport almFadeIn from './modules/fadeIn';\nimport almFadeOut from './modules/fadeOut';\nimport almFilter from './modules/filtering';\nimport almNoResults from './modules/noResults';\nimport srcsetPolyfill from './helpers/srcsetPolyfill';\n\n\n// Global filtering var\nlet alm_is_filtering = false;\n\n\n// Start ALM\n(function() {\n \"use strict\";\n\n /**\n * ajaxloadmore\n * Init Ajax Load More\n *\n * @param {*} el\n * @param {*} e\n */\n let ajaxloadmore = function(el, e) {\n\n\n // Move user to top of page to prevent loading of unnessasry posts\n if (alm_localize && alm_localize.scrolltop === 'true') {\n window.scrollTo(0, 0);\n }\n\n\n //Set ALM Variables\n let alm = this;\n alm.AjaxLoadMore = {};\n alm.addons = {};\n alm.extensions = {};\n alm.window = window;\n alm.page = 0;\n alm.posts = 0;\n alm.totalposts = 0;\n alm.proceed = false;\n alm.disable_ajax = false;\n alm.init = true;\n alm.loading = true;\n alm.finished = false;\n alm.timer = null;\n alm.ua = (window.navigator.userAgent) ? window.navigator.userAgent : ''; // User agent\n alm.main = el;\n alm.master_id = (el.dataset.id) ? `ajax-load-more-${el.dataset.id}` : el.id; // The defined or generated ID of the ALM instance \n el.classList.add('alm-' + e); // Add unique classname\n el.setAttribute('data-alm-id', e); // Add unique data id\n\n\n // Get localized <script/> variables\n alm.master_id = alm.master_id.replace(/-/g, '_'); // Convert dashes to underscores for the var name\n alm.localize = window[alm.master_id + '_vars']; // Get localize vars\n\n\n // Main ALM Containers\n alm.main = el; // Top level DOM element\n alm.listing = el.querySelector('.alm-listing') || el.querySelector('.alm-comments');\n alm.content = alm.listing;\n alm.el = alm.content;\n alm.ajax = el.querySelector('.alm-ajax');\n alm.container_type = alm.listing.dataset.containerType;\n\n\n // Instance Params\n alm.canonical_url = el.dataset.canonicalUrl;\n alm.nested = (el.dataset.nested) ? el.dataset.nested : null;\n alm.is_search = el.dataset.search;\n alm.slug = el.dataset.slug;\n alm.post_id = el.dataset.postId;\n alm.id = (el.dataset.id) ? el.dataset.id : '';\n \n // No results template\n let alm_no_results = el.querySelector('.alm-no-results');\n alm.no_results = (alm_no_results) ? alm_no_results.innerHTML : '';\n\n\n // Shortcode Params \n alm.repeater = alm.listing.dataset.repeater; // Repeaters\n alm.theme_repeater = alm.listing.dataset.themeRepeater;\n\n alm.post_type = (alm.listing.dataset.postType) ? alm.listing.dataset.postType : 'post';\n alm.sticky_posts = (alm.listing.dataset.stickyPosts) ? alm.listing.dataset.stickyPosts : null;\n\n alm.btnWrap = el.querySelectorAll('.alm-btn-wrap'); // Get all `.alm-button-wrap` divs\n alm.btnWrap = Array.prototype.slice.call(alm.btnWrap); // Convert NodeList to array\n alm.btnWrap[alm.btnWrap.length - 1].style.visibility = 'visible'; // Get last element (used for nesting)\n alm.trigger = alm.btnWrap[alm.btnWrap.length - 1];\n\n alm.button_label = alm.listing.dataset.buttonLabel;\n alm.button_loading_label = alm.listing.dataset.buttonLoadingLabel;\n\n alm.scroll_distance = alm.listing.dataset.scrollDistance;\n alm.scroll_distance = (alm.scroll_distance) ? parseInt(alm.scroll_distance) : 100;\n alm.scroll_container = alm.listing.dataset.scrollContainer;\n alm.max_pages = (alm.listing.dataset.maxPages) ? parseInt(alm.listing.dataset.maxPages) : 0;\n alm.pause_override = alm.listing.dataset.pauseOverride; // true | false\n alm.pause = alm.listing.dataset.pause; // true | false\n alm.transition = alm.listing.dataset.transition; // Transition\n alm.transition_container = alm.listing.dataset.transitionContainer; // Transition Container\n alm.tcc = alm.listing.dataset.transitionContainerClasses; // Transition Container Classes\n alm.speed = (alm_localize.speed) ? parseInt(alm_localize.speed) : 250;\n alm.images_loaded = (alm.listing.dataset.imagesLoaded) ? alm.listing.dataset.imagesLoaded : false;\n alm.destroy_after = (alm.listing.dataset.destroyAfter) ? alm.listing.dataset.destroyAfter : '';\n alm.orginal_posts_per_page = parseInt(alm.listing.dataset.postsPerPage); // Used for paging add-on\n alm.posts_per_page = alm.listing.dataset.postsPerPage;\n alm.offset = (alm.listing.dataset.offset) ? parseInt(alm.listing.dataset.offset) : 0;\n\n\n // Addon Shortcode Params\n alm.addons.cache = alm.listing.dataset.cache; // Cache add-on\n alm.addons.cache = (alm.addons.cache === undefined) ? false : alm.addons.cache;\n alm.addons.cache_id = alm.listing.dataset.cacheId;\n alm.addons.cache_path = alm.listing.dataset.cachePath;\n alm.addons.cache_logged_in = alm.listing.dataset.cacheLoggedIn;\n alm.addons.cache_logged_in = (alm.addons.cache_logged_in === undefined) ? false : alm.addons.cache_logged_in;\n\n alm.addons.cta = alm.listing.dataset.cta; // CTA add-on\n alm.addons.cta_position = alm.listing.dataset.ctaPosition;\n alm.addons.cta_repeater = alm.listing.dataset.ctaRepeater;\n alm.addons.cta_theme_repeater = alm.listing.dataset.ctaThemeRepeater;\n\n alm.addons.nextpage = alm.listing.dataset.nextpage; // Nextpage add-on\n alm.addons.nextpage_urls = alm.listing.dataset.nextpageUrls;\n alm.addons.nextpage_scroll = alm.listing.dataset.nextpageScroll;\n alm.addons.nextpage_pageviews = alm.listing.dataset.nextpagePageviews;\n alm.addons.nextpage_post_id = alm.listing.dataset.nextpagePostId;\n alm.addons.nextpage_startpage = alm.listing.dataset.nextpageStartpage;\n\n alm.addons.single_post = alm.listing.dataset.singlePost; // Previous Post add-on\n alm.addons.single_post_id = alm.listing.dataset.singlePostId;\n alm.addons.single_post_order = alm.listing.dataset.singlePostOrder;\n alm.addons.single_post_init_id = alm.listing.dataset.singlePostId;\n alm.addons.single_post_taxonomy = alm.listing.dataset.singlePostTaxonomy;\n alm.addons.single_post_excluded_terms = alm.listing.dataset.singlePostExcludedTerms;\n\n alm.addons.comments = alm.listing.dataset.comments; // Comments add-on \n alm.addons.comments_post_id = alm.listing.dataset.comments_post_id; // current post id\n alm.addons.comments_per_page = alm.listing.dataset.comments_per_page;\n alm.addons.comments_per_page = (alm.addons.comments_per_page === undefined) ? '5' : alm.addons.comments_per_page;\n alm.addons.comments_type = alm.listing.dataset.comments_type;\n alm.addons.comments_style = alm.listing.dataset.comments_style;\n alm.addons.comments_template = alm.listing.dataset.comments_template;\n alm.addons.comments_callback = alm.listing.dataset.comments_callback;\n\n alm.addons.filters = alm.listing.dataset.filters;\n\n alm.addons.seo = alm.listing.dataset.seo; // SEO add-on\n\n alm.addons.preloaded = alm.listing.dataset.preloaded; // Preloaded add-on\n alm.addons.preloaded_amount = (alm.listing.dataset.preloadedAmount) ? alm.listing.dataset.preloadedAmount : 0;\n alm.is_preloaded = (alm.listing.dataset.isPreloaded === 'true') ? true : false;\n\n alm.addons.paging = alm.listing.dataset.paging; // Paging add-on \n\n alm.addons.users = (alm.listing.dataset.users === 'true') ? true : false; // Users add-on\n if (alm.addons.users) { // Override paging params for users\n alm.orginal_posts_per_page = alm.listing.dataset.usersPerPage;\n alm.posts_per_page = alm.listing.dataset.usersPerPage;\n }\n\n // Extension Shortcode Params\n alm.extensions.restapi = alm.listing.dataset.restapi; // REST API\n alm.extensions.restapi_base_url = alm.listing.dataset.restapiBaseUrl;\n alm.extensions.restapi_namespace = alm.listing.dataset.restapiNamespace;\n alm.extensions.restapi_endpoint = alm.listing.dataset.restapiEndpoint;\n alm.extensions.restapi_template_id = alm.listing.dataset.restapiTemplateId; \n alm.extensions.restapi_debug = alm.listing.dataset.restapiDebug;\n\n alm.extensions.acf = alm.listing.dataset.acf; // ACF\n alm.extensions.acf_field_type = alm.listing.dataset.acfFieldType;\n alm.extensions.acf_field_name = alm.listing.dataset.acfFieldName;\n alm.extensions.acf_post_id = alm.listing.dataset.acfPostId;\n alm.extensions.acf = (alm.extensions.acf === 'true') ? true : false;\n // if field type, name or post ID is empty\n if (alm.extensions.acf_field_type === undefined || alm.extensions.acf_field_name === undefined || alm.extensions.acf_post_id === undefined) {\n alm.extensions.acf = false;\n }\n \n\n /* Paging */\n if (alm.addons.paging === 'true') {\n alm.addons.paging = true;\n alm.addons.paging_init = true;\n alm.addons.paging_controls = (alm.listing.dataset.pagingControls === 'true') ? true : false;\n alm.addons.paging_show_at_most = alm.listing.dataset.pagingShowAtMost;\n alm.addons.paging_classes = alm.listing.dataset.pagingClasses;\n alm.addons.paging_show_at_most = (alm.addons.paging_show_at_most === undefined) ? 7 : alm.addons.paging_show_at_most; \n \n alm.addons.paging_first_label = alm.listing.dataset.pagingFirstLabel;\n alm.addons.paging_previous_label = alm.listing.dataset.pagingPreviousLabel;\n alm.addons.paging_next_label = alm.listing.dataset.pagingNextLabel;\n alm.addons.paging_last_label = alm.listing.dataset.pagingLastLabel;\n \n // If preloaded, pause ALM\t\n alm.pause = (alm.addons.preloaded === 'true') ? true : alm.pause;\n } else {\n alm.addons.paging = false;\n }\n /* End Paging */\n\n\n /* Filters */\n if (alm.addons.filters === 'true') {\n alm.addons.filters = true;\n\n alm.addons.filters_url = (alm.listing.dataset.filtersUrl === 'true') ? true : false;\n alm.addons.filters_paging = (alm.listing.dataset.filtersPaging === 'true') ? true : false;\n alm.addons.filters_scroll = (alm.listing.dataset.filtersScroll === 'true') ? true : false;\n alm.addons.filters_scrolltop = (alm.listing.dataset.filtersScrolltop) ? alm.listing.dataset.filtersScrolltop : '30';\n alm.addons.filters_analtyics = alm.listing.dataset.filtersAnalytics;\n alm.addons.filters_debug = alm.listing.dataset.filtersDebug;\n alm.addons.filters_startpage = 0;\n\n // Get Paged Querystring Val\n let page = getParameterByName('pg');\n alm.addons.filters_startpage = (page !== null) ? parseInt(page) : 0;\n \n // If not Paging add-on\n if(!alm.addons.paging && alm.addons.filters_startpage > 0){\n \talm.posts_per_page = alm.posts_per_page * alm.addons.filters_startpage;\n\t\t\t\talm.isPaged = (alm.addons.filters_startpage > 0) ? true : false;\n } \n \n } else {\n alm.addons.filters = false;\n }\n /* End Filters */\n\n\n /* REST API */\n if (alm.extensions.restapi === 'true') {\n alm.extensions.restapi = true;\n alm.extensions.restapi_debug = (alm.extensions.restapi_debug === undefined) ? false : alm.extensions.restapi_debug;\n alm.extensions.restapi = (alm.extensions.restapi_template_id === '') ? false : alm.extensions.restapi;\n } else {\n alm.extensions.restapi = false;\n }\n /* End REST API */\n\n\n /* Preloaded */\n if (alm.addons.preloaded === 'true') {\n // Preloaded Amount\n alm.addons.preloaded_amount = (alm.addons.preloaded_amount === undefined) ? alm.posts_per_page : alm.addons.preloaded_amount;\n // Disable ALM if total_posts is less than or equal to preloaded_amount\n if (alm.localize && alm.localize.total_posts) {\n if (parseInt(alm.localize.total_posts) <= parseInt(alm.addons.preloaded_amount)) {\n alm.addons.preloaded_total_posts = alm.localize.total_posts;\n alm.disable_ajax = true;\n }\n }\n } else {\n alm.addons.preloaded = 'false';\n }\n /* End Preloaded */\n\n\n /* SEO */\n alm.addons.seo = (alm.addons.seo === undefined) ? false : alm.addons.seo;\n alm.addons.seo = (alm.addons.seo === 'true') ? true : alm.addons.seo;\n alm.is_search = (alm.is_search === undefined) ? false : alm.is_search;\n alm.search_value = (alm.is_search === 'true') ? alm.slug : ''; // Convert to value of slug for appending to seo url\n \n alm.addons.seo_permalink = alm.listing.dataset.seoPermalink;\n alm.addons.seo_pageview = alm.listing.dataset.seoPageview;\n alm.addons.seo_trailing_slash = (alm.listing.dataset.seoTrailingSlash === 'false') ? '' : '/';\n alm.addons.seo_leading_slash = (alm.listing.dataset.seoLeadingSlash === 'true') ? '/' : '';\n alm.start_page = alm.listing.dataset.seoStartPage;\n\n if (alm.start_page) {\n alm.addons.seo_scroll = alm.listing.dataset.seoScroll;\n alm.addons.seo_scrolltop = alm.listing.dataset.seoScrolltop;\n alm.addons.seo_controls = alm.listing.dataset.seoControls;\n alm.isPaged = false;\n if (alm.start_page > 1) {\n alm.isPaged = true; // Is this a paged page > 1 ?\n alm.posts_per_page = alm.start_page * alm.posts_per_page;\n }\n if (alm.addons.paging) { // If paging, reset posts_per_page\n alm.posts_per_page = alm.orginal_posts_per_page;\n }\n } else {\n alm.start_page = 1;\n }\n /* End SEO */\n\n\n /* Nextpage */\n if (alm.addons.nextpage === 'true') {\n alm.addons.nextpage = true;\n alm.posts_per_page = 1;\n } else {\n alm.addons.nextpage = false;\n }\n if (alm.addons.nextpage_urls === undefined) {\n alm.addons.nextpage_urls = 'true';\n }\n if (alm.addons.nextpage_scroll === undefined) {\n alm.addons.nextpage_scroll = '250:30';\n }\n if (alm.addons.nextpage_pageviews === undefined) {\n alm.addons.nextpage_pageviews = 'true';\n }\n if (alm.addons.nextpage_post_id === undefined) {\n alm.addons.nextpage = false;\n alm.addons.nextpage_post_id = null;\n }\n if (alm.addons.nextpage_startpage === undefined) {\n alm.addons.nextpage_startpage = 1;\n }\n if (alm.addons.nextpage_startpage > 1) {\n alm.isPaged = true;\n }\n /* End Nextpage */\n\n\n /* Single Post */\n if (alm.addons.single_post === 'true') {\n alm.addons.single_post = true;\n alm.addons.single_post_permalink = '';\n alm.addons.single_post_title = '';\n alm.addons.single_post_slug = '';\n } else {\n alm.addons.single_post = false;\n }\n if (alm.addons.single_post_id === undefined) {\n alm.addons.single_post_id = '';\n alm.addons.single_post_init_id = '';\n }\n alm.addons.single_post_order = (alm.addons.single_post_order === undefined) ? 'previous' : alm.addons.single_post_order;\n alm.addons.single_post_taxonomy = (alm.addons.single_post_taxonomy === undefined) ? '' : alm.addons.single_post_taxonomy;\n alm.addons.single_post_excluded_terms = (alm.addons.single_post_excluded_terms === undefined) ? '' : alm.addons.single_post_excluded_terms;\n alm.addons.single_post_title_template = alm.listing.dataset.singlePostTitleTemplate;\n alm.addons.single_post_siteTitle = alm.listing.dataset.singlePostSiteTitle;\n alm.addons.single_post_siteTagline = alm.listing.dataset.singlePostSiteTagline;\n alm.addons.single_post_pageview = alm.listing.dataset.singlePostPageview;\n alm.addons.single_post_scroll = alm.listing.dataset.singlePostScroll;\n alm.addons.single_post_scroll_speed = alm.listing.dataset.singlePostScrollSpeed;\n alm.addons.single_post_scroll_top = alm.listing.dataset.singlePostScrolltop;\n alm.addons.single_post_controls = alm.listing.dataset.singlePostControls;\n /* End Single Post */\n\n\n /* Pause */\n if (alm.pause === undefined || (alm.addons.seo && alm.start_page > 1)) { // SEO only\n alm.pause = false;\n }\n if (alm.addons.preloaded === 'true' && alm.addons.seo && alm.start_page > 0) { // SEO + Preloaded\n alm.pause = false;\n }\n if (alm.addons.filters && alm.addons.filters_startpage > 0) { // Filters\n alm.pause = false;\n }\n if (alm.addons.preloaded === 'true' && alm.addons.paging) {\n alm.pause = true;\n }\n\n /* Repeater and Theme Repeater */\n alm.repeater = (alm.repeater === undefined) ? 'default' : alm.repeater;\n alm.theme_repeater = (alm.theme_repeater === undefined) ? false : alm.theme_repeater;\n\n /* Max Pages (while scrolling) */\n alm.max_pages = (alm.max_pages === undefined || alm.max_pages === 0) ? 10000 : alm.max_pages;\n\n /* Scroll Distance */\n alm.scroll_distance = (alm.scroll_distance === undefined) ? 150 : alm.scroll_distance;\n\n /* Scroll Container */\n alm.scroll_container = (alm.scroll_container === undefined) ? '' : alm.scroll_container;\n\n /* Transition */\n alm.transition = (alm.transition === undefined) ? 'fade' : alm.transition;\n\n /* Transition Container Class */\n alm.tcc = (alm.tcc === undefined) ? '' : alm.tcc;\n\n /* Masonry */\n alm.is_masonry_preloaded = false;\n if (alm.transition === 'masonry') {\n alm.masonry_init = true;\n alm.masonry_selector = alm.listing.dataset.masonrySelector;\n alm.masonry_columnwidth = alm.listing.dataset.masonryColumnwidth;\n alm.masonry_animation = alm.listing.dataset.masonryAnimation;\n alm.masonry_animation = (alm.masonry_animation === undefined) ? 'standard' : alm.masonry_animation;\n alm.masonry_horizontalorder = alm.listing.dataset.masonryHorizontalorder;\n alm.masonry_horizontalorder = (alm.masonry_horizontalorder === undefined) ? 'true' : alm.masonry_horizontalorder;\n alm.transition_container = false;\n alm.images_loaded = false;\n alm.is_masonry_preloaded = (alm.addons.preloaded === 'true') ? true : alm.is_masonry_preloaded;\n }\n\n /* Scroll */\n if (alm.listing.dataset.scroll === undefined) {\n alm.scroll = true;\n } else if (alm.listing.dataset.scroll === 'false') {\n alm.scroll = false;\n } else {\n alm.scroll = true;\n }\n\n /* Transition Container */\n alm.transition_container = (alm.transition_container === undefined || alm.transition_container === 'true') ? true : false;\n\n /* Button Labels */\n alm.button_label = (alm.button_label === undefined) ? 'Older Posts' : alm.button_label;\n alm.button_loading_label = (alm.button_loading_label === undefined) ? false : alm.button_loading_label;\n\n /* Paging */\n if (alm.addons.paging) {\n alm.main.classList.add('loading'); // add loading class to main container\n } else {\n let almChildren = el.childNodes; // Get child nodes of instance [nodeList]\n if (almChildren) {\n let almChildArray = Array.prototype.slice.call(almChildren); // Convert nodeList to array \n\n // Filter array to find the `.alm-btn-wrap` div\n let btnWrap = almChildArray.filter(function(element) {\n if (!element.classList) { // If not element (#text node)\n return false;\n }\n return element.classList.contains('alm-btn-wrap');\n });\n alm.button = (btnWrap) ? (btnWrap[0]).querySelector('.alm-load-more-btn') : container.querySelector('.alm-btn-wrap .alm-load-more-btn');\n } else {\n alm.button = container.querySelector('.alm-btn-wrap .alm-load-more-btn');\n }\n \n // Reset button state\n alm.button.disabled = false;\n\n }\n\n\n // Results Text\n // Render \"Showing x of y results\" text.\n alm.resultsText = document.querySelector('.alm-results-text');\n if (alm.resultsText) {\n\t alm.resultsText.setAttribute('aria-live', 'polite');\n } else {\n alm.resultsText = false;\n }\n\n\n\n /** \n * LoadPosts()\n * The function to get posts via Ajax\n * @since 2.0.0\n */\n\n alm.AjaxLoadMore.loadPosts = function() {\n\t \n\t\t\tif (typeof almOnChange === 'function') {\n\t\t\t window.almOnChange(alm);\n\t\t\t}\n\t \n if (!alm.disable_ajax) { // Check for ajax blocker\n if (!alm.addons.paging) {\n alm.button.classList.add('loading');\n if (alm.button_loading_label !== false) {\n alm.button.innerHTML = alm.button_loading_label;\n }\n }\n alm.main.classList.add('alm-loading');\n alm.loading = true;\n \n if (alm.addons.cache === 'true' && !alm.addons.cache_logged_in) {\n // Cache \n let cache_page = almGetCacheUrl(alm); \n if(cache_page){ \n \n // Load `.html` page\n axios.get(cache_page)\n .then(response => {\n // Exists\n alm.AjaxLoadMore.success(response.data, true);\n } \n )\n .catch(function (error) { \n // Error || Page does not yet exist\n \t\t\t\t\talm.AjaxLoadMore.ajax('standard');\n \t\t\t\t\t//console.warn(error.message); \t\t\t\t\t\n \t\t\t\t});\n \t\t\t\t\n \t\t\t\t} else {\n \t\t\t\t// Standard ALM query\n \t\t\t\talm.AjaxLoadMore.ajax('standard');\n \t\t\t\t} \n \t\t\t\t \t\n } else { \n // Standard ALM query\n alm.AjaxLoadMore.ajax('standard');\n \n }\n }\n };\n\n\n /* ajax()\n * Ajax Load Moe Ajax function\n *\n * @param queryType The type of Ajax request (standard/totalposts)\n * @since 2.6.0\n */\n\n alm.AjaxLoadMore.ajax = function(queryType) {\n\n // Default ALM action\n let action = 'alm_get_posts';\n\n // ACF Params\n alm.acf_array = '';\n if (alm.extensions.acf) {\n // Custom query for the Repeater / Gallery / Flexible Content field types\n if (alm.extensions.acf_field_type !== 'relationship') {\n action = 'alm_acf';\n }\n alm.acf_array = {\n 'acf': 'true',\n 'post_id': alm.extensions.acf_post_id,\n 'field_type': alm.extensions.acf_field_type,\n 'field_name': alm.extensions.acf_field_name\n };\n }\n\n // Nextpage Params\n alm.nextpage_array = '';\n if (alm.addons.nextpage) {\n action = 'alm_nextpage';\n alm.nextpage_array = {\n 'nextpage': 'true',\n 'urls': alm.addons.nextpage_urls,\n 'scroll': alm.addons.nextpage_scroll,\n 'pageviews': alm.addons.nextpage_pageviews,\n 'post_id': alm.addons.nextpage_post_id,\n 'startpage': alm.addons.nextpage_startpage\n };\n }\n\n // Previous Post Params\n alm.single_post_array = '';\n if (alm.addons.single_post) {\n alm.single_post_array = {\n 'single_post': 'true',\n 'id': alm.addons.single_post_id,\n 'slug': alm.addons.single_post_slug,\n };\n }\n\n // Comment Params\n alm.comments_array = '';\n if (alm.addons.comments === 'true') {\n action = 'alm_comments';\n alm.posts_per_page = alm.addons.comments_per_page;\n alm.comments_array = {\n 'comments': 'true',\n 'post_id': alm.addons.comments_post_id,\n 'per_page': alm.addons.comments_per_page,\n 'type': alm.addons.comments_type,\n 'style': alm.addons.comments_style,\n 'template': alm.addons.comments_template,\n 'callback': alm.addons.comments_callback,\n };\n }\n\n // Users Params\n alm.users_array = '';\n if (alm.addons.users) {\n action = 'alm_users';\n alm.users_array = {\n 'users': 'true',\n 'role': alm.listing.dataset.usersRole,\n 'include': alm.listing.dataset.usersInclude,\n 'exclude': alm.listing.dataset.usersExclude,\n 'per_page': alm.posts_per_page,\n 'order': alm.listing.dataset.usersOrder,\n 'orderby': alm.listing.dataset.usersOrderby,\n };\n }\n\n // CTA Params\n alm.cta_array = '';\n if (alm.addons.cta === 'true') {\n alm.cta_array = {\n 'cta': 'true',\n 'cta_position': alm.addons.cta_position,\n 'cta_repeater': alm.addons.cta_repeater,\n 'cta_theme_repeater': alm.addons.cta_theme_repeater,\n };\n }\n\n // REST API\n if (alm.extensions.restapi) {\n alm.AjaxLoadMore.restapi(alm, action, queryType);\n }\n\n // Standard ALM\n else {\t \n\t alm.AjaxLoadMore.adminajax(alm, action, queryType); \n }\n \n };\n \n \n \n /** \n\t * adminajax\n * Send request to the admin-ajax.php\n *\n * @param {*} alm | ALm object\n * @param {*} action | Ajax action\n * @param {*} queryType\n * @since 5.0.0\n */\n alm.AjaxLoadMore.adminajax = function(alm, action, queryType){\n\t \n\t if (alm.page != 1 && !alm.addons.paging) {\n alm.button.classList.add('loading');\n } \n \n // Axios Interceptor for nested data objects\n\t\t\taxios.interceptors.request.use(config => {\n\t\t\t\tconfig.paramsSerializer = params => {\n\t\t\t\t\t// Qs is already included in the Axios package\n\t\t\t\t\treturn qs.stringify(params, {\n\t\t\t\t\t\tarrayFormat: 'brackets',\n\t\t\t\t\t\tencode: false\n\t\t\t\t\t});\n\t\t\t\t};\n\t\t\t\treturn config; \n\t\t\t});\t\t\t \n \n // Get admin-ajax.php URL \n let ajaxURL = alm_localize.ajaxurl; \n\n\t\t\t// Get data params\n let params = queryParams.almGetAjaxParams(alm, action, queryType); // [./helpers/queryParams.js\n \n // Send HTTP request via Axios\n axios.get(ajaxURL, {params})\n .then(function(response){\n // Success \n let data = response.data; // Get data from response\n \n // Standard Query\n if (queryType === 'standard') {\n alm.AjaxLoadMore.success(data, false);\n \n } else if (queryType === 'totalpages' && alm.addons.paging && alm.addons.nextpage) {\n // Next Page and Paging\n if (typeof almBuildPagination === 'function') {\n window.almBuildPagination(data.totalpages, alm);\n }\n \n } else if (queryType === 'totalposts' && alm.addons.paging) {\n // Paging\n if (typeof almBuildPagination === 'function') {\n window.almBuildPagination(data.totalposts, alm);\n }\n }\n \n })\n .catch(function (error) { \n // Error \n alm.AjaxLoadMore.error(error, 'adminajax'); \n \t\t\t\t\t\n\t\t\t}); \n };\n \n \n \n /** \n\t * restapi\n * Send request to the WP RESP APT\n *\n * @param {*} alm | ALm object\n * @param {*} action | Ajax action\n * @param {*} queryType\n * @since 5.0.0\n */\n alm.AjaxLoadMore.restapi = function(alm, action, queryType){\n\t \n\t let alm_rest_template = wp.template(alm.extensions.restapi_template_id);\n let alm_rest_url = `${alm.extensions.restapi_base_url}/${alm.extensions.restapi_namespace}/${alm.extensions.restapi_endpoint}`; \n let params = queryParams.almGetRestParams(alm); // [./helpers/queryParams.js]\n\n\t\t\t// Axios Interceptor for nested data objects\n\t\t\taxios.interceptors.request.use(config => {\n\t\t\t\tconfig.paramsSerializer = params => {\n\t\t\t\t\t// Qs is already included in the Axios package\n\t\t\t\t\treturn qs.stringify(params, {\n\t\t\t\t\t\tarrayFormat: 'brackets',\n\t\t\t\t\t\tencode: false\n\t\t\t\t\t});\n\t\t\t\t};\n\t\t\t\treturn config;\n\t\t\t}); \n \n // Send Ajax request\n axios.get(alm_rest_url, {params})\n .then(function(response){\n // Success \n let results = response.data; // Get data from response\n\t\t\t\tlet data = '',\n\t\t\t\t\t html = results.html,\n\t\t\t\t\t meta = results.meta,\n\t\t\t\t\t postcount = meta.postcount,\n\t\t\t\t\t totalposts = meta.totalposts;\n \n \n // loop results to get data from each\n for(let i = 0; i < html.length; i++){\n\t let result = html[i];\n if (alm.restapi_debug === 'true') { // If debug\n console.log(result);\n }\n data += alm_rest_template(result);\n }\n \n // Create object to pass to success()\n let obj = {\n 'html': data,\n 'meta': {\n 'postcount': postcount,\n 'totalposts': totalposts\n },\n };\n alm.AjaxLoadMore.success(obj, false); // Send data\n \n })\n .catch(function (error) { \n // Error \n alm.AjaxLoadMore.error(error, 'restapi'); \n \t\t\t\t\t\n\t\t\t});\n\t\t\t\n };\n\n\n\n // If pagination enabled, run totalposts query\n if (alm.addons.paging) {\n if (alm.addons.nextpage) {\n alm.AjaxLoadMore.ajax('totalpages'); // Create paging menu and query for total pages\n } else {\n alm.AjaxLoadMore.ajax('totalposts'); // Create paging menu and query for total posts\n }\n }\n\n\n\n /** \n\t * success\n * Success function after loading data\n *\n * @param data The results of the Ajax request\n * @param is_cache Are results of the Ajax request coming from cache\n * @since 2.6.0\n */\n alm.AjaxLoadMore.success = function(data, is_cache) {\n\n if (alm.addons.single_post) { // Get previous page data\n alm.AjaxLoadMore.getSinglePost();\n }\n\n\t\t\tlet isPaged = false;\n\t\t\t \n // Create `.alm-reveal` div \n let reveal = document.createElement('div');\n alm.el = reveal;\n reveal.style.opacity = 0;\n reveal.style.height = 0;\n reveal.style.outline = 'none';\n \n\t\t\t// Paging container\n let pagingContent = alm.listing.querySelector('.alm-paging-content');\n\t\t\t\n var html, meta, total;\n\n if (is_cache) { // If cached don't look for json data - we won't be querying the DB.\n html = data;\n \n } else {\n // Standard ALM query results\n html = data.html;\n meta = data.meta; \n alm.posts = (alm.addons.paging) ? meta.postcount : alm.posts + meta.postcount;\n total = meta.postcount;\n alm.totalposts = meta.totalposts;\n alm.totalposts = (alm.addons.preloaded === 'true') ? alm.totalposts - alm.addons.preloaded_amount : alm.totalposts;\n }\n\n\t\t\t// Set alm.html as plain text return\n alm.html = html; \n\n // If cache, get the length of the html object\n total = (is_cache) ? almDomParser(html).length : total;\n\n // First Run Only\n if (alm.init) {\n\t // Set Meta\t\t \n if (meta) {\n alm.main.dataset.totalPosts = (meta.totalposts) ? meta.totalposts : 0;\n } \n // Paging\t \n if (alm.addons.paging && total > 0) { \n\t // Add paging containers and content\n\t\t\t\t\talm.AjaxLoadMore.pagingInit(html, 'alm-reveal');\n }\n // ALM Empty\n if (total === 0) {\n if (alm.addons.paging) {\n if (typeof almPagingEmpty === 'function') {\n window.almPagingEmpty(alm);\n }\n }\n if (typeof almEmpty === 'function') {\n\t almNoResults(alm.content, alm.no_results);\n window.almEmpty(alm);\n }\n }\n\n // isPaged\n if (alm.isPaged) {\n // Reset the posts_per_page parameter\n alm.posts_per_page = (alm.users) ? alm.listing.dataset.usersPerPage : alm.listing.dataset.postsPerPage;\n // SEO add-on\n alm.page = (alm.start_page) ? alm.start_page - 1 : alm.page; // Set new page #\n // Filters add-on \n if (alm.addons.filters) {\n if (alm.addons.filters_startpage > 0) {\n alm.page = alm.addons.filters_startpage - 1; // Set new page # \n alm.posts_per_page = alm.listing.dataset.postsPerPage; // Reset `filters-startpage` data after the first run\n }\n } \n }\n } \n\n\n\n /*\n * Set localized variables\n */\n \n setLocalizedVars(alm);\n \n \n \n /*\n * Render results\n */\n \n if (total > 0) {\n\n // We have results! \n\n if (!alm.addons.paging) {\n\t\t\t\t\t\n if (alm.addons.single_post) { \n\t \n\t // Single Posts \n reveal.setAttribute('class', 'alm-reveal alm-single-post post-' + alm.addons.single_post_id + alm.tcc);\n reveal.dataset.url = alm.addons.single_post_permalink;\n reveal.dataset.page = alm.page;\n reveal.dataset.id = alm.addons.single_post_id;\n reveal.dataset.title = alm.addons.single_post_title;\n \n reveal.innerHTML = alm.html;\n \n } else {\n\n if (!alm.transition_container) { // No transition container\n\t \n\t \talm.el = alm.html; \n reveal = (alm.container_type === 'table') ? almTableWrap(alm.html) : almDomParser(alm.html, 'text/html');\n\n } else { // Standard container\n\n let pagenum;\n let querystring = window.location.search;\n let seo_class = (alm.addons.seo) ? ' alm-seo' : '';\n let filters_class = (alm.addons.filters) ? ' alm-filters' : '';\n let preloaded_class = (alm.is_preloaded) ? ' alm-preloaded' : '';\n\n // SEO and Filter Paged\n if (alm.init && (alm.start_page > 1 || alm.addons.filters_startpage > 0)) {\t \n // loop through items and break into separate .alm-reveal divs for paging \n\n let return_data = [];\n let container_array = [];\n let posts_per_page = parseInt(alm.posts_per_page);\n let pages = Math.ceil(total / posts_per_page);\n isPaged = true;\n \n\n // Call to Actions\n if (alm.addons.cta === 'true') {\n posts_per_page = posts_per_page + 1; // Add 1 to posts_per_page for CTAs\n pages = Math.ceil(total / posts_per_page); // Update pages var with new posts_per_page\n total = pages + total; // Get new total w/ CTAs added\n } \n\n\n // Parse returned HTML and strip empty nodes\n let data = stripEmptyNodes(almDomParser(alm.html, 'text/html') );\n \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t// Slice data array into individual pages (array)\n for (var i = 0; i < total; i += posts_per_page) {\n return_data.push(data.slice(i, posts_per_page + i));\n }\n\n // Loop return_data array to build .alm-reveal containers\n for (var k = 0; k < return_data.length; k++) {\n\n let p = (alm.addons.preloaded === 'true') ? 1 : 0; // Add 1 page if items are preloaded.\n let alm_reveal = document.createElement('div');\n\n if (k > 0 || alm.addons.preloaded === 'true') {\n \n pagenum = (k + 1 + p); // > Paged\n\n\t\t\t\t\t\t\t\t\t\tif(alm.addons.seo){ // SEO\n\t if (alm.addons.seo_permalink === 'default') {\n\t\t\t\t\t\t\t\t\t\t\t\t// Default Permalinks\n\t\t\t\t\t\t\t\t\t\t\t\talm_reveal.setAttribute('class', 'alm-reveal' + seo_class + alm.tcc);\n\t\t\t\t\t\t\t\t\t\t\t\talm_reveal.dataset.url = alm.canonical_url + querystring + '&paged=' + pagenum;\n\t\t\t\t\t\t\t\t\t\t\t\talm_reveal.dataset.page = pagenum;\n\t } else {\n\t\t\t\t\t\t\t\t\t\t\t\t// Pretty Permalinks\n\t\t\t\t\t\t\t\t\t\t\t\talm_reveal.setAttribute('class', 'alm-reveal' + seo_class + alm.tcc);\n\t\t\t\t\t\t\t\t\t\t\t\talm_reveal.dataset.url = alm.canonical_url + alm.addons.seo_leading_slash + 'page/' + pagenum + alm.addons.seo_trailing_slash + querystring;\n\t\t\t\t\t\t\t\t\t\t\t\talm_reveal.dataset.page = pagenum;\n\t }\n }\n \n if(alm.addons.filters){ // Filters\n \talm_reveal.setAttribute('class', 'alm-reveal' + filters_class + alm.tcc);\n\t\t\t\t\t\t\t\t\t\t\talm_reveal.dataset.url = alm.canonical_url + alm.AjaxLoadMore.buildFilterURL(querystring, pagenum);\n\t\t\t\t\t\t\t\t\t\t\talm_reveal.dataset.page = pagenum;\n } \n\n } else {\n\t \t \n // First Page \n if(alm.addons.seo){\n\t // SEO\n\t alm_reveal.setAttribute('class', 'alm-reveal' + seo_class + alm.tcc);\n\t\t alm_reveal.dataset.url = alm.canonical_url + querystring;\n\t\t alm_reveal.dataset.page = '1';\n\t\t \n } \n if(alm.addons.filters){\n\t // Filters\n \talm_reveal.setAttribute('class', 'alm-reveal' + filters_class + preloaded_class + alm.tcc);\n\t\t\t\t\t\t\t\t\t\t\talm_reveal.dataset.url = alm.canonical_url + alm.AjaxLoadMore.buildFilterURL(querystring, 0);\n\t\t\t\t\t\t\t\t\t\t\talm_reveal.dataset.page = '1';\n\t\t\t\t\t\t\t\t\t\t\t\n } \n } \n \n \n // Append children to `.alm-reveal` element\n almAppendChildren(alm_reveal, return_data[k]);\n \n // Run srcSet polyfill\n\t\t\t\t\t\t\t\t\tsrcsetPolyfill(alm_reveal, alm.ua);\n \n \n // Push alm_reveal elements into container_array\n container_array.push(alm_reveal);\n \n }\n \n\n // Set opacity and height of .alm-listing div to allow for fadein.\n alm.listing.style.opacity = 0;\n alm.listing.style.height = 0;\n \n\n // Append container_array to `.alm-listing` \n almAppendChildren(alm.listing, container_array);\n \n reveal = alm.listing;\n alm.el = reveal;\n\n }\n // End Init & SEO\n \n else {\n\t \n\t // Preloaded OR SEO (and Paged)\n if (alm.addons.seo && alm.page > 0 || alm.addons.preloaded === 'true') {\n\n let p2 = (alm.addons.preloaded === 'true') ? 1 : 0; // Add 1 page if items are preloaded.\n\n // SEO [Paged]\n pagenum = (alm.page + 1 + p2);\n\n if (alm.addons.seo) {\n // SEO\n if (alm.addons.seo_permalink === 'default') {\n\t // Default Permalinks\n\t reveal.setAttribute('class', 'alm-reveal' + seo_class + alm.tcc);\n\t\t reveal.dataset.url = alm.canonical_url + querystring + '&paged=' + pagenum;\n\t\t reveal.dataset.page = pagenum;\n \n } else {\n\t // Pretty Permalinks\n\t reveal.setAttribute('class', 'alm-reveal' + seo_class + alm.tcc);\n\t\t reveal.dataset.url = alm.canonical_url + alm.addons.seo_leading_slash + 'page/' + pagenum + alm.addons.seo_trailing_slash + querystring;\n\t\t reveal.dataset.page = pagenum;\n \n }\n\n } else if (alm.addons.filters) {\n // Filters \n\t\t\t\t\t\t\t\t\t\treveal.setAttribute('class', 'alm-reveal' + filters_class + alm.tcc);\n\t\t\t\t\t\t\t\t\t\treveal.dataset.url = alm.canonical_url + alm.AjaxLoadMore.buildFilterURL(querystring, pagenum);\n\t\t\t\t\t\t\t\t\t\treveal.dataset.page = pagenum;\n \n } else { \n // Basic ALM\n reveal.setAttribute('class', 'alm-reveal' + alm.tcc);\n \n }\n\n } else if (alm.addons.filters) {\n\t \n // Filters\n\t\t\t\t\t\t\t\t\treveal.setAttribute('class', 'alm-reveal' + filters_class + alm.tcc);\n\t\t\t\t\t\t\t\t\treveal.dataset.url = alm.canonical_url + alm.AjaxLoadMore.buildFilterURL(querystring, parseInt(alm.page) + 1);\n\t\t\t\t\t\t\t\t\treveal.dataset.page = parseInt(alm.page) + 1;\n \n } else {\n\n if (alm.addons.seo) {\n // SEO [Page 1] \n reveal.setAttribute('class', 'alm-reveal' + seo_class + alm.tcc);\n reveal.dataset.url = alm.canonical_url + querystring;\n reveal.dataset.page = '1';\n \n } else {\n // Basic ALM \n reveal.setAttribute('class', 'alm-reveal' + alm.tcc); \n }\n\n }\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\treveal.innerHTML = alm.html;\n \n }\n \n }\n \n }\n\n\n // Append `reveal` div to ALM Listing container\n // Do not append when transtion == masonry OR init and !preloaded\n if (alm.transition !== 'masonry' || (alm.init && !alm.is_masonry_preloaded)) {\n\t \n\t if(!isPaged){ \t \n \t if(!alm.transition_container){ \n\t \t // No transition container \t \n \t if (alm.images_loaded === 'true') {\t \n \t imagesLoaded( reveal, function() {\n \t\t almAppendChildren(alm.listing, reveal);\n \t\t // Run srcSet polyfill\n\t\t\t\t\t\t\t\t\t\tsrcsetPolyfill(alm.listing, alm.ua);\n \t\t }); \t\t \n } else {\n almAppendChildren(alm.listing, reveal);\n // Run srcSet polyfill\n\t\t\t\t\t\t\t\t\tsrcsetPolyfill(alm.listing, alm.ua);\n } \t \n \t \n \t } else { \n\t \t // Standard container\n \t alm.listing.appendChild(reveal);\n \t \n \t }\t \t \t\n\t }\n\t \n }\n\n\t\t\t\t\t\n\t\t\t\t\t// *****\n // Transitions\t\n // *****\t\t\t\n\t\t\t\t\t\n\n // Masonry\n if (alm.transition === 'masonry') {\n alm.el = alm.listing;\n almMasonry(alm, alm.init, alm_is_filtering);\n alm.masonry_init = false;\n alm.AjaxLoadMore.transitionEnd();\n\n }\n \n // None\n else if (alm.transition === 'none') { \n if (alm.images_loaded === 'true') {\t \n\t imagesLoaded( reveal, function() {\n\t\t\t\t\t\t\t\talmFadeIn(reveal, 0);\n\t\t\t\t\t\t\t\talm.AjaxLoadMore.transitionEnd();\n\t\t });\n\t\t \n } else {\n almFadeIn(reveal, 0);\n alm.AjaxLoadMore.transitionEnd();\n }\n }\n \n // Fade transition (default)\n else {\n if (alm.images_loaded === 'true') {\t \n\t imagesLoaded( reveal, function() {\n\t\t if (alm.transition_container) {\n almFadeIn(reveal, alm.speed);\n }\n alm.AjaxLoadMore.transitionEnd();\n\t\t });\n\t\t \n } else {\n if (alm.transition_container) {\n almFadeIn(reveal, alm.speed);\n }\n alm.AjaxLoadMore.transitionEnd();\n }\n }\n\n } else {\n\n // Paging \n if (!alm.init) {\n\t \n\t if(pagingContent){ \n\t\t \n\t\t almFadeOut(pagingContent, alm.speed);\n \t\t\t \n \t\t\t pagingContent.style.outline = 'none'; \n \t\t alm.main.classList.remove('alm-loading');\t\t \n\n\t\t setTimeout(function(){\t\t\n \t\t \t\t\n\t\t\t\t\t\t\t\tpagingContent.style.opacity = 0;\n pagingContent.innerHTML = alm.html;\n \t\t\t\t\t\t\t\t\n\t\t\t imagesLoaded( pagingContent, function() { \t\t\t\t\t\t\t\t\n \t\t\t\t\t\t\t\t\n\t\t // Delay for effect \n\t alm.AjaxLoadMore.triggerAddons(alm);\n\t almFadeIn(pagingContent, alm.speed);\n\t \n\t // Remove opacity on element to fix CSS transition\n\t setTimeout(function(){\t \t \t\n\t\t \tpagingContent.style.opacity = '';\n\t\t }, parseInt(alm.speed) + 25); \n \t\t\t\t\t\t\t\t\n\t\t\t\t // Paging addon\n\t\t if (typeof almOnPagingComplete === 'function') {\n\t\t window.almOnPagingComplete(alm);\n\t\t } \t \n \t \n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\n\t\t }, parseInt(alm.speed) + 25); \n\t }\n\n } else {\n\t \n\t // almMasonry(alm, alm.init, alm_is_filtering);\n \n setTimeout(function(){\n alm.main.classList.remove('alm-loading');\n alm.AjaxLoadMore.triggerAddons(alm);\n }, alm.speed); \n\n }\n // End Paging\n\n }\n \n \n\t\t\t\t// almFiltersOnload [Filters Add-on hook]\n\t\t\t\tif(typeof almFiltersOnload === 'function' && alm.init){\n\t\t\t\t\twindow.almFiltersOnload(alm);\n\t\t\t\t}\t\t\t\t\t\t\n\t\t\t\t\n \n // ALM Complete / Nested\n if (alm.images_loaded === 'true') {\n imagesLoaded( reveal, function() {\n alm.AjaxLoadMore.nested(reveal); // Nested\t\t\t\t\t\t\n\t\t\t\t\t\tinsertScript.init(alm.el); // Run script inserter\n if (typeof almComplete === 'function') {\n \twindow.almComplete(alm);\n }\n });\n \n } else {\n alm.AjaxLoadMore.nested(reveal); // Nested\n\t\t\t\t\tinsertScript.init(alm.el); // Run script inserter\n if (typeof almComplete === 'function') {\n \twindow.almComplete(alm);\n }\n \n }\n // End ALM Complete / Nested\n \n\n // ALM Done\n if (!alm.addons.cache) {\n\t // Not Cache & Previous Post\n if (alm.posts >= alm.totalposts && !alm.addons.single_post) {\n alm.AjaxLoadMore.triggerDone();\n }\n } else { // Cache \n if (total < alm.posts_per_page) {\n alm.AjaxLoadMore.triggerDone();\n }\n }\n // End ALM Done\n\n\n } \n \n \n /*\n * No results from Ajax\n */\n else { \n\n if (!alm.addons.paging) {\n // Add .done class, reset btn text\n setTimeout(function() {\n alm.button.classList.remove('loading');\n alm.button.classList.add('done');\n }, alm.speed);\n alm.AjaxLoadMore.resetBtnText();\n }\n\n alm.AjaxLoadMore.triggerDone(); // ALM Done\n\n } \n\n\n // Destroy After\n if (alm.destroy_after !== undefined && alm.destroy_after !== '') {\n var currentPage = alm.page + 1; // Add 1 because alm.page starts at 0\n currentPage = (alm.addons.preloaded === 'true') ? currentPage++ : currentPage; // Add 1 for preloaded\n if (currentPage == alm.destroy_after) { // Disable ALM if page = alm.destroy_after val\n alm.AjaxLoadMore.destroyed();\n }\n }\n \n\t\t\t\n\t\t\t// Set focus (only with transition_containers)\n\t\t\tif(alm.transition_container){\n\t\t\t\tif(alm.addons.paging){\n\t\t\t \tsetFocus(alm.init, alm.addons.preloaded, pagingContent);\n\t\t\t } else {\n\t\t\t \tsetFocus(alm.init, alm.addons.preloaded, reveal);\n\t\t\t }\n\t\t\t}\n \n \n // Comment Reply Fix\n if(alm.addons.comments === 'true'){ \n commentReplyFix(alm.listing);\n } \n \n \n // Remove filtering class\n if(alm.main.classList.contains('alm-is-filtering')){\n alm.main.classList.remove('alm-is-filtering');\n } \n \n \n // Set flags\n alm_is_filtering = alm.init = false;\n\n };\n\n\t\t\n\n /**\n\t * pagingPreloadedInit\n * First run for Paging + Preloaded add-ons\n * Moves preloaded content into ajax container\n *\n * @param {data} Results of the Ajax request\n * @since 2.11.3\n */\n alm.AjaxLoadMore.pagingPreloadedInit = function(data) {\n\n data = (data == null) ? '' : data; // Check for null data object\n\n // Add paging containers and content\n\t alm.AjaxLoadMore.pagingInit(data, 'alm-reveal'); \n\n if (data === '') {\n if (typeof almPagingEmpty === 'function') {\n window.almPagingEmpty(alm);\n }\n if (typeof almEmpty === 'function') {\n\t almNoResults(alm.content, alm.no_results);\n window.almEmpty(alm);\n }\n }\n \n };\n\n\n\n /** \n\t * pagingNextpageInit\n * First run for Paging + Next Page add-ons\n * Moves .alm-nextpage content into ajax container\n *\n * @param {data} Results of Ajax request\n * @since 2.14.0\n */\n alm.AjaxLoadMore.pagingNextpageInit = function(data) {\n\t \n\t data = (data == null) ? '' : data; // Check for null data object\n\t \n\t // Add paging containers and content\n\t alm.AjaxLoadMore.pagingInit(data, 'alm-reveal alm-nextpage'); \n\t\t\t\n\t\t\t// Set up Nextpage Vars\n if (typeof almSetNextPageVars === 'function') {\n window.almSetNextPageVars(alm); // Next Page Add-on\n }\n \n };\n \n \n \n /**\n\t * pagingInit\n * First run for Paging + (Preloaded & Next Page) add-ons. Create required containers.\n *\n * @param {data} Ajax results\n * @param {classes} added classes\n * @since 5.0\n */\n alm.AjaxLoadMore.pagingInit = function(data, classes = 'alm-reveal'){\n\t \n\t data = (data == null) ? '' : data; // Check for null data object\n\t \n\t // Create `alm-reveal` container\n\t \tlet reveal = document.createElement('div');\n\t reveal.setAttribute('class', classes);\t \n\t \n\t // Create `alm-paging-loading` container\n\t let content = document.createElement('div');\n\t content.setAttribute('class', 'alm-paging-content' + alm.tcc);\t\n\t content.innerHTML = data; \t \n\t reveal.appendChild(content); \n\t \n\t // Create `alm-paging-content` container\n\t let loader = document.createElement('div');\n\t loader.setAttribute('class', 'alm-paging-loading');\t \t\n\t reveal.appendChild(loader); \n\t \n\t // Add div to container\n\t alm.listing.appendChild(reveal); \n \n // Get/Set height of .alm-listing div\n\t let styles = window.getComputedStyle(alm.listing);\n\t let pTop = parseInt(styles.getPropertyValue('padding-top').replace('px', ''));\n\t let pBtm = parseInt(styles.getPropertyValue('padding-bottom').replace('px', ''));\n\t let h = reveal.offsetHeight;\n\t \n\t // Set initial `.alm-listing` height\n alm.listing.style.height = h + pTop + pBtm + 'px'; \n \n // Reset button text\n alm.AjaxLoadMore.resetBtnText(); \n \n // Delay reveal of paging to avoid positioning issues\n setTimeout(function() {\t \n if (typeof almFadePageControls === 'function') {\n window.almFadePageControls(alm.btnWrap);\n }\n if (typeof almOnWindowResize === 'function') {\n window.almOnWindowResize(alm);\n } \t \n\t\t // Remove loading class from main container\n\t alm.main.classList.remove('loading'); \t\t\t\t\n }, alm.speed);\n \n };\n\n\n\n /**\n *\tnested\n *\tAutomatically trigger nested ALM instances (Requies `.alm-reveal` container\n *\n * @param {object} instance\n * @since 5.0\n */\n alm.AjaxLoadMore.nested = function(reveal) {\n\t if(!reveal || !alm.transition_container){\n\t\t return false; // Exit if not `transition_container`\n\t }\n let nested = reveal.querySelectorAll('.ajax-load-more-wrap'); // Get all instances from jQuery obj\n if (nested) {\n nested.forEach(function(element) {\n window.almInit(element);\n });\n }\n };\n\n\n\n /**\n\t * fetchingPreviousPost\n\t * Get the previous post ID via ajax\n\t *\n * @since 2.7.4\n */\n\n if (alm.addons.single_post_id) {\n alm.fetchingPreviousPost = false;\n alm.addons.single_post_init = true;\n }\n\n alm.AjaxLoadMore.getSinglePost = function() {\t\n\t \n\t\t\tlet action = 'alm_get_single'; \n\t \n\t if(alm.fetchingPreviousPost){\n\t\t return false;\n\t }\n\t \n alm.fetchingPreviousPost = true;\n \n // Get admin-ajax.php URL \n let ajaxURL = alm_localize.ajaxurl; \n \n\t\t\t// Get data params \n let params = {\n id: alm.addons.single_post_id,\n initial_id: alm.addons.single_post_init_id,\n order: alm.addons.single_post_order,\n taxonomy: alm.addons.single_post_taxonomy,\n excluded_terms: alm.addons.single_post_excluded_terms,\n post_type: alm.post_type,\n init: alm.addons.single_post_init,\n action: action\n };\n \n // Send HTTP request via Axios\n axios.get(ajaxURL, {params})\n .then(function(response){\n // Success\n \n let data = response.data; // Get data from response\n \n if (data.has_previous_post) {\n alm.listing.dataset.singlePostId = data.prev_id; // Update single-post-id on instance\n alm.addons.single_post_id = data.prev_id;\n alm.addons.single_post_permalink = data.prev_permalink;\n alm.addons.single_post_title = data.prev_title;\n alm.addons.single_post_slug = data.prev_slug;\n\n } else {\n if (!data.has_previous_post) {\n alm.AjaxLoadMore.triggerDone();\n }\n }\n if (typeof window.almSetSinglePost === 'function') {\n window.almSetSinglePost(alm, data.current_id, data.permalink, data.title);\n }\n alm.fetchingPreviousPost = false;\n alm.addons.single_post_init = false;\n \n })\n .catch(function (error) { \n // Error\n \n alm.AjaxLoadMore.error(error, 'getSinglePost');\n alm.fetchingPreviousPost = false; \n \t\t\t\t\t\n\t\t\t});\n\n };\n\n\n\n /**\n\t * triggerAddons\n *\n * Triggers various add-on functions (if available) after load complete.\n * @since 2.14.0\n */\n alm.AjaxLoadMore.triggerAddons = function(alm) {\n if (typeof almSEO === \"function\") { // SEO\n window.almSEO(alm, false);\n }\n if (typeof almSetNextPage === 'function') { // Next Page\n window.almSetNextPage(alm);\n } \n };\n\n\n\n /** \n\t * triggerDone\n *\n * Fires the almDone() function (if available).\n * @since 2.11.3\n */\n alm.AjaxLoadMore.triggerDone = function() {\n alm.loading = false;\n alm.finished = true;\n if (!alm.addons.paging) {\n alm.button.classList.add('done');\n alm.button.disabled = true;\n }\n if (typeof almDone === 'function') {\n // Delay done until animations complete\n setTimeout(function() {\n window.almDone(alm);\n }, alm.speed + 10);\n }\n };\n\n\n\n /** \n\t * resetBtnText\n\t * Resets the loading button text after loading has completed\n\t *\n * @since 2.8.4\n */\n alm.AjaxLoadMore.resetBtnText = function() {\n if (alm.button_loading_label !== false && !alm.addons.paging) { // Reset button text\n alm.button.innerHTML = alm.button_label;\n }\n };\n\n\n\n /** \n * Ajax Error\n * Error function after failed data\n * \n * @since 2.6.0\n */\n alm.AjaxLoadMore.error = function(error, location = null) {\n alm.loading = false;\n if (!alm.addons.paging) {\n alm.button.classList.remove('loading');\n alm.AjaxLoadMore.resetBtnText();\n }\n \n if (error.response) {\n // The request was made and the server responded with a status code\n // that falls out of the range of 2xx\n //console.log(error.response.data);\n //console.log(error.response.status);\n //console.log(error.response.headers);\n console.log('Error: ', error.message);\n } else if (error.request) {\n // The request was made but no response was received\n // `error.request` is an instance of XMLHttpRequest in the browser and an instance of\n // http.ClientRequest in node.js\n console.log(error.request);\n } else {\n // Something happened in setting up the request that triggered an Error\n console.log('Error: ', error.message);\n }\n \n \n if(location){\n console.log('ALM Error started in '+ location);\n }\n\t\t\t\n\t\t\tif(error.config){\n \tconsole.log('ALM Error Debug: ', error.config);\n }\n \n };\n\n\n\n /** \n * click\n * Button click handler to load posts \n * \n * @since 4.2.0\n */\n alm.AjaxLoadMore.click = function(e) {\n let button = e.target || e.currentTarget;\n if (alm.pause === 'true') {\n alm.pause = false;\n alm.pause_override = false;\n alm.AjaxLoadMore.loadPosts();\n }\n if (!alm.loading && !alm.finished && !button.classList.contains('done')) {\n alm.loading = true;\n alm.page++;\n alm.AjaxLoadMore.loadPosts();\n }\n };\n\n\n\n /**\n\t * Button Click Event\n * Load more button click event \n * \n * @since 1.0.0\n */\n\n if (!alm.addons.paging && !alm.fetchingPreviousPost) {\n alm.button.onclick = alm.AjaxLoadMore.click;\n }\n\n\n\n\n /**\n\t * Window Resize\n * Add resize function for Paging add-on only.\n * \n * @since 2.1.2\n * @updated 4.2\n */\n if (alm.addons.paging) {\n let pagingResize;\n alm.window.onresize = function() {\n clearTimeout(pagingResize);\n pagingResize = setTimeout(function(e) {\n if (typeof almOnWindowResize === 'function') {\n window.almOnWindowResize(alm);\n }\n }, alm.speed);\n };\n }\n\n\n\n /**\n\t * isVisible\n * Check to see if element is visible before loading posts\n *\n * @since 2.1.2\n */\n\n alm.AjaxLoadMore.isVisible = function() {\n // Check for a width and height to determine visibility \n alm.visible = (alm.main.clientWidth > 0 && alm.main.clientHeight > 0) ? true : false;\n return alm.visible;\n };\n\n\n\n /**\n\t * scroll \n * Load posts as user scrolls the page\n *\n * @since 1.0\n * @updated 4.2.0\n */ \n alm.AjaxLoadMore.scroll = function() {\n\n if (alm.timer) {\n clearTimeout(alm.timer);\n }\n\n alm.timer = setTimeout(function() {\n if (alm.AjaxLoadMore.isVisible() && !alm.fetchingPreviousPost) {\n let trigger = alm.trigger.getBoundingClientRect();\n let btnPos = Math.round(trigger.top - alm.window.innerHeight) + alm.scroll_distance;\n let scrollTrigger = (btnPos <= 0) ? true : false;\n\n // Scroll Container\n if (alm.window !== window) {\n let scrollInstance = alm.window.querySelector('.ajax-load-more-wrap'); // ALM inside the container\n let scrollHeight = scrollInstance.offsetHeight; // ALM height\n let scrollPosition = Math.round(alm.window.scrollTop + alm.window.offsetHeight - alm.scroll_distance); // How far user has scrolled\t\n scrollTrigger = (scrollHeight <= scrollPosition) ? true : false;\n }\n\n // If Pause && Pause Override\n if (!alm.loading && !alm.finished && scrollTrigger && alm.page < (alm.max_pages - 1) && alm.proceed && alm.pause === 'true' && alm.pause_override === 'true') {\n alm.button.click();\n }\n\n // Standard Scroll\n else {\n if (!alm.loading && !alm.finished && scrollTrigger && alm.page < (alm.max_pages - 1) && alm.proceed && alm.pause !== 'true') {\n alm.button.click();\n }\n }\n }\n \n }, 25);\n };\n \n\n // Add scroll eventlisteners, only when needed\n if (alm.scroll && !alm.addons.paging) {\n if (alm.scroll_container !== '') { // Scroll Container \n alm.window = (document.querySelector(alm.scroll_container)) ? document.querySelector(alm.scroll_container) : alm.window;\n }\n alm.window.addEventListener('scroll', alm.AjaxLoadMore.scroll);\n alm.window.addEventListener('touchstart', alm.AjaxLoadMore.scroll);\n }\n \n \n \n /** \n\t * destroyed\n * Destroy Ajax Load More functionality\n * \n * @since 3.4.2\n */\n alm.AjaxLoadMore.destroyed = function() {\n alm.disable_ajax = true;\n if (!alm.addons.paging) {\n alm.button.style.display = 'none';\n alm.AjaxLoadMore.triggerDone();\n if (typeof almDestroyed === 'function') {\n window.almDestroyed(alm);\n }\n }\n };\n\n\n\n /** \n\t * transitionEnd\n * Set variables after loading transiton completes\n *\n * @since 3.5 \n */\n alm.AjaxLoadMore.transitionEnd = function() {\n setTimeout(function() {\n\t alm.AjaxLoadMore.resetBtnText();\n alm.main.classList.remove('alm-loading');\n alm.AjaxLoadMore.triggerAddons(alm);\n if (!alm.addons.paging) {\n setTimeout(function() {\n alm.button.classList.remove('loading'); // Loading button\n alm.loading = false; // Delay to prevent loading to fast\n }, alm.speed); \n }\n }, alm.speed);\n };\n\n\n\n /** \n\t * setLocalizedVar\n * Set induvidual localized variable\n *\n * @param {string} name \n * @param {string} value \n * @since 4.1 \n */\n alm.AjaxLoadMore.setLocalizedVar = function(name = '', value = '') {\n if (alm.localize && name !== '' && value !== '') {\n alm.localize[name] = value.toString(); // Set ALM localize var\n window[alm.master_id + '_vars'][name] = value.toString(); // Update global window obj vars\n }\n };\n \n \n \n\t\t/**\n\t\t* getQueryVariable\n\t\t* Get querysting value\n\t\t*\n\t\t* @param {String} variable\n\t\t* @since 5.0\n\t\t*/\n\t\talm.AjaxLoadMore.getQueryVariable = function(variable) {\n\t\t\tvar query = window.location.search.substring(1);\n\t\t\tvar vars = query.split('&');\n\t\t\tfor (var i = 0; i < vars.length; i++) {\n\t\t\t\tvar pair = vars[i].split('=');\n\t\t\t\tif (decodeURIComponent(pair[0]) == variable) {\n\t\t\t\t\treturn decodeURIComponent(pair[1]);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n \n \n \n\t\t/**\n\t\t* buildFilterURL\n\t\t* Build new paging URL for filters\n\t\t*\n\t\t* @param {String} querystring\n\t\t* @param {Number} page\n\t\t* @since 5.0\n\t\t*/\n\t\talm.AjaxLoadMore.buildFilterURL = function(querystring = '', page = 0) {\n\t\t\tlet qs = querystring;\t\n\t\t\t\n\t\t\tif(alm.addons.filters_paging){\t\n \t\t\t\t\t\t\t\n \t\t\tif(page > 1){ \n \t\t\t\t// Paged\n if(qs){\n // If already has `pg` in querystring\n if (alm.AjaxLoadMore.getQueryVariable('pg')) {\n qs = querystring.replace(/(pg=)[^\\&]+/, '$1' + page);\t\t\t\t \n } else {\n qs = querystring + '&pg=' + page;\n } \n \n } else {\t\t\t \n qs = '?pg=' + page;\n }\n } else { \n \t // Not Paged\t \n \t qs = querystring.replace(/(pg=)[^\\&]+/, '');\t \n \t qs = (qs === '?') ? '' : qs; // Remove `?` if only symbol in querystring\n \t qs = (qs[qs.length -1] === '&') ? qs.slice(0, -1) : qs; // Remove trailing `&` symbols\n \t \n } \n } \n \n return qs; \n\t\t};\n\n\n\n /** \n * Init Ajax load More\n * Load posts as user scrolls the page\n * \n * @since 2.0 \n */\n alm.AjaxLoadMore.init = function() {\n\n // Preloaded and destroy_after is 1 \n if (alm.addons.preloaded === 'true' && alm.destroy_after == 1) {\n alm.AjaxLoadMore.destroyed();\n }\n\n if (!alm.addons.paging && !alm.addons.single_post) {\n if (alm.disable_ajax) {\n alm.finished = true;\n alm.button.classList.add('done');\n } else {\n if (alm.pause === 'true') {\n alm.button.innerHTML = alm.button_label;\n alm.loading = false;\n } else {\n alm.AjaxLoadMore.loadPosts();\n }\n }\n }\n\n // Previous Post Add-on\n if (alm.addons.single_post) {\n alm.AjaxLoadMore.getSinglePost(); // Set next post on load\n alm.loading = false;\n }\n\n\n // Preloaded + SEO && !Paging\n if (alm.addons.preloaded === 'true' && alm.addons.seo && !alm.addons.paging) {\n // Delay for scripts to load\n setTimeout(function() {\n if (typeof almSEO === \"function\" && alm.start_page < 1) {\n window.almSEO(alm, true);\n }\n }, alm.speed);\n }\n\n\n // Preloaded && !Paging\n if (alm.addons.preloaded === 'true' && !alm.addons.paging) {\n // Delay for scripts to load\n setTimeout(function() {\n // triggerDone\n if (alm.addons.preloaded_total_posts <= parseInt(alm.addons.preloaded_amount)) {\n alm.AjaxLoadMore.triggerDone();\n }\n // almEmpty\n if (alm.addons.preloaded_total_posts == 0) {\n if (typeof almEmpty === 'function') {\n\t almNoResults(alm.content, alm.no_results);\n window.almEmpty(alm);\n }\n }\n }, alm.speed);\n\n }\n \n\t\t\t\n\t\t\t// Preloaded Add-on ONLY\n if (alm.addons.preloaded === 'true') {\n if (alm.resultsText) {\n\t resultsText.almInitResultsText(alm, 'preloaded');\n }\n }\n\n\n // Next Page Add-on\n if (alm.addons.nextpage) {\n\t \t \n\t \t// Check that posts remain on load\n if (alm.listing.querySelector('.alm-nextpage') && !alm.addons.paging) {\n var alm_nextpage_pages = alm.listing.querySelectorAll('.alm-nextpage'),\n alm_nextpage_total = alm.listing.querySelector('.alm-nextpage:first-child');\n \n if(alm_nextpage_total && alm_nextpage_pages){\n\t alm_nextpage_total = alm_nextpage_total.dataset.totalPosts;\n\t alm_nextpage_pages = alm_nextpage_pages.length; \n\t\t\t\t\t\t\n\t\t\t\t\t\t// Disable if on last page\n\t if (alm_nextpage_pages == alm_nextpage_total) {\n\t alm.AjaxLoadMore.triggerDone();\n\t }\n }\n } \n \n if (alm.resultsText) {\n resultsText.almInitResultsText(alm, 'nextpage');\n }\n \n }\n\n\n // Window Load (Masonry + Preloaded)\n alm.window.addEventListener('load', function() {\n if (alm.is_masonry_preloaded) {\n almMasonry(alm, true, false);\n alm.masonry_init = false;\n }\n\t\t\t\tif (typeof almOnLoad === 'function') {\n\t\t\t\t\twindow.almOnLoad(alm);\n\t\t\t\t}\n });\n\n };\n\n\n // Init Ajax Load More\n alm.AjaxLoadMore.init();\n\n\n // Flag to prevent unnecessary loading of posts on initial page load.\n setTimeout(function() {\n alm.proceed = true;\n }, alm.speed);\n\n\n\n /** \n\t * almUpdateCurrentPage\n * Update current page - triggered from paging add-on\n *\n * @since 2.7.0\n */\n window.almUpdateCurrentPage = function(current, obj, alm) {\n\n alm.page = current; \n alm.page = (alm.addons.nextpage && !alm.addons.paging) ? alm.page - 1 : alm.page; // Next Page add-on\n\n let data = '';\n let target = ''; \n \n if (alm.addons.paging_init && alm.addons.preloaded === 'true') {\n // Paging + Preloaded Firstrun\n target = alm.listing.querySelector('.alm-reveal') || alm.listing.querySelector('.alm-nextpage');\n if(target){\n data = target.innerHTML; // Get content \n target.parentNode.removeChild(target); // Remove target \n alm.addons.preloaded_amount = 0; // Reset preloaded\n alm.AjaxLoadMore.pagingPreloadedInit(data);\n }\n alm.addons.paging_init = false;\n alm.init = false;\n\n } else if (alm.addons.paging_init && alm.addons.nextpage) {\n // Paging + Next Page on firstrun\n target = alm.listing.querySelector('.alm-reveal') || alm.listing.querySelector('.alm-nextpage');\n if(target){\n data = target.innerHTML; // Get content \n target.parentNode.removeChild(target); // Remove target\n alm.AjaxLoadMore.pagingNextpageInit(data);\n }\n alm.addons.paging_init = false;\n alm.init = false;\n\n } else {\n // Standard Paging\n alm.AjaxLoadMore.loadPosts();\n\n }\n };\n\n\n\n /** \n\t * almGetParentContainer\n * return the parent ALM container\n *\n * @since 2.7.0\n * @return element\n */\n window.almGetParentContainer = function() {\n return alm.listing;\n };\n\n\n\n /**\n\t * almGetObj\n * Returns the current ALM obj\n *\n * @param {string} specific obj\n * @since 2.7.0\n * @return object\n */\n window.almGetObj = function(obj = '') {\n\t if(obj !== ''){\n\t\t return alm[obj]; // Return specific param\n\t } else {\n\t\t return alm; // Return the entire alm object\n\t }\n \n };\n\n\n\n /**\n\t * almTriggerClick\n * Trigger ajaxloadmore from any element on page\n *\n * @since 2.12.0\n */\n window.almTriggerClick = function() {\n alm.button.click();\n };\n\n\n };\n\n // End ajaxloadmore \n \n\n\n /** \n * almInit\n * Initiate instance of Ajax load More\n *\n * @since 5.0\n */\n window.almInit = function(el, id = 0) {\n new ajaxloadmore(el, id);\n };\n\n\n\n /**\n * Initiate Ajax load More if div is present on screen\n * @since 2.1.2\n */\n\n let alm_instances = document.querySelectorAll('.ajax-load-more-wrap');\n if (alm_instances.length) {\n [...alm_instances].forEach((alm, e) => {\n new ajaxloadmore(alm, e);\n });\n }\n\n})();\n\n\n\n/** \n * filter\n * Filter an Ajax Load More instance\n * \n * @since 5.0\n * @param {*} transition\n * @param {*} speed\n * @param {*} data\n */\nlet filter = function(transition = 'fade', speed = '250', data = '') {\n if (!transition || !speed || !data) {\n return false;\n }\n alm_is_filtering = true;\n almFilter(transition, speed, data);\n};\nexport { filter };\n\n\n\n/** \n * tracking\n * Track Page Views in Google Analytics\n *\n * @since 5.0\n * @param {*} path\n */\nlet tracking = function(path) {\n if (typeof gtag === 'function') { // Gtag GA Tracking\n gtag('event', 'page_view', {\n 'page_path': path\n });\n }\n if (typeof ga === 'function') { // Deprecated GA Tracking\n ga('send', 'pageview', path);\n }\n if (typeof __gaTracker === 'function') { // Monster Insights\n __gaTracker('send', 'pageview', path);\n } \n \n // Dispatch global Analytics callback\n if (typeof almAnalytics === 'function') {\n window.almAnalytics(path);\n }\n}; \nexport { tracking };\n\n\n\n/** \n * start\n * Trigger Ajax Load More from other events\n * \n * @since 5.0\n * @param {*} el\n */\nlet start = function(el) {\n if (!el) {\n return false;\n }\n window.almInit(el);\n};\nexport { start };\n\n\n\n/** \n * almScroll\n * Scroll window to position (global function)\n *\n * @since 5.0\n * @param {*} position\n */\nlet almScroll = function(position) {\n if (!position) {\n return false;\n }\n window.scrollTo({\n top: position,\n behavior: 'smooth'\n });\n};\nexport { almScroll };\n\n\n\n/** \n * getOffset\n * Get the current top/left coordinates of an element relative to the document.\n *\n * @since 5.0\n * @param {*} el\n */\nlet getOffset = function(el = null){\n\tif(!el){\n\t\treturn false;\n\t}\n\tlet rect = el.getBoundingClientRect(),\n scrollLeft = window.pageXOffset || document.documentElement.scrollLeft,\n scrollTop = window.pageYOffset || document.documentElement.scrollTop;\n return { top: rect.top + scrollTop, left: rect.left + scrollLeft }\n};\nexport { getOffset };\n","/**\n * Append a child element to a container\n *\n * @param {*} target | Target element to append items\n * @param {*} element | The element to append\n * @param {*} transition | The transiton\n * @since 5.0\n */\n \nlet nodeNameArray = ['#text', '#comment'];\n\nlet almAppendChild = function( target = null, element = null, transition = 'fade' ) {\n\tif(!target || !element){\n\t\treturn false; \n\t}\t\n\t\n\t// Do not append elements that are not actual element nodes (i.e. #text node)\n\t// Add item if not in exclude array\n\tif(nodeNameArray.indexOf(element.nodeName.toLowerCase()) === -1){\t\t\n\t\tif(transition === 'masonry'){ // If Masonry, opacity = zero\n\t\t\telement.style.opacity = 0;\n\t\t}\n\t\ttarget.appendChild(element);\n\t}\n};\nexport default almAppendChild;","import almAppendChild from './almAppendChild';\n/**\n * Loop array of elements and append to target\n *\n * @param {*} target | Target element to append items\n * @param {*} array | An array of elements\n * @param {*} transition | The transiton\n * @since 5.0\n */\n \nlet almAppendChildren = function( target = null, array = null, transition = 'fade' ) {\n\tif(!target || !array){\n\t\treturn false;\n\t}\t\n\tfor (var i = 0; i < array.length; i++) {\t\n\t\tlet element = array[i];\t\t\n\t\talmAppendChild(target, element, transition);\t\t\n\t}\n};\nexport default almAppendChildren;","/**\n * Convert a plain text string into an array of HTML nodes\n *\n * @param {*} html | The HTML string\n * @param {*} type\n * @return array\n * @since 5.0\n */\nlet almDomParser = function( html = '', type = 'text/html' ) {\n\tif(!html){\n \treturn false;\n\t}\n let parser = new DOMParser(); \n let data = parser.parseFromString(html, type);\t\t\t\t\t\t\t\n return (data) ? Array.prototype.slice.call(data.body.childNodes) : data;\t\n};\nexport default almDomParser;\n","/**\n * Generate the cache page URL for GET request\n *\n * @param {*} el | Target element to append items\n * @param {*} array | An array of elements\n * @since 5.0\n */\nlet almGetCacheUrl = function( alm ) {\n \n if(!alm){\n return false;\n }\n \n\tlet cache_url = '';\n\tlet ext = '.html';\n\t\n if (alm.init && alm.addons.seo && alm.isPaged) {\n // SEO Add-on\n // If the request is a paged URL (/page/3/)\n let firstpage = '1';\n cache_url = alm.addons.cache_path + alm.addons.cache_id + '/page-' + firstpage + '-' + alm.start_page + ext;\n \n } else if (alm.addons.nextpage) {\n // Nextpage add-on\n let nextpage_cache_url;\n if (alm.addons.paging) {\n nextpage_cache_url = parseInt(alm.page) + 1;\n } else {\n nextpage_cache_url = parseInt(alm.page) + 2;\n if (alm.isPaged) {\n // If the request a paged URL (/page/3/)\n nextpage_cache_url = parseInt(alm.page) + parseInt(alm.addons.nextpage_startpage) + 1;\n }\n }\n cache_url = alm.addons.cache_path + alm.addons.cache_id + '/page-' + nextpage_cache_url + ext;\n \n } else if (alm.addons.single_post) {\n // Previous Post\n cache_url = alm.addons.cache_path + alm.addons.cache_id + '/' + alm.addons.single_post_id + ext;\n \n } else {\n // Standard URL request\n cache_url = alm.addons.cache_path + alm.addons.cache_id + '/page-' + (alm.page + 1) + ext;\n \n }\n \n return cache_url;\n};\n\nexport default almGetCacheUrl;","/**\n * Wrap `table` containers in tbody elements\n * innerHTML and DOMParser do not work with <tr/> <td/> elements etc.\n *\n * @param {*} html | Plain text\n * @since 5.0\n */\nlet almTableWrap = function( html = null ) {\n if(!html){\n return false;\n }\n\tlet table_reveal = document.createElement('tbody');\n table_reveal.innerHTML = html;\n let table_reveal_array = [table_reveal];\n return table_reveal_array; // Return new array\n};\nexport default almTableWrap;","/**\n * commentReplyFix\n * Hotfix for Reply links not working in WordPress 5.1+\n * \n * @param listing object\n * @since 5.1\n */\nlet commentReplyFix = function( listing = null ) {\n \n // Get all `Reply` links.\n let replyLinks = listing.querySelectorAll('.comment-reply-link'); \n if(!replyLinks){\n return false;\n }\n \n // Loop links\n replyLinks.forEach(function(link){\n \n // Add custom click handler\n link.onclick = function(e) { \n \n e.preventDefault();\n \n let commId = link.dataset.belowelement,\n parentId = link.dataset.commentid,\n respondId = link.dataset.respondelement,\n postId = link.dataset.postid,\n follow;\n \n if ( ! commId || ! parentId || ! respondId || ! postId ) {\n /*\n * Theme or plugin defines own link via custom `wp_list_comments()` callback \n * and calls `moveForm()` either directly or via a custom event hook. \n */ \n return;\n \n }\n \n // Move reply form\n follow = window.addComment.moveForm(commId, parentId, respondId, postId);\n if (false === follow) {\n event.preventDefault(); \n }\n \n };\n \n }); \n \n};\nexport default commentReplyFix;","let getParameterByName = function( name, url ) {\n if (!url) url = window.location.href;\n name = name.replace(/[\\[\\]]/g, \"\\\\$&\");\n var regex = new RegExp(\"[?&]\" + name + \"(=([^&#]*)|&|#|$)\"),\n results = regex.exec(url);\n if (!results) return null;\n if (!results[2]) return '';\n return decodeURIComponent(results[2].replace(/\\+/g, \" \"));\n};\nexport default getParameterByName;","// Prevent native browser scrolling on popstate\n// https://developer.mozilla.org/en-US/docs/Web/API/History#Browser_compatibility\nif ('scrollRestoration' in history) {\n\t//history.scrollRestoration = 'manual';\n}\n\n\n// Object.entries\nif (!Object.entries){\n Object.entries = function( obj ){\n var ownProps = Object.keys( obj ),\n i = ownProps.length,\n resArray = new Array(i); // preallocate the Array\n while (i--)\n resArray[i] = [ownProps[i], obj[ownProps[i]]];\n\n return resArray;\n };\n} \n\n\n// isArray\nif (typeof Array.isArray === 'undefined') {\n Array.isArray = function(obj) {\n return Object.prototype.toString.call(obj) === '[object Array]';\n }\n};\n\n\n// Array.from\nif (!Array.from) {\n Array.from = (function () {\n var toStr = Object.prototype.toString;\n var isCallable = function (fn) {\n return typeof fn === 'function' || toStr.call(fn) === '[object Function]';\n };\n var toInteger = function (value) {\n var number = Number(value);\n if (isNaN(number)) { return 0; }\n if (number === 0 || !isFinite(number)) { return number; }\n return (number > 0 ? 1 : -1) * Math.floor(Math.abs(number));\n };\n var maxSafeInteger = Math.pow(2, 53) - 1;\n var toLength = function (value) {\n var len = toInteger(value);\n return Math.min(Math.max(len, 0), maxSafeInteger);\n };\n\n // The length property of the from method is 1.\n return function from(arrayLike/*, mapFn, thisArg */) {\n // 1. Let C be the this value.\n var C = this;\n\n // 2. Let items be ToObject(arrayLike).\n var items = Object(arrayLike);\n\n // 3. ReturnIfAbrupt(items).\n if (arrayLike == null) {\n throw new TypeError('Array.from requires an array-like object - not null or undefined');\n }\n\n // 4. If mapfn is undefined, then let mapping be false.\n var mapFn = arguments.length > 1 ? arguments[1] : void undefined;\n var T;\n if (typeof mapFn !== 'undefined') {\n // 5. else\n // 5. a If IsCallable(mapfn) is false, throw a TypeError exception.\n if (!isCallable(mapFn)) {\n throw new TypeError('Array.from: when provided, the second argument must be a function');\n }\n\n // 5. b. If thisArg was supplied, let T be thisArg; else let T be undefined.\n if (arguments.length > 2) {\n T = arguments[2];\n }\n }\n\n // 10. Let lenValue be Get(items, \"length\").\n // 11. Let len be ToLength(lenValue).\n var len = toLength(items.length);\n\n // 13. If IsConstructor(C) is true, then\n // 13. a. Let A be the result of calling the [[Construct]] internal method\n // of C with an argument list containing the single item len.\n // 14. a. Else, Let A be ArrayCreate(len).\n var A = isCallable(C) ? Object(new C(len)) : new Array(len);\n\n // 16. Let k be 0.\n var k = 0;\n // 17. Repeat, while k < len… (also steps a - h)\n var kValue;\n while (k < len) {\n kValue = items[k];\n if (mapFn) {\n A[k] = typeof T === 'undefined' ? mapFn(kValue, k) : mapFn.call(T, kValue, k);\n } else {\n A[k] = kValue;\n }\n k += 1;\n }\n // 18. Let putStatus be Put(A, \"length\", len, true).\n A.length = len;\n // 20. Return A.\n return A;\n };\n }());\n}\n\n\n// Nodelist\nif (window.NodeList && !NodeList.prototype.forEach) {\n\tNodeList.prototype.forEach = function (callback, thisArg) {\n\t\t thisArg = thisArg || window;\n\t\t for (var i = 0; i < this.length; i++) {\n\t\t\t callback.call(thisArg, this[i], i, this);\n\t\t }\n\t};\n}\n\n\n// removeChild\n// https://github.com/jserz/js_piece/blob/master/DOM/ChildNode/remove()/remove().md\n(function (arr) {\n\tarr.forEach(function (item) {\n\t if (item.hasOwnProperty('remove')) {\n\t\t return;\n\t }\n\t Object.defineProperty(item, 'remove', {\n\t\t configurable: true,\n\t\t enumerable: true,\n\t\t writable: true,\n\t\t value: function remove() {\n\t\t\tif (this.parentNode !== null)\n\t\t\t this.parentNode.removeChild(this);\n\t\t }\n\t });\n\t});\n})([Element.prototype, CharacterData.prototype, DocumentType.prototype]);\n","/**\n * Add dataset support to elements\n * No globals, no overriding prototype with non-standard methods, \n * handles CamelCase properly, attempts to use standard \n * Object.defineProperty() (and Function bind()) methods, \n * falls back to native implementation when existing\n * Inspired by http://code.eligrey.com/html5/dataset/ \n * (via https://github.com/adalgiso/html5-dataset/blob/master/html5-dataset.js )\n * Depends on Function.bind and Object.defineProperty/Object.getOwnPropertyDescriptor (polyfills below)\n * All code below is Licensed under the X11/MIT License\n*/\nif (!Function.prototype.bind) {\n Function.prototype.bind = function (oThis) {\n 'use strict';\n if (typeof this !== \"function\") {\n // closest thing possible to the ECMAScript 5 internal IsCallable function\n throw new TypeError(\"Function.prototype.bind - what is trying to be bound is not callable\");\n }\n\n var aArgs = Array.prototype.slice.call(arguments, 1),\n fToBind = this,\n FNOP = function () {},\n fBound = function () {\n return fToBind.apply(\n this instanceof FNOP && oThis ? this : oThis,\n aArgs.concat(Array.prototype.slice.call(arguments))\n );\n };\n\n FNOP.prototype = this.prototype;\n fBound.prototype = new FNOP();\n\n return fBound;\n };\n}\n\n/*\n * Xccessors Standard: Cross-browser ECMAScript 5 accessors\n * http://purl.eligrey.com/github/Xccessors\n * \n * 2010-06-21\n * \n * By Eli Grey, http://eligrey.com\n * \n * A shim that partially implements Object.defineProperty,\n * Object.getOwnPropertyDescriptor, and Object.defineProperties in browsers that have\n * legacy __(define|lookup)[GS]etter__ support.\n * \n * Licensed under the X11/MIT License\n * See LICENSE.md\n*/\n\n(function () {\n 'use strict';\n var ObjectProto = Object.prototype,\n defineGetter = ObjectProto.__defineGetter__,\n defineSetter = ObjectProto.__defineSetter__,\n lookupGetter = ObjectProto.__lookupGetter__,\n lookupSetter = ObjectProto.__lookupSetter__,\n hasOwnProp = ObjectProto.hasOwnProperty;\n \n if (defineGetter && defineSetter && lookupGetter && lookupSetter) {\n\n if (!Object.defineProperty) {\n Object.defineProperty = function (obj, prop, descriptor) {\n if (arguments.length < 3) { // all arguments required\n throw new TypeError(\"Arguments not optional\");\n }\n \n prop += \"\"; // convert prop to string\n\n if (hasOwnProp.call(descriptor, \"value\")) {\n if (!lookupGetter.call(obj, prop) && !lookupSetter.call(obj, prop)) {\n // data property defined and no pre-existing accessors\n obj[prop] = descriptor.value;\n }\n\n if ((hasOwnProp.call(descriptor, \"get\") ||\n hasOwnProp.call(descriptor, \"set\"))) \n {\n // descriptor has a value prop but accessor already exists\n throw new TypeError(\"Cannot specify an accessor and a value\");\n }\n }\n\n // can't switch off these features in ECMAScript 3\n // so throw a TypeError if any are false\n if (!(descriptor.writable && descriptor.enumerable && \n descriptor.configurable))\n {\n throw new TypeError(\n \"This implementation of Object.defineProperty does not support\" +\n \" false for configurable, enumerable, or writable.\"\n );\n }\n \n if (descriptor.get) {\n defineGetter.call(obj, prop, descriptor.get);\n }\n if (descriptor.set) {\n defineSetter.call(obj, prop, descriptor.set);\n }\n \n return obj;\n };\n }\n\n if (!Object.getOwnPropertyDescriptor) {\n Object.getOwnPropertyDescriptor = function (obj, prop) {\n if (arguments.length < 2) { // all arguments required\n throw new TypeError(\"Arguments not optional.\");\n }\n \n prop += \"\"; // convert prop to string\n\n var descriptor = {\n configurable: true,\n enumerable : true,\n writable : true\n },\n getter = lookupGetter.call(obj, prop),\n setter = lookupSetter.call(obj, prop);\n\n if (!hasOwnProp.call(obj, prop)) {\n // property doesn't exist or is inherited\n return descriptor;\n }\n if (!getter && !setter) { // not an accessor so return prop\n descriptor.value = obj[prop];\n return descriptor;\n }\n\n // there is an accessor, remove descriptor.writable;\n // populate descriptor.get and descriptor.set (IE's behavior)\n delete descriptor.writable;\n descriptor.get = descriptor.set = undefined;\n \n if (getter) {\n descriptor.get = getter;\n }\n if (setter) {\n descriptor.set = setter;\n }\n \n return descriptor;\n };\n }\n\n if (!Object.defineProperties) {\n Object.defineProperties = function (obj, props) {\n var prop;\n for (prop in props) {\n if (hasOwnProp.call(props, prop)) {\n Object.defineProperty(obj, prop, props[prop]);\n }\n }\n };\n }\n }\n}());\n\n// Begin dataset code\n\nif (!document.documentElement.dataset && \n // FF is empty while IE gives empty object\n (!Object.getOwnPropertyDescriptor(Element.prototype, 'dataset') ||\n !Object.getOwnPropertyDescriptor(Element.prototype, 'dataset').get)\n ) {\n var propDescriptor = {\n enumerable: true,\n get: function () {\n 'use strict';\n var i, \n that = this,\n HTML5_DOMStringMap, \n attrVal, attrName, propName,\n attribute,\n attributes = this.attributes,\n attsLength = attributes.length,\n toUpperCase = function (n0) {\n return n0.charAt(1).toUpperCase();\n },\n getter = function () {\n return this;\n },\n setter = function (attrName, value) {\n return (typeof value !== 'undefined') ? \n this.setAttribute(attrName, value) : \n this.removeAttribute(attrName);\n };\n try { // Simulate DOMStringMap w/accessor support\n // Test setting accessor on normal object\n ({}).__defineGetter__('test', function () {});\n HTML5_DOMStringMap = {};\n }\n catch (e1) { // Use a DOM object for IE8\n HTML5_DOMStringMap = document.createElement('div');\n }\n for (i = 0; i < attsLength; i++) {\n attribute = attributes[i];\n // Fix: This test really should allow any XML Name without \n // colons (and non-uppercase for XHTML)\n if (attribute && attribute.name && \n (/^data-\\w[\\w\\-]*$/).test(attribute.name)) {\n attrVal = attribute.value;\n attrName = attribute.name;\n // Change to CamelCase\n propName = attrName.substr(5).replace(/-./g, toUpperCase);\n try {\n Object.defineProperty(HTML5_DOMStringMap, propName, {\n enumerable: this.enumerable,\n get: getter.bind(attrVal || ''),\n set: setter.bind(that, attrName)\n });\n }\n catch (e2) { // if accessors are not working\n HTML5_DOMStringMap[propName] = attrVal;\n }\n }\n }\n return HTML5_DOMStringMap;\n }\n };\n try {\n // FF enumerates over element's dataset, but not \n // Element.prototype.dataset; IE9 iterates over both\n Object.defineProperty(Element.prototype, 'dataset', propDescriptor);\n } catch (e) {\n propDescriptor.enumerable = false; // IE8 does not allow setting to true\n Object.defineProperty(Element.prototype, 'dataset', propDescriptor);\n }\n}","/**\n * almGetAjaxParams\n * Build the data object to send with the Ajax request\n * \n * @param alm object\n * @param action string\n * @param queryType string \n * @since 3.6\n */\n\nexport function almGetAjaxParams(alm, action, queryType){\n\t\n\t// Defaults\n\tlet data = {\n id\t\t\t\t\t\t\t: alm.id,\n post_id\t\t\t\t\t: alm.post_id,\n slug : alm.slug,\n canonical_url : encodeURIComponent(alm.canonical_url),\n posts_per_page : alm.posts_per_page,\n page \t\t: alm.page,\n offset : alm.offset,\n post_type\t\t\t\t: alm.post_type,\n repeater\t\t\t\t\t: alm.repeater,\n seo_start_page \t: alm.start_page\n }; \n \n \n // Addons & Extensions\n if(alm.theme_repeater){\n data.theme_repeater = alm.theme_repeater;\n } \n if(alm.addons.paging){\n data.paging = alm.addons.paging;\n } \n if(alm.addons.preloaded){\n data.preloaded = alm.addons.preloaded;\n data.preloaded_amount = alm.addons.preloaded_amount;\n }\n if(alm.addons.cache === 'true'){\n data.cache_id = alm.addons.cache_id;\n data.cache_logged_in = alm.addons.cache_logged_in;\n }\t \n if(alm.acf_array){\n data.acf = alm.acf_array;\n } \n if(alm.cta_array){\n data.cta = alm.cta_array;\n } \n if(alm.comments_array){\n data.comments = alm.comments_array;\n } \n if(alm.nextpage_array){\n data.nextpage = alm.nextpage_array;\n } \n if(alm.single_post_array){\n data.single_post = alm.single_post_array;\n }\n if(alm.users_array){\n data.users = alm.users_array;\n }\n \n \n // Query data \n if(alm.listing.dataset.lang){\n data.lang = alm.listing.dataset.lang;\n }\n if(alm.listing.dataset.stickyPosts){\n data.sticky_posts = alm.listing.dataset.stickyPosts;\n }\n if(alm.listing.dataset.postFormat){\n data.post_format = alm.listing.dataset.postFormat;\n }\n if(alm.listing.dataset.category){\n data.category = alm.listing.dataset.category;\n }\n if(alm.listing.dataset.categoryAnd){\n data.category__and = alm.listing.dataset.categoryAnd;\n }\n if(alm.listing.dataset.categoryNotIn){\n data.category__not_in = alm.listing.dataset.categoryNotIn;\n }\n if(alm.listing.dataset.tag){\n data.tag = alm.listing.dataset.tag;\n }\n if(alm.listing.dataset.tagAnd){\n data.tag__and = alm.listing.dataset.tagAnd;\n }\n if(alm.listing.dataset.tagNotIn){\n data.tag__not_in = alm.listing.dataset.tagNotIn;\n }\n if(alm.listing.dataset.taxonomy){\n data.taxonomy = alm.listing.dataset.taxonomy;\n }\n if(alm.listing.dataset.taxonomyTerms){\n data.taxonomy_terms = alm.listing.dataset.taxonomyTerms;\n }\n if(alm.listing.dataset.taxonomyOperator){\n data.taxonomy_operator = alm.listing.dataset.taxonomyOperator;\n }\n if(alm.listing.dataset.taxonomyRelation){\n data.taxonomy_relation = alm.listing.dataset.taxonomyRelation;\n }\n if(alm.listing.dataset.metaKey){\n data.meta_key = alm.listing.dataset.metaKey;\n }\n if(alm.listing.dataset.metaValue){\n data.meta_value = alm.listing.dataset.metaValue;\n }\n if(alm.listing.dataset.metaCompare){\n data.meta_compare = alm.listing.dataset.metaCompare;\n }\n if(alm.listing.dataset.metaRelation){\n data.meta_relation = alm.listing.dataset.metaRelation;\n }\n if(alm.listing.dataset.metaType){\n data.meta_type = alm.listing.dataset.metaType;\n }\n if(alm.listing.dataset.author){\n data.author = alm.listing.dataset.author;\n }\n if(alm.listing.dataset.year){\n data.year = alm.listing.dataset.year;\n }\n if(alm.listing.dataset.month){\n data.month = alm.listing.dataset.month;\n }\n if(alm.listing.dataset.day){\n data.day = alm.listing.dataset.day;\n }\n if(alm.listing.dataset.order){\n data.order = alm.listing.dataset.order;\n }\n if(alm.listing.dataset.orderby){\n data.orderby = alm.listing.dataset.orderby;\n }\n if(alm.listing.dataset.postStatus){\n data.post_status = alm.listing.dataset.postStatus;\n }\n if(alm.listing.dataset.postIn){\n data.post__in = alm.listing.dataset.postIn;\n }\n if(alm.listing.dataset.postNotIn){\n data.post__not_in = alm.listing.dataset.postNotIn;\n }\n if(alm.listing.dataset.exclude){\n data.exclude = alm.listing.dataset.exclude;\n }\n if(alm.listing.dataset.search){\n data.search = alm.listing.dataset.search;\n }\n if(alm.listing.dataset.s){\n data.search = alm.listing.dataset.s;\n }\n if(alm.listing.dataset.customArgs){\n data.custom_args = alm.listing.dataset.customArgs;\n }\n \n data.action = action;\n data.query_type = queryType;\n \n return data;\n \n}\n\n\n\n/**\n * almGetRestParams\n * Build the REST API data object to send with REST API request\n * \n * @param alm object\n * @since 3.6\n */\nexport function almGetRestParams(alm){\n\tlet data = {\n\t\tid\t\t\t\t\t\t: alm.id,\n\t post_id\t\t\t\t: alm.post_id,\n\t posts_per_page : alm.posts_per_page,\n\t page : alm.page,\n\t offset : alm.offset,\n\t slug : alm.slug,\n\t canonical_url : encodeURIComponent(alm.canonical_url),\n\t post_type : alm.post_type,\n\t post_format : alm.listing.dataset.postFormat,\n\t category : alm.listing.dataset.category,\n\t category__not_in : alm.listing.dataset.categoryNotIn,\n\t tag : alm.listing.dataset.tag,\n\t tag__not_in : alm.listing.dataset.tagNotIn,\n\t taxonomy : alm.listing.dataset.taxonomy,\n\t taxonomy_terms : alm.listing.dataset.taxonomyTerms,\n\t taxonomy_operator : alm.listing.dataset.taxonomyOperator,\n\t taxonomy_relation : alm.listing.dataset.taxonomyRelation,\n\t meta_key : alm.listing.dataset.metaKey,\n\t meta_value : alm.listing.dataset.metaValue,\n\t meta_compare : alm.listing.dataset.metaCompare,\n\t meta_relation : alm.listing.dataset.metaRelation,\n\t meta_type : alm.listing.dataset.metaType,\n\t author : alm.listing.dataset.author,\n\t year : alm.listing.dataset.year,\n\t month : alm.listing.dataset.month,\n\t day : alm.listing.dataset.day,\n\t post_status : alm.listing.dataset.postStatus,\n\t order : alm.listing.dataset.order,\n\t orderby : alm.listing.dataset.orderby,\n\t post__in : alm.listing.dataset.postIn,\n\t post__not_in : alm.listing.dataset.postNotIn,\n\t search : alm.listing.dataset.search,\n\t s \t\t: alm.listing.dataset.s,\n\t custom_args : alm.listing.dataset.customArgs,\n\t lang : alm.lang,\n\t preloaded : alm.addons.preloaded,\n\t preloaded_amount : alm.addons.preloaded_amount,\n\t seo_start_page : alm.start_page\n };\n \n return data;\n}","/**\n * srcsetPolyfill\n * A Safari srcset polyfill to get Masonry and ImagesLoaded working\n *\n * @param {*} container Element\n * @param {*} ua String\n * @since 5.0.2\n */\nlet srcsetPolyfill = (container = null, ua = '') => {\n\t\n\t// Exit if no container\n\tif( !container ){ \n\t\treturn false;\n\t}\n\t\n\t// Exit if useragent is Chrome, Safari or Windows\n\tif( (ua.indexOf('Safari') > -1 && ua.indexOf('Chrome') != -1) || (ua.indexOf('Firefox') > -1) || (ua.indexOf('Windows') > -1) ){\n\t\treturn false;\n\t}\n\t\n\t// Get the images\n\tlet imgs = container.querySelectorAll('img[srcset]:not(.alm-loaded)');\n\t\n\t// Loop images\n\tfor ( var i=0; i < imgs.length; i++ ) {\n\t\tlet img = imgs[i];\n\t\timg.classList.add('alm-loaded');\n\t\timg.outerHTML = img.outerHTML;\n\t}\n}\nexport default srcsetPolyfill;","/**\n * Remove empty HTML nodes from array of nodes\n * Remove all empty text nodes from SEO and Filters return\n *\n * @param {*} nodes | Array of HTML nodes\n * @return array\n * @since 5.1.3\n */\nlet stripEmptyNodes = function( nodes = '' ) {\n\tif(!nodes){\n \treturn false;\n\t}\t\n\t\n\t// Exclude these nodeNames from being rendered\n\tlet nodeNameArray = ['#text', '#comment'];\n\t\n\t// Filter data by nodeName \n\tlet results = nodes.filter(node => (nodeNameArray.indexOf(node.nodeName.toLowerCase()) === -1) );\n \n // Send the results\n return results; \n \n};\nexport default stripEmptyNodes;\n","/**\n * Fade element in\n * @param {*} element\n * @param {*} speed\n */ \nlet almFadeIn = (element, speed) => {\n\tif(speed == 0){\n\t\telement.style.opacity = 1;\n\t\telement.style.height = 'auto';\n\t\t\n\t} else {\n\t\tspeed = speed/10;\n\t\tlet op = 0; // initial opacity\n\t\tlet timer = setInterval(function () { \n\t\t\tif (op > 0.9){\n\t\t\t\telement.style.opacity = 1;\n\t\t\t\tclearInterval(timer);\n\t\t\t}\n\t\t\telement.style.opacity = op;\n\t\t\top += 0.1;\n\t\t}, speed);\n\t\telement.style.height = 'auto';\n\t}\n}\nexport default almFadeIn; ","/**\n * Fade element out\n * @param {*} element\n * @param {*} speed\n */ \nlet almFadeOut = (element, speed) => {\n\tspeed = speed/10;\n\telement.style.opacity = 0.5;\n\tlet fadeEffect = setInterval(function () {\n\t\tif (element.style.opacity < 0.1) {\n\t\t\tclearInterval(fadeEffect);\n\t\t} else {\n\t\t\telement.style.opacity -= 0.1;\n\t\t}\n\t}, speed);\n}\nexport default almFadeOut; ","import almFadeIn from './fadeIn';\nimport almFadeOut from './fadeOut';\n\n/**\n * almFilter(type, speed, data)\n * Filter Ajax Load More\n *\n * @param transition string;\n * @param speed number;\n * @param data obj;\n * @since 2.6.1\n */\n \nlet almFilter = function(transition, speed, data) {\n if(data.target){ // if a target has been specified\n\t let target = document.querySelectorAll('.ajax-load-more-wrap[data-id=\"'+ data.target + '\"]');\n\t\ttarget.forEach(function(element){\n\t\t\talmFilterTransition(transition, speed, data, element);\t \n\t\t});\n } else { // Target not specified\n\t let alm = document.querySelectorAll('.ajax-load-more-wrap');\n alm.forEach(function(element){\n\t\t\talmFilterTransition(transition, speed, data, element);\t \n\t\t});\n }\n}; \nexport default almFilter;\n\n\n\n/**\n * almFilterTransition(transition, speed, data, el)\n * Transition Ajax Load More\n *\n * @param transition string;\n * @param speed number;\n * @param data obj;\n * @param el element;\n * @since 2.13.1\n */\nlet almFilterTransition = function(transition, speed, data, el){ \n \n if(transition === 'fade' || transition === 'masonry'){ \n\t // Fade, Masonry transition\n almFadeOut(el, speed);\n setTimeout(function(){\n el.classList.add('alm-is-filtering');\n\t almCompleteFilterTransition(speed, data, el);\n\t }, speed);\n\t \n }else{ \n\t // No transition\n\t el.classList.add('alm-is-filtering');\n almCompleteFilterTransition(speed, data, el);\n }\n \n}; \n\n\n\n/** \n * almCompleteFilterTransition\n * Complete the filter transition\n * \n * @param speed number;\n * @param data obj;\n * @param el element;\n * @since 3.3\n */\nlet almCompleteFilterTransition = (speed, data, el) => {\t\n\t\n\t// Get `.alm-btn-wrap` element\n\tlet btnWrap = el.querySelector('.alm-btn-wrap');\n\t\n\t// Get `.alm-listing` element\n\tlet listing = el.querySelectorAll('.alm-listing');\n\t\n\t// Loop over all .alm-listing divs\n\t[...listing].forEach(function(e){\n\t\te.innerHTML = ''; // Clear listings\n\t});\n\t \n\t// Get Load More button\n\tlet button = btnWrap.querySelector('.alm-load-more-btn');\n\tif(button){\n\t\tbutton.classList.remove('done');// Reset Button \n\t}\n\t\n\t// Clear paging navigation\n let paging = btnWrap.querySelector('.alm-paging');\n if(paging){\n paging.style.opacity = 0;\n }\n\t\n\t// Dispatch Filters\n\talmSetFilters(speed, data, el);\n\t\n}\n\n \n\n/**\n * almSetFilters\n * Set filter parameters on .alm-listing element\n *\n * @param speed number;\n * @param el element;\n * @param data string;\n * @updated 3.3\n * @since 2.6.1\n */\nlet almSetFilters = function(speed = 250, data, el){\n \n // Get `alm-listing` container\n let listing = el.querySelector('.alm-listing') || el.querySelector('.alm-comments'); \n if(!listing){\n\t return false;\n }\n \n // Update data attributes\n\tfor (let [key, value] of Object.entries(data)) {\n\t\t// Convert camelCase data atts back to dashes (-).\n key = key.replace(/\\W+/g, '-').replace(/([a-z\\d])([A-Z])/g, '$1-$2').toLowerCase(); \n\t\tlisting.setAttribute('data-'+ key, value);\n\t}\n\t\n\t\n // Fade ALM back in\n almFadeIn(el, speed); \n \n\t\n\t// Re-initiate Ajax Load More\n\tlet target = ''; \n if(data.target){\n // Target has been specified\n target = document.querySelector('.ajax-load-more-wrap[data-id=\"'+ data.target + '\"]');\n if(target){\n\t window.almInit(target);\n }\n \n } else {\n // Target not specified\n target = document.querySelector('.ajax-load-more-wrap');\n if(target){\n\t window.almInit(target);\n } \n \n }\n \n // Filters Complete \n if (typeof almFilterComplete === 'function') { // Standard Filtering\n almFilterComplete();\n }\n if (typeof almFiltersAddonComplete === \"function\") { // Filters Add-on\n almFiltersAddonComplete(el);\n }\n // End Filters Complete\n \n};\n","import almDomParser from '../helpers/almDomParser';\n\n/**\n * insertScript\n * Search nodes for <script/> tags and run scripts.\n * Scripts cannot run with appendChild or innerHTML so this is necessary to function.\n * \n * @since 5.0\n */ \nlet insertScript = {\n\t\n\tinit: function(node){\n\t\tif ( this.isScript(node) === true ) {\n\t\t\tnode.parentNode.replaceChild( this.clone(node) , node );\n\t\t}\n\t\telse {\n\t\t\tlet i = 0;\n\t\t\tlet children = node.childNodes;\n\t\t\t\n\t\t\tif(children === undefined){\n let parser = new DOMParser(); \n let data = parser.parseFromString(node, 'text/html');\n if(data){\n children = data.body.childNodes;\n }\n }\n\t\t\twhile ( i < children.length ) {\n\t\t\t\tthis.replace( children[i++] );\n\t\t\t}\n\t\t}\t\t\t\n\t\treturn node;\n\t},\n\t\n\treplace: function(node) {\n\t\tif ( this.isScript(node) === true ) {\n\t\t\tnode.parentNode.replaceChild( this.clone(node) , node );\n\t\t}\n\t\telse {\n\t\t\tlet i = 0;\n\t\t\tlet children = node.childNodes;\n\t\t\twhile (i < children.length) {\n\t\t\t\tthis.replace( children[i++] );\n\t\t\t}\n\t\t}\t\n\t return node;\n\t},\n\t\n\tisScript: function(node){\n\t\treturn node.tagName === 'SCRIPT';\n\t},\n\t\n\tclone: function(node){\n\t\tlet script = document.createElement(\"script\");\n\t\tscript.text = node.innerHTML;\n\t\tfor( let i = node.attributes.length-1; i >= 0; i-- ) {\n\t\t\tscript.setAttribute( node.attributes[i].name, node.attributes[i].value );\n\t\t}\n\t\treturn script;\n\t}\n\t\n}\nexport default insertScript; \n","import almFadeIn from './fadeIn';\nimport almAppendChildren from '../helpers/almAppendChildren';\nimport almDomParser from '../helpers/almDomParser';\nimport srcsetPolyfill from '../helpers/srcsetPolyfill';\nlet imagesLoaded = require('imagesloaded');\n\n/**\n * almMasonry\n * Function to trigger built-in Ajax Load More Masonry\n * \n * @param {object} alm\n * @param {boolean} init\n * @param {boolean} filtering \n * @since 3.1\n * @updated 5.0.2\n*/\n\nlet msnry = '';\nlet almMasonry = (alm, init, filtering) => {\t\n\t\n\tlet container = alm.listing;\n\tlet html = alm.html;\n\t\n\tlet selector = alm.masonry_selector;\n\tlet columnWidth = alm.masonry_columnwidth;\n\tlet animation = alm.masonry_animation;\n\tlet horizontalOrder = alm.masonry_horizontalorder;\n\tlet speed = alm.speed;\t\n\tlet masonry_init = alm.masonry_init;\n \n let duration = (speed+100)/1000 +'s'; // Add 100 for some delay\n let hidden = 'scale(0.5)';\n let visible = 'scale(1)';\n \n if(animation === 'zoom-out'){\n hidden = 'translateY(-20px) scale(1.25)'; \n visible = 'translateY(0) scale(1)';\n }\n \n if(animation === 'slide-up'){\n hidden = 'translateY(50px)';\n visible = 'translateY(0)';\n } \n \n if(animation === 'slide-down'){\n hidden = 'translateY(-50px)';\n visible = 'translateY(0)';\n } \n \n if(animation === 'none'){\n hidden = 'translateY(0)'; \n visible = 'translateY(0)';\n }\n \n // columnWidth\n if(columnWidth){\n\t if(!isNaN(columnWidth)){// Check if number\n\t\t columnWidth = parseInt(columnWidth);\n\t\t}\n } else { // No columnWidth, use the selector\n\t columnWidth = selector;\n }\n \n // horizontalOrder\n horizontalOrder = (horizontalOrder === 'true') ? true : false;\n \n\tif(!filtering){\n \t\n\t\t// First Run\n\t\tif(masonry_init && init){\t\t\t\n\t\t\t\n\t\t\tsrcsetPolyfill(container, alm.ua); // Run srcSet polyfill\t\t\t\n\t\t\t\n\t\t\timagesLoaded( container, function() {\n\t\t\t\t\n\t\t\t\tlet defaults = {\n\t\t\t\t\titemSelector: selector,\n\t\t\t\t\ttransitionDuration: duration,\n\t\t\t\t\tcolumnWidth: columnWidth,\n\t\t\t\t\thorizontalOrder: horizontalOrder,\n hiddenStyle: {\n transform: hidden,\n opacity: 0\n },\n visibleStyle: {\n transform: visible,\n opacity: 1\n } \n }\n \n // Get custom Masonry options (https://masonry.desandro.com/options.html)\n let alm_masonry_vars = window.alm_masonry_vars;\n if(alm_masonry_vars){ \n\t\t Object.keys(alm_masonry_vars).forEach(function(key) {\t// Loop object\tto create key:prop\t\t\t\n\t\t\t\t\t\tdefaults[key] = alm_masonry_vars[key];\t\t\t\t\t\n\t\t\t\t\t});\n\t\t\t\t}\t\t\t\t\n \n // Init Masonry, delay to allow time for items to be added to the page\n setTimeout(function(){\n \tmsnry = new Masonry( container, defaults );\n \t// Fade In\n\t\t\t\t\talmFadeIn(container.parentNode, speed); \n }, 100 );\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t});\n\t\t}\n\t\t\n\t\t// Standard / Append content\n\t\telse{\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t// Loop all items and create array of node elements\n\t\t\tlet data = almDomParser(html, 'text/html');\n\t\t\t\n\t\t\tif(data){ \t\n\t\t\t\t\n \t\t\t// Append elements listing\n \t\t\talmAppendChildren(alm.listing, data, 'masonry');\n \t\t\t\n \t\t\t// Run srcSet polyfill\n \t\t\tsrcsetPolyfill(container, alm.ua);\n \t\t\t\n \t\t\t// Confirm imagesLoaded & append\n \t\t\timagesLoaded( container, function() {\n\t\t\t\t\tmsnry.appended( data );\t\t\t\t\n\t\t\t\t});\n\t\t\t\t\n\t\t\t}\n\t\t}\n\n\t} else{\n \t\n\t\t// Reset\n\t\tmsnry.destroy(); // destroy masonry\n\t\tcontainer.parentNode.style.opacity = 0;\n\t\talmMasonry(alm, true, false);\n\t\t\n\t}\n\n};\n\nexport default almMasonry;\n\n\n\n","/** \n * Set the results text if required.\n * \n * @param {*} target The target HTML element\n * @param {*} html The HTML\n * @since 5.1\n */\nlet almNoResults = (target, html = '') => {\n\tif(html === ''){ \n\t\treturn false; // exit if empty\t\n\t}\n\t\n\t// Remove empty <p/> tags\n\thtml = html.replace(/(<p><\\/p>)+/g, '');\n\t\n\t// Append to DOM\n\ttarget.innerHTML = html; \n}\n\nexport default almNoResults;","/** \n * Set the results text if required.\n * \n * @param {object} alm Global alm object\n * @param {string} type Type of results\n * @since 5.1\n */\nexport function almResultsText(alm, type = 'standard'){\n\tif(!alm.resultsText) return false;\t\n\tlet resultsType = (type === 'nextpage') ? 'nextpage' : 'standard';\n\t\n almGetResultsText(alm, resultsType); \n}\n\n\n\n/** \n * Get values for showing results text.\n * \n * @param {Object} alm\n * @param {String} type\n * @since 4.1\n */\nexport function almGetResultsText( alm, type = 'standard' ){\n \n\t\n\tif(!alm.resultsText) return false;\n\t\n\tlet current = 0;\n\tlet total = 0;\n\tlet preloaded = (alm.addons.preloaded === 'true') ? true : false;\n\tlet paging = (alm.addons.paging) ? true : false;\n\tlet posts_per_page = alm.orginal_posts_per_page;\n\t\n\tswitch (type) {\n \t\n \t// Nextpage\n \tcase 'nextpage' :\n\t\n current = parseInt(alm.localize.page);\n total = parseInt(alm.localize.total_posts);\n almRenderResultsText(alm.resultsText, current, total);\n \t\n \tbreak;\n \n \tdefault :\n \t\t\n \t\tcurrent = parseInt(alm.page) + 1; \t\t\n \t\ttotal = Math.ceil(alm.localize.total_posts / posts_per_page);\n \t\t\n \t\t// Add 1 page if Preloaded\n \t\tif(preloaded){\n\t \t\tcurrent = (paging) ? alm.page + 1 : current + 1;\n \t\t}\n \t\t\n almRenderResultsText(alm.resultsText, current, total);\n \t\n }\n}\n\n\n\n/** \n * Display `Showing {x} of {y} pages` text.\n *\n * @param {Object} alm\n * @param {String} type\n * @since 4.1\n */\nexport function almInitResultsText( alm, type = 'standard'){\n \n\tif(!alm.resultsText) return false;\n\t\n\tlet current = 0;\n\tlet total = Math.ceil(alm.localize.total_posts / alm.orginal_posts_per_page);\n\t\n\tswitch (type) {\n \t\n \t// Nextpage\n \tcase 'nextpage' : \t\n \t\n almRenderResultsText(alm.resultsText, alm.addons.nextpage_startpage, alm.localize.total_posts);\n \t\n break;\n \t\n \t// Preloaded\n \tcase 'preloaded' : \n \t \n current = (alm.addons.paging && alm.addons.seo) ? parseInt(alm.start_page) + 1 : parseInt(alm.page) + 1; \n almRenderResultsText(alm.resultsText, current, total);\n \t\n \tbreak;\n \t\n \tdefault :\n \t\n \t console.log('Nothing to set.');\n \t \n\t}\n\t\n}\n\n\n/** \n * Render `Showing {x} of {y} results` text.\n * \n * @param {Element} el\n * @param {String} current\n * @param {String} total\n * @since 4.1\n */\nlet almRenderResultsText = function(el, current, total){\n \n total = parseInt(total);\n let text = (total > 0) ? alm_localize.results_text : alm_localize.no_results_text;\n \n if(total > 0){\n text = text.replace('{num}', `<span class=\"alm-results-current\">${current}</span>`);\n text = text.replace('{total}', `<span class=\"alm-results-total\">${total}</span>`);\n el.innerHTML = text; \n } else {\n el.innerHTML = text; \n }\n}\n","/**\n * setFocus\n * Set user focus to improve accessibility after load events\n * \n * @param {Boolean} init\n * @param {String} preloaded\n * @param {HTMLElement} element\n * @since 5.1\n */ \nlet setFocus = (init = true, preloaded = 'false', element) => {\n\t\n\tif( (init || !element) && preloaded !== 'true' ){\n return false; // Exit if first run\n }\n\n // Check if element is an array.\n // If `transition_container=\"false\"`, `element` will be an array.\n /*\n let is_array = Array.isArray(element);\n element = (is_array) ? element[0] : element;\n */ \n \n // Set tabIndex on `.alm-reveal`\n\telement.setAttribute('tabIndex', '-1');\n \n // Get Parent container\n let parent = element.parentNode;\t\n \n // Scroll Container\n\tlet scrollContainer = parent.dataset.scrollContainer;\n\t\n\t// If scroll container, move it, not the window.\t\n\tif(scrollContainer){\t\t\t\t\n\t\tlet container = document.querySelector(scrollContainer);\n\t\tif(container){\n\t\t\tlet left = container.scrollLeft;\n\t\t\tlet top = container.scrollTop;\n\t\t\telement.focus();\n\t\t\tcontainer.scrollLeft = left;\n\t\t\tcontainer.scrollTop = top;\t\t\t\n\t\t}\t\t\n\t} \n\t\n\t// Move window\n\telse { \n\t\tlet x = window.scrollX;\n\t\tlet y = window.scrollY;\n\t\telement.focus();\n\t\twindow.scrollTo(x, y);\n\t}\n\t\n}\nexport default setFocus; \n","import * as resultsText from './resultsText';\n\n/** \n * Set localized variables\n *\n * @param {object} alm Global alm object\n * @since 4.1 \n */\n \nlet setLocalizedVars = function(alm){ \n \n let type = 'standard'; \n\n\t// Current Page `page`\n\tif(alm.addons.nextpage){\n \ttype = 'nextpage';\n \tif(alm.addons.paging){\n alm.AjaxLoadMore.setLocalizedVar('page', parseInt(alm.page) + 1); \t\n \t} else {\n alm.AjaxLoadMore.setLocalizedVar('page', parseInt(alm.page) + parseInt(alm.addons.nextpage_startpage) + 1);\n \t}\n } else {\n alm.AjaxLoadMore.setLocalizedVar('page', parseInt(alm.page) + 1);\n }\n \n // Total Posts `total_posts`.\n // Only update if !Preloaded && !Nextpage\n if(alm.addons.preloaded !== 'true' && !alm.addons.nextpage){\n \talm.AjaxLoadMore.setLocalizedVar('total_posts', alm.totalposts);\n } \n \n\t// Set Results Text (if required)\n resultsText.almResultsText(alm, type); \n \n}\n\nexport default setLocalizedVars;","\"use strict\";\n\nrequire(\"core-js/es6\");\n\nrequire(\"core-js/fn/array/includes\");\n\nrequire(\"core-js/fn/string/pad-start\");\n\nrequire(\"core-js/fn/string/pad-end\");\n\nrequire(\"core-js/fn/symbol/async-iterator\");\n\nrequire(\"core-js/fn/object/get-own-property-descriptors\");\n\nrequire(\"core-js/fn/object/values\");\n\nrequire(\"core-js/fn/object/entries\");\n\nrequire(\"core-js/fn/promise/finally\");\n\nrequire(\"core-js/web\");\n\nrequire(\"regenerator-runtime/runtime\");","require(\"./lib/noConflict\");\n","require('../modules/es6.symbol');\nrequire('../modules/es6.object.create');\nrequire('../modules/es6.object.define-property');\nrequire('../modules/es6.object.define-properties');\nrequire('../modules/es6.object.get-own-property-descriptor');\nrequire('../modules/es6.object.get-prototype-of');\nrequire('../modules/es6.object.keys');\nrequire('../modules/es6.object.get-own-property-names');\nrequire('../modules/es6.object.freeze');\nrequire('../modules/es6.object.seal');\nrequire('../modules/es6.object.prevent-extensions');\nrequire('../modules/es6.object.is-frozen');\nrequire('../modules/es6.object.is-sealed');\nrequire('../modules/es6.object.is-extensible');\nrequire('../modules/es6.object.assign');\nrequire('../modules/es6.object.is');\nrequire('../modules/es6.object.set-prototype-of');\nrequire('../modules/es6.object.to-string');\nrequire('../modules/es6.function.bind');\nrequire('../modules/es6.function.name');\nrequire('../modules/es6.function.has-instance');\nrequire('../modules/es6.parse-int');\nrequire('../modules/es6.parse-float');\nrequire('../modules/es6.number.constructor');\nrequire('../modules/es6.number.to-fixed');\nrequire('../modules/es6.number.to-precision');\nrequire('../modules/es6.number.epsilon');\nrequire('../modules/es6.number.is-finite');\nrequire('../modules/es6.number.is-integer');\nrequire('../modules/es6.number.is-nan');\nrequire('../modules/es6.number.is-safe-integer');\nrequire('../modules/es6.number.max-safe-integer');\nrequire('../modules/es6.number.min-safe-integer');\nrequire('../modules/es6.number.parse-float');\nrequire('../modules/es6.number.parse-int');\nrequire('../modules/es6.math.acosh');\nrequire('../modules/es6.math.asinh');\nrequire('../modules/es6.math.atanh');\nrequire('../modules/es6.math.cbrt');\nrequire('../modules/es6.math.clz32');\nrequire('../modules/es6.math.cosh');\nrequire('../modules/es6.math.expm1');\nrequire('../modules/es6.math.fround');\nrequire('../modules/es6.math.hypot');\nrequire('../modules/es6.math.imul');\nrequire('../modules/es6.math.log10');\nrequire('../modules/es6.math.log1p');\nrequire('../modules/es6.math.log2');\nrequire('../modules/es6.math.sign');\nrequire('../modules/es6.math.sinh');\nrequire('../modules/es6.math.tanh');\nrequire('../modules/es6.math.trunc');\nrequire('../modules/es6.string.from-code-point');\nrequire('../modules/es6.string.raw');\nrequire('../modules/es6.string.trim');\nrequire('../modules/es6.string.iterator');\nrequire('../modules/es6.string.code-point-at');\nrequire('../modules/es6.string.ends-with');\nrequire('../modules/es6.string.includes');\nrequire('../modules/es6.string.repeat');\nrequire('../modules/es6.string.starts-with');\nrequire('../modules/es6.string.anchor');\nrequire('../modules/es6.string.big');\nrequire('../modules/es6.string.blink');\nrequire('../modules/es6.string.bold');\nrequire('../modules/es6.string.fixed');\nrequire('../modules/es6.string.fontcolor');\nrequire('../modules/es6.string.fontsize');\nrequire('../modules/es6.string.italics');\nrequire('../modules/es6.string.link');\nrequire('../modules/es6.string.small');\nrequire('../modules/es6.string.strike');\nrequire('../modules/es6.string.sub');\nrequire('../modules/es6.string.sup');\nrequire('../modules/es6.date.now');\nrequire('../modules/es6.date.to-json');\nrequire('../modules/es6.date.to-iso-string');\nrequire('../modules/es6.date.to-string');\nrequire('../modules/es6.date.to-primitive');\nrequire('../modules/es6.array.is-array');\nrequire('../modules/es6.array.from');\nrequire('../modules/es6.array.of');\nrequire('../modules/es6.array.join');\nrequire('../modules/es6.array.slice');\nrequire('../modules/es6.array.sort');\nrequire('../modules/es6.array.for-each');\nrequire('../modules/es6.array.map');\nrequire('../modules/es6.array.filter');\nrequire('../modules/es6.array.some');\nrequire('../modules/es6.array.every');\nrequire('../modules/es6.array.reduce');\nrequire('../modules/es6.array.reduce-right');\nrequire('../modules/es6.array.index-of');\nrequire('../modules/es6.array.last-index-of');\nrequire('../modules/es6.array.copy-within');\nrequire('../modules/es6.array.fill');\nrequire('../modules/es6.array.find');\nrequire('../modules/es6.array.find-index');\nrequire('../modules/es6.array.species');\nrequire('../modules/es6.array.iterator');\nrequire('../modules/es6.regexp.constructor');\nrequire('../modules/es6.regexp.exec');\nrequire('../modules/es6.regexp.to-string');\nrequire('../modules/es6.regexp.flags');\nrequire('../modules/es6.regexp.match');\nrequire('../modules/es6.regexp.replace');\nrequire('../modules/es6.regexp.search');\nrequire('../modules/es6.regexp.split');\nrequire('../modules/es6.promise');\nrequire('../modules/es6.map');\nrequire('../modules/es6.set');\nrequire('../modules/es6.weak-map');\nrequire('../modules/es6.weak-set');\nrequire('../modules/es6.typed.array-buffer');\nrequire('../modules/es6.typed.data-view');\nrequire('../modules/es6.typed.int8-array');\nrequire('../modules/es6.typed.uint8-array');\nrequire('../modules/es6.typed.uint8-clamped-array');\nrequire('../modules/es6.typed.int16-array');\nrequire('../modules/es6.typed.uint16-array');\nrequire('../modules/es6.typed.int32-array');\nrequire('../modules/es6.typed.uint32-array');\nrequire('../modules/es6.typed.float32-array');\nrequire('../modules/es6.typed.float64-array');\nrequire('../modules/es6.reflect.apply');\nrequire('../modules/es6.reflect.construct');\nrequire('../modules/es6.reflect.define-property');\nrequire('../modules/es6.reflect.delete-property');\nrequire('../modules/es6.reflect.enumerate');\nrequire('../modules/es6.reflect.get');\nrequire('../modules/es6.reflect.get-own-property-descriptor');\nrequire('../modules/es6.reflect.get-prototype-of');\nrequire('../modules/es6.reflect.has');\nrequire('../modules/es6.reflect.is-extensible');\nrequire('../modules/es6.reflect.own-keys');\nrequire('../modules/es6.reflect.prevent-extensions');\nrequire('../modules/es6.reflect.set');\nrequire('../modules/es6.reflect.set-prototype-of');\nmodule.exports = require('../modules/_core');\n","require('../../modules/es7.array.includes');\nmodule.exports = require('../../modules/_core').Array.includes;\n","require('../../modules/es7.object.entries');\nmodule.exports = require('../../modules/_core').Object.entries;\n","require('../../modules/es7.object.get-own-property-descriptors');\nmodule.exports = require('../../modules/_core').Object.getOwnPropertyDescriptors;\n","require('../../modules/es7.object.values');\nmodule.exports = require('../../modules/_core').Object.values;\n","'use strict';\nrequire('../../modules/es6.promise');\nrequire('../../modules/es7.promise.finally');\nmodule.exports = require('../../modules/_core').Promise['finally'];\n","require('../../modules/es7.string.pad-end');\nmodule.exports = require('../../modules/_core').String.padEnd;\n","require('../../modules/es7.string.pad-start');\nmodule.exports = require('../../modules/_core').String.padStart;\n","require('../../modules/es7.symbol.async-iterator');\nmodule.exports = require('../../modules/_wks-ext').f('asyncIterator');\n","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n","var cof = require('./_cof');\nmodule.exports = function (it, msg) {\n if (typeof it != 'number' && cof(it) != 'Number') throw TypeError(msg);\n return +it;\n};\n","// 22.1.3.31 Array.prototype[@@unscopables]\nvar UNSCOPABLES = require('./_wks')('unscopables');\nvar ArrayProto = Array.prototype;\nif (ArrayProto[UNSCOPABLES] == undefined) require('./_hide')(ArrayProto, UNSCOPABLES, {});\nmodule.exports = function (key) {\n ArrayProto[UNSCOPABLES][key] = true;\n};\n","'use strict';\nvar at = require('./_string-at')(true);\n\n // `AdvanceStringIndex` abstract operation\n// https://tc39.github.io/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n return index + (unicode ? at(S, index).length : 1);\n};\n","module.exports = function (it, Constructor, name, forbiddenField) {\n if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {\n throw TypeError(name + ': incorrect invocation!');\n } return it;\n};\n","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n","// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\n'use strict';\nvar toObject = require('./_to-object');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar toLength = require('./_to-length');\n\nmodule.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) {\n var O = toObject(this);\n var len = toLength(O.length);\n var to = toAbsoluteIndex(target, len);\n var from = toAbsoluteIndex(start, len);\n var end = arguments.length > 2 ? arguments[2] : undefined;\n var count = Math.min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to);\n var inc = 1;\n if (from < to && to < from + count) {\n inc = -1;\n from += count - 1;\n to += count - 1;\n }\n while (count-- > 0) {\n if (from in O) O[to] = O[from];\n else delete O[to];\n to += inc;\n from += inc;\n } return O;\n};\n","// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\n'use strict';\nvar toObject = require('./_to-object');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar toLength = require('./_to-length');\nmodule.exports = function fill(value /* , start = 0, end = @length */) {\n var O = toObject(this);\n var length = toLength(O.length);\n var aLen = arguments.length;\n var index = toAbsoluteIndex(aLen > 1 ? arguments[1] : undefined, length);\n var end = aLen > 2 ? arguments[2] : undefined;\n var endPos = end === undefined ? length : toAbsoluteIndex(end, length);\n while (endPos > index) O[index++] = value;\n return O;\n};\n","// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nmodule.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n","// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = require('./_ctx');\nvar IObject = require('./_iobject');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar asc = require('./_array-species-create');\nmodule.exports = function (TYPE, $create) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n var create = $create || asc;\n return function ($this, callbackfn, that) {\n var O = toObject($this);\n var self = IObject(O);\n var f = ctx(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n var val, res;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n val = self[index];\n res = f(val, index, O);\n if (TYPE) {\n if (IS_MAP) result[index] = res; // map\n else if (res) switch (TYPE) {\n case 3: return true; // some\n case 5: return val; // find\n case 6: return index; // findIndex\n case 2: result.push(val); // filter\n } else if (IS_EVERY) return false; // every\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n };\n};\n","var aFunction = require('./_a-function');\nvar toObject = require('./_to-object');\nvar IObject = require('./_iobject');\nvar toLength = require('./_to-length');\n\nmodule.exports = function (that, callbackfn, aLen, memo, isRight) {\n aFunction(callbackfn);\n var O = toObject(that);\n var self = IObject(O);\n var length = toLength(O.length);\n var index = isRight ? length - 1 : 0;\n var i = isRight ? -1 : 1;\n if (aLen < 2) for (;;) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (isRight ? index < 0 : length <= index) {\n throw TypeError('Reduce of empty array with no initial value');\n }\n }\n for (;isRight ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n};\n","var isObject = require('./_is-object');\nvar isArray = require('./_is-array');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (original) {\n var C;\n if (isArray(original)) {\n C = original.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n","// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = require('./_array-species-constructor');\n\nmodule.exports = function (original, length) {\n return new (speciesConstructor(original))(length);\n};\n","'use strict';\nvar aFunction = require('./_a-function');\nvar isObject = require('./_is-object');\nvar invoke = require('./_invoke');\nvar arraySlice = [].slice;\nvar factories = {};\n\nvar construct = function (F, len, args) {\n if (!(len in factories)) {\n for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']';\n // eslint-disable-next-line no-new-func\n factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');\n } return factories[len](F, args);\n};\n\nmodule.exports = Function.bind || function bind(that /* , ...args */) {\n var fn = aFunction(this);\n var partArgs = arraySlice.call(arguments, 1);\n var bound = function (/* args... */) {\n var args = partArgs.concat(arraySlice.call(arguments));\n return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);\n };\n if (isObject(fn.prototype)) bound.prototype = fn.prototype;\n return bound;\n};\n","// getting tag from 19.1.3.6 Object.prototype.toString()\nvar cof = require('./_cof');\nvar TAG = require('./_wks')('toStringTag');\n// ES3 wrong here\nvar ARG = cof(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (e) { /* empty */ }\n};\n\nmodule.exports = function (it) {\n var O, T, B;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n // builtinTag case\n : ARG ? cof(O)\n // ES3 arguments fallback\n : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","'use strict';\nvar dP = require('./_object-dp').f;\nvar create = require('./_object-create');\nvar redefineAll = require('./_redefine-all');\nvar ctx = require('./_ctx');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar $iterDefine = require('./_iter-define');\nvar step = require('./_iter-step');\nvar setSpecies = require('./_set-species');\nvar DESCRIPTORS = require('./_descriptors');\nvar fastKey = require('./_meta').fastKey;\nvar validate = require('./_validate-collection');\nvar SIZE = DESCRIPTORS ? '_s' : 'size';\n\nvar getEntry = function (that, key) {\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return that._i[index];\n // frozen object case\n for (entry = that._f; entry; entry = entry.n) {\n if (entry.k == key) return entry;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {\n var C = wrapper(function (that, iterable) {\n anInstance(that, C, NAME, '_i');\n that._t = NAME; // collection type\n that._i = create(null); // index\n that._f = undefined; // first entry\n that._l = undefined; // last entry\n that[SIZE] = 0; // size\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n // 23.1.3.1 Map.prototype.clear()\n // 23.2.3.2 Set.prototype.clear()\n clear: function clear() {\n for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) {\n entry.r = true;\n if (entry.p) entry.p = entry.p.n = undefined;\n delete data[entry.i];\n }\n that._f = that._l = undefined;\n that[SIZE] = 0;\n },\n // 23.1.3.3 Map.prototype.delete(key)\n // 23.2.3.4 Set.prototype.delete(value)\n 'delete': function (key) {\n var that = validate(this, NAME);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.n;\n var prev = entry.p;\n delete that._i[entry.i];\n entry.r = true;\n if (prev) prev.n = next;\n if (next) next.p = prev;\n if (that._f == entry) that._f = next;\n if (that._l == entry) that._l = prev;\n that[SIZE]--;\n } return !!entry;\n },\n // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)\n // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)\n forEach: function forEach(callbackfn /* , that = undefined */) {\n validate(this, NAME);\n var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n var entry;\n while (entry = entry ? entry.n : this._f) {\n f(entry.v, entry.k, this);\n // revert to the last existing entry\n while (entry && entry.r) entry = entry.p;\n }\n },\n // 23.1.3.7 Map.prototype.has(key)\n // 23.2.3.7 Set.prototype.has(value)\n has: function has(key) {\n return !!getEntry(validate(this, NAME), key);\n }\n });\n if (DESCRIPTORS) dP(C.prototype, 'size', {\n get: function () {\n return validate(this, NAME)[SIZE];\n }\n });\n return C;\n },\n def: function (that, key, value) {\n var entry = getEntry(that, key);\n var prev, index;\n // change existing entry\n if (entry) {\n entry.v = value;\n // create new entry\n } else {\n that._l = entry = {\n i: index = fastKey(key, true), // <- index\n k: key, // <- key\n v: value, // <- value\n p: prev = that._l, // <- previous entry\n n: undefined, // <- next entry\n r: false // <- removed\n };\n if (!that._f) that._f = entry;\n if (prev) prev.n = entry;\n that[SIZE]++;\n // add to index\n if (index !== 'F') that._i[index] = entry;\n } return that;\n },\n getEntry: getEntry,\n setStrong: function (C, NAME, IS_MAP) {\n // add .keys, .values, .entries, [@@iterator]\n // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11\n $iterDefine(C, NAME, function (iterated, kind) {\n this._t = validate(iterated, NAME); // target\n this._k = kind; // kind\n this._l = undefined; // previous\n }, function () {\n var that = this;\n var kind = that._k;\n var entry = that._l;\n // revert to the last existing entry\n while (entry && entry.r) entry = entry.p;\n // get next entry\n if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) {\n // or finish the iteration\n that._t = undefined;\n return step(1);\n }\n // return step by kind\n if (kind == 'keys') return step(0, entry.k);\n if (kind == 'values') return step(0, entry.v);\n return step(0, [entry.k, entry.v]);\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // add [@@species], 23.1.2.2, 23.2.2.2\n setSpecies(NAME);\n }\n};\n","'use strict';\nvar redefineAll = require('./_redefine-all');\nvar getWeak = require('./_meta').getWeak;\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar createArrayMethod = require('./_array-methods');\nvar $has = require('./_has');\nvar validate = require('./_validate-collection');\nvar arrayFind = createArrayMethod(5);\nvar arrayFindIndex = createArrayMethod(6);\nvar id = 0;\n\n// fallback for uncaught frozen keys\nvar uncaughtFrozenStore = function (that) {\n return that._l || (that._l = new UncaughtFrozenStore());\n};\nvar UncaughtFrozenStore = function () {\n this.a = [];\n};\nvar findUncaughtFrozen = function (store, key) {\n return arrayFind(store.a, function (it) {\n return it[0] === key;\n });\n};\nUncaughtFrozenStore.prototype = {\n get: function (key) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) return entry[1];\n },\n has: function (key) {\n return !!findUncaughtFrozen(this, key);\n },\n set: function (key, value) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) entry[1] = value;\n else this.a.push([key, value]);\n },\n 'delete': function (key) {\n var index = arrayFindIndex(this.a, function (it) {\n return it[0] === key;\n });\n if (~index) this.a.splice(index, 1);\n return !!~index;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {\n var C = wrapper(function (that, iterable) {\n anInstance(that, C, NAME, '_i');\n that._t = NAME; // collection type\n that._i = id++; // collection id\n that._l = undefined; // leak store for uncaught frozen objects\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n // 23.3.3.2 WeakMap.prototype.delete(key)\n // 23.4.3.3 WeakSet.prototype.delete(value)\n 'delete': function (key) {\n if (!isObject(key)) return false;\n var data = getWeak(key);\n if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key);\n return data && $has(data, this._i) && delete data[this._i];\n },\n // 23.3.3.4 WeakMap.prototype.has(key)\n // 23.4.3.4 WeakSet.prototype.has(value)\n has: function has(key) {\n if (!isObject(key)) return false;\n var data = getWeak(key);\n if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key);\n return data && $has(data, this._i);\n }\n });\n return C;\n },\n def: function (that, key, value) {\n var data = getWeak(anObject(key), true);\n if (data === true) uncaughtFrozenStore(that).set(key, value);\n else data[that._i] = value;\n return that;\n },\n ufstore: uncaughtFrozenStore\n};\n","'use strict';\nvar global = require('./_global');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar redefineAll = require('./_redefine-all');\nvar meta = require('./_meta');\nvar forOf = require('./_for-of');\nvar anInstance = require('./_an-instance');\nvar isObject = require('./_is-object');\nvar fails = require('./_fails');\nvar $iterDetect = require('./_iter-detect');\nvar setToStringTag = require('./_set-to-string-tag');\nvar inheritIfRequired = require('./_inherit-if-required');\n\nmodule.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {\n var Base = global[NAME];\n var C = Base;\n var ADDER = IS_MAP ? 'set' : 'add';\n var proto = C && C.prototype;\n var O = {};\n var fixMethod = function (KEY) {\n var fn = proto[KEY];\n redefine(proto, KEY,\n KEY == 'delete' ? function (a) {\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'has' ? function has(a) {\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'get' ? function get(a) {\n return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; }\n : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; }\n );\n };\n if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () {\n new C().entries().next();\n }))) {\n // create collection constructor\n C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);\n redefineAll(C.prototype, methods);\n meta.NEED = true;\n } else {\n var instance = new C();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new C();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n if (!ACCEPT_ITERABLES) {\n C = wrapper(function (target, iterable) {\n anInstance(target, C, NAME);\n var that = inheritIfRequired(new Base(), target, C);\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n return that;\n });\n C.prototype = proto;\n proto.constructor = C;\n }\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n // weak collections should not contains .clear method\n if (IS_WEAK && proto.clear) delete proto.clear;\n }\n\n setToStringTag(C, NAME);\n\n O[NAME] = C;\n $export($export.G + $export.W + $export.F * (C != Base), O);\n\n if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP);\n\n return C;\n};\n","var core = module.exports = { version: '2.6.5' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n","'use strict';\nvar $defineProperty = require('./_object-dp');\nvar createDesc = require('./_property-desc');\n\nmodule.exports = function (object, index, value) {\n if (index in object) $defineProperty.f(object, index, createDesc(0, value));\n else object[index] = value;\n};\n","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\n// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()\nvar fails = require('./_fails');\nvar getTime = Date.prototype.getTime;\nvar $toISOString = Date.prototype.toISOString;\n\nvar lz = function (num) {\n return num > 9 ? num : '0' + num;\n};\n\n// PhantomJS / old WebKit has a broken implementations\nmodule.exports = (fails(function () {\n return $toISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z';\n}) || !fails(function () {\n $toISOString.call(new Date(NaN));\n})) ? function toISOString() {\n if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value');\n var d = this;\n var y = d.getUTCFullYear();\n var m = d.getUTCMilliseconds();\n var s = y < 0 ? '-' : y > 9999 ? '+' : '';\n return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) +\n '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) +\n 'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) +\n ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z';\n} : $toISOString;\n","'use strict';\nvar anObject = require('./_an-object');\nvar toPrimitive = require('./_to-primitive');\nvar NUMBER = 'number';\n\nmodule.exports = function (hint) {\n if (hint !== 'string' && hint !== NUMBER && hint !== 'default') throw TypeError('Incorrect hint');\n return toPrimitive(anObject(this), hint != NUMBER);\n};\n","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n","// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n","// all enumerable object keys, includes symbols\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nmodule.exports = function (it) {\n var result = getKeys(it);\n var getSymbols = gOPS.f;\n if (getSymbols) {\n var symbols = getSymbols(it);\n var isEnum = pIE.f;\n var i = 0;\n var key;\n while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);\n } return result;\n};\n","var global = require('./_global');\nvar core = require('./_core');\nvar hide = require('./_hide');\nvar redefine = require('./_redefine');\nvar ctx = require('./_ctx');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n var key, own, out, exp;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n // export native or passed\n out = (own ? target : source)[key];\n // bind timers to global for call from export context\n exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // extend global\n if (target) redefine(target, key, out, type & $export.U);\n // export\n if (exports[key] != out) hide(exports, key, exp);\n if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n","var MATCH = require('./_wks')('match');\nmodule.exports = function (KEY) {\n var re = /./;\n try {\n '/./'[KEY](re);\n } catch (e) {\n try {\n re[MATCH] = false;\n return !'/./'[KEY](re);\n } catch (f) { /* empty */ }\n } return true;\n};\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n","'use strict';\nrequire('./es6.regexp.exec');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar fails = require('./_fails');\nvar defined = require('./_defined');\nvar wks = require('./_wks');\nvar regexpExec = require('./_regexp-exec');\n\nvar SPECIES = wks('species');\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n // #replace needs built-in support for named groups.\n // #match works fine because it just return the exec results, even if it has\n // a \"grops\" property.\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n return ''.replace(re, '$<a>') !== '7';\n});\n\nvar SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () {\n // Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n var re = /(?:)/;\n var originalExec = re.exec;\n re.exec = function () { return originalExec.apply(this, arguments); };\n var result = 'ab'.split(re);\n return result.length === 2 && result[0] === 'a' && result[1] === 'b';\n})();\n\nmodule.exports = function (KEY, length, exec) {\n var SYMBOL = wks(KEY);\n\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegEp methods\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) != 7;\n });\n\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n re.exec = function () { execCalled = true; return null; };\n if (KEY === 'split') {\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () { return re; };\n }\n re[SYMBOL]('');\n return !execCalled;\n }) : undefined;\n\n if (\n !DELEGATES_TO_SYMBOL ||\n !DELEGATES_TO_EXEC ||\n (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) ||\n (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)\n ) {\n var nativeRegExpMethod = /./[SYMBOL];\n var fns = exec(\n defined,\n SYMBOL,\n ''[KEY],\n function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) {\n if (regexp.exec === regexpExec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };\n }\n return { done: true, value: nativeMethod.call(str, regexp, arg2) };\n }\n return { done: false };\n }\n );\n var strfn = fns[0];\n var rxfn = fns[1];\n\n redefine(String.prototype, KEY, strfn);\n hide(RegExp.prototype, SYMBOL, length == 2\n // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n ? function (string, arg) { return rxfn.call(string, this, arg); }\n // 21.2.5.6 RegExp.prototype[@@match](string)\n // 21.2.5.9 RegExp.prototype[@@search](string)\n : function (string) { return rxfn.call(string, this); }\n );\n }\n};\n","'use strict';\n// 21.2.5.3 get RegExp.prototype.flags\nvar anObject = require('./_an-object');\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.unicode) result += 'u';\n if (that.sticky) result += 'y';\n return result;\n};\n","var ctx = require('./_ctx');\nvar call = require('./_iter-call');\nvar isArrayIter = require('./_is-array-iter');\nvar anObject = require('./_an-object');\nvar toLength = require('./_to-length');\nvar getIterFn = require('./core.get-iterator-method');\nvar BREAK = {};\nvar RETURN = {};\nvar exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {\n var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);\n var f = ctx(fn, that, entries ? 2 : 1);\n var index = 0;\n var length, step, iterator, result;\n if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');\n // fast case for arrays with default iterator\n if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) {\n result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);\n if (result === BREAK || result === RETURN) return result;\n } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {\n result = call(iterator, f, step.value, entries);\n if (result === BREAK || result === RETURN) return result;\n }\n};\nexports.BREAK = BREAK;\nexports.RETURN = RETURN;\n","module.exports = require('./_shared')('native-function-to-string', Function.toString);\n","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","var document = require('./_global').document;\nmodule.exports = document && document.documentElement;\n","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n","var isObject = require('./_is-object');\nvar setPrototypeOf = require('./_set-proto').set;\nmodule.exports = function (that, target, C) {\n var S = target.constructor;\n var P;\n if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {\n setPrototypeOf(that, P);\n } return that;\n};\n","// fast apply, http://jsperf.lnkit.com/fast-apply/5\nmodule.exports = function (fn, args, that) {\n var un = that === undefined;\n switch (args.length) {\n case 0: return un ? fn()\n : fn.call(that);\n case 1: return un ? fn(args[0])\n : fn.call(that, args[0]);\n case 2: return un ? fn(args[0], args[1])\n : fn.call(that, args[0], args[1]);\n case 3: return un ? fn(args[0], args[1], args[2])\n : fn.call(that, args[0], args[1], args[2]);\n case 4: return un ? fn(args[0], args[1], args[2], args[3])\n : fn.call(that, args[0], args[1], args[2], args[3]);\n } return fn.apply(that, args);\n};\n","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n","// check on default Array iterator\nvar Iterators = require('./_iterators');\nvar ITERATOR = require('./_wks')('iterator');\nvar ArrayProto = Array.prototype;\n\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);\n};\n","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n","// 20.1.2.3 Number.isInteger(number)\nvar isObject = require('./_is-object');\nvar floor = Math.floor;\nmodule.exports = function isInteger(it) {\n return !isObject(it) && isFinite(it) && floor(it) === it;\n};\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","// 7.2.8 IsRegExp(argument)\nvar isObject = require('./_is-object');\nvar cof = require('./_cof');\nvar MATCH = require('./_wks')('match');\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');\n};\n","// call something on iterator step with safe closing on error\nvar anObject = require('./_an-object');\nmodule.exports = function (iterator, fn, value, entries) {\n try {\n return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n // 7.4.6 IteratorClose(iterator, completion)\n } catch (e) {\n var ret = iterator['return'];\n if (ret !== undefined) anObject(ret.call(iterator));\n throw e;\n }\n};\n","'use strict';\nvar create = require('./_object-create');\nvar descriptor = require('./_property-desc');\nvar setToStringTag = require('./_set-to-string-tag');\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nrequire('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n","'use strict';\nvar LIBRARY = require('./_library');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar $iterCreate = require('./_iter-create');\nvar setToStringTag = require('./_set-to-string-tag');\nvar getPrototypeOf = require('./_object-gpo');\nvar ITERATOR = require('./_wks')('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function (kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n switch (kind) {\n case KEYS: return function keys() { return new Constructor(this, kind); };\n case VALUES: return function values() { return new Constructor(this, kind); };\n } return function entries() { return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype;\n // Fix native\n if ($anyNative) {\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() { return $native.call(this); };\n }\n // Define iterator\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n","var ITERATOR = require('./_wks')('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var riter = [7][ITERATOR]();\n riter['return'] = function () { SAFE_CLOSING = true; };\n // eslint-disable-next-line no-throw-literal\n Array.from(riter, function () { throw 2; });\n} catch (e) { /* empty */ }\n\nmodule.exports = function (exec, skipClosing) {\n if (!skipClosing && !SAFE_CLOSING) return false;\n var safe = false;\n try {\n var arr = [7];\n var iter = arr[ITERATOR]();\n iter.next = function () { return { done: safe = true }; };\n arr[ITERATOR] = function () { return iter; };\n exec(arr);\n } catch (e) { /* empty */ }\n return safe;\n};\n","module.exports = function (done, value) {\n return { value: value, done: !!done };\n};\n","module.exports = {};\n","module.exports = false;\n","// 20.2.2.14 Math.expm1(x)\nvar $expm1 = Math.expm1;\nmodule.exports = (!$expm1\n // Old FF bug\n || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168\n // Tor Browser bug\n || $expm1(-2e-17) != -2e-17\n) ? function expm1(x) {\n return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;\n} : $expm1;\n","// 20.2.2.16 Math.fround(x)\nvar sign = require('./_math-sign');\nvar pow = Math.pow;\nvar EPSILON = pow(2, -52);\nvar EPSILON32 = pow(2, -23);\nvar MAX32 = pow(2, 127) * (2 - EPSILON32);\nvar MIN32 = pow(2, -126);\n\nvar roundTiesToEven = function (n) {\n return n + 1 / EPSILON - 1 / EPSILON;\n};\n\nmodule.exports = Math.fround || function fround(x) {\n var $abs = Math.abs(x);\n var $sign = sign(x);\n var a, result;\n if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;\n a = (1 + EPSILON32 / EPSILON) * $abs;\n result = a - (a - $abs);\n // eslint-disable-next-line no-self-compare\n if (result > MAX32 || result != result) return $sign * Infinity;\n return $sign * result;\n};\n","// 20.2.2.20 Math.log1p(x)\nmodule.exports = Math.log1p || function log1p(x) {\n return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);\n};\n","// 20.2.2.28 Math.sign(x)\nmodule.exports = Math.sign || function sign(x) {\n // eslint-disable-next-line no-self-compare\n return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;\n};\n","var META = require('./_uid')('meta');\nvar isObject = require('./_is-object');\nvar has = require('./_has');\nvar setDesc = require('./_object-dp').f;\nvar id = 0;\nvar isExtensible = Object.isExtensible || function () {\n return true;\n};\nvar FREEZE = !require('./_fails')(function () {\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function (it) {\n setDesc(it, META, { value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n } });\n};\nvar fastKey = function (it, create) {\n // return primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function (it, create) {\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n","var global = require('./_global');\nvar macrotask = require('./_task').set;\nvar Observer = global.MutationObserver || global.WebKitMutationObserver;\nvar process = global.process;\nvar Promise = global.Promise;\nvar isNode = require('./_cof')(process) == 'process';\n\nmodule.exports = function () {\n var head, last, notify;\n\n var flush = function () {\n var parent, fn;\n if (isNode && (parent = process.domain)) parent.exit();\n while (head) {\n fn = head.fn;\n head = head.next;\n try {\n fn();\n } catch (e) {\n if (head) notify();\n else last = undefined;\n throw e;\n }\n } last = undefined;\n if (parent) parent.enter();\n };\n\n // Node.js\n if (isNode) {\n notify = function () {\n process.nextTick(flush);\n };\n // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339\n } else if (Observer && !(global.navigator && global.navigator.standalone)) {\n var toggle = true;\n var node = document.createTextNode('');\n new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new\n notify = function () {\n node.data = toggle = !toggle;\n };\n // environments with maybe non-completely correct, but existent Promise\n } else if (Promise && Promise.resolve) {\n // Promise.resolve without an argument throws an error in LG WebOS 2\n var promise = Promise.resolve(undefined);\n notify = function () {\n promise.then(flush);\n };\n // for other environments - macrotask based on:\n // - setImmediate\n // - MessageChannel\n // - window.postMessag\n // - onreadystatechange\n // - setTimeout\n } else {\n notify = function () {\n // strange IE + webpack dev server bug - use .call(global)\n macrotask.call(global, flush);\n };\n }\n\n return function (fn) {\n var task = { fn: fn, next: undefined };\n if (last) last.next = task;\n if (!head) {\n head = task;\n notify();\n } last = task;\n };\n};\n","'use strict';\n// 25.4.1.5 NewPromiseCapability(C)\nvar aFunction = require('./_a-function');\n\nfunction PromiseCapability(C) {\n var resolve, reject;\n this.promise = new C(function ($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aFunction(resolve);\n this.reject = aFunction(reject);\n}\n\nmodule.exports.f = function (C) {\n return new PromiseCapability(C);\n};\n","'use strict';\n// 19.1.2.1 Object.assign(target, source, ...)\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nvar toObject = require('./_to-object');\nvar IObject = require('./_iobject');\nvar $assign = Object.assign;\n\n// should work with symbols and should have deterministic property order (V8 bug)\nmodule.exports = !$assign || require('./_fails')(function () {\n var A = {};\n var B = {};\n // eslint-disable-next-line no-undef\n var S = Symbol();\n var K = 'abcdefghijklmnopqrst';\n A[S] = 7;\n K.split('').forEach(function (k) { B[k] = k; });\n return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars\n var T = toObject(target);\n var aLen = arguments.length;\n var index = 1;\n var getSymbols = gOPS.f;\n var isEnum = pIE.f;\n while (aLen > index) {\n var S = IObject(arguments[index++]);\n var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) if (isEnum.call(S, key = keys[j++])) T[key] = S[key];\n } return T;\n} : $assign;\n","// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = require('./_an-object');\nvar dPs = require('./_object-dps');\nvar enumBugKeys = require('./_enum-bug-keys');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = require('./_dom-create')('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n require('./_html').appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var dP = require('./_object-dp');\nvar anObject = require('./_an-object');\nvar getKeys = require('./_object-keys');\n\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n","var pIE = require('./_object-pie');\nvar createDesc = require('./_property-desc');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar has = require('./_has');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P) {\n O = toIObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return gOPD(O, P);\n } catch (e) { /* empty */ }\n if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n","// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = require('./_to-iobject');\nvar gOPN = require('./_object-gopn').f;\nvar toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return gOPN(it);\n } catch (e) {\n return windowNames.slice();\n }\n};\n\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n};\n","// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = require('./_object-keys-internal');\nvar hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return $keys(O, hiddenKeys);\n};\n","exports.f = Object.getOwnPropertySymbols;\n","// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = require('./_has');\nvar toObject = require('./_to-object');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n","var has = require('./_has');\nvar toIObject = require('./_to-iobject');\nvar arrayIndexOf = require('./_array-includes')(false);\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\n\nmodule.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n","// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = require('./_object-keys-internal');\nvar enumBugKeys = require('./_enum-bug-keys');\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n","exports.f = {}.propertyIsEnumerable;\n","// most Object methods by ES6 should accept primitives\nvar $export = require('./_export');\nvar core = require('./_core');\nvar fails = require('./_fails');\nmodule.exports = function (KEY, exec) {\n var fn = (core.Object || {})[KEY] || Object[KEY];\n var exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);\n};\n","var getKeys = require('./_object-keys');\nvar toIObject = require('./_to-iobject');\nvar isEnum = require('./_object-pie').f;\nmodule.exports = function (isEntries) {\n return function (it) {\n var O = toIObject(it);\n var keys = getKeys(O);\n var length = keys.length;\n var i = 0;\n var result = [];\n var key;\n while (length > i) if (isEnum.call(O, key = keys[i++])) {\n result.push(isEntries ? [key, O[key]] : O[key]);\n } return result;\n };\n};\n","// all object keys, includes non-enumerable and symbols\nvar gOPN = require('./_object-gopn');\nvar gOPS = require('./_object-gops');\nvar anObject = require('./_an-object');\nvar Reflect = require('./_global').Reflect;\nmodule.exports = Reflect && Reflect.ownKeys || function ownKeys(it) {\n var keys = gOPN.f(anObject(it));\n var getSymbols = gOPS.f;\n return getSymbols ? keys.concat(getSymbols(it)) : keys;\n};\n","var $parseFloat = require('./_global').parseFloat;\nvar $trim = require('./_string-trim').trim;\n\nmodule.exports = 1 / $parseFloat(require('./_string-ws') + '-0') !== -Infinity ? function parseFloat(str) {\n var string = $trim(String(str), 3);\n var result = $parseFloat(string);\n return result === 0 && string.charAt(0) == '-' ? -0 : result;\n} : $parseFloat;\n","var $parseInt = require('./_global').parseInt;\nvar $trim = require('./_string-trim').trim;\nvar ws = require('./_string-ws');\nvar hex = /^[-+]?0[xX]/;\n\nmodule.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) {\n var string = $trim(String(str), 3);\n return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10));\n} : $parseInt;\n","module.exports = function (exec) {\n try {\n return { e: false, v: exec() };\n } catch (e) {\n return { e: true, v: e };\n }\n};\n","var anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar newPromiseCapability = require('./_new-promise-capability');\n\nmodule.exports = function (C, x) {\n anObject(C);\n if (isObject(x) && x.constructor === C) return x;\n var promiseCapability = newPromiseCapability.f(C);\n var resolve = promiseCapability.resolve;\n resolve(x);\n return promiseCapability.promise;\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var redefine = require('./_redefine');\nmodule.exports = function (target, src, safe) {\n for (var key in src) redefine(target, key, src[key], safe);\n return target;\n};\n","var global = require('./_global');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar SRC = require('./_uid')('src');\nvar $toString = require('./_function-to-string');\nvar TO_STRING = 'toString';\nvar TPL = ('' + $toString).split(TO_STRING);\n\nrequire('./_core').inspectSource = function (it) {\n return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n var isFunction = typeof val == 'function';\n if (isFunction) has(val, 'name') || hide(val, 'name', key);\n if (O[key] === val) return;\n if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n if (O === global) {\n O[key] = val;\n } else if (!safe) {\n delete O[key];\n hide(O, key, val);\n } else if (O[key]) {\n O[key] = val;\n } else {\n hide(O, key, val);\n }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n","'use strict';\n\nvar classof = require('./_classof');\nvar builtinExec = RegExp.prototype.exec;\n\n // `RegExpExec` abstract operation\n// https://tc39.github.io/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (typeof exec === 'function') {\n var result = exec.call(R, S);\n if (typeof result !== 'object') {\n throw new TypeError('RegExp exec method returned something other than an Object or null');\n }\n return result;\n }\n if (classof(R) !== 'RegExp') {\n throw new TypeError('RegExp#exec called on incompatible receiver');\n }\n return builtinExec.call(R, S);\n};\n","'use strict';\n\nvar regexpFlags = require('./_flags');\n\nvar nativeExec = RegExp.prototype.exec;\n// This always refers to the native implementation, because the\n// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,\n// which loads this file before patching the method.\nvar nativeReplace = String.prototype.replace;\n\nvar patchedExec = nativeExec;\n\nvar LAST_INDEX = 'lastIndex';\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/,\n re2 = /b*/g;\n nativeExec.call(re1, 'a');\n nativeExec.call(re2, 'a');\n return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0;\n})();\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED;\n\nif (PATCH) {\n patchedExec = function exec(str) {\n var re = this;\n var lastIndex, reCopy, match, i;\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + re.source + '$(?!\\\\s)', regexpFlags.call(re));\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX];\n\n match = nativeExec.call(re, str);\n\n if (UPDATES_LAST_INDEX_WRONG && match) {\n re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/\n // eslint-disable-next-line no-loop-func\n nativeReplace.call(match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n return match;\n };\n}\n\nmodule.exports = patchedExec;\n","// 7.2.9 SameValue(x, y)\nmodule.exports = Object.is || function is(x, y) {\n // eslint-disable-next-line no-self-compare\n return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n};\n","// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\nvar check = function (O, proto) {\n anObject(O);\n if (!isObject(proto) && proto !== null) throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function (test, buggy, set) {\n try {\n set = require('./_ctx')(Function.call, require('./_object-gopd').f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch (e) { buggy = true; }\n return function setPrototypeOf(O, proto) {\n check(O, proto);\n if (buggy) O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n","'use strict';\nvar global = require('./_global');\nvar dP = require('./_object-dp');\nvar DESCRIPTORS = require('./_descriptors');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (KEY) {\n var C = global[KEY];\n if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n};\n","var def = require('./_object-dp').f;\nvar has = require('./_has');\nvar TAG = require('./_wks')('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n","var shared = require('./_shared')('keys');\nvar uid = require('./_uid');\nmodule.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n};\n","var core = require('./_core');\nvar global = require('./_global');\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: require('./_library') ? 'pure' : 'global',\n copyright: '© 2019 Denis Pushkarev (zloirock.ru)'\n});\n","// 7.3.20 SpeciesConstructor(O, defaultConstructor)\nvar anObject = require('./_an-object');\nvar aFunction = require('./_a-function');\nvar SPECIES = require('./_wks')('species');\nmodule.exports = function (O, D) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);\n};\n","'use strict';\nvar fails = require('./_fails');\n\nmodule.exports = function (method, arg) {\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call\n arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null);\n });\n};\n","var toInteger = require('./_to-integer');\nvar defined = require('./_defined');\n// true -> String#at\n// false -> String#codePointAt\nmodule.exports = function (TO_STRING) {\n return function (that, pos) {\n var s = String(defined(that));\n var i = toInteger(pos);\n var l = s.length;\n var a, b;\n if (i < 0 || i >= l) return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n","// helper for String#{startsWith, endsWith, includes}\nvar isRegExp = require('./_is-regexp');\nvar defined = require('./_defined');\n\nmodule.exports = function (that, searchString, NAME) {\n if (isRegExp(searchString)) throw TypeError('String#' + NAME + \" doesn't accept regex!\");\n return String(defined(that));\n};\n","var $export = require('./_export');\nvar fails = require('./_fails');\nvar defined = require('./_defined');\nvar quot = /\"/g;\n// B.2.3.2.1 CreateHTML(string, tag, attribute, value)\nvar createHTML = function (string, tag, attribute, value) {\n var S = String(defined(string));\n var p1 = '<' + tag;\n if (attribute !== '') p1 += ' ' + attribute + '=\"' + String(value).replace(quot, '&quot;') + '\"';\n return p1 + '>' + S + '</' + tag + '>';\n};\nmodule.exports = function (NAME, exec) {\n var O = {};\n O[NAME] = exec(createHTML);\n $export($export.P + $export.F * fails(function () {\n var test = ''[NAME]('\"');\n return test !== test.toLowerCase() || test.split('\"').length > 3;\n }), 'String', O);\n};\n","// https://github.com/tc39/proposal-string-pad-start-end\nvar toLength = require('./_to-length');\nvar repeat = require('./_string-repeat');\nvar defined = require('./_defined');\n\nmodule.exports = function (that, maxLength, fillString, left) {\n var S = String(defined(that));\n var stringLength = S.length;\n var fillStr = fillString === undefined ? ' ' : String(fillString);\n var intMaxLength = toLength(maxLength);\n if (intMaxLength <= stringLength || fillStr == '') return S;\n var fillLen = intMaxLength - stringLength;\n var stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length));\n if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen);\n return left ? stringFiller + S : S + stringFiller;\n};\n","'use strict';\nvar toInteger = require('./_to-integer');\nvar defined = require('./_defined');\n\nmodule.exports = function repeat(count) {\n var str = String(defined(this));\n var res = '';\n var n = toInteger(count);\n if (n < 0 || n == Infinity) throw RangeError(\"Count can't be negative\");\n for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) res += str;\n return res;\n};\n","var $export = require('./_export');\nvar defined = require('./_defined');\nvar fails = require('./_fails');\nvar spaces = require('./_string-ws');\nvar space = '[' + spaces + ']';\nvar non = '\\u200b\\u0085';\nvar ltrim = RegExp('^' + space + space + '*');\nvar rtrim = RegExp(space + space + '*$');\n\nvar exporter = function (KEY, exec, ALIAS) {\n var exp = {};\n var FORCE = fails(function () {\n return !!spaces[KEY]() || non[KEY]() != non;\n });\n var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];\n if (ALIAS) exp[ALIAS] = fn;\n $export($export.P + $export.F * FORCE, 'String', exp);\n};\n\n// 1 -> String#trimLeft\n// 2 -> String#trimRight\n// 3 -> String#trim\nvar trim = exporter.trim = function (string, TYPE) {\n string = String(defined(string));\n if (TYPE & 1) string = string.replace(ltrim, '');\n if (TYPE & 2) string = string.replace(rtrim, '');\n return string;\n};\n\nmodule.exports = exporter;\n","module.exports = '\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003' +\n '\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","var ctx = require('./_ctx');\nvar invoke = require('./_invoke');\nvar html = require('./_html');\nvar cel = require('./_dom-create');\nvar global = require('./_global');\nvar process = global.process;\nvar setTask = global.setImmediate;\nvar clearTask = global.clearImmediate;\nvar MessageChannel = global.MessageChannel;\nvar Dispatch = global.Dispatch;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar defer, channel, port;\nvar run = function () {\n var id = +this;\n // eslint-disable-next-line no-prototype-builtins\n if (queue.hasOwnProperty(id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\nvar listener = function (event) {\n run.call(event.data);\n};\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!setTask || !clearTask) {\n setTask = function setImmediate(fn) {\n var args = [];\n var i = 1;\n while (arguments.length > i) args.push(arguments[i++]);\n queue[++counter] = function () {\n // eslint-disable-next-line no-new-func\n invoke(typeof fn == 'function' ? fn : Function(fn), args);\n };\n defer(counter);\n return counter;\n };\n clearTask = function clearImmediate(id) {\n delete queue[id];\n };\n // Node.js 0.8-\n if (require('./_cof')(process) == 'process') {\n defer = function (id) {\n process.nextTick(ctx(run, id, 1));\n };\n // Sphere (JS game engine) Dispatch API\n } else if (Dispatch && Dispatch.now) {\n defer = function (id) {\n Dispatch.now(ctx(run, id, 1));\n };\n // Browsers with MessageChannel, includes WebWorkers\n } else if (MessageChannel) {\n channel = new MessageChannel();\n port = channel.port2;\n channel.port1.onmessage = listener;\n defer = ctx(port.postMessage, port, 1);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) {\n defer = function (id) {\n global.postMessage(id + '', '*');\n };\n global.addEventListener('message', listener, false);\n // IE8-\n } else if (ONREADYSTATECHANGE in cel('script')) {\n defer = function (id) {\n html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () {\n html.removeChild(this);\n run.call(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function (id) {\n setTimeout(ctx(run, id, 1), 0);\n };\n }\n}\nmodule.exports = {\n set: setTask,\n clear: clearTask\n};\n","var toInteger = require('./_to-integer');\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n","// https://tc39.github.io/ecma262/#sec-toindex\nvar toInteger = require('./_to-integer');\nvar toLength = require('./_to-length');\nmodule.exports = function (it) {\n if (it === undefined) return 0;\n var number = toInteger(it);\n var length = toLength(number);\n if (number !== length) throw RangeError('Wrong length!');\n return length;\n};\n","// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n","// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = require('./_iobject');\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return IObject(defined(it));\n};\n","// 7.1.15 ToLength\nvar toInteger = require('./_to-integer');\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n","// 7.1.13 ToObject(argument)\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","'use strict';\nif (require('./_descriptors')) {\n var LIBRARY = require('./_library');\n var global = require('./_global');\n var fails = require('./_fails');\n var $export = require('./_export');\n var $typed = require('./_typed');\n var $buffer = require('./_typed-buffer');\n var ctx = require('./_ctx');\n var anInstance = require('./_an-instance');\n var propertyDesc = require('./_property-desc');\n var hide = require('./_hide');\n var redefineAll = require('./_redefine-all');\n var toInteger = require('./_to-integer');\n var toLength = require('./_to-length');\n var toIndex = require('./_to-index');\n var toAbsoluteIndex = require('./_to-absolute-index');\n var toPrimitive = require('./_to-primitive');\n var has = require('./_has');\n var classof = require('./_classof');\n var isObject = require('./_is-object');\n var toObject = require('./_to-object');\n var isArrayIter = require('./_is-array-iter');\n var create = require('./_object-create');\n var getPrototypeOf = require('./_object-gpo');\n var gOPN = require('./_object-gopn').f;\n var getIterFn = require('./core.get-iterator-method');\n var uid = require('./_uid');\n var wks = require('./_wks');\n var createArrayMethod = require('./_array-methods');\n var createArrayIncludes = require('./_array-includes');\n var speciesConstructor = require('./_species-constructor');\n var ArrayIterators = require('./es6.array.iterator');\n var Iterators = require('./_iterators');\n var $iterDetect = require('./_iter-detect');\n var setSpecies = require('./_set-species');\n var arrayFill = require('./_array-fill');\n var arrayCopyWithin = require('./_array-copy-within');\n var $DP = require('./_object-dp');\n var $GOPD = require('./_object-gopd');\n var dP = $DP.f;\n var gOPD = $GOPD.f;\n var RangeError = global.RangeError;\n var TypeError = global.TypeError;\n var Uint8Array = global.Uint8Array;\n var ARRAY_BUFFER = 'ArrayBuffer';\n var SHARED_BUFFER = 'Shared' + ARRAY_BUFFER;\n var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT';\n var PROTOTYPE = 'prototype';\n var ArrayProto = Array[PROTOTYPE];\n var $ArrayBuffer = $buffer.ArrayBuffer;\n var $DataView = $buffer.DataView;\n var arrayForEach = createArrayMethod(0);\n var arrayFilter = createArrayMethod(2);\n var arraySome = createArrayMethod(3);\n var arrayEvery = createArrayMethod(4);\n var arrayFind = createArrayMethod(5);\n var arrayFindIndex = createArrayMethod(6);\n var arrayIncludes = createArrayIncludes(true);\n var arrayIndexOf = createArrayIncludes(false);\n var arrayValues = ArrayIterators.values;\n var arrayKeys = ArrayIterators.keys;\n var arrayEntries = ArrayIterators.entries;\n var arrayLastIndexOf = ArrayProto.lastIndexOf;\n var arrayReduce = ArrayProto.reduce;\n var arrayReduceRight = ArrayProto.reduceRight;\n var arrayJoin = ArrayProto.join;\n var arraySort = ArrayProto.sort;\n var arraySlice = ArrayProto.slice;\n var arrayToString = ArrayProto.toString;\n var arrayToLocaleString = ArrayProto.toLocaleString;\n var ITERATOR = wks('iterator');\n var TAG = wks('toStringTag');\n var TYPED_CONSTRUCTOR = uid('typed_constructor');\n var DEF_CONSTRUCTOR = uid('def_constructor');\n var ALL_CONSTRUCTORS = $typed.CONSTR;\n var TYPED_ARRAY = $typed.TYPED;\n var VIEW = $typed.VIEW;\n var WRONG_LENGTH = 'Wrong length!';\n\n var $map = createArrayMethod(1, function (O, length) {\n return allocate(speciesConstructor(O, O[DEF_CONSTRUCTOR]), length);\n });\n\n var LITTLE_ENDIAN = fails(function () {\n // eslint-disable-next-line no-undef\n return new Uint8Array(new Uint16Array([1]).buffer)[0] === 1;\n });\n\n var FORCED_SET = !!Uint8Array && !!Uint8Array[PROTOTYPE].set && fails(function () {\n new Uint8Array(1).set({});\n });\n\n var toOffset = function (it, BYTES) {\n var offset = toInteger(it);\n if (offset < 0 || offset % BYTES) throw RangeError('Wrong offset!');\n return offset;\n };\n\n var validate = function (it) {\n if (isObject(it) && TYPED_ARRAY in it) return it;\n throw TypeError(it + ' is not a typed array!');\n };\n\n var allocate = function (C, length) {\n if (!(isObject(C) && TYPED_CONSTRUCTOR in C)) {\n throw TypeError('It is not a typed array constructor!');\n } return new C(length);\n };\n\n var speciesFromList = function (O, list) {\n return fromList(speciesConstructor(O, O[DEF_CONSTRUCTOR]), list);\n };\n\n var fromList = function (C, list) {\n var index = 0;\n var length = list.length;\n var result = allocate(C, length);\n while (length > index) result[index] = list[index++];\n return result;\n };\n\n var addGetter = function (it, key, internal) {\n dP(it, key, { get: function () { return this._d[internal]; } });\n };\n\n var $from = function from(source /* , mapfn, thisArg */) {\n var O = toObject(source);\n var aLen = arguments.length;\n var mapfn = aLen > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n var iterFn = getIterFn(O);\n var i, length, values, result, step, iterator;\n if (iterFn != undefined && !isArrayIter(iterFn)) {\n for (iterator = iterFn.call(O), values = [], i = 0; !(step = iterator.next()).done; i++) {\n values.push(step.value);\n } O = values;\n }\n if (mapping && aLen > 2) mapfn = ctx(mapfn, arguments[2], 2);\n for (i = 0, length = toLength(O.length), result = allocate(this, length); length > i; i++) {\n result[i] = mapping ? mapfn(O[i], i) : O[i];\n }\n return result;\n };\n\n var $of = function of(/* ...items */) {\n var index = 0;\n var length = arguments.length;\n var result = allocate(this, length);\n while (length > index) result[index] = arguments[index++];\n return result;\n };\n\n // iOS Safari 6.x fails here\n var TO_LOCALE_BUG = !!Uint8Array && fails(function () { arrayToLocaleString.call(new Uint8Array(1)); });\n\n var $toLocaleString = function toLocaleString() {\n return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(validate(this)) : validate(this), arguments);\n };\n\n var proto = {\n copyWithin: function copyWithin(target, start /* , end */) {\n return arrayCopyWithin.call(validate(this), target, start, arguments.length > 2 ? arguments[2] : undefined);\n },\n every: function every(callbackfn /* , thisArg */) {\n return arrayEvery(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n },\n fill: function fill(value /* , start, end */) { // eslint-disable-line no-unused-vars\n return arrayFill.apply(validate(this), arguments);\n },\n filter: function filter(callbackfn /* , thisArg */) {\n return speciesFromList(this, arrayFilter(validate(this), callbackfn,\n arguments.length > 1 ? arguments[1] : undefined));\n },\n find: function find(predicate /* , thisArg */) {\n return arrayFind(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n },\n findIndex: function findIndex(predicate /* , thisArg */) {\n return arrayFindIndex(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n },\n forEach: function forEach(callbackfn /* , thisArg */) {\n arrayForEach(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n },\n indexOf: function indexOf(searchElement /* , fromIndex */) {\n return arrayIndexOf(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n },\n includes: function includes(searchElement /* , fromIndex */) {\n return arrayIncludes(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n },\n join: function join(separator) { // eslint-disable-line no-unused-vars\n return arrayJoin.apply(validate(this), arguments);\n },\n lastIndexOf: function lastIndexOf(searchElement /* , fromIndex */) { // eslint-disable-line no-unused-vars\n return arrayLastIndexOf.apply(validate(this), arguments);\n },\n map: function map(mapfn /* , thisArg */) {\n return $map(validate(this), mapfn, arguments.length > 1 ? arguments[1] : undefined);\n },\n reduce: function reduce(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars\n return arrayReduce.apply(validate(this), arguments);\n },\n reduceRight: function reduceRight(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars\n return arrayReduceRight.apply(validate(this), arguments);\n },\n reverse: function reverse() {\n var that = this;\n var length = validate(that).length;\n var middle = Math.floor(length / 2);\n var index = 0;\n var value;\n while (index < middle) {\n value = that[index];\n that[index++] = that[--length];\n that[length] = value;\n } return that;\n },\n some: function some(callbackfn /* , thisArg */) {\n return arraySome(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n },\n sort: function sort(comparefn) {\n return arraySort.call(validate(this), comparefn);\n },\n subarray: function subarray(begin, end) {\n var O = validate(this);\n var length = O.length;\n var $begin = toAbsoluteIndex(begin, length);\n return new (speciesConstructor(O, O[DEF_CONSTRUCTOR]))(\n O.buffer,\n O.byteOffset + $begin * O.BYTES_PER_ELEMENT,\n toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - $begin)\n );\n }\n };\n\n var $slice = function slice(start, end) {\n return speciesFromList(this, arraySlice.call(validate(this), start, end));\n };\n\n var $set = function set(arrayLike /* , offset */) {\n validate(this);\n var offset = toOffset(arguments[1], 1);\n var length = this.length;\n var src = toObject(arrayLike);\n var len = toLength(src.length);\n var index = 0;\n if (len + offset > length) throw RangeError(WRONG_LENGTH);\n while (index < len) this[offset + index] = src[index++];\n };\n\n var $iterators = {\n entries: function entries() {\n return arrayEntries.call(validate(this));\n },\n keys: function keys() {\n return arrayKeys.call(validate(this));\n },\n values: function values() {\n return arrayValues.call(validate(this));\n }\n };\n\n var isTAIndex = function (target, key) {\n return isObject(target)\n && target[TYPED_ARRAY]\n && typeof key != 'symbol'\n && key in target\n && String(+key) == String(key);\n };\n var $getDesc = function getOwnPropertyDescriptor(target, key) {\n return isTAIndex(target, key = toPrimitive(key, true))\n ? propertyDesc(2, target[key])\n : gOPD(target, key);\n };\n var $setDesc = function defineProperty(target, key, desc) {\n if (isTAIndex(target, key = toPrimitive(key, true))\n && isObject(desc)\n && has(desc, 'value')\n && !has(desc, 'get')\n && !has(desc, 'set')\n // TODO: add validation descriptor w/o calling accessors\n && !desc.configurable\n && (!has(desc, 'writable') || desc.writable)\n && (!has(desc, 'enumerable') || desc.enumerable)\n ) {\n target[key] = desc.value;\n return target;\n } return dP(target, key, desc);\n };\n\n if (!ALL_CONSTRUCTORS) {\n $GOPD.f = $getDesc;\n $DP.f = $setDesc;\n }\n\n $export($export.S + $export.F * !ALL_CONSTRUCTORS, 'Object', {\n getOwnPropertyDescriptor: $getDesc,\n defineProperty: $setDesc\n });\n\n if (fails(function () { arrayToString.call({}); })) {\n arrayToString = arrayToLocaleString = function toString() {\n return arrayJoin.call(this);\n };\n }\n\n var $TypedArrayPrototype$ = redefineAll({}, proto);\n redefineAll($TypedArrayPrototype$, $iterators);\n hide($TypedArrayPrototype$, ITERATOR, $iterators.values);\n redefineAll($TypedArrayPrototype$, {\n slice: $slice,\n set: $set,\n constructor: function () { /* noop */ },\n toString: arrayToString,\n toLocaleString: $toLocaleString\n });\n addGetter($TypedArrayPrototype$, 'buffer', 'b');\n addGetter($TypedArrayPrototype$, 'byteOffset', 'o');\n addGetter($TypedArrayPrototype$, 'byteLength', 'l');\n addGetter($TypedArrayPrototype$, 'length', 'e');\n dP($TypedArrayPrototype$, TAG, {\n get: function () { return this[TYPED_ARRAY]; }\n });\n\n // eslint-disable-next-line max-statements\n module.exports = function (KEY, BYTES, wrapper, CLAMPED) {\n CLAMPED = !!CLAMPED;\n var NAME = KEY + (CLAMPED ? 'Clamped' : '') + 'Array';\n var GETTER = 'get' + KEY;\n var SETTER = 'set' + KEY;\n var TypedArray = global[NAME];\n var Base = TypedArray || {};\n var TAC = TypedArray && getPrototypeOf(TypedArray);\n var FORCED = !TypedArray || !$typed.ABV;\n var O = {};\n var TypedArrayPrototype = TypedArray && TypedArray[PROTOTYPE];\n var getter = function (that, index) {\n var data = that._d;\n return data.v[GETTER](index * BYTES + data.o, LITTLE_ENDIAN);\n };\n var setter = function (that, index, value) {\n var data = that._d;\n if (CLAMPED) value = (value = Math.round(value)) < 0 ? 0 : value > 0xff ? 0xff : value & 0xff;\n data.v[SETTER](index * BYTES + data.o, value, LITTLE_ENDIAN);\n };\n var addElement = function (that, index) {\n dP(that, index, {\n get: function () {\n return getter(this, index);\n },\n set: function (value) {\n return setter(this, index, value);\n },\n enumerable: true\n });\n };\n if (FORCED) {\n TypedArray = wrapper(function (that, data, $offset, $length) {\n anInstance(that, TypedArray, NAME, '_d');\n var index = 0;\n var offset = 0;\n var buffer, byteLength, length, klass;\n if (!isObject(data)) {\n length = toIndex(data);\n byteLength = length * BYTES;\n buffer = new $ArrayBuffer(byteLength);\n } else if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) {\n buffer = data;\n offset = toOffset($offset, BYTES);\n var $len = data.byteLength;\n if ($length === undefined) {\n if ($len % BYTES) throw RangeError(WRONG_LENGTH);\n byteLength = $len - offset;\n if (byteLength < 0) throw RangeError(WRONG_LENGTH);\n } else {\n byteLength = toLength($length) * BYTES;\n if (byteLength + offset > $len) throw RangeError(WRONG_LENGTH);\n }\n length = byteLength / BYTES;\n } else if (TYPED_ARRAY in data) {\n return fromList(TypedArray, data);\n } else {\n return $from.call(TypedArray, data);\n }\n hide(that, '_d', {\n b: buffer,\n o: offset,\n l: byteLength,\n e: length,\n v: new $DataView(buffer)\n });\n while (index < length) addElement(that, index++);\n });\n TypedArrayPrototype = TypedArray[PROTOTYPE] = create($TypedArrayPrototype$);\n hide(TypedArrayPrototype, 'constructor', TypedArray);\n } else if (!fails(function () {\n TypedArray(1);\n }) || !fails(function () {\n new TypedArray(-1); // eslint-disable-line no-new\n }) || !$iterDetect(function (iter) {\n new TypedArray(); // eslint-disable-line no-new\n new TypedArray(null); // eslint-disable-line no-new\n new TypedArray(1.5); // eslint-disable-line no-new\n new TypedArray(iter); // eslint-disable-line no-new\n }, true)) {\n TypedArray = wrapper(function (that, data, $offset, $length) {\n anInstance(that, TypedArray, NAME);\n var klass;\n // `ws` module bug, temporarily remove validation length for Uint8Array\n // https://github.com/websockets/ws/pull/645\n if (!isObject(data)) return new Base(toIndex(data));\n if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) {\n return $length !== undefined\n ? new Base(data, toOffset($offset, BYTES), $length)\n : $offset !== undefined\n ? new Base(data, toOffset($offset, BYTES))\n : new Base(data);\n }\n if (TYPED_ARRAY in data) return fromList(TypedArray, data);\n return $from.call(TypedArray, data);\n });\n arrayForEach(TAC !== Function.prototype ? gOPN(Base).concat(gOPN(TAC)) : gOPN(Base), function (key) {\n if (!(key in TypedArray)) hide(TypedArray, key, Base[key]);\n });\n TypedArray[PROTOTYPE] = TypedArrayPrototype;\n if (!LIBRARY) TypedArrayPrototype.constructor = TypedArray;\n }\n var $nativeIterator = TypedArrayPrototype[ITERATOR];\n var CORRECT_ITER_NAME = !!$nativeIterator\n && ($nativeIterator.name == 'values' || $nativeIterator.name == undefined);\n var $iterator = $iterators.values;\n hide(TypedArray, TYPED_CONSTRUCTOR, true);\n hide(TypedArrayPrototype, TYPED_ARRAY, NAME);\n hide(TypedArrayPrototype, VIEW, true);\n hide(TypedArrayPrototype, DEF_CONSTRUCTOR, TypedArray);\n\n if (CLAMPED ? new TypedArray(1)[TAG] != NAME : !(TAG in TypedArrayPrototype)) {\n dP(TypedArrayPrototype, TAG, {\n get: function () { return NAME; }\n });\n }\n\n O[NAME] = TypedArray;\n\n $export($export.G + $export.W + $export.F * (TypedArray != Base), O);\n\n $export($export.S, NAME, {\n BYTES_PER_ELEMENT: BYTES\n });\n\n $export($export.S + $export.F * fails(function () { Base.of.call(TypedArray, 1); }), NAME, {\n from: $from,\n of: $of\n });\n\n if (!(BYTES_PER_ELEMENT in TypedArrayPrototype)) hide(TypedArrayPrototype, BYTES_PER_ELEMENT, BYTES);\n\n $export($export.P, NAME, proto);\n\n setSpecies(NAME);\n\n $export($export.P + $export.F * FORCED_SET, NAME, { set: $set });\n\n $export($export.P + $export.F * !CORRECT_ITER_NAME, NAME, $iterators);\n\n if (!LIBRARY && TypedArrayPrototype.toString != arrayToString) TypedArrayPrototype.toString = arrayToString;\n\n $export($export.P + $export.F * fails(function () {\n new TypedArray(1).slice();\n }), NAME, { slice: $slice });\n\n $export($export.P + $export.F * (fails(function () {\n return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString();\n }) || !fails(function () {\n TypedArrayPrototype.toLocaleString.call([1, 2]);\n })), NAME, { toLocaleString: $toLocaleString });\n\n Iterators[NAME] = CORRECT_ITER_NAME ? $nativeIterator : $iterator;\n if (!LIBRARY && !CORRECT_ITER_NAME) hide(TypedArrayPrototype, ITERATOR, $iterator);\n };\n} else module.exports = function () { /* empty */ };\n","'use strict';\nvar global = require('./_global');\nvar DESCRIPTORS = require('./_descriptors');\nvar LIBRARY = require('./_library');\nvar $typed = require('./_typed');\nvar hide = require('./_hide');\nvar redefineAll = require('./_redefine-all');\nvar fails = require('./_fails');\nvar anInstance = require('./_an-instance');\nvar toInteger = require('./_to-integer');\nvar toLength = require('./_to-length');\nvar toIndex = require('./_to-index');\nvar gOPN = require('./_object-gopn').f;\nvar dP = require('./_object-dp').f;\nvar arrayFill = require('./_array-fill');\nvar setToStringTag = require('./_set-to-string-tag');\nvar ARRAY_BUFFER = 'ArrayBuffer';\nvar DATA_VIEW = 'DataView';\nvar PROTOTYPE = 'prototype';\nvar WRONG_LENGTH = 'Wrong length!';\nvar WRONG_INDEX = 'Wrong index!';\nvar $ArrayBuffer = global[ARRAY_BUFFER];\nvar $DataView = global[DATA_VIEW];\nvar Math = global.Math;\nvar RangeError = global.RangeError;\n// eslint-disable-next-line no-shadow-restricted-names\nvar Infinity = global.Infinity;\nvar BaseBuffer = $ArrayBuffer;\nvar abs = Math.abs;\nvar pow = Math.pow;\nvar floor = Math.floor;\nvar log = Math.log;\nvar LN2 = Math.LN2;\nvar BUFFER = 'buffer';\nvar BYTE_LENGTH = 'byteLength';\nvar BYTE_OFFSET = 'byteOffset';\nvar $BUFFER = DESCRIPTORS ? '_b' : BUFFER;\nvar $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH;\nvar $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET;\n\n// IEEE754 conversions based on https://github.com/feross/ieee754\nfunction packIEEE754(value, mLen, nBytes) {\n var buffer = new Array(nBytes);\n var eLen = nBytes * 8 - mLen - 1;\n var eMax = (1 << eLen) - 1;\n var eBias = eMax >> 1;\n var rt = mLen === 23 ? pow(2, -24) - pow(2, -77) : 0;\n var i = 0;\n var s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0;\n var e, m, c;\n value = abs(value);\n // eslint-disable-next-line no-self-compare\n if (value != value || value === Infinity) {\n // eslint-disable-next-line no-self-compare\n m = value != value ? 1 : 0;\n e = eMax;\n } else {\n e = floor(log(value) / LN2);\n if (value * (c = pow(2, -e)) < 1) {\n e--;\n c *= 2;\n }\n if (e + eBias >= 1) {\n value += rt / c;\n } else {\n value += rt * pow(2, 1 - eBias);\n }\n if (value * c >= 2) {\n e++;\n c /= 2;\n }\n if (e + eBias >= eMax) {\n m = 0;\n e = eMax;\n } else if (e + eBias >= 1) {\n m = (value * c - 1) * pow(2, mLen);\n e = e + eBias;\n } else {\n m = value * pow(2, eBias - 1) * pow(2, mLen);\n e = 0;\n }\n }\n for (; mLen >= 8; buffer[i++] = m & 255, m /= 256, mLen -= 8);\n e = e << mLen | m;\n eLen += mLen;\n for (; eLen > 0; buffer[i++] = e & 255, e /= 256, eLen -= 8);\n buffer[--i] |= s * 128;\n return buffer;\n}\nfunction unpackIEEE754(buffer, mLen, nBytes) {\n var eLen = nBytes * 8 - mLen - 1;\n var eMax = (1 << eLen) - 1;\n var eBias = eMax >> 1;\n var nBits = eLen - 7;\n var i = nBytes - 1;\n var s = buffer[i--];\n var e = s & 127;\n var m;\n s >>= 7;\n for (; nBits > 0; e = e * 256 + buffer[i], i--, nBits -= 8);\n m = e & (1 << -nBits) - 1;\n e >>= -nBits;\n nBits += mLen;\n for (; nBits > 0; m = m * 256 + buffer[i], i--, nBits -= 8);\n if (e === 0) {\n e = 1 - eBias;\n } else if (e === eMax) {\n return m ? NaN : s ? -Infinity : Infinity;\n } else {\n m = m + pow(2, mLen);\n e = e - eBias;\n } return (s ? -1 : 1) * m * pow(2, e - mLen);\n}\n\nfunction unpackI32(bytes) {\n return bytes[3] << 24 | bytes[2] << 16 | bytes[1] << 8 | bytes[0];\n}\nfunction packI8(it) {\n return [it & 0xff];\n}\nfunction packI16(it) {\n return [it & 0xff, it >> 8 & 0xff];\n}\nfunction packI32(it) {\n return [it & 0xff, it >> 8 & 0xff, it >> 16 & 0xff, it >> 24 & 0xff];\n}\nfunction packF64(it) {\n return packIEEE754(it, 52, 8);\n}\nfunction packF32(it) {\n return packIEEE754(it, 23, 4);\n}\n\nfunction addGetter(C, key, internal) {\n dP(C[PROTOTYPE], key, { get: function () { return this[internal]; } });\n}\n\nfunction get(view, bytes, index, isLittleEndian) {\n var numIndex = +index;\n var intIndex = toIndex(numIndex);\n if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX);\n var store = view[$BUFFER]._b;\n var start = intIndex + view[$OFFSET];\n var pack = store.slice(start, start + bytes);\n return isLittleEndian ? pack : pack.reverse();\n}\nfunction set(view, bytes, index, conversion, value, isLittleEndian) {\n var numIndex = +index;\n var intIndex = toIndex(numIndex);\n if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX);\n var store = view[$BUFFER]._b;\n var start = intIndex + view[$OFFSET];\n var pack = conversion(+value);\n for (var i = 0; i < bytes; i++) store[start + i] = pack[isLittleEndian ? i : bytes - i - 1];\n}\n\nif (!$typed.ABV) {\n $ArrayBuffer = function ArrayBuffer(length) {\n anInstance(this, $ArrayBuffer, ARRAY_BUFFER);\n var byteLength = toIndex(length);\n this._b = arrayFill.call(new Array(byteLength), 0);\n this[$LENGTH] = byteLength;\n };\n\n $DataView = function DataView(buffer, byteOffset, byteLength) {\n anInstance(this, $DataView, DATA_VIEW);\n anInstance(buffer, $ArrayBuffer, DATA_VIEW);\n var bufferLength = buffer[$LENGTH];\n var offset = toInteger(byteOffset);\n if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset!');\n byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);\n if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH);\n this[$BUFFER] = buffer;\n this[$OFFSET] = offset;\n this[$LENGTH] = byteLength;\n };\n\n if (DESCRIPTORS) {\n addGetter($ArrayBuffer, BYTE_LENGTH, '_l');\n addGetter($DataView, BUFFER, '_b');\n addGetter($DataView, BYTE_LENGTH, '_l');\n addGetter($DataView, BYTE_OFFSET, '_o');\n }\n\n redefineAll($DataView[PROTOTYPE], {\n getInt8: function getInt8(byteOffset) {\n return get(this, 1, byteOffset)[0] << 24 >> 24;\n },\n getUint8: function getUint8(byteOffset) {\n return get(this, 1, byteOffset)[0];\n },\n getInt16: function getInt16(byteOffset /* , littleEndian */) {\n var bytes = get(this, 2, byteOffset, arguments[1]);\n return (bytes[1] << 8 | bytes[0]) << 16 >> 16;\n },\n getUint16: function getUint16(byteOffset /* , littleEndian */) {\n var bytes = get(this, 2, byteOffset, arguments[1]);\n return bytes[1] << 8 | bytes[0];\n },\n getInt32: function getInt32(byteOffset /* , littleEndian */) {\n return unpackI32(get(this, 4, byteOffset, arguments[1]));\n },\n getUint32: function getUint32(byteOffset /* , littleEndian */) {\n return unpackI32(get(this, 4, byteOffset, arguments[1])) >>> 0;\n },\n getFloat32: function getFloat32(byteOffset /* , littleEndian */) {\n return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23, 4);\n },\n getFloat64: function getFloat64(byteOffset /* , littleEndian */) {\n return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52, 8);\n },\n setInt8: function setInt8(byteOffset, value) {\n set(this, 1, byteOffset, packI8, value);\n },\n setUint8: function setUint8(byteOffset, value) {\n set(this, 1, byteOffset, packI8, value);\n },\n setInt16: function setInt16(byteOffset, value /* , littleEndian */) {\n set(this, 2, byteOffset, packI16, value, arguments[2]);\n },\n setUint16: function setUint16(byteOffset, value /* , littleEndian */) {\n set(this, 2, byteOffset, packI16, value, arguments[2]);\n },\n setInt32: function setInt32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packI32, value, arguments[2]);\n },\n setUint32: function setUint32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packI32, value, arguments[2]);\n },\n setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packF32, value, arguments[2]);\n },\n setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) {\n set(this, 8, byteOffset, packF64, value, arguments[2]);\n }\n });\n} else {\n if (!fails(function () {\n $ArrayBuffer(1);\n }) || !fails(function () {\n new $ArrayBuffer(-1); // eslint-disable-line no-new\n }) || fails(function () {\n new $ArrayBuffer(); // eslint-disable-line no-new\n new $ArrayBuffer(1.5); // eslint-disable-line no-new\n new $ArrayBuffer(NaN); // eslint-disable-line no-new\n return $ArrayBuffer.name != ARRAY_BUFFER;\n })) {\n $ArrayBuffer = function ArrayBuffer(length) {\n anInstance(this, $ArrayBuffer);\n return new BaseBuffer(toIndex(length));\n };\n var ArrayBufferProto = $ArrayBuffer[PROTOTYPE] = BaseBuffer[PROTOTYPE];\n for (var keys = gOPN(BaseBuffer), j = 0, key; keys.length > j;) {\n if (!((key = keys[j++]) in $ArrayBuffer)) hide($ArrayBuffer, key, BaseBuffer[key]);\n }\n if (!LIBRARY) ArrayBufferProto.constructor = $ArrayBuffer;\n }\n // iOS Safari 7.x bug\n var view = new $DataView(new $ArrayBuffer(2));\n var $setInt8 = $DataView[PROTOTYPE].setInt8;\n view.setInt8(0, 2147483648);\n view.setInt8(1, 2147483649);\n if (view.getInt8(0) || !view.getInt8(1)) redefineAll($DataView[PROTOTYPE], {\n setInt8: function setInt8(byteOffset, value) {\n $setInt8.call(this, byteOffset, value << 24 >> 24);\n },\n setUint8: function setUint8(byteOffset, value) {\n $setInt8.call(this, byteOffset, value << 24 >> 24);\n }\n }, true);\n}\nsetToStringTag($ArrayBuffer, ARRAY_BUFFER);\nsetToStringTag($DataView, DATA_VIEW);\nhide($DataView[PROTOTYPE], $typed.VIEW, true);\nexports[ARRAY_BUFFER] = $ArrayBuffer;\nexports[DATA_VIEW] = $DataView;\n","var global = require('./_global');\nvar hide = require('./_hide');\nvar uid = require('./_uid');\nvar TYPED = uid('typed_array');\nvar VIEW = uid('view');\nvar ABV = !!(global.ArrayBuffer && global.DataView);\nvar CONSTR = ABV;\nvar i = 0;\nvar l = 9;\nvar Typed;\n\nvar TypedArrayConstructors = (\n 'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array'\n).split(',');\n\nwhile (i < l) {\n if (Typed = global[TypedArrayConstructors[i++]]) {\n hide(Typed.prototype, TYPED, true);\n hide(Typed.prototype, VIEW, true);\n } else CONSTR = false;\n}\n\nmodule.exports = {\n ABV: ABV,\n CONSTR: CONSTR,\n TYPED: TYPED,\n VIEW: VIEW\n};\n","var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n","var global = require('./_global');\nvar navigator = global.navigator;\n\nmodule.exports = navigator && navigator.userAgent || '';\n","var isObject = require('./_is-object');\nmodule.exports = function (it, TYPE) {\n if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');\n return it;\n};\n","var global = require('./_global');\nvar core = require('./_core');\nvar LIBRARY = require('./_library');\nvar wksExt = require('./_wks-ext');\nvar defineProperty = require('./_object-dp').f;\nmodule.exports = function (name) {\n var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\n if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });\n};\n","exports.f = require('./_wks');\n","var store = require('./_shared')('wks');\nvar uid = require('./_uid');\nvar Symbol = require('./_global').Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n","var classof = require('./_classof');\nvar ITERATOR = require('./_wks')('iterator');\nvar Iterators = require('./_iterators');\nmodule.exports = require('./_core').getIteratorMethod = function (it) {\n if (it != undefined) return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n","// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\nvar $export = require('./_export');\n\n$export($export.P, 'Array', { copyWithin: require('./_array-copy-within') });\n\nrequire('./_add-to-unscopables')('copyWithin');\n","'use strict';\nvar $export = require('./_export');\nvar $every = require('./_array-methods')(4);\n\n$export($export.P + $export.F * !require('./_strict-method')([].every, true), 'Array', {\n // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg])\n every: function every(callbackfn /* , thisArg */) {\n return $every(this, callbackfn, arguments[1]);\n }\n});\n","// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\nvar $export = require('./_export');\n\n$export($export.P, 'Array', { fill: require('./_array-fill') });\n\nrequire('./_add-to-unscopables')('fill');\n","'use strict';\nvar $export = require('./_export');\nvar $filter = require('./_array-methods')(2);\n\n$export($export.P + $export.F * !require('./_strict-method')([].filter, true), 'Array', {\n // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments[1]);\n }\n});\n","'use strict';\n// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(6);\nvar KEY = 'findIndex';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n findIndex: function findIndex(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(5);\nvar KEY = 'find';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","'use strict';\nvar $export = require('./_export');\nvar $forEach = require('./_array-methods')(0);\nvar STRICT = require('./_strict-method')([].forEach, true);\n\n$export($export.P + $export.F * !STRICT, 'Array', {\n // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg])\n forEach: function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments[1]);\n }\n});\n","'use strict';\nvar ctx = require('./_ctx');\nvar $export = require('./_export');\nvar toObject = require('./_to-object');\nvar call = require('./_iter-call');\nvar isArrayIter = require('./_is-array-iter');\nvar toLength = require('./_to-length');\nvar createProperty = require('./_create-property');\nvar getIterFn = require('./core.get-iterator-method');\n\n$export($export.S + $export.F * !require('./_iter-detect')(function (iter) { Array.from(iter); }), 'Array', {\n // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)\n from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var C = typeof this == 'function' ? this : Array;\n var aLen = arguments.length;\n var mapfn = aLen > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n var index = 0;\n var iterFn = getIterFn(O);\n var length, result, step, iterator;\n if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);\n // if object isn't iterable or it's array with default iterator - use simple case\n if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) {\n for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) {\n createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);\n }\n } else {\n length = toLength(O.length);\n for (result = new C(length); length > index; index++) {\n createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);\n }\n }\n result.length = index;\n return result;\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $indexOf = require('./_array-includes')(false);\nvar $native = [].indexOf;\nvar NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0;\n\n$export($export.P + $export.F * (NEGATIVE_ZERO || !require('./_strict-method')($native)), 'Array', {\n // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? $native.apply(this, arguments) || 0\n : $indexOf(this, searchElement, arguments[1]);\n }\n});\n","// 22.1.2.2 / 15.4.3.2 Array.isArray(arg)\nvar $export = require('./_export');\n\n$export($export.S, 'Array', { isArray: require('./_is-array') });\n","'use strict';\nvar addToUnscopables = require('./_add-to-unscopables');\nvar step = require('./_iter-step');\nvar Iterators = require('./_iterators');\nvar toIObject = require('./_to-iobject');\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = require('./_iter-define')(Array, 'Array', function (iterated, kind) {\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var kind = this._k;\n var index = this._i++;\n if (!O || index >= O.length) {\n this._t = undefined;\n return step(1);\n }\n if (kind == 'keys') return step(0, index);\n if (kind == 'values') return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n","'use strict';\n// 22.1.3.13 Array.prototype.join(separator)\nvar $export = require('./_export');\nvar toIObject = require('./_to-iobject');\nvar arrayJoin = [].join;\n\n// fallback for not array-like strings\n$export($export.P + $export.F * (require('./_iobject') != Object || !require('./_strict-method')(arrayJoin)), 'Array', {\n join: function join(separator) {\n return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator);\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar toIObject = require('./_to-iobject');\nvar toInteger = require('./_to-integer');\nvar toLength = require('./_to-length');\nvar $native = [].lastIndexOf;\nvar NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0;\n\n$export($export.P + $export.F * (NEGATIVE_ZERO || !require('./_strict-method')($native)), 'Array', {\n // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])\n lastIndexOf: function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {\n // convert -0 to +0\n if (NEGATIVE_ZERO) return $native.apply(this, arguments) || 0;\n var O = toIObject(this);\n var length = toLength(O.length);\n var index = length - 1;\n if (arguments.length > 1) index = Math.min(index, toInteger(arguments[1]));\n if (index < 0) index = length + index;\n for (;index >= 0; index--) if (index in O) if (O[index] === searchElement) return index || 0;\n return -1;\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $map = require('./_array-methods')(1);\n\n$export($export.P + $export.F * !require('./_strict-method')([].map, true), 'Array', {\n // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments[1]);\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar createProperty = require('./_create-property');\n\n// WebKit Array.of isn't generic\n$export($export.S + $export.F * require('./_fails')(function () {\n function F() { /* empty */ }\n return !(Array.of.call(F) instanceof F);\n}), 'Array', {\n // 22.1.2.3 Array.of( ...items)\n of: function of(/* ...args */) {\n var index = 0;\n var aLen = arguments.length;\n var result = new (typeof this == 'function' ? this : Array)(aLen);\n while (aLen > index) createProperty(result, index, arguments[index++]);\n result.length = aLen;\n return result;\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $reduce = require('./_array-reduce');\n\n$export($export.P + $export.F * !require('./_strict-method')([].reduceRight, true), 'Array', {\n // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue])\n reduceRight: function reduceRight(callbackfn /* , initialValue */) {\n return $reduce(this, callbackfn, arguments.length, arguments[1], true);\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $reduce = require('./_array-reduce');\n\n$export($export.P + $export.F * !require('./_strict-method')([].reduce, true), 'Array', {\n // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])\n reduce: function reduce(callbackfn /* , initialValue */) {\n return $reduce(this, callbackfn, arguments.length, arguments[1], false);\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar html = require('./_html');\nvar cof = require('./_cof');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar toLength = require('./_to-length');\nvar arraySlice = [].slice;\n\n// fallback for not array-like ES3 strings and DOM objects\n$export($export.P + $export.F * require('./_fails')(function () {\n if (html) arraySlice.call(html);\n}), 'Array', {\n slice: function slice(begin, end) {\n var len = toLength(this.length);\n var klass = cof(this);\n end = end === undefined ? len : end;\n if (klass == 'Array') return arraySlice.call(this, begin, end);\n var start = toAbsoluteIndex(begin, len);\n var upTo = toAbsoluteIndex(end, len);\n var size = toLength(upTo - start);\n var cloned = new Array(size);\n var i = 0;\n for (; i < size; i++) cloned[i] = klass == 'String'\n ? this.charAt(start + i)\n : this[start + i];\n return cloned;\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $some = require('./_array-methods')(3);\n\n$export($export.P + $export.F * !require('./_strict-method')([].some, true), 'Array', {\n // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])\n some: function some(callbackfn /* , thisArg */) {\n return $some(this, callbackfn, arguments[1]);\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar aFunction = require('./_a-function');\nvar toObject = require('./_to-object');\nvar fails = require('./_fails');\nvar $sort = [].sort;\nvar test = [1, 2, 3];\n\n$export($export.P + $export.F * (fails(function () {\n // IE8-\n test.sort(undefined);\n}) || !fails(function () {\n // V8 bug\n test.sort(null);\n // Old WebKit\n}) || !require('./_strict-method')($sort)), 'Array', {\n // 22.1.3.25 Array.prototype.sort(comparefn)\n sort: function sort(comparefn) {\n return comparefn === undefined\n ? $sort.call(toObject(this))\n : $sort.call(toObject(this), aFunction(comparefn));\n }\n});\n","require('./_set-species')('Array');\n","// 20.3.3.1 / 15.9.4.4 Date.now()\nvar $export = require('./_export');\n\n$export($export.S, 'Date', { now: function () { return new Date().getTime(); } });\n","// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()\nvar $export = require('./_export');\nvar toISOString = require('./_date-to-iso-string');\n\n// PhantomJS / old WebKit has a broken implementations\n$export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'Date', {\n toISOString: toISOString\n});\n","'use strict';\nvar $export = require('./_export');\nvar toObject = require('./_to-object');\nvar toPrimitive = require('./_to-primitive');\n\n$export($export.P + $export.F * require('./_fails')(function () {\n return new Date(NaN).toJSON() !== null\n || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;\n}), 'Date', {\n // eslint-disable-next-line no-unused-vars\n toJSON: function toJSON(key) {\n var O = toObject(this);\n var pv = toPrimitive(O);\n return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();\n }\n});\n","var TO_PRIMITIVE = require('./_wks')('toPrimitive');\nvar proto = Date.prototype;\n\nif (!(TO_PRIMITIVE in proto)) require('./_hide')(proto, TO_PRIMITIVE, require('./_date-to-primitive'));\n","var DateProto = Date.prototype;\nvar INVALID_DATE = 'Invalid Date';\nvar TO_STRING = 'toString';\nvar $toString = DateProto[TO_STRING];\nvar getTime = DateProto.getTime;\nif (new Date(NaN) + '' != INVALID_DATE) {\n require('./_redefine')(DateProto, TO_STRING, function toString() {\n var value = getTime.call(this);\n // eslint-disable-next-line no-self-compare\n return value === value ? $toString.call(this) : INVALID_DATE;\n });\n}\n","// 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...)\nvar $export = require('./_export');\n\n$export($export.P, 'Function', { bind: require('./_bind') });\n","'use strict';\nvar isObject = require('./_is-object');\nvar getPrototypeOf = require('./_object-gpo');\nvar HAS_INSTANCE = require('./_wks')('hasInstance');\nvar FunctionProto = Function.prototype;\n// 19.2.3.6 Function.prototype[@@hasInstance](V)\nif (!(HAS_INSTANCE in FunctionProto)) require('./_object-dp').f(FunctionProto, HAS_INSTANCE, { value: function (O) {\n if (typeof this != 'function' || !isObject(O)) return false;\n if (!isObject(this.prototype)) return O instanceof this;\n // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:\n while (O = getPrototypeOf(O)) if (this.prototype === O) return true;\n return false;\n} });\n","var dP = require('./_object-dp').f;\nvar FProto = Function.prototype;\nvar nameRE = /^\\s*function ([^ (]*)/;\nvar NAME = 'name';\n\n// 19.2.4.2 name\nNAME in FProto || require('./_descriptors') && dP(FProto, NAME, {\n configurable: true,\n get: function () {\n try {\n return ('' + this).match(nameRE)[1];\n } catch (e) {\n return '';\n }\n }\n});\n","'use strict';\nvar strong = require('./_collection-strong');\nvar validate = require('./_validate-collection');\nvar MAP = 'Map';\n\n// 23.1 Map Objects\nmodule.exports = require('./_collection')(MAP, function (get) {\n return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.1.3.6 Map.prototype.get(key)\n get: function get(key) {\n var entry = strong.getEntry(validate(this, MAP), key);\n return entry && entry.v;\n },\n // 23.1.3.9 Map.prototype.set(key, value)\n set: function set(key, value) {\n return strong.def(validate(this, MAP), key === 0 ? 0 : key, value);\n }\n}, strong, true);\n","// 20.2.2.3 Math.acosh(x)\nvar $export = require('./_export');\nvar log1p = require('./_math-log1p');\nvar sqrt = Math.sqrt;\nvar $acosh = Math.acosh;\n\n$export($export.S + $export.F * !($acosh\n // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509\n && Math.floor($acosh(Number.MAX_VALUE)) == 710\n // Tor Browser bug: Math.acosh(Infinity) -> NaN\n && $acosh(Infinity) == Infinity\n), 'Math', {\n acosh: function acosh(x) {\n return (x = +x) < 1 ? NaN : x > 94906265.62425156\n ? Math.log(x) + Math.LN2\n : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));\n }\n});\n","// 20.2.2.5 Math.asinh(x)\nvar $export = require('./_export');\nvar $asinh = Math.asinh;\n\nfunction asinh(x) {\n return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1));\n}\n\n// Tor Browser bug: Math.asinh(0) -> -0\n$export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', { asinh: asinh });\n","// 20.2.2.7 Math.atanh(x)\nvar $export = require('./_export');\nvar $atanh = Math.atanh;\n\n// Tor Browser bug: Math.atanh(-0) -> 0\n$export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', {\n atanh: function atanh(x) {\n return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;\n }\n});\n","// 20.2.2.9 Math.cbrt(x)\nvar $export = require('./_export');\nvar sign = require('./_math-sign');\n\n$export($export.S, 'Math', {\n cbrt: function cbrt(x) {\n return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3);\n }\n});\n","// 20.2.2.11 Math.clz32(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n clz32: function clz32(x) {\n return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32;\n }\n});\n","// 20.2.2.12 Math.cosh(x)\nvar $export = require('./_export');\nvar exp = Math.exp;\n\n$export($export.S, 'Math', {\n cosh: function cosh(x) {\n return (exp(x = +x) + exp(-x)) / 2;\n }\n});\n","// 20.2.2.14 Math.expm1(x)\nvar $export = require('./_export');\nvar $expm1 = require('./_math-expm1');\n\n$export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', { expm1: $expm1 });\n","// 20.2.2.16 Math.fround(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', { fround: require('./_math-fround') });\n","// 20.2.2.17 Math.hypot([value1[, value2[, … ]]])\nvar $export = require('./_export');\nvar abs = Math.abs;\n\n$export($export.S, 'Math', {\n hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars\n var sum = 0;\n var i = 0;\n var aLen = arguments.length;\n var larg = 0;\n var arg, div;\n while (i < aLen) {\n arg = abs(arguments[i++]);\n if (larg < arg) {\n div = larg / arg;\n sum = sum * div * div + 1;\n larg = arg;\n } else if (arg > 0) {\n div = arg / larg;\n sum += div * div;\n } else sum += arg;\n }\n return larg === Infinity ? Infinity : larg * Math.sqrt(sum);\n }\n});\n","// 20.2.2.18 Math.imul(x, y)\nvar $export = require('./_export');\nvar $imul = Math.imul;\n\n// some WebKit versions fails with big numbers, some has wrong arity\n$export($export.S + $export.F * require('./_fails')(function () {\n return $imul(0xffffffff, 5) != -5 || $imul.length != 2;\n}), 'Math', {\n imul: function imul(x, y) {\n var UINT16 = 0xffff;\n var xn = +x;\n var yn = +y;\n var xl = UINT16 & xn;\n var yl = UINT16 & yn;\n return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);\n }\n});\n","// 20.2.2.21 Math.log10(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n log10: function log10(x) {\n return Math.log(x) * Math.LOG10E;\n }\n});\n","// 20.2.2.20 Math.log1p(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', { log1p: require('./_math-log1p') });\n","// 20.2.2.22 Math.log2(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n log2: function log2(x) {\n return Math.log(x) / Math.LN2;\n }\n});\n","// 20.2.2.28 Math.sign(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', { sign: require('./_math-sign') });\n","// 20.2.2.30 Math.sinh(x)\nvar $export = require('./_export');\nvar expm1 = require('./_math-expm1');\nvar exp = Math.exp;\n\n// V8 near Chromium 38 has a problem with very small numbers\n$export($export.S + $export.F * require('./_fails')(function () {\n return !Math.sinh(-2e-17) != -2e-17;\n}), 'Math', {\n sinh: function sinh(x) {\n return Math.abs(x = +x) < 1\n ? (expm1(x) - expm1(-x)) / 2\n : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2);\n }\n});\n","// 20.2.2.33 Math.tanh(x)\nvar $export = require('./_export');\nvar expm1 = require('./_math-expm1');\nvar exp = Math.exp;\n\n$export($export.S, 'Math', {\n tanh: function tanh(x) {\n var a = expm1(x = +x);\n var b = expm1(-x);\n return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));\n }\n});\n","// 20.2.2.34 Math.trunc(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n trunc: function trunc(it) {\n return (it > 0 ? Math.floor : Math.ceil)(it);\n }\n});\n","'use strict';\nvar global = require('./_global');\nvar has = require('./_has');\nvar cof = require('./_cof');\nvar inheritIfRequired = require('./_inherit-if-required');\nvar toPrimitive = require('./_to-primitive');\nvar fails = require('./_fails');\nvar gOPN = require('./_object-gopn').f;\nvar gOPD = require('./_object-gopd').f;\nvar dP = require('./_object-dp').f;\nvar $trim = require('./_string-trim').trim;\nvar NUMBER = 'Number';\nvar $Number = global[NUMBER];\nvar Base = $Number;\nvar proto = $Number.prototype;\n// Opera ~12 has broken Object#toString\nvar BROKEN_COF = cof(require('./_object-create')(proto)) == NUMBER;\nvar TRIM = 'trim' in String.prototype;\n\n// 7.1.3 ToNumber(argument)\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, false);\n if (typeof it == 'string' && it.length > 2) {\n it = TRIM ? it.trim() : $trim(it, 3);\n var first = it.charCodeAt(0);\n var third, radix, maxCode;\n if (first === 43 || first === 45) {\n third = it.charCodeAt(2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (it.charCodeAt(1)) {\n case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i\n case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i\n default: return +it;\n }\n for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) {\n code = digits.charCodeAt(i);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\nif (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {\n $Number = function Number(value) {\n var it = arguments.length < 1 ? 0 : value;\n var that = this;\n return that instanceof $Number\n // check on 1..constructor(foo) case\n && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER)\n ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);\n };\n for (var keys = require('./_descriptors') ? gOPN(Base) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES6 (in case, if modules with ES6 Number statics required before):\n 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +\n 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (has(Base, key = keys[j]) && !has($Number, key)) {\n dP($Number, key, gOPD(Base, key));\n }\n }\n $Number.prototype = proto;\n proto.constructor = $Number;\n require('./_redefine')(global, NUMBER, $Number);\n}\n","// 20.1.2.1 Number.EPSILON\nvar $export = require('./_export');\n\n$export($export.S, 'Number', { EPSILON: Math.pow(2, -52) });\n","// 20.1.2.2 Number.isFinite(number)\nvar $export = require('./_export');\nvar _isFinite = require('./_global').isFinite;\n\n$export($export.S, 'Number', {\n isFinite: function isFinite(it) {\n return typeof it == 'number' && _isFinite(it);\n }\n});\n","// 20.1.2.3 Number.isInteger(number)\nvar $export = require('./_export');\n\n$export($export.S, 'Number', { isInteger: require('./_is-integer') });\n","// 20.1.2.4 Number.isNaN(number)\nvar $export = require('./_export');\n\n$export($export.S, 'Number', {\n isNaN: function isNaN(number) {\n // eslint-disable-next-line no-self-compare\n return number != number;\n }\n});\n","// 20.1.2.5 Number.isSafeInteger(number)\nvar $export = require('./_export');\nvar isInteger = require('./_is-integer');\nvar abs = Math.abs;\n\n$export($export.S, 'Number', {\n isSafeInteger: function isSafeInteger(number) {\n return isInteger(number) && abs(number) <= 0x1fffffffffffff;\n }\n});\n","// 20.1.2.6 Number.MAX_SAFE_INTEGER\nvar $export = require('./_export');\n\n$export($export.S, 'Number', { MAX_SAFE_INTEGER: 0x1fffffffffffff });\n","// 20.1.2.10 Number.MIN_SAFE_INTEGER\nvar $export = require('./_export');\n\n$export($export.S, 'Number', { MIN_SAFE_INTEGER: -0x1fffffffffffff });\n","var $export = require('./_export');\nvar $parseFloat = require('./_parse-float');\n// 20.1.2.12 Number.parseFloat(string)\n$export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', { parseFloat: $parseFloat });\n","var $export = require('./_export');\nvar $parseInt = require('./_parse-int');\n// 20.1.2.13 Number.parseInt(string, radix)\n$export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', { parseInt: $parseInt });\n","'use strict';\nvar $export = require('./_export');\nvar toInteger = require('./_to-integer');\nvar aNumberValue = require('./_a-number-value');\nvar repeat = require('./_string-repeat');\nvar $toFixed = 1.0.toFixed;\nvar floor = Math.floor;\nvar data = [0, 0, 0, 0, 0, 0];\nvar ERROR = 'Number.toFixed: incorrect invocation!';\nvar ZERO = '0';\n\nvar multiply = function (n, c) {\n var i = -1;\n var c2 = c;\n while (++i < 6) {\n c2 += n * data[i];\n data[i] = c2 % 1e7;\n c2 = floor(c2 / 1e7);\n }\n};\nvar divide = function (n) {\n var i = 6;\n var c = 0;\n while (--i >= 0) {\n c += data[i];\n data[i] = floor(c / n);\n c = (c % n) * 1e7;\n }\n};\nvar numToString = function () {\n var i = 6;\n var s = '';\n while (--i >= 0) {\n if (s !== '' || i === 0 || data[i] !== 0) {\n var t = String(data[i]);\n s = s === '' ? t : s + repeat.call(ZERO, 7 - t.length) + t;\n }\n } return s;\n};\nvar pow = function (x, n, acc) {\n return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);\n};\nvar log = function (x) {\n var n = 0;\n var x2 = x;\n while (x2 >= 4096) {\n n += 12;\n x2 /= 4096;\n }\n while (x2 >= 2) {\n n += 1;\n x2 /= 2;\n } return n;\n};\n\n$export($export.P + $export.F * (!!$toFixed && (\n 0.00008.toFixed(3) !== '0.000' ||\n 0.9.toFixed(0) !== '1' ||\n 1.255.toFixed(2) !== '1.25' ||\n 1000000000000000128.0.toFixed(0) !== '1000000000000000128'\n) || !require('./_fails')(function () {\n // V8 ~ Android 4.3-\n $toFixed.call({});\n})), 'Number', {\n toFixed: function toFixed(fractionDigits) {\n var x = aNumberValue(this, ERROR);\n var f = toInteger(fractionDigits);\n var s = '';\n var m = ZERO;\n var e, z, j, k;\n if (f < 0 || f > 20) throw RangeError(ERROR);\n // eslint-disable-next-line no-self-compare\n if (x != x) return 'NaN';\n if (x <= -1e21 || x >= 1e21) return String(x);\n if (x < 0) {\n s = '-';\n x = -x;\n }\n if (x > 1e-21) {\n e = log(x * pow(2, 69, 1)) - 69;\n z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1);\n z *= 0x10000000000000;\n e = 52 - e;\n if (e > 0) {\n multiply(0, z);\n j = f;\n while (j >= 7) {\n multiply(1e7, 0);\n j -= 7;\n }\n multiply(pow(10, j, 1), 0);\n j = e - 1;\n while (j >= 23) {\n divide(1 << 23);\n j -= 23;\n }\n divide(1 << j);\n multiply(1, 1);\n divide(2);\n m = numToString();\n } else {\n multiply(0, z);\n multiply(1 << -e, 0);\n m = numToString() + repeat.call(ZERO, f);\n }\n }\n if (f > 0) {\n k = m.length;\n m = s + (k <= f ? '0.' + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f));\n } else {\n m = s + m;\n } return m;\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $fails = require('./_fails');\nvar aNumberValue = require('./_a-number-value');\nvar $toPrecision = 1.0.toPrecision;\n\n$export($export.P + $export.F * ($fails(function () {\n // IE7-\n return $toPrecision.call(1, undefined) !== '1';\n}) || !$fails(function () {\n // V8 ~ Android 4.3-\n $toPrecision.call({});\n})), 'Number', {\n toPrecision: function toPrecision(precision) {\n var that = aNumberValue(this, 'Number#toPrecision: incorrect invocation!');\n return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision);\n }\n});\n","// 19.1.3.1 Object.assign(target, source)\nvar $export = require('./_export');\n\n$export($export.S + $export.F, 'Object', { assign: require('./_object-assign') });\n","var $export = require('./_export');\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n$export($export.S, 'Object', { create: require('./_object-create') });\n","var $export = require('./_export');\n// 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties)\n$export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperties: require('./_object-dps') });\n","var $export = require('./_export');\n// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n$export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperty: require('./_object-dp').f });\n","// 19.1.2.5 Object.freeze(O)\nvar isObject = require('./_is-object');\nvar meta = require('./_meta').onFreeze;\n\nrequire('./_object-sap')('freeze', function ($freeze) {\n return function freeze(it) {\n return $freeze && isObject(it) ? $freeze(meta(it)) : it;\n };\n});\n","// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\nvar toIObject = require('./_to-iobject');\nvar $getOwnPropertyDescriptor = require('./_object-gopd').f;\n\nrequire('./_object-sap')('getOwnPropertyDescriptor', function () {\n return function getOwnPropertyDescriptor(it, key) {\n return $getOwnPropertyDescriptor(toIObject(it), key);\n };\n});\n","// 19.1.2.7 Object.getOwnPropertyNames(O)\nrequire('./_object-sap')('getOwnPropertyNames', function () {\n return require('./_object-gopn-ext').f;\n});\n","// 19.1.2.9 Object.getPrototypeOf(O)\nvar toObject = require('./_to-object');\nvar $getPrototypeOf = require('./_object-gpo');\n\nrequire('./_object-sap')('getPrototypeOf', function () {\n return function getPrototypeOf(it) {\n return $getPrototypeOf(toObject(it));\n };\n});\n","// 19.1.2.11 Object.isExtensible(O)\nvar isObject = require('./_is-object');\n\nrequire('./_object-sap')('isExtensible', function ($isExtensible) {\n return function isExtensible(it) {\n return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false;\n };\n});\n","// 19.1.2.12 Object.isFrozen(O)\nvar isObject = require('./_is-object');\n\nrequire('./_object-sap')('isFrozen', function ($isFrozen) {\n return function isFrozen(it) {\n return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true;\n };\n});\n","// 19.1.2.13 Object.isSealed(O)\nvar isObject = require('./_is-object');\n\nrequire('./_object-sap')('isSealed', function ($isSealed) {\n return function isSealed(it) {\n return isObject(it) ? $isSealed ? $isSealed(it) : false : true;\n };\n});\n","// 19.1.3.10 Object.is(value1, value2)\nvar $export = require('./_export');\n$export($export.S, 'Object', { is: require('./_same-value') });\n","// 19.1.2.14 Object.keys(O)\nvar toObject = require('./_to-object');\nvar $keys = require('./_object-keys');\n\nrequire('./_object-sap')('keys', function () {\n return function keys(it) {\n return $keys(toObject(it));\n };\n});\n","// 19.1.2.15 Object.preventExtensions(O)\nvar isObject = require('./_is-object');\nvar meta = require('./_meta').onFreeze;\n\nrequire('./_object-sap')('preventExtensions', function ($preventExtensions) {\n return function preventExtensions(it) {\n return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it;\n };\n});\n","// 19.1.2.17 Object.seal(O)\nvar isObject = require('./_is-object');\nvar meta = require('./_meta').onFreeze;\n\nrequire('./_object-sap')('seal', function ($seal) {\n return function seal(it) {\n return $seal && isObject(it) ? $seal(meta(it)) : it;\n };\n});\n","// 19.1.3.19 Object.setPrototypeOf(O, proto)\nvar $export = require('./_export');\n$export($export.S, 'Object', { setPrototypeOf: require('./_set-proto').set });\n","'use strict';\n// 19.1.3.6 Object.prototype.toString()\nvar classof = require('./_classof');\nvar test = {};\ntest[require('./_wks')('toStringTag')] = 'z';\nif (test + '' != '[object z]') {\n require('./_redefine')(Object.prototype, 'toString', function toString() {\n return '[object ' + classof(this) + ']';\n }, true);\n}\n","var $export = require('./_export');\nvar $parseFloat = require('./_parse-float');\n// 18.2.4 parseFloat(string)\n$export($export.G + $export.F * (parseFloat != $parseFloat), { parseFloat: $parseFloat });\n","var $export = require('./_export');\nvar $parseInt = require('./_parse-int');\n// 18.2.5 parseInt(string, radix)\n$export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt });\n","'use strict';\nvar LIBRARY = require('./_library');\nvar global = require('./_global');\nvar ctx = require('./_ctx');\nvar classof = require('./_classof');\nvar $export = require('./_export');\nvar isObject = require('./_is-object');\nvar aFunction = require('./_a-function');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar speciesConstructor = require('./_species-constructor');\nvar task = require('./_task').set;\nvar microtask = require('./_microtask')();\nvar newPromiseCapabilityModule = require('./_new-promise-capability');\nvar perform = require('./_perform');\nvar userAgent = require('./_user-agent');\nvar promiseResolve = require('./_promise-resolve');\nvar PROMISE = 'Promise';\nvar TypeError = global.TypeError;\nvar process = global.process;\nvar versions = process && process.versions;\nvar v8 = versions && versions.v8 || '';\nvar $Promise = global[PROMISE];\nvar isNode = classof(process) == 'process';\nvar empty = function () { /* empty */ };\nvar Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper;\nvar newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f;\n\nvar USE_NATIVE = !!function () {\n try {\n // correct subclassing with @@species support\n var promise = $Promise.resolve(1);\n var FakePromise = (promise.constructor = {})[require('./_wks')('species')] = function (exec) {\n exec(empty, empty);\n };\n // unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n return (isNode || typeof PromiseRejectionEvent == 'function')\n && promise.then(empty) instanceof FakePromise\n // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n // we can't detect it synchronously, so just check versions\n && v8.indexOf('6.6') !== 0\n && userAgent.indexOf('Chrome/66') === -1;\n } catch (e) { /* empty */ }\n}();\n\n// helpers\nvar isThenable = function (it) {\n var then;\n return isObject(it) && typeof (then = it.then) == 'function' ? then : false;\n};\nvar notify = function (promise, isReject) {\n if (promise._n) return;\n promise._n = true;\n var chain = promise._c;\n microtask(function () {\n var value = promise._v;\n var ok = promise._s == 1;\n var i = 0;\n var run = function (reaction) {\n var handler = ok ? reaction.ok : reaction.fail;\n var resolve = reaction.resolve;\n var reject = reaction.reject;\n var domain = reaction.domain;\n var result, then, exited;\n try {\n if (handler) {\n if (!ok) {\n if (promise._h == 2) onHandleUnhandled(promise);\n promise._h = 1;\n }\n if (handler === true) result = value;\n else {\n if (domain) domain.enter();\n result = handler(value); // may throw\n if (domain) {\n domain.exit();\n exited = true;\n }\n }\n if (result === reaction.promise) {\n reject(TypeError('Promise-chain cycle'));\n } else if (then = isThenable(result)) {\n then.call(result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch (e) {\n if (domain && !exited) domain.exit();\n reject(e);\n }\n };\n while (chain.length > i) run(chain[i++]); // variable length - can't use forEach\n promise._c = [];\n promise._n = false;\n if (isReject && !promise._h) onUnhandled(promise);\n });\n};\nvar onUnhandled = function (promise) {\n task.call(global, function () {\n var value = promise._v;\n var unhandled = isUnhandled(promise);\n var result, handler, console;\n if (unhandled) {\n result = perform(function () {\n if (isNode) {\n process.emit('unhandledRejection', value, promise);\n } else if (handler = global.onunhandledrejection) {\n handler({ promise: promise, reason: value });\n } else if ((console = global.console) && console.error) {\n console.error('Unhandled promise rejection', value);\n }\n });\n // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n promise._h = isNode || isUnhandled(promise) ? 2 : 1;\n } promise._a = undefined;\n if (unhandled && result.e) throw result.v;\n });\n};\nvar isUnhandled = function (promise) {\n return promise._h !== 1 && (promise._a || promise._c).length === 0;\n};\nvar onHandleUnhandled = function (promise) {\n task.call(global, function () {\n var handler;\n if (isNode) {\n process.emit('rejectionHandled', promise);\n } else if (handler = global.onrejectionhandled) {\n handler({ promise: promise, reason: promise._v });\n }\n });\n};\nvar $reject = function (value) {\n var promise = this;\n if (promise._d) return;\n promise._d = true;\n promise = promise._w || promise; // unwrap\n promise._v = value;\n promise._s = 2;\n if (!promise._a) promise._a = promise._c.slice();\n notify(promise, true);\n};\nvar $resolve = function (value) {\n var promise = this;\n var then;\n if (promise._d) return;\n promise._d = true;\n promise = promise._w || promise; // unwrap\n try {\n if (promise === value) throw TypeError(\"Promise can't be resolved itself\");\n if (then = isThenable(value)) {\n microtask(function () {\n var wrapper = { _w: promise, _d: false }; // wrap\n try {\n then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));\n } catch (e) {\n $reject.call(wrapper, e);\n }\n });\n } else {\n promise._v = value;\n promise._s = 1;\n notify(promise, false);\n }\n } catch (e) {\n $reject.call({ _w: promise, _d: false }, e); // wrap\n }\n};\n\n// constructor polyfill\nif (!USE_NATIVE) {\n // 25.4.3.1 Promise(executor)\n $Promise = function Promise(executor) {\n anInstance(this, $Promise, PROMISE, '_h');\n aFunction(executor);\n Internal.call(this);\n try {\n executor(ctx($resolve, this, 1), ctx($reject, this, 1));\n } catch (err) {\n $reject.call(this, err);\n }\n };\n // eslint-disable-next-line no-unused-vars\n Internal = function Promise(executor) {\n this._c = []; // <- awaiting reactions\n this._a = undefined; // <- checked in isUnhandled reactions\n this._s = 0; // <- state\n this._d = false; // <- done\n this._v = undefined; // <- value\n this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled\n this._n = false; // <- notify\n };\n Internal.prototype = require('./_redefine-all')($Promise.prototype, {\n // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)\n then: function then(onFulfilled, onRejected) {\n var reaction = newPromiseCapability(speciesConstructor(this, $Promise));\n reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;\n reaction.fail = typeof onRejected == 'function' && onRejected;\n reaction.domain = isNode ? process.domain : undefined;\n this._c.push(reaction);\n if (this._a) this._a.push(reaction);\n if (this._s) notify(this, false);\n return reaction.promise;\n },\n // 25.4.5.1 Promise.prototype.catch(onRejected)\n 'catch': function (onRejected) {\n return this.then(undefined, onRejected);\n }\n });\n OwnPromiseCapability = function () {\n var promise = new Internal();\n this.promise = promise;\n this.resolve = ctx($resolve, promise, 1);\n this.reject = ctx($reject, promise, 1);\n };\n newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n return C === $Promise || C === Wrapper\n ? new OwnPromiseCapability(C)\n : newGenericPromiseCapability(C);\n };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise });\nrequire('./_set-to-string-tag')($Promise, PROMISE);\nrequire('./_set-species')(PROMISE);\nWrapper = require('./_core')[PROMISE];\n\n// statics\n$export($export.S + $export.F * !USE_NATIVE, PROMISE, {\n // 25.4.4.5 Promise.reject(r)\n reject: function reject(r) {\n var capability = newPromiseCapability(this);\n var $$reject = capability.reject;\n $$reject(r);\n return capability.promise;\n }\n});\n$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, {\n // 25.4.4.6 Promise.resolve(x)\n resolve: function resolve(x) {\n return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x);\n }\n});\n$export($export.S + $export.F * !(USE_NATIVE && require('./_iter-detect')(function (iter) {\n $Promise.all(iter)['catch'](empty);\n})), PROMISE, {\n // 25.4.4.1 Promise.all(iterable)\n all: function all(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var values = [];\n var index = 0;\n var remaining = 1;\n forOf(iterable, false, function (promise) {\n var $index = index++;\n var alreadyCalled = false;\n values.push(undefined);\n remaining++;\n C.resolve(promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[$index] = value;\n --remaining || resolve(values);\n }, reject);\n });\n --remaining || resolve(values);\n });\n if (result.e) reject(result.v);\n return capability.promise;\n },\n // 25.4.4.4 Promise.race(iterable)\n race: function race(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var reject = capability.reject;\n var result = perform(function () {\n forOf(iterable, false, function (promise) {\n C.resolve(promise).then(capability.resolve, reject);\n });\n });\n if (result.e) reject(result.v);\n return capability.promise;\n }\n});\n","// 26.1.1 Reflect.apply(target, thisArgument, argumentsList)\nvar $export = require('./_export');\nvar aFunction = require('./_a-function');\nvar anObject = require('./_an-object');\nvar rApply = (require('./_global').Reflect || {}).apply;\nvar fApply = Function.apply;\n// MS Edge argumentsList argument is optional\n$export($export.S + $export.F * !require('./_fails')(function () {\n rApply(function () { /* empty */ });\n}), 'Reflect', {\n apply: function apply(target, thisArgument, argumentsList) {\n var T = aFunction(target);\n var L = anObject(argumentsList);\n return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L);\n }\n});\n","// 26.1.2 Reflect.construct(target, argumentsList [, newTarget])\nvar $export = require('./_export');\nvar create = require('./_object-create');\nvar aFunction = require('./_a-function');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar fails = require('./_fails');\nvar bind = require('./_bind');\nvar rConstruct = (require('./_global').Reflect || {}).construct;\n\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\nvar NEW_TARGET_BUG = fails(function () {\n function F() { /* empty */ }\n return !(rConstruct(function () { /* empty */ }, [], F) instanceof F);\n});\nvar ARGS_BUG = !fails(function () {\n rConstruct(function () { /* empty */ });\n});\n\n$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', {\n construct: function construct(Target, args /* , newTarget */) {\n aFunction(Target);\n anObject(args);\n var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);\n if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget);\n if (Target == newTarget) {\n // w/o altered newTarget, optimization for 0-4 arguments\n switch (args.length) {\n case 0: return new Target();\n case 1: return new Target(args[0]);\n case 2: return new Target(args[0], args[1]);\n case 3: return new Target(args[0], args[1], args[2]);\n case 4: return new Target(args[0], args[1], args[2], args[3]);\n }\n // w/o altered newTarget, lot of arguments case\n var $args = [null];\n $args.push.apply($args, args);\n return new (bind.apply(Target, $args))();\n }\n // with altered newTarget, not support built-in constructors\n var proto = newTarget.prototype;\n var instance = create(isObject(proto) ? proto : Object.prototype);\n var result = Function.apply.call(Target, instance, args);\n return isObject(result) ? result : instance;\n }\n});\n","// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)\nvar dP = require('./_object-dp');\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar toPrimitive = require('./_to-primitive');\n\n// MS Edge has broken Reflect.defineProperty - throwing instead of returning false\n$export($export.S + $export.F * require('./_fails')(function () {\n // eslint-disable-next-line no-undef\n Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 });\n}), 'Reflect', {\n defineProperty: function defineProperty(target, propertyKey, attributes) {\n anObject(target);\n propertyKey = toPrimitive(propertyKey, true);\n anObject(attributes);\n try {\n dP.f(target, propertyKey, attributes);\n return true;\n } catch (e) {\n return false;\n }\n }\n});\n","// 26.1.4 Reflect.deleteProperty(target, propertyKey)\nvar $export = require('./_export');\nvar gOPD = require('./_object-gopd').f;\nvar anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n deleteProperty: function deleteProperty(target, propertyKey) {\n var desc = gOPD(anObject(target), propertyKey);\n return desc && !desc.configurable ? false : delete target[propertyKey];\n }\n});\n","'use strict';\n// 26.1.5 Reflect.enumerate(target)\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar Enumerate = function (iterated) {\n this._t = anObject(iterated); // target\n this._i = 0; // next index\n var keys = this._k = []; // keys\n var key;\n for (key in iterated) keys.push(key);\n};\nrequire('./_iter-create')(Enumerate, 'Object', function () {\n var that = this;\n var keys = that._k;\n var key;\n do {\n if (that._i >= keys.length) return { value: undefined, done: true };\n } while (!((key = keys[that._i++]) in that._t));\n return { value: key, done: false };\n});\n\n$export($export.S, 'Reflect', {\n enumerate: function enumerate(target) {\n return new Enumerate(target);\n }\n});\n","// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)\nvar gOPD = require('./_object-gopd');\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) {\n return gOPD.f(anObject(target), propertyKey);\n }\n});\n","// 26.1.8 Reflect.getPrototypeOf(target)\nvar $export = require('./_export');\nvar getProto = require('./_object-gpo');\nvar anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n getPrototypeOf: function getPrototypeOf(target) {\n return getProto(anObject(target));\n }\n});\n","// 26.1.6 Reflect.get(target, propertyKey [, receiver])\nvar gOPD = require('./_object-gopd');\nvar getPrototypeOf = require('./_object-gpo');\nvar has = require('./_has');\nvar $export = require('./_export');\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\n\nfunction get(target, propertyKey /* , receiver */) {\n var receiver = arguments.length < 3 ? target : arguments[2];\n var desc, proto;\n if (anObject(target) === receiver) return target[propertyKey];\n if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value')\n ? desc.value\n : desc.get !== undefined\n ? desc.get.call(receiver)\n : undefined;\n if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver);\n}\n\n$export($export.S, 'Reflect', { get: get });\n","// 26.1.9 Reflect.has(target, propertyKey)\nvar $export = require('./_export');\n\n$export($export.S, 'Reflect', {\n has: function has(target, propertyKey) {\n return propertyKey in target;\n }\n});\n","// 26.1.10 Reflect.isExtensible(target)\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar $isExtensible = Object.isExtensible;\n\n$export($export.S, 'Reflect', {\n isExtensible: function isExtensible(target) {\n anObject(target);\n return $isExtensible ? $isExtensible(target) : true;\n }\n});\n","// 26.1.11 Reflect.ownKeys(target)\nvar $export = require('./_export');\n\n$export($export.S, 'Reflect', { ownKeys: require('./_own-keys') });\n","// 26.1.12 Reflect.preventExtensions(target)\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar $preventExtensions = Object.preventExtensions;\n\n$export($export.S, 'Reflect', {\n preventExtensions: function preventExtensions(target) {\n anObject(target);\n try {\n if ($preventExtensions) $preventExtensions(target);\n return true;\n } catch (e) {\n return false;\n }\n }\n});\n","// 26.1.14 Reflect.setPrototypeOf(target, proto)\nvar $export = require('./_export');\nvar setProto = require('./_set-proto');\n\nif (setProto) $export($export.S, 'Reflect', {\n setPrototypeOf: function setPrototypeOf(target, proto) {\n setProto.check(target, proto);\n try {\n setProto.set(target, proto);\n return true;\n } catch (e) {\n return false;\n }\n }\n});\n","// 26.1.13 Reflect.set(target, propertyKey, V [, receiver])\nvar dP = require('./_object-dp');\nvar gOPD = require('./_object-gopd');\nvar getPrototypeOf = require('./_object-gpo');\nvar has = require('./_has');\nvar $export = require('./_export');\nvar createDesc = require('./_property-desc');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\n\nfunction set(target, propertyKey, V /* , receiver */) {\n var receiver = arguments.length < 4 ? target : arguments[3];\n var ownDesc = gOPD.f(anObject(target), propertyKey);\n var existingDescriptor, proto;\n if (!ownDesc) {\n if (isObject(proto = getPrototypeOf(target))) {\n return set(proto, propertyKey, V, receiver);\n }\n ownDesc = createDesc(0);\n }\n if (has(ownDesc, 'value')) {\n if (ownDesc.writable === false || !isObject(receiver)) return false;\n if (existingDescriptor = gOPD.f(receiver, propertyKey)) {\n if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false;\n existingDescriptor.value = V;\n dP.f(receiver, propertyKey, existingDescriptor);\n } else dP.f(receiver, propertyKey, createDesc(0, V));\n return true;\n }\n return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);\n}\n\n$export($export.S, 'Reflect', { set: set });\n","var global = require('./_global');\nvar inheritIfRequired = require('./_inherit-if-required');\nvar dP = require('./_object-dp').f;\nvar gOPN = require('./_object-gopn').f;\nvar isRegExp = require('./_is-regexp');\nvar $flags = require('./_flags');\nvar $RegExp = global.RegExp;\nvar Base = $RegExp;\nvar proto = $RegExp.prototype;\nvar re1 = /a/g;\nvar re2 = /a/g;\n// \"new\" creates a new object, old webkit buggy here\nvar CORRECT_NEW = new $RegExp(re1) !== re1;\n\nif (require('./_descriptors') && (!CORRECT_NEW || require('./_fails')(function () {\n re2[require('./_wks')('match')] = false;\n // RegExp constructor can alter flags and IsRegExp works correct with @@match\n return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';\n}))) {\n $RegExp = function RegExp(p, f) {\n var tiRE = this instanceof $RegExp;\n var piRE = isRegExp(p);\n var fiU = f === undefined;\n return !tiRE && piRE && p.constructor === $RegExp && fiU ? p\n : inheritIfRequired(CORRECT_NEW\n ? new Base(piRE && !fiU ? p.source : p, f)\n : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)\n , tiRE ? this : proto, $RegExp);\n };\n var proxy = function (key) {\n key in $RegExp || dP($RegExp, key, {\n configurable: true,\n get: function () { return Base[key]; },\n set: function (it) { Base[key] = it; }\n });\n };\n for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]);\n proto.constructor = $RegExp;\n $RegExp.prototype = proto;\n require('./_redefine')(global, 'RegExp', $RegExp);\n}\n\nrequire('./_set-species')('RegExp');\n","'use strict';\nvar regexpExec = require('./_regexp-exec');\nrequire('./_export')({\n target: 'RegExp',\n proto: true,\n forced: regexpExec !== /./.exec\n}, {\n exec: regexpExec\n});\n","// 21.2.5.3 get RegExp.prototype.flags()\nif (require('./_descriptors') && /./g.flags != 'g') require('./_object-dp').f(RegExp.prototype, 'flags', {\n configurable: true,\n get: require('./_flags')\n});\n","'use strict';\n\nvar anObject = require('./_an-object');\nvar toLength = require('./_to-length');\nvar advanceStringIndex = require('./_advance-string-index');\nvar regExpExec = require('./_regexp-exec-abstract');\n\n// @@match logic\nrequire('./_fix-re-wks')('match', 1, function (defined, MATCH, $match, maybeCallNative) {\n return [\n // `String.prototype.match` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.match\n function match(regexp) {\n var O = defined(this);\n var fn = regexp == undefined ? undefined : regexp[MATCH];\n return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));\n },\n // `RegExp.prototype[@@match]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match\n function (regexp) {\n var res = maybeCallNative($match, regexp, this);\n if (res.done) return res.value;\n var rx = anObject(regexp);\n var S = String(this);\n if (!rx.global) return regExpExec(rx, S);\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n var A = [];\n var n = 0;\n var result;\n while ((result = regExpExec(rx, S)) !== null) {\n var matchStr = String(result[0]);\n A[n] = matchStr;\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n n++;\n }\n return n === 0 ? null : A;\n }\n ];\n});\n","'use strict';\n\nvar anObject = require('./_an-object');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar toInteger = require('./_to-integer');\nvar advanceStringIndex = require('./_advance-string-index');\nvar regExpExec = require('./_regexp-exec-abstract');\nvar max = Math.max;\nvar min = Math.min;\nvar floor = Math.floor;\nvar SUBSTITUTION_SYMBOLS = /\\$([$&`']|\\d\\d?|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&`']|\\d\\d?)/g;\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// @@replace logic\nrequire('./_fix-re-wks')('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) {\n return [\n // `String.prototype.replace` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = defined(this);\n var fn = searchValue == undefined ? undefined : searchValue[REPLACE];\n return fn !== undefined\n ? fn.call(searchValue, O, replaceValue)\n : $replace.call(String(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace\n function (regexp, replaceValue) {\n var res = maybeCallNative($replace, regexp, this, replaceValue);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n var functionalReplace = typeof replaceValue === 'function';\n if (!functionalReplace) replaceValue = String(replaceValue);\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n results.push(result);\n if (!global) break;\n var matchStr = String(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n var matched = String(result[0]);\n var position = max(min(toInteger(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = [matched].concat(captures, position, S);\n if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);\n var replacement = String(replaceValue.apply(undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += S.slice(nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + S.slice(nextSourcePosition);\n }\n ];\n\n // https://tc39.github.io/ecma262/#sec-getsubstitution\n function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return $replace.call(replacement, symbols, function (match, ch) {\n var capture;\n switch (ch.charAt(0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return str.slice(0, position);\n case \"'\": return str.slice(tailPos);\n case '<':\n capture = namedCaptures[ch.slice(1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n }\n});\n","'use strict';\n\nvar anObject = require('./_an-object');\nvar sameValue = require('./_same-value');\nvar regExpExec = require('./_regexp-exec-abstract');\n\n// @@search logic\nrequire('./_fix-re-wks')('search', 1, function (defined, SEARCH, $search, maybeCallNative) {\n return [\n // `String.prototype.search` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.search\n function search(regexp) {\n var O = defined(this);\n var fn = regexp == undefined ? undefined : regexp[SEARCH];\n return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));\n },\n // `RegExp.prototype[@@search]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search\n function (regexp) {\n var res = maybeCallNative($search, regexp, this);\n if (res.done) return res.value;\n var rx = anObject(regexp);\n var S = String(this);\n var previousLastIndex = rx.lastIndex;\n if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;\n var result = regExpExec(rx, S);\n if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;\n return result === null ? -1 : result.index;\n }\n ];\n});\n","'use strict';\n\nvar isRegExp = require('./_is-regexp');\nvar anObject = require('./_an-object');\nvar speciesConstructor = require('./_species-constructor');\nvar advanceStringIndex = require('./_advance-string-index');\nvar toLength = require('./_to-length');\nvar callRegExpExec = require('./_regexp-exec-abstract');\nvar regexpExec = require('./_regexp-exec');\nvar fails = require('./_fails');\nvar $min = Math.min;\nvar $push = [].push;\nvar $SPLIT = 'split';\nvar LENGTH = 'length';\nvar LAST_INDEX = 'lastIndex';\nvar MAX_UINT32 = 0xffffffff;\n\n// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError\nvar SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); });\n\n// @@split logic\nrequire('./_fix-re-wks')('split', 2, function (defined, SPLIT, $split, maybeCallNative) {\n var internalSplit;\n if (\n 'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||\n 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||\n 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||\n '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||\n '.'[$SPLIT](/()()/)[LENGTH] > 1 ||\n ''[$SPLIT](/.?/)[LENGTH]\n ) {\n // based on es5-shim implementation, need to rework it\n internalSplit = function (separator, limit) {\n var string = String(this);\n if (separator === undefined && limit === 0) return [];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) return $split.call(string, separator, limit);\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var match, lastIndex, lastLength;\n while (match = regexpExec.call(separatorCopy, string)) {\n lastIndex = separatorCopy[LAST_INDEX];\n if (lastIndex > lastLastIndex) {\n output.push(string.slice(lastLastIndex, match.index));\n if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));\n lastLength = match[0][LENGTH];\n lastLastIndex = lastIndex;\n if (output[LENGTH] >= splitLimit) break;\n }\n if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop\n }\n if (lastLastIndex === string[LENGTH]) {\n if (lastLength || !separatorCopy.test('')) output.push('');\n } else output.push(string.slice(lastLastIndex));\n return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;\n };\n // Chakra, V8\n } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) {\n internalSplit = function (separator, limit) {\n return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit);\n };\n } else {\n internalSplit = $split;\n }\n\n return [\n // `String.prototype.split` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.split\n function split(separator, limit) {\n var O = defined(this);\n var splitter = separator == undefined ? undefined : separator[SPLIT];\n return splitter !== undefined\n ? splitter.call(separator, O, limit)\n : internalSplit.call(String(O), separator, limit);\n },\n // `RegExp.prototype[@@split]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split\n //\n // NOTE: This cannot be properly polyfilled in engines that don't support\n // the 'y' flag.\n function (regexp, limit) {\n var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n var C = speciesConstructor(rx, RegExp);\n\n var unicodeMatching = rx.unicode;\n var flags = (rx.ignoreCase ? 'i' : '') +\n (rx.multiline ? 'm' : '') +\n (rx.unicode ? 'u' : '') +\n (SUPPORTS_Y ? 'y' : 'g');\n\n // ^(? + rx + ) is needed, in combination with some S slicing, to\n // simulate the 'y' flag.\n var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n var p = 0;\n var q = 0;\n var A = [];\n while (q < S.length) {\n splitter.lastIndex = SUPPORTS_Y ? q : 0;\n var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));\n var e;\n if (\n z === null ||\n (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p\n ) {\n q = advanceStringIndex(S, q, unicodeMatching);\n } else {\n A.push(S.slice(p, q));\n if (A.length === lim) return A;\n for (var i = 1; i <= z.length - 1; i++) {\n A.push(z[i]);\n if (A.length === lim) return A;\n }\n q = p = e;\n }\n }\n A.push(S.slice(p));\n return A;\n }\n ];\n});\n","'use strict';\nrequire('./es6.regexp.flags');\nvar anObject = require('./_an-object');\nvar $flags = require('./_flags');\nvar DESCRIPTORS = require('./_descriptors');\nvar TO_STRING = 'toString';\nvar $toString = /./[TO_STRING];\n\nvar define = function (fn) {\n require('./_redefine')(RegExp.prototype, TO_STRING, fn, true);\n};\n\n// 21.2.5.14 RegExp.prototype.toString()\nif (require('./_fails')(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {\n define(function toString() {\n var R = anObject(this);\n return '/'.concat(R.source, '/',\n 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);\n });\n// FF44- RegExp#toString has a wrong name\n} else if ($toString.name != TO_STRING) {\n define(function toString() {\n return $toString.call(this);\n });\n}\n","'use strict';\nvar strong = require('./_collection-strong');\nvar validate = require('./_validate-collection');\nvar SET = 'Set';\n\n// 23.2 Set Objects\nmodule.exports = require('./_collection')(SET, function (get) {\n return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.2.3.1 Set.prototype.add(value)\n add: function add(value) {\n return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value);\n }\n}, strong);\n","'use strict';\n// B.2.3.2 String.prototype.anchor(name)\nrequire('./_string-html')('anchor', function (createHTML) {\n return function anchor(name) {\n return createHTML(this, 'a', 'name', name);\n };\n});\n","'use strict';\n// B.2.3.3 String.prototype.big()\nrequire('./_string-html')('big', function (createHTML) {\n return function big() {\n return createHTML(this, 'big', '', '');\n };\n});\n","'use strict';\n// B.2.3.4 String.prototype.blink()\nrequire('./_string-html')('blink', function (createHTML) {\n return function blink() {\n return createHTML(this, 'blink', '', '');\n };\n});\n","'use strict';\n// B.2.3.5 String.prototype.bold()\nrequire('./_string-html')('bold', function (createHTML) {\n return function bold() {\n return createHTML(this, 'b', '', '');\n };\n});\n","'use strict';\nvar $export = require('./_export');\nvar $at = require('./_string-at')(false);\n$export($export.P, 'String', {\n // 21.1.3.3 String.prototype.codePointAt(pos)\n codePointAt: function codePointAt(pos) {\n return $at(this, pos);\n }\n});\n","// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])\n'use strict';\nvar $export = require('./_export');\nvar toLength = require('./_to-length');\nvar context = require('./_string-context');\nvar ENDS_WITH = 'endsWith';\nvar $endsWith = ''[ENDS_WITH];\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(ENDS_WITH), 'String', {\n endsWith: function endsWith(searchString /* , endPosition = @length */) {\n var that = context(this, searchString, ENDS_WITH);\n var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n var len = toLength(that.length);\n var end = endPosition === undefined ? len : Math.min(toLength(endPosition), len);\n var search = String(searchString);\n return $endsWith\n ? $endsWith.call(that, search, end)\n : that.slice(end - search.length, end) === search;\n }\n});\n","'use strict';\n// B.2.3.6 String.prototype.fixed()\nrequire('./_string-html')('fixed', function (createHTML) {\n return function fixed() {\n return createHTML(this, 'tt', '', '');\n };\n});\n","'use strict';\n// B.2.3.7 String.prototype.fontcolor(color)\nrequire('./_string-html')('fontcolor', function (createHTML) {\n return function fontcolor(color) {\n return createHTML(this, 'font', 'color', color);\n };\n});\n","'use strict';\n// B.2.3.8 String.prototype.fontsize(size)\nrequire('./_string-html')('fontsize', function (createHTML) {\n return function fontsize(size) {\n return createHTML(this, 'font', 'size', size);\n };\n});\n","var $export = require('./_export');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar fromCharCode = String.fromCharCode;\nvar $fromCodePoint = String.fromCodePoint;\n\n// length should be 1, old FF problem\n$export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', {\n // 21.1.2.2 String.fromCodePoint(...codePoints)\n fromCodePoint: function fromCodePoint(x) { // eslint-disable-line no-unused-vars\n var res = [];\n var aLen = arguments.length;\n var i = 0;\n var code;\n while (aLen > i) {\n code = +arguments[i++];\n if (toAbsoluteIndex(code, 0x10ffff) !== code) throw RangeError(code + ' is not a valid code point');\n res.push(code < 0x10000\n ? fromCharCode(code)\n : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00)\n );\n } return res.join('');\n }\n});\n","// 21.1.3.7 String.prototype.includes(searchString, position = 0)\n'use strict';\nvar $export = require('./_export');\nvar context = require('./_string-context');\nvar INCLUDES = 'includes';\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(INCLUDES), 'String', {\n includes: function includes(searchString /* , position = 0 */) {\n return !!~context(this, searchString, INCLUDES)\n .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\n// B.2.3.9 String.prototype.italics()\nrequire('./_string-html')('italics', function (createHTML) {\n return function italics() {\n return createHTML(this, 'i', '', '');\n };\n});\n","'use strict';\nvar $at = require('./_string-at')(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\nrequire('./_iter-define')(String, 'String', function (iterated) {\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var index = this._i;\n var point;\n if (index >= O.length) return { value: undefined, done: true };\n point = $at(O, index);\n this._i += point.length;\n return { value: point, done: false };\n});\n","'use strict';\n// B.2.3.10 String.prototype.link(url)\nrequire('./_string-html')('link', function (createHTML) {\n return function link(url) {\n return createHTML(this, 'a', 'href', url);\n };\n});\n","var $export = require('./_export');\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\n\n$export($export.S, 'String', {\n // 21.1.2.4 String.raw(callSite, ...substitutions)\n raw: function raw(callSite) {\n var tpl = toIObject(callSite.raw);\n var len = toLength(tpl.length);\n var aLen = arguments.length;\n var res = [];\n var i = 0;\n while (len > i) {\n res.push(String(tpl[i++]));\n if (i < aLen) res.push(String(arguments[i]));\n } return res.join('');\n }\n});\n","var $export = require('./_export');\n\n$export($export.P, 'String', {\n // 21.1.3.13 String.prototype.repeat(count)\n repeat: require('./_string-repeat')\n});\n","'use strict';\n// B.2.3.11 String.prototype.small()\nrequire('./_string-html')('small', function (createHTML) {\n return function small() {\n return createHTML(this, 'small', '', '');\n };\n});\n","// 21.1.3.18 String.prototype.startsWith(searchString [, position ])\n'use strict';\nvar $export = require('./_export');\nvar toLength = require('./_to-length');\nvar context = require('./_string-context');\nvar STARTS_WITH = 'startsWith';\nvar $startsWith = ''[STARTS_WITH];\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(STARTS_WITH), 'String', {\n startsWith: function startsWith(searchString /* , position = 0 */) {\n var that = context(this, searchString, STARTS_WITH);\n var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = String(searchString);\n return $startsWith\n ? $startsWith.call(that, search, index)\n : that.slice(index, index + search.length) === search;\n }\n});\n","'use strict';\n// B.2.3.12 String.prototype.strike()\nrequire('./_string-html')('strike', function (createHTML) {\n return function strike() {\n return createHTML(this, 'strike', '', '');\n };\n});\n","'use strict';\n// B.2.3.13 String.prototype.sub()\nrequire('./_string-html')('sub', function (createHTML) {\n return function sub() {\n return createHTML(this, 'sub', '', '');\n };\n});\n","'use strict';\n// B.2.3.14 String.prototype.sup()\nrequire('./_string-html')('sup', function (createHTML) {\n return function sup() {\n return createHTML(this, 'sup', '', '');\n };\n});\n","'use strict';\n// 21.1.3.25 String.prototype.trim()\nrequire('./_string-trim')('trim', function ($trim) {\n return function trim() {\n return $trim(this, 3);\n };\n});\n","'use strict';\n// ECMAScript 6 symbols shim\nvar global = require('./_global');\nvar has = require('./_has');\nvar DESCRIPTORS = require('./_descriptors');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar META = require('./_meta').KEY;\nvar $fails = require('./_fails');\nvar shared = require('./_shared');\nvar setToStringTag = require('./_set-to-string-tag');\nvar uid = require('./_uid');\nvar wks = require('./_wks');\nvar wksExt = require('./_wks-ext');\nvar wksDefine = require('./_wks-define');\nvar enumKeys = require('./_enum-keys');\nvar isArray = require('./_is-array');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar createDesc = require('./_property-desc');\nvar _create = require('./_object-create');\nvar gOPNExt = require('./_object-gopn-ext');\nvar $GOPD = require('./_object-gopd');\nvar $DP = require('./_object-dp');\nvar $keys = require('./_object-keys');\nvar gOPD = $GOPD.f;\nvar dP = $DP.f;\nvar gOPN = gOPNExt.f;\nvar $Symbol = global.Symbol;\nvar $JSON = global.JSON;\nvar _stringify = $JSON && $JSON.stringify;\nvar PROTOTYPE = 'prototype';\nvar HIDDEN = wks('_hidden');\nvar TO_PRIMITIVE = wks('toPrimitive');\nvar isEnum = {}.propertyIsEnumerable;\nvar SymbolRegistry = shared('symbol-registry');\nvar AllSymbols = shared('symbols');\nvar OPSymbols = shared('op-symbols');\nvar ObjectProto = Object[PROTOTYPE];\nvar USE_NATIVE = typeof $Symbol == 'function';\nvar QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function () {\n return _create(dP({}, 'a', {\n get: function () { return dP(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (it, key, D) {\n var protoDesc = gOPD(ObjectProto, key);\n if (protoDesc) delete ObjectProto[key];\n dP(it, key, D);\n if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);\n} : dP;\n\nvar wrap = function (tag) {\n var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n sym._k = tag;\n return sym;\n};\n\nvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n return it instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(it, key, D) {\n if (it === ObjectProto) $defineProperty(OPSymbols, key, D);\n anObject(it);\n key = toPrimitive(key, true);\n anObject(D);\n if (has(AllSymbols, key)) {\n if (!D.enumerable) {\n if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));\n it[HIDDEN][key] = true;\n } else {\n if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;\n D = _create(D, { enumerable: createDesc(0, false) });\n } return setSymbolDesc(it, key, D);\n } return dP(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P) {\n anObject(it);\n var keys = enumKeys(P = toIObject(P));\n var i = 0;\n var l = keys.length;\n var key;\n while (l > i) $defineProperty(it, key = keys[i++], P[key]);\n return it;\n};\nvar $create = function create(it, P) {\n return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key) {\n var E = isEnum.call(this, key = toPrimitive(key, true));\n if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;\n return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {\n it = toIObject(it);\n key = toPrimitive(key, true);\n if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;\n var D = gOPD(it, key);\n if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;\n return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it) {\n var names = gOPN(toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);\n } return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it) {\n var IS_OP = it === ObjectProto;\n var names = gOPN(IS_OP ? OPSymbols : toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);\n } return result;\n};\n\n// 19.4.1.1 Symbol([description])\nif (!USE_NATIVE) {\n $Symbol = function Symbol() {\n if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');\n var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n var $set = function (value) {\n if (this === ObjectProto) $set.call(OPSymbols, value);\n if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDesc(this, tag, createDesc(1, value));\n };\n if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });\n return wrap(tag);\n };\n redefine($Symbol[PROTOTYPE], 'toString', function toString() {\n return this._k;\n });\n\n $GOPD.f = $getOwnPropertyDescriptor;\n $DP.f = $defineProperty;\n require('./_object-gopn').f = gOPNExt.f = $getOwnPropertyNames;\n require('./_object-pie').f = $propertyIsEnumerable;\n require('./_object-gops').f = $getOwnPropertySymbols;\n\n if (DESCRIPTORS && !require('./_library')) {\n redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n }\n\n wksExt.f = function (name) {\n return wrap(wks(name));\n };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });\n\nfor (var es6Symbols = (\n // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);\n\nfor (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);\n\n$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n // 19.4.2.1 Symbol.for(key)\n 'for': function (key) {\n return has(SymbolRegistry, key += '')\n ? SymbolRegistry[key]\n : SymbolRegistry[key] = $Symbol(key);\n },\n // 19.4.2.5 Symbol.keyFor(sym)\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');\n for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;\n },\n useSetter: function () { setter = true; },\n useSimple: function () { setter = false; }\n});\n\n$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n // 19.1.2.2 Object.create(O [, Properties])\n create: $create,\n // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n defineProperty: $defineProperty,\n // 19.1.2.3 Object.defineProperties(O, Properties)\n defineProperties: $defineProperties,\n // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n // 19.1.2.7 Object.getOwnPropertyNames(O)\n getOwnPropertyNames: $getOwnPropertyNames,\n // 19.1.2.8 Object.getOwnPropertySymbols(O)\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {\n var S = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n // WebKit converts symbol values to JSON as null\n // V8 throws on boxed symbols\n return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';\n})), 'JSON', {\n stringify: function stringify(it) {\n var args = [it];\n var i = 1;\n var replacer, $replacer;\n while (arguments.length > i) args.push(arguments[i++]);\n $replacer = replacer = args[1];\n if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n if (!isArray(replacer)) replacer = function (key, value) {\n if (typeof $replacer == 'function') value = $replacer.call(this, key, value);\n if (!isSymbol(value)) return value;\n };\n args[1] = replacer;\n return _stringify.apply($JSON, args);\n }\n});\n\n// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n$Symbol[PROTOTYPE][TO_PRIMITIVE] || require('./_hide')($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n","'use strict';\nvar $export = require('./_export');\nvar $typed = require('./_typed');\nvar buffer = require('./_typed-buffer');\nvar anObject = require('./_an-object');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar toLength = require('./_to-length');\nvar isObject = require('./_is-object');\nvar ArrayBuffer = require('./_global').ArrayBuffer;\nvar speciesConstructor = require('./_species-constructor');\nvar $ArrayBuffer = buffer.ArrayBuffer;\nvar $DataView = buffer.DataView;\nvar $isView = $typed.ABV && ArrayBuffer.isView;\nvar $slice = $ArrayBuffer.prototype.slice;\nvar VIEW = $typed.VIEW;\nvar ARRAY_BUFFER = 'ArrayBuffer';\n\n$export($export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), { ArrayBuffer: $ArrayBuffer });\n\n$export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, {\n // 24.1.3.1 ArrayBuffer.isView(arg)\n isView: function isView(it) {\n return $isView && $isView(it) || isObject(it) && VIEW in it;\n }\n});\n\n$export($export.P + $export.U + $export.F * require('./_fails')(function () {\n return !new $ArrayBuffer(2).slice(1, undefined).byteLength;\n}), ARRAY_BUFFER, {\n // 24.1.4.3 ArrayBuffer.prototype.slice(start, end)\n slice: function slice(start, end) {\n if ($slice !== undefined && end === undefined) return $slice.call(anObject(this), start); // FF fix\n var len = anObject(this).byteLength;\n var first = toAbsoluteIndex(start, len);\n var fin = toAbsoluteIndex(end === undefined ? len : end, len);\n var result = new (speciesConstructor(this, $ArrayBuffer))(toLength(fin - first));\n var viewS = new $DataView(this);\n var viewT = new $DataView(result);\n var index = 0;\n while (first < fin) {\n viewT.setUint8(index++, viewS.getUint8(first++));\n } return result;\n }\n});\n\nrequire('./_set-species')(ARRAY_BUFFER);\n","var $export = require('./_export');\n$export($export.G + $export.W + $export.F * !require('./_typed').ABV, {\n DataView: require('./_typed-buffer').DataView\n});\n","require('./_typed-array')('Float32', 4, function (init) {\n return function Float32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Float64', 8, function (init) {\n return function Float64Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Int16', 2, function (init) {\n return function Int16Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Int32', 4, function (init) {\n return function Int32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Int8', 1, function (init) {\n return function Int8Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Uint16', 2, function (init) {\n return function Uint16Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Uint32', 4, function (init) {\n return function Uint32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Uint8', 1, function (init) {\n return function Uint8Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Uint8', 1, function (init) {\n return function Uint8ClampedArray(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n}, true);\n","'use strict';\nvar global = require('./_global');\nvar each = require('./_array-methods')(0);\nvar redefine = require('./_redefine');\nvar meta = require('./_meta');\nvar assign = require('./_object-assign');\nvar weak = require('./_collection-weak');\nvar isObject = require('./_is-object');\nvar validate = require('./_validate-collection');\nvar NATIVE_WEAK_MAP = require('./_validate-collection');\nvar IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;\nvar WEAK_MAP = 'WeakMap';\nvar getWeak = meta.getWeak;\nvar isExtensible = Object.isExtensible;\nvar uncaughtFrozenStore = weak.ufstore;\nvar InternalMap;\n\nvar wrapper = function (get) {\n return function WeakMap() {\n return get(this, arguments.length > 0 ? arguments[0] : undefined);\n };\n};\n\nvar methods = {\n // 23.3.3.3 WeakMap.prototype.get(key)\n get: function get(key) {\n if (isObject(key)) {\n var data = getWeak(key);\n if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key);\n return data ? data[this._i] : undefined;\n }\n },\n // 23.3.3.5 WeakMap.prototype.set(key, value)\n set: function set(key, value) {\n return weak.def(validate(this, WEAK_MAP), key, value);\n }\n};\n\n// 23.3 WeakMap Objects\nvar $WeakMap = module.exports = require('./_collection')(WEAK_MAP, wrapper, methods, weak, true, true);\n\n// IE11 WeakMap frozen keys fix\nif (NATIVE_WEAK_MAP && IS_IE11) {\n InternalMap = weak.getConstructor(wrapper, WEAK_MAP);\n assign(InternalMap.prototype, methods);\n meta.NEED = true;\n each(['delete', 'has', 'get', 'set'], function (key) {\n var proto = $WeakMap.prototype;\n var method = proto[key];\n redefine(proto, key, function (a, b) {\n // store frozen objects on internal weakmap shim\n if (isObject(a) && !isExtensible(a)) {\n if (!this._f) this._f = new InternalMap();\n var result = this._f[key](a, b);\n return key == 'set' ? this : result;\n // store all the rest on native weakmap\n } return method.call(this, a, b);\n });\n });\n}\n","'use strict';\nvar weak = require('./_collection-weak');\nvar validate = require('./_validate-collection');\nvar WEAK_SET = 'WeakSet';\n\n// 23.4 WeakSet Objects\nrequire('./_collection')(WEAK_SET, function (get) {\n return function WeakSet() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.4.3.1 WeakSet.prototype.add(value)\n add: function add(value) {\n return weak.def(validate(this, WEAK_SET), value, true);\n }\n}, weak, false, true);\n","'use strict';\n// https://github.com/tc39/Array.prototype.includes\nvar $export = require('./_export');\nvar $includes = require('./_array-includes')(true);\n\n$export($export.P, 'Array', {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\nrequire('./_add-to-unscopables')('includes');\n","// https://github.com/tc39/proposal-object-values-entries\nvar $export = require('./_export');\nvar $entries = require('./_object-to-array')(true);\n\n$export($export.S, 'Object', {\n entries: function entries(it) {\n return $entries(it);\n }\n});\n","// https://github.com/tc39/proposal-object-getownpropertydescriptors\nvar $export = require('./_export');\nvar ownKeys = require('./_own-keys');\nvar toIObject = require('./_to-iobject');\nvar gOPD = require('./_object-gopd');\nvar createProperty = require('./_create-property');\n\n$export($export.S, 'Object', {\n getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {\n var O = toIObject(object);\n var getDesc = gOPD.f;\n var keys = ownKeys(O);\n var result = {};\n var i = 0;\n var key, desc;\n while (keys.length > i) {\n desc = getDesc(O, key = keys[i++]);\n if (desc !== undefined) createProperty(result, key, desc);\n }\n return result;\n }\n});\n","// https://github.com/tc39/proposal-object-values-entries\nvar $export = require('./_export');\nvar $values = require('./_object-to-array')(false);\n\n$export($export.S, 'Object', {\n values: function values(it) {\n return $values(it);\n }\n});\n","// https://github.com/tc39/proposal-promise-finally\n'use strict';\nvar $export = require('./_export');\nvar core = require('./_core');\nvar global = require('./_global');\nvar speciesConstructor = require('./_species-constructor');\nvar promiseResolve = require('./_promise-resolve');\n\n$export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) {\n var C = speciesConstructor(this, core.Promise || global.Promise);\n var isFunction = typeof onFinally == 'function';\n return this.then(\n isFunction ? function (x) {\n return promiseResolve(C, onFinally()).then(function () { return x; });\n } : onFinally,\n isFunction ? function (e) {\n return promiseResolve(C, onFinally()).then(function () { throw e; });\n } : onFinally\n );\n} });\n","'use strict';\n// https://github.com/tc39/proposal-string-pad-start-end\nvar $export = require('./_export');\nvar $pad = require('./_string-pad');\nvar userAgent = require('./_user-agent');\n\n// https://github.com/zloirock/core-js/issues/280\nvar WEBKIT_BUG = /Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(userAgent);\n\n$export($export.P + $export.F * WEBKIT_BUG, 'String', {\n padEnd: function padEnd(maxLength /* , fillString = ' ' */) {\n return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false);\n }\n});\n","'use strict';\n// https://github.com/tc39/proposal-string-pad-start-end\nvar $export = require('./_export');\nvar $pad = require('./_string-pad');\nvar userAgent = require('./_user-agent');\n\n// https://github.com/zloirock/core-js/issues/280\nvar WEBKIT_BUG = /Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(userAgent);\n\n$export($export.P + $export.F * WEBKIT_BUG, 'String', {\n padStart: function padStart(maxLength /* , fillString = ' ' */) {\n return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);\n }\n});\n","require('./_wks-define')('asyncIterator');\n","var $iterators = require('./es6.array.iterator');\nvar getKeys = require('./_object-keys');\nvar redefine = require('./_redefine');\nvar global = require('./_global');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar wks = require('./_wks');\nvar ITERATOR = wks('iterator');\nvar TO_STRING_TAG = wks('toStringTag');\nvar ArrayValues = Iterators.Array;\n\nvar DOMIterables = {\n CSSRuleList: true, // TODO: Not spec compliant, should be false.\n CSSStyleDeclaration: false,\n CSSValueList: false,\n ClientRectList: false,\n DOMRectList: false,\n DOMStringList: false,\n DOMTokenList: true,\n DataTransferItemList: false,\n FileList: false,\n HTMLAllCollection: false,\n HTMLCollection: false,\n HTMLFormElement: false,\n HTMLSelectElement: false,\n MediaList: true, // TODO: Not spec compliant, should be false.\n MimeTypeArray: false,\n NamedNodeMap: false,\n NodeList: true,\n PaintRequestList: false,\n Plugin: false,\n PluginArray: false,\n SVGLengthList: false,\n SVGNumberList: false,\n SVGPathSegList: false,\n SVGPointList: false,\n SVGStringList: false,\n SVGTransformList: false,\n SourceBufferList: false,\n StyleSheetList: true, // TODO: Not spec compliant, should be false.\n TextTrackCueList: false,\n TextTrackList: false,\n TouchList: false\n};\n\nfor (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {\n var NAME = collections[i];\n var explicit = DOMIterables[NAME];\n var Collection = global[NAME];\n var proto = Collection && Collection.prototype;\n var key;\n if (proto) {\n if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);\n if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = ArrayValues;\n if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);\n }\n}\n","var $export = require('./_export');\nvar $task = require('./_task');\n$export($export.G + $export.B, {\n setImmediate: $task.set,\n clearImmediate: $task.clear\n});\n","// ie9- setTimeout & setInterval additional parameters fix\nvar global = require('./_global');\nvar $export = require('./_export');\nvar userAgent = require('./_user-agent');\nvar slice = [].slice;\nvar MSIE = /MSIE .\\./.test(userAgent); // <- dirty ie9- check\nvar wrap = function (set) {\n return function (fn, time /* , ...args */) {\n var boundArgs = arguments.length > 2;\n var args = boundArgs ? slice.call(arguments, 2) : false;\n return set(boundArgs ? function () {\n // eslint-disable-next-line no-new-func\n (typeof fn == 'function' ? fn : Function(fn)).apply(this, args);\n } : fn, time);\n };\n};\n$export($export.G + $export.B + $export.F * MSIE, {\n setTimeout: wrap(global.setTimeout),\n setInterval: wrap(global.setInterval)\n});\n","require('../modules/web.timers');\nrequire('../modules/web.immediate');\nrequire('../modules/web.dom.iterable');\nmodule.exports = require('../modules/_core');\n","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n!(function(global) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n var inModule = typeof module === \"object\";\n var runtime = global.regeneratorRuntime;\n if (runtime) {\n if (inModule) {\n // If regeneratorRuntime is defined globally and we're in a module,\n // make the exports object identical to regeneratorRuntime.\n module.exports = runtime;\n }\n // Don't bother evaluating the rest of this file if the runtime was\n // already defined globally.\n return;\n }\n\n // Define the runtime globally (as expected by generated code) as either\n // module.exports (if we're in a module) or a new, empty object.\n runtime = global.regeneratorRuntime = inModule ? module.exports : {};\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n return generator;\n }\n runtime.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n IteratorPrototype[iteratorSymbol] = function () {\n return this;\n };\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;\n GeneratorFunctionPrototype.constructor = GeneratorFunction;\n GeneratorFunctionPrototype[toStringTagSymbol] =\n GeneratorFunction.displayName = \"GeneratorFunction\";\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n prototype[method] = function(arg) {\n return this._invoke(method, arg);\n };\n });\n }\n\n runtime.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n runtime.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n if (!(toStringTagSymbol in genFun)) {\n genFun[toStringTagSymbol] = \"GeneratorFunction\";\n }\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n runtime.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return Promise.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return Promise.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new Promise(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n this._invoke = enqueue;\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n AsyncIterator.prototype[asyncIteratorSymbol] = function () {\n return this;\n };\n runtime.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n runtime.async = function(innerFn, outerFn, self, tryLocsList) {\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList)\n );\n\n return runtime.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method always terminates the yield* loop.\n context.delegate = null;\n\n if (context.method === \"throw\") {\n if (delegate.iterator.return) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a 'throw' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n Gp[toStringTagSymbol] = \"Generator\";\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n Gp[iteratorSymbol] = function() {\n return this;\n };\n\n Gp.toString = function() {\n return \"[object Generator]\";\n };\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n runtime.keys = function(object) {\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n runtime.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n})(\n // In sloppy mode, unbound `this` refers to the global object, fallback to\n // Function constructor if we're in global strict mode. That is sadly a form\n // of indirect eval which violates Content Security Policy.\n (function() {\n return this || (typeof self === \"object\" && self);\n })() || Function(\"return this\")()\n);\n","module.exports = require('./lib/axios');","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar buildURL = require('./../helpers/buildURL');\nvar parseHeaders = require('./../helpers/parseHeaders');\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\nvar createError = require('../core/createError');\nvar btoa = (typeof window !== 'undefined' && window.btoa && window.btoa.bind(window)) || require('./../helpers/btoa');\n\nmodule.exports = function xhrAdapter(config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n var requestData = config.data;\n var requestHeaders = config.headers;\n\n if (utils.isFormData(requestData)) {\n delete requestHeaders['Content-Type']; // Let the browser set it\n }\n\n var request = new XMLHttpRequest();\n var loadEvent = 'onreadystatechange';\n var xDomain = false;\n\n // For IE 8/9 CORS support\n // Only supports POST and GET calls and doesn't returns the response headers.\n // DON'T do this for testing b/c XMLHttpRequest is mocked, not XDomainRequest.\n if (process.env.NODE_ENV !== 'test' &&\n typeof window !== 'undefined' &&\n window.XDomainRequest && !('withCredentials' in request) &&\n !isURLSameOrigin(config.url)) {\n request = new window.XDomainRequest();\n loadEvent = 'onload';\n xDomain = true;\n request.onprogress = function handleProgress() {};\n request.ontimeout = function handleTimeout() {};\n }\n\n // HTTP basic authentication\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password || '';\n requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n }\n\n request.open(config.method.toUpperCase(), buildURL(config.url, config.params, config.paramsSerializer), true);\n\n // Set the request timeout in MS\n request.timeout = config.timeout;\n\n // Listen for ready state\n request[loadEvent] = function handleLoad() {\n if (!request || (request.readyState !== 4 && !xDomain)) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n\n // Prepare the response\n var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n var responseData = !config.responseType || config.responseType === 'text' ? request.responseText : request.response;\n var response = {\n data: responseData,\n // IE sends 1223 instead of 204 (https://github.com/axios/axios/issues/201)\n status: request.status === 1223 ? 204 : request.status,\n statusText: request.status === 1223 ? 'No Content' : request.statusText,\n headers: responseHeaders,\n config: config,\n request: request\n };\n\n settle(resolve, reject, response);\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(createError('Network Error', config, null, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n reject(createError('timeout of ' + config.timeout + 'ms exceeded', config, 'ECONNABORTED',\n request));\n\n // Clean up request\n request = null;\n };\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n if (utils.isStandardBrowserEnv()) {\n var cookies = require('./../helpers/cookies');\n\n // Add xsrf header\n var xsrfValue = (config.withCredentials || isURLSameOrigin(config.url)) && config.xsrfCookieName ?\n cookies.read(config.xsrfCookieName) :\n undefined;\n\n if (xsrfValue) {\n requestHeaders[config.xsrfHeaderName] = xsrfValue;\n }\n }\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n // Remove Content-Type if data is undefined\n delete requestHeaders[key];\n } else {\n // Otherwise add header to the request\n request.setRequestHeader(key, val);\n }\n });\n }\n\n // Add withCredentials to request if needed\n if (config.withCredentials) {\n request.withCredentials = true;\n }\n\n // Add responseType to request if needed\n if (config.responseType) {\n try {\n request.responseType = config.responseType;\n } catch (e) {\n // Expected DOMException thrown by browsers not compatible XMLHttpRequest Level 2.\n // But, this can be suppressed for 'json' type as it can be parsed by default 'transformResponse' function.\n if (config.responseType !== 'json') {\n throw e;\n }\n }\n }\n\n // Handle progress if needed\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', config.onDownloadProgress);\n }\n\n // Not all browsers support upload events\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', config.onUploadProgress);\n }\n\n if (config.cancelToken) {\n // Handle cancellation\n config.cancelToken.promise.then(function onCanceled(cancel) {\n if (!request) {\n return;\n }\n\n request.abort();\n reject(cancel);\n // Clean up request\n request = null;\n });\n }\n\n if (requestData === undefined) {\n requestData = null;\n }\n\n // Send the request\n request.send(requestData);\n });\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar bind = require('./helpers/bind');\nvar Axios = require('./core/Axios');\nvar defaults = require('./defaults');\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n var context = new Axios(defaultConfig);\n var instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context);\n\n // Copy context to instance\n utils.extend(instance, context);\n\n return instance;\n}\n\n// Create the default instance to be exported\nvar axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Factory for creating new instances\naxios.create = function create(instanceConfig) {\n return createInstance(utils.merge(defaults, instanceConfig));\n};\n\n// Expose Cancel & CancelToken\naxios.Cancel = require('./cancel/Cancel');\naxios.CancelToken = require('./cancel/CancelToken');\naxios.isCancel = require('./cancel/isCancel');\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\naxios.spread = require('./helpers/spread');\n\nmodule.exports = axios;\n\n// Allow use of default import syntax in TypeScript\nmodule.exports.default = axios;\n","'use strict';\n\n/**\n * A `Cancel` is an object that is thrown when an operation is canceled.\n *\n * @class\n * @param {string=} message The message.\n */\nfunction Cancel(message) {\n this.message = message;\n}\n\nCancel.prototype.toString = function toString() {\n return 'Cancel' + (this.message ? ': ' + this.message : '');\n};\n\nCancel.prototype.__CANCEL__ = true;\n\nmodule.exports = Cancel;\n","'use strict';\n\nvar Cancel = require('./Cancel');\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @class\n * @param {Function} executor The executor function.\n */\nfunction CancelToken(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n var resolvePromise;\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n var token = this;\n executor(function cancel(message) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new Cancel(message);\n resolvePromise(token.reason);\n });\n}\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n};\n\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\nCancelToken.source = function source() {\n var cancel;\n var token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token: token,\n cancel: cancel\n };\n};\n\nmodule.exports = CancelToken;\n","'use strict';\n\nmodule.exports = function isCancel(value) {\n return !!(value && value.__CANCEL__);\n};\n","'use strict';\n\nvar defaults = require('./../defaults');\nvar utils = require('./../utils');\nvar InterceptorManager = require('./InterceptorManager');\nvar dispatchRequest = require('./dispatchRequest');\n\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\nAxios.prototype.request = function request(config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof config === 'string') {\n config = utils.merge({\n url: arguments[0]\n }, arguments[1]);\n }\n\n config = utils.merge(defaults, {method: 'get'}, this.defaults, config);\n config.method = config.method.toLowerCase();\n\n // Hook up interceptors middleware\n var chain = [dispatchRequest, undefined];\n var promise = Promise.resolve(config);\n\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n chain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n chain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n};\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(utils.merge(config || {}, {\n method: method,\n url: url\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, data, config) {\n return this.request(utils.merge(config || {}, {\n method: method,\n url: url,\n data: data\n }));\n };\n});\n\nmodule.exports = Axios;\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction InterceptorManager() {\n this.handlers = [];\n}\n\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\nInterceptorManager.prototype.use = function use(fulfilled, rejected) {\n this.handlers.push({\n fulfilled: fulfilled,\n rejected: rejected\n });\n return this.handlers.length - 1;\n};\n\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\nInterceptorManager.prototype.eject = function eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n};\n\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\nInterceptorManager.prototype.forEach = function forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n};\n\nmodule.exports = InterceptorManager;\n","'use strict';\n\nvar enhanceError = require('./enhanceError');\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\nmodule.exports = function createError(message, config, code, request, response) {\n var error = new Error(message);\n return enhanceError(error, config, code, request, response);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar transformData = require('./transformData');\nvar isCancel = require('../cancel/isCancel');\nvar defaults = require('../defaults');\nvar isAbsoluteURL = require('./../helpers/isAbsoluteURL');\nvar combineURLs = require('./../helpers/combineURLs');\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n * @returns {Promise} The Promise to be fulfilled\n */\nmodule.exports = function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n // Support baseURL config\n if (config.baseURL && !isAbsoluteURL(config.url)) {\n config.url = combineURLs(config.baseURL, config.url);\n }\n\n // Ensure headers exist\n config.headers = config.headers || {};\n\n // Transform request data\n config.data = transformData(\n config.data,\n config.headers,\n config.transformRequest\n );\n\n // Flatten headers\n config.headers = utils.merge(\n config.headers.common || {},\n config.headers[config.method] || {},\n config.headers || {}\n );\n\n utils.forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n function cleanHeaderConfig(method) {\n delete config.headers[method];\n }\n );\n\n var adapter = config.adapter || defaults.adapter;\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData(\n response.data,\n response.headers,\n config.transformResponse\n );\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData(\n reason.response.data,\n reason.response.headers,\n config.transformResponse\n );\n }\n }\n\n return Promise.reject(reason);\n });\n};\n","'use strict';\n\n/**\n * Update an Error with the specified config, error code, and response.\n *\n * @param {Error} error The error to update.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The error.\n */\nmodule.exports = function enhanceError(error, config, code, request, response) {\n error.config = config;\n if (code) {\n error.code = code;\n }\n error.request = request;\n error.response = response;\n return error;\n};\n","'use strict';\n\nvar createError = require('./createError');\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\nmodule.exports = function settle(resolve, reject, response) {\n var validateStatus = response.config.validateStatus;\n // Note: status is not exposed by XDomainRequest\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(createError(\n 'Request failed with status code ' + response.status,\n response.config,\n null,\n response.request,\n response\n ));\n }\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\nmodule.exports = function transformData(data, headers, fns) {\n /*eslint no-param-reassign:0*/\n utils.forEach(fns, function transform(fn) {\n data = fn(data, headers);\n });\n\n return data;\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar normalizeHeaderName = require('./helpers/normalizeHeaderName');\n\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = value;\n }\n}\n\nfunction getDefaultAdapter() {\n var adapter;\n if (typeof XMLHttpRequest !== 'undefined') {\n // For browsers use XHR adapter\n adapter = require('./adapters/xhr');\n } else if (typeof process !== 'undefined') {\n // For node use HTTP adapter\n adapter = require('./adapters/http');\n }\n return adapter;\n}\n\nvar defaults = {\n adapter: getDefaultAdapter(),\n\n transformRequest: [function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Content-Type');\n if (utils.isFormData(data) ||\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n if (utils.isObject(data)) {\n setContentTypeIfUnset(headers, 'application/json;charset=utf-8');\n return JSON.stringify(data);\n }\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n /*eslint no-param-reassign:0*/\n if (typeof data === 'string') {\n try {\n data = JSON.parse(data);\n } catch (e) { /* Ignore */ }\n }\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n }\n};\n\ndefaults.headers = {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\n\nmodule.exports = defaults;\n","'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n return fn.apply(thisArg, args);\n };\n};\n","'use strict';\n\n// btoa polyfill for IE<10 courtesy https://github.com/davidchambers/Base64.js\n\nvar chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';\n\nfunction E() {\n this.message = 'String contains an invalid character';\n}\nE.prototype = new Error;\nE.prototype.code = 5;\nE.prototype.name = 'InvalidCharacterError';\n\nfunction btoa(input) {\n var str = String(input);\n var output = '';\n for (\n // initialize result and counter\n var block, charCode, idx = 0, map = chars;\n // if the next str index does not exist:\n // change the mapping table to \"=\"\n // check if d has no fractional digits\n str.charAt(idx | 0) || (map = '=', idx % 1);\n // \"8 - idx % 1 * 8\" generates the sequence 2, 4, 6, 8\n output += map.charAt(63 & block >> 8 - idx % 1 * 8)\n ) {\n charCode = str.charCodeAt(idx += 3 / 4);\n if (charCode > 0xFF) {\n throw new E();\n }\n block = block << 8 | charCode;\n }\n return output;\n}\n\nmodule.exports = btoa;\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%40/gi, '@').\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n\n var serializedParams;\n if (paramsSerializer) {\n serializedParams = paramsSerializer(params);\n } else if (utils.isURLSearchParams(params)) {\n serializedParams = params.toString();\n } else {\n var parts = [];\n\n utils.forEach(params, function serialize(val, key) {\n if (val === null || typeof val === 'undefined') {\n return;\n }\n\n if (utils.isArray(val)) {\n key = key + '[]';\n } else {\n val = [val];\n }\n\n utils.forEach(val, function parseValue(v) {\n if (utils.isDate(v)) {\n v = v.toISOString();\n } else if (utils.isObject(v)) {\n v = JSON.stringify(v);\n }\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n\n serializedParams = parts.join('&');\n }\n\n if (serializedParams) {\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n};\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs support document.cookie\n (function standardBrowserEnv() {\n return {\n write: function write(name, value, expires, path, domain, secure) {\n var cookie = [];\n cookie.push(name + '=' + encodeURIComponent(value));\n\n if (utils.isNumber(expires)) {\n cookie.push('expires=' + new Date(expires).toGMTString());\n }\n\n if (utils.isString(path)) {\n cookie.push('path=' + path);\n }\n\n if (utils.isString(domain)) {\n cookie.push('domain=' + domain);\n }\n\n if (secure === true) {\n cookie.push('secure');\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read: function read(name) {\n var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove: function remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n };\n })() :\n\n // Non standard browser env (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return {\n write: function write() {},\n read: function read() { return null; },\n remove: function remove() {}\n };\n })()\n);\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nmodule.exports = function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"<scheme>://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d\\+\\-\\.]*:)?\\/\\//i.test(url);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs have full support of the APIs needed to test\n // whether the request URL is of the same origin as current location.\n (function standardBrowserEnv() {\n var msie = /(msie|trident)/i.test(navigator.userAgent);\n var urlParsingNode = document.createElement('a');\n var originURL;\n\n /**\n * Parse a URL to discover it's components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n function resolveURL(url) {\n var href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n urlParsingNode.pathname :\n '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n return function isURLSameOrigin(requestURL) {\n var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n return (parsed.protocol === originURL.protocol &&\n parsed.host === originURL.host);\n };\n })() :\n\n // Non standard browser envs (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n })()\n);\n","'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n// Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nvar ignoreDuplicateOf = [\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n];\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\nmodule.exports = function parseHeaders(headers) {\n var parsed = {};\n var key;\n var val;\n var i;\n\n if (!headers) { return parsed; }\n\n utils.forEach(headers.split('\\n'), function parser(line) {\n i = line.indexOf(':');\n key = utils.trim(line.substr(0, i)).toLowerCase();\n val = utils.trim(line.substr(i + 1));\n\n if (key) {\n if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {\n return;\n }\n if (key === 'set-cookie') {\n parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n }\n });\n\n return parsed;\n};\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\nmodule.exports = function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n};\n","'use strict';\n\nvar bind = require('./helpers/bind');\nvar isBuffer = require('is-buffer');\n\n/*global toString:true*/\n\n// utils is a library of generic helper functions non-specific to axios\n\nvar toString = Object.prototype.toString;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\nfunction isArray(val) {\n return toString.call(val) === '[object Array]';\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nfunction isArrayBuffer(val) {\n return toString.call(val) === '[object ArrayBuffer]';\n}\n\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction isFormData(val) {\n return (typeof FormData !== 'undefined') && (val instanceof FormData);\n}\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n var result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\nfunction isString(val) {\n return typeof val === 'string';\n}\n\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nfunction isUndefined(val) {\n return typeof val === 'undefined';\n}\n\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\nfunction isObject(val) {\n return val !== null && typeof val === 'object';\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\nfunction isDate(val) {\n return toString.call(val) === '[object Date]';\n}\n\n/**\n * Determine if a value is a File\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nfunction isFile(val) {\n return toString.call(val) === '[object File]';\n}\n\n/**\n * Determine if a value is a Blob\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nfunction isBlob(val) {\n return toString.call(val) === '[object Blob]';\n}\n\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nfunction isFunction(val) {\n return toString.call(val) === '[object Function]';\n}\n\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nfunction isStream(val) {\n return isObject(val) && isFunction(val.pipe);\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nfunction isURLSearchParams(val) {\n return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;\n}\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\nfunction trim(str) {\n return str.replace(/^\\s*/, '').replace(/\\s*$/, '');\n}\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n */\nfunction isStandardBrowserEnv() {\n if (typeof navigator !== 'undefined' && navigator.product === 'ReactNative') {\n return false;\n }\n return (\n typeof window !== 'undefined' &&\n typeof document !== 'undefined'\n );\n}\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\nfunction forEach(obj, fn) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (var i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n fn.call(null, obj[key], key, obj);\n }\n }\n }\n}\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n var result = {};\n function assignValue(val, key) {\n if (typeof result[key] === 'object' && typeof val === 'object') {\n result[key] = merge(result[key], val);\n } else {\n result[key] = val;\n }\n }\n\n for (var i = 0, l = arguments.length; i < l; i++) {\n forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\nfunction extend(a, b, thisArg) {\n forEach(b, function assignValue(val, key) {\n if (thisArg && typeof val === 'function') {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n });\n return a;\n}\n\nmodule.exports = {\n isArray: isArray,\n isArrayBuffer: isArrayBuffer,\n isBuffer: isBuffer,\n isFormData: isFormData,\n isArrayBufferView: isArrayBufferView,\n isString: isString,\n isNumber: isNumber,\n isObject: isObject,\n isUndefined: isUndefined,\n isDate: isDate,\n isFile: isFile,\n isBlob: isBlob,\n isFunction: isFunction,\n isStream: isStream,\n isURLSearchParams: isURLSearchParams,\n isStandardBrowserEnv: isStandardBrowserEnv,\n forEach: forEach,\n merge: merge,\n extend: extend,\n trim: trim\n};\n","/**\n * EvEmitter v1.1.0\n * Lil' event emitter\n * MIT License\n */\n\n/* jshint unused: true, undef: true, strict: true */\n\n( function( global, factory ) {\n // universal module definition\n /* jshint strict: false */ /* globals define, module, window */\n if ( typeof define == 'function' && define.amd ) {\n // AMD - RequireJS\n define( factory );\n } else if ( typeof module == 'object' && module.exports ) {\n // CommonJS - Browserify, Webpack\n module.exports = factory();\n } else {\n // Browser globals\n global.EvEmitter = factory();\n }\n\n}( typeof window != 'undefined' ? window : this, function() {\n\n\"use strict\";\n\nfunction EvEmitter() {}\n\nvar proto = EvEmitter.prototype;\n\nproto.on = function( eventName, listener ) {\n if ( !eventName || !listener ) {\n return;\n }\n // set events hash\n var events = this._events = this._events || {};\n // set listeners array\n var listeners = events[ eventName ] = events[ eventName ] || [];\n // only add once\n if ( listeners.indexOf( listener ) == -1 ) {\n listeners.push( listener );\n }\n\n return this;\n};\n\nproto.once = function( eventName, listener ) {\n if ( !eventName || !listener ) {\n return;\n }\n // add event\n this.on( eventName, listener );\n // set once flag\n // set onceEvents hash\n var onceEvents = this._onceEvents = this._onceEvents || {};\n // set onceListeners object\n var onceListeners = onceEvents[ eventName ] = onceEvents[ eventName ] || {};\n // set flag\n onceListeners[ listener ] = true;\n\n return this;\n};\n\nproto.off = function( eventName, listener ) {\n var listeners = this._events && this._events[ eventName ];\n if ( !listeners || !listeners.length ) {\n return;\n }\n var index = listeners.indexOf( listener );\n if ( index != -1 ) {\n listeners.splice( index, 1 );\n }\n\n return this;\n};\n\nproto.emitEvent = function( eventName, args ) {\n var listeners = this._events && this._events[ eventName ];\n if ( !listeners || !listeners.length ) {\n return;\n }\n // copy over to avoid interference if .off() in listener\n listeners = listeners.slice(0);\n args = args || [];\n // once stuff\n var onceListeners = this._onceEvents && this._onceEvents[ eventName ];\n\n for ( var i=0; i < listeners.length; i++ ) {\n var listener = listeners[i]\n var isOnce = onceListeners && onceListeners[ listener ];\n if ( isOnce ) {\n // remove listener\n // remove before trigger to prevent recursion\n this.off( eventName, listener );\n // unset once flag\n delete onceListeners[ listener ];\n }\n // trigger listener\n listener.apply( this, args );\n }\n\n return this;\n};\n\nproto.allOff = function() {\n delete this._events;\n delete this._onceEvents;\n};\n\nreturn EvEmitter;\n\n}));\n","/*!\n * imagesLoaded v4.1.4\n * JavaScript is all like \"You images are done yet or what?\"\n * MIT License\n */\n\n( function( window, factory ) { 'use strict';\n // universal module definition\n\n /*global define: false, module: false, require: false */\n\n if ( typeof define == 'function' && define.amd ) {\n // AMD\n define( [\n 'ev-emitter/ev-emitter'\n ], function( EvEmitter ) {\n return factory( window, EvEmitter );\n });\n } else if ( typeof module == 'object' && module.exports ) {\n // CommonJS\n module.exports = factory(\n window,\n require('ev-emitter')\n );\n } else {\n // browser global\n window.imagesLoaded = factory(\n window,\n window.EvEmitter\n );\n }\n\n})( typeof window !== 'undefined' ? window : this,\n\n// -------------------------- factory -------------------------- //\n\nfunction factory( window, EvEmitter ) {\n\n'use strict';\n\nvar $ = window.jQuery;\nvar console = window.console;\n\n// -------------------------- helpers -------------------------- //\n\n// extend objects\nfunction extend( a, b ) {\n for ( var prop in b ) {\n a[ prop ] = b[ prop ];\n }\n return a;\n}\n\nvar arraySlice = Array.prototype.slice;\n\n// turn element or nodeList into an array\nfunction makeArray( obj ) {\n if ( Array.isArray( obj ) ) {\n // use object if already an array\n return obj;\n }\n\n var isArrayLike = typeof obj == 'object' && typeof obj.length == 'number';\n if ( isArrayLike ) {\n // convert nodeList to array\n return arraySlice.call( obj );\n }\n\n // array of single index\n return [ obj ];\n}\n\n// -------------------------- imagesLoaded -------------------------- //\n\n/**\n * @param {Array, Element, NodeList, String} elem\n * @param {Object or Function} options - if function, use as callback\n * @param {Function} onAlways - callback function\n */\nfunction ImagesLoaded( elem, options, onAlways ) {\n // coerce ImagesLoaded() without new, to be new ImagesLoaded()\n if ( !( this instanceof ImagesLoaded ) ) {\n return new ImagesLoaded( elem, options, onAlways );\n }\n // use elem as selector string\n var queryElem = elem;\n if ( typeof elem == 'string' ) {\n queryElem = document.querySelectorAll( elem );\n }\n // bail if bad element\n if ( !queryElem ) {\n console.error( 'Bad element for imagesLoaded ' + ( queryElem || elem ) );\n return;\n }\n\n this.elements = makeArray( queryElem );\n this.options = extend( {}, this.options );\n // shift arguments if no options set\n if ( typeof options == 'function' ) {\n onAlways = options;\n } else {\n extend( this.options, options );\n }\n\n if ( onAlways ) {\n this.on( 'always', onAlways );\n }\n\n this.getImages();\n\n if ( $ ) {\n // add jQuery Deferred object\n this.jqDeferred = new $.Deferred();\n }\n\n // HACK check async to allow time to bind listeners\n setTimeout( this.check.bind( this ) );\n}\n\nImagesLoaded.prototype = Object.create( EvEmitter.prototype );\n\nImagesLoaded.prototype.options = {};\n\nImagesLoaded.prototype.getImages = function() {\n this.images = [];\n\n // filter & find items if we have an item selector\n this.elements.forEach( this.addElementImages, this );\n};\n\n/**\n * @param {Node} element\n */\nImagesLoaded.prototype.addElementImages = function( elem ) {\n // filter siblings\n if ( elem.nodeName == 'IMG' ) {\n this.addImage( elem );\n }\n // get background image on element\n if ( this.options.background === true ) {\n this.addElementBackgroundImages( elem );\n }\n\n // find children\n // no non-element nodes, #143\n var nodeType = elem.nodeType;\n if ( !nodeType || !elementNodeTypes[ nodeType ] ) {\n return;\n }\n var childImgs = elem.querySelectorAll('img');\n // concat childElems to filterFound array\n for ( var i=0; i < childImgs.length; i++ ) {\n var img = childImgs[i];\n this.addImage( img );\n }\n\n // get child background images\n if ( typeof this.options.background == 'string' ) {\n var children = elem.querySelectorAll( this.options.background );\n for ( i=0; i < children.length; i++ ) {\n var child = children[i];\n this.addElementBackgroundImages( child );\n }\n }\n};\n\nvar elementNodeTypes = {\n 1: true,\n 9: true,\n 11: true\n};\n\nImagesLoaded.prototype.addElementBackgroundImages = function( elem ) {\n var style = getComputedStyle( elem );\n if ( !style ) {\n // Firefox returns null if in a hidden iframe https://bugzil.la/548397\n return;\n }\n // get url inside url(\"...\")\n var reURL = /url\\((['\"])?(.*?)\\1\\)/gi;\n var matches = reURL.exec( style.backgroundImage );\n while ( matches !== null ) {\n var url = matches && matches[2];\n if ( url ) {\n this.addBackground( url, elem );\n }\n matches = reURL.exec( style.backgroundImage );\n }\n};\n\n/**\n * @param {Image} img\n */\nImagesLoaded.prototype.addImage = function( img ) {\n var loadingImage = new LoadingImage( img );\n this.images.push( loadingImage );\n};\n\nImagesLoaded.prototype.addBackground = function( url, elem ) {\n var background = new Background( url, elem );\n this.images.push( background );\n};\n\nImagesLoaded.prototype.check = function() {\n var _this = this;\n this.progressedCount = 0;\n this.hasAnyBroken = false;\n // complete if no images\n if ( !this.images.length ) {\n this.complete();\n return;\n }\n\n function onProgress( image, elem, message ) {\n // HACK - Chrome triggers event before object properties have changed. #83\n setTimeout( function() {\n _this.progress( image, elem, message );\n });\n }\n\n this.images.forEach( function( loadingImage ) {\n loadingImage.once( 'progress', onProgress );\n loadingImage.check();\n });\n};\n\nImagesLoaded.prototype.progress = function( image, elem, message ) {\n this.progressedCount++;\n this.hasAnyBroken = this.hasAnyBroken || !image.isLoaded;\n // progress event\n this.emitEvent( 'progress', [ this, image, elem ] );\n if ( this.jqDeferred && this.jqDeferred.notify ) {\n this.jqDeferred.notify( this, image );\n }\n // check if completed\n if ( this.progressedCount == this.images.length ) {\n this.complete();\n }\n\n if ( this.options.debug && console ) {\n console.log( 'progress: ' + message, image, elem );\n }\n};\n\nImagesLoaded.prototype.complete = function() {\n var eventName = this.hasAnyBroken ? 'fail' : 'done';\n this.isComplete = true;\n this.emitEvent( eventName, [ this ] );\n this.emitEvent( 'always', [ this ] );\n if ( this.jqDeferred ) {\n var jqMethod = this.hasAnyBroken ? 'reject' : 'resolve';\n this.jqDeferred[ jqMethod ]( this );\n }\n};\n\n// -------------------------- -------------------------- //\n\nfunction LoadingImage( img ) {\n this.img = img;\n}\n\nLoadingImage.prototype = Object.create( EvEmitter.prototype );\n\nLoadingImage.prototype.check = function() {\n // If complete is true and browser supports natural sizes,\n // try to check for image status manually.\n var isComplete = this.getIsImageComplete();\n if ( isComplete ) {\n // report based on naturalWidth\n this.confirm( this.img.naturalWidth !== 0, 'naturalWidth' );\n return;\n }\n\n // If none of the checks above matched, simulate loading on detached element.\n this.proxyImage = new Image();\n this.proxyImage.addEventListener( 'load', this );\n this.proxyImage.addEventListener( 'error', this );\n // bind to image as well for Firefox. #191\n this.img.addEventListener( 'load', this );\n this.img.addEventListener( 'error', this );\n this.proxyImage.src = this.img.src;\n};\n\nLoadingImage.prototype.getIsImageComplete = function() {\n // check for non-zero, non-undefined naturalWidth\n // fixes Safari+InfiniteScroll+Masonry bug infinite-scroll#671\n return this.img.complete && this.img.naturalWidth;\n};\n\nLoadingImage.prototype.confirm = function( isLoaded, message ) {\n this.isLoaded = isLoaded;\n this.emitEvent( 'progress', [ this, this.img, message ] );\n};\n\n// ----- events ----- //\n\n// trigger specified handler for event type\nLoadingImage.prototype.handleEvent = function( event ) {\n var method = 'on' + event.type;\n if ( this[ method ] ) {\n this[ method ]( event );\n }\n};\n\nLoadingImage.prototype.onload = function() {\n this.confirm( true, 'onload' );\n this.unbindEvents();\n};\n\nLoadingImage.prototype.onerror = function() {\n this.confirm( false, 'onerror' );\n this.unbindEvents();\n};\n\nLoadingImage.prototype.unbindEvents = function() {\n this.proxyImage.removeEventListener( 'load', this );\n this.proxyImage.removeEventListener( 'error', this );\n this.img.removeEventListener( 'load', this );\n this.img.removeEventListener( 'error', this );\n};\n\n// -------------------------- Background -------------------------- //\n\nfunction Background( url, element ) {\n this.url = url;\n this.element = element;\n this.img = new Image();\n}\n\n// inherit LoadingImage prototype\nBackground.prototype = Object.create( LoadingImage.prototype );\n\nBackground.prototype.check = function() {\n this.img.addEventListener( 'load', this );\n this.img.addEventListener( 'error', this );\n this.img.src = this.url;\n // check if image is already complete\n var isComplete = this.getIsImageComplete();\n if ( isComplete ) {\n this.confirm( this.img.naturalWidth !== 0, 'naturalWidth' );\n this.unbindEvents();\n }\n};\n\nBackground.prototype.unbindEvents = function() {\n this.img.removeEventListener( 'load', this );\n this.img.removeEventListener( 'error', this );\n};\n\nBackground.prototype.confirm = function( isLoaded, message ) {\n this.isLoaded = isLoaded;\n this.emitEvent( 'progress', [ this, this.element, message ] );\n};\n\n// -------------------------- jQuery -------------------------- //\n\nImagesLoaded.makeJQueryPlugin = function( jQuery ) {\n jQuery = jQuery || window.jQuery;\n if ( !jQuery ) {\n return;\n }\n // set local variable\n $ = jQuery;\n // $().imagesLoaded()\n $.fn.imagesLoaded = function( options, callback ) {\n var instance = new ImagesLoaded( this, options, callback );\n return instance.jqDeferred.promise( $(this) );\n };\n};\n// try making plugin\nImagesLoaded.makeJQueryPlugin();\n\n// -------------------------- -------------------------- //\n\nreturn ImagesLoaded;\n\n});\n","/*!\n * Determine if an object is a Buffer\n *\n * @author Feross Aboukhadijeh <https://feross.org>\n * @license MIT\n */\n\n// The _isBuffer check is for Safari 5-7 support, because it's missing\n// Object.prototype.constructor. Remove this eventually\nmodule.exports = function (obj) {\n return obj != null && (isBuffer(obj) || isSlowBuffer(obj) || !!obj._isBuffer)\n}\n\nfunction isBuffer (obj) {\n return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)\n}\n\n// For Node v0.10 support. Remove this eventually.\nfunction isSlowBuffer (obj) {\n return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isBuffer(obj.slice(0, 0))\n}\n","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n","'use strict';\n\nvar replace = String.prototype.replace;\nvar percentTwenties = /%20/g;\n\nmodule.exports = {\n 'default': 'RFC3986',\n formatters: {\n RFC1738: function (value) {\n return replace.call(value, percentTwenties, '+');\n },\n RFC3986: function (value) {\n return value;\n }\n },\n RFC1738: 'RFC1738',\n RFC3986: 'RFC3986'\n};\n","'use strict';\n\nvar stringify = require('./stringify');\nvar parse = require('./parse');\nvar formats = require('./formats');\n\nmodule.exports = {\n formats: formats,\n parse: parse,\n stringify: stringify\n};\n","'use strict';\n\nvar utils = require('./utils');\n\nvar has = Object.prototype.hasOwnProperty;\n\nvar defaults = {\n allowDots: false,\n allowPrototypes: false,\n arrayLimit: 20,\n charset: 'utf-8',\n charsetSentinel: false,\n decoder: utils.decode,\n delimiter: '&',\n depth: 5,\n ignoreQueryPrefix: false,\n interpretNumericEntities: false,\n parameterLimit: 1000,\n parseArrays: true,\n plainObjects: false,\n strictNullHandling: false\n};\n\nvar interpretNumericEntities = function (str) {\n return str.replace(/&#(\\d+);/g, function ($0, numberStr) {\n return String.fromCharCode(parseInt(numberStr, 10));\n });\n};\n\n// This is what browsers will submit when the ✓ character occurs in an\n// application/x-www-form-urlencoded body and the encoding of the page containing\n// the form is iso-8859-1, or when the submitted form has an accept-charset\n// attribute of iso-8859-1. Presumably also with other charsets that do not contain\n// the ✓ character, such as us-ascii.\nvar isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('&#10003;')\n\n// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded.\nvar charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')\n\nvar parseValues = function parseQueryStringValues(str, options) {\n var obj = {};\n var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\\?/, '') : str;\n var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;\n var parts = cleanStr.split(options.delimiter, limit);\n var skipIndex = -1; // Keep track of where the utf8 sentinel was found\n var i;\n\n var charset = options.charset;\n if (options.charsetSentinel) {\n for (i = 0; i < parts.length; ++i) {\n if (parts[i].indexOf('utf8=') === 0) {\n if (parts[i] === charsetSentinel) {\n charset = 'utf-8';\n } else if (parts[i] === isoSentinel) {\n charset = 'iso-8859-1';\n }\n skipIndex = i;\n i = parts.length; // The eslint settings do not allow break;\n }\n }\n }\n\n for (i = 0; i < parts.length; ++i) {\n if (i === skipIndex) {\n continue;\n }\n var part = parts[i];\n\n var bracketEqualsPos = part.indexOf(']=');\n var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;\n\n var key, val;\n if (pos === -1) {\n key = options.decoder(part, defaults.decoder, charset);\n val = options.strictNullHandling ? null : '';\n } else {\n key = options.decoder(part.slice(0, pos), defaults.decoder, charset);\n val = options.decoder(part.slice(pos + 1), defaults.decoder, charset);\n }\n\n if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {\n val = interpretNumericEntities(val);\n }\n if (has.call(obj, key)) {\n obj[key] = utils.combine(obj[key], val);\n } else {\n obj[key] = val;\n }\n }\n\n return obj;\n};\n\nvar parseObject = function (chain, val, options) {\n var leaf = val;\n\n for (var i = chain.length - 1; i >= 0; --i) {\n var obj;\n var root = chain[i];\n\n if (root === '[]' && options.parseArrays) {\n obj = [].concat(leaf);\n } else {\n obj = options.plainObjects ? Object.create(null) : {};\n var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;\n var index = parseInt(cleanRoot, 10);\n if (!options.parseArrays && cleanRoot === '') {\n obj = { 0: leaf };\n } else if (\n !isNaN(index)\n && root !== cleanRoot\n && String(index) === cleanRoot\n && index >= 0\n && (options.parseArrays && index <= options.arrayLimit)\n ) {\n obj = [];\n obj[index] = leaf;\n } else {\n obj[cleanRoot] = leaf;\n }\n }\n\n leaf = obj;\n }\n\n return leaf;\n};\n\nvar parseKeys = function parseQueryStringKeys(givenKey, val, options) {\n if (!givenKey) {\n return;\n }\n\n // Transform dot notation to bracket notation\n var key = options.allowDots ? givenKey.replace(/\\.([^.[]+)/g, '[$1]') : givenKey;\n\n // The regex chunks\n\n var brackets = /(\\[[^[\\]]*])/;\n var child = /(\\[[^[\\]]*])/g;\n\n // Get the parent\n\n var segment = brackets.exec(key);\n var parent = segment ? key.slice(0, segment.index) : key;\n\n // Stash the parent if it exists\n\n var keys = [];\n if (parent) {\n // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties\n if (!options.plainObjects && has.call(Object.prototype, parent)) {\n if (!options.allowPrototypes) {\n return;\n }\n }\n\n keys.push(parent);\n }\n\n // Loop through children appending to the array until we hit depth\n\n var i = 0;\n while ((segment = child.exec(key)) !== null && i < options.depth) {\n i += 1;\n if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {\n if (!options.allowPrototypes) {\n return;\n }\n }\n keys.push(segment[1]);\n }\n\n // If there's a remainder, just add whatever is left\n\n if (segment) {\n keys.push('[' + key.slice(segment.index) + ']');\n }\n\n return parseObject(keys, val, options);\n};\n\nmodule.exports = function (str, opts) {\n var options = opts ? utils.assign({}, opts) : {};\n\n if (options.decoder !== null && options.decoder !== undefined && typeof options.decoder !== 'function') {\n throw new TypeError('Decoder has to be a function.');\n }\n\n options.ignoreQueryPrefix = options.ignoreQueryPrefix === true;\n options.delimiter = typeof options.delimiter === 'string' || utils.isRegExp(options.delimiter) ? options.delimiter : defaults.delimiter;\n options.depth = typeof options.depth === 'number' ? options.depth : defaults.depth;\n options.arrayLimit = typeof options.arrayLimit === 'number' ? options.arrayLimit : defaults.arrayLimit;\n options.parseArrays = options.parseArrays !== false;\n options.decoder = typeof options.decoder === 'function' ? options.decoder : defaults.decoder;\n options.allowDots = typeof options.allowDots === 'undefined' ? defaults.allowDots : !!options.allowDots;\n options.plainObjects = typeof options.plainObjects === 'boolean' ? options.plainObjects : defaults.plainObjects;\n options.allowPrototypes = typeof options.allowPrototypes === 'boolean' ? options.allowPrototypes : defaults.allowPrototypes;\n options.parameterLimit = typeof options.parameterLimit === 'number' ? options.parameterLimit : defaults.parameterLimit;\n options.strictNullHandling = typeof options.strictNullHandling === 'boolean' ? options.strictNullHandling : defaults.strictNullHandling;\n\n if (typeof options.charset !== 'undefined' && options.charset !== 'utf-8' && options.charset !== 'iso-8859-1') {\n throw new Error('The charset option must be either utf-8, iso-8859-1, or undefined');\n }\n if (typeof options.charset === 'undefined') {\n options.charset = defaults.charset;\n }\n\n if (str === '' || str === null || typeof str === 'undefined') {\n return options.plainObjects ? Object.create(null) : {};\n }\n\n var tempObj = typeof str === 'string' ? parseValues(str, options) : str;\n var obj = options.plainObjects ? Object.create(null) : {};\n\n // Iterate over the keys and setup the new object\n\n var keys = Object.keys(tempObj);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n var newObj = parseKeys(key, tempObj[key], options);\n obj = utils.merge(obj, newObj, options);\n }\n\n return utils.compact(obj);\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar formats = require('./formats');\n\nvar arrayPrefixGenerators = {\n brackets: function brackets(prefix) { // eslint-disable-line func-name-matching\n return prefix + '[]';\n },\n indices: function indices(prefix, key) { // eslint-disable-line func-name-matching\n return prefix + '[' + key + ']';\n },\n repeat: function repeat(prefix) { // eslint-disable-line func-name-matching\n return prefix;\n }\n};\n\nvar isArray = Array.isArray;\nvar push = Array.prototype.push;\nvar pushToArray = function (arr, valueOrArray) {\n push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);\n};\n\nvar toISO = Date.prototype.toISOString;\n\nvar defaults = {\n addQueryPrefix: false,\n allowDots: false,\n charset: 'utf-8',\n charsetSentinel: false,\n delimiter: '&',\n encode: true,\n encoder: utils.encode,\n encodeValuesOnly: false,\n // deprecated\n indices: false,\n serializeDate: function serializeDate(date) { // eslint-disable-line func-name-matching\n return toISO.call(date);\n },\n skipNulls: false,\n strictNullHandling: false\n};\n\nvar stringify = function stringify( // eslint-disable-line func-name-matching\n object,\n prefix,\n generateArrayPrefix,\n strictNullHandling,\n skipNulls,\n encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n formatter,\n encodeValuesOnly,\n charset\n) {\n var obj = object;\n if (typeof filter === 'function') {\n obj = filter(prefix, obj);\n } else if (obj instanceof Date) {\n obj = serializeDate(obj);\n }\n\n if (obj === null) {\n if (strictNullHandling) {\n return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset) : prefix;\n }\n\n obj = '';\n }\n\n if (typeof obj === 'string' || typeof obj === 'number' || typeof obj === 'boolean' || utils.isBuffer(obj)) {\n if (encoder) {\n var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset);\n return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset))];\n }\n return [formatter(prefix) + '=' + formatter(String(obj))];\n }\n\n var values = [];\n\n if (typeof obj === 'undefined') {\n return values;\n }\n\n var objKeys;\n if (Array.isArray(filter)) {\n objKeys = filter;\n } else {\n var keys = Object.keys(obj);\n objKeys = sort ? keys.sort(sort) : keys;\n }\n\n for (var i = 0; i < objKeys.length; ++i) {\n var key = objKeys[i];\n\n if (skipNulls && obj[key] === null) {\n continue;\n }\n\n if (Array.isArray(obj)) {\n pushToArray(values, stringify(\n obj[key],\n generateArrayPrefix(prefix, key),\n generateArrayPrefix,\n strictNullHandling,\n skipNulls,\n encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n formatter,\n encodeValuesOnly,\n charset\n ));\n } else {\n pushToArray(values, stringify(\n obj[key],\n prefix + (allowDots ? '.' + key : '[' + key + ']'),\n generateArrayPrefix,\n strictNullHandling,\n skipNulls,\n encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n formatter,\n encodeValuesOnly,\n charset\n ));\n }\n }\n\n return values;\n};\n\nmodule.exports = function (object, opts) {\n var obj = object;\n var options = opts ? utils.assign({}, opts) : {};\n\n if (options.encoder !== null && options.encoder !== undefined && typeof options.encoder !== 'function') {\n throw new TypeError('Encoder has to be a function.');\n }\n\n var delimiter = typeof options.delimiter === 'undefined' ? defaults.delimiter : options.delimiter;\n var strictNullHandling = typeof options.strictNullHandling === 'boolean' ? options.strictNullHandling : defaults.strictNullHandling;\n var skipNulls = typeof options.skipNulls === 'boolean' ? options.skipNulls : defaults.skipNulls;\n var encode = typeof options.encode === 'boolean' ? options.encode : defaults.encode;\n var encoder = typeof options.encoder === 'function' ? options.encoder : defaults.encoder;\n var sort = typeof options.sort === 'function' ? options.sort : null;\n var allowDots = typeof options.allowDots === 'undefined' ? defaults.allowDots : !!options.allowDots;\n var serializeDate = typeof options.serializeDate === 'function' ? options.serializeDate : defaults.serializeDate;\n var encodeValuesOnly = typeof options.encodeValuesOnly === 'boolean' ? options.encodeValuesOnly : defaults.encodeValuesOnly;\n var charset = options.charset || defaults.charset;\n if (typeof options.charset !== 'undefined' && options.charset !== 'utf-8' && options.charset !== 'iso-8859-1') {\n throw new Error('The charset option must be either utf-8, iso-8859-1, or undefined');\n }\n\n if (typeof options.format === 'undefined') {\n options.format = formats['default'];\n } else if (!Object.prototype.hasOwnProperty.call(formats.formatters, options.format)) {\n throw new TypeError('Unknown format option provided.');\n }\n var formatter = formats.formatters[options.format];\n var objKeys;\n var filter;\n\n if (typeof options.filter === 'function') {\n filter = options.filter;\n obj = filter('', obj);\n } else if (Array.isArray(options.filter)) {\n filter = options.filter;\n objKeys = filter;\n }\n\n var keys = [];\n\n if (typeof obj !== 'object' || obj === null) {\n return '';\n }\n\n var arrayFormat;\n if (options.arrayFormat in arrayPrefixGenerators) {\n arrayFormat = options.arrayFormat;\n } else if ('indices' in options) {\n arrayFormat = options.indices ? 'indices' : 'repeat';\n } else {\n arrayFormat = 'indices';\n }\n\n var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];\n\n if (!objKeys) {\n objKeys = Object.keys(obj);\n }\n\n if (sort) {\n objKeys.sort(sort);\n }\n\n for (var i = 0; i < objKeys.length; ++i) {\n var key = objKeys[i];\n\n if (skipNulls && obj[key] === null) {\n continue;\n }\n pushToArray(keys, stringify(\n obj[key],\n key,\n generateArrayPrefix,\n strictNullHandling,\n skipNulls,\n encode ? encoder : null,\n filter,\n sort,\n allowDots,\n serializeDate,\n formatter,\n encodeValuesOnly,\n charset\n ));\n }\n\n var joined = keys.join(delimiter);\n var prefix = options.addQueryPrefix === true ? '?' : '';\n\n if (options.charsetSentinel) {\n if (charset === 'iso-8859-1') {\n // encodeURIComponent('&#10003;'), the \"numeric entity\" representation of a checkmark\n prefix += 'utf8=%26%2310003%3B&';\n } else {\n // encodeURIComponent('✓')\n prefix += 'utf8=%E2%9C%93&';\n }\n }\n\n return joined.length > 0 ? prefix + joined : '';\n};\n","'use strict';\n\nvar has = Object.prototype.hasOwnProperty;\n\nvar hexTable = (function () {\n var array = [];\n for (var i = 0; i < 256; ++i) {\n array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());\n }\n\n return array;\n}());\n\nvar compactQueue = function compactQueue(queue) {\n while (queue.length > 1) {\n var item = queue.pop();\n var obj = item.obj[item.prop];\n\n if (Array.isArray(obj)) {\n var compacted = [];\n\n for (var j = 0; j < obj.length; ++j) {\n if (typeof obj[j] !== 'undefined') {\n compacted.push(obj[j]);\n }\n }\n\n item.obj[item.prop] = compacted;\n }\n }\n};\n\nvar arrayToObject = function arrayToObject(source, options) {\n var obj = options && options.plainObjects ? Object.create(null) : {};\n for (var i = 0; i < source.length; ++i) {\n if (typeof source[i] !== 'undefined') {\n obj[i] = source[i];\n }\n }\n\n return obj;\n};\n\nvar merge = function merge(target, source, options) {\n if (!source) {\n return target;\n }\n\n if (typeof source !== 'object') {\n if (Array.isArray(target)) {\n target.push(source);\n } else if (typeof target === 'object') {\n if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) {\n target[source] = true;\n }\n } else {\n return [target, source];\n }\n\n return target;\n }\n\n if (typeof target !== 'object') {\n return [target].concat(source);\n }\n\n var mergeTarget = target;\n if (Array.isArray(target) && !Array.isArray(source)) {\n mergeTarget = arrayToObject(target, options);\n }\n\n if (Array.isArray(target) && Array.isArray(source)) {\n source.forEach(function (item, i) {\n if (has.call(target, i)) {\n if (target[i] && typeof target[i] === 'object') {\n target[i] = merge(target[i], item, options);\n } else {\n target.push(item);\n }\n } else {\n target[i] = item;\n }\n });\n return target;\n }\n\n return Object.keys(source).reduce(function (acc, key) {\n var value = source[key];\n\n if (has.call(acc, key)) {\n acc[key] = merge(acc[key], value, options);\n } else {\n acc[key] = value;\n }\n return acc;\n }, mergeTarget);\n};\n\nvar assign = function assignSingleSource(target, source) {\n return Object.keys(source).reduce(function (acc, key) {\n acc[key] = source[key];\n return acc;\n }, target);\n};\n\nvar decode = function (str, decoder, charset) {\n var strWithoutPlus = str.replace(/\\+/g, ' ');\n if (charset === 'iso-8859-1') {\n // unescape never throws, no try...catch needed:\n return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);\n }\n // utf-8\n try {\n return decodeURIComponent(strWithoutPlus);\n } catch (e) {\n return strWithoutPlus;\n }\n};\n\nvar encode = function encode(str, defaultEncoder, charset) {\n // This code was originally written by Brian White (mscdex) for the io.js core querystring library.\n // It has been adapted here for stricter adherence to RFC 3986\n if (str.length === 0) {\n return str;\n }\n\n var string = typeof str === 'string' ? str : String(str);\n\n if (charset === 'iso-8859-1') {\n return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) {\n return '%26%23' + parseInt($0.slice(2), 16) + '%3B';\n });\n }\n\n var out = '';\n for (var i = 0; i < string.length; ++i) {\n var c = string.charCodeAt(i);\n\n if (\n c === 0x2D // -\n || c === 0x2E // .\n || c === 0x5F // _\n || c === 0x7E // ~\n || (c >= 0x30 && c <= 0x39) // 0-9\n || (c >= 0x41 && c <= 0x5A) // a-z\n || (c >= 0x61 && c <= 0x7A) // A-Z\n ) {\n out += string.charAt(i);\n continue;\n }\n\n if (c < 0x80) {\n out = out + hexTable[c];\n continue;\n }\n\n if (c < 0x800) {\n out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);\n continue;\n }\n\n if (c < 0xD800 || c >= 0xE000) {\n out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);\n continue;\n }\n\n i += 1;\n c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));\n out += hexTable[0xF0 | (c >> 18)]\n + hexTable[0x80 | ((c >> 12) & 0x3F)]\n + hexTable[0x80 | ((c >> 6) & 0x3F)]\n + hexTable[0x80 | (c & 0x3F)];\n }\n\n return out;\n};\n\nvar compact = function compact(value) {\n var queue = [{ obj: { o: value }, prop: 'o' }];\n var refs = [];\n\n for (var i = 0; i < queue.length; ++i) {\n var item = queue[i];\n var obj = item.obj[item.prop];\n\n var keys = Object.keys(obj);\n for (var j = 0; j < keys.length; ++j) {\n var key = keys[j];\n var val = obj[key];\n if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {\n queue.push({ obj: obj, prop: key });\n refs.push(val);\n }\n }\n }\n\n compactQueue(queue);\n\n return value;\n};\n\nvar isRegExp = function isRegExp(obj) {\n return Object.prototype.toString.call(obj) === '[object RegExp]';\n};\n\nvar isBuffer = function isBuffer(obj) {\n if (obj === null || typeof obj === 'undefined') {\n return false;\n }\n\n return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));\n};\n\nvar combine = function combine(a, b) {\n return [].concat(a, b);\n};\n\nmodule.exports = {\n arrayToObject: arrayToObject,\n assign: assign,\n combine: combine,\n compact: compact,\n decode: decode,\n encode: encode,\n isBuffer: isBuffer,\n isRegExp: isRegExp,\n merge: merge\n};\n","/* smoothscroll v0.4.0 - 2018 - Dustan Kasten, Jeremias Menichelli - MIT License */\n(function () {\n 'use strict';\n\n // polyfill\n function polyfill() {\n // aliases\n var w = window;\n var d = document;\n\n // return if scroll behavior is supported and polyfill is not forced\n if (\n 'scrollBehavior' in d.documentElement.style &&\n w.__forceSmoothScrollPolyfill__ !== true\n ) {\n return;\n }\n\n // globals\n var Element = w.HTMLElement || w.Element;\n var SCROLL_TIME = 468;\n\n // object gathering original scroll methods\n var original = {\n scroll: w.scroll || w.scrollTo,\n scrollBy: w.scrollBy,\n elementScroll: Element.prototype.scroll || scrollElement,\n scrollIntoView: Element.prototype.scrollIntoView\n };\n\n // define timing method\n var now =\n w.performance && w.performance.now\n ? w.performance.now.bind(w.performance)\n : Date.now;\n\n /**\n * indicates if a the current browser is made by Microsoft\n * @method isMicrosoftBrowser\n * @param {String} userAgent\n * @returns {Boolean}\n */\n function isMicrosoftBrowser(userAgent) {\n var userAgentPatterns = ['MSIE ', 'Trident/', 'Edge/'];\n\n return new RegExp(userAgentPatterns.join('|')).test(userAgent);\n }\n\n /*\n * IE has rounding bug rounding down clientHeight and clientWidth and\n * rounding up scrollHeight and scrollWidth causing false positives\n * on hasScrollableSpace\n */\n var ROUNDING_TOLERANCE = isMicrosoftBrowser(w.navigator.userAgent) ? 1 : 0;\n\n /**\n * changes scroll position inside an element\n * @method scrollElement\n * @param {Number} x\n * @param {Number} y\n * @returns {undefined}\n */\n function scrollElement(x, y) {\n this.scrollLeft = x;\n this.scrollTop = y;\n }\n\n /**\n * returns result of applying ease math function to a number\n * @method ease\n * @param {Number} k\n * @returns {Number}\n */\n function ease(k) {\n return 0.5 * (1 - Math.cos(Math.PI * k));\n }\n\n /**\n * indicates if a smooth behavior should be applied\n * @method shouldBailOut\n * @param {Number|Object} firstArg\n * @returns {Boolean}\n */\n function shouldBailOut(firstArg) {\n if (\n firstArg === null ||\n typeof firstArg !== 'object' ||\n firstArg.behavior === undefined ||\n firstArg.behavior === 'auto' ||\n firstArg.behavior === 'instant'\n ) {\n // first argument is not an object/null\n // or behavior is auto, instant or undefined\n return true;\n }\n\n if (typeof firstArg === 'object' && firstArg.behavior === 'smooth') {\n // first argument is an object and behavior is smooth\n return false;\n }\n\n // throw error when behavior is not supported\n throw new TypeError(\n 'behavior member of ScrollOptions ' +\n firstArg.behavior +\n ' is not a valid value for enumeration ScrollBehavior.'\n );\n }\n\n /**\n * indicates if an element has scrollable space in the provided axis\n * @method hasScrollableSpace\n * @param {Node} el\n * @param {String} axis\n * @returns {Boolean}\n */\n function hasScrollableSpace(el, axis) {\n if (axis === 'Y') {\n return el.clientHeight + ROUNDING_TOLERANCE < el.scrollHeight;\n }\n\n if (axis === 'X') {\n return el.clientWidth + ROUNDING_TOLERANCE < el.scrollWidth;\n }\n }\n\n /**\n * indicates if an element has a scrollable overflow property in the axis\n * @method canOverflow\n * @param {Node} el\n * @param {String} axis\n * @returns {Boolean}\n */\n function canOverflow(el, axis) {\n var overflowValue = w.getComputedStyle(el, null)['overflow' + axis];\n\n return overflowValue === 'auto' || overflowValue === 'scroll';\n }\n\n /**\n * indicates if an element can be scrolled in either axis\n * @method isScrollable\n * @param {Node} el\n * @param {String} axis\n * @returns {Boolean}\n */\n function isScrollable(el) {\n var isScrollableY = hasScrollableSpace(el, 'Y') && canOverflow(el, 'Y');\n var isScrollableX = hasScrollableSpace(el, 'X') && canOverflow(el, 'X');\n\n return isScrollableY || isScrollableX;\n }\n\n /**\n * finds scrollable parent of an element\n * @method findScrollableParent\n * @param {Node} el\n * @returns {Node} el\n */\n function findScrollableParent(el) {\n var isBody;\n\n do {\n el = el.parentNode;\n\n isBody = el === d.body;\n } while (isBody === false && isScrollable(el) === false);\n\n isBody = null;\n\n return el;\n }\n\n /**\n * self invoked function that, given a context, steps through scrolling\n * @method step\n * @param {Object} context\n * @returns {undefined}\n */\n function step(context) {\n var time = now();\n var value;\n var currentX;\n var currentY;\n var elapsed = (time - context.startTime) / SCROLL_TIME;\n\n // avoid elapsed times higher than one\n elapsed = elapsed > 1 ? 1 : elapsed;\n\n // apply easing to elapsed time\n value = ease(elapsed);\n\n currentX = context.startX + (context.x - context.startX) * value;\n currentY = context.startY + (context.y - context.startY) * value;\n\n context.method.call(context.scrollable, currentX, currentY);\n\n // scroll more if we have not reached our destination\n if (currentX !== context.x || currentY !== context.y) {\n w.requestAnimationFrame(step.bind(w, context));\n }\n }\n\n /**\n * scrolls window or element with a smooth behavior\n * @method smoothScroll\n * @param {Object|Node} el\n * @param {Number} x\n * @param {Number} y\n * @returns {undefined}\n */\n function smoothScroll(el, x, y) {\n var scrollable;\n var startX;\n var startY;\n var method;\n var startTime = now();\n\n // define scroll context\n if (el === d.body) {\n scrollable = w;\n startX = w.scrollX || w.pageXOffset;\n startY = w.scrollY || w.pageYOffset;\n method = original.scroll;\n } else {\n scrollable = el;\n startX = el.scrollLeft;\n startY = el.scrollTop;\n method = scrollElement;\n }\n\n // scroll looping over a frame\n step({\n scrollable: scrollable,\n method: method,\n startTime: startTime,\n startX: startX,\n startY: startY,\n x: x,\n y: y\n });\n }\n\n // ORIGINAL METHODS OVERRIDES\n // w.scroll and w.scrollTo\n w.scroll = w.scrollTo = function() {\n // avoid action when no arguments are passed\n if (arguments[0] === undefined) {\n return;\n }\n\n // avoid smooth behavior if not required\n if (shouldBailOut(arguments[0]) === true) {\n original.scroll.call(\n w,\n arguments[0].left !== undefined\n ? arguments[0].left\n : typeof arguments[0] !== 'object'\n ? arguments[0]\n : w.scrollX || w.pageXOffset,\n // use top prop, second argument if present or fallback to scrollY\n arguments[0].top !== undefined\n ? arguments[0].top\n : arguments[1] !== undefined\n ? arguments[1]\n : w.scrollY || w.pageYOffset\n );\n\n return;\n }\n\n // LET THE SMOOTHNESS BEGIN!\n smoothScroll.call(\n w,\n d.body,\n arguments[0].left !== undefined\n ? ~~arguments[0].left\n : w.scrollX || w.pageXOffset,\n arguments[0].top !== undefined\n ? ~~arguments[0].top\n : w.scrollY || w.pageYOffset\n );\n };\n\n // w.scrollBy\n w.scrollBy = function() {\n // avoid action when no arguments are passed\n if (arguments[0] === undefined) {\n return;\n }\n\n // avoid smooth behavior if not required\n if (shouldBailOut(arguments[0])) {\n original.scrollBy.call(\n w,\n arguments[0].left !== undefined\n ? arguments[0].left\n : typeof arguments[0] !== 'object' ? arguments[0] : 0,\n arguments[0].top !== undefined\n ? arguments[0].top\n : arguments[1] !== undefined ? arguments[1] : 0\n );\n\n return;\n }\n\n // LET THE SMOOTHNESS BEGIN!\n smoothScroll.call(\n w,\n d.body,\n ~~arguments[0].left + (w.scrollX || w.pageXOffset),\n ~~arguments[0].top + (w.scrollY || w.pageYOffset)\n );\n };\n\n // Element.prototype.scroll and Element.prototype.scrollTo\n Element.prototype.scroll = Element.prototype.scrollTo = function() {\n // avoid action when no arguments are passed\n if (arguments[0] === undefined) {\n return;\n }\n\n // avoid smooth behavior if not required\n if (shouldBailOut(arguments[0]) === true) {\n // if one number is passed, throw error to match Firefox implementation\n if (typeof arguments[0] === 'number' && arguments[1] === undefined) {\n throw new SyntaxError('Value could not be converted');\n }\n\n original.elementScroll.call(\n this,\n // use left prop, first number argument or fallback to scrollLeft\n arguments[0].left !== undefined\n ? ~~arguments[0].left\n : typeof arguments[0] !== 'object' ? ~~arguments[0] : this.scrollLeft,\n // use top prop, second argument or fallback to scrollTop\n arguments[0].top !== undefined\n ? ~~arguments[0].top\n : arguments[1] !== undefined ? ~~arguments[1] : this.scrollTop\n );\n\n return;\n }\n\n var left = arguments[0].left;\n var top = arguments[0].top;\n\n // LET THE SMOOTHNESS BEGIN!\n smoothScroll.call(\n this,\n this,\n typeof left === 'undefined' ? this.scrollLeft : ~~left,\n typeof top === 'undefined' ? this.scrollTop : ~~top\n );\n };\n\n // Element.prototype.scrollBy\n Element.prototype.scrollBy = function() {\n // avoid action when no arguments are passed\n if (arguments[0] === undefined) {\n return;\n }\n\n // avoid smooth behavior if not required\n if (shouldBailOut(arguments[0]) === true) {\n original.elementScroll.call(\n this,\n arguments[0].left !== undefined\n ? ~~arguments[0].left + this.scrollLeft\n : ~~arguments[0] + this.scrollLeft,\n arguments[0].top !== undefined\n ? ~~arguments[0].top + this.scrollTop\n : ~~arguments[1] + this.scrollTop\n );\n\n return;\n }\n\n this.scroll({\n left: ~~arguments[0].left + this.scrollLeft,\n top: ~~arguments[0].top + this.scrollTop,\n behavior: arguments[0].behavior\n });\n };\n\n // Element.prototype.scrollIntoView\n Element.prototype.scrollIntoView = function() {\n // avoid smooth behavior if not required\n if (shouldBailOut(arguments[0]) === true) {\n original.scrollIntoView.call(\n this,\n arguments[0] === undefined ? true : arguments[0]\n );\n\n return;\n }\n\n // LET THE SMOOTHNESS BEGIN!\n var scrollableParent = findScrollableParent(this);\n var parentRects = scrollableParent.getBoundingClientRect();\n var clientRects = this.getBoundingClientRect();\n\n if (scrollableParent !== d.body) {\n // reveal element inside parent\n smoothScroll.call(\n this,\n scrollableParent,\n scrollableParent.scrollLeft + clientRects.left - parentRects.left,\n scrollableParent.scrollTop + clientRects.top - parentRects.top\n );\n\n // reveal parent in viewport unless is fixed\n if (w.getComputedStyle(scrollableParent).position !== 'fixed') {\n w.scrollBy({\n left: parentRects.left,\n top: parentRects.top,\n behavior: 'smooth'\n });\n }\n } else {\n // reveal element in viewport\n w.scrollBy({\n left: clientRects.left,\n top: clientRects.top,\n behavior: 'smooth'\n });\n }\n };\n }\n\n if (typeof exports === 'object' && typeof module !== 'undefined') {\n // commonjs\n module.exports = { polyfill: polyfill };\n } else {\n // global\n polyfill();\n }\n\n}());\n"],"sourceRoot":""}
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/srcsetPolyfill.js","webpack://ajaxloadmore/./core/src/js/helpers/stripEmptyNodes.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/noResults.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/noConflict.js","webpack://ajaxloadmore/./node_modules/@babel/polyfill/noConflict.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"],"names":["queryParams","resultsText","require","qs","imagesLoaded","smoothscroll","alm_is_filtering","ajaxloadmore","alm_localize","window","alm","el","alm_no_results","Array","parseInt","page","setTimeout","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","params","data","queryType","alm_rest_url","post_id","template","tab_template","results","html","obj","alm_rest_template","wp","meta","postcount","totalposts","i","result","console","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","insertScript","currentPage","classes","content","loader","styles","pTop","pBtm","h","nested","id","initial_id","order","taxonomy","excluded_terms","post_type","init","location","error","button","e","resize","clearTimeout","trigger","btnPos","scrollTrigger","scrollInstance","scrollHeight","scrollPosition","direction","code","name","value","query","vars","pair","decodeURIComponent","alm_nextpage_pages","alm_nextpage_total","target","alm_instances","filter","transition","speed","tab","url","tracking","gtag","path","ga","__gaTracker","start","almScroll","top","behavior","getOffset","rect","scrollLeft","scrollTop","left","render","options","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","regex","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","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","srcsetPolyfill","ua","imgs","img","stripEmptyNodes","nodes","node","almFadeIn","op","timer","clearInterval","almFadeOut","fadeEffect","almFilter","almFilterTransition","new_el","almCompleteFilterTransition","paging","almSetFilters","key","almFilterComplete","almFiltersAddonComplete","almTabsComplete","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","almNoResults","almResultsText","almGetResultsText","almInitResultsText","resultsType","current","almRenderResultsText","text","setFocus","parent","scrollContainer","x","y","setLocalizedVars"],"mappings":";;AAAA;AACA;;AAEA;AACA;;AAEA;AAC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,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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA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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,kBAAkB,mBAAO,CAAC,uFAAU;AACpC,iCAAiC,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O,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;;;;;;;;;;;;ACLzC,uBAAuB;AACvB;AACA;AACA;;;;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;;;;;;;;;;;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;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;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,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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AEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,iBAAiB,mBAAmB,0BAA0B,EAAE,EAAE;AAClE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yDAAyD,gCAAgC;AACzF;AACA,OAAO;AACP;AACA;AACA,6EAA6E,YAAY;AACzF;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,yDAAyD,6CAA6C,EAAE;;AAExG;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL,mDAAmD;AACnD;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL,oCAAoC;AACpC;AACA,KAAK;AACL,wEAAwE;AACxE;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL,8DAA8D;AAC9D;AACA,KAAK;AACL,wEAAwE;AACxE;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;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,KAAK;AACL;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH,yBAAyB,sBAAsB,EAAE,EAAE;AACnD;AACA;AACA;AACA;;AAEA,4CAA4C;AAC5C;AACA;AACA;AACA;AACA;AACA,8BAA8B,aAAa;AAC3C;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,sBAAsB,0BAA0B;AAChD,GAAG;;AAEH;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,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL,yBAAyB;AACzB,KAAK;AACL,uBAAuB;AACvB,2BAA2B;AAC3B,0BAA0B;AAC1B,2BAA2B;AAC3B,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,0BAA0B,aAAa;AACvC,OAAO;AACP;;AAEA;;AAEA;;AAEA;AACA;AACA,KAAK;;AAEL,uDAAuD,6BAA6B,EAAE;AACtF;AACA;AACA,KAAK;;AAEL;;AAEA;;AAEA;;AAEA,uDAAuD,YAAY;;AAEnE;;AAEA;;AAEA;AACA;AACA,KAAK,UAAU,gBAAgB;;AAE/B;AACA;AACA,KAAK;AACL;AACA,KAAK,WAAW,kCAAkC;;AAElD;AACA;AACA;AACA,CAAC,oCAAoC;;;;;;;;;;;;;AC/dxB;AACb,aAAa,mBAAO,CAAC,yFAAW;AAChC,kBAAkB,mBAAO,CAAC,mGAAgB;AAC1C,cAAc,mBAAO,CAAC,2FAAY;AAClC,aAAa,mBAAO,CAAC,uFAAU;AAC/B,WAAW,mBAAO,CAAC,qFAAS;AAC5B,kBAAkB,mBAAO,CAAC,qGAAiB;AAC3C,YAAY,mBAAO,CAAC,uFAAU;AAC9B,iBAAiB,mBAAO,CAAC,mGAAgB;AACzC,gBAAgB,mBAAO,CAAC,iGAAe;AACvC,eAAe,mBAAO,CAAC,+FAAc;AACrC,cAAc,mBAAO,CAAC,6FAAa;AACnC,WAAW,mBAAO,CAAC,mGAAgB;AACnC,SAAS,mBAAO,CAAC,+FAAc;AAC/B,gBAAgB,mBAAO,CAAC,iGAAe;AACvC,qBAAqB,mBAAO,CAAC,+GAAsB;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,QAAQ,WAAW;AACnB;AACA;AACA,QAAQ,UAAU;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,WAAW;AACnB;AACA;AACA;AACA,QAAQ,WAAW;AACnB;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,yBAAyB,mBAAmB,uBAAuB,EAAE,EAAE;AACvE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,WAAW;AAC5B;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,GAAG;AACH,CAAC;AACD;AACA;AACA,GAAG;AACH,yBAAyB;AACzB,GAAG;AACH,uBAAuB;AACvB,0BAA0B;AAC1B,0BAA0B;AAC1B;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,iDAAiD,iBAAiB;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACnRA,aAAa,mBAAO,CAAC,yFAAW;AAChC,WAAW,mBAAO,CAAC,qFAAS;AAC5B,UAAU,mBAAO,CAAC,mFAAQ;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AC3BA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA,aAAa,mBAAO,CAAC,yFAAW;AAChC;;AAEA;;;;;;;;;;;;ACHA,eAAe,mBAAO,CAAC,+FAAc;AACrC;AACA;AACA;AACA;;;;;;;;;;;;ACJA,aAAa,mBAAO,CAAC,yFAAW;AAChC,WAAW,mBAAO,CAAC,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A0B;;;;;;;;;;;;ACHzG,cAAc,mBAAO,CAAC,yFAAW;AACjC,gBAAgB,mBAAO,CAAC,+FAAc;AACtC;AACA,2EAA2E,sBAAsB;;;;;;;;;;;;;ACHpF;AACb,cAAc,mBAAO,CAAC,yFAAW;AACjC,gBAAgB,mBAAO,CAAC,iGAAe;AACvC,mBAAmB,mBAAO,CAAC,yGAAmB;AAC9C,aAAa,mBAAO,CAAC,uGAAkB;AACvC;AACA;AACA;AACA;AACA;;AAEA;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,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA,MAAM,mBAAO,CAAC,uFAAU;AACxB;AACA,kBAAkB;AAClB,CAAC;AACD;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,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,CAAC;;;;;;;;;;;;;ACjHY;AACb,cAAc,mBAAO,CAAC,yFAAW;AACjC,aAAa,mBAAO,CAAC,uFAAU;AAC/B,mBAAmB,mBAAO,CAAC,yGAAmB;AAC9C;;AAEA;AACA;AACA;AACA,CAAC;AACD;AACA,sBAAsB;AACtB,CAAC;AACD;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACjBD;AACA,cAAc,mBAAO,CAAC,yFAAW;;AAEjC,0CAA0C,SAAS,mBAAO,CAAC,uGAAkB,GAAG;;;;;;;;;;;;ACHhF,cAAc,mBAAO,CAAC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,yBAAyB,mBAAO,CAAC,mHAAwB;AACzD,WAAW,mBAAO,CAAC,qFAAS;AAC5B,gBAAgB,mBAAO,CAAC,+FAAc;AACtC,iCAAiC,mBAAO,CAAC,yHAA2B;AACpE,cAAc,mBAAO,CAAC,2FAAY;AAClC,gBAAgB,mBAAO,CAAC,iGAAe;AACvC,qBAAqB,mBAAO,CAAC,2GAAoB;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;;AAEA;AACA;AACA;AACA;AACA,+CAA+C,EAAE,mBAAO,CAAC,mFAAQ;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,YAAY;AACf,CAAC;;AAED;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,oCAAoC;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,WAAW;AACX,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;AACA,6CAA6C;AAC7C;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,mBAAmB,kCAAkC;AACrD,SAAS;AACT;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,eAAe,uCAAuC;AACtD;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;AACA,uBAAuB,0BAA0B;AACjD;AACA;AACA,SAAS;AACT;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA;AACA,GAAG;AACH,kBAAkB,yBAAyB,KAAK;AAChD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB,wBAAwB;AACxB,gBAAgB;AAChB,oBAAoB;AACpB,wBAAwB;AACxB,gBAAgB;AAChB,oBAAoB;AACpB;AACA,uBAAuB,mBAAO,CAAC,qGAAiB;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,0DAA0D,oBAAoB;AAC9E,mBAAO,CAAC,+GAAsB;AAC9B,mBAAO,CAAC,mGAAgB;AACxB,UAAU,mBAAO,CAAC,qFAAS;;AAE3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,gDAAgD,mBAAO,CAAC,mGAAgB;AACxE;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AC7RD;AACA,cAAc,mBAAO,CAAC,yFAAW;AACjC,gBAAgB,mBAAO,CAAC,iGAAe;AACvC,eAAe,mBAAO,CAAC,+FAAc;AACrC,cAAc,mBAAO,CAAC,yFAAW,eAAe;AAChD;AACA;AACA,iCAAiC,mBAAO,CAAC,uFAAU;AACnD,sBAAsB,cAAc;AACpC,CAAC;AACD;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACfD;AACA,cAAc,mBAAO,CAAC,yFAAW;AACjC,aAAa,mBAAO,CAAC,uGAAkB;AACvC,gBA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;;;ACJY;;AAEb,eAAe,mBAAO,CAAC,+FAAc;AACrC,eAAe,mBAAO,CAAC,+FAAc;AACrC,yBAAyB,mBAAO,CAAC,qHAAyB;AAC1D,iBAAiB,mBAAO,CAAC,qHAAyB;;AAElD;AACA,mBAAO,CAAC,iGAAe;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACvCY;;AAEb,eAAe,mBAAO,CAAC,+FAAc;AACrC,eAAe,mBAAO,CAAC,+FAAc;AACrC,eAAe,mBAAO,CAAC,+FAAc;AACrC,gBAAgB,mBAAO,CAAC,iGAAe;AACvC,yBAAyB,mBAAO,CAAC,qHAAyB;AAC1D,iBAAiB,mBAAO,CAAC,qHAAyB;AAClD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAO,CAAC,iGAAe;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,oBAAoB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,mBAAmB;AAC1C;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;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,KAAK;AACL;AACA,CAAC;;;;;;;;;;;;;ACrHY;;AAEb,eAAe,mBAAO,CAAC,+FAAc;AACrC,gBAAgB,mBAAO,CAAC,iGAAe;AACvC,iBAAiB,mBAAO,CAAC,qHAAyB;;AAElD;AACA,mBAAO,CAAC,iGAAe;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;AC9BY;;AAEb,eAAe,mBAAO,CAAC,+FAAc;AACrC,eAAe,mBAAO,CAAC,+FAAc;AACrC,yBAAyB,mBAAO,CAAC,mHAAwB;AACzD,yBAAyB,mBAAO,CAAC,qHAAyB;AAC1D,eAAe,mBAAO,CAAC,+FAAc;AACrC,qBAAqB,mBAAO,CAAC,qHAAyB;AACtD,iBAAiB,mBAAO,CAAC,mGAAgB;AACzC,YAAY,mBAAO,CAAC,uFAAU;AAC9B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,qCAAqC,yBAAyB,EAAE;;AAEhE;AACA,mBAAO,CAAC,iGAAe;AACvB;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,mFAAmF;AACnF;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,yBAAyB,mBAAmB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;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AAC,iGAAe;AACvC,kBAAkB,mBAAO,CAAC,qGAAiB;AAC3C,iBAAiB,mBAAO,CAAC,uGAAkB;AAC3C,cAAc,mBAAO,CAAC,uGAAkB;AACxC,cAAc,mBAAO,CAAC,2GAAoB;AAC1C,YAAY,mBAAO,CAAC,mGAAgB;AACpC,UAAU,mBAAO,CAAC,+FAAc;AAChC,YAAY,mBAAO,CAAC,mGAAgB;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,sBAAsB;AACtB,sBAAsB,uBAAuB,WAAW,IAAI;AAC5D,GAAG;AACH,CAAC;AACD;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;AACD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2DAA2D;AAC3D;AACA,KAAK;AACL;AACA,sBAAsB,mCAAmC;AACzD,KAAK;AACL,GAAG;AACH;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,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gEAAgE,gCAAgC;AAChG;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,EAAE,mBAAO,CAAC,mGAAgB;AAC1B,EAAE,mBAAO,CAAC,iGAAe;AACzB,EAAE,mBAAO,CAAC,mGAAgB;;AAE1B,sBAAsB,mBAAO,CAAC,2FAAY;AAC1C;AACA;;AAEA;AACA;AACA;AACA;;AAEA,0DAA0D,kBAAkB;;AAE5E;AACA;AACA;AACA,oBAAoB,uBAAuB;;AAE3C,oDAAoD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,8FAAkB;;;;;;;;;;;;ACH3C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd,KAAK;AACL,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yDAAyD;AACzD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,WAAW;AACX;;AAEA;AACA;AACA,wCAAwC,WAAW;AACnD;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,2BAA2B;AAC3B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,SAAS;AACT;AACA;AACA;AACA;;AAEA;;AAEA,SAAS;AACT;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,oCAAoC,cAAc;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,iCAAiC,kBAAkB;AACnD;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,iBAAiB;;AAEjB;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,wBAAwB,iBAAiB;AACzC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;;AAEA;AACA,YAAY;AACZ;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,8CAA8C,QAAQ;AACtD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa;AACb;AACA;;AAEA,WAAW;AACX;AACA;AACA;;AAEA,WAAW;AACX;AACA;AACA;;AAEA,WAAW;AACX;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,8CAA8C,QAAQ;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA,KAAK;;AAEL;AACA,8CAA8C,QAAQ;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,8CAA8C,QAAQ;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;AChtBA,iBAAiB,mBAAO,CAAC,sDAAa,E;;;;;;;;;;;;ACAzB;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,aAAa,mBAAO,CAAC,iEAAkB;AACvC,eAAe,mBAAO,CAAC,2EAAuB;AAC9C,mBAAmB,mBAAO,CAAC,mFAA2B;AACtD,sBAAsB,mBAAO,CAAC,yFAA8B;AAC5D,kBAAkB,mBAAO,CAAC,yEAAqB;AAC/C,yFAAyF,mBAAO,CAAC,mEAAmB;;AAEpH;AACA;AACA;AACA;;AAEA;AACA,4CAA4C;AAC5C;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAQ,KAA+B;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,oBAAoB,mBAAO,CAAC,yEAAsB;;AAElD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;ACnLa;;AAEb,YAAY,mBAAO,CAAC,kDAAS;AAC7B,WAAW,mBAAO,CAAC,gEAAgB;AACnC,YAAY,mBAAO,CAAC,4DAAc;AAClC,eAAe,mBAAO,CAAC,wDAAY;;AAEnC;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,MAAM;AAClB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,eAAe,mBAAO,CAAC,kEAAiB;AACxC,oBAAoB,mBAAO,CAAC,4EAAsB;AAClD,iBAAiB,mBAAO,CAAC,sEAAmB;;AAE5C;AACA;AACA;AACA;AACA,eAAe,mBAAO,CAAC,oEAAkB;;AAEzC;;AAEA;AACA;;;;;;;;;;;;;ACnDa;;AAEb;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;;;;;;;;;;;;AClBa;;AAEb,aAAa,mBAAO,CAAC,2DAAU;;AAE/B;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;ACxDa;;AAEb;AACA;AACA;;;;;;;;;;;;;ACJa;;AAEb,eAAe,mBAAO,CAAC,2DAAe;AACtC,YAAY,mBAAO,CAAC,qDAAY;AAChC,yBAAyB,mBAAO,CAAC,iFAAsB;AACvD,sBAAsB,mBAAO,CAAC,2EAAmB;;AAEjD;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA,kCAAkC,cAAc;AAChD;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA,KAAK;AACL;AACA,CAAC;;AAED;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA;AACA,KAAK;AACL;AACA,CAAC;;AAED;;;;;;;;;;;;;AC9Ea;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;;;;;;;;;;;;;ACnDa;;AAEb,mBAAmB,mBAAO,CAAC,qEAAgB;;AAE3C;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACjBa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,oBAAoB,mBAAO,CAAC,uEAAiB;AAC7C,eAAe,mBAAO,CAAC,uEAAoB;AAC3C,eAAe,mBAAO,CAAC,yDAAa;AACpC,oBAAoB,mBAAO,CAAC,qFAA4B;AACxD,kBAAkB,mBAAO,CAAC,iFAA0B;;AAEpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,+BAA+B;AAC/B,uCAAuC;AACvC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;;;;;;;;;;;;;ACrFa;;AAEb;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACpBa;;AAEb,kBAAkB,mBAAO,CAAC,mEAAe;;AAEzC;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACzBa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,MAAM;AACjB,WAAW,eAAe;AAC1B,aAAa,EAAE;AACf;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;ACnBA,+CAAa;;AAEb,YAAY,mBAAO,CAAC,kDAAS;AAC7B,0BAA0B,mBAAO,CAAC,8FAA+B;;AAEjE;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAc,mBAAO,CAAC,gEAAgB;AACtC,GAAG;AACH;AACA,cAAc,mBAAO,CAAC,iEAAiB;AACvC;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wEAAwE;AACxE;AACA;AACA;AACA,uDAAuD;AACvD;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,OAAO,YAAY;AACnB;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA,CAAC;;AAED;;;;;;;;;;;;;;AC/Fa;;AAEb;AACA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACVa;;AAEb;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;ACnCa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;ACjEa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACba;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,wCAAwC;AACxC,OAAO;;AAEP;AACA,0DAA0D,wBAAwB;AAClF;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,gCAAgC;AAChC,6BAA6B,aAAa,EAAE;AAC5C;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACba;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB,gBAAgB;AAChB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB,gBAAgB,QAAQ;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;ACnEa;;AAEb,YAAY,mBAAO,CAAC,mDAAU;;AAE9B;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;ACXa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA,iBAAiB,eAAe;;AAEhC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B;AAC/B;AACA;AACA,WAAW,SAAS;AACpB,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;AC1Ba;;AAEb,WAAW,mBAAO,CAAC,gEAAgB;AACnC,eAAe,mBAAO,CAAC,oDAAW;;AAElC;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC,OAAO;AAC1C;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,SAAS,GAAG,SAAS;AAC5C,2BAA2B;AAC3B;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA,uCAAuC,OAAO;AAC9C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AC9SA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,OAAO,IAAyC;AAChD;AACA,IAAI,oCAAQ,OAAO;AAAA;AAAA;AAAA;AAAA,oGAAE;AACrB,GAAG,MAAM,EAMN;;AAEH,CAAC;;AAED;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,gBAAgB,sBAAsB;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA,CAAC;;;;;;;;;;;;AC/GD;AACA;AACA;AACA;AACA;;AAEA,+BAA+B;AAC/B;;AAEA;;AAEA,OAAO,IAAyC;AAChD;AACA,IAAI,iCAAQ;AACZ,MAAM,2FAAuB;AAC7B,KAAK,mCAAE;AACP;AACA,KAAK;AAAA,oGAAC;AACN,GAAG,MAAM,EAYN;;AAEH,CAAC;;AAED;;AAEA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA,WAAW,iCAAiC;AAC5C,WAAW,mBAAmB;AAC9B,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,2BAA2B;AAC3B;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,WAAW,KAAK;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,sBAAsB;AACtC;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,qBAAqB;AACnC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA,CAAC;;;;;;;;;;;;ACxXD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;ACpBA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;;;;AAIA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,qCAAqC;;AAErC;AACA;AACA;;AAEA,2BAA2B;AAC3B;AACA;AACA;AACA,4BAA4B,UAAU;;;;;;;;;;;;;ACvLzB;;AAEb;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;;;;;;;;;;;;ACjBa;;AAEb,gBAAgB,mBAAO,CAAC,uDAAa;AACrC,YAAY,mBAAO,CAAC,+CAAS;AAC7B,cAAc,mBAAO,CAAC,mDAAW;;AAEjC;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACVa;;AAEb,YAAY,mBAAO,CAAC,+CAAS;;AAE7B;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,gCAAgC;AAChC;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA,wCAAwC,gCAAgC;;AAExE;AACA,uCAAuC;;AAEvC;AACA;AACA;AACA;AACA;AACA,uBAAuB;AACvB;;AAEA;AACA;AACA,mBAAmB,kBAAkB;AACrC;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;;AAEA,eAAe,kBAAkB;AACjC;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA,kCAAkC,QAAQ;AAC1C;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,uBAAuB;AACvB,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,wCAAwC;;AAExC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;ACjOa;;AAEb,YAAY,mBAAO,CAAC,+CAAS;AAC7B,cAAc,mBAAO,CAAC,mDAAW;;AAEjC;AACA,yCAAyC;AACzC;AACA,KAAK;AACL,4CAA4C;AAC5C;AACA,KAAK;AACL,qCAAqC;AACrC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD;AACjD;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA,mBAAmB,oBAAoB;AACvC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,wCAAwC;;AAExC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,mBAAmB,oBAAoB;AACvC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,2CAA2C;AAC3C;AACA,SAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;ACjPa;;AAEb;;AAEA;AACA;AACA,mBAAmB,SAAS;AAC5B;AACA;;AAEA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;;AAEA,2BAA2B,gBAAgB;AAC3C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,mBAAmB,mBAAmB;AACtC;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA,aAAa;AACb;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA,iDAAiD,EAAE;AACnD;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,kDAAkD,EAAE;AACpD;AACA,SAAS;AACT;;AAEA;AACA,mBAAmB,mBAAmB;AACtC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,kBAAkB,OAAO,WAAW,aAAa;AACjD;;AAEA,mBAAmB,kBAAkB;AACrC;AACA;;AAEA;AACA,uBAAuB,iBAAiB;AACxC;AACA;AACA;AACA,4BAA4B,sBAAsB;AAClD;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACnOA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,eAAe,OAAO;AACtB,iBAAiB;AACjB;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,eAAe,OAAO;AACtB,eAAe,OAAO;AACtB,iBAAiB;AACjB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,eAAe,OAAO;AACtB,iBAAiB;AACjB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,eAAe,cAAc;AAC7B,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,eAAe,KAAK;AACpB,eAAe,OAAO;AACtB,iBAAiB;AACjB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,eAAe,KAAK;AACpB,eAAe,OAAO;AACtB,iBAAiB;AACjB;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,eAAe,KAAK;AACpB,eAAe,OAAO;AACtB,iBAAiB;AACjB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,eAAe,KAAK;AACpB,iBAAiB,KAAK;AACtB;AACA;AACA;;AAEA;AACA;;AAEA;AACA,OAAO;;AAEP;;AAEA;AACA;;AAEA;AACA;AACA;AACA,eAAe,OAAO;AACtB,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,eAAe,YAAY;AAC3B,eAAe,OAAO;AACtB,eAAe,OAAO;AACtB,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA,MAAM,IAA4D;AAClE;AACA,sBAAsB;AACtB,GAAG,MAAM,EAGN;;AAEH,CAAC","file":"js/ajax-load-more.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./core/src/js/ajax-load-more.js\");\n","/*\n * Ajax Load More\n * https://connekthq.com/plugins/ajax-load-more/\n * Author: Darren Cooney\n * Twitter: @KaptonKaos, @ajaxloadmore, @connekthq \n * Copyright Connekt Media - https://connekthq.com\n */\n\n\n// Polyfills\nrequire(\"@babel/polyfill/noConflict\");\nrequire('./helpers/polyfills.js');\n\n\n// External Modules\nlet qs = require('qs');\nlet imagesLoaded = require('imagesloaded');\nimport axios from 'axios';\nimport smoothscroll from 'smoothscroll-polyfill'; // Smooth scrolling polyfill\nsmoothscroll.polyfill();\n\n\n// ALM Modules\nimport './helpers/helpers';\nimport commentReplyFix from './helpers/commentReplyFix';\nimport getParameterByName from './helpers/getParameterByName';\nimport almAppendChildren from './helpers/almAppendChildren';\nimport almTableWrap from './helpers/almTableWrap';\nimport almGetCacheUrl from './helpers/almGetCacheUrl';\nimport almDomParser from './helpers/almDomParser';\nimport stripEmptyNodes from './helpers/stripEmptyNodes'; \nimport * as queryParams from './helpers/queryParams';\nimport * as resultsText from './modules/resultsText';\nimport setLocalizedVars from './modules/setLocalizedVars';\nimport insertScript from './modules/insertScript';\nimport setFocus from './modules/setFocus';\nimport almMasonry from './modules/masonry';\nimport almFadeIn from './modules/fadeIn';\nimport almFadeOut from './modules/fadeOut';\nimport almFilter from './modules/filtering';\nimport almNoResults from './modules/noResults';\nimport srcsetPolyfill from './helpers/srcsetPolyfill';\n\n\n// Global filtering var\nlet alm_is_filtering = false;\n\n\n// Start ALM\n(function() {\n \"use strict\";\n\n /**\n * ajaxloadmore\n * Init Ajax Load More\n *\n * @param {*} el\n * @param {*} e\n */\n let ajaxloadmore = function(el, e) {\n\n\n // Move user to top of page to prevent loading of unnessasry posts\n if (alm_localize && alm_localize.scrolltop === 'true') {\n window.scrollTo(0, 0);\n }\n\n\n //Set ALM Variables\n let alm = this;\n alm.AjaxLoadMore = {};\n alm.addons = {};\n alm.extensions = {};\n alm.window = window;\n alm.page = 0;\n alm.posts = 0;\n alm.totalposts = 0;\n alm.proceed = false;\n alm.disable_ajax = false;\n alm.init = true;\n alm.loading = true;\n alm.finished = false;\n alm.timer = null;\n alm.ua = (window.navigator.userAgent) ? window.navigator.userAgent : ''; // User agent\n alm.main = el;\n alm.master_id = (el.dataset.id) ? `ajax-load-more-${el.dataset.id}` : el.id; // The defined or generated ID of the ALM instance \n el.classList.add('alm-' + e); // Add unique classname\n el.setAttribute('data-alm-id', e); // Add unique data id\n\n\n // Get localized <script/> variables\n alm.master_id = alm.master_id.replace(/-/g, '_'); // Convert dashes to underscores for the var name\n alm.localize = window[alm.master_id + '_vars']; // Get localize vars\n\n\n // Main ALM Containers\n alm.main = el; // Top level DOM element\n alm.listing = el.querySelector('.alm-listing') || el.querySelector('.alm-comments');\n alm.content = alm.listing;\n alm.el = alm.content;\n alm.ajax = el.querySelector('.alm-ajax');\n alm.container_type = alm.listing.dataset.containerType;\n\n\n // Instance Params\n alm.canonical_url = el.dataset.canonicalUrl;\n alm.nested = (el.dataset.nested) ? el.dataset.nested : null;\n alm.is_search = el.dataset.search;\n alm.slug = el.dataset.slug;\n alm.post_id = el.dataset.postId;\n alm.id = (el.dataset.id) ? el.dataset.id : '';\n \n // No results template\n let alm_no_results = el.querySelector('.alm-no-results');\n alm.no_results = (alm_no_results) ? alm_no_results.innerHTML : '';\n\n\n // Shortcode Params \n alm.repeater = alm.listing.dataset.repeater; // Repeaters\n alm.theme_repeater = alm.listing.dataset.themeRepeater;\n\n alm.post_type = (alm.listing.dataset.postType) ? alm.listing.dataset.postType : 'post';\n alm.sticky_posts = (alm.listing.dataset.stickyPosts) ? alm.listing.dataset.stickyPosts : null;\n\n alm.btnWrap = el.querySelectorAll('.alm-btn-wrap'); // Get all `.alm-button-wrap` divs\n alm.btnWrap = Array.prototype.slice.call(alm.btnWrap); // Convert NodeList to array\n alm.btnWrap[alm.btnWrap.length - 1].style.visibility = 'visible'; // Get last element (used for nesting)\n alm.trigger = alm.btnWrap[alm.btnWrap.length - 1];\n\n alm.button_label = alm.listing.dataset.buttonLabel;\n alm.button_loading_label = alm.listing.dataset.buttonLoadingLabel;\n\n alm.scroll_distance = alm.listing.dataset.scrollDistance;\n alm.scroll_distance = (alm.scroll_distance) ? parseInt(alm.scroll_distance) : 100;\n alm.scroll_container = alm.listing.dataset.scrollContainer;\n alm.max_pages = (alm.listing.dataset.maxPages) ? parseInt(alm.listing.dataset.maxPages) : 0;\n alm.pause_override = alm.listing.dataset.pauseOverride; // true | false\n alm.pause = alm.listing.dataset.pause; // true | false\n alm.transition = alm.listing.dataset.transition; // Transition\n alm.transition_container = alm.listing.dataset.transitionContainer; // Transition Container\n alm.tcc = alm.listing.dataset.transitionContainerClasses; // Transition Container Classes\n alm.speed = (alm_localize.speed) ? parseInt(alm_localize.speed) : 200;\n alm.images_loaded = (alm.listing.dataset.imagesLoaded) ? alm.listing.dataset.imagesLoaded : false;\n alm.destroy_after = (alm.listing.dataset.destroyAfter) ? alm.listing.dataset.destroyAfter : '';\n alm.orginal_posts_per_page = parseInt(alm.listing.dataset.postsPerPage); // Used for paging add-on\n alm.posts_per_page = alm.listing.dataset.postsPerPage;\n alm.offset = (alm.listing.dataset.offset) ? parseInt(alm.listing.dataset.offset) : 0;\n\n\n // Addon Shortcode Params\n alm.addons.cache = alm.listing.dataset.cache; // Cache add-on\n alm.addons.cache = (alm.addons.cache === undefined) ? false : alm.addons.cache;\n alm.addons.cache_id = alm.listing.dataset.cacheId;\n alm.addons.cache_path = alm.listing.dataset.cachePath;\n alm.addons.cache_logged_in = alm.listing.dataset.cacheLoggedIn;\n alm.addons.cache_logged_in = (alm.addons.cache_logged_in === undefined) ? false : alm.addons.cache_logged_in;\n\n alm.addons.cta = alm.listing.dataset.cta; // CTA add-on\n alm.addons.cta_position = alm.listing.dataset.ctaPosition;\n alm.addons.cta_repeater = alm.listing.dataset.ctaRepeater;\n alm.addons.cta_theme_repeater = alm.listing.dataset.ctaThemeRepeater;\n\n alm.addons.nextpage = alm.listing.dataset.nextpage; // Nextpage add-on\n alm.addons.nextpage_urls = alm.listing.dataset.nextpageUrls;\n alm.addons.nextpage_scroll = alm.listing.dataset.nextpageScroll;\n alm.addons.nextpage_pageviews = alm.listing.dataset.nextpagePageviews;\n alm.addons.nextpage_post_id = alm.listing.dataset.nextpagePostId;\n alm.addons.nextpage_startpage = alm.listing.dataset.nextpageStartpage;\n\n alm.addons.single_post = alm.listing.dataset.singlePost; // Previous Post add-on\n alm.addons.single_post_id = alm.listing.dataset.singlePostId;\n alm.addons.single_post_order = alm.listing.dataset.singlePostOrder;\n alm.addons.single_post_init_id = alm.listing.dataset.singlePostId;\n alm.addons.single_post_taxonomy = alm.listing.dataset.singlePostTaxonomy;\n alm.addons.single_post_excluded_terms = alm.listing.dataset.singlePostExcludedTerms;\n alm.addons.single_post_progress_bar = alm.listing.dataset.singlePostProgressBar;\n\n alm.addons.comments = alm.listing.dataset.comments; // Comments add-on \n alm.addons.comments_post_id = alm.listing.dataset.comments_post_id; // current post id\n alm.addons.comments_per_page = alm.listing.dataset.comments_per_page;\n alm.addons.comments_per_page = (alm.addons.comments_per_page === undefined) ? '5' : alm.addons.comments_per_page;\n alm.addons.comments_type = alm.listing.dataset.comments_type;\n alm.addons.comments_style = alm.listing.dataset.comments_style;\n alm.addons.comments_template = alm.listing.dataset.comments_template;\n alm.addons.comments_callback = alm.listing.dataset.comments_callback;\n\n alm.addons.tabs = alm.listing.dataset.tabs;\n \n alm.addons.filters = alm.listing.dataset.filters;\n\n alm.addons.seo = alm.listing.dataset.seo; // SEO add-on\n\n alm.addons.preloaded = alm.listing.dataset.preloaded; // Preloaded add-on\n alm.addons.preloaded_amount = (alm.listing.dataset.preloadedAmount) ? alm.listing.dataset.preloadedAmount : 0;\n alm.is_preloaded = (alm.listing.dataset.isPreloaded === 'true') ? true : false;\n\n alm.addons.paging = alm.listing.dataset.paging; // Paging add-on \n\n alm.addons.users = (alm.listing.dataset.users === 'true') ? true : false; // Users add-on\n if (alm.addons.users) { // Override paging params for users\n alm.orginal_posts_per_page = alm.listing.dataset.usersPerPage;\n alm.posts_per_page = alm.listing.dataset.usersPerPage;\n }\n\n // Extension Shortcode Params\n alm.extensions.restapi = alm.listing.dataset.restapi; // REST API\n alm.extensions.restapi_base_url = alm.listing.dataset.restapiBaseUrl;\n alm.extensions.restapi_namespace = alm.listing.dataset.restapiNamespace;\n alm.extensions.restapi_endpoint = alm.listing.dataset.restapiEndpoint;\n alm.extensions.restapi_template_id = alm.listing.dataset.restapiTemplateId; \n alm.extensions.restapi_debug = alm.listing.dataset.restapiDebug;\n\n alm.extensions.acf = alm.listing.dataset.acf; // ACF\n alm.extensions.acf_field_type = alm.listing.dataset.acfFieldType;\n alm.extensions.acf_field_name = alm.listing.dataset.acfFieldName;\n alm.extensions.acf_post_id = alm.listing.dataset.acfPostId;\n alm.extensions.acf = (alm.extensions.acf === 'true') ? true : false;\n // if field type, name or post ID is empty\n if (alm.extensions.acf_field_type === undefined || alm.extensions.acf_field_name === undefined || alm.extensions.acf_post_id === undefined) {\n alm.extensions.acf = false;\n }\n \n\n /* Paging */\n if (alm.addons.paging === 'true') {\n alm.addons.paging = true;\n alm.addons.paging_init = true;\n alm.addons.paging_controls = (alm.listing.dataset.pagingControls === 'true') ? true : false;\n alm.addons.paging_show_at_most = alm.listing.dataset.pagingShowAtMost;\n alm.addons.paging_classes = alm.listing.dataset.pagingClasses;\n alm.addons.paging_show_at_most = (alm.addons.paging_show_at_most === undefined) ? 7 : alm.addons.paging_show_at_most; \n \n alm.addons.paging_first_label = alm.listing.dataset.pagingFirstLabel;\n alm.addons.paging_previous_label = alm.listing.dataset.pagingPreviousLabel;\n alm.addons.paging_next_label = alm.listing.dataset.pagingNextLabel;\n alm.addons.paging_last_label = alm.listing.dataset.pagingLastLabel;\n \n // If preloaded, pause ALM\t\n alm.pause = (alm.addons.preloaded === 'true') ? true : alm.pause;\n } else {\n alm.addons.paging = false;\n }\n /* End Paging */\n\n\n /* Filters */\n if (alm.addons.filters === 'true') {\n alm.addons.filters = true;\n\n alm.addons.filters_url = (alm.listing.dataset.filtersUrl === 'true') ? true : false;\n alm.addons.filters_paging = (alm.listing.dataset.filtersPaging === 'true') ? true : false;\n alm.addons.filters_scroll = (alm.listing.dataset.filtersScroll === 'true') ? true : false;\n alm.addons.filters_scrolltop = (alm.listing.dataset.filtersScrolltop) ? alm.listing.dataset.filtersScrolltop : '30';\n alm.addons.filters_analtyics = alm.listing.dataset.filtersAnalytics;\n alm.addons.filters_debug = alm.listing.dataset.filtersDebug;\n alm.addons.filters_startpage = 0;\n\n // Get Paged Querystring Val\n let page = getParameterByName('pg');\n alm.addons.filters_startpage = (page !== null) ? parseInt(page) : 0;\n \n // If not Paging add-on\n if(!alm.addons.paging && alm.addons.filters_startpage > 0){\n \talm.posts_per_page = alm.posts_per_page * alm.addons.filters_startpage;\n\t\t\t\talm.isPaged = (alm.addons.filters_startpage > 0) ? true : false;\n } \n \n } else {\n alm.addons.filters = false;\n }\n /* End Filters */\n\n\n /* TABS */\n if (alm.addons.tabs === 'true') { \n alm.addons.tabs = true; \n alm.addons.tab_template = (alm.listing.dataset.tabTemplate) ? alm.listing.dataset.tabTemplate : '';\n\t\t\t\n\t\t\t// Set current template\t\t\n\t\t\tsetTimeout(function(){\n\t\t\t\t//window.almTabsOnLoad(alm);\n\t\t\t}, 500);\n if (typeof almTabsOnLoad === 'function' && window.location.hash) {\n\t\t\t //alm.addons.tab_template = window.almTabsOnLoad(alm);\n\t\t\t} \n \n alm.addons.tabs_resturl = (alm.listing.dataset.tabsRestUrl) ? alm.listing.dataset.tabsRestUrl : '';\n } else {\n alm.addons.tabs = false;\n }\n /* End TABS */\n\n\n /* REST API */\n if (alm.extensions.restapi === 'true') {\n alm.extensions.restapi = true;\n alm.extensions.restapi_debug = (alm.extensions.restapi_debug === undefined) ? false : alm.extensions.restapi_debug;\n alm.extensions.restapi = (alm.extensions.restapi_template_id === '') ? false : alm.extensions.restapi;\n } else {\n alm.extensions.restapi = false;\n }\n /* End REST API */\n\n\n /* Preloaded */\n if (alm.addons.preloaded === 'true') {\n // Preloaded Amount\n alm.addons.preloaded_amount = (alm.addons.preloaded_amount === undefined) ? alm.posts_per_page : alm.addons.preloaded_amount;\n // Disable ALM if total_posts is less than or equal to preloaded_amount\n if (alm.localize && alm.localize.total_posts) {\n if (parseInt(alm.localize.total_posts) <= parseInt(alm.addons.preloaded_amount)) {\n alm.addons.preloaded_total_posts = alm.localize.total_posts;\n alm.disable_ajax = true;\n }\n }\n } else {\n alm.addons.preloaded = 'false';\n }\n /* End Preloaded */\n\n\n /* SEO */\n alm.addons.seo = (alm.addons.seo === undefined) ? false : alm.addons.seo;\n alm.addons.seo = (alm.addons.seo === 'true') ? true : alm.addons.seo;\n alm.is_search = (alm.is_search === undefined) ? false : alm.is_search;\n alm.search_value = (alm.is_search === 'true') ? alm.slug : ''; // Convert to value of slug for appending to seo url\n \n alm.addons.seo_permalink = alm.listing.dataset.seoPermalink;\n alm.addons.seo_pageview = alm.listing.dataset.seoPageview;\n alm.addons.seo_trailing_slash = (alm.listing.dataset.seoTrailingSlash === 'false') ? '' : '/';\n alm.addons.seo_leading_slash = (alm.listing.dataset.seoLeadingSlash === 'true') ? '/' : '';\n alm.start_page = alm.listing.dataset.seoStartPage;\n\n if (alm.start_page) {\n alm.addons.seo_scroll = alm.listing.dataset.seoScroll;\n alm.addons.seo_scrolltop = alm.listing.dataset.seoScrolltop;\n alm.addons.seo_controls = alm.listing.dataset.seoControls;\n alm.isPaged = false;\n if (alm.start_page > 1) {\n alm.isPaged = true; // Is this a paged page > 1 ?\n alm.posts_per_page = alm.start_page * alm.posts_per_page;\n }\n if (alm.addons.paging) { // If paging, reset posts_per_page\n alm.posts_per_page = alm.orginal_posts_per_page;\n }\n } else {\n alm.start_page = 1;\n }\n /* End SEO */\n\n\n /* Nextpage */\n if (alm.addons.nextpage === 'true') {\n alm.addons.nextpage = true;\n alm.posts_per_page = 1;\n } else {\n alm.addons.nextpage = false;\n }\n if (alm.addons.nextpage_urls === undefined) {\n alm.addons.nextpage_urls = 'true';\n }\n if (alm.addons.nextpage_scroll === undefined) {\n alm.addons.nextpage_scroll = '250:30';\n }\n if (alm.addons.nextpage_pageviews === undefined) {\n alm.addons.nextpage_pageviews = 'true';\n }\n if (alm.addons.nextpage_post_id === undefined) {\n alm.addons.nextpage = false;\n alm.addons.nextpage_post_id = null;\n }\n if (alm.addons.nextpage_startpage === undefined) {\n alm.addons.nextpage_startpage = 1;\n }\n if (alm.addons.nextpage_startpage > 1) {\n alm.isPaged = true;\n }\n /* End Nextpage */\n\n\n /* Single Post */\n if (alm.addons.single_post === 'true') {\n alm.addons.single_post = true;\n alm.addons.single_post_permalink = '';\n alm.addons.single_post_title = '';\n alm.addons.single_post_slug = '';\n } else {\n alm.addons.single_post = false;\n }\n if (alm.addons.single_post_id === undefined) {\n alm.addons.single_post_id = '';\n alm.addons.single_post_init_id = '';\n }\n alm.addons.single_post_order = (alm.addons.single_post_order === undefined) ? 'previous' : alm.addons.single_post_order;\n alm.addons.single_post_taxonomy = (alm.addons.single_post_taxonomy === undefined) ? '' : alm.addons.single_post_taxonomy;\n alm.addons.single_post_excluded_terms = (alm.addons.single_post_excluded_terms === undefined) ? '' : alm.addons.single_post_excluded_terms;\n alm.addons.single_post_progress_bar = (alm.addons.single_post_progress_bar === undefined) ? '' : alm.addons.single_post_progress_bar;\n alm.addons.single_post_title_template = alm.listing.dataset.singlePostTitleTemplate;\n alm.addons.single_post_siteTitle = alm.listing.dataset.singlePostSiteTitle;\n alm.addons.single_post_siteTagline = alm.listing.dataset.singlePostSiteTagline;\n alm.addons.single_post_pageview = alm.listing.dataset.singlePostPageview;\n alm.addons.single_post_scroll = alm.listing.dataset.singlePostScroll;\n alm.addons.single_post_scroll_speed = alm.listing.dataset.singlePostScrollSpeed;\n alm.addons.single_post_scroll_top = alm.listing.dataset.singlePostScrolltop;\n alm.addons.single_post_controls = alm.listing.dataset.singlePostControls;\n /* End Single Post */\n\n\n /* Pause */\n if (alm.pause === undefined || (alm.addons.seo && alm.start_page > 1)) { // SEO only\n alm.pause = false;\n }\n if (alm.addons.preloaded === 'true' && alm.addons.seo && alm.start_page > 0) { // SEO + Preloaded\n alm.pause = false;\n }\n if (alm.addons.filters && alm.addons.filters_startpage > 0) { // Filters\n alm.pause = false;\n }\n if (alm.addons.preloaded === 'true' && alm.addons.paging) {\n alm.pause = true;\n }\n\n /* Repeater and Theme Repeater */\n alm.repeater = (alm.repeater === undefined) ? 'default' : alm.repeater;\n alm.theme_repeater = (alm.theme_repeater === undefined) ? false : alm.theme_repeater;\n\n /* Max Pages (while scrolling) */\n alm.max_pages = (alm.max_pages === undefined || alm.max_pages === 0) ? 10000 : alm.max_pages;\n\n /* Scroll Distance */\n alm.scroll_distance = (alm.scroll_distance === undefined) ? 150 : alm.scroll_distance;\n\n /* Scroll Container */\n alm.scroll_container = (alm.scroll_container === undefined) ? '' : alm.scroll_container;\n\n /* Transition */\n alm.transition = (alm.transition === undefined) ? 'fade' : alm.transition;\n\n /* Transition Container Class */\n alm.tcc = (alm.tcc === undefined) ? '' : alm.tcc;\n\n /* Masonry */\n alm.is_masonry_preloaded = false;\n if (alm.transition === 'masonry') {\n alm.masonry_init = true;\n alm.masonry_selector = alm.listing.dataset.masonrySelector;\n alm.masonry_columnwidth = alm.listing.dataset.masonryColumnwidth;\n alm.masonry_animation = alm.listing.dataset.masonryAnimation;\n alm.masonry_animation = (alm.masonry_animation === undefined) ? 'standard' : alm.masonry_animation;\n alm.masonry_horizontalorder = alm.listing.dataset.masonryHorizontalorder;\n alm.masonry_horizontalorder = (alm.masonry_horizontalorder === undefined) ? 'true' : alm.masonry_horizontalorder;\n alm.transition_container = false;\n alm.images_loaded = false;\n alm.is_masonry_preloaded = (alm.addons.preloaded === 'true') ? true : alm.is_masonry_preloaded;\n }\n\n /* Scroll */\n if (alm.listing.dataset.scroll === undefined) {\n alm.scroll = true;\n } else if (alm.listing.dataset.scroll === 'false') {\n alm.scroll = false;\n } else {\n alm.scroll = true;\n }\n\n /* Transition Container */\n alm.transition_container = (alm.transition_container === undefined || alm.transition_container === 'true') ? true : false;\n\n /* Button Labels */\n alm.button_label = (alm.button_label === undefined) ? 'Older Posts' : alm.button_label;\n alm.button_loading_label = (alm.button_loading_label === undefined) ? false : alm.button_loading_label;\n\n /* Paging */\n if (alm.addons.paging) {\n alm.main.classList.add('loading'); // add loading class to main container\n } else {\n let almChildren = el.childNodes; // Get child nodes of instance [nodeList]\n if (almChildren) {\n let almChildArray = Array.prototype.slice.call(almChildren); // Convert nodeList to array \n\n // Filter array to find the `.alm-btn-wrap` div\n let btnWrap = almChildArray.filter(function(element) {\n if (!element.classList) { // If not element (#text node)\n return false;\n }\n return element.classList.contains('alm-btn-wrap');\n });\n alm.button = (btnWrap) ? (btnWrap[0]).querySelector('.alm-load-more-btn') : container.querySelector('.alm-btn-wrap .alm-load-more-btn');\n } else {\n alm.button = container.querySelector('.alm-btn-wrap .alm-load-more-btn');\n }\n \n // Reset button state\n alm.button.disabled = false;\n\n }\n\n\n // Results Text\n // Render \"Showing x of y results\" text.\n alm.resultsText = document.querySelector('.alm-results-text');\n if (alm.resultsText) {\n\t alm.resultsText.setAttribute('aria-live', 'polite');\n\t alm.resultsText.setAttribute('aria-atomic', 'true');\n } else {\n alm.resultsText = false;\n }\n\n\n\n /** \n * LoadPosts()\n * The function to get posts via Ajax\n * @since 2.0.0\n */\n\n alm.AjaxLoadMore.loadPosts = function() {\n\t \n\t\t\tif (typeof almOnChange === 'function') {\n\t\t\t window.almOnChange(alm);\n\t\t\t}\n\t \n if (!alm.disable_ajax) { // Check for ajax blocker\n if (!alm.addons.paging) {\n alm.button.classList.add('loading');\n if (alm.button_loading_label !== false) {\n alm.button.innerHTML = alm.button_loading_label;\n }\n }\n alm.main.classList.add('alm-loading');\n alm.loading = true;\n \n if (alm.addons.cache === 'true' && !alm.addons.cache_logged_in) {\n // Cache \n let cache_page = almGetCacheUrl(alm); \n if(cache_page){ \n \n // Load `.html` page\n axios.get(cache_page)\n .then(response => {\n // Exists\n alm.AjaxLoadMore.success(response.data, true);\n } \n )\n .catch(function (error) { \n // Error || Page does not yet exist\n \t\t\t\t\talm.AjaxLoadMore.ajax('standard');\n \t\t\t\t\t//console.warn(error.message); \t\t\t\t\t\n \t\t\t\t});\n \t\t\t\t\n \t\t\t\t} else {\n \t\t\t\t// Standard ALM query\n \t\t\t\talm.AjaxLoadMore.ajax('standard');\n \t\t\t\t} \n \t\t\t\t \t\n } else { \n // Standard ALM query\n alm.AjaxLoadMore.ajax('standard');\n \n }\n }\n };\n\n\n /* ajax()\n * Ajax Load Moe Ajax function\n *\n * @param queryType The type of Ajax request (standard/totalposts)\n * @since 2.6.0\n */\n\n alm.AjaxLoadMore.ajax = function(queryType) {\n\n // Default ALM action\n let action = 'alm_get_posts';\n\n // ACF Params\n alm.acf_array = '';\n if (alm.extensions.acf) {\n // Custom query for the Repeater / Gallery / Flexible Content field types\n if (alm.extensions.acf_field_type !== 'relationship') {\n action = 'alm_acf';\n }\n alm.acf_array = {\n 'acf': 'true',\n 'post_id': alm.extensions.acf_post_id,\n 'field_type': alm.extensions.acf_field_type,\n 'field_name': alm.extensions.acf_field_name\n };\n }\n\n // Nextpage Params\n alm.nextpage_array = '';\n if (alm.addons.nextpage) {\n action = 'alm_nextpage';\n alm.nextpage_array = {\n 'nextpage': 'true',\n 'urls': alm.addons.nextpage_urls,\n 'scroll': alm.addons.nextpage_scroll,\n 'pageviews': alm.addons.nextpage_pageviews,\n 'post_id': alm.addons.nextpage_post_id,\n 'startpage': alm.addons.nextpage_startpage\n };\n }\n\n // Previous Post Params\n alm.single_post_array = '';\n if (alm.addons.single_post) {\n alm.single_post_array = {\n 'single_post': 'true',\n 'id': alm.addons.single_post_id,\n 'slug': alm.addons.single_post_slug,\n };\n }\n\n // Comment Params\n alm.comments_array = '';\n if (alm.addons.comments === 'true') {\n action = 'alm_comments';\n alm.posts_per_page = alm.addons.comments_per_page;\n alm.comments_array = {\n 'comments': 'true',\n 'post_id': alm.addons.comments_post_id,\n 'per_page': alm.addons.comments_per_page,\n 'type': alm.addons.comments_type,\n 'style': alm.addons.comments_style,\n 'template': alm.addons.comments_template,\n 'callback': alm.addons.comments_callback,\n };\n }\n\n // Users Params\n alm.users_array = '';\n if (alm.addons.users) {\n action = 'alm_users';\n alm.users_array = {\n 'users': 'true',\n 'role': alm.listing.dataset.usersRole,\n 'include': alm.listing.dataset.usersInclude,\n 'exclude': alm.listing.dataset.usersExclude,\n 'per_page': alm.posts_per_page,\n 'order': alm.listing.dataset.usersOrder,\n 'orderby': alm.listing.dataset.usersOrderby,\n };\n }\n\n // CTA Params\n alm.cta_array = '';\n if (alm.addons.cta === 'true') {\n alm.cta_array = {\n 'cta': 'true',\n 'cta_position': alm.addons.cta_position,\n 'cta_repeater': alm.addons.cta_repeater,\n 'cta_theme_repeater': alm.addons.cta_theme_repeater,\n };\n }\n \n\n // REST API\n if (alm.extensions.restapi) {\n alm.AjaxLoadMore.restapi(alm, action, queryType);\n }\n else if(alm.addons.tabs){\n\t alm.AjaxLoadMore.tabs(alm);\n }\n\n // Standard ALM\n else {\t \n\t alm.AjaxLoadMore.adminajax(alm, action, queryType); \n }\n \n };\n \n \n \n /** \n\t * adminajax\n * Send request to the admin-ajax.php\n *\n * @param {*} alm | ALm object\n * @param {*} action | Ajax action\n * @param {*} queryType\n * @since 5.0.0\n */\n alm.AjaxLoadMore.adminajax = function(alm, action, queryType){\n\t \n\t if (alm.page != 1 && !alm.addons.paging) {\n alm.button.classList.add('loading');\n } \n \n // Axios Interceptor for nested data objects\n\t\t\taxios.interceptors.request.use(config => {\n\t\t\t\tconfig.paramsSerializer = params => {\n\t\t\t\t\t// Qs is already included in the Axios package\n\t\t\t\t\treturn qs.stringify(params, {\n\t\t\t\t\t\tarrayFormat: 'brackets',\n\t\t\t\t\t\tencode: false\n\t\t\t\t\t});\n\t\t\t\t};\n\t\t\t\treturn config; \n\t\t\t});\t\t\t \n \n // Get admin-ajax.php URL \n let ajaxURL = alm_localize.ajaxurl; \n\n\t\t\t// Get data params\n let params = queryParams.almGetAjaxParams(alm, action, queryType); // [./helpers/queryParams.js\n \n // Send HTTP request via Axios\n axios.get(ajaxURL, {params})\n .then(function(response){\n // Success \n let data = response.data; // Get data from response\n \n // Standard Query\n if (queryType === 'standard') {\n alm.AjaxLoadMore.success(data, false);\n \n } else if (queryType === 'totalpages' && alm.addons.paging && alm.addons.nextpage) {\n // Next Page and Paging\n if (typeof almBuildPagination === 'function') {\n window.almBuildPagination(data.totalpages, alm);\n }\n \n } else if (queryType === 'totalposts' && alm.addons.paging) {\n // Paging\n if (typeof almBuildPagination === 'function') {\n window.almBuildPagination(data.totalposts, alm);\n }\n }\n \n })\n .catch(function (error) { \n // Error \n alm.AjaxLoadMore.error(error, 'adminajax'); \n \t\t\t\t\t\n\t\t\t}); \n };\n \n \n \n /** \n\t * tabs\n * Send request to the WP REST API\n *\n * @param {*} alm | ALm object\n * @since 5.2.0\n */\n alm.AjaxLoadMore.tabs = function(alm){\n\t \n let alm_rest_url = `${alm.addons.tabs_resturl}ajaxloadmore/tab`; \n \n let params = {\n\t\t\t\tpost_id : alm.post_id,\n\t\t\t\ttemplate: alm.addons.tab_template\n }\n\n\t\t\t// Axios Interceptor for nested data objects\n\t\t\taxios.interceptors.request.use(config => {\n\t\t\t\tconfig.paramsSerializer = params => {\n\t\t\t\t\t// Qs is already included in the Axios package\n\t\t\t\t\treturn qs.stringify(params, {\n\t\t\t\t\t\tarrayFormat: 'brackets',\n\t\t\t\t\t\tencode: false\n\t\t\t\t\t});\n\t\t\t\t};\n\t\t\t\treturn config;\n\t\t\t}); \n \n // Send Ajax request\n axios.get(alm_rest_url, {params})\n .then(function(response){\n\t \n // Success \n let results = response.data; // Get data from response\n\t\t\t\tlet html = results.html;\n \n // Create object to pass to success()\n let obj = {\n 'html': html,\n 'meta': {\n 'postcount': 1,\n 'totalposts': 1\n },\n };\n alm.AjaxLoadMore.success(obj, false); // Send data\n \n \n // Callback to Tabs add-on\n if (typeof almTabLoaded === 'function') {\n window.almTabLoaded(alm);\n }\n \n \n })\n .catch(function (error) { \n // Error \n alm.AjaxLoadMore.error(error, 'restapi'); \n \t\t\t\t\t\n\t\t\t});\n\t\t\t\n };\n \n \n \n /** \n\t * restapi\n * Send request to the WP REST API\n *\n * @param {*} alm | ALm object\n * @param {*} action | Ajax action\n * @param {*} queryType\n * @since 5.0.0\n */\n alm.AjaxLoadMore.restapi = function(alm, action, queryType){\n\t \n\t let alm_rest_template = wp.template(alm.extensions.restapi_template_id);\n let alm_rest_url = `${alm.extensions.restapi_base_url}/${alm.extensions.restapi_namespace}/${alm.extensions.restapi_endpoint}`; \n let params = queryParams.almGetRestParams(alm); // [./helpers/queryParams.js]\n\n\t\t\t// Axios Interceptor for nested data objects\n\t\t\taxios.interceptors.request.use(config => {\n\t\t\t\tconfig.paramsSerializer = params => {\n\t\t\t\t\t// Qs is already included in the Axios package\n\t\t\t\t\treturn qs.stringify(params, {\n\t\t\t\t\t\tarrayFormat: 'brackets',\n\t\t\t\t\t\tencode: false\n\t\t\t\t\t});\n\t\t\t\t};\n\t\t\t\treturn config;\n\t\t\t}); \n \n // Send Ajax request\n axios.get(alm_rest_url, {params})\n .then(function(response){\n // Success \n let results = response.data; // Get data from response\n\t\t\t\tlet data = '',\n\t\t\t\t\t html = results.html,\n\t\t\t\t\t meta = results.meta,\n\t\t\t\t\t postcount = meta.postcount,\n\t\t\t\t\t totalposts = meta.totalposts;\n \n \n // loop results to get data from each\n for(let i = 0; i < html.length; i++){\n\t let result = html[i];\n if (alm.restapi_debug === 'true') { // If debug\n console.log(result);\n }\n data += alm_rest_template(result);\n }\n \n // Create object to pass to success()\n let obj = {\n 'html': data,\n 'meta': {\n 'postcount': postcount,\n 'totalposts': totalposts\n },\n };\n alm.AjaxLoadMore.success(obj, false); // Send data\n \n })\n .catch(function (error) { \n // Error \n alm.AjaxLoadMore.error(error, 'restapi'); \n \t\t\t\t\t\n\t\t\t});\n\t\t\t\n };\n\n\n\n // If pagination enabled, run totalposts query\n if (alm.addons.paging) {\n if (alm.addons.nextpage) {\n alm.AjaxLoadMore.ajax('totalpages'); // Create paging menu and query for total pages\n } else {\n alm.AjaxLoadMore.ajax('totalposts'); // Create paging menu and query for total posts\n }\n }\n\n\n\n /** \n\t * success\n * Success function after loading data\n *\n * @param data The results of the Ajax request\n * @param is_cache Are results of the Ajax request coming from cache\n * @since 2.6.0\n */\n alm.AjaxLoadMore.success = function(data, is_cache) {\n\n if (alm.addons.single_post) { // Get previous page data\n alm.AjaxLoadMore.getSinglePost();\n }\n\n\t\t\tlet isPaged = false;\n\t\t\t \n // Create `.alm-reveal` element \n //let reveal = document.createElement('div');\n let reveal = (alm.container_type === 'table') ? document.createElement('tbody') : document.createElement('div');\n alm.el = reveal;\n reveal.style.opacity = 0;\n reveal.style.height = 0;\n reveal.style.outline = 'none';\n \n\t\t\t// Paging container\n let pagingContent = alm.listing.querySelector('.alm-paging-content');\n\t\t\t\n var html, meta, total;\n\n if (is_cache) {\n // If Cache, do not look for json data as we won't be querying the DB.\n html = data;\n \n } else {\n // Standard ALM query results\n html = data.html;\n meta = data.meta; \n alm.posts = (alm.addons.paging) ? meta.postcount : alm.posts + meta.postcount;\n total = meta.postcount;\n alm.totalposts = meta.totalposts;\n alm.totalposts = (alm.addons.preloaded === 'true') ? alm.totalposts - alm.addons.preloaded_amount : alm.totalposts;\n }\n\n\t\t\t// Set alm.html as plain text return\n alm.html = html; \n\n // If cache, get the length of the html object\n total = (is_cache) ? almDomParser(html).length : total;\n\n // First Run Only\n if (alm.init) {\n\t // Set Meta\t\t \n if (meta) {\n alm.main.dataset.totalPosts = (meta.totalposts) ? meta.totalposts : 0;\n } \n // Paging\t \n if (alm.addons.paging && total > 0) { \n\t // Add paging containers and content\n\t\t\t\t\talm.AjaxLoadMore.pagingInit(html, 'alm-reveal');\n }\n // ALM Empty\n if (total === 0) {\n if (alm.addons.paging) {\n if (typeof almPagingEmpty === 'function') {\n window.almPagingEmpty(alm);\n }\n }\n if (typeof almEmpty === 'function') {\t \n window.almEmpty(alm);\n }\n if(alm.no_results){\n\t almNoResults(alm.content, alm.no_results);\n }\n }\n\n // isPaged\n if (alm.isPaged) {\n // Reset the posts_per_page parameter\n alm.posts_per_page = (alm.users) ? alm.listing.dataset.usersPerPage : alm.listing.dataset.postsPerPage;\n // SEO add-on\n alm.page = (alm.start_page) ? alm.start_page - 1 : alm.page; // Set new page #\n // Filters add-on \n if (alm.addons.filters) {\n if (alm.addons.filters_startpage > 0) {\n alm.page = alm.addons.filters_startpage - 1; // Set new page # \n alm.posts_per_page = alm.listing.dataset.postsPerPage; // Reset `filters-startpage` data after the first run\n }\n } \n }\n } \n\n\n\n /*\n * Set localized variables\n */ \n setLocalizedVars(alm);\n \n \n \n /*\n * Render results\n */\n \n if (total > 0) {\n\n // We have results! \n\n if (!alm.addons.paging) {\n\t\t\t\t\t\n if (alm.addons.single_post) { \n\t \n\t // Single Posts \n reveal.setAttribute('class', 'alm-reveal alm-single-post post-' + alm.addons.single_post_id + alm.tcc);\n reveal.dataset.url = alm.addons.single_post_permalink;\n reveal.dataset.page = alm.page;\n reveal.dataset.id = alm.addons.single_post_id;\n reveal.dataset.title = alm.addons.single_post_title; \n reveal.innerHTML = alm.html;\n \n } else {\n\n if (!alm.transition_container) { // No transition container\n\t \n\t \talm.el = alm.html; \n reveal = (alm.container_type === 'table') ? almTableWrap(alm.html) : almDomParser(alm.html, 'text/html');\n\n } else { // Standard container\n\n let pagenum;\n let querystring = window.location.search;\n let seo_class = (alm.addons.seo) ? ' alm-seo' : '';\n let filters_class = (alm.addons.filters) ? ' alm-filters' : '';\n let preloaded_class = (alm.is_preloaded) ? ' alm-preloaded' : '';\n\n // SEO and Filter Paged\n if (alm.init && (alm.start_page > 1 || alm.addons.filters_startpage > 0)) {\t \n // loop through items and break into separate .alm-reveal divs for paging \n\n let return_data = [];\n let container_array = [];\n let posts_per_page = parseInt(alm.posts_per_page);\n let pages = Math.ceil(total / posts_per_page);\n isPaged = true;\n \n\n // Call to Actions\n if (alm.addons.cta === 'true') {\n posts_per_page = posts_per_page + 1; // Add 1 to posts_per_page for CTAs\n pages = Math.ceil(total / posts_per_page); // Update pages var with new posts_per_page\n total = pages + total; // Get new total w/ CTAs added\n } \n\n\n // Parse returned HTML and strip empty nodes\n let data = stripEmptyNodes(almDomParser(alm.html, 'text/html') );\n \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t// Slice data array into individual pages (array)\n for (var i = 0; i < total; i += posts_per_page) {\n return_data.push(data.slice(i, posts_per_page + i));\n }\n\n // Loop return_data array to build .alm-reveal containers\n for (var k = 0; k < return_data.length; k++) {\n\n let p = (alm.addons.preloaded === 'true') ? 1 : 0; // Add 1 page if items are preloaded.\n let alm_reveal = document.createElement('div');\n\n if (k > 0 || alm.addons.preloaded === 'true') {\n \n pagenum = (k + 1 + p); // > Paged\n\n\t\t\t\t\t\t\t\t\t\tif(alm.addons.seo){ // SEO\n\t if (alm.addons.seo_permalink === 'default') {\n\t\t\t\t\t\t\t\t\t\t\t\t// Default Permalinks\n\t\t\t\t\t\t\t\t\t\t\t\talm_reveal.setAttribute('class', 'alm-reveal' + seo_class + alm.tcc);\n\t\t\t\t\t\t\t\t\t\t\t\talm_reveal.dataset.url = alm.canonical_url + querystring + '&paged=' + pagenum;\n\t\t\t\t\t\t\t\t\t\t\t\talm_reveal.dataset.page = pagenum;\n\t } else {\n\t\t\t\t\t\t\t\t\t\t\t\t// Pretty Permalinks\n\t\t\t\t\t\t\t\t\t\t\t\talm_reveal.setAttribute('class', 'alm-reveal' + seo_class + alm.tcc);\n\t\t\t\t\t\t\t\t\t\t\t\talm_reveal.dataset.url = alm.canonical_url + alm.addons.seo_leading_slash + 'page/' + pagenum + alm.addons.seo_trailing_slash + querystring;\n\t\t\t\t\t\t\t\t\t\t\t\talm_reveal.dataset.page = pagenum;\n\t }\n }\n \n if(alm.addons.filters){ // Filters\n \talm_reveal.setAttribute('class', 'alm-reveal' + filters_class + alm.tcc);\n\t\t\t\t\t\t\t\t\t\t\talm_reveal.dataset.url = alm.canonical_url + alm.AjaxLoadMore.buildFilterURL(querystring, pagenum);\n\t\t\t\t\t\t\t\t\t\t\talm_reveal.dataset.page = pagenum;\n } \n\n } else {\n\t \t \n // First Page \n if(alm.addons.seo){\n\t // SEO\n\t alm_reveal.setAttribute('class', 'alm-reveal' + seo_class + alm.tcc);\n\t\t alm_reveal.dataset.url = alm.canonical_url + querystring;\n\t\t alm_reveal.dataset.page = '1';\n\t\t \n } \n if(alm.addons.filters){\n\t // Filters\n \talm_reveal.setAttribute('class', 'alm-reveal' + filters_class + preloaded_class + alm.tcc);\n\t\t\t\t\t\t\t\t\t\t\talm_reveal.dataset.url = alm.canonical_url + alm.AjaxLoadMore.buildFilterURL(querystring, 0);\n\t\t\t\t\t\t\t\t\t\t\talm_reveal.dataset.page = '1';\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n } \n } \n \n \n // Append children to `.alm-reveal` element\n almAppendChildren(alm_reveal, return_data[k]);\n \n // Run srcSet polyfill\n\t\t\t\t\t\t\t\t\tsrcsetPolyfill(alm_reveal, alm.ua);\n \n \n // Push alm_reveal elements into container_array\n container_array.push(alm_reveal);\n \n }\n \n\n // Set opacity and height of .alm-listing div to allow for fadein.\n alm.listing.style.opacity = 0;\n alm.listing.style.height = 0;\n \n\n // Append container_array to `.alm-listing` \n almAppendChildren(alm.listing, container_array);\n \n reveal = alm.listing;\n alm.el = reveal;\n\n }\n // End Init & SEO\n \n else {\n\t \n\t // Preloaded OR SEO (and Paged)\n if (alm.addons.seo && alm.page > 0 || alm.addons.preloaded === 'true') {\n\n let p2 = (alm.addons.preloaded === 'true') ? 1 : 0; // Add 1 page if items are preloaded.\n\n // SEO [Paged]\n pagenum = (alm.page + 1 + p2);\n\n if (alm.addons.seo) {\n // SEO\n if (alm.addons.seo_permalink === 'default') {\n\t // Default Permalinks\n\t reveal.setAttribute('class', 'alm-reveal' + seo_class + alm.tcc);\n\t\t reveal.dataset.url = alm.canonical_url + querystring + '&paged=' + pagenum;\n\t\t reveal.dataset.page = pagenum;\n \n } else {\n\t // Pretty Permalinks\n\t reveal.setAttribute('class', 'alm-reveal' + seo_class + alm.tcc);\n\t\t reveal.dataset.url = alm.canonical_url + alm.addons.seo_leading_slash + 'page/' + pagenum + alm.addons.seo_trailing_slash + querystring;\n\t\t reveal.dataset.page = pagenum;\n \n }\n\n } else if (alm.addons.filters) {\n // Filters \n\t\t\t\t\t\t\t\t\t\treveal.setAttribute('class', 'alm-reveal' + filters_class + alm.tcc);\n\t\t\t\t\t\t\t\t\t\treveal.dataset.url = alm.canonical_url + alm.AjaxLoadMore.buildFilterURL(querystring, pagenum);\n\t\t\t\t\t